/* 
   SSC Health - Design System 
   Premium, Modern, Academic yet Soulful 
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&family=Open+Sans:wght@400;600&display=swap');

:root {
    /* Corporate Palette */
    --primary-color: #0a2540;
    /* Deep Royal Blue */
    --secondary-color: #f8f9fa;
    /* Light Gray/Off-White */
    --accent-color: #ff8c00;
    /* Safety Orange */
    --accent-light: #ffd8a8;
    --text-dark: #333333;
    --text-light: #ffffff;
    --text-muted: #666666;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --section-spacing: 5rem;

    /* UI Elements */
    --radius: 8px;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--text-light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.25rem;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Utilities */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--accent-color);
    color: white;
    font-weight: 600;
    border-radius: var(--radius);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    border: 2px solid var(--accent-color);
}

.btn:hover {
    background-color: #e67e00;
    border-color: #e67e00;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Section Styling */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

/* Hero Section */
/* Hero Section & Video Background */
.hero-section {
    position: relative;
    padding: 10rem 0 8rem 0;
    text-align: center;
    color: var(--text-light);
    overflow: hidden;
    background-color: var(--primary-color);
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.video-foreground,
.video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    /* 16:9 Aspect Ratio */
    min-height: 100vh;
    min-width: 177.77vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 37, 64, 0.75);
    /* Corporate Blue Overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Vision Section Spacing */
.vision-detailed-section {
    padding: 4rem 0;
    background: white;
}

/* --- EndObesity Page Styles --- */

.corporate-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: start;
}

@media (min-width: 992px) {
    .corporate-content-grid {
        grid-template-columns: 1.5fr 1fr;
    }
}

/* Left Column Styles */
.section-header {
    margin-bottom: 2rem;
}

.brand-logo {
    height: 360px;
    width: auto;
    margin-bottom: 1.5rem;
    display: block;
}

.lead-text {
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Stats Row */
.stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-text);
    line-height: 1;
    background: linear-gradient(135deg, var(--accent-color), #ff4e00);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
}

.stat-item.highlight .stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

/* Right Column (Sidebar) Styles */
.sidebar-col {
    background: var(--secondary-color);
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.sidebar-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.program-schedule-title {
    margin: 0;
    font-size: 1.4rem;
}

.corporate-agenda-list.compact .agenda-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.corporate-agenda-list.compact .agenda-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.corporate-agenda-list.compact .agenda-date-block {
    width: 60px;
    height: 60px;
}

.sidebar-action {
    margin-top: 2rem;
    text-align: center;
}

.btn-sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.85rem;
}

.stat-item.highlight {
    padding-left: 2rem;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.agenda-item.proposed .agenda-date-block.grayscale {
    background-color: #999 !important;
}

/* Committee Grid System */
.committee-grid-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.committee-grid-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .committee-grid-row {
        gap: 1rem;
    }

    .members-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        width: 100%;
        max-width: 400px;
    }

    .member-card {
        max-width: none;
        width: 100%;
    }
}

@media (min-width: 768px) {
    .committee-grid-row {
        gap: 2rem;
    }
}

.committee-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: fit-content;
}

.committee-title {
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    text-align: center;
    background: var(--secondary-color);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    display: inline-block;
}

.members-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    width: 100%;
}

.member-card {
    background: white;
    padding: 0.4rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    width: 100%;
    max-width: 130px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.member-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.member-photo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.3rem;
    border: 2px solid var(--secondary-color);
    box-shadow: var(--shadow-sm);
}

.member-name {
    font-family: var(--font-body);
    /* Open Sans looks better small */
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.2;
    letter-spacing: 0;
}

/* Agenda Improvements */
.agenda-date-block {
    background: white;
    color: var(--text-dark);
    border-radius: var(--radius);
    border: 1px solid #eee;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 1.1;
    overflow: hidden;
    position: relative;
}

.agenda-date-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-color);
}

.agenda-day {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.agenda-month {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-muted);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
}

.sanskrit-title {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.translation {
    font-style: italic;
    opacity: 0.9;
    font-weight: 300;
    margin-bottom: 1.5rem;
    /* Reduced from 3rem */
}

.vision-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.vision-text p {
    margin-bottom: 1.5rem;
}

.vision-text .emphasis {
    font-weight: 500;
    color: var(--accent-light);
    font-size: 1.25rem;
    font-family: var(--font-heading);
    margin-top: 2rem;
}

/* Mission Section */
.mission-section {
    background-color: var(--secondary-color);
    padding: var(--section-spacing) 0;
}

.mission-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.25rem;
    color: var(--text-muted);
}

