:root {
    /* Color Palette */
    --primary-color: #2F5943;
    /* Dark Sage Green */
    --primary-light: #4A7A5D;
    --secondary-color: #C99444;
    /* Warm Gold */
    --secondary-hover: #9A6A26;
    --background-color: #FAF8F5;
    /* Soft Warm Beige */
    --surface-color: #FFFFFF;
    /* White */
    --text-color: #333333;
    --text-muted: #666666;
    --border-color: rgba(0, 0, 0, 0.08);

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

    /* Spacing & Borders */
    --border-radius: 16px;
    --border-radius-lg: 24px;
    --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.04);
}

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

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

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

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1000px;
    /* Reduced max-width for tighter reading experience */
    margin: 0 auto;
}

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

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

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

/* -------------------------------------
   Buttons & Interactive Elements
-------------------------------------- */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    min-height: 48px;
    /* Mobile-first touch target */
    gap: 8px;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(201, 148, 68, 0.3);
}

.btn-primary:hover,
.btn-primary:active {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1.5px solid var(--border-color);
}

.btn-secondary:hover,
.btn-secondary:active {
    background-color: var(--surface-color);
    border-color: var(--primary-color);
}

.btn-large {
    width: 100%;
    font-size: 1.1rem;
    padding: 16px 24px;
}

/* -------------------------------------
   Header
-------------------------------------- */
.header {
    background-color: var(--surface-color);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

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

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

.header-top-btn {
    padding: 8px 20px;
    min-height: 40px;
    font-size: 0.95rem;
}

/* Sticky Bottom CTA handled by JS */
.sticky-bottom-btn {
    display: none;
}

/* -------------------------------------
   Section Spacing & Utilities
-------------------------------------- */
section {
    padding: 60px 0;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 30px;
}

.fade-in-up {
    /* Keep animation simple or static if JS is not hooked. 
       Usually JS sets opacity 1 */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* -------------------------------------
   Hero Section
-------------------------------------- */
.hero {
    padding: 40px 0 60px 0;
    background-color: var(--surface-color);
    border-bottom: 1px solid var(--border-color);
}

.hero-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.subtitle {
    color: var(--primary-light);
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.hero .title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero .title .highlight {
    font-style: italic;
    font-weight: 400;
    color: var(--secondary-color);
}

.hero .description {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 10px;
}

/* -------------------------------------
   Mirror Section (Checklist)
-------------------------------------- */
.mirror-section {
    background-color: var(--background-color);
}

.mirror-list {
    list-style: none;
    margin-top: 20px;
}

.mirror-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.1rem;
    color: var(--text-color);
}

.mirror-list li:last-child {
    border-bottom: none;
}

.mirror-list i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-top: 3px;
}

/* -------------------------------------
   Intro Section
-------------------------------------- */
.intro-section {
    background-color: var(--surface-color);
}

.intro-text {
    font-size: 1.15rem;
    color: var(--text-muted);
}

/* -------------------------------------
   Event Details Block (Stacked List)
-------------------------------------- */
.details-section {
    padding: 0 0 60px 0;
    background-color: var(--surface-color);
}

.event-details-wrapper {
    max-width: 500px;
    margin: 0 auto;
}

.ed-header {
    font-size: 0.9rem;
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.ed-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ed-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    transition: opacity 0.2s;
}

.ed-row:last-child {
    border-bottom: none;
}

.ed-row.clickable:hover {
    opacity: 0.7;
}

.ed-icon {
    width: 32px;
    font-size: 1.4rem;
    color: var(--primary-light);
    text-align: center;
    flex-shrink: 0;
}

.ed-text {
    display: flex;
    flex-direction: column;
}

.ed-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.ed-value {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.small-link-icon {
    font-size: 0.8rem;
    margin-left: 6px;
    color: var(--secondary-color);
}

.price-row .ed-value {
    color: var(--secondary-color);
    font-size: 1.25rem;
}

.map-container {
    margin-top: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.map-container iframe {
    display: block;
}

/* -------------------------------------
   Benefits Section (List Rows)
-------------------------------------- */
.benefits-section {
    background-color: var(--background-color);
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.benefit-row {
    background-color: var(--surface-color);
    padding: 20px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: var(--shadow-subtle);
    border: 1px solid var(--border-color);
}

.benefit-icon {
    font-size: 1.8rem;
    color: var(--primary-color);
    background: var(--background-color);
    padding: 12px;
    border-radius: 12px;
    flex-shrink: 0;
}

.benefit-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.benefit-text p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* -------------------------------------
   Gallery Section (Swipeable)
-------------------------------------- */
.gallery-section {
    background-color: #F9F7F2; /* Subtle warm beige/cream variation */
    padding-top: 80px; /* Generous top padding */
    padding-bottom: 80px;
}

.gallery-scroll {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding-bottom: 20px;
    margin: 0 -5%;
    /* Break out of container for full bleed scroll */
    padding-left: 5%;
    padding-right: 5%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
}

.gallery-scroll::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.gallery-item {
    flex: 0 0 85%;
    /* Shows a peek of the next image */
    scroll-snap-align: center;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-subtle);
    cursor: pointer;
}

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

/* -------------------------------------
   Speaker Section (Editorial Profile V3)
-------------------------------------- */
.speaker-section {
    background-color: var(--background-color);
    padding: 80px 0 100px 0;
}

.speaker-profile-v3 {
    background-color: var(--primary-color); /* Green background */
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(47, 89, 67, 0.15); /* Subtle green shadow */
}

.speaker-portrait-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.editorial-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--secondary-color);
    text-transform: uppercase;
}

.speaker-portrait {
    width: 240px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.speaker-portrait img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/5;
    object-fit: cover;
    object-position: center top;
}

.speaker-details-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
}

