:root {
    --brand-green: #1a4133;
    --brand-gold: #c5a059;
    --brand-cream: #f9f8f4;
    --brand-dark: #0f241d;
    --footer-bg: #111111;
    --whatsapp-green: #25d366;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--brand-cream);
    color: #444;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
.font-serif {
    font-family: 'Marcellus', serif;
}

/* Utilities */
.text-green {
    color: var(--brand-green);
}

.text-gold {
    color: var(--brand-gold);
}

.text-grey {
    color: #b0b0b0;
}

.bg-green {
    background-color: var(--brand-green);
}

.bg-gold {
    background-color: var(--brand-gold);
}

.border-gold {
    border: 1px solid var(--brand-gold);
}

.bg-cream {
    background-color: var(--brand-cream);
}

.btn-gold {
    background-color: var(--brand-gold);
    color: white;
    border: 1px solid var(--brand-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 12px 30px;
    transition: all 0.4s ease;
}

.btn-gold:hover {
    background-color: white;
    color: var(--brand-gold);
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    padding: 0.3rem 0;
}

.nav-link {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #555 !important;
    font-weight: 500;
    margin: 0 10px;
}

/* HERO OPTIMIZATION */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 50px;
    overflow: hidden;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(26, 65, 51, 0.95) 0%, rgba(26, 65, 51, 0.85) 40%, rgba(26, 65, 51, 0.4) 100%);
    z-index: 1;
}

/* Form & Cards */
.glass-form-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 5;
}

.form-control,
.form-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 15px;
    border-radius: 6px;
}

.form-control:focus,
.form-select:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--brand-gold);
    color: white;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-select option {
    background-color: var(--brand-green);
    color: white;
}

/* Packages */
.package-card {
    background: white;
    border-radius: 8px;
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(26, 65, 51, 0.15);
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--brand-green);
    transition: 0.4s;
}

.package-card:hover::before {
    background: var(--brand-gold);
}

.package-duration {
    font-family: 'Manrope', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-green);
    line-height: 1;
}

.feature-icon-box {
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* --- VIDEO CAROUSEL CSS --- */
.video-scroller-wrapper {
    position: relative;
    width: 100%;
}

.video-scroller {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
    padding: 20px 0px;
    /* Reduced side padding for mobile fit */
    scrollbar-width: none;
}

.video-scroller::-webkit-scrollbar {
    display: none;
}

.video-card {
    /* CHANGED: Set to 100% for full-width mobile view */
    flex: 0 0 100%;
    scroll-snap-align: center;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s;
}

/* Video Scaling Logic */
.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    background: #000;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Prevents cropping */
    background-color: #000;
}

.video-info {
    padding: 15px;
    text-align: left;
    background: #fff;
}

.video-title {
    font-family: 'Marcellus', serif;
    font-size: 1.1rem;
    color: var(--brand-green);
    margin-bottom: 5px;
    font-weight: bold;
}

.video-loc {
    font-size: 0.85rem;
    color: #888;
    display: block;
}

.scroll-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    border: 1px solid #eee;
    color: var(--brand-green);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0.8;
}

.scroll-btn:hover {
    background: var(--brand-gold);
    color: white;
    border-color: var(--brand-gold);
    opacity: 1;
}

.scroll-prev {
    left: 10px;
}

.scroll-next {
    right: 10px;
}

@media(min-width: 768px) {
    .video-card {
        flex: 0 0 calc(50% - 10px);
    }

    /* Tablet: 2 items */
}

@media(min-width: 1200px) {
    .video-card {
        flex: 0 0 calc(33.333% - 14px);
    }

    /* Desktop: 3 items */
    .scroll-prev {
        left: -60px;
    }

    .scroll-next {
        right: -60px;
    }
}

/* Footer */
.facilities-banner {
    background-color: var(--brand-gold);
    color: white;
    padding: 40px 0;
}

.facility-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.facility-icon {
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

footer {
    background-color: var(--footer-bg);
    color: #b0b0b0;
    padding-top: 80px;
    padding-bottom: 30px;
    font-size: 0.9rem;
}

footer a {
    color: #b0b0b0;
    text-decoration: none;
    transition: 0.3s;
}

footer ul li {
    margin-bottom: 12px;
}

.footer-logo-img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
    width: 120px;
    margin-bottom: 20px;
}

.social-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 10px;
}

.social-btn:hover {
    background: var(--brand-green);
}

.working-hour-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.open-badge {
    background-color: #15803d;
    color: white;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    font-weight: 700;
    font-size: 0.8rem;
    margin-top: 20px;
    display: block;
}

.insurance-bar {
    background: var(--brand-dark);
    color: white;
    padding: 12px 0;
    font-size: 0.8rem;
}

/* --- Keyframe Animations --- */

/* Entrance: Slide in from left */
@keyframes slideInLeft {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Continuous: Subtle Pulse to draw attention */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

/* --- Floating Buttons CSS --- */

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    /* Adjusted spacing */
    left: 20px;
    /* MOVED TO LEFT */
    background-color: var(--whatsapp-green);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 100;
    text-decoration: none;
    transition: transform 0.3s;

    /* Animation properties */
    animation: slideInLeft 0.5s ease-out forwards, pulse 2s infinite 1s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
    /* Pause pulse on hover to avoid visual clutter */
    animation: none;
}

/* Call Float Button */
.call-float {
    position: fixed;
    bottom: 90px;
    /* Stacks above WhatsApp (20px + 60px + 10px spacing) */
    left: 20px;
    /* MOVED TO LEFT */
    background-color: var(--brand-gold);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 100;
    text-decoration: none;
    transition: transform 0.3s, background-color 0.3s;

    /* Animation properties - slight delay on entrance so they stagger in */
    animation: slideInLeft 0.5s ease-out 0.2s backwards, pulse-gold 2s infinite 1s;
}

.call-float:hover {
    transform: scale(1.1);
    color: white;
    background-color: var(--brand-green);
    animation: none;
}

/* ============ */

.success-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.success-modal.show {
    display: flex;
}

.success-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 450px;
    width: 90%;
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #d4f4dd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.success-icon i {
    font-size: 40px;
    color: #2d6a4f;
}

.btn-close-modal {
    background: #2d6a4f;
    color: white;
    border: none;
    padding: 14px 40px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

@media (max-width: 768px) {
    .glass-form-card {
        backdrop-filter: none;
        background: rgba(20, 20, 20, 0.9);
    }
}