.mission-card {
    background-color: var(--text-light);
    padding: 3rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Subtle border */
    border-left: 4px solid var(--accent-color);
}

/* Highlights Section */
.highlights-section {
    padding: var(--section-spacing) 0;
    background-color: var(--text-light);
}

.highlight-card {
    background: var(--secondary-color);
    border-radius: var(--radius);
    overflow: hidden;
    border: none;
    box-shadow: none;
    /* Flat style */
    transition: transform 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
    background: #e9ecef;
    /* Slightly darker hover */
}

.highlight-card .card-content {
    padding: 2.5rem;
}

/* Leadership Section */
.leadership-section {
    padding: var(--section-spacing) 0;
    background-color: var(--secondary-color);
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 0 auto;
}

.leader-card {
    background: var(--text-light);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: visible;
    /* Allow image to pop if needed, but we'll keep it contained */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.leader-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.leader-img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    border: 4px solid white;
    box-shadow: var(--shadow-sm);
    background-color: #eee;
}

.leader-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: var(--primary-color);
}

.leader-card .role {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.leader-quote {
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
}

.leader-quote::before {
    content: '“';
    font-size: 3rem;
    color: rgba(10, 37, 64, 0.1);
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
}

footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 2rem 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
    .sanskrit-title {
        font-size: 2.5rem;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding: 4rem 0;
    }

    .vision-text {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .leader-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.mission-card.fade-in-up {
    transition-delay: 0.1s;
}

.mission-highlight.fade-in-up {
    transition-delay: 0.2s;
}

/* Stagger highlights */
.highlight-card:nth-child(1) {
    transition-delay: 0.1s;
}

.highlight-card:nth-child(2) {
    transition-delay: 0.3s;
}

.highlight-card:nth-child(3) {
    transition-delay: 0.5s;
}

/* Navigation */
.main-nav {
    background-color: var(--text-light);
    /* White */
    box-shadow: var(--shadow-sm);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.nav-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.25rem;
}

.nav-logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-dark);
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Mission Section */
.mission-section {
    background-color: var(--secondary-color);
    padding: var(--section-spacing) 0;
}

.mission-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.25rem;
    color: var(--text-muted);
}

.mission-card {
    background-color: var(--text-light);
    padding: 3rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--accent-color);
    /* Kept accent border */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* Highlights Section */
.highlights-section {
    padding: var(--section-spacing) 0;
    background-color: var(--text-light);
}

.highlight-card {
    background: var(--secondary-color);
    border: none;
    box-shadow: none;
    /* Cleaner look */
}

/* Leadership Section */
.leadership-section {
    padding: var(--section-spacing) 0;
    background-color: var(--secondary-color);
}

.leader-card {
    background: var(--text-light);
    box-shadow: var(--shadow-sm);
}

/* Footprints Hero */
.footprints-hero {
    background: linear-gradient(135deg, #0a2540 0%, #1a2f5c 100%);
    /* Adjusted to primary */
    padding: 6rem 0;
    text-align: center;
    color: white;
}

/* Global Presence */
.global-presence-section {
    background-color: var(--secondary-color);
    padding: 4rem 0;
}

/* Initiatives Hero */
.initiatives-hero {
    background: linear-gradient(135deg, #0a2540 0%, #000000 100%);
    padding: 6rem 0;
}

.challenge-box {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--accent-color);
    border-radius: var(--radius);
    padding: 2rem;
    margin-top: 3rem;
    display: inline-block;
    max-width: 800px;
    backdrop-filter: blur(10px);
}

.challenge-title {
    color: var(--accent-light);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.challenge-text {
    font-size: 1.1rem;
    line-height: 1.6;
}

.initiatives-intro {
    max-width: 800px;
    margin: 4rem auto;
    text-align: center;
    font-size: 1.2rem;
}

.pillars-section {
    background-color: var(--bg-off-white);
    padding: 5rem 0;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pillar-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.3s ease;
    border-top: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pillar-card:hover {
    transform: translateY(-10px);
}

.pillar-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.pillar-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.pillar-text {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.matter-section {
    padding: 5rem 0;
    background: var(--bg-light);
    text-align: center;
}

.matter-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.matter-content p {
    margin-bottom: 1.5rem;
}

/* Affiliations Page Styles */
.affiliations-hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    /* Trustworthy Blue */
    padding: 6rem 0;
    text-align: center;
    color: white;
}

.ima-section {
    padding: 5rem 0;
    background: white;
}

.ima-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
}

.ima-logo-placeholder {
    width: 120px;
    height: 120px;
    background-color: var(--bg-off-white);
    border-radius: 50%;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--text-muted);
    border: 2px solid var(--accent-light);
}

.partnership-section {
    padding: 5rem 0;
    background-color: var(--bg-off-white);
    text-align: center;
}

.partnership-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-box {
    background: var(--primary-color);
    color: white;
    padding: 3rem;
    border-radius: var(--radius);
    margin-top: 3rem;
    display: inline-block;
    box-shadow: var(--shadow-md);
}

.contact-email {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-top: 1rem;
    display: block;
    text-decoration: none;
}

.contact-email:hover {
    text-decoration: underline;
}

/* Leader Images */
.leader-img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-left: 1.5rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .leader-img {
        margin-left: 0;
        margin-top: 1rem;
        width: 120px;
        height: 120px;
    }
}

/* Nav Logo Styles */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.2rem;
    /* Reduced from default */
    font-weight: 600;
    line-height: 1.3;
}

.nav-logo img {
    height: 50px;
    /* Increased logo size */
    width: auto;
}

/* Mobile Navigation Toggle */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    z-index: 1001;
    /* Ensure above overlay */
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: var(--primary-color);
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: row;
        /* Keep row for logo and toggle */
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
    }

    .nav-logo {
        z-index: 1001;
        /* Ensure logo stays visible */
    }

    .nav-logo img {
        height: 40px;
        /* Reduce size slightly for mobile */
    }

    .mobile-nav-toggle {
        display: block;
    }

    /* Active State for Hamburger Animation */
    .mobile-nav-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-nav-toggle.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-nav-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Mobile Menu Overlay */
    .nav-links {
        position: fixed;
        left: -100%;
        /* Hide off-screen */
        top: 70px;
        /* Below header */
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
        /* Slide in */
    }

    .nav-links li {
        margin: 1.5rem 0;
    }
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 0.95rem;
    margin-top: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateX(-50%);
}

.read-more {
    display: inline-block;
    margin-top: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.read-more:hover {
    transform: translateX(5px);
    color: var(--primary-color);
}

/* Vision Detailed Section */
.vision-detailed-section {
    padding: 5rem 0;
    background-color: var(--light-bg);
    text-align: center;
}

.vision-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
    max-width: 900px;
    margin: 0 auto 1.5rem;
}

.vision-text .emphasis {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-top: 2rem;
    font-family: 'Playfair Display', serif;
}

/* Conferences Page Styles */
.conferences-hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 6rem 0;
    text-align: center;
    color: white;
}

.conference-section {
    padding: 4rem 0;
    border-bottom: 1px solid var(--border-color);
}

.conference-section:last-child {
    border-bottom: none;
}

.conference-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.conference-logo {
    flex: 0 0 200px;
    text-align: center;
}

.conference-logo img {
    max-width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: contain;
}

.conference-content {
    flex: 1;
}

.conference-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .conference-container {
        flex-direction: column;
        text-align: center;
    }

    .conference-logo {
        margin-bottom: 1.5rem;
    }
}

/* Video Header Styles */
.hero-section,
.footprints-hero,
.initiatives-hero,
.conferences-hero,
.affiliations-hero {
    position: relative;
    overflow: hidden;
    background: transparent !important;
    /* Let video show through, fallback color handled by parent/overlay if needed */
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    background: #0d1b3e;
    /* Fallback color */
}

.video-foreground,
.video-foreground iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    /* 16:9 Aspect Ratio */
    min-height: 100%;
    min-width: 177.77vh;
    /* 16:9 Aspect Ratio */
    transform: translate(-50%, -50%);
    pointer-events: none;
    border: none;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 27, 62, 0.75);
    /* Deep blue overlay */
    z-index: -1;
}

/* Event Cards */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    text-align: left;
}

.event-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--accent-color);
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.event-card h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.event-detail {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}

.event-detail strong {
    color: var(--text-muted);
    font-weight: 500;
}

.status-tag {
    display: inline-block;
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 12px;
    background: #f0f0f0;
    color: #666;
    margin-left: 0.5rem;
}

/* Corporate Agenda List */
:root {
    --endo-orange-bg: #fff3e0;
    --endo-orange-accent: #ef6c00;
    --endo-orange-text: #e65100;
}

.corporate-agenda-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 2rem;
}

.agenda-item {
    display: flex;
    align-items: center;
    background: var(--endo-orange-bg);
    padding: 1.5rem 2rem;
    border-radius: var(--radius);
    border-left: 5px solid var(--endo-orange-accent);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(239, 108, 0, 0.1);
}

.agenda-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    background: #ffe0b2;
}

.agenda-date-block {
    flex: 0 0 100px;
    text-align: center;
    padding-right: 1.5rem;
    border-right: 1px solid rgba(239, 108, 0, 0.2);
    margin-right: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.agenda-day {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--endo-orange-accent);
    line-height: 1;
    font-family: var(--font-heading);
}

.agenda-month {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--endo-orange-text);
    font-weight: 700;
    margin-top: 0.2rem;
    letter-spacing: 0.5px;
}

.agenda-details {
    flex: 1;
}

.agenda-city {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--endo-orange-text);
    margin-bottom: 0.4rem;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.agenda-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.95rem;
    color: #5d4037;
    /* Brownish for contrast on orange */
}

.agenda-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.agenda-icon {
    opacity: 1;
    color: var(--endo-orange-accent);
}

@media (max-width: 600px) {
    .agenda-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
    }

    .agenda-date-block {
        border-right: none;
        border-bottom: 1px solid rgba(239, 108, 0, 0.2);
        padding-right: 0;
        padding-bottom: 1rem;
        margin-right: 0;
        margin-bottom: 1rem;
        width: 100%;
        flex-direction: row;
        align-items: baseline;
        justify-content: flex-start;
        gap: 0.5rem;
        text-align: left;
    }

    .agenda-day {
        font-size: 1.4rem;
    }

    .agenda-month {
        font-size: 1rem;
        margin-top: 0;
    }

    .agenda-meta {
        flex-direction: column;
        gap: 0.8rem;
    }
}

/* Ensure Button Visibility */
.btn-outline {
    display: inline-block;
    /* Force display */
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Updated Footer Styles */
footer {
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.9rem;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.footer-nav {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 0;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.footer-nav a:hover {
    color: var(--accent-color);
}

.credits {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 0.2rem;
}

.credits a {
    color: var(--accent-light);
    text-decoration: none;
    border-bottom: 1px dotted currentColor;
}

.credits a:hover {
    color: white;
}

/* Organizing Committee Section */
.committee-section {
    padding: 5rem 0;
    background-color: white;
    /* distinct from previous section */
}

.committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    justify-content: center;
}

.member-card {
    background: var(--bg-off-white);
    border-radius: var(--radius);
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 3px solid var(--accent-color);
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.member-photo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    margin-bottom: 1.2rem;
    overflow: hidden;
    border: 3px solid white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background-color: #e0e0e0;
    flex-shrink: 0;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #999;
    background: #e0e0e0;
}

.member-details {
    width: 100%;
}

.member-role {
    color: var(--accent-color);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 0.5rem;
    min-height: 1.2em;
    /* Ensure alignment even if empty */
}

.member-name {
    color: var(--primary-color);
    font-size: 1.15rem;
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
}

/* Dropdown Navigation */
.nav-item {
    position: relative;
    /* Maintain display inline-block or similar from li context if needed, usually li is block but in flex it's flex item */
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1002;
    border-radius: var(--radius);
    padding: 0.5rem 0;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-content::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 6px 6px 6px;
    border-style: solid;
    border-color: transparent transparent white transparent;
}

.dropdown-content a {
    color: var(--text-dark);
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    border-bottom: none;
    /* Override default if any */
    transition: background-color 0.2s, color 0.2s;
    font-weight: 500;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: var(--bg-off-white);
    color: var(--primary-color);
}

/* Show dropdown on hover */
.nav-item:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, 10px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Mobile Dropdown */
@media (max-width: 768px) {
    .dropdown-content {
        position: static;
        box-shadow: none;
        display: none;
        transform: none;
        border: none;
        padding: 0;
        background-color: transparent;
        margin-top: 0;
        min-width: 100%;
    }

    .dropdown-content::before {
        display: none;
    }

    .nav-item:hover .dropdown-content {
        display: block;
        animation: none;
    }

    .dropdown-content a {
        padding: 0.8rem 0;
        text-align: center;
        color: var(--text-muted);
        font-size: 0.9rem;
    }

    .dropdown-content a:hover {
        background-color: transparent;
        color: var(--primary-color);
    }
}

/* Upcoming Events Section */
.upcoming-events-section {
    padding: 4rem 0;
    background-color: #ff8c00;
    /* Orange */
}

.upcoming-events-section .section-title {
    color: white;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.event-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
    border: 1px solid #eee;
    height: 100%;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.featured-event {
    border-left: 5px solid var(--accent-color);
}

.event-date-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    width: fit-content;
    margin-bottom: 1.5rem;
}

.event-date-large .days {
    font-size: 1.5rem;
    font-weight: 700;
}

.event-date-large .month-year {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-details-main h3 {
    margin: 0 0 1rem 0;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.event-meta-row {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.event-list {
    list-style: none;
    padding: 0;
}

.event-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
}

.event-list li:last-child {
    border-bottom: none;
}

.event-list .e-date {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 80px;
}

.event-list .e-loc {
    text-align: right;
    color: var(--text-muted);
}

/* Slider Background */
.slider-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

/* EndObesity Layout Refactored */
.endobesity-layout.conference-container {
    align-items: flex-start;
    gap: 3rem;
}

.endobesity-layout .conference-logo {
    flex: 0 0 350px;
    text-align: left;
}

.endobesity-layout .conference-logo img {
    max-height: 400px;
    width: 100%;
    object-fit: contain;
}

.endobesity-layout .conference-content {
    text-align: left;
    margin-bottom: 2rem;
}

.endobesity-layout .conference-title {
    text-align: left;
    margin-bottom: 2rem;
}

.endobesity-layout .conference-content p {
    margin-bottom: 1.5rem;
}

.program-schedule-title {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
}


/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {

    /* Global Adjustments */
    .container {
        padding: 0 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    /* Header / Hero */
    .hero-section {
        padding: 4rem 0 2rem 0;
    }

    .sanskrit-title {
        font-size: 2.2rem;
    }

    .translation {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    /* Slider / Header */
    .conferences-hero {
        height: 60vh;
        /* Better height for mobile */
    }

    /* Conference Section (EndObesity etc.) */
    .conference-container,
    .endobesity-layout.conference-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        text-align: center;
    }

    .conference-logo,
    .endobesity-layout .conference-logo {
        flex: 0 0 auto;
        width: 100%;
        max-width: 300px;
        /* Limit logo size on mobile */
        margin: 0 auto;
        text-align: center;
    }

    .endobesity-layout .conference-content,
    .endobesity-layout .conference-title {
        text-align: center;
        /* Center align text on mobile for better flow */
    }

    /* Committee Grid */
    .committee-grid,
    .committee-subgrid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        /* Smaller cards for mobile */
        gap: 1rem;
    }



    /* Upcoming Events */
    .upcoming-events-section {
        padding: 3rem 0;
    }

    .events-grid {
        grid-template-columns: 1fr;
        /* Stack events */
    }

    .event-card {
        padding: 1.5rem;
    }

    /* Footer */
    .footer-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-nav a {
        display: block;
        margin: 0.5rem 0;
    }
}

@media (max-width: 480px) {
    .sanskrit-title {
        font-size: 1.8rem;
    }

    .pillar-icon {
        font-size: 2rem;
    }



}

/* --- Gallery Section (Pragati) --- */
.gallery-section {
    padding: var(--section-spacing) 0;
    background-color: var(--text-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    aspect-ratio: 16/9;
    cursor: pointer;
    background: #000;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    font-size: 0.9rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* --- Presentation Slider (Home) --- */
.presentation-section {
    padding: var(--section-spacing) 0;
    background-color: var(--secondary-color);
}

.presentation-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 1rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.slide-viewer {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #000;
    border-radius: 4px;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: none;
}

.slide-img.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

.slider-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding: 0 1rem;
}

.slider-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s ease;
}

.slider-btn:hover {
    background: var(--accent-color);
}

.slide-counter {
    font-weight: 600;
    color: var(--text-muted);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}