/* 
   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;
}

/* --- Premium Agenda Design --- */
.corporate-agenda-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.agenda-item {
    display: flex;
    align-items: stretch;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    /* Increased shadow opacity */
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    /* Darker border for visibility */
    position: relative;
    z-index: 1;
    /* Ensure visibility */
}

.agenda-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.agenda-date-block {
    flex: 0 0 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem;
    color: var(--primary-color);
}

.agenda-day {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
    color: var(--primary-color);
}

.agenda-month {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 0.2rem;
    color: var(--accent-color);
}

.agenda-details {
    flex: 1;
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.agenda-city {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.4rem;
    line-height: 1.2;
}

.agenda-details p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Highlighted Event - Premium Style */
.agenda-item.highlight-event {
    border-left: 4px solid #2ecc71;
    background: linear-gradient(to right, #f0fff4, #fff);
}

.agenda-item.highlight-event .agenda-date-block {
    background: #e8f5e9;
    color: #2e7d32;
}

.agenda-item.highlight-event .agenda-day {
    color: #2e7d32;
}

.agenda-item.highlight-event::after {
    content: 'NEXT';
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    font-size: 0.65rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(46, 204, 113, 0.3);
    z-index: 1;
}

/* Proposed Event - Subtle Style */
.agenda-item.proposed {
    opacity: 0.8;
    background: #fdfdfd;
}

.agenda-item.proposed .agenda-date-block {
    background: #f3f3f3;
    filter: grayscale(1);
}

@media (max-width: 480px) {
    .agenda-item {
        flex-direction: row;
        align-items: center;
    }

    .agenda-date-block {
        flex: 0 0 70px;
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .agenda-day {
        font-size: 1.4rem;
    }

    .agenda-details {
        padding: 1rem;
    }

    .agenda-city {
        font-size: 1.1rem;
    }
}

/* 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;
}

/* --- Committee Slider (Marquee) --- */
.committee-slider-container {
    width: 100%;
    overflow: hidden;
    margin-bottom: 2rem;
    position: relative;
    padding: 1rem 0;
    background: #f8f9fa;
    /* Optional background */
}

.committee-track {
    display: flex;
    width: max-content;
    gap: 1.5rem;
    animation: scrollCommittee 60s linear infinite;
}

.committee-slide {
    width: 500px;
    /* Fixed width for consistency */
    flex-shrink: 0;
}

.committee-slide img {
    width: 100%;
    height: 350px;
    /* Fixed height for uniformity */
    object-fit: contain;
    /* NO CROP - shows full image */
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.committee-slider-container:hover .committee-track {
    animation-play-state: paused;
    /* Pause on hover */
}

@keyframes scrollCommittee {
    0% {
        transform: translateX(0);
    }

    100% {
        /* Adjust based on width of items and gap */
        /* 10 items * 300px + 10 gaps * 24px (1.5rem) approx */
        transform: translateX(-50%);
    }
}

.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;
}



/* --- 16:9 Header & Slider Improvements --- */
.hero-16-9 {
    aspect-ratio: 16 / 9;
    padding: 0;
    /* Reset padding to let aspect ratio drive height */
    height: auto;
    /* Override fixed heights */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-16-9 .slider-background {
    z-index: 0;
}

.hero-16-9 .header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    /* Ensure overlay is above images */
    background: rgba(10, 37, 64, 0.85);
    /* Slightly darker for better contrast */
}

.hero-16-9 .container {
    z-index: 4;
    /* Content on top */
    position: relative;
    margin-top: 0;
}

/* Highlighted Agenda Item */
.agenda-item.highlight-event {
    border-left: 5px solid #2ecc71;
    /* Green for upcoming */
    background: #e8f8f5;
    position: relative;
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.2);
}

.agenda-item.highlight-event::after {
    content: 'NEXT';
    position: absolute;
    top: 10px;
    right: 10px;
    background: #2ecc71;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
}

/* Symposium Slider Section */
.symposium-slider-section {
    padding: 2rem 0 5rem 0;
    /* Added padding top */
    background: #fff;
    text-align: center;
    overflow: hidden;
}

.symposium-headline {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    font-family: var(--font-heading);
    position: relative;
    display: inline-block;
}

.symposium-headline::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.symposium-slider-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 1rem;
    /* Safe area for arrows if needed, though we use auto-scroll */
}

.symposium-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.symposium-slide {
    min-width: 100%;
    padding: 0.5rem;
    box-sizing: border-box;
    flex-shrink: 0;
    /* Prevent squishing */
}

@media (min-width: 768px) {
    .symposium-slide {
        min-width: 33.333%;
        /* Show 3 slides on desktop */
    }
}

.symposium-slide img {
    width: 100%;
    height: 250px;
    /* Fixed height for uniformity */
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.symposium-slide img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

/* Modal for Image Preview */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal.active {
    display: flex;
    opacity: 1;
}

.image-modal img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    font-weight: bold;
}

/* Mobile Responsiveness for 16:9 Hero */
@media (max-width: 768px) {
    .hero-16-9 {
        height: auto !important;
        /* Force auto height on mobile to respect aspect ratio */
        min-height: unset !important;
        /* Remove any min-height constraints */
    }

    .hero-16-9 .sanskrit-title {
        font-size: 1.5rem;
        /* Smaller font for mobile 16:9 header */
        margin-bottom: 0.2rem;
    }

    .hero-16-9 .translation {
        font-size: 0.8rem;
        /* Smaller subtitle */
        margin-bottom: 0;
    }

    .symposium-slide img {
        height: 200px;
        /* Slightly smaller on mobile sliders */
    }
}

/* --- 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;
    }
}

/* --- Mobile Responsiveness for Committee Slider --- */
@media (max-width: 768px) {
    .committee-slide {
        width: 300px;
        /* Smaller width for mobile */
    }

    .committee-slide img {
        height: 200px;
        /* Smaller height for mobile */
    }

    .committee-track {
        gap: 1rem;
        animation: scrollCommittee 30s linear infinite;
        /* Faster scroll looks better on small screens */
    }
}

/* --- BEACON 2026 Mobile Priority Styles --- */
.beacon-button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.beacon-button-group .btn {
    flex: 1;
    min-width: 220px;
    text-align: center;
    white-space: nowrap;
}

.beacon-about {
    margin-bottom: 3rem;
    text-align: left;
}

.beacon-highlights {
    margin-bottom: 3rem;
}

.beacon-highlights ul {
    list-style-type: none;
    padding-left: 0;
}

.beacon-highlights li {
    margin-bottom: 1rem;
}

.image-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.image-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile Adjustments (< 768px) */
@media (max-width: 768px) {
    .year-card {
        padding: 1.25rem !important;
    }

    .conferences-hero {
        height: 40vh !important;
        min-height: 300px;
    }

    .beacon-button-group {
        flex-direction: column;
        align-items: stretch;
    }

    .beacon-button-group .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    .beacon-about .section-title {
        font-size: 1.5rem;
    }
}

/* --- Core Committee Styles --- */
.committee-section {
    padding: 4rem 0;
    background: var(--bg-off-white);
    text-align: center;
}

.committee-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.committee-member {
    background: white;
    padding: 1.5rem 1rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.committee-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.member-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-color);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-name {
    font-size: 1.15rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
    white-space: nowrap;
}

/* Mobile Adjustments for Committee Grid */
@media (max-width: 992px) {
    .committee-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .committee-grid {
        grid-template-columns: 1fr;
    }

    .committee-member {
        padding: 1.5rem;
    }

    .member-photo {
        width: 120px;
        height: 120px;
    }
}

/* --- Corporate Refactoring Styles --- */
.beacon-conference-container {
    display: block;
    /* Remove flex used for side-logo layout */
    max-width: 900px;
    margin: 0 auto;
}

.beacon-conference-content {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.beacon-about {
    text-align: center;
    margin-bottom: 4rem;
}

.beacon-about p {
    font-size: 1.15rem;
    line-height: 1.8;
}

.beacon-highlights {
    text-align: center;
}

.beacon-highlights h2 {
    margin-bottom: 2rem;
}

.beacon-highlights ul {
    display: inline-block;
    text-align: left;
    max-width: 600px;
}

/* --- Additional Committee Styles --- */
.committee-info-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.committee-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    text-align: left;
    max-width: 1000px;
    margin: 0 auto;
}

.committee-group {
    margin-bottom: 2rem;
}

.committee-group h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 0.25rem;
    margin-bottom: 1.25rem;
    font-family: var(--font-heading);
}

.member-list {
    list-style: none;
    padding: 0;
}

.member-list li {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
    color: var(--text-dark);
    line-height: 1.4;
}


@media (max-width: 768px) {
    .committee-info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
}

/* Faculty Page Styles */
.faculty-section {
    padding: 6rem 0;
    background-color: #fff;
    min-height: 400px;
    opacity: 1 !important; /* Ensure visibility */
}

.faculty-title-container {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.faculty-title-container h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 800;
    margin: 0;
    display: inline-block;
}

.faculty-title-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 4rem 2rem;
    justify-items: center;
    margin-bottom: 5rem;
}

.faculty-card {
    text-align: center;
    width: 100%;
    max-width: 280px;
    transition: transform 0.3s ease;
}

.faculty-card:hover {
    transform: translateY(-10px);
}

.faculty-photo-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    margin-bottom: 1.5rem;
    border-radius: 24px;
    overflow: hidden;
    border: 4px solid var(--primary-color);
    box-shadow: var(--shadow-md);
    background-color: #f8f9fa;
}

.faculty-photo-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.faculty-card:hover .faculty-photo-wrapper img {
    transform: scale(1.08);
}

.faculty-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
}

.faculty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    color: var(--accent-color);
}

.faculty-icon svg {
    width: 28px;
    height: 28px;
}

.faculty-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.4rem;
    line-height: 1.2;
}

.faculty-place {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 992px) {
    .faculty-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .faculty-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 1.5rem;
    }
    
    .faculty-title-container h2 {
        font-size: 2.2rem;
    }
    
    .faculty-name {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .faculty-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
}
/* Activity Page Styles */
.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin: 4rem 0;
}

.activity-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(var(--primary-color-rgb), 0.1);
}

.activity-card:hover::before {
    transform: scaleX(1);
}

.activity-icon-wrapper {
    width: 80px;
    height: 80px;
    background: #f8faff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.activity-card:hover .activity-icon-wrapper {
    background: var(--primary-color);
    color: #fff;
    transform: rotate(10deg);
}

.activity-icon-wrapper svg {
    width: 40px;
    height: 40px;
}

.activity-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.activity-card p {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
}

.activity-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--accent-color);
    color: #fff;
    padding: 5px 40px;
    font-size: 0.75rem;
    font-weight: 700;
    transform: rotate(45deg);
    text-transform: uppercase;
    letter-spacing: 1px;
    pointer-events: none;
}

@media (max-width: 768px) {
    .activity-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .activity-card {
        padding: 2rem;
    }
}

/* Registration & Pricing Styles */
.pricing-container {
    padding: 4rem 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin: 3rem 0;
    justify-content: center;
}

.pricing-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-width: 340px;
    margin: 0 auto;
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(var(--primary-color-rgb), 0.1);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}

.pricing-header h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}

.price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0.8rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: -1rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    text-align: left;
}

/* Dropdown / Details Styles */
.pricing-card details {
    margin: 1rem 0;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.pricing-card summary {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.pricing-card summary:hover {
    color: var(--accent-color);
}

.pricing-card summary::after {
    content: '▾';
    font-size: 0.8rem;
}

.pricing-card details[open] summary::after {
    content: '▴';
}

.pricing-card summary::-webkit-details-marker {
    display: none;
}

/* Residential Section Accordion */
.residential-accordion {
    max-width: 1000px;
    margin: 2rem auto;
    border: 1px solid #eee;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}

.residential-accordion summary {
    padding: 1.5rem 2rem;
    background: #f8faff;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.3s ease;
    border-bottom: 1px solid transparent;
}

.residential-accordion summary:hover {
    background: #f0f4ff;
}

.residential-accordion[open] summary {
    border-bottom: 1px solid #eee;
}

.residential-accordion-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.residential-accordion-title h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.residential-accordion-icon {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.residential-accordion[open] .residential-accordion-icon {
    transform: rotate(180deg);
}

.residential-content {
    padding: 3rem 2rem;
}

.pricing-features li {
    padding: 0.6rem 0;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    border-bottom: 1px solid #f8f8f8;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
}

.registration-cta {
    background: #f8faff;
    padding: 4rem;
    border-radius: 30px;
    text-align: center;
    margin-top: 4rem;
    border: 1px dashed var(--primary-color);
    display: none; /* Hidden as it's replaced by the embedded form */
}

.registration-cta h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Call Button Styles */
.call-btn {
    background: #FF8A00 !important;
    border-color: #FF8A00 !important;
    color: white !important;
    margin-top: 10px;
}

.call-btn:hover {
    background: #e67e00 !important;
}

/* Registration Iframe Styles */
.registration-iframe-container {
    width: 100%;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    margin-top: 3rem;
    border: 1px solid #eee;
}

.registration-iframe-container iframe {
    width: 100%;
    height: 900px;
    border: none;
}

/* Floating Registration Button */
.floating-reg-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #FF8A00 0%, #FF5C00 100%);
    color: white !important;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 10px 25px rgba(255, 92, 0, 0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    letter-spacing: 1px;
    font-size: 0.9rem;
    animation: pulse-button 2s infinite;
}

.floating-reg-btn:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 92, 0, 0.4);
    background: linear-gradient(135deg, #FF9B26 0%, #FF6D1F 100%);
}

@keyframes pulse-button {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

@media (max-width: 768px) {
    .floating-reg-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 24px;
        font-size: 0.8rem;
    }
}