.speaker-name {
    font-size: 2rem;
    color: var(--surface-color); /* White text */
    margin: 0;
    line-height: 1.2;
    font-family: var(--font-heading);
}

.speaker-credentials {
    font-size: 1rem;
    color: var(--secondary-color);
    font-weight: 600;
    line-height: 1.5;
}

.speaker-experience-block {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.15); /* Light border */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-text {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.9); /* Off-white text */
    font-weight: 700;
    margin-bottom: 12px;
}

.speaker-intro {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.8); /* Lighter text for readability on dark */
    line-height: 1.6;
    margin: 0;
}

@media (min-width: 768px) {
    .speaker-profile-v3 {
        flex-direction: row;
        align-items: flex-start;
        gap: 60px;
        padding: 50px;
    }
    
    .speaker-portrait-col {
        flex: 0 0 35%;
        align-items: flex-start;
    }
    
    .speaker-portrait {
        width: 100%;
        max-width: 320px;
    }
    
    .speaker-details-col {
        flex: 1;
        text-align: left;
        padding-top: 25px; /* Offset to align with image visually */
    }
    
    .speaker-name {
        font-size: 2.5rem;
    }
    
    .speaker-credentials {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .speaker-experience-block {
        align-items: flex-start;
        margin-top: 30px;
        padding-top: 30px;
    }
}

/* -------------------------------------
   Testimonial Minimal
-------------------------------------- */
.testimonial-section {
    background-color: var(--background-color);
    padding: 60px 0;
}

.quote-minimal {
    background-color: var(--primary-color);
    color: var(--surface-color);
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    text-align: center;
}

.quote-body {
    font-size: 1.25rem;
    font-style: italic;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 20px;
}

.reviewer strong {
    display: block;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.reviewer span {
    font-size: 0.9rem;
    opacity: 0.8;
}

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

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 0;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: inherit;
    min-height: 44px;
}

.faq-question h4 {
    font-size: 1.05rem;
    color: var(--text-color);
    font-weight: 600;
}

.faq-question i {
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding-bottom: 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* -------------------------------------
   Final CTA
-------------------------------------- */
.cta-section {
    background-color: var(--background-color);
    padding: 80px 0;
}

.cta-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
}

.cta-details-row {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* -------------------------------------
   Footer
-------------------------------------- */
.footer {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 40px 0 60px 0;
    /* Extra padding for sticky CTA */
}

.footer-info h3 {
    color: var(--surface-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.footer-info p {
    font-size: 0.95rem;
}

/* -------------------------------------
   Desktop / Tablet Scaling (min-width: 768px)
-------------------------------------- */
@media (min-width: 768px) {
    .header-content {
        justify-content: space-between;
    }

    .header-top-btn {
        display: none;
        /* Hide header btn on desktop, rely on sticky bottom or hero CTA? Wait, we can keep it */
    }

    .sticky-bottom-btn {
        display: none !important;
    }

    .hero-container {
        flex-direction: row;
        align-items: center;
        gap: 60px;
    }

    .hero-text {
        flex: 1;
    }

    .hero-image {
        flex: 1;
    }

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

    .hero .title {
        font-size: 4rem;
    }

    .btn-large {
        width: auto;
    }

    .ed-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 30px;
    }

    .ed-row {
        flex: 1 1 40%;
        border-bottom: none;
        padding: 0;
    }

    .ed-row:nth-child(3),
    .ed-row:nth-child(4) {
        margin-top: 20px;
    }

    .gallery-scroll {
        margin: 0;
        padding: 0;
        grid-template-columns: repeat(3, 1fr);
        display: grid;
        overflow: visible;
    }

    .gallery-item {
        flex: none;
    }

    .gallery-item img {
        height: 250px;
    }
}

/* -------------------------------------
   Sticky Mobile Bottom CTA
-------------------------------------- */
@media (max-width: 767px) {
    .sticky-bottom-btn {
        display: block;
        position: fixed;
        bottom: 20px;
        left: 5%;
        width: 90%;
        z-index: 1000;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
        padding: 16px 0;
        font-size: 1.1rem;
        opacity: 0;
        pointer-events: none;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }

    .sticky-bottom-btn.show-sticky {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
}

/* -------------------------------------
   Floating WhatsApp Button
-------------------------------------- */
.floating-wa-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}

.floating-wa-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
    color: white;
}

@media (max-width: 767px) {
    .floating-wa-btn {
        bottom: 90px;
        /* sits above the sticky bottom button */
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }
}


/* =====================================
   PRESERVED COMPONENTS (DO NOT ALTER)
   Hero Slideshow & Modals
====================================== */

/* Hero Slideshow */
.slideshow-container {
    position: relative;
    width: 100%;
    padding-top: 100%;
    /* Mobile square-ish */
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background-color: #000;
}

@media (min-width: 768px) {
    .slideshow-container {
        padding-top: 85%;
    }
}

.slideshow-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.slideshow-slide.active {
    opacity: 1;
    z-index: 2;
}

.slideshow-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 4s linear;
}

.slideshow-slide.active img {
    transform: scale(1.08);
}

.slide-overlay {
    position: absolute; bottom: 0; left: 0; width: 100%;
    padding: 80px 20px 40px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
    display: flex; align-items: flex-end;
    pointer-events: none;
}

.caption-content {
    display: flex; flex-direction: column; gap: 5px;
}

.slide-meta {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.slide-caption {
    color: var(--surface-color);
    font-size: 1.15rem;
    font-family: var(--font-heading);
    font-weight: 500;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
    margin: 0; max-width: 90%; line-height: 1.3;
}

@media (min-width: 768px) {
    .slide-caption { font-size: 1.4rem; }
    .slide-meta { font-size: 0.8rem; }
}

.slideshow-progress {
    position: absolute; bottom: 15px; left: 20px; right: 20px;
    display: flex; gap: 8px; z-index: 10;
}

.progress-bar {
    flex: 1; height: 3px; background: rgba(255,255,255,0.3);
    border-radius: 2px; overflow: hidden;
}

.progress-fill {
    height: 100%; width: 0%; background: var(--surface-color);
}

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 2001;
    transition: color 0.3s ease;
}

/* Registration Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-content {
    background: var(--surface-color);
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    padding: 40px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
}

.modal-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.event-info-card {
    background: var(--background-color);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 0.95rem;
    border: 1px solid var(--border-color);
}

.event-info-card p {
    margin-bottom: 5px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
}

.payment-instructions {
    background: #FFF8EB;
    padding: 15px;
    border-left: 4px solid var(--secondary-color);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.payment-instructions p {
    margin-bottom: 5px;
}

.btn-submit {
    width: 100%;
}

.error-msg {
    color: #d9534f;
    font-size: 0.9rem;
    margin-top: 5px;
}

.hidden {
    display: none !important;
}