/*
//  Created by Mohammad Rabi on 29/05/2026.
//  Copyright © 2026 Horizon Stay. All rights reserved.
*/

/* =========================================
   1. VARIABLES & BASE SETUP
   ========================================= */
:root {
    --bg-color: #0d1126;
    --card-bg: #151b36; 
    --grad-start: #ed4264; 
    --grad-end: #ffedbc;
    --text-color: #e0e0e0;
    --skeleton-base: #1f294a;
    --skeleton-highlight: #2a365e;
}

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

body {
    background-color: var(--bg-color);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--text-color);
    display: flex; flex-direction: column;
    min-height: 100vh;
    padding-top: 80px;
}

/* Helper: Gradient Text */
.gradient-text {
    background: linear-gradient(90deg, var(--grad-start), var(--grad-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Skeleton Loading Animation */
.skeleton-anim::after {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, var(--skeleton-highlight), transparent);
    animation: shimmer 1.5s infinite;
}
@keyframes shimmer { 100% { transform: translateX(100%); } }

/* =========================================
   2. HEADER & NAVIGATION
   ========================================= */
header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px max(30px, calc(50% - 600px));
    transition: padding 0.25s ease, transform 0.25s ease;    
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

header::before {
    content: "";
    position: absolute;    
    top: -100px; 
    left: 0; 
    width: 100%; 
    height: calc(100% + 100px); 
    background-color: rgba(13, 17, 38, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    z-index: -1; 
}

.logo-img { width: 180px; height: auto; display: block; }

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

.nav-link {
    text-decoration: none; color: #888; font-size: 1.0rem; font-weight: 400;
    padding-bottom: 5px; position: relative; transition: color 0.3s ease;
}
.nav-link:hover { color: white;}

.nav-link.active { color: white; font-weight: 400; }

.nav-link.active::after {
    content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--grad-start), var(--grad-end));
    border-radius: 2px; box-shadow: 0 2px 10px rgba(237, 66, 100, 0.5);
}

/* Custom Location Dropdown */
.custom-location-dropdown {
    position: relative; margin-right: 10px; padding-right: 25px;
    padding-bottom: 2px; border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.location-trigger {
    background: transparent; border: none; color: #ffffff;
    font-size: 1.0rem; font-weight: 500; cursor: pointer; display: flex;
    align-items: center; gap: 8px; padding: 5px 0; -webkit-tap-highlight-color: transparent;
}

.chevron-icon { transition: transform 0.3s ease; opacity: 0.7; }
.custom-location-dropdown.open .chevron-icon { transform: rotate(180deg); }

.location-menu {
    position: absolute; top: 150%; left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: rgba(13, 17, 38, 0.8);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    min-width: 200px; display: flex; flex-direction: column; padding: 10px 0;
    opacity: 0; visibility: hidden; z-index: 1050;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-location-dropdown.open .location-menu,
.custom-hero-dropdown.open .location-menu {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}

.location-item {
    text-decoration: none; color: #ccc; padding: 12px 20px;
    font-size: 1.0rem; transition: background 0.2s, color 0.2s;
}

.location-item:hover { background: rgba(255, 255, 255, 0.05); color: #ffffff; }

.location-item.active {
    color: var(--grad-start); font-weight: 500;
    background: rgba(237, 66, 100, 0.05); border-left: 3px solid var(--grad-start);
}

/* Hamburger Menu & Mobile Navigation */
.hamburger-btn {
    display: none; flex-direction: column; justify-content: space-between;
    width: 25px; height: 15px; background: transparent; border: none; cursor: pointer;
    z-index: 1100; -webkit-tap-highlight-color: transparent;
}

.hamburger-btn .bar {
    height: 1px; width: 100%; background-color: #ffffff;
    border-radius: 2px; transition: all 0.3s ease;
}

body.no-scroll { overflow: hidden !important; }

@media (max-width: 1000px) {
    .hamburger-btn { display: flex; }
    
    .main-nav {
        position: fixed; top: 0; right: -100%; width: 75%; max-width: 350px;
        height: 100vh; background-color: rgba(13, 17, 38, 0.8);
        backdrop-filter: blur(5px); flex-direction: column; align-items: flex-start;
        padding: 90px 30px 30px; z-index: 1050; gap: 0;
        transition: right 0.2s cubic-bezier(0.885, 0.885, 0.32, 0.885);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
        overflow-y: auto; 
        -webkit-overflow-scrolling: touch; /* Enables buttery smooth momentum scrolling on iPhones */
    }   
    
    .main-nav.menu-open { right: 0; }

    .nav-link {
        font-size: 1.0rem; padding: 18px 15px; width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-link.active::after {
        display: block; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
        width: 3px; height: 50%; bottom: auto;
    }
    .nav-link.active { font-weight: 400; color: white; }

    .hamburger-btn.toggle .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg); background-color: white; 
    }
    .hamburger-btn.toggle .bar:nth-child(2) { opacity: 0; }
    .hamburger-btn.toggle .bar:nth-child(3) {
        transform: translateY(-5px) rotate(-45deg); background-color: white; 
    }

    /* ============================================== */
    /* 1. WRAPPER: Force the button and menu to stack */
    /* ============================================== */
    .custom-location-dropdown {
        display: flex;
        flex-direction: column; /* THIS forces the dropdown to go UNDER the text */
        border-right: none; 
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        width: 100%; 
        margin-right: 0; 
        padding: 0 20px 15px 15px;
    }

    .location-trigger { 
        width: 100%; 
        justify-content: space-between; 
    }

    /* ============================================== */
    /* 2. HAMBURGER MENU: Smooth push-down effect     */
    /* ============================================== */
    .custom-location-dropdown .location-menu {
        position: relative; 
        top: 0; 
        left: 0; 
        width: 100%; 
        background: transparent !important; 
        backdrop-filter: none !important;
        box-shadow: none !important; 
        border: none !important; 
        border-radius: 0 !important;
        display: flex; 
        flex-direction: column; /* Stack the cities vertically */
        max-height: 0; 
        overflow: hidden; 
        padding: 0;
        margin: 0;
        opacity: 0;
        visibility: hidden;
        transform: none !important; 
        transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    }

    /* Open State for Hamburger */
    .custom-location-dropdown.open .location-menu { 
        max-height: 200px; 
        opacity: 1;
        visibility: visible;
        padding-top: 10px; 
        transform: none !important;
    }

    /* ============================================== */
    /* 3. HERO SEARCH: Keep floating behavior         */
    /* ============================================== */
    .custom-hero-dropdown.open .location-menu {
        display: flex;
        opacity: 1 !important; 
        visibility: visible !important; 
        transform: translateY(0) !important;
    }

    .location-item { 
        padding: 15px 10px; 
        width: 100%;
        text-align: left;
    }
}

/* =========================================
   3. HOME PAGE: LAYOUT & SECTIONS
   ========================================= */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }

.home-section { padding-top: 20px; padding-bottom: 60px; }

.alt-bg {
    background-color: var(--card-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-header {
    text-align: left; margin-bottom: 50px; margin-top: 30px;
    border-left: 3px solid rgba(237, 66, 100, 0.5); padding-left: 25px;
}

.section-title {
    font-size: 2.0rem; text-transform: uppercase; letter-spacing: 2px;
    color: white; margin-bottom: 15px; font-weight: 300; display: block;
}

.section-title span {
    font-weight: 700; background: linear-gradient(90deg, var(--grad-start), var(--grad-end));
    background-clip: text;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.section-desc { font-size: 1.2rem; font-weight: 300; color: #C8C8C8; line-height: 1.6; letter-spacing: 1px;}


/* Scroll Animations */
.scroll-reveal {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    will-change: opacity, transform;
}
.scroll-reveal.is-visible { opacity: 1; transform: translateY(0); }

.page-entrance {
    opacity: 0;
    animation: fadeUp 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.2s forwards;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   4. HERO SECTION
   ========================================= */
.home-hero {
    position: relative; width: 100%; min-height: 80vh; 
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 120px 20px 60px; overflow: hidden;
}

.hero-bg, .slogan-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1;
}

.hero-bg-img, .slogan-bg-img {
    width: 100%; height: 100%; object-fit: cover; object-position: center;
    padding-bottom: 1px;
    opacity: 0; transition: opacity 0.8s ease-in-out;
}
.hero-bg-img.loaded, .slogan-bg-img.loaded { opacity: 1; }

.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(13, 17, 38, 0.6) 0%, var(--bg-color) 100%);
}

.hero-content { position: relative; z-index: 2; max-width: 800px; }

.hero-center-logo { width: 120px; height: auto; margin: 0 auto 25px auto; display: block; }

.hero-title { font-size: 3rem; color: white; font-weight: 300; margin-bottom: 20px; letter-spacing: 2px;}

.hero-desc { font-size: 1.4rem; font-weight: 300; color: white; margin-bottom: 40px; line-height: 1.6; letter-spacing: 1px;}

/* Unified Search Bar */
.hero-search-bar {
    display: flex; align-items: center;
    background: rgba(13, 17, 38, 0.6); border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px; padding: 8px 8px 8px 25px;
    max-width: 500px; margin: 40px auto 0; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.search-input-group { display: flex; align-items: center; flex-grow: 1; gap: 12px; position: relative; }
.search-icon { width: 22px; height: 22px; color: rgba(255, 255, 255, 0.3); }

.hero-select {
    background: transparent; border: none; color: white; font-size: 1.1rem;
    font-weight: 300; width: 100%; outline: none; cursor: pointer;
    appearance: none; -webkit-appearance: none; padding-right: 35px;
}
.hero-select option { background: var(--bg-color); color: white; }

.search-input-group::after {
    content: '▼'; font-size: 0.7rem; color: rgba(255, 255, 255, 0.3);
    position: absolute; right: 20px; pointer-events: none;
}

.hero-search-btn {
    background: linear-gradient(90deg, var(--grad-start), var(--grad-end));
    color: var(--bg-color); border: none; border-radius: 40px;
    padding: 14px 35px; font-size: 1rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 1px; cursor: pointer; flex-shrink: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hero-search-btn:hover { transform: scale(1.05); box-shadow: 0 10px 20px rgba(237, 66, 100, 0.3); }


/* =========================================
   5. THE HORIZON STANDARD
   ========================================= */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }

.trust-card {
    background-color: var(--card-bg); border-radius: 12px; padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-title { font-size: 1.1rem; color: white; margin-bottom: 15px; }

.trust-desc { color: #aaa; font-size: 0.95rem; line-height: 1.5; }

/* =========================================
   6. MANY REASONS TO CHOOSE US
   ========================================= */
.reasons-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px 20px; margin-top: 40px; }

.reason-item { display: flex; gap: 15px; align-items: flex-start; }

.check-icon-wrapper {
    display: flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.05); /* Very subtle white tint */
    border: 1px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0; margin-top: 2px;
}

.check-svg {
    width: 14px; height: 14px;
    stroke: rgba(255, 255, 255, 0.5); /* Crisp white */
}

.reason-item h4 { color: white; font-size: 1.1rem; margin-bottom: 8px; }
.reason-item p { color: #aaa; font-size: 0.95rem; line-height: 1.5; }

/* =========================================
   7. FROM YOU (Reviews)
   ========================================= */
.reviews-track {
    display: flex; gap: 20px; overflow-x: auto; padding-bottom: 20px;
    scrollbar-width: none; width: 100vw; position: relative;
    left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw;
    padding-left: calc(50vw - 50%); padding-right: calc(50vw - 50%);
}
.reviews-track::-webkit-scrollbar { display: none; }

.review-card {
    flex: 0 0 300px; background-color: var(--card-bg); padding: 20px;
    border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex; flex-direction: column;
}

.stars {
    background: linear-gradient(90deg, var(--grad-start), var(--grad-end));
    background-clip: text;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    font-size: 1.2rem; margin-bottom: 15px; letter-spacing: 2px;
}

.review-text { color: #ccc; font-style: italic; font-size: 0.95rem; line-height: 1.6; margin-bottom: 20px; flex-grow: 1; }

.review-author-info { display: flex; align-items: center; gap: 12px; margin-top: auto; }

.review-avatar { width: 45px; height: 45px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, 0.1); }

.review-author { color: white; font-weight: bold; font-size: 0.95rem; margin: 0; }

/* =========================================
   8. SLOGAN SECTION
   ========================================= */
.slogan-section {
    position: relative; width: 100%; min-height: 40vh; display: flex;
    align-items: center; justify-content: center; text-align: center;
    padding: 60px 20px; overflow: hidden; margin-bottom: 80px;
}

.slogan-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(13, 17, 38, 0.75); 
}

.slogan-content { position: relative; z-index: 2; }

.slogan-text { font-size: 3rem; color: white; font-weight: 300; letter-spacing: 2px; margin: 0; letter-spacing: 2px;}

.slogan-subtext { font-size: 1.4rem; color: white; max-width: 600px; margin: 20px auto 0; line-height: 1.6; font-weight: 300; letter-spacing: 1px;}

/* =========================================
   9. TRUSTED OTA BANNER
   ========================================= */
.ota-banner { text-align: center; padding-top: 0px; padding-bottom: 80px; }

.ota-title { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 3px; color: #777; margin-bottom: 25px; font-weight: 400; }

.ota-logos { display: flex; justify-content: center; align-items: center; gap: 60px; flex-wrap: wrap; }

.ota-logo {
    height: 25px; width: auto; opacity: 1.0;
    filter: grayscale(0%) brightness(100%); transition: opacity 0.3s ease;
    user-select: none; -webkit-user-drag: none;
}
.ota-logo:hover { opacity: 1.0; }

/* =========================================
   10. FOOTER
   ========================================= */
footer {
    background-color: #151b36; text-align: center; padding: 30px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05); margin-top: auto;
}
.footer-text { color: rgba(255, 255, 255, 0.35); font-size: 0.8rem; letter-spacing: 1px; }

/* =========================================
   11. MOBILE RESPONSIVE TYPOGRAPHY
   ========================================= */
@media (max-width: 1000px) {
    .hero-center-logo { width: 100px; margin-bottom: 20px; }
    .hero-title { font-size: 2rem; }
    .hero-desc { font-size: 1.2rem; }
    .section-title { font-size: 1.8rem; }
    .section-desc { font-size: 1.1rem; }
    .review-card { flex: 0 0 260px; }
    .slogan-text { font-size: 2rem; }
    .slogan-subtext { font-size: 1.2rem; }
    .ota-logos { gap: 30px; }
    .ota-logo { height: 20px; }

    .hero-search-bar { 
        padding: 6px 6px 6px 15px; /* Thins out the outer padding */
        width: 90%;
    }
    
    .hero-search-btn { 
        padding: 12px 16px; /* Shrinks the massive Explore button */
        font-size: 0.9rem;
    }
    
    .custom-hero-btn {
        font-size: 0.95rem; /* Scales the city text down just enough to fit */
    }
    
    .search-input-group {
        gap: 8px; /* Pulls the magnifying glass and text closer together */
    }
    
    .search-icon {
        width: 18px; 
        height: 18px;
        flex-shrink: 0; /* Prevents the magnifying glass from getting squished */
    }
}


/* =========================================
   CONTACT PAGE SPECIFIC STYLES
   ========================================= */

/* Mini Hero Banner */
.contact-hero {
    position: relative; width: 100%; min-height: 30vh; 
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 120px 20px 40px; overflow: hidden;
}

/* Layout Wrappers */
.contact-methods-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
}

.contact-form-wrapper {
    max-width: 800px; 
    margin: 0;
    background-color: var(--card-bg);
    border-radius: 12px;
}

/* Creates a gap between the alt-bg border and the footer border */
.contact-form-section {
    margin-bottom: 80px;
}

/* Contact Cards */
.contact-card {
    display: flex; align-items: center; gap: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px; padding: 25px;
    text-decoration: none; transition: all 0.3s ease;
}

.card-icon-box {
    display: flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.05); color: white;
    flex-shrink: 0; transition: all 0.3s ease;
}

.card-text { flex-grow: 1; text-align: left; }
.card-text h4 { color: white; font-size: 1.1rem; font-weight: 600; margin-bottom: 4px; }
.card-text p { color: #aaa; font-size: 0.95rem; margin: 0; transition: color 0.3s ease; }

/* Hover States */
.contact-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(237, 66, 100, 0.4); 
    transform: translateY(-4px);
}
.contact-card:hover .card-icon-box {
    background: linear-gradient(90deg, var(--grad-start), var(--grad-end));
    color: var(--bg-color);
}
.contact-card:hover .card-text p { color: white; }

/* WhatsApp Card Specifics */
.whatsapp-card .card-icon-box { color: white; }
.whatsapp-card:hover { border-color: #25D366; }
.whatsapp-card:hover .card-icon-box { background: #25D366; color: white; }

/* The Form */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; text-align: left; }
.form-group label { color: #ccc; font-size: 0.95rem; font-weight: 500; }

.form-group input, 
.form-group textarea {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px; color: white; padding: 15px;
    font-family: inherit; font-size: 1rem; transition: border-color 0.3s ease;
    outline: none;
}
.form-group input::placeholder, 
.form-group textarea::placeholder { color: rgba(255, 255, 255, 0.2); }
.form-group input:focus, 
.form-group textarea:focus { border-color: #ed4264; }

.btn-submit {
    background: linear-gradient(90deg, var(--grad-start), var(--grad-end));
    color: var(--bg-color); border: none; border-radius: 8px;
    padding: 16px; font-size: 1rem; font-weight: bold; text-transform: uppercase;
    letter-spacing: 1px; cursor: pointer; transition: transform 0.2s, opacity 0.2s;
    margin-top: 10px;
}
.btn-submit:hover { transform: translateY(-2px); opacity: 0.95; }
.form-status { text-align: center; font-size: 0.9rem; margin-top: 10px; display: none; color: #25D366; }

/* Mobile Adjustments */
@media (max-width: 1000px) {
    .contact-form-wrapper { padding-left: 20px; padding-right: 20px; }
    .contact-methods-grid { padding-left: 20px; padding-right: 20px; }
}


/* 1. DESKTOP ONLY: Smooth hover effects for mouse users */
@media (hover: hover) {
    .contact-card:hover {
        background: rgba(255, 255, 255, 0.06);
        border-color: rgba(237, 66, 100, 0.4); 
        transform: translateY(-4px);
    }
    .contact-card:hover .card-icon-box {
        background: linear-gradient(90deg, var(--grad-start), var(--grad-end));
        color: var(--bg-color); /* Icon turns black */
    }
    .contact-card:hover .card-text p { color: white; }

    /* WhatsApp Desktop Hover */
    .whatsapp-card:hover { border-color: #25D366; }
    .whatsapp-card:hover .card-icon-box { 
        background: #25D366; 
        color: var(--bg-color); /* WhatsApp icon turns black */
    }
}

/* 2. ALL DEVICES (Crucial for Mobile): Native app press effect */
.contact-card:active {
    transform: scale(0.96); 
    background: rgba(255, 255, 255, 0.08);
    transition: transform 0.1s ease; 
}

/* WhatsApp Mobile Tap */
.whatsapp-card:active {
    border-color: #25D366;
}
.whatsapp-card:active .card-icon-box {
    background: #25D366; 
    color: var(--bg-color); /* WhatsApp icon turns black on tap */
}

/* Overrides the ugly white browser autofill */
.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover, 
.form-group input:-webkit-autofill:focus, 
.form-group textarea:-webkit-autofill,
.form-group textarea:-webkit-autofill:hover,
.form-group textarea:-webkit-autofill:focus {
    /* Uses a massive inner shadow to cover the white background with a dark color */
    -webkit-box-shadow: 0 0 0px 1000px var(--bg-color) inset !important; 
    /* Forces the auto-filled text to stay white */
    -webkit-text-fill-color: white !important;
    /* Delays the browser's background color change for 5000 seconds */
    transition: background-color 5000s ease-in-out 0s;
}

/* =========================================
   MODAL POPUP STYLES
   ========================================= */
.modal-overlay {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(13, 17, 38, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.modal-card {
    background: var(--card-bg); /* Mapped to your global card color */
    width: 90%; max-width: 500px;
    padding: 30px 20px; border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transform: translateY(30px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-height: 85vh;       
    overflow-y: auto;       
    overscroll-behavior: contain; 
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-overlay.show .modal-card { transform: translateY(0); }

#modal-title { font-size: 1.5rem; margin-bottom: 15px; color: white; }

#modal-message {
    color: #ccc; 
    font-size: 1rem; margin-bottom: 25px;
    line-height: 1.5;
    text-align: center; 
    width: 100%;
}

#modal-message a {
    color: var(--grad-start);
    text-decoration: none; font-weight: bold;
    border-bottom: 1px solid rgba(237, 66, 100, 0.3);
    transition: all 0.2s;
}
#modal-message a:hover { color: var(--grad-end); border-bottom-color: var(--grad-end); }

#modal-close-btn {
    background: transparent; 
    color: #ccc; 
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px; 
    border-radius: 8px; 
    cursor: pointer;
    font-weight: 500;
    width: 100%; 
    font-size: 1rem;
    transition: all 0.2s;
}

#modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border-color: white;
}

.success-icon, .error-icon {
    width: 60px; height: 60px; margin: 0 auto 20px auto;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.success-icon { background: rgba(37, 211, 102, 0.1); }
.success-icon svg { width: 35px; height: 35px; fill: #25D366; }

.error-icon { background: rgba(237, 66, 100, 0.1); }
.error-icon svg { width: 35px; height: 35px; fill: #ed4264; }


/* =========================================
   ABOUT US PAGE SPECIFIC STYLES
   ========================================= */

/* Reusing contact hero style but named specifically */
.about-hero {
    position: relative; width: 100%; min-height: 30vh; 
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 120px 20px 40px; overflow: hidden;
}

/* Typography for text blocks */
.about-text-block p {
    color: #ccc; font-size: 1.2rem; line-height: 1.8; font-weight: 300; line-height: 1.6; letter-spacing: 1px;
}

/* Mission & Vision Grid */
.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    gap: 20px;
    padding-top: 40px;
}

.mv-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 40px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.mv-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
}

.mv-card h3 {
    font-size: 1.8rem; margin-bottom: 10px; color: white; font-weight: 300; letter-spacing: 1px;
}

.mv-subtitle {
    color: white; font-size: 1.1rem; margin-bottom: 20px; font-weight: 600;
}

.mv-card p {
    color: #aaa; font-size: 1rem; line-height: 1.6;
}

/* Core Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.value-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

@media (hover: hover) {
    .value-card:hover {
        border-color: rgba(237, 66, 100, 0.4);
        transform: translateY(-5px);
    }
}

.value-icon {
    width: 45px; height: 45px;
    border-radius: 50%;
    background: linear-gradient(90deg, var(--grad-start), var(--grad-end));
    color: var(--bg-color);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.1rem;
    margin-bottom: 20px;
}

.value-card h4 { color: white; font-size: 1.1rem; margin-bottom: 10px; }
.value-card p { color: #aaa; font-size: 0.95rem; line-height: 1.5; }

.ultimate-goal {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ultimate-goal p {
    color: #ccc; font-size: 1.2rem; font-weight: 300; letter-spacing: 0.5px;
}

/* Mobile Adjustments */
@media (max-width: 1000px) {
    .about-text-block p { font-size: 1.1rem; }
    .ultimate-goal p { font-size: 1.1rem; }
}

/* =========================================
   MEET YOUR HOSTS PAGE SPECIFIC STYLES
   ========================================= */

.hosts-wrapper {
    display: flex;
    flex-direction: column;
    gap: 80px; /* Large breathing room between founders */
    margin-top: 50px;
    margin-bottom: 40px;
}

.host-profile {
    display: flex;
    align-items: center;
    gap: 50px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px;
    transition: transform 0.3s ease, background 0.3s ease;
}

@media (hover: hover) {
    .host-profile:hover {
        background: rgba(255, 255, 255, 0.04);
        transform: translateY(-5px);
    }
}

/* Reverses the layout for the middle profile */
.host-profile.reverse {
    flex-direction: row-reverse;
}

.host-img-wrapper {
    flex: 0 0 35%;
    max-width: 350px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.host-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    pointer-events: none;
}

.host-img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

@media (hover: hover) {
    .host-profile:hover .host-img {
        transform: scale(1.05);
    }
}

.host-info {
    flex: 1;
    text-align: left;
}

.host-name {
    font-size: 2.2rem;
    color: white;
    font-weight: 500;
    margin-bottom: 5px;
    display: inline-block;
}

.host-role {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 25px;
    display: inline-block;
}

.host-bio {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.host-bio:last-child {
    margin-bottom: 0;
}

/* Mobile Adjustments for Hosts */
@media (max-width: 1000px) {
    .hosts-wrapper { gap: 40px; }
    
    .host-profile, .host-profile.reverse {
        flex-direction: column;
        padding: 30px 20px;
        gap: 30px;
        text-align: center;
    }

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

    .host-img-wrapper {
        flex: none;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .host-name { font-size: 1.8rem; }
    .host-bio { font-size: 1.05rem; text-align: left; } /* Keep bio left-aligned for readability */
}

/* =========================================
   LEGAL PAGES (Terms & Privacy)
   ========================================= */

.legal-content {
    max-width: 800px; /* Perfect width for reading blocks of text */
    margin: 0 auto;
    text-align: left;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 50px;
}

.legal-content h3 {
    color: white;
    font-size: 1.3rem;
    font-weight: 400;
    margin-top: 40px;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.legal-content p {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.legal-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-content li {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

/* Footer Links Update */
.footer-links {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    letter-spacing: 0.2px;
}

.footer-links a:hover {
    color: white;
}

.footer-divider {
    color: rgba(255, 255, 255, 0.2);
    margin: 0 10px;
}

.policy-heading {
    letter-spacing: 1px;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: inline-block;
}

.separator {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.policy-section {  padding-bottom: 40px; padding-top: 10px; }

@media (max-width: 1000px) {
    .policy-section { padding-left: 20px; padding-right: 20px; }
    .policy-heading { font-size: 1.5rem; }
    .legal-content h3 { font-size: 1.2rem; }
    .legal-content { padding: 30px 20px; }
}