/* Google Fonts handled in HTML for performance */

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delayed {
    transition-delay: 0.2s;
}

/* Premium Button Shimmer */
.btn-primary {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 44px;
    background: linear-gradient(135deg, #b38a4d 0%, #f1d5a2 50%, #b38a4d 100%);
    background-size: 200% auto;
    color: #0c0a09 !important;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 8px;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(197, 160, 89, 0.5);
    cursor: pointer;
    z-index: 1;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.4); /* Stronger contrast for button text */
}

.btn-primary:hover {
    background-position: right center;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(197, 160, 89, 0.4);
    border-color: #ffffff;
}

.btn-hero {
    padding: 22px 56px;
    font-size: 1.2rem;
    border-radius: 12px;
}

.final-cta-btn {
    padding: 12px 28px;
    font-size: 0.9rem;
    border-radius: 6px;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    transition: none;
    animation: shimmer 4s infinite;
}

@keyframes shimmer {
    0% { left: -60%; }
    20% { left: 120%; }
    100% { left: 120%; }
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Account for fixed navbar */
}

@media (min-width: 1025px) {
    html {
        scroll-snap-type: y mandatory;
    }
}

:root {
    --bg-primary: #f8f5f2;
    /* Light beige/sand */
    --text-primary: #433429;
    /* Dark espresso brown */
    --text-secondary: #7d6b5d;
    /* Muted bronze/taupe */
    --accent-color: #8b6d5c;
    /* Bronze accent */
    --accent-light: #dcc0aa;
    /* Light bronze/beige from logo */
    --highlight-bg: var(--accent-light);
    --card-bg: #ffffff;
    --card-border: rgba(67, 52, 41, 0.08);
    --btn-bg: #433429;
    --btn-text: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(67, 52, 41, 0.1);
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-premium: 0 20px 50px rgba(67, 52, 41, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.5);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 5px;
    border: 3px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-primary);
}

/* Executive Dark Mode (Apply via class .dark-mode on body) */
body.dark-mode {
    --bg-primary: #0c0a09;
    --text-primary: #f8f5f2;
    --text-secondary: #dcc0aa;
    --card-bg: #1a1614;
    --card-border: rgba(220, 192, 170, 0.1);
    --glass-bg: rgba(26, 22, 20, 0.85);
    --glass-border: rgba(139, 109, 92, 0.2);
    --shadow-premium: 0 20px 50px rgba(0, 0, 0, 0.5);
    --accent-light: #eaddd0; /* Soft light beige for contrast on dark */
    --highlight-bg: #1a1614; /* Dark background for highlights */
}

/* Dark Mode Overrides for Hero */
body.dark-mode .hero {
    background: linear-gradient(180deg, rgba(12, 10, 9, 0.85) 0%, rgba(12, 10, 9, 0.7) 100%), url('images/hero.avif');
}

body.dark-mode .hero-content {
    border: 1px solid rgba(139, 109, 92, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--text-primary);
}

section {
    padding: 120px 5%;
    position: relative;
}

