/* Design Tokens & Theme Setup - Light & Happy Theme */
:root {
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;
    --border-color: #e2e8f0;
    --border-hover: #ef4444;
    
    --primary: #ef4444; /* Sports Red */
    --primary-hover: #dc2626;
    --primary-glow: rgba(239, 68, 68, 0.15);
    
    --accent-blue: #0f172a; /* Deep Slate Black */
    --accent-green: #10b981; /* Emerald for strength */
    --accent-purple: #8b5cf6; /* Violet for yoga */
    
    --text-main: #0f172a; /* Slate 900 */
    --text-muted: #64748b; /* Slate 500 */
    --text-white: #ffffff;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.08);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Toastmasters Theme Override */
body.toastmasters-theme {
    --primary: #772432; /* Toastmasters Burgundy */
    --primary-hover: #5c1b26;
    --primary-glow: rgba(119, 36, 50, 0.15);
    --border-hover: #772432;
    
    --accent-blue: #004165; /* Toastmasters True Blue */
    --accent-gold: #f2a900; /* Toastmasters Gold */
}

.toastmasters-theme .gold-text {
    color: var(--accent-gold);
}
.toastmasters-theme .bg-gold {
    background-color: var(--accent-gold);
    color: #0f172a;
}
.toastmasters-theme .btn-gold {
    background-color: var(--accent-gold);
    color: #0f172a;
}
.toastmasters-theme .btn-gold:hover {
    background-color: #e09b00;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(242, 169, 0, 0.2);
}
.toastmasters-theme .hero-overlay {
    background: linear-gradient(to bottom, rgba(0, 65, 101, 0.6) 0%, rgba(15, 23, 42, 0.9) 100%);
}

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

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

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

/* Helper Gradients */
.text-gradient {
    background: linear-gradient(135deg, #ff6b00, #ff8a00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px var(--primary-glow);
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--bg-light);
    border-color: var(--text-muted);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-image {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text-main);
}

.logo-accent {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-item {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.nav-item:hover, .nav-item.active {
    color: var(--primary);
}

/* Nav Dropdown Menus */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 8px 0;
    transition: var(--transition);
}

.dropdown-toggle:hover, .nav-dropdown:hover .dropdown-toggle {
    color: var(--primary);
}

.dropdown-arrow {
    font-size: 0.65rem;
    transition: transform 0.2s ease;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 170px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1100;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: var(--transition);
    text-align: left;
    white-space: nowrap;
}

.dropdown-item:hover {
    color: var(--primary);
    background: rgba(239, 68, 68, 0.04);
}

.btn-join {
    padding: 10px 22px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    background-color: var(--primary);
    color: var(--text-white);
}

.btn-join:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--primary-glow);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    gap: 25px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-nav-drawer.open {
    transform: translateX(0);
}

.mobile-nav-item {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-muted);
}

.mobile-nav-item:hover {
    color: var(--primary);
}

.mobile-cta {
    margin-top: 20px;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.8) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    text-align: center;
    padding: 0 20px;
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 107, 0, 0.15);
    border: 1px solid rgba(255, 107, 0, 0.4);
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ff9100;
    margin-bottom: 25px;
}

.hero-logo-container {
    margin-top: -100px;
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
}

.hero-logo-img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(239, 68, 68, 0.4));
}

@media (max-width: 768px) {
    .hero-logo-img {
        width: 100px;
        height: 100px;
    }
}

.hero-title {
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    padding: 16px 32px;
    background: rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    display: inline-block;
    max-width: 100%;
    box-sizing: border-box;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    color: var(--text-white);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #f1f5f9;
    max-width: 650px;
    margin: 0 auto;
    font-weight: 500;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-ctas {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.hero-ctas .btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border-color: rgba(255, 255, 255, 0.2);
}

.hero-ctas .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.scroll-indicator-btn {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    width: 48px;
    height: 48px;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.scroll-indicator-btn:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateX(-50%) translateY(4px) scale(1.05);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
}

.scroll-chevron {
    font-size: 1.15rem;
    animation: chevron-bounce 2s infinite;
}

@keyframes chevron-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-2px);
    }
}

/* Stats Section */
.stats-section {
    background-color: #090d16; /* Deep Matte Black */
    padding: 65px 0;
    border-bottom: 2px solid var(--primary); /* Neon Red line at bottom */
    position: relative;
    z-index: 4;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    background: #0f172a; /* Deep Slate Black */
    border: 1px solid #1e293b;
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary); /* Neon Red glowing numbers */
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8; /* Light Slate */
}

/* Section Common Layout */
section {
    padding: 90px 0;
}

.id-anchor {
    scroll-margin-top: 80px;
}

.section-header {
    text-align: center;
    margin-bottom: 55px;
}

.section-title {
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-main);
}

.section-underline {
    width: 50px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    background-color: var(--bg-light);
}

.about-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 75px;
}

.pillar-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 18px 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* Pillar Card Hover Accent Borders */
.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    transition: background 0.3s ease;
}
.pillar-card:hover::before {
    background: linear-gradient(90deg, var(--primary), #ef4444);
}

.pillar-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px auto;
    font-size: 1.1rem;
    transition: var(--transition);
}

.pillar-card:hover .pillar-icon-box {
    transform: scale(1.1) rotate(5deg);
}

/* Dynamic Pillar Icon Colors */
.spark-icon {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}
.mission-icon {
    background: rgba(239, 68, 68, 0.1);
    color: var(--primary);
}
.vision-icon {
    background: rgba(14, 165, 233, 0.1);
    color: #0ea5e9;
}

.pillar-card h3 {
    font-size: 1.2rem;
    font-family: var(--font-heading);
    margin-bottom: 4px;
    color: var(--text-main);
}

.pillar-subtitle {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.pillar-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Interactive Vibe Section */
.runner-vibe-container {
    background: rgba(15, 23, 42, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 50px 40px;
    margin-bottom: 75px;
    text-align: center;
}

.runner-vibe-container .subsection-title {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.vibe-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.vibe-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px 15px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.vibe-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.vibe-card.active {
    border-color: var(--primary);
    background: rgba(239, 68, 68, 0.02);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.12);
    transform: scale(1.02);
}

.vibe-icon {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    transition: var(--transition);
}

.vibe-card:hover .vibe-icon,
.vibe-card.active .vibe-icon {
    color: var(--primary);
    transform: scale(1.1);
}

.vibe-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.vibe-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Result box */
.vibe-result-box {
    margin-top: 40px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 1;
}

.vibe-result-placeholder {
    font-size: 1rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.vibe-result-placeholder i {
    color: var(--primary);
}

.vibe-result-content {
    text-align: center;
    max-width: 600px;
}

.vibe-result-content h4 {
    font-size: 1.35rem;
    color: var(--primary);
    margin-bottom: 12px;
    font-family: var(--font-heading);
}

.vibe-result-content p {
    font-size: 0.98rem;
    color: var(--text-main);
    margin-bottom: 20px;
    line-height: 1.6;
}

.vibe-result-btn {
    display: inline-block;
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* ExCom Section */
.team-wrapper {
    margin-top: 70px;
    text-align: center;
}

.subsection-title {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.subsection-intro {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.team-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 35px 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 18px;
    border: 3px solid var(--border-color);
    transition: var(--transition);
}

.team-card:hover .member-avatar {
    border-color: var(--primary);
    transform: scale(1.05);
}

.member-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 5px;
}

.member-role {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.05em;
}

.team-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* ExCom Biography Modal */
.excom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 13, 22, 0.75); /* Translucent dark background */
    backdrop-filter: blur(8px); /* Modern backdrop blur */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2000;
}

.excom-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.excom-modal-content {
    background: #0f172a; /* Deep Slate Black modal background */
    border: 2px solid var(--primary); /* Neon Red border glow */
    border-radius: 16px;
    width: 90%;
    max-width: 650px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(239, 68, 68, 0.25);
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.excom-modal.active .excom-modal-content {
    transform: scale(1) translateY(0);
}

.excom-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    line-height: 1;
}

.excom-modal-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.excom-modal-body {
    display: flex;
    gap: 30px;
    padding: 40px;
    align-items: center;
    text-align: left;
}

@media (max-width: 640px) {
    .excom-modal-body {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        gap: 20px;
    }
}

.excom-modal-left {
    flex-shrink: 0;
}

.excom-modal-img {
    width: 180px;
    height: 180px;
    border-radius: 12px; /* Smooth rounded square avatar in popout */
    object-fit: cover;
    border: 4px solid var(--primary);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

@media (max-width: 640px) {
    .excom-modal-img {
        width: 140px;
        height: 140px;
    }
}

.excom-modal-right {
    flex-grow: 1;
}

.excom-modal-right h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 5px;
    margin-top: 0;
}

.excom-modal-role {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px;
    letter-spacing: 0.03em;
}

.excom-modal-divider {
    height: 2px;
    width: 50px;
    background: var(--primary);
    margin-bottom: 15px;
}

@media (max-width: 640px) {
    .excom-modal-divider {
        margin: 0 auto 15px auto;
    }
}

.excom-modal-bio {
    font-size: 1rem;
    line-height: 1.6;
    color: #cbd5e1; /* Smooth grey-blue for text readability */
}

/* Schedule Section */
.schedule-section {
    background-color: var(--bg-white);
}

.schedule-intro {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 35px;
}

.schedule-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.tab-btn {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 10px 24px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    color: var(--text-main);
    background: #e2e8f0;
}

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

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.schedule-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.schedule-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.schedule-card-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    width: 100%;
}

.schedule-card-body {
    padding: 30px;
}

.schedule-day {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.schedule-activity {
    margin-bottom: 15px;
}

.schedule-activity h3 {
    font-size: 1.45rem;
    color: var(--text-main);
}

.activity-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.badge-runs { background: #fff3eb; color: #ff6b00; }
.badge-cycling { background: #e0f2fe; color: var(--accent-blue); }
.badge-strength { background: #ecfdf5; color: var(--accent-green); }
.badge-yoga { background: #f5f3ff; color: var(--accent-purple); }

.schedule-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.schedule-location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    color: var(--text-muted);
}

.loc-icon-svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
}

.loc-link {
    color: var(--text-main);
    font-weight: 600;
}

.loc-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Fuel Calculator Section */
.calculator-section {
    background-color: var(--bg-light);
}

.calc-intro {
    text-align: center;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 45px auto;
}

.calc-container {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.calc-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    border-right: 1px solid var(--border-color);
    padding-right: 40px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group.hidden {
    display: none;
}

.input-group label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
}

.input-group input, .input-group select {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px 16px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.input-group input:focus, .input-group select:focus {
    border-color: var(--primary);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.input-with-select {
    display: flex;
    gap: 10px;
}

.input-with-select input {
    flex: 1;
}

.input-with-select select {
    width: 80px;
}

.time-inputs {
    display: flex;
    gap: 10px;
}

.time-inputs div {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 1;
}

.time-inputs input {
    width: 100%;
    text-align: center;
}

.time-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.btn-calc-trigger {
    margin-top: 15px;
    border-radius: 6px;
}

/* Calculator Results Panel */
.calc-results {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 350px;
}

.results-placeholder {
    text-align: center;
    color: var(--text-muted);
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.placeholder-icon-svg {
    width: 48px;
    height: 48px;
    color: var(--text-muted);
    margin-bottom: 15px;
    animation: float 4s ease-in-out infinite;
}

.results-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
    animation: fadeIn 0.4s ease;
}

.results-title {
    font-size: 1.7rem;
    color: var(--text-main);
}

.results-summary {
    font-size: 0.95rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.result-tile {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px 15px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.result-tile:hover {
    border-color: var(--primary);
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
}

.tile-icon-svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
    margin-bottom: 10px;
}

.result-tile h4 {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tile-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    font-family: var(--font-heading);
}

.tile-sub {
    font-size: 0.8rem;
    color: var(--primary);
    margin-top: 5px;
    font-weight: 600;
}

.timeline-wrapper {
    margin-top: 15px;
}

.timeline-wrapper h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.timeline {
    list-style: none;
    position: relative;
    padding-left: 24px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 7px;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 18px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -21px;
    top: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
}

.timeline-time {
    font-weight: 700;
    color: var(--text-main);
    font-size: 0.9rem;
}

.timeline-detail {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Gallery Section */
.gallery-section {
    background-color: var(--bg-white);
}

.gallery-intro {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.gallery-grid {
    columns: 3 300px;
    column-gap: 20px;
}

.gallery-item {
    background-color: var(--bg-light);
    margin-bottom: 20px;
    break-inside: avoid;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

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

/* Blog Cards Section */
.blog-section {
    background-color: var(--bg-light);
}

.blog-intro {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 50px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.blog-card-img {
    height: 180px;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.blog-card-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.7) 0%, transparent 100%);
}

.blog-category-tag {
    position: relative;
    z-index: 2;
    background: var(--primary);
    color: var(--text-white);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-card-title {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 12px;
    line-height: 1.35;
}

.blog-card-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    flex-grow: 1;
}

.btn-read-more {
    background: none;
    border: none;
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.btn-read-more:hover {
    color: var(--primary-hover);
    transform: translateX(4px);
}

/* Collaborate Section */
.collaborate-section {
    background-color: var(--bg-white);
}

.collaborate-container {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 50px;
    align-items: center;
}

.collab-content h3 {
    font-size: 1.8rem;
    color: var(--text-main);
    margin-bottom: 15px;
}

.collab-content p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.sponsorship-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sponsorship-feature {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
}

.sponsorship-feature h4 {
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 5px;
}

.sponsorship-feature p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.collab-box {
    background: var(--bg-light);
    border: 2px dashed var(--border-hover);
    border-radius: 8px;
    padding: 40px;
    text-align: center;
}

.collab-box h3 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 12px;
}

.collab-box p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.collab-box .btn {
    margin-bottom: 12px;
}

/* Contact Section */
.contact-section {
    background-color: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.contact-info-panel h3 {
    font-size: 1.8rem;
    color: var(--text-main);
    margin-bottom: 15px;
}

.contact-info-panel p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item h4 {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-item a {
    font-size: 1.15rem;
    color: var(--text-main);
    font-weight: 700;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.info-item a:hover {
    color: var(--primary);
}

.contact-form-panel {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
}

.form-group input, .form-group textarea {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px 16px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.form-status {
    margin-top: 15px;
    padding: 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    text-align: center;
}

.form-status.success {
    background: #ecfdf5;
    color: var(--accent-green);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.form-status.hidden {
    display: none;
}

/* Footer styling */
.footer {
    background-color: #0f172a; /* Keep footer dark for solid ground contrast */
    color: #f1f2f6;
    padding: 80px 0 35px 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    align-self: flex-start;
}

.footer-logo:hover {
    background: #f8fafc;
    transform: scale(1.05);
}

.footer-logo-img {
    height: 44px;
    width: 44px;
    object-fit: contain;
}

.footer-brand p {
    color: #94a3b8;
    max-width: 320px;
}

.footer-nav, .footer-social {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-nav h4, .footer-social h4 {
    font-size: 0.95rem;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-nav a, .footer-social a {
    color: #94a3b8;
}

.footer-nav a:hover, .footer-social a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 30px;
    text-align: center;
    font-size: 0.85rem;
    color: #94a3b8;
}

/* Dialog Modal styling */
dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    border-radius: 8px;
    color: var(--text-main);
    padding: 40px;
    max-width: 800px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

dialog[open] {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

dialog::backdrop {
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

dialog[open]::backdrop {
    opacity: 1;
}

.dialog-header {
    position: sticky;
    top: -40px;
    background: rgba(255, 255, 255, 0.01);
    margin: -40px -40px 30px -40px;
    padding: 20px 40px 10px 40px;
    display: flex;
    justify-content: flex-end;
    z-index: 10;
}

.dialog-close-btn {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 1.8rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.dialog-close-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-white);
}

.reading-progress-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--border-color);
}

.reading-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--primary);
    transition: width 0.1s ease;
}

.dialog-content {
    font-size: 1.05rem;
    line-height: 1.8;
}

.dialog-content h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.dialog-content .dialog-meta {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 25px;
}

.dialog-content p {
    margin-bottom: 20px;
    color: #334155;
}

.dialog-content blockquote {
    border-left: 4px solid var(--primary);
    background: #fff8f5;
    padding: 18px 25px;
    margin: 25px 0;
    font-style: italic;
    color: #475569;
}

/* Animations */
@keyframes scroll-wheel {
    0% { opacity: 1; top: 6px; }
    50% { opacity: 0.3; top: 18px; }
    100% { opacity: 1; top: 6px; }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

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

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .about-pillars-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .vibe-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .calc-container {
        grid-template-columns: 1fr;
    }
    
    .calc-form {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-right: 0;
        padding-bottom: 40px;
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .nav-links, .btn-nav-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-nav-drawer {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .schedule-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .collaborate-container {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Scroll Reveal Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Instagram Section */
.instagram-section {
    background-color: var(--bg-white);
    padding: 90px 0;
    border-bottom: 1px solid var(--border-color);
}
.instagram-intro {
    text-align: center;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px auto;
    font-size: 1.1rem;
}
.instagram-handle {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}
.instagram-handle:hover {
    text-decoration: underline;
}
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
@media (max-width: 1024px) {
    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 576px) {
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}
.instagram-post {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: block;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.instagram-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: var(--text-white);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    opacity: 0;
    transition: var(--transition);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
}
.instagram-post:hover {
    transform: scale(1.02);
}
.instagram-post:hover img {
    transform: scale(1.05);
}
.instagram-post:hover .instagram-overlay {
    opacity: 1;
}

/* Reading Group Section */
.reading-section {
    background-color: var(--bg-light);
    padding: 90px 0;
    border-bottom: 1px solid var(--border-color);
}
.reading-intro {
    text-align: center;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 50px auto;
    font-size: 1.1rem;
}
.reading-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
@media (max-width: 992px) {
    .reading-grid {
        grid-template-columns: 1fr;
    }
}
.reading-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.reading-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}
.reading-card-icon {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 20px;
}
.reading-card h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 12px;
}
.reading-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Seva Club Section */
.seva-section {
    background-color: var(--bg-white);
    padding: 90px 0;
    border-bottom: 2px solid var(--primary);
}
.seva-intro {
    text-align: center;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 50px auto;
    font-size: 1.1rem;
}
.seva-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
}
@media (max-width: 992px) {
    .seva-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
.seva-info-box, .seva-leads-box {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
}
.seva-info-box h3, .seva-leads-box h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 15px;
    border-left: 4px solid var(--primary);
    padding-left: 12px;
}
.seva-info-box p, .seva-leads-box p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.5;
}
.seva-guidelines-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.seva-guidelines-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 18px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-main);
}
.seva-guidelines-list li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--primary);
    font-size: 1.1rem;
}
.leads-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
.lead-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}
.lead-item:hover {
    border-color: var(--primary);
    transform: translateX(4px);
}
.lead-item strong {
    color: var(--text-main);
    font-size: 0.95rem;
}
.lead-item span {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}
@media (max-width: 576px) {
    .lead-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

/* Mobile-Friendly Optimization Overrides */
@media (max-width: 768px) {
    .hero-title {
        padding: 12px 20px !important;
        margin-bottom: 16px !important;
    }
    .hero-subtitle {
        padding: 12px 16px !important;
        font-size: 1.05rem !important;
    }
    /* Global Paddings & Layout */
    section {
        padding: 60px 0 !important;
    }
    .section-header {
        margin-bottom: 35px;
    }
    .section-title {
        font-size: 1.85rem;
    }
    .pillar-card {
        padding: 30px 20px !important;
    }
    .runner-vibe-container {
        padding: 30px 20px !important;
    }
    .info-item a {
        font-size: 0.98rem !important;
    }

    /* Hero Typography & CTAs */
    .hero-title {
        font-size: clamp(2.0rem, 8vw, 3.0rem) !important;
        line-height: 1.25;
    }
    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.1rem) !important;
        margin-bottom: 30px !important;
    }
    .hero-ctas {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        padding: 0;
        gap: 12px;
    }
    .hero-ctas .btn {
        width: 100%;
        text-align: center;
        padding: 14px 28px;
    }

    /* Schedule Section Tabs */
    .schedule-tabs {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }
    .tab-btn {
        padding: 8px 14px;
        font-size: 0.85rem;
    }

    /* ExCom Mobile Refinement */
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
        gap: 16px;
    }
    .team-card {
        padding: 24px 15px !important;
    }
    .member-name {
        font-size: 1.05rem;
    }

    /* Routes Card Refinement */
    .routes-grid {
        gap: 20px;
    }
    .route-info {
        padding: 20px;
    }

    /* Leaderboards Responsive Table */
    .leaderboard-table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 10px !important;
    }
    .leaderboard-table {
        min-width: 550px;
    }
    .leaderboard-table th, .leaderboard-table td {
        padding: 12px 10px !important;
        font-size: 0.85rem !important;
    }

    /* Blog Cards & Dialogue Modal */
    dialog {
        padding: 20px !important;
        width: 95% !important;
        max-height: 90vh !important;
    }
    .dialog-header {
        top: -20px !important;
        margin: -20px -20px 20px -20px !important;
        padding: 15px 20px 10px 20px !important;
    }
    .dialog-close-btn {
        right: 15px !important;
        top: 15px !important;
    }
    .dialog-content h2 {
        font-size: 1.45rem !important;
        margin-top: 10px !important;
        line-height: 1.3 !important;
    }
    .dialog-article-text {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.15rem;
    }
    .logo-image {
        height: 38px;
    }
    .stat-card {
        padding: 20px 10px;
    }
    .stat-number {
        font-size: 1.8rem !important;
    }
    .stat-label {
        font-size: 0.75rem !important;
    }
}

/* Gallery Infinite Horizontal Scroll Marquee */
.gallery-marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
    mask-image: linear-gradient(to right, transparent, white 15%, white 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, white 15%, white 85%, transparent);
}

.gallery-marquee-track {
    display: flex;
    width: max-content;
    gap: 20px;
    animation: marquee-scroll 40s linear infinite;
}

.gallery-marquee-track:hover {
    animation-play-state: paused;
}

.gallery-slide {
    width: 320px;
    height: 220px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.gallery-slide:hover {
    transform: scale(1.04) translateY(-3px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

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

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Move exactly by width of 9 slides + their gaps: 9 * 320 = 2880, 9 * 20 = 180. Total 3060px */
        transform: translateX(-3060px);
    }
}

/* ExCom Horizontal Scroll Carousel */
.team-carousel-wrapper {
    position: relative;
    width: 100%;
    margin-top: 40px;
    overflow: hidden;
}

.team-carousel-container {
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0 25px 0;
    position: relative;
}

/* Hide scrollbar */
.team-carousel-container::-webkit-scrollbar {
    display: none;
}
.team-carousel-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.team-grid.flex-layout {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    width: max-content;
}

.team-grid.flex-layout .team-card {
    width: 290px;
    flex-shrink: 0;
}

/* Floating Chevron Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.carousel-btn:hover {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
    box-shadow: 0 4px 12px var(--primary-glow);
}

.carousel-btn.prev-btn {
    left: -23px;
}

.carousel-btn.next-btn {
    right: -23px;
}

@media (max-width: 1024px) {
    .carousel-btn {
        display: none; /* Hide scroll buttons on mobile, allow swipe scrolling */
    }
    .team-carousel-container {
        padding-left: 20px;
        padding-right: 20px;
        margin: 0 -20px;
        width: calc(100% + 40px);
    }
}

/* President Center Showcase */
.president-showcase {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    width: 100%;
}

.president-card {
    max-width: 300px;
    width: 100%;
    border-color: var(--primary) !important;
    background: linear-gradient(to bottom, var(--bg-white), var(--bg-light)) !important;
    box-shadow: var(--shadow-md) !important;
}

/* Social Media Connect Section */
.social-section {
    background-color: var(--bg-white);
    padding: 90px 0;
    border-bottom: 1px solid var(--border-color);
}

.social-intro {
    text-align: center;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 50px auto;
    font-size: 1.1rem;
}

.social-minimal-row {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.social-minimal-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--text-main);
    background: var(--bg-light);
    transition: var(--transition);
}

.social-minimal-icon:hover {
    color: var(--text-white);
    transform: translateY(-4px);
}

.social-minimal-icon.fb:hover {
    background-color: #1877f2;
    border-color: #1877f2;
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.25);
}

.social-minimal-icon.ig:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(225, 48, 108, 0.25);
}

.social-minimal-icon.li:hover {
    background-color: #0a66c2;
    border-color: #0a66c2;
    box-shadow: 0 8px 20px rgba(10, 102, 194, 0.25);
}

.social-minimal-icon.strava:hover {
    background-color: #fc6100;
    border-color: #fc6100;
    box-shadow: 0 8px 20px rgba(252, 97, 0, 0.25);
}

.social-minimal-icon.wa:hover {
    background-color: #25d366;
    border-color: #25d366;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
}

/* Instagram Live Embed */
.instagram-embed-container {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.instagram-embed-container h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 25px;
}

.instagram-embed-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.instagram-embed-iframe {
    width: 100%;
    max-width: 505px;
    min-height: 520px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: white;
}

/* Member Portal Section */
.member-portal-section {
    padding: 90px 0;
    background-color: var(--bg-dark);
}

.portal-card {
    background: rgba(15, 23, 42, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Glowing Border Effect */
.portal-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    border: 2px solid transparent;
    background: linear-gradient(135deg, var(--primary), #ef4444) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0.15;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.portal-card:hover::after {
    opacity: 0.45;
}

.portal-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.portal-icon-badge {
    width: 70px;
    height: 70px;
    background: rgba(239, 68, 68, 0.1);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.1);
}

.portal-text {
    flex-grow: 1;
}

.portal-text h2 {
    font-size: 2rem;
    font-family: var(--font-heading);
    color: var(--text-white);
    margin-bottom: 10px;
}

.portal-text p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 650px;
}

.portal-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
    white-space: nowrap;
    box-shadow: 0 4px 15px var(--primary-glow);
    color: var(--text-white) !important;
}

/* Portal Mobile Overrides */
@media (max-width: 991px) {
    .portal-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    
    .portal-icon-badge {
        margin: 0 auto;
    }
    
    .portal-card {
        padding: 40px 24px;
    }
}




