/* =========================================
   Basic Reset & Root Variables
   ========================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-color: #0a0b1e;
    --primary-blue: #1a234d;
    --accent-purple: #4a2f6d;
    --secondary-accent: #6a3f8d;
    --text-light: #e0e0ff;
    --text-secondary: #a0a8c0;
    --highlight-gold: #d4af37;
    --box-bg: rgba(16, 21, 54, 0.8);
    --box-border-color: rgba(255, 255, 255, 0.1);
    --box-shadow-color: rgba(0, 0, 0, 0.3);
    --focus-ring-color: rgba(74, 47, 109, 0.5);
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);

    color: var(--text-light);
    background-color: #0b1227;
    background-image: url('images/bg.png'); /* <<< SET YOUR MAIN BACKGROUND IMAGE HERE */
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: top center;
    min-height: 100vh;
    overflow-x: hidden; /* Crucial for slide-in animations and full-width sections */
    position: relative;
    display: flex;
    flex-direction: column;
}

/* =========================================
   Animation Keyframes
   ========================================= */
@keyframes slideInLeftVisible {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}
@keyframes scaleUp {
    from { transform: scale(0.9); opacity: 0.5; }
    to { transform: scale(1); opacity: 1; }
}
@keyframes revealFromBottom {
    from { transform: translateY(50px) scale(0.98); opacity: 0.6; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}
@keyframes revealClipCircle {
     from { clip-path: circle(0% at 50% 50%); opacity: 0.5; }
     to { clip-path: circle(150% at 50% 50%); opacity: 1; }
}
@keyframes slideFadeUpItem {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
/* --- Keep Existing Animations --- */
@keyframes move-twink-back { from {background-position:0 0;} to {background-position:-10000px 5000px;} }
@keyframes pulseGlow { 0%, 100% { transform: scale(1); opacity: 0.6; } 50% { transform: scale(1.1); opacity: 0.8; } }
@keyframes iconPulse { 0% { transform: scale(1); } 50% { transform: scale(1.15); } 100% { transform: scale(1); } }

/* =========================================
   Decorative Elements & Background Effects
   ========================================= */

.decoration {
    position: fixed; width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(74, 47, 109, 0.3) 0%, rgba(74, 47, 109, 0) 70%);
    border-radius: 50%; z-index: 0; pointer-events: none; opacity: 0.6; filter: blur(10px);
    animation: pulseGlow 8s ease-in-out infinite;
}
.decoration-top-right { top: 5%; right: 5%; }
.decoration-bottom-left { bottom: 5%; left: 5%; }

/* =========================================
   Main Container & Layout (For content NOT full-width)
   ========================================= */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 3rem 2rem; /* Adjust padding as needed */
    position: relative;
    z-index: 1;
    /* Removed min-height and flex stuff, handled by body/footer */
}

/* =========================================
   Header / Opt-in Box (Inside Container)
   ========================================= */
   .hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: revert;
    justify-content: space-evenly;
  }

.logo {
    width:100%;
    text-align:center;
    display:block;
}

