/* 
   Dr. Ajay Kumar Poddar - Official Website Stylesheet
   Designed by Webingo Infotech Solutions LLP
   Core Design System: Premium Governance Navy + Saffron Gold Accent
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette */
    --primary: #0f2b48;
    /* Deep Admin Navy */
    --primary-light: #1b3d60;
    /* Light Admin Navy */
    --primary-dark: #071728;
    /* Ultra Dark Navy */
    --accent: #EC6E15;
    /* Saffron Gold Accent */
    --accent-hover: #CC5E0F;
    /* Deep Saffron Hover */
    --gold: #f5a623;
    /* State Emblem Gold */
    --success: #10b981;
    /* Active/Completed Green */
    --warning: #f59e0b;
    /* Pending/In-Progress Yellow */

    /* Backgrounds */
    --bg-main: #f8fafc;
    /* Slate White */
    --bg-section: #ffffff;
    /* Pure White */
    --bg-card: #ffffff;
    /* Card White */
    --bg-dark-section: #0b1a2d;
    /* Dark Blue for Contrast */

    /* Typography & Sizing */
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Text Colors */
    --text-main: #1e293b;
    /* Charcoal Dark */
    --text-muted: #64748b;
    /* Cool Slate Grey */
    --text-light: #f8fafc;
    /* Off-White */
    --text-white: #ffffff;
    /* White */

    /* Layout & Utilities */
    --border: #e2e8f0;
    /* Soft Border */
    --border-focus: #3b82f6;
    /* Focus Blue */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(15, 43, 72, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 43, 72, 0.08), 0 2px 4px -1px rgba(15, 43, 72, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(15, 43, 72, 0.1), 0 4px 6px -2px rgba(15, 43, 72, 0.05);
    --shadow-inset: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);

    /* Accessibility Standard Spacers */
    --container-width: 1280px;
}

/* Reset and Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

input,
select,
textarea,
button {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    background: none;
    border: none;
}

/* Typography Scale */
h1 {
    font-size: 2.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    margin-bottom: 2.5rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Section Title Highlight Decorator */
.section-title {
    text-align: center;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 2px;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent);
    color: var(--text-white);
    padding: 8px 16px;
    z-index: 1001;
    transition: top 0.2s;
    font-weight: 600;
    border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
    top: 0;
}

/* Header & Navigation */
.site-header {
    background-color: var(--bg-section);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
}

.header-top {
    background-color: var(--primary-dark);
    color: var(--text-light);
    font-size: 0.85rem;
    padding: 0.5rem 0;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top-info {
    display: flex;
    gap: 1.5rem;
}

.header-top-social {
    display: flex;
    gap: 1rem;
}

.header-top-social a:hover {
    color: var(--accent);
}

.header-main {
    padding: 1rem 0;
}

.site-header .container,
.header-top .container {
    max-width: 1440px;
    /* Wider container for layout breathing room */
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bjp-logo-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 2px 4px rgba(15, 43, 72, 0.1));
    transition: var(--transition);
}

.bjp-logo-wrapper:hover {
    transform: scale(1.05);
}

.bjp-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mobile-only-nav-item {
    display: none;
}

.logo-text h1 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-text p {
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 1rem;
    /* Reduced from 1.5rem for better spacing */
    align-items: center;
}

.nav-link {
    font-weight: 600;
    font-size: 0.875rem;
    /* Reduced from 0.95rem to prevent clutter */
    color: var(--primary);
    padding: 0.5rem 0.25rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    /* Slightly reduced gap */
}

/* Custom Select Styling for Language Toggle */
.language-selector {
    position: relative;
}

.lang-select {
    padding: 6px 12px;
    border: 1px solid var(--border);
    background-color: var(--bg-section);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary);
    outline: none;
    cursor: pointer;
    transition: var(--transition);
}

.lang-select:focus {
    border-color: var(--accent);
}

.btn-grievance-nav {
    background-color: var(--accent);
    color: var(--text-white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(236, 110, 21, 0.2);
}

.btn-grievance-nav:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 4px 6px rgba(236, 110, 21, 0.3);
}

/* Mobile Menu Toggle */
.mobile-nav-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary);
}