@media (min-width: 1025px) {
    section {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    footer {
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 5%; /* Reduced vertical padding for better balance with larger logo */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
    background: rgba(12, 10, 9, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(197, 160, 89, 0.1); /* Subtle accent border */
}

nav.scrolled {
    background: #0c0a09;
    padding: 10px 5%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.nav-logo img {
    height: 75px; /* Increased from 60px */
    width: auto;
    display: block;
    transition: var(--transition-smooth);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3)); /* Better definition */
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links {
    display: flex;
    gap: 24px; /* Reduced gap for better fit */
    align-items: center;
}

.nav-links a {
    color: #ffffff; /* Brighter color for menu links */
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    opacity: 0.7;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-light);
    transition: var(--transition-smooth);
}

.nav-links a:hover {
    opacity: 1;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.nav-cta {
    background: linear-gradient(135deg, var(--accent-color) 0%, #c5a059 50%, var(--accent-color) 100%);
    background-size: 200% auto;
    border: none;
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 9999px;
    font-weight: 700;
    opacity: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition-smooth);
}

.nav-links a.nav-cta:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.3);
    color: #ffffff;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 800px;
    background: linear-gradient(180deg, rgba(248, 245, 242, 0.4) 0%, rgba(248, 245, 242, 0.2) 100%), url('images/hero.avif');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
}

.hero-content {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 80px 60px;
    border-radius: 32px;
    border: 1px solid var(--glass-border);
    max-width: 1000px;
    box-shadow: var(--shadow-premium);
    animation: fadeInUp 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    margin-bottom: 24px;
    text-transform: none;
    color: var(--text-primary);
}

.hero p {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 48px;
}

.hero-logo-container {
    margin-bottom: 32px;
}

.hero-logo {
    height: auto;
    width: 240px;
    margin: 0 auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

/* Mission Section */
.mission {
    background-color: var(--bg-primary);
    padding: 140px 5%;
}

.mission-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    position: relative;
}

.mission-header {
    flex: 1;
    padding-right: 40px;
}

.mission-title {
    font-size: clamp(4rem, 8vw, 6.5rem);
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.mission-biblical {
    color: var(--text-secondary);
    font-size: 1.2rem;
    line-height: 1.6;
    font-weight: 400;
}

.mission-divider {
    flex: 0.5;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.mission-line {
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
    opacity: 0.4;
}

.mission-dot {
    width: 12px;
    height: 12px;
    background-color: var(--accent-color);
    border-radius: 50%;
    position: absolute;
    right: 0;
}

.mission-content {
    flex: 1.2;
}

.mission-list {
    background: transparent;
    border: 1px solid rgba(139, 109, 92, 0.3);
    /* Accent color with low opacity */
    padding: 60px 50px;
    border-radius: 12px;
}

.mission-item {
    margin-bottom: 48px;
    transition: var(--transition-smooth);
    padding: 20px;
    border-radius: 12px;
}

.mission-item:hover {
    background: rgba(139, 109, 92, 0.05);
    transform: translateX(10px);
}

.mission-item:last-child {
    margin-bottom: 0;
}

.mission-item h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: 0.02em;
    font-weight: 700;
    text-transform: uppercase;
}

.mission-item p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.6;
}

/* Common Section Title */
.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    margin-bottom: 80px;
    display: block;
}

/* Pillars Section */
.pillars {
    background-color: var(--bg-primary);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.pillar-item {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 40px 32px;
    border-radius: 16px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.pillar-item:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 30px 60px rgba(67, 52, 41, 0.12);
    background-color: var(--card-bg);
}

body.dark-mode .pillar-item:hover {
    background-color: var(--card-bg);
    border-color: var(--accent-light);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.pillar-icon {
    width: 48px;
    height: 48px;
    color: var(--accent-color);
    margin-bottom: 24px;
}

.pillar-item h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.pillar-item p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Mentors Section */
.mentors {
    background-color: var(--bg-primary);
    filter: brightness(0.98);
    /* Slight variation for section distinction */
}

.mentors-grid {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.mentor-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 50px 30px;
    width: 340px;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mentor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    /* Bronze accent bar */
    border-radius: 0 0 4px 4px;
}

.mentor-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.05);
}

.mentor-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-bottom: 32px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.mentor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.guest-avatar {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--bg-primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    opacity: 0.8;
}

.guest-avatar svg {
    width: 80px;
    height: 80px;
}

.mentor-info {
    padding: 32px 24px;
    text-align: center;
}

.mentor-info h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.mentor-info p {
    font-size: 1.1rem;
    color: var(--accent-color);
    font-style: normal;
    font-weight: 500;
}

/* Features Section */
.features {
    background-color: var(--bg-primary);
}

.features .section-title {
    color: var(--accent-color);
}