.logo img {
    max-width:100%;
    width:500px;
}
.optin-box {
    background-color: var(--box-bg); backdrop-filter: blur(5px); padding: 1.5rem 2rem; border-radius: 8px;
    max-width: 450px; margin-bottom: 4rem; border: 1px solid var(--box-border-color);
    box-shadow: 0 4px 15px var(--box-shadow-color);
    animation: slideInLeftVisible 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    align-self: center;;
}
.optin-box h1 { font-family: var(--font-heading); font-size: 1.8rem; margin-bottom: 0.75rem; color: #fff; font-weight: 600; }
.optin-box p { font-size: 0.95rem; line-height: 1.6; color: var(--text-secondary); margin-bottom: 1.25rem; }
#newsletter-form { display: flex; flex-direction: column; gap: 0.75rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }
#newsletter-form input[type="email"] { padding: 0.75rem 1rem; border: 1px solid rgba(255, 255, 255, 0.2); background-color: rgba(0, 0, 0, 0.3); border-radius: 4px; color: var(--text-light); font-family: var(--font-body); font-size: 1rem; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
#newsletter-form input[type="email"]::placeholder { color: var(--text-secondary); opacity: 0.8; }
#newsletter-form input[type="email"]:focus { outline: none; border-color: var(--accent-purple); box-shadow: 0 0 0 3px var(--focus-ring-color); }
#newsletter-form button[type="submit"] { padding: 0.75rem 1.5rem; background-color: var(--accent-purple); color: #fff; border: none; border-radius: 4px; font-family: var(--font-body); font-size: 1rem; font-weight: 700; cursor: pointer; transition: background-color 0.3s ease, transform 0.2s ease; }
#newsletter-form button[type="submit"]:hover:not(:disabled) { background-color: var(--secondary-accent); transform: translateY(-2px); }
#newsletter-form button[type="submit"]:disabled { background-color: #555; cursor: not-allowed; }
.privacy-note { font-size: 0.8rem; color: var(--text-secondary); opacity: 0.7; margin-top: 1rem; margin-bottom: 0; text-align: center; }

/* =========================================
   Features Section (Inside Container)
   ========================================= */
.features {
    display: flex; justify-content: space-around; gap: 1.5rem; flex-wrap: wrap;
    margin-bottom: 5rem; padding-top: 2rem; width: 100%; position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 4rem;
}
.features h2 {
    position: absolute; top: -1em; left: 50%; transform: translateX(-50%);
    font-family: var(--font-heading); font-size: 1.8rem; color: var(--text-light);
    background: var(--bg-color); padding: 0 1rem; font-weight: 600;
}
.feature-box {
    background-color: var(--box-bg); backdrop-filter: blur(5px); padding: 1.5rem; border-radius: 8px;
    flex: 1 1 200px; max-width: 280px; text-align: center; border: 1px solid var(--box-border-color);
    box-shadow: 0 4px 15px var(--box-shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    display: flex; flex-direction: column;
    animation: scaleUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0.5;
    transform: scale(0.9);
}
.feature-box:hover {
    transform: translateY(-8px) scale(1);
    box-shadow: 0 8px 25px rgba(74, 47, 109, 0.4);
    background-color: rgba(26, 35, 77, 0.9);
}
.features .feature-box:nth-child(1) { animation-delay: 0.5s; }
.features .feature-box:nth-child(2) { animation-delay: 0.6s; }
.features .feature-box:nth-child(3) { animation-delay: 0.7s; }
.features .feature-box:nth-child(4) { animation-delay: 0.8s; }

.feature-box h3 { font-family: var(--font-heading); font-size: 1.3rem; margin-bottom: 0.75rem; color: #fff; font-weight: 600; }
.feature-box p { font-size: 0.9rem; line-height: 1.5; color: var(--text-secondary); margin-bottom: 1rem; flex-grow: 1; }
.feature-icon { font-size: 1.8rem; display: block; margin-top: auto; opacity: 0.8; }

/* =========================================
   Meet Your Guide Section (Inside Container)
   ========================================= */
.meet-guide {
    padding: 3rem 1rem; margin: 0 auto 5rem auto; text-align: center; position: relative;
    border-top: 1px solid rgba(212, 175, 55, 0.3); border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    animation: revealFromBottom 0.9s ease-out forwards;
    animation-delay: 1.0s;
    opacity: 0.6;
    transform: translateY(50px) scale(0.98);
}
.meet-guide h2 { font-family: var(--font-heading); font-size: 2rem; color: var(--highlight-gold); margin-bottom: 2rem; font-weight: 600; }
.guide-image { display: block; margin: 0 auto 2rem auto; max-width: 180px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, 0.15); box-shadow: 0 0 25px rgba(212, 175, 55, 0.3); transition: transform 0.4s ease; }
.guide-image:hover { transform: scale(1.05); }
.meet-guide p { font-size: 1.05rem; line-height: 1.8; color: var(--text-secondary); margin-bottom: 1.5rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.meet-guide p strong { color: var(--text-light); font-weight: 700; }
.guide-mission { font-style: italic; color: var(--text-light); opacity: 0.9; font-size: 1.1rem; margin-top: 2rem; }
.guide-divider { font-size: 1.5rem; color: var(--highlight-gold); opacity: 0.5; margin-top: 2.5rem; letter-spacing: 0.5em; }

/* =========================================
   Testimonials Section (REVISED FOR FULL WIDTH BG - Outside Container)
   ========================================= */
.testimonials {
    padding: 4rem 0; /* Vertical padding ONLY */
    position: relative;
    background: linear-gradient(180deg, rgba(10, 11, 30, 0.1) 0%, rgba(26, 35, 77, 0.3) 50%, rgba(10, 11, 30, 0.1) 100%);
    animation: revealClipCircle 1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
    animation-delay: 1.2s;
    clip-path: circle(0% at 50% 50%);
    opacity: 0.5;
    width: 100%;
    margin-top: 0; /* Or adjust based on main container margin */
    margin-bottom: 0; /* Let wrapper handle bottom spacing */
    z-index: 1; /* Ensure it's above background effects */
}

/* Inner Wrapper for Testimonials Content Centering */
.testimonial-content-wrapper {
    max-width: 1100px; /* Max width of content */
    margin: 0 auto; /* Center horizontally */
    padding: 0 1.5rem 5rem 1.5rem; /* Horizontal padding like container & BOTTOM PADDING for spacing */
    position: relative;
}

/* Decorative lines relative to wrapper */
.testimonial-content-wrapper::before,
.testimonial-content-wrapper::after {
    content: ''; position: absolute; left: 50%; transform: translateX(-50%); height: 1px; width: 80%; max-width: 500px;
    background: linear-gradient(90deg, transparent, var(--accent-purple), transparent); opacity: 0.5;
}
.testimonial-content-wrapper::before { top: -2.5rem; } /* Above content */
.testimonial-content-wrapper::after { bottom: 2.5rem; } /* Above bottom padding */

/* Styles for elements INSIDE the wrapper */
.testimonial-content-wrapper h2 {
    font-family: var(--font-heading); font-size: 1.8rem; color: var(--text-light);
    text-align: center; margin-bottom: 3rem; font-weight: 600;
 }

.testimonial-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.testimonial-item {
    background-color: rgba(10, 11, 30, 0.4); border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem 1.5rem 1.5rem 1.5rem; border-radius: 8px; position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease; box-shadow: 0 2px 10px rgba(0,0,0, 0.2);
}
.testimonial-item:hover { transform: translateY(-5px); box-shadow: 0 6px 20px rgba(74, 47, 109, 0.3); }
.quote-mark { position: absolute; top: -0.2em; left: 0.5em; font-family: var(--font-heading); font-size: 4rem; color: var(--accent-purple); opacity: 0.3; line-height: 1; }
.testimonial-item blockquote { font-family: var(--font-body); font-size: 0.95rem; font-style: normal; line-height: 1.7; margin-bottom: 1rem; padding-left: 0; border-left: none; color: var(--text-secondary); position: relative; z-index: 1; }
.testimonial-item cite { display: block; text-align: right; font-size: 0.9rem; color: var(--text-light); font-style: normal; font-weight: 600; margin-top: 1rem; }

/* =========================================
   Glimpse Inside Section (Inside Container)
   ========================================= */
.glimpse-inside {
    padding: 4rem 1rem;
    margin: 0 auto 5rem auto; /* Use margin auto for centering within container */
    max-width: 1100px; /* Match width or make distinct */
    text-align: center;
    position: relative;
    border-top: 1px solid rgba(74, 47, 109, 0.4);
    border-bottom: 1px solid rgba(74, 47, 109, 0.4);
    /* List items animate, not the whole section */
}

.glimpse-inside h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}
.glimpse-inside h2::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 70%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--highlight-gold), transparent);
    opacity: 0.7;
}

.glimpse-intro {
    font-size: 1.1rem; line-height: 1.7; color: var(--text-secondary);
    margin-bottom: 3rem; max-width: 700px; margin-left: auto; margin-right: auto;
}

.glimpse-list-container {
    margin: 0 auto 3rem auto;
}

.glimpse-inside ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem 2.5rem;
}

.glimpse-inside li {
    font-size: 1.05rem; color: var(--text-light);
    display: flex; align-items: flex-start;
    transition: color 0.3s ease, transform 0.3s ease; position: relative;
    text-align: left;
    opacity: 0;
    animation: slideFadeUpItem 0.6s ease-out forwards;
}
/* Stagger list item animations (start after Testimonials reveal) */
.glimpse-inside li:nth-child(1) { animation-delay: 1.6s; }
.glimpse-inside li:nth-child(2) { animation-delay: 1.7s; }
.glimpse-inside li:nth-child(3) { animation-delay: 1.8s; }
.glimpse-inside li:nth-child(4) { animation-delay: 1.9s; }
.glimpse-inside li:nth-child(5) { animation-delay: 2.0s; }

.glimpse-inside li:hover { color: var(--highlight-gold); transform: translateY(-3px); }

.li-icon {
    margin-right: 1rem; color: var(--accent-purple); font-size: 1.4em;
    display: inline-block; transition: transform 0.3s ease; margin-top: 0.05em; flex-shrink: 0;
}
.glimpse-inside li:hover .li-icon { transform: scale(1.2) rotate(-10deg); }
.li-icon.pulse { animation: iconPulse 2s infinite ease-in-out; }