.hero-section {
    background: url('../assets/hero-bg.jpeg') no-repeat;
    background-position: center center;
    background-size: cover;
    width: 100%;
    aspect-ratio: 1920 / 800;
    padding: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: radial-gradient(circle, rgba(236, 110, 21, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.hero-section .container {
    display: block;
}

.hero-content {
    max-width: 55%;
    z-index: 2;
    position: relative;
    margin-top: -6rem;
}

.hero-image-wrapper {
    display: none !important;
}

.hero-subtitle {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
    display: inline-block;
}

.hero-content h2 {
    font-size: 3rem;
    color: var(--primary-dark);
    line-height: 1.15;
    margin-bottom: 1rem;
    font-weight: 800;
}

.hero-content h2 span {
    color: var(--accent);
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 2.5rem;
    max-width: 600px;
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--text-white);
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    box-shadow: 0 4px 6px rgba(236, 110, 21, 0.2);
    display: inline-block;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(236, 110, 21, 0.35);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid rgba(15, 43, 72, 0.3);
    padding: 10px 26px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: var(--primary);
    background-color: rgba(15, 43, 72, 0.05);
    transform: translateY(-2px);
}

/* Image Placeholder Styling (Requested as empty by user) */
.image-placeholder-container {
    width: 100%;
    height: 480px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.image-placeholder-container::before {
    content: 'PORTRAIT PLACEHOLDER';
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.image-placeholder-container::after {
    content: '[Creative asset will be loaded manually here]';
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
}

/* Section Common Styling */
.main-section {
    padding: 6rem 0;
    background-color: var(--bg-section);
}

.alt-section {
    background-color: var(--bg-main);
}

/* About / Biography Section */
.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper .image-placeholder-container {
    height: 450px;
    background: linear-gradient(135deg, rgba(15, 43, 72, 0.05) 0%, rgba(15, 43, 72, 0.01) 100%);
    border-color: rgba(15, 43, 72, 0.15);
}

.about-image-wrapper .image-placeholder-container::before {
    content: 'ABOUT IMAGE PLACEHOLDER';
    color: rgba(15, 43, 72, 0.4);
}

.about-image-wrapper .image-placeholder-container::after {
    color: rgba(15, 43, 72, 0.3);
}

.about-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.about-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(15, 43, 72, 0.15);
}

@media (max-width: 576px) {
    .about-img {
        height: 320px;
    }
}

.bio-card-highlight {
    background: linear-gradient(135deg, rgba(242, 101, 34, 0.05) 0%, rgba(245, 166, 35, 0.05) 100%);
    border-left: 4px solid var(--accent);
    padding: 1.5rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-bottom: 2rem;
}

.bio-card-highlight p {
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 1.05rem;
}

.bio-paragraphs p {
    margin-bottom: 1rem;
}

/* Mission and Vision Grid */
.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.mv-card {
    background-color: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: start;
    transition: var(--transition);
}

.mv-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(242, 101, 34, 0.15);
    background-color: var(--bg-card);
}

.mv-icon {
    font-size: 1.75rem;
    color: var(--accent);
    flex-shrink: 0;
}

.mv-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.mv-content p {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0;
}

/* Tablet & Mobile overrides for Mission/Vision */
@media (max-width: 768px) {
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Timeline Carousel Section */
.timeline-carousel-section {
    padding: 6rem 0;
    background-color: var(--bg-main);
    position: relative;
    overflow: hidden;
}

/* Slick list container wrapper edge fading overlay */
.timeline-carousel-section .container {
    position: relative;
}

.timeline-carousel {
    position: relative;
    overflow: visible;
    /* Allows sliding cards to render outside container width */
    margin-top: 3rem;
}

.timeline-carousel .slick-list {
    overflow: visible;
}

.timeline-carousel .slick-dots {
    bottom: -60px;
    list-style: none;
    position: absolute;
    width: 100%;
    left: 0;
    text-align: center;
    z-index: 2;
    padding: 0;
    margin: 0;
}

.timeline-carousel .slick-dots li {
    cursor: pointer;
    display: inline-block;
    margin: 0 6px;
    position: relative;
    width: 10px;
    height: 10px;
}

.timeline-carousel .slick-dots li button {
    display: block;
    font-size: 0;
    width: 10px;
    height: 10px;
    padding: 0;
    background-color: rgba(15, 43, 72, 0.2);
    border: 1px solid rgba(15, 43, 72, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.timeline-carousel .slick-dots li.slick-active button,
.timeline-carousel .slick-dots li button:hover {
    background-color: var(--accent);
    border-color: var(--accent);
}

.timeline-carousel__image {
    padding-right: 30px;
}

.timeline-carousel__item {
    cursor: pointer;
    outline: none;
}

.timeline-carousel__item .media-wrapper {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Default fallback gradient */
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
    opacity: 0.85;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-carousel__item:hover .media-wrapper {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.timeline-carousel .slick-active .media-wrapper {
    opacity: 1 !important;
}

.timeline-carousel__item-inner {
    position: relative;
    padding-top: 30px;
}

.timeline-carousel__item-inner:after {
    position: absolute;
    width: 100%;
    top: 30px;
    left: 0;
    content: "";
    border-bottom: 2px solid var(--border);
}

.timeline-carousel__item:last-child .timeline-carousel__item-inner:after {
    width: calc(100% - 30px);
}

.timeline-carousel__item-inner .year {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    line-height: 1.2;
    color: var(--primary);
    display: inline-block;
    letter-spacing: -0.5px;
    padding-right: 15px;
    background-color: var(--bg-main);
    z-index: 1;
    position: relative;
    margin: -15px 0 15px;
    font-weight: 800;
}

.timeline-carousel__item-inner .year:after {
    content: "";
    position: absolute;
    display: block;
    left: -15px;
    top: 0;
    height: 100%;
    width: 15px;
    background-color: var(--bg-main);
    z-index: 3;
}

.timeline-carousel__item-inner .month {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    text-transform: none;
    color: var(--accent);
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.timeline-carousel__item-inner p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    width: 90%;
    font-weight: 400;
    margin-bottom: 15px;
}

.timeline-carousel__item-inner .read-more {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--accent);
    display: inline-block;
    margin-bottom: 10px;
    font-weight: 700;
    text-decoration: none;
    position: relative;
}

.timeline-carousel__item-inner .read-more:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0;
    border-bottom: 2px solid var(--accent);
    transition: var(--transition);
}

.timeline-carousel__item-inner .read-more:hover:after {
    width: 100%;
}

.timeline-carousel__item-inner .pointer {
    height: 20px;
    position: relative;
    z-index: 1;
    margin: -4px 0 16px;
}

.timeline-carousel__item-inner .pointer:after,
.timeline-carousel__item-inner .pointer:before {
    position: absolute;
    content: "";
}

.timeline-carousel__item-inner .pointer:after {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    top: 0;
    left: 0;
    background-color: var(--accent);
}

.timeline-carousel__item-inner .pointer:before {
    width: 2px;
    height: 100%;
    top: 0;
    left: 4px;
    background-color: var(--accent);
}

/* Margin offset for slick-list visibility */
@media (max-width: 1200px) {
    .timeline-carousel {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Portfolio Section */
.portfolio-intro {
    max-width: 700px;
    margin: 0 auto 3rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.portfolio-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(15, 43, 72, 0.1);
}

.portfolio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary);
}

.portfolio-card.phe::before {
    background-color: #3b82f6;
    /* Blue for Water/PHED */
}

.portfolio-card.pwd::before {
    background-color: var(--accent);
    /* Orange/Saffron for Roads/PWD */
}

.portfolio-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.phe .portfolio-icon {
    background-color: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.pwd .portfolio-icon {
    background-color: rgba(242, 101, 34, 0.1);
    color: var(--accent);
}

.portfolio-card h3 {
    margin-bottom: 1rem;
}

.portfolio-features {
    margin: 1.5rem 0 2rem;
}

.portfolio-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.portfolio-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

/* Vision Pull Quote */
.vision-quote {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--text-white);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.vision-quote::before {
    content: '“';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 10rem;
    font-family: var(--font-heading);
    opacity: 0.08;
    line-height: 1;
}

.vision-quote-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.vision-quote-content p {
    color: var(--text-light);
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.vision-quote-content cite {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--gold);
    font-style: normal;
}

/* Constituency Work Section */
.constituency-intro {
    max-width: 700px;
    margin: 0 auto 3rem;
}

.constituency-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.constituency-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.constituency-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(242, 101, 34, 0.1);
}

.constituency-card .card-icon {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    display: inline-block;
}

.constituency-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

/* Constituency Initiative Feed */
.initiative-feed-title {
    margin-bottom: 2rem;
}

.initiative-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.initiative-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.initiative-card:hover {
    box-shadow: var(--shadow-lg);
}

.initiative-img-placeholder {
    height: 200px;
    background: linear-gradient(135deg, rgba(15, 43, 72, 0.05) 0%, rgba(15, 43, 72, 0.01) 100%);
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.initiative-img-placeholder::before {
    content: 'INITIATIVE PLACEHOLDER';
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(15, 43, 72, 0.4);
}

.initiative-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.initiative-card:hover .initiative-img {
    transform: scale(1.05);
}

.initiative-card-body {
    padding: 1.5rem;
}

.initiative-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.initiative-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.initiative-status {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    text-transform: uppercase;
}

.status-completed {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.status-progress {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.initiative-card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

/* Speeches & Newsroom Hub */
.newsroom-tabs {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.tab-btn {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-muted);
    padding: 0.75rem 2rem;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}

.tab-btn:hover {
    color: var(--primary);
}

.tab-btn.active {
    color: var(--primary);
    border-color: var(--accent);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.speeches-list,
.press-list,
.media-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.speech-item,
.press-item,
.media-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: 1fr 4fr;
    gap: 2rem;
    align-items: center;
    transition: var(--transition);
}

.speech-item:hover,
.press-item:hover,
.media-item:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(15, 43, 72, 0.08);
}

.date-badge {
    background-color: rgba(15, 43, 72, 0.05);
    border-radius: var(--radius-sm);
    padding: 1rem;
    text-align: center;
    color: var(--primary);
    font-family: var(--font-heading);
}

.date-badge .day {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
    display: block;
}

.date-badge .month-year {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 0.25rem;
    display: block;
}

.speech-details h3,
.press-details h3,
.media-details h3 {
    margin-bottom: 0.5rem;
    font-size: 1.35rem;
}

.speech-meta,
.press-meta,
.media-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.speech-action,
.press-action,
.media-action {
    display: flex;
    gap: 1rem;
    margin-top: 1.25rem;
}

.btn-inline {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-inline:hover {
    color: var(--accent-hover);
}

/* Media Gallery */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-img-placeholder {
    height: 220px;
    background: linear-gradient(135deg, rgba(15, 43, 72, 0.05) 0%, rgba(15, 43, 72, 0.01) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.gallery-img-placeholder::before {
    content: 'MEDIA PLACEHOLDER';
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(15, 43, 72, 0.4);
}

.gallery-slider {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
}

.gallery-slider .swiper-slide {
    width: 100%;
    height: 100%;
}

.gallery-slider .gallery-img-placeholder {
    width: 100%;
    height: 100%;
    border: none;
}

.gallery-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-slider .swiper-button-next,
.gallery-slider .swiper-button-prev {
    color: var(--accent);
    background-color: rgba(255, 255, 255, 0.9);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.gallery-slider .swiper-button-next::after,
.gallery-slider .swiper-button-prev::after {
    font-size: 0.85rem;
    font-weight: 800;
}

.gallery-slider .swiper-button-next:hover,
.gallery-slider .swiper-button-prev:hover {
    background-color: var(--accent);
    color: var(--text-white);
}

.gallery-slider .swiper-pagination-bullet-active {
    background: var(--accent);
}

.gallery-caption {
    padding: 1rem;
    background-color: var(--bg-card);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    border-top: 1px solid var(--border);
}

/* Social Media Section */
.social-feed-section {
    background-color: var(--bg-dark-section);
    color: var(--text-white);
    padding: 6rem 0;
}

.social-feed-section h2 {
    color: var(--text-white);
}

.social-intro {
    max-width: 700px;
    margin: 0 auto 3rem;
}

.social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.social-widget-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.widget-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
}

.widget-icon-fb {
    color: #1877f2;
    font-size: 1.8rem;
}

.widget-icon-tw {
    color: #1da1f2;
    font-size: 1.8rem;
}

.widget-content-placeholder {
    flex-grow: 1;
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    margin-bottom: 2rem;
    background-color: rgba(0, 0, 0, 0.1);
}

.widget-content-placeholder p {
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    font-size: 0.9rem;
}

/* Grievance & Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info-panel h3 {
    margin-bottom: 1.5rem;
}

.office-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.office-card h4 {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.office-details li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.office-details strong {
    color: var(--text-main);
}

.office-details li i {
    color: var(--accent);
    margin-right: 0.5rem;
    width: 16px;
    text-align: center;
}

/* Office Map Styling */
.office-map-wrapper {
    margin-top: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.office-map-wrapper:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(242, 101, 34, 0.15);
}

.office-map-wrapper iframe {
    display: block;
}

.header-top-info i {
    color: var(--accent);
    margin-right: 0.25rem;
}

.grievance-form-container {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-md);
}

.form-title {
    margin-bottom: 2rem;
}

.form-title h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background-color: var(--bg-main);
    outline: none;
    transition: var(--transition);
}

.form-input:focus {
    border-color: var(--accent);
    background-color: var(--bg-section);
    box-shadow: 0 0 0 3px rgba(236, 110, 21, 0.1);
}

textarea.form-input {
    height: 120px;
    resize: vertical;
}

.consent-wrapper {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin: 2rem 0;
}

.consent-checkbox {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.consent-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.consent-text a {
    color: var(--accent);
    font-weight: 600;
}

.btn-submit {
    width: 100%;
    background-color: var(--accent);
    color: var(--text-white);
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1.05rem;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(236, 110, 21, 0.2);
}

.btn-submit:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 6px 12px rgba(236, 110, 21, 0.35);
}

/* Site Footer */
.site-footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 4rem 0 2rem;
    border-top: 4px solid var(--accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo h3 {
    color: var(--text-white);
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-desc {
    margin-top: 1.25rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--text-white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
}

.footer-links-list li {
    margin-bottom: 0.75rem;
}

.footer-links-list a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
}

.footer-links-list a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact-details li {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
}

.footer-contact-details strong {
    color: var(--text-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    font-size: 0.85rem;
}

.footer-bottom-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-disclaimer {
    max-width: 600px;
    color: rgba(255, 255, 255, 0.45);
    font-style: italic;
    line-height: 1.5;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal-links a:hover {
    color: var(--accent);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
}

/* Legal Pages Styling Utility */
.legal-page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--text-white);
    padding: 4rem 0;
    text-align: center;
}

.legal-page-header h1 {
    color: var(--text-white);
    font-size: 2.25rem;
}

.legal-content-wrapper {
    padding: 5rem 0;
}

.legal-text-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 3rem;
    box-shadow: var(--shadow-sm);
}

.legal-text-container h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--primary);
}

.legal-text-container h2:first-of-type {
    margin-top: 0;
}

.legal-text-container p {
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.legal-text-container ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    list-style: disc;
}

.legal-text-container li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

/* Active translation display elements */
[data-lang-content] {
    transition: opacity 0.2s ease-in-out;
}

.lang-hidden {
    display: none !important;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 24px;
    right: -400px;
    background-color: var(--primary-dark);
    color: var(--text-white);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--success);
    z-index: 1002;
    transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast-notification.show {
    right: 24px;
}

.toast-success-icon {
    color: var(--success);
    font-weight: 800;
    font-size: 1.25rem;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-section {
        background-image: url('../assets/hero-bg-mob.jpeg');
        background-position: center center;
        padding: 2rem 0;
        min-height: 650px;
        height: auto;
        aspect-ratio: auto;
        display: flex;
        align-items: flex-start;
    }

    .hero-section .container {
        text-align: center;
        width: 100%;
    }

    .hero-content {
        max-width: 100%;
        margin-top: 0;
    }

    .hero-cta {
        display: none !important;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .constituency-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .initiative-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .header-top {
        display: none;
    }

    .header-actions .btn-grievance-nav {
        display: none;
    }

    .mobile-only-nav-item {
        display: block;
    }

    .logo-text h1 {
        font-size: 1.15rem;
    }

    .logo-text p {
        font-size: 0.65rem;
    }

    .nav-menu {
        display: none;
        /* Controlled by mobile menu toggle in JS */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-section);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        box-shadow: var(--shadow-md);
        align-items: stretch;
    }

    .nav-menu.mobile-open {
        display: flex;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .speech-item,
    .press-item,
    .media-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }

    .date-badge {
        width: 80px;
        margin: 0 auto;
    }

    .social-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-bottom-grid {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 2.25rem;
    }



    .constituency-grid {
        grid-template-columns: 1fr;
    }

    .initiative-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-filters {
        flex-wrap: wrap;
    }

    .hero-cta {
        flex-direction: column;
    }
}

/* Scroll to Top Button */
.scroll-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background-color: var(--accent);
    color: var(--text-white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
}

.scroll-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top-btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(236, 110, 21, 0.4);
}

/* Floating Social Media Buttons */
.floating-social-bar {
    position: fixed;
    right: 30px;
    bottom: 95px;
    /* Sits right above the scroll-to-top button which has bottom: 30px */
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 998;
    transition: var(--transition);
}

.social-float-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.25rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.social-float-btn:hover {
    transform: scale(1.15) translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 43, 72, 0.25);
}

/* Individual Brand Colors */
.social-float-btn.facebook {
    background-color: #1877f2;
}

.social-float-btn.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.social-float-btn.twitter {
    background-color: #000000;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.social-float-btn.youtube {
    background-color: #ff0000;
}

/* Responsive adjustment for floating buttons on mobile viewports */
@media (max-width: 768px) {
    .floating-social-bar {
        right: 20px;
        bottom: 75px;
        gap: 8px;
    }

    .social-float-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .scroll-to-top-btn {
        right: 20px !important;
        bottom: 20px !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 1.1rem !important;
    }
}