.features-container {
    max-width: 1400px;
    margin: 0 auto;
}

.feature-md-highlight {
    background: var(--highlight-bg); /* Use specific highlight background variable */
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    margin-bottom: 80px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--card-border);
}

.feature-md-highlight:hover {
    transform: translateY(-10px);
    box-shadow: 0 50px 100px rgba(67, 52, 41, 0.15);
}

.md-image {
    flex: 0 0 45%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px;
    background: transparent;
    position: relative;
}

.md-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
}

.md-content {
    flex: 1;
    padding: 80px 60px;
    background: transparent;
    text-align: left !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; /* Explicitly align flex children to the left */
    border-left: 1px solid var(--glass-border);
}

.md-content h3 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.md-content p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.8;
    margin: 0;
    font-weight: 400;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 56px 48px;
    border-radius: 24px;
    border-left: none;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: var(--card-bg);
    border-color: var(--accent-color);
    box-shadow: 0 30px 60px rgba(67, 52, 41, 0.12);
}

body.dark-mode .feature-card:hover {
    border-color: var(--accent-light);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Inclusion Section */
.inclusion {
    background-color: var(--bg-primary);
}

.inclusion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.inclusion-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 32px 28px;
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid var(--card-border);
    transition: var(--transition-smooth);
    height: 100%;
}

.inclusion-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(67, 52, 41, 0.12);
    border-color: var(--accent-color);
    background: var(--card-bg);
}

body.dark-mode .inclusion-item:hover {
    border-color: var(--accent-light);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.inclusion-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: bold;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 109, 92, 0.05);
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.inclusion-item:hover .inclusion-icon {
    background: var(--accent-color);
    color: #ffffff;
    transform: scale(1.1);
}

.inclusion-item p {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.05rem;
    margin: 0;
}

.highlight-inclusion {
    border: 1.5px solid var(--accent-color);
    background: rgba(139, 109, 92, 0.03);
    position: relative;
    overflow: hidden;
}

body.dark-mode .highlight-inclusion {
    background: rgba(139, 109, 92, 0.1);
}

.highlight-inclusion:hover {
    background: rgba(139, 109, 92, 0.08);
}


/* Shamar Section */
.shamar {
    background-color: var(--bg-primary);
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 5% 60px; /* Accounts for fixed navbar and adds spacing */
    box-sizing: border-box;
}

.shamar-card {
    max-width: 960px;
    margin: 0 auto;
    background: linear-gradient(135deg, #433429 0%, #2a2019 100%);
    border-radius: 24px;
    padding: 40px 48px;
    text-align: center;
    color: #ffffff;
    position: relative;
    box-shadow: 0 30px 60px rgba(67, 52, 41, 0.2);
}

.shamar-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.shamar h2 {
    color: #ffffff;
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.shamar-mastermind-info {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(220, 192, 170, 0.3);
    padding: 16px 24px;
    border-radius: 16px;
    margin-bottom: 32px;
    text-align: left;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    backdrop-filter: blur(10px);
}

.shamar-mastermind-info p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
}

.shamar-mastermind-info strong {
    color: var(--accent-light);
    font-weight: 700;
}


.shamar-details {
    display: grid;
    grid-template-columns: 1fr 1.25fr 1fr;
    gap: 32px;
    text-align: left;
    margin-bottom: 24px;
}

.shamar-info-item h3 {
    font-size: 0.85rem;
    color: var(--accent-color);
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    font-weight: 700;
}

.shamar-info-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 4px;
}

.shamar-info-content p.highlight {
    color: var(--accent-light);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.map-link {
    color: var(--accent-light);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 8px;
    display: inline-block;
    border-bottom: 1px solid currentColor;
    transition: var(--transition-smooth);
}

.map-link:hover {
    opacity: 0.8;
    padding-left: 5px;
}

.shamar-speakers p {
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
    border-left: 2px solid var(--accent-color);
    padding-left: 16px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.shamar-schedule {
    width: 100%;
}

.schedule-header {
    display: flex;
    justify-content: space-between;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
}

.schedule-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.schedule-row span:first-child {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.schedule-row .time {
    color: var(--accent-light);
    font-weight: 700;
    font-size: 0.9rem;
}

.shamar-footer {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: left;
    margin-top: 24px;
}

/* CTA Section */
.cta {
    background-color: #0c0a09; /* Always deep dark for premium contrast */
    color: #f8f5f2;
    text-align: center;
    padding: 160px 5%;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(197, 160, 89, 0.1);
}

.cta h2 {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 24px;
    color: #e2c285; /* Premium gold for the main heading */
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.cta p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(248, 245, 242, 0.85);
    max-width: 700px;
    margin: 0 auto 56px;
}

.cta strong {
    color: #c5a059;
    font-weight: 700;
}

/* Consolidating CTA buttons to use btn-primary for consistency */
.cta .btn-primary:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.hero .btn-primary {
    animation: fadeInUp 1s cubic-bezier(0.165, 0.84, 0.44, 1) 0.4s backwards;
}

/* Button Shine Effect */
.btn-cta {
    position: relative;
    overflow: hidden;
}

.btn-cta::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    transform: rotate(45deg);
    transition: 0.5s;
}

.btn-cta:hover::after {
    left: 100%;
    top: 100%;
}

/* Reveal Animations already defined at top of file */

/* FAQ Section */
.faq {
    background-color: var(--bg-primary);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.faq-item:hover {
    border-color: var(--accent-light);
    box-shadow: 0 10px 30px rgba(67, 52, 41, 0.05);
}

.faq-question {
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 1.15rem;
    margin: 0;
    color: var(--text-primary);
    font-weight: 600;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--accent-color);
    transition: var(--transition-smooth);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0, 1, 0, 1);
    background-color: rgba(248, 245, 242, 0.3);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    transition: all 0.5s cubic-bezier(1, 0, 1, 0);
}

.faq-answer p {
    padding: 0 32px 32px;
    margin: 0;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

/* Responsive */
@media (max-width: 1200px) {
    .nav-links {
        gap: 15px;
    }
    
    .nav-links a {
        font-size: 0.75rem;
    }
}

@media (max-width: 1024px) {
    section {
        padding: 100px 5%;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-actions {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100vw;
        width: 100vw;
        height: 100vh;
        background: #0c0a09;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: var(--transition-smooth);
        z-index: 1000;
        backdrop-filter: blur(20px);
    }

    .nav-links.active {
        right: 0;
    }

    .theme-toggle {
        position: relative;
        z-index: 1001; /* Above the mobile menu if needed, or just visible in nav */
    }

    .nav-links a {
        font-size: 1.2rem;
        opacity: 1;
    }
    
    .nav-logo img {
        height: 60px;
    }

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

    .feature-md-highlight {
        flex-direction: column;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    .md-image {
        padding: 50px;
    }

    .md-content {
        padding: 60px 40px;
        text-align: left !important;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        background: var(--highlight-bg); /* Use theme variable for mobile background */
    }

    .shamar {
        min-height: auto;
        padding: 60px 5% 40px;
    }

    .shamar-card {
        max-width: 700px;
        padding: 40px 32px;
    }

    .cta h2 {
        font-size: 3.5rem;
    }

    .shamar-details {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .shamar h2 {
        font-size: 2.2rem;
        margin-bottom: 24px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 5%;
    }

    .nav-logo img {
        height: 50px;
    }

    .hero {
        min-height: 600px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-content {
        padding: 60px 24px;
        border-radius: 20px;
        margin: 0 10px;
    }

    .mission-container {
        flex-direction: column;
        text-align: center;
    }

    .mission-header {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .mission-title {
        font-size: 3.5rem;
    }

    .mission-divider {
        display: none;
    }

    .mission-list {
        padding: 40px 20px;
    }

    .pillar-item {
        padding: 32px 24px;
    }

    .feature-card {
        padding: 40px 32px;
    }

    .md-content h3 {
        font-size: 2rem;
    }

    .shamar-card {
        padding: 32px 20px;
        border-radius: 20px;
    }

    .shamar h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .shamar-details {
        gap: 32px;
    }

    .shamar-info-item h3 {
        margin-bottom: 12px;
    }

    .schedule-row {
        flex-direction: column;
        gap: 8px;
    }

    .schedule-row .time {
        font-size: 1rem;
    }

    .cta h2 {
        font-size: 2.8rem;
    }
}

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

    .mission-title {
        font-size: 3rem;
    }

    .shamar h2 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .inclusion-item {
        padding: 16px;
    }
    
    .btn-cta {
        padding: 18px 36px;
        font-size: 1rem;
    }
}

/* Theme Toggle */
.theme-toggle {
    background: none;
    border: 1px solid rgba(220, 192, 170, 0.2);
    color: #ffffff;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    width: 40px;
    height: 40px;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.theme-toggle .sun-icon {
    display: block;
    width: 20px;
    height: 20px;
}

.theme-toggle .moon-icon {
    display: none;
    width: 20px;
    height: 20px;
}

body.dark-mode .sun-icon {
    display: none;
}

body.dark-mode .moon-icon {
    display: block;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: var(--transition-smooth);
    animation: pulseWhatsApp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

@keyframes pulseWhatsApp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Footer Styles */
#footer {
    background-color: #0c0a09;
    color: #ffffff;
    padding: 80px 5% 40px;
    border-top: 1px solid rgba(220, 192, 170, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand img {
    height: 60px;
    margin-bottom: 24px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    max-width: 300px;
}

.footer-links h4, .footer-social h4 {
    color: var(--accent-light);
    margin-bottom: 24px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-links a, .footer-social a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 12px;
    transition: var(--transition-smooth);
}

.footer-links a:hover, .footer-social a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-brand p {
        margin: 0 auto;
    }
}

/* ==========================================================================
   WAITLIST MODAL STYLES
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(12, 10, 9, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-card {
    position: relative;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid rgba(197, 160, 89, 0.35);
    border-radius: 24px;
    padding: 38px 32px 32px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.15);
    transform: scale(0.92) translateY(24px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
    transform: scale(1) translateY(0);
}

body.dark-mode .modal-card {
    background: #14110f;
    border: 1px solid rgba(220, 192, 170, 0.22);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.8), 0 0 45px rgba(179, 138, 77, 0.18);
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(67, 52, 41, 0.15);
    background: rgba(248, 245, 242, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    transition: all 0.25s ease;
    z-index: 10;
}

body.dark-mode .modal-close {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: #f8f5f2;
}

.modal-close:hover {
    background: #b38a4d;
    color: #ffffff;
    border-color: #b38a4d;
    transform: rotate(90deg) scale(1.05);
}

.modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #966f36;
    background: rgba(179, 138, 77, 0.12);
    border: 1px solid rgba(179, 138, 77, 0.3);
    border-radius: 999px;
    margin-bottom: 12px;
}

body.dark-mode .modal-badge {
    color: #f1d5a2;
    background: rgba(241, 213, 162, 0.1);
    border-color: rgba(241, 213, 162, 0.28);
}

.badge-icon {
    color: #b38a4d;
}

body.dark-mode .badge-icon {
    color: #f1d5a2;
}

.modal-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
}

.modal-subtitle {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.required-mark {
    color: #b38a4d;
    font-weight: bold;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    width: 18px;
    height: 18px;
    color: var(--accent-color);
    pointer-events: none;
    transition: color 0.2s ease;
}

body.dark-mode .input-icon {
    color: rgba(220, 192, 170, 0.6);
}

.input-wrapper input {
    width: 100%;
    padding: 13px 14px 13px 44px;
    font-size: 0.95rem;
    font-family: var(--font-body);
    background: var(--bg-primary);
    border: 1.5px solid var(--card-border);
    border-radius: 10px;
    color: var(--text-primary);
    outline: none;
    transition: all 0.25s ease;
}

body.dark-mode .input-wrapper input {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(220, 192, 170, 0.15);
}

.input-wrapper input:focus {
    border-color: #b38a4d;
    box-shadow: 0 0 0 3px rgba(179, 138, 77, 0.22);
    background: var(--card-bg);
}

.input-wrapper input:focus + .input-icon,
.input-wrapper input:focus ~ .input-icon {
    color: #b38a4d;
}

.input-wrapper input.input-invalid {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15) !important;
}

.field-error {
    font-size: 0.76rem;
    color: #dc2626;
    margin-top: 4px;
    min-height: 16px;
    font-weight: 500;
}

body.dark-mode .field-error {
    color: #f87171;
}

.form-general-error {
    padding: 10px 14px;
    border-radius: 8px;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #dc2626;
    font-size: 0.85rem;
    text-align: center;
    font-weight: 500;
}

body.dark-mode .form-general-error {
    color: #fca5a5;
    background: rgba(220, 38, 38, 0.18);
    border-color: rgba(220, 38, 38, 0.4);
}

.waitlist-submit-btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 1rem;
    border-radius: 10px;
    cursor: pointer;
    border: none;
    margin-top: 4px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(12, 10, 9, 0.2);
    border-top-color: #0c0a09;
    border-radius: 50%;
    animation: spinner-rotate 0.8s linear infinite;
}

@keyframes spinner-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.waitlist-submit-btn.loading .btn-text {
    opacity: 0.4;
}

.waitlist-submit-btn.loading .btn-spinner {
    display: inline-block;
}

.form-disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.76rem;
    color: var(--text-secondary);
    margin: 4px 0 0;
    text-align: center;
    line-height: 1.4;
}

.form-disclaimer svg {
    flex-shrink: 0;
    color: var(--accent-color);
}

/* Success State */
.modal-success {
    text-align: center;
    padding: 12px 6px;
    animation: success-fade 0.4s ease-out;
}

@keyframes success-fade {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.success-icon-wrap {
    width: 76px;
    height: 76px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(179, 138, 77, 0.2), rgba(241, 213, 162, 0.45));
    color: #966f36;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(179, 138, 77, 0.35);
    border: 2px solid rgba(179, 138, 77, 0.6);
}

body.dark-mode .success-icon-wrap {
    color: #f1d5a2;
    background: linear-gradient(135deg, rgba(179, 138, 77, 0.3), rgba(241, 213, 162, 0.2));
    border-color: rgba(241, 213, 162, 0.5);
    box-shadow: 0 10px 30px rgba(179, 138, 77, 0.3);
}

.success-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.success-desc {
    font-size: 0.94rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.success-badge-details {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(179, 138, 77, 0.12);
    border: 1px solid rgba(179, 138, 77, 0.35);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #966f36;
    margin-bottom: 26px;
}

body.dark-mode .success-badge-details {
    color: #f1d5a2;
    background: rgba(241, 213, 162, 0.12);
    border-color: rgba(241, 213, 162, 0.3);
}

.modal-success-close {
    width: 100%;
    padding: 15px 24px;
    font-size: 0.95rem;
    border-radius: 10px;
}

@media (max-width: 480px) {
    .modal-card {
        padding: 30px 20px 24px;
        border-radius: 20px;
    }
    
    .modal-title {
        font-size: 1.45rem;
    }
    
    .input-wrapper input {
        font-size: 0.9rem;
        padding: 12px 12px 12px 40px;
    }
    
    .input-icon {
        left: 12px;
        width: 16px;
        height: 16px;
    }
}