.delivery-note { font-size: 0.95rem; color: var(--text-secondary); opacity: 0.8; margin-top: 1rem; font-style: italic; }

/* =========================================
   Footer (Inside Container)
   ========================================= */
footer {
    padding: 1.5rem 0; margin-top: auto; /* Push to bottom of container */
    text-align: center; display: flex; justify-content: space-around;
    flex-wrap: wrap; gap: 1rem; border-top: 1px solid var(--box-border-color); width: 100%;
    animation: revealFromBottom 0.8s ease-out forwards;
    animation-delay: 2.2s; /* Ensure starts after last list item */
    opacity: 0.6;
    transform: translateY(50px) scale(0.98);
}
.footer-note { font-size: 0.75rem; color: var(--text-secondary); opacity: 0.6; flex: 1 1 200px; max-width: 250px; }

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 1200px) {
    .container { padding: 2.5rem 1.5rem; }
    .features { gap: 1rem; }
    .testimonial-content-wrapper { max-width: 960px; }
}
@media (max-width: 992px) {
    .optin-box { max-width: 400px; }
    .features h2 { font-size: 1.6rem; top: -0.9em; }
    .features { justify-content: center; gap: 1.5rem; margin-bottom: 4rem;}
    .feature-box { max-width: 250px; flex-basis: 45%; }
    .meet-guide { max-width: 90%; margin-bottom: 4rem; }
    .meet-guide h2 { font-size: 1.8rem; }

    /* Testimonials Responsive */
    .testimonials { margin-bottom: 4rem; } /* Adjust spacing */
    .testimonial-content-wrapper { padding: 0 1rem 4rem 1rem; } /* Adjust bottom padding */
    .testimonial-content-wrapper h2 { font-size: 1.6rem; margin-bottom: 2.5rem; }
    .testimonial-grid { gap: 1.5rem; }
    .testimonial-content-wrapper::before { top: -2rem; }
    .testimonial-content-wrapper::after { bottom: 2rem; } /* Adjust position */

    /* Glimpse Inside Responsive */
    .glimpse-inside { max-width: 95%; margin-bottom: 4rem; }
    .glimpse-inside h2 { font-size: 1.8rem; }
    .glimpse-intro { font-size: 1rem; margin-bottom: 2.5rem; }
    .glimpse-inside ul {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem 2rem;
    }

    /* Footer Responsive */
    footer { justify-content: center; }
}
@media (max-width: 768px) {
    body { background-attachment: scroll; }
    .container { padding: 2rem 1rem; }
    .optin-box { max-width: 90%; margin-left: auto; margin-right: auto; margin-bottom: 3rem; }
    .optin-box h1 { font-size: 1.6rem; }
    .features { flex-direction: column; align-items: center; gap: 1.5rem; padding-top: 3rem; border-top: none; margin-bottom: 3rem; }
    .features h2 { position: static; transform: none; margin-bottom: 2rem; text-align: center; padding: 0; background: none; }
    .feature-box { max-width: 90%; flex-basis: auto; width: 100%; }
    .meet-guide { padding: 2rem 1rem; margin-bottom: 3rem; border-width: 0; border-top: 1px solid rgba(212, 175, 55, 0.3); }
    .meet-guide h2 { font-size: 1.6rem; margin-bottom: 1.5rem; }
    .guide-image { max-width: 150px; margin-bottom: 1.5rem;}
    .meet-guide p { font-size: 1rem; }

    /* Testimonials Responsive */
    .testimonials { padding: 2.5rem 0; margin-bottom: 3rem; }
    .testimonial-content-wrapper { padding: 0 1rem 3rem 1rem; } /* Adjust bottom padding */
    .testimonial-content-wrapper h2 { font-size: 1.5rem; margin-bottom: 2rem; }
    .testimonial-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .quote-mark { font-size: 3.5rem; }
    .testimonial-content-wrapper::before,
    .testimonial-content-wrapper::after { width: 90%; }
    .testimonial-content-wrapper::before { top: -1.5rem; }
    .testimonial-content-wrapper::after { bottom: 1.5rem; }

    /* Glimpse Inside Responsive */
    .glimpse-inside { padding: 3rem 1rem; margin-bottom: 3rem; }
    .glimpse-inside h2 { font-size: 1.6rem; }
    .glimpse-intro { margin-bottom: 2rem; }
     .glimpse-inside ul {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
     .glimpse-inside li { font-size: 1rem; }

    /* Footer Responsive */
    footer { flex-direction: column; align-items: center; gap: 0.8rem; margin-top: 0; padding-top: 2rem; } /* Added padding-top */
    .footer-note { max-width: 90%; text-align: center; }
    .decoration { width: 150px; height: 150px; opacity: 0.4; }
}
@media (max-width: 480px) {
    html { font-size: 15px; }
    .optin-box h1 { font-size: 1.4rem; }
    .optin-box p { font-size: 0.9rem; }
    #newsletter-form input[type="email"], #newsletter-form button[type="submit"] { font-size: 0.95rem; padding: 0.7rem 0.9rem; }
    .features h2 { font-size: 1.4rem; }
    .feature-box h3 { font-size: 1.2rem; }
    .feature-box p { font-size: 0.85rem; }
    .meet-guide h2 { font-size: 1.5rem; }
    .guide-image { max-width: 120px; }
    .meet-guide p { font-size: 0.95rem; }

    /* Testimonials Responsive */
    .testimonial-content-wrapper h2 { font-size: 1.4rem; }
    .testimonial-item { padding: 1.5rem 1rem 1rem 1rem; }
    .testimonial-item blockquote { font-size: 0.9rem; }
    .testimonial-item cite { font-size: 0.85rem; }

    /* Glimpse Inside Responsive */
    .glimpse-inside h2 { font-size: 1.5rem; }
    .glimpse-intro { font-size: 0.95rem;}
    .glimpse-inside ul {
         grid-template-columns: 1fr;
         gap: 1.2rem;
     }
     .glimpse-inside li { font-size: 0.95rem; }
     .li-icon { font-size: 1.3em; margin-right: 0.75rem; }
     .delivery-note { font-size: 0.9rem; }
    .decoration { display: none; }
}

.back-link {
    display: block;
    text-align: center;
    margin-top: 2.5rem;
    font-size: 0.9rem;    
}

.back-link a {
    color: var(--highlight-gold);
}