:root {
    --main-green: #006400;
    --dark-overlay: rgba(0, 0, 0, 0.4); 
    --white-text: #ffffff;
    --gray-text: #ccc;
    --search-bg-white: rgba(255, 255, 255, 0.9);
    --glass-nav-bg: rgba(255, 255, 255, 0.1); 
    --glass-nav-border: rgba(255, 255, 255, 0.3);
    --glass-nav-bgs: rgba(255, 255, 255, 0.6);
}

* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
        overflow-x: hidden; /* Prevents horizontal scrollbar */

    font-family: 'Inria Serif', serif;
    color: var(--white-text);
    background-color: #ffffff; 
}
/* --- Hero Section - FIXED for Cinematic Background --- */
.hero-section {
    position: relative;
    top: 0;
    left: 0;
    width: 100vw;
    height: 110vh;
    
    /* 1. Set the image, but let animation control position/size */
    background-image: url('cover.jpg'); 
    background-size: cover;
    background-position: center center; 
    
    /* 2. Apply the dynamic animation */
    animation: heroPan 10s infinite alternate ease-in-out;
    
    /* Optional: Transition for smooth loading/switching */
    transition: background-position 0.5s ease-out; 

    /* Positioning for content (keep content z-index above the background) */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden; /* Important to hide movement edges for border-radius to work */
    z-index: 1; /* Background layer */
    border-radius: 0px 0px 75px 55px;
}

/* --- Dynamic Animation (LuxuryPan style renamed to HeroPan) --- */
@keyframes heroPan {
    0% { 
        background-size: 110%; /* Gentle zoom out start */
        background-position: 40% 60%; /* Pan starting point */
    }
    100% { 
        background-size: 100%; /* Gentle zoom in end */
        background-position: 60% 40%; /* Pan ending point */
    }
}

/* --- Overlay (Fixed for robustness) --- */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Use a clear RGBA value for the dark overlay */
    background-color: rgba(0, 0, 0, 0.45); 
    /* Must be higher than the hero-section background, but lower than content */
    z-index: 2; 
}

/* --- Navigation Bar (Glass Effect) --- */
.navbar {
    z-index: 10;
    position: fixed; /* Fixed position */
    top: 0;
    left: 50%;
    transform: translateX(-50%); /* Center the fixed navbar */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 95%; 
    max-width: 1150px;
    padding: 10px 20px;
    
    /* GLASS EFFECT */
    background: var(--glass-nav-bg);
    backdrop-filter: blur(15px); 
    border-radius: 70px;
    border: 1px solid var(--glass-nav-border);
    margin-top: 15px; 
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-links {
    display: flex;
    align-items: center;
    flex-grow: 1; 
    
}

.left-group {
    justify-content: flex-start;
}

.right-group {
    justify-content: flex-end;
}

.nav-button {
    color: var(--white-text);
    text-decoration: none;
    font-size: 16px;
    padding: 8px 15px;
    margin: 0 5px;
    border-radius: 20px;
    
    background-color: var(--main-green); 
    border: 1px solid transparent;
    transition: background-color 0.3s, border-color 0.3s;
}

.nav-button:hover {
    background-color: var(--white-text); 
    color: var(--main-green);
    border-color: var(--white-text);
}

.login-button {
    color: var(--white-text);
    text-decoration: none;
    font-size: 16px;
    padding: 25px 20px;
    border-radius: 500px;
    background-color: var(--main-green);
    margin-left: 15px; 
    transition: background-color 0.3s;
}
.login-button:hover {
    background-color: #008040;
}

/* --- Logo Styling with Image --- */
.logo-container {
    background: none; 
    backdrop-filter: none;
    padding: 0 20px;
    text-align: center;
    border: none;
    flex-shrink: 0; 
}

.logo-image {
    /* Style for the actual logo image (replace with your file) */
    width: 400px; 
    height: 95px;
    object-fit: contain;
    display: block; /* Important for margin: auto centering */
    margin: 0 0 0px;
}
 

/* --- Hero Content --- */
.hero-content {
    z-index: 2;
    text-align: center;
    margin-top: 180px;
}

.hero-content h1 {
    font-size: 100px;
    margin-bottom: 5px;
    font-weight: 700;
    /* ✨ FIX: Add a minimum height to prevent the layout shift */
    min-height: 150px; /* Use a value equal to or slightly more than the font-size */
}
 /* Styles for the new PC/Desktop class */
.desktop-text-new {
    font-size: 25px;      /* Your requested font size */
    margin-bottom: 25px;
            margin-top: -15px;  /* Slightly reduced margin-bottom for mobile */
  /* Your requested margin */
}

/* Hide the mobile-specific paragraph by default */
.mobile-text-new {
    display: none;

}@media (max-width: 767px) {
    /* Hide the desktop paragraph on mobile */
    .desktop-text-new {
        display: none;
    }
    
    /* Show and style the mobile-specific paragraph */
    .mobile-text-new {
        display: block; /* Make it visible */
        font-size: 14px;      /* Slightly reduced font-size for mobile is common */
        margin-bottom: 15px;
        margin-top: -10px;  /* Slightly reduced margin-bottom for mobile */
    }
}
 

 


#typewriter-line {
    /* Ensures the blinking cursor is visible next to the text */
    border-right: 2px solid #fff; 
    white-space: nowrap; /* Keeps the text on a single line */
    overflow: hidden; /* Important for the initial blank state */
    display: inline-block;
}

/* Keyframe animation for the blinking cursor */
@keyframes blink {
    from, to { border-color: transparent; }
    50% { border-color: #fff; } /* Adjust color to match your text color */
}

/* Apply the blinking animation to the cursor */
.blinking-cursor {
    animation: blink 0.75s step-end infinite;
}
 
/* --- Special Notice --- */
.special-notice {
    /* Set the requested dark green background */
 background-image: url('review.jpg'); 
     background-size: cover;
    /* Optional properties for better display: */
    /* Adjusts the size of t    /* Use white text for high contrast against the dark green */
    color: #ffffff;
    font-weight: 700; /* Make it bold */
    
    /* * * REDUCED SIZE PROPERTIES * * */
    font-size: 22px; /* Smaller text */
    padding: 10px 20px; /* Less padding */
    border-radius: 40px; /* Less rounded corners */
     
    margin-top: 5px;
    margin-bottom: 20px;
    text-shadow: none;
    z-index: 3;
    
    /* Animation Properties */
    animation: flash 2s infinite alternate ease-in-out;
    display: inline-block;
}

/* * NOTE: The 'flash' keyframes definition remains the same
 * as the original to keep the animation.
 */
@keyframes flash {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0.95;
        transform: scale(1.02);
    }

    

    
}


 /* --- General Styling for the Scroll Icon (No Change) --- */

.mouse-scroll-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 10px;
}

/* Mouse Body Shape (No Change) */
.mouse-body {
    width: 25px;
    height: 40px;
    border: 2px solid var(--white-text);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 15px;
    margin-bottom: 5px;
    overflow: hidden;
}

/* Scroll Wheel/Line with Animation (Duration kept at 1.8s) */
.scroll-wheel {
    width: 2px;
    height: 8px;
    background-color: var(--white-text);
    border-radius: 1px;
    /* Animation for the wheel moving up and down */
    animation: scroll-pulse 1.8s infinite cubic-bezier(0.65, 0.05, 0.36, 1);
}

/* --- Scroll Wheel Animation Keyframes (No Change) --- */
@keyframes scroll-pulse {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(25px); /* Moves the line down */
        opacity: 0;
    }
    51% {
        transform: translateY(-5px); /* Jumps back to the top (outside of view) */
        opacity: 0;
    }
    70% {
        opacity: 1; /* Fade in when back at the top */
    }
    100% {
        transform: translateY(0); /* Returns to starting position */
        opacity: 1;
    }
}


/* Downward Arrow with Bounce Animation */
.scroll-arrow {
    width: 8px;
    height: 8px;
    border: solid var(--white-text);
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg); 
    -webkit-transform: rotate(45deg);
    margin-top: 1px;
    cursor: pointer;
    margin-left: 0;
     animation: arrow-bounce 1.8s infinite; 
}
 

/* --- Fixed Arrow Bounce Animation Keyframes --- */
@keyframes arrow-bounce {
    /* Keep the arrow stationary while the scroll wheel is moving down (0% to 50% of the pulse) */
    0%, 50% { 
        transform: translateY(0) rotate(45deg); 
    }
    /* The scroll wheel completes its movement and jumps back.
       We want the arrow to start moving down after this point (e.g., 55%) */
    70% { 
        /* Bounce Down: Moves the arrow 8px down, matching the middle of the scroll wheel's reset phase */
        transform: translateY(8px) rotate(45deg); 
    }
    85% { 
        /* Slight Rebound Upward */
        transform: translateY(3px) rotate(45deg); 
    }
    100% { 
        /* Returns to starting position */
        transform: translateY(0) rotate(45deg); 
    }
}

/* ======================================= */
/* ====== GLOBAL INTERACTIVE CURSOR ======= */
/* ======================================= */
/* Applying pointer cursor to all interactive elements */
.nav-icon, .menu-icon, .close-modal,
.nav-button-mobile, .login-button-mobile,
.search-button, .dropdown, a, button {
    cursor: pointer;
}


/* ======================================= */
/* ====== MOBILE NAVIGATION STYLES ======== */
/* (All sizes and styles preserved as requested) */
/* ======================================= */

/* Base style for mobile navbar - hidden on PC */
.navbar-mobile {
    display: none;
    position: fixed;
    top: 0;
    left: 50%; /* Center it horizontally */
    transform: translateX(-50%);
    width: 95%; /* Keep it slightly off the edges */
    max-width: 98%; 
    padding: 10px 15px;
    
    /* === GLASS EFFECT APPLIED === */
    background: var(--glass-nav-bg); 
    backdrop-filter: blur(15px);
    border-radius: 40px; 
    border: 1px solid var(--glass-nav-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    
    z-index: 100;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px; 
}

.nav-icon, .menu-icon {
    color: var(--white-text);
    font-size: 24px;
    /* padding: 8px; <-- Remove this padding, it interferes with centering */
    text-decoration: none;
    background-color: var(--main-green);
    
    /* === Flexbox for Centering === */
    display: flex; 
    justify-content: center; /* Centers horizontally */
    align-items: center; /* Centers vertically */
    /* ============================= */
    
    border-radius: 50%; 
    height: 50px;
    width: 50px;
}

.logo-container-mobile {
    flex-grow: 1;
    text-align: center;
}

.logo-image-mobile {
    height: 50px; 
    width: auto;
    object-fit: contain;
}

/* Modal/Off-Canvas Menu Styles */
.mobile-modal {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%; 
    height: 100%;
    
    /* === GLASS EFFECT APPLIED === */
    background: var(--glass-nav-bg); 
    backdrop-filter: blur(20px); 
    border-left: 1px solid var(--glass-nav-border); 
    
    z-index: 200;
    transition: right 0.3s ease-in-out;
    padding-top: 50px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    
    /* === SCROLLABLE MENU ADDED HERE === */
    overflow-y: auto; /* Allows vertical scrolling */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    padding-bottom: 20px; /* Ensure space at the bottom when scrolled */
}

.modal-nav-links {
    display: flex;
    flex-direction: column;
    padding: 20px;
         margin-top: 110px;

    gap: 10px; /* Added spacing between links for better appearance */
}

/* === NEW STYLES FOR LINKS INSIDE THE MODAL === */
/* Assuming links have a class like .modal-link or are direct children of .modal-nav-links */
.modal-nav-links a {
    /* Apply green background, white text, and rounded corners for a clean button look */
    background-color: var(--main-green); 
color: var(--white-text, white); 
padding: 10px 13px;
width: 300px;
text-align: center;
text-decoration: none; 
border-radius: 50px; 
transition: background-color 0.2s ease;
/* --- Centering Rule Added --- */
margin: 0 auto;
}

.modal-nav-links a:hover {
    color: var(--main-green);
    background-color: var(--white-text);  
}

.nav-button-mobile, .login-button-mobile {
    display: block;
    color: var(--main-green);
    text-decoration: none;
    font-size: 18px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center; /* Set to center based on your previous request */
    transition: background-color 0.2s;
    /* Cursor added globally above */
    
    /* --- ADDED FOR WIDTH REDUCTION AND CENTERING --- */
    width: 62%; /* Adjust this percentage to your desired width */
    margin: 0 auto; /* Centers the element horizontally */
    /* ----------------------------------------------- */
}

.login-button-mobile {
    margin-top: 20px;
    padding: 10px;
    background-color: var(--white-text);
    border-radius: 70px;
    text-align: center;
}

.close-modal {
    position: fixed;
    top: 15%; /* Moves the top edge to the middle of the screen */
    left: 50%; /* Moves the left edge to the middle of the screen */
    transform: translate(-50%, -50%); /* Shifts the element back by half its own width and height */

    /* Keep your existing styles for the green circle background */
    width: 50px; 
    height: 50px; 
    border-radius: 50%; 
    background-color: var(--main-green); 
    
    color: var(--white-text);
    font-size: 30px;
    z-index: 1000;
    
    display: flex; 
    justify-content: center; 
    align-items: center;
    cursor: pointer; 
}

/* Open Modal State (Using the hidden checkbox) */
#menu-toggle:checked ~ .mobile-modal {
    right: 0;
}


/* ======================================= */
/* ========== MEDIA QUERIES ============== */
/* (Content sizes aggressively reduced) */
/* ======================================= */

@media (max-width: 1024px) {

    /* --- HERO SECTION STYLES (Content Reduction) --- */
    .hero-section {
        animation: none; 
        animation: mobilePan 15s infinite alternate ease-in-out;
        background-size: cover !important; 
        height: 110vh;
    }

    .navbar { display: none !important; }
    .navbar-mobile { display: flex; }

    .hero-content {
        margin-top: 130px; 
        padding: 0 15px; 
        z-index: 3;
    }
 

    .hero-content h1 { font-size: 44px; 
        min-height: 80px; 
        margin-top: 10px;/* Use a value equal to or slightly more than the font-size */

    } /* Slightly more reduced */
 
    @keyframes mobilePan {
        0% { background-position: 55% 45%; }
        100% { background-position: 45% 55%; }
    }

    /* --- CONTENT SIZE REDUCTIONS (Aggressive Reduction) --- */

    /* Global Content Padding/Margin Reduction for General Sections */
    section {
        padding: 25px 0; /* Further reduced vertical padding */
    }

    h2 {
        font-size: 22px; /* Reduced heading size */
        margin-bottom: 8px;
    }

    p {
        font-size: 12px; /* Further reduced general paragraph size */
        line-height: 1.4; /* Tightened line spacing */
    }
 
    /* Special Notice Adjustment (Aggressive Reduction) */
    .special-notice {
       font-size: 16px; /* Increased from 11px */
        padding: 8px 16px; /* Increased from 3px 6px for more breathing room */
        border-radius: 12px; /* Kept the same for rounded corners */
        margin-top: -5px; /* Kept the same for spacing */
    }

/* Mouse Body Shape (No Change) */
.mouse-body {
    width: 20px;
    height: 30px;
    margin-top: -13px;
    
}
    /* Ensure scroll icon is visible (Reduced Size) */
    #scroll-icon-container {
        margin-top: 0px; /* Reduced margin */
    }

    #scroll-icon-container i {
        font-size: 12px; /* Smaller icon size */
    }

    .logo-image {
        width: 160px; /* Even smaller */ 
        height: 30px;
    }
}
 

/* --- Global Hidden Class --- */
.hidden {
    display: none !important;
}

/* Keyframe animation for rotation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
 
/* Container for all floating widgets (optional, can be document body if not needed) */
#floating-widgets-container {
    /* Ensure the container is above everything else */
    z-index: 1000; 
}

/* --- Floating Contact Container (Bottom Left) --- */
.floating-contact-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 50;
    display: flex;
    flex-direction: column-reverse; /* Stacks items from the bottom up */
    align-items: flex-start;
    gap: 10px; /* Space between the background circles/pop-up */
}

/* --- Scroll To Top Button (Bottom Right) --- */
.scroll-to-top-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 50;
}

/* -------------------------------------- */
/* 🆕 BACKGROUND CIRCLE STYLE */
/* -------------------------------------- */
.background-circle {
    /* Dimensions slightly larger than the button (60px) */
    width: 70px; 
    height: 70px; 
    border-radius: 50%;
    /* Uses the defined primary color */
    background-color: var(--glass-nav-bg); 
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; 
    /* Adjust margin to maintain spacing if needed, though 'gap' on parent should handle it */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4); 
    z-index: 40; 
}


/* ======================================= */
/* ====== SCROLL-TO-TOP BUTTON ========== */
/* ======================================= */

/* 🚀 SCROLL-TO-TOP BUTTON - GLASS EFFECT */
.scroll-to-top-btn {
    /* --- GLASS EFFECT APPLIED --- */
    background: var(--white-text); 
    backdrop-filter: blur(8px); 
    border: 1px solid var(--glass-nav-border); 
    /* ----------------------------- */

    color: var(--dark-green);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    /* The button is centered by its parent .background-circle */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); 
    border: none; /* Removed the border property here as it's defined in the glass effect */
}

.scroll-to-top-btn:hover {
    /* Use the main green color on hover for high contrast and feedback */
    background-color: var(--main-green);
    color: var(--white-text);
    border-color: var(--white-text);
    backdrop-filter: none; /* Remove blur on hover */
}


/* ======================================= */
/* ====== CONTACT POP-UP STYLES ========== */
/* ======================================= */

.main-contact-btn {
    /* --- GLASS EFFECT APPLIED --- */
    background: var(--white-text);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-nav-border);
    color: var(--dark-green);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    /* ----------------------------- */

    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    order: 3;
    animation: pulse 4s ease-in-out infinite; /* 4 seconds long, smooth start/end, repeats forever */
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.main-contact-btn:hover {
    /* Red hover for the close state */
    background-color: #a30000;
     backdrop-filter: none;
}

/* 'Hide' Label */
.main-contact-btn::after {
    content: "Hide";
    position: absolute;
    right: -55px;
    padding: 5px 10px;
    background-color: var(--white-text);
    color: #333;
    font-size: 14px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Initial state (when closed) hover */
.main-contact-btn.initial-chat-icon:hover {
    background-color: var(--main-green);
    color: var(--white-text);
     backdrop-filter: none;
}

/* Hide the 'Hide' label when the button is in the initial (closed) state */
.main-contact-btn.initial-chat-icon::after {
    content: none;
}

/* The contact-popup-menu is now just a container for the other buttons */
.contact-popup-menu {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 🚀 POP-UP MENU LINKS (Contact/WhatsApp and Call circular buttons) - GLASS EFFECT */
.contact-option {
    /* --- GLASS EFFECT APPLIED --- */
    background: var(--glass-nav-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-nav-border);
    /* ----------------------------- */

    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, background-color 0.3s;
    padding: 0;
    font-size: initial;
}

.contact-option i {
    font-size: 30px;
    margin: 0;
    color: var(--white-text);
}

/* HIDE THE TEXT */
.contact-option .contact-text {
    display: none;
}

.contact-option:hover {
    transform: scale(1.05);
    backdrop-filter: none;
}

/* Specific styling for Contact (WhatsApp) - Hover takes precedence for color */
.contact-btn {
    background-color: #25D366; /* WhatsApp Green */
    border-color: #25D366;
}

/* Specific styling for Call - Hover takes precedence for color */
.call-btn {
    background-color: #007bff; /* Blue */
    border-color: #007bff;
}

/* ======================================= */
/* ====== MOBILE ADJUSTMENTS ============= */
/* ======================================= */

@media (max-width: 768px) {
    /* Reduce button and background circle sizes on mobile */
    .background-circle {
        width: 55px; /* Smaller circle */
        height: 55px;
    }
    
    .scroll-to-top-btn,
    .main-contact-btn,
    .contact-option {
        width: 45px; /* Smaller button */
        height: 45px;
    }

    .scroll-to-top-btn i,
    .main-contact-btn i,
    .contact-option i {
        font-size: 24px;
    }

    .floating-contact-container {
        bottom: 15px;
        left: 15px;
    }

    .scroll-to-top-container {
        bottom: 15px;
        right: 15px;
    }

    /* Adjust 'Hide' label position */
    .main-contact-btn::after {
        right: -45px;
        font-size: 12px;
        padding: 3px 8px;
    }
}







 
/* --- LANGUAGE SWITCH STYLES --- */

.language-switch {
  width: fit-content;
  /* Key Changes for Left Alignment */
  margin-left: auto; /* Ensures no automatic left margin */
  margin-right: 0; /* Pushes the element to the left */
  /* --- */
  display: flex;
  align-items: center; /* Vertically centers the items inside the flex container */
  gap: 20px;
  margin-bottom: 20px;
  position: static;
  z-index: 10;
}

/* Adjust the container's position to make 'language-switch' relative to it */
.features-safety-section .container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative; /* Crucial for absolute positioning of the switch */
}

#lang-icon {
    font-size: 24px;
    color: var(--white-text); /* Use a noticeable color */
    cursor: pointer;
    transition: color 0.2s;
}

#lang-icon:hover {
    color: var(--main-green);
}

.lang-options {
    display: flex;
    gap: 5px;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--main-green);
    color: #333;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
}

.lang-btn:hover {
    background: var(--main-green);
    color: var(--white-text);
}

.lang-btn.active {
    background: var(--main-green);
    color: var(--white-text);
    border-color: var(--white-text);
}

.flag-icon {
    font-size: 16px;
}
 

/* Apply this rule to the element with id="content-container" when 'si' is active */
.sinhala-font {
    font-family: 'Noto Sans Sinhala';
    /* You may adjust line height for better Sinhala readability */
    /* line-height: 1.6; */ 
}

/* --- FEATURES & SAFETY SECTION --- */
.features-safety-section {
    /* Set the path to your image */
    background-image: url('cover1.jpg'); 
    
    /* Ensure the image covers the entire section without distortion */
    background-size: cover; 
    
    /* Center the image */
    background-position: center; 
    
    /* Optional: Fix the background for a parallax scrolling effect */
    background-attachment: fixed; 
 border-radius: 200px;
    /* Fallback background color in case the image doesn't load */
    background-color: var(--main-green); 

    color: #333; /* Dark text for contrast against light background */
    padding: 80px 20px;
    text-align: center;
    font-family: 'Inria Serif', serif;
}

.features-safety-section .container {
    max-width: 1200px;
    margin: 0 auto;
   
}

.features-safety-section h2 {
    color: var(--white-text); 
    font-size: 42px;
  background-image: url('review.jpg'); 
     background-size: cover;     padding: 20px 20px;
    font-weight: 700;
    margin-bottom: 15px;
    border-radius: 80px;
     text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); 
}

.section-description {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    /* Black Shadow Added */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* --- Feature Grid Layout --- */
.features-grid {
    display: grid;
    /* Create three columns, ensuring responsiveness */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* --- Individual Feature Card Styling --- */
.feature-card {
    background-color: var(--white-text); 
    padding: 30px;
    border-radius: 70px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px); /* Lift the card slightly on hover */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-card i {
    color: var(--main-green); 
    font-size: 48px;
    margin-bottom: 15px;
    /* Transition applied to the icon for smooth movement */
    transition: transform 0.4s ease-out; 
}

/* **UPDATED RULE: Rotate the icon when the feature card is hovered** */
.feature-card:hover i {
    /* Scale up slightly and rotate 10 degrees */
    transform: scale(1.15) rotate(10deg); 
}

.feature-card h3 {
    font-size: 24px;
    color: #333;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}
 
.feature-card.scroll-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, box-shadow 0.3s;
}

.feature-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}
/* --- Media Query for Mobile Adjustments (UPDATED) --- */
@media (max-width: 768px) {
    /* 1. FEATURES-SAFETY-SECTION (Container) */
    .features-safety-section {
        padding: 40px 10px; /* Reduced vertical and horizontal padding */
        border-radius: 50px; /* Reduced border-radius */
    }

    /* 2. SECTION HEADING */
    .features-safety-section h2 {
        font-size: 28px; /* Smaller heading font size */
        padding: 15px 15px; /* Reduced padding */
        border-radius: 40px; /* Reduced border-radius */
    }

    /* 3. SECTION DESCRIPTION */
    .section-description {
        font-size: 16px; /* Slightly smaller description font */
        margin-bottom: 30px; /* Reduced margin */
    }
    
    /* 4. LANGUAGE SWITCH */
    .language-switch {
        /* Keep existing mobile layout changes */
        position: static;
        margin-bottom: 15px; /* Reduced margin */
        gap: 10px; /* Reduced gap between items */
        justify-content: center;
    }
    
    #lang-icon {
        font-size: 20px; /* Smaller language icon */
    }
    
    .lang-btn {
        padding: 3px 8px; /* Reduced padding inside the buttons */
        font-size: 14px; /* Smaller button font size */
        gap: 2px; /* Reduced gap inside the button */
    }
    
    .flag-icon {
        font-size: 14px; /* Smaller flag icon */
    }

    /* 5. FEATURE GRID */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px; /* Reduced gap between cards */
        margin-top: 30px; /* Reduced top margin */
    }

    /* 6. FEATURE CARD */
    .feature-card {
        padding: 20px; /* Reduced padding inside the card */
        border-radius: 30px; /* Reduced border-radius */
    }

    .feature-card i {
        font-size: 32px; /* Smaller icon size */
        margin-bottom: 10px; /* Reduced margin */
    }
    
    .feature-card h3 {
        font-size: 20px; /* Smaller heading in card */
    }

    .feature-card p {
        font-size: 14px; /* Smaller paragraph text in card */
    }
}
 
 


/* ======================================= */
/* ====== CSS VARIABLE DEFINITIONS ======= */
/* ======================================= */
:root {
    /* Define primary colors based on the image */
    --dark-green: #275914; /* Darker green for card backgrounds */
     --white-text: #FFFFFF;
    --verified-orange: #f7931e; /* Orange/Gold for the badge/buttons */
    --star-gold: #FFC107;
    --grey-text: #666;
}

/* ======================================= */
/* ====== GENERAL SECTION STYLES ========= */
/* ======================================= */

.reviews-section {
    background-image: url('coverc.jpg');
    background-size: cover;
    color: #333;
    padding: 80px 20px 150px; /* Base padding */
    text-align: center;
}

.reviews-section .container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.reviews-title {
    color: var(--main-green);
    background-color: var(--white-text);
    font-size: 42px;
    font-weight: 700;
    border-radius: 100px;
    padding: 20px;
    margin-bottom: 10px;
}

.reviews-description {
    font-size: 18px;
    color: var(--grey-text);
    margin-bottom: 50px;
}

/* --- Review Grid Layout --- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* --- Review Slider Layout --- */
.reviews-slider {
    margin: 0 -15px;
    text-align: center;
}

/* ======================================= */
/* --- INDIVIDUAL REVIEW CARD STYLING ---- */
/* --- BASE (DESKTOP/MEDIUM) STYLES --- */
/* ======================================= */

.review-card {
    /* Focus on smaller base size */
    color: var(--white-text);
    padding: 20px; 
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;

    /* Layered Background */
    background:
        url('review.jpg') no-repeat center center / cover,
        radial-gradient(ellipse at bottom right, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 50%),
        linear-gradient(135deg, var(--main-green) 0%, var(--dark-green) 100%);
    background-color: var(--dark-green);
}

.reviews-slider .review-card {
    margin: 0 15px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.reviewer-info {
    flex-grow: 1;
}

.room-reviewed-for {
    font-size: 14px;
    opacity: 0.8;
}

.reviewer-name {
    font-size: 18px; 
    font-weight: 700;
    margin-bottom: 5px;
}

.review-rating {
    color: var(--star-gold);
    font-size: 16px;
}

.review-text {
    font-size: 15px;
    line-height: 1.5;
    color: var(--white-text);
    flex-grow: 1;
    margin-bottom: 15px;
    word-wrap: break-word; 
    overflow-wrap: break-word;
}

/* --- Verified Review Badge Styling --- */
.verified-badge {
    background-color: var(--verified-orange);
    color: var(--white-text);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 50px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
}

.verified-badge i {
    color: var(--white-text);
}

/* ======================================= */
/* === CIRCULAR REVIEWED ROOM IMAGE STYLING === */
/* ======================================= */

.reviewed-room-image {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin-bottom: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.reviewed-room-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.05) 100%);
    opacity: 1;
    transition: opacity 0.4s ease-in-out;
    pointer-events: none;
}

.reviewed-room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.6s ease;
    filter: brightness(100%);
}

.review-card:hover .reviewed-room-image img {
    transform: scale(1.08);
    filter: brightness(105%);
}

.review-card:hover .reviewed-room-image::after {
    opacity: 0.95;
}

/* ======================================= */
/* ====== VIEW ROOM BUTTON STYLES (Bottom Center) === */
/* ======================================= */

.view-room-btn {
    align-self: center;
    position: static;
    display: inline-block;
    background-color: var(--verified-orange);
    color: var(--white-text);
    text-decoration: none;
    padding: 8px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-top: 5px;
}

.view-room-btn:hover {
    background-color: var(--verified-orange);
    color: var(--white-text);
    border-color: var(--verified-orange);
}


/* ======================================= */
/* === SLICK CAROUSEL NAVIGATION STYLING === */
/* ======================================= */

.reviews-section .slick-prev,
.reviews-section .slick-next {
    width: 60px;
    height: 60px;
    z-index: 10;
    position: static;
    display: inline-block;
    background-color: var(--verified-orange) !important;
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    margin: 30px 5px 0;
    line-height: 50px;
    margin-top: 50px;
    text-align: center;
}

.reviews-section .slick-prev:hover,
.reviews-section .slick-next:hover {
    background-color: var(--dark-green) !important; 
    color: var(--white-text); 
    border-color: var(--dark-green);
    transition: background-color 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.reviews-section .slick-prev:before,
.reviews-section .slick-next:before {
    color: var(--white-text) !important;
    font-size: 27px;
    opacity: 1;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
}

.reviews-section .slick-prev:before {
    content: "\f053"; /* angle-left icon */
}
.reviews-section .slick-next:before {
    content: "\f054"; /* angle-right icon */
}

/* Customizing the Slick Dots (Pagination) */
.reviews-section .slick-dots {
    position: static;
    margin-top: 30px;
    padding: 0;
    display: block;
}

.reviews-section .slick-dots li {
    margin: 0 5px;
}

.reviews-section .slick-dots li button:before {
    font-size: 10px;
    color: #ccc;
    opacity: 1;
}

.reviews-section .slick-dots li.slick-active button:before {
    color: var(--main-green);
}
/* ======================================= */
/* ======= MEDIA QUERIES (MOBILE) ======== */
/* ======================================= */

/* --- Media Query for Mobile Adjustments (FINAL CONSOLIDATED) --- */
@media (max-width: 768px) {
    
    /* ======================================================== */
    /* 2. REVIEWS-SECTION (Compact Adjustments) */
    /* ======================================================== */
    
    /* SECTION CONTAINER & HEADINGS (Tightened) */
    .reviews-section {
        padding: 40px 10px 80px; /* Reduced vertical padding for compact look */
    }
    
    .reviews-title {
        font-size: 28px; /* Compact title size */
        padding: 12px;
        margin-bottom: 15px;
    }
    .reviews-description {
        font-size: 14px; 
        margin-bottom: 25px;
    }

    /* GRID & SLIDER */
    .reviews-grid {
        grid-template-columns: 1fr; /* Force single column */
        gap: 15px;
    }
    
    /* ADDED: Center all inline/inline-block content within the card */
    .reviews-slider .review-card {
        margin: 0 5px;
        text-align: center; /* <<< KEY ADDITION: Centers text/inline-blocks inside the card */
    }
    
    .reviews-section .container {
        max-width: 1200px;
        margin: 0 auto;
        position: relative; 
        /* NEW: Add side margin to create a consistent gap on desktop/tablet */
        padding: 0 50px; 
    }
    
    /* REVIEW CARD HEADER (Flexbox adjustments for centering stacked items) */
    .review-header {
        flex-direction: column; /* Stack header elements */
        align-items: center;    /* <<< KEY CHANGE: Centers stacked items (reviewer info, badge, image) */
        margin-bottom: 10px; 
    }
    
    .reviewer-info {
        order: 2; /* Adjust order for stacked header */
        margin-top: 5px;
        /* Note: Since .review-card has text-align: center, text inside this will be centered too */
    }
    
    .verified-badge {
        order: 1;
        margin-bottom: 5px;
        font-size: 10px;
        padding: 3px 6px; 
    }
    
    .reviewer-name {
        font-size: 16px; 
    }
    
    .room-reviewed-for {
        font-size: 12px; 
    }
    
    .review-rating {
        font-size: 14px;
    }
    
    .review-text {
        font-size: 14px; 
        line-height: 1.5; 
        margin-bottom: 10px; 
        text-align: center; /* <<< KEY CHANGE: Centers the main review text */
    }

    /* BUTTON */
    .view-room-btn {
        padding: 6px 20px; /* Minimized button padding */
        font-size: 14px; 
  width: 150px;        display: block;
        margin: 5px auto 0;
        align-self: unset; /* Remove existing align-self if present */
    }

    /* CIRCULAR ROOM IMAGE (Smallest requested size) */
    .reviewed-room-image {
        width: 100px; 
        height: 100px; 
        margin-bottom: 5px; 
        /* Image already has auto margins in the global CSS, which is fine, 
           but text-align: center on the parent also helps ensure centering. */
    }

    /* SLICK ARROWS & DOTS (Minimized Navigation) */
    .reviews-section .slick-prev,
    .reviews-section .slick-next {
        width: 35px; 
        height: 35px;
        line-height: 35px;
        margin: 15px 5px 0;
        margin-top: 20px; 
    }

    .reviews-section .slick-prev:before,
    .reviews-section .slick-next:before {
        font-size: 16px;
    }
    
    .reviews-section .slick-dots {
        margin-top: 10px;
    }
}



/* --- Rooms Section Styles --- */
.rooms-section {
    background-color: #f8f8f8; /* Light background for contrast */
    padding: 80px 20px;
    text-align: center;
    color: #333;
}

.rooms-title {
    color: var(--main-green); /* Use the main green color */
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
}

.rooms-description {
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.group-heading {
    color: #333;
    font-size: 28px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 25px;
    padding: 10px;
    border-bottom: 2px solid var(--main-green);
    display: inline-block;
}

/* |----------------------------------------------------|
| --- Room Grid Layout: Horizontal Carousel Effect --- |
|----------------------------------------------------|
*/
.room-grid {
    display: grid;
    /* This creates a single track for all columns, allowing horizontal scroll */
    /* NEW: Set a smaller minmax value (e.g., 260px) and allow full 1fr for flex */
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    /* Increased gap for more space between cards */
    gap: 30px; 
    margin-bottom: 50px;

    /* Crucial for Horizontal Scrolling */
    grid-auto-flow: column; /* Lays items out in columns, forcing the row */
    overflow-x: auto; /* Adds the horizontal scrollbar when content overflows */
    scroll-snap-type: x mandatory; /* Adds a snapping effect */
    -webkit-overflow-scrolling: touch; /* Improves scrolling on iOS devices */
    justify-content: start; /* Ensures items start from the left */
}
/* Hide scrollbar for aesthetics (optional) */
.room-grid::-webkit-scrollbar {
    display: none;
}
.room-grid {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

/* |------------------------------------------------|
| --- Individual Room Card Styling (REDUCED) --- |
|------------------------------------------------|
*/
.room-card {
    background-color: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;

    /* NEW: Set a fixed width to allow overflow/scrolling */
    width: 280px;
    scroll-snap-align: start; /* Align card start to snap point */
    flex-shrink: 0; /* Important for preventing shrinking in the row */
}

.highlight-card {
    border: 2px solid var(--main-green);
}

/* Room Image Styling (REDUCED HEIGHT) */
.room-image-container {
    width: 100%;
    height: 160px; /* Reduced height from 200px */
    overflow: hidden;
    position: relative;
}

.room-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease-in-out;
}

.room-card:hover .room-image {
    transform: scale(1.05);
}

/* --- FAVORITE ICON STYLES (NEW) --- */
.favorite-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    color: white; /* Default color for the outline heart */
    background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent background */
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 0; /* Above the discount badge and image */
    transition: background-color 0.2s, color 0.2s;
}

.favorite-icon:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

/* Active state for a 'favorited' room (solid heart) */
.favorite-icon.active {
    color: #D9534F; /* Red color for the solid heart */
    background-color: white;
}

.favorite-icon.active:hover {
    background-color: #eee;
}
/* ---------------------------------- */


/* Discount Badge */
.discount-badge {
display: block !important; /* Forces visibility */
    visibility: visible !important;    top: 15px;
    right: 15px;
    background-color: #D9534F;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: normal;
    z-index: 10;
    display: block; /* Ensure visibility */
    visibility: visible;
}


/* Price and Badge Container for Flex layout */
.price-and-badge {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

/* Room Price (REDUCED SIZE) */
.room-price {
    font-size: 22px; /* Reduced from 28px */
    font-weight: 800;
    color: #1a73e8;
    margin: 0;
    margin-bottom: 3px; /* Reduced margin */
}

.room-price span {
    font-size: 16px;
    font-weight: 500;
    color: #666;
}

/* Review Count */
.review-count {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #555;
    margin-bottom: 8px; /* Reduced margin */
}

.review-count .fas.fa-star {
    color: gold;
    margin-right: 5px;
}

.review-count .review-num {
    color: var(--main-green);
    margin-left: 5px;
    font-weight: 600;
}




/* Room Details (REDUCED PADDING) */
.room-details {
    padding: 15px 20px; /* Reduced padding from 20px 25px */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.room-name {
    font-size: 20px; /* Reduced from 24px */
    color: var(--main-green);
    font-weight: 700;
    margin-bottom: 8px; /* Reduced margin */
}

.room-spec {
    font-size: 16px;
    color: #555;
    margin-bottom: 4px; /* Reduced margin */
}

.room-highlight {
    color: #D9534F;
    font-weight: bold;
}

/* Room Features List */
.room-features {
    list-style: none;
    padding: 0;
    margin-top: 10px; /* Reduced margin */
    margin-bottom: auto; /* Pushes the button to the bottom */
}

.room-features li {
    font-size: 14px; /* Reduced from 15px */
    color: #777;
    margin-bottom: 4px; /* Reduced margin */
    display: flex;
    align-items: center;
}

.room-features i {
    color: var(--main-green);
    margin-right: 8px;
    font-size: 14px;
}

/* --- BOOK NOW BUTTON STYLES --- */
.book-now-button {
    display: block;
    width: 100%;
    padding: 10px; /* Slightly reduced padding */
    background-color: var(--main-green, #4CAF50);
    color: white;
    text-decoration: none;
    text-align: center;
    font-size: 16px; /* Reduced font size */
    font-weight: 700;
    border: none;
    border-radius: 0 0 15px 15px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
    margin-top: 15px; /* Reduced space above the button */
}

.book-now-button:hover {
    background-color: #388E3C;
    transform: translateY(-2px);
}

/* |-----------------------------------------------|
| --- Responsive Adjustments (Slider on Mobile) |
|-----------------------------------------------|
*/

/* Medium Screens (Tablets in landscape, small desktops: 769px to 1199px) */
@media (max-width: 1199px) {
    /* Retain the horizontal scroll even on larger tablets to show more than 2-3 items */
    .room-grid {
   
    gap: 10px; 

    }
}

/* Small Screens (Standard Tablets & Phones: max 768px) */
@media (max-width: 768px) {
    .rooms-section {
        padding: 40px 15px;
    }
    .rooms-title {
        font-size: 32px;
    }
    /* ENSURE HORIZONTAL SCROLLING FOR ALL ROOMS ON MOBILE */
    .room-grid {
        grid-template-columns: unset; /* Override previous column definition */
        padding: 0 5px; /* Add slight side padding for edge cards */
    }
    .room-card {
        width: 85vw; /* Make card wide on mobile but still allow next card to peek */
        max-width: 320px;
    }
    /* Rest of mobile adjustments */
    .rooms-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .group-heading {
        font-size: 24px;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .room-image-container {
        height: 140px; /* Further reduce image size on mobile */
    }
    .discount-badge{
        top: 10px;
        padding: 4px 8px;
    }

    .discount-badge {
        right: 10px;
    }
    .room-details {
        padding: 15px;
    }
    .room-name {
        font-size: 18px;
    }
    .room-price {
        font-size: 22px;
    }
    .review-count, .room-spec, .room-features li {
        font-size: 14px;
    }
    .book-now-button {
        font-size: 16px;
        padding: 10px;
        margin-top: 15px;
    }
}




.room-card-link-wrapper {
    text-decoration: none; /* Remove underline */
    color: inherit; /* Inherit text color from parent */
    display: flex; /* Allow the link to be a flex container */
    flex-direction: column; /* Stack image and details vertically */
    flex-grow: 1; /* Allow it to fill the height available before the button */
    cursor: pointer; /* Explicitly show it's clickable */
}

/* ======================================= */
/* ====== LANGUAGE FONT DEFINITION ======= */
/* ======================================= */
/* * This rule applies the Sinhala font when the 'sinhala-font' class
 * is added by JavaScript to the body or a container.
 */
.sinhala-font, 
.sinhala-font h2, 
.sinhala-font h3, 
.sinhala-font p,
.sinhala-font .section-description,
.sinhala-font .image-overlay-text {
    font-family: 'Noto Sans Sinhala' !important;
    /* Adjust line height for better Sinhala readability */
    line-height: 1.6; 
}


/* ======================================= */
/* ====== LOCATION SECTION STYLES ======== */
/* (Updated to dark green background) */
/* ======================================= */
 /* ================================================= */
/* === LOCATION SECTION STYLES (DESKTOP/DEFAULT) === */
/* ================================================= */

.location-section {
    background-image: url('cover2.jpg');
    /* Ensure the image covers the entire section without distortion */
    background-size: cover;
    /* Center the image */
    background-position: center;
    /* Optional: Fix the background for a parallax scrolling effect */
    background-attachment: fixed;
    border-radius: 200px;
    /* Fallback background color in case the image doesn't load */
    background-color: var(--main-green);

    color: #333; /* Dark text for contrast against light background */
    padding: 80px 20px;
    text-align: center;
    font-family: 'Inria Serif', serif;
}

.location-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.location-title {
    color: var(--white-text);
    font-size: 35px;
    background-image: url('review.jpg');
    background-size: cover;
    padding: 20px 20px;
    font-weight: 700;
    width: 500px; /* Fixed width for the title box */
    margin-bottom: 15px;
    border-radius: 80px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin-left: auto;
    margin-right: auto;
}

.section-description {
    font-size: 18px;
    color: var(--white-text);
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* --- Image Grid Layout (Desktop) --- */
.location-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 40px auto;
}

.location-image-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: 300px;
}

.location-map {
    grid-column: 1 / -1; /* Map spans full width */
    height: 400px;
}

.location-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease-in-out;
}

.location-image-item:hover .location-img {
    transform: scale(1.05);
}

.image-overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: var(--white-text);
    padding: 15px;
    font-size: 18px;
    font-weight: 700;
    transition: background-color 0.3s;
}

/* --- Feature Cards (reusing existing .feature-card styles) --- */
.location-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* --- Scroll Animation Integration --- */
.location-section .scroll-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.location-section .animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================= */
/* === MOBILE MEDIA QUERY ADJUSTMENTS (TABLET/PHONE) === */
/* ================================================= */

@media (max-width: 768px) {
    /* 1. SECTION ADJUSTMENTS */
    .location-section {
        /* Reduced vertical padding to make content fit better */
        padding: 60px 10px; 
        /* Tighter border radius for mobile */
        border-radius: 50px; 
        /* Essential for mobile: fixed background can cause issues */
        background-attachment: scroll; 
    }

    /* 2. TITLE AND DESCRIPTION TEXT SIZES */
    .location-title {
        /* Responsive font size */
        font-size: 30px; 
        /* Ensure the title is always responsive, overriding fixed width */
        width: 90%; 
        /* Smaller border radius */
        border-radius: 40px; 
    }

    .section-description {
        /* Smaller description text */
        font-size: 16px; 
        /* Reduced bottom margin */
        margin-bottom: 30px; 
        /* Allow description to use more width */
        max-width: 95%; 
    }
    
    /* 3. IMAGE OVERLAY TEXT */
    .image-overlay-text {
        /* Smaller text for the image captions */
        font-size: 15px; 
        /* Reduced padding on the overlay */
        padding: 10px; 
    }

    /* 4. GRID AND MAP ADJUSTMENTS */
    .location-image-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 15px;
        margin: 30px auto;
    }

    .location-map {
        height: 250px; /* Reduced map height for mobile */
    }
    
    .location-image-item {
        height: 200px; /* Reduced image item height */
    }

    /* 5. FEATURE CARDS GRID */
    .location-features-grid {
        /* Tighter gap between feature cards */
        gap: 20px; 
        margin-top: 30px;
    }
}

/* ================================================= */
/* === MOBILE MEDIA QUERY ADJUSTMENTS (SMALL PHONE) === */
/* ================================================= */

/* This is the existing media query from your original code, kept for consistency. 
   It targets the title specifically on very small screens. */
@media (max-width: 600px) {
    .location-title {
        font-size: 2rem;            /* smaller font for small screens (approx 32px) */
        padding: 12px 18px;         /* less padding */
        border-radius: 50px;        /* slightly smaller curve */
        max-width: 95%;             /* fill most of the screen */
        background-color: #007a00;  /* optional: slightly lighter green for mobile */
    }
}


/* ======================================= */
/* ====== FOOTER SECTION STYLES ========== */
/* ======================================= */

.main-footer {
    /* CHANGED: Using the main green variable */
    background-color: #1a1a1a; /* Very dark background for a luxurious feel */
    color: var(--white-text); /* Use white text for high contrast */
    padding: 60px 20px 20px;
    font-family: 'Inria Serif', serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    padding-bottom: 40px;
}

.footer-column {
    flex: 1; /* Equal width columns */
    min-width: 250px; /* Minimum width before wrapping */
    margin-bottom: 30px;
    padding-right: 20px;
}

.column-title, .subscription-title {
    font-size: 20px;
    color: var(--white-text);
    font-weight: 700;
    margin-bottom: 15px;
    border-left: 3px solid var(--white-text); /* Visual accent changed to white */
    padding-left: 10px;
}
.footer-contact p {
    /* Adds 10 pixels of space below each contact line */
    margin-bottom: 10px; 
}

/* Optional: To remove the space below the last item if needed */
.footer-contact p:last-child {
    margin-bottom: 0;
}
/* --- Logo Styling --- */
.footer-logo {
    width: 200px; /* Match size from other sections */
    height: auto;
    object-fit: contain;
    margin-bottom: 10px;
}

.footer-slogan {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--gray-text); /* Keep it gray/light for contrast */
}

/* --- Links Styling --- */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a, .footer-contact p {
    color: var(--gray-text); /* Keep text light gray for readability against green */
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--white-text); /* Hover changes to pure white */
    transform: translateX(5px); /* Subtle hover movement */
}

.footer-contact p i {
    color: var(--white-text); /* Icon color changed to white */
    margin-right: 10px;
}

/* --- Subscription Form Styling (Next Level Look) --- */
.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.subscribe-form input[type="email"] {
    padding: 12px 15px;
    /* Adjusted borders and background for contrast against the green background */
    border: 1px solid var(--gray-text);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1); /* Slight white overlay for the text field */
    color: var(--white-text);
    font-size: 16px;
    transition: border-color 0.3s;
}

.subscribe-form input[type="email"]:focus {
    outline: none;
    border-color: var(--white-text);
    box-shadow: 0 0 5px var(--white-text);
}

.subscribe-btn {
    background-color: var(--main-green); /* Button is white */
    color: var(--white-text); /* Text is green */
    border: none;
    padding: 12px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s;
}

.subscribe-btn:hover {
    background-color: var(--gray-text); /* Slightly darker white/gray on hover */
}

/* --- Social Links Styling --- */
.social-links a {
    color: var(--white-text);
    font-size: 20px;
    margin-right: 15px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--gray-text); /* Subtle change to gray on hover */
}

/* --- Footer Bottom Bar --- */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.3); /* Lighter border for contrast */
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: var(--gray-text);
}

/* 📱 --- Media Queries for Mobile Footer --- 📱 */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center; /* Center content for the column layout */
    }

    .footer-column {
        min-width: 100%;
        padding-right: 0;
        margin-bottom: 20px;
    }
    
    .column-title, .subscription-title {
        border-left: none; /* Remove border accent for centered mobile view */
        padding-left: 0;
        margin-bottom: 10px;
    }

    /* **FIX: Makes links stack one by one vertically** */
    .footer-links {
        list-style: none;
        padding: 0;
        display: flex;
        flex-direction: column; /* CHANGED to column for vertical stacking */
        align-items: center; /* Center the links on the screen */
        gap: 5px; /* Added a small vertical gap */
        margin-bottom: 20px;
    }

    .footer-links li {
        margin-bottom: 0; /* Clear previous margin */
        text-align: center; /* Ensure the text within the list item is centered */
    }

    .subscribe-form {
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .social-links {
        margin-top: 15px;
    }
}

/* --- WHATSAPP CONTACT SECTION STYLES --- */

/* --- WHATSAPP CONTACT SECTION STYLES (Centered) --- */
/* ================================================= */
/* === BASE STYLES & GLOBAL CENTERING (DESKTOP/DEFAULT) === */
/* ================================================= */

.whatsapp-contact-section {
    background-image: url('review.jpg');
    background-size: cover;
    padding: 60px 20px;
    font-family: 'Inria Serif', serif;
    color: var(--white-text);
    border-radius: 200px;
    
    /* --- SECTION CENTERING (Horizontal) --- */
    width: 80%; /* Defined width for desktop */
    margin-left: auto;
    margin-right: auto;
    
    margin-bottom: 20px;
    margin-top: 20px;
    
    /* Center the text content by default */
    text-align: center;
}

.whatsapp-contact-section .content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    /* text-align: center; is inherited from the parent section */
}

.whatsapp-contact-section .contact-prompt {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--white-text);
}

.whatsapp-contact-section p {
    font-size: 18px;
    margin-bottom: 30px;
}

.contact-buttons-container {
    display: flex;
    /* Center buttons horizontally (FLEXBOX) */
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allows buttons to wrap on small screens */
}

/* --- BUTTON STYLES --- */
.whatsapp-button, .call-button {
    display: flex;
    align-items: center;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-button {
    background-color: #25D366; 
    color: var(--white-text);
    border: 2px solid #25D366;
}

.whatsapp-button:hover {
    background-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid #ffffff;
}

.call-button {
    background-color: var(--white-text);
    color: var(--main-green);
    border: 2px solid var(--white-text);
}

.call-button:hover {
    background-color: transparent;
    color: var(--white-text);
    border-color: var(--white-text);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.whatsapp-button i, .call-button i {
    margin-right: 10px;
    font-size: 20px;
}

/* ------------------------------------------------- */
/* ------------------------------------------------- */

/* ================================================= */
/* === MOBILE MEDIA QUERY ADJUSTMENTS (TABLET/MID-SIZE) === */
/* ================================================= */
@media (max-width: 768px) {
    .whatsapp-contact-section {
        /* Adjusted padding and border-radius for mobile look */
        padding: 40px 15px;
        border-radius: 100px;
        width: 85%; /* Narrower section width */
    }

    /* 1. TOPIC/PROMPT WIDTH/SIZE REDUCTION */
    .whatsapp-contact-section .contact-prompt {
        font-size: 26px;
    }

    .whatsapp-contact-section p {
        font-size: 15px;
        margin-bottom: 15px;
    }
    
    .contact-buttons-container {
        margin-top: 15px;
        gap: 8px;
        /* Ensure buttons stay side-by-side on tablet/mid-size */
        flex-wrap: nowrap;
        /* Keep them centered */
        justify-content: center;
    }
    
    /* 2. BUTTON WIDTH REDUCTION & SIDE-BY-SIDE FIX */
    .whatsapp-button, .call-button {
        padding: 8px 15px;
        font-size: 15px;
        /* Max width allows two buttons plus gap to fit */
        max-width: 48%; 
    }

    .whatsapp-button i, .call-button i {
        font-size: 14px;
        margin-right: 5px;
    }
}

/* ================================================= */
/* === MOBILE MEDIA QUERY ADJUSTMENTS (SMALL PHONE) === */
/* ================================================= */

@media (max-width: 500px) {
    .whatsapp-contact-section {
        width: 95%; 
    }
    
    .contact-buttons-container {
        /* STACK BUTTONS vertically */
        flex-direction: column; 
        gap: 10px; 
        justify-content: center;
    }
    
    .whatsapp-button, .call-button {
        /* Make buttons narrower but still full-width relative to the container */
        width: 70%; 
        max-width: 70%; 
        /* Center the button block itself using auto margins */
        margin-left: auto;
        margin-right: auto;
        /* Center the icon/text inside the button */
        justify-content: center;
        
        padding: 12px 20px;
        font-size: 16px; 
    }
    
    .whatsapp-contact-section .contact-prompt {
        font-size: 22px;
    }
    
    .whatsapp-contact-section p {
        font-size: 14px;
    }
}


/* --- FAQ Section Styling --- */
.faq-section {
    padding: 80px 20px;
    background-color: #f7f7f7; /* Light background for contrast */
    text-align: center;
}

.faq-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.faq-section h2 {
    color: var(--main-green);
    font-size: 36px;
    margin-bottom: 10px;
}

.faq-intro-text {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
    box-shadow: none;
}

/* FAQ List Container */
.faq-list {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 15px; /* Spacing between FAQ items */
}

/* Individual FAQ Item */
.faq-item {
    background-color: var(--white-text);
    border: 1px solid #ddd;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    padding: 0;
    overflow: hidden; /* Important for clean border radius */
}

.faq-item:hover {
    border-color: var(--main-green);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Question/Summary Styling */
.faq-question {
    display: block; /* Ensures full width click area */
    padding: 20px 25px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    color: #333;
    list-style: none; /* Hide default arrow */
    position: relative;
    transition: color 0.3s;
}

/* Custom Arrow/Indicator */
.faq-question::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: 300;
    color: var(--main-green);
    transition: transform 0.3s, content 0.3s;
}

/* State when item is OPEN */
.faq-item[open] > .faq-question {
    color: var(--main-green);
    border-bottom: 1px solid #eee; /* Separator line */
}

.faq-item[open] > .faq-question::after {
    content: '—'; /* Change to minus symbol */
    transform: translateY(-50%) rotate(0deg);
}

/* Answer Styling */
.faq-answer-container {
    padding: 0 25px 20px; /* Padding for the answer content */
    color: #555;
    font-size: 16px;
    line-height: 1.6;
}

/* ================================================= */
/* === MOBILE MEDIA QUERY ADJUSTMENTS (768px) === */
/* ================================================= */

@media (max-width: 768px) {
    /* 1. SECTION PADDING & TITLE */
    .faq-section {
        /* Reduced overall vertical padding */
        padding: 40px 10px;
    }

    .faq-section h2 {
        /* Smaller main title text */
        font-size: 30px;
        margin-bottom: 5px;
    }

    .faq-intro-text {
        /* Smaller intro text */
        font-size: 16px;
        margin-bottom: 25px;
    }

    /* 2. FAQ ITEM ADJUSTMENTS */
    .faq-list {
        /* Tighter spacing between items */
        gap: 10px;
    }

    .faq-item {
        /* Slightly tighter border radius */
        border-radius: 15px;
    }

    /* 3. QUESTION TEXT & PADDING */
    .faq-question {
        /* Smaller question text */
        padding: 15px 20px;
        font-size: 16px;
    }
    
    .faq-question::after {
        /* Move the indicator slightly inward and make it smaller */
        right: 20px;
        font-size: 20px;
    }

    /* 4. ANSWER TEXT & PADDING */
    .faq-answer-container {
        /* Smaller padding and font size for the answer text */
        padding: 0 20px 15px;
        font-size: 15px;
    }
}

/* --- NEXT-LEVEL DROPDOWN PANEL STYLING (The box that drops down) --- */

.custom-dropdown-panel {
    position: absolute;
    top: 110%; 
    left: 50%;
    transform: translateX(-50%); 
    z-index: 1000;
    
    background-color: var(--white-text, white);
    border-radius: 12px;
    min-width: 250px;
    
    /* === FIX: Add max-height and overflow for scrolling === */
    max-height: 200px; /* Adjust this value as needed */
    overflow-y: auto;
    /* ====================================================== */
    
    margin-top: 5px; 
    padding: 10px 0; 
    
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2), 0 0 5px rgba(0, 0, 0, 0.05); 
    border: 1px solid #eee; 

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}


/* --- Search Bar Container --- */
.search-bar-container {
    width: 100%;
    margin: 0 auto;
    margin-top: 20px;
}

/* ... (rest of the code) ... */

.search-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--white-text);
    border-radius: 40px;
    padding: 8px 10px 8px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #333;
    width: 800px; /* ⬅️ FIX: Use the max-width as the fixed width */
    max-width: 1100px;
    margin: 0 auto 30px;
    border: 1px solid transparent;
}

/* ... (rest of the code) ... */

/* --- DROPDOWN (Search Bar Segment) STYLING --- */
.dropdown {
    display: flex;
    align-items: center;
    padding: 8px 18px;
    flex: 1;
    border-right: 1px solid #ddd;
    transition: background-color 0.3s, box-shadow 0.3s;
    cursor: pointer;
    position: relative;
    min-width: 0;
}

/* UPGRADE: Hover effect on the dropdowns */
.dropdown:hover {
    background-color: #f0f0f0; 
    border-radius: 40px; 
}

/* UPGRADE: Adding a custom dropdown arrow */
.dropdown::after {
    content: "\f0d7"; /* Font Awesome Chevron Down icon code */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 14px;
    color: #aaa;
    margin-left: 10px;
    pointer-events: none;
    position: absolute;
    right: 15px;
}

/* UPGRADE: Remove custom arrow for the date input since it doesn't need one */
.date-range::after {
    content: none;
}

/* General border handling */
.dropdown:last-of-type {
    border-right: none;
}

/* Specific styling for the last dropdown before the button */
.search-bar .dropdown:nth-last-child(2) {
    border-right: none;
}

.dropdown i {
    color: var(--main-green);
    margin-right: 10px;
    font-size: 20px;
    flex-shrink: 0;
}

.dropdown select,
.dropdown input[type="text"],
.dropdown .dropdown-value-display {
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Inria Serif', serif; /* Ensure you have this font linked or remove if using system fonts */
    font-size: 16px;
    cursor: pointer;
    color: #333;
    padding: 0;
    width: 100%;
    min-width: 50px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Style for the placeholder/default option text */
.dropdown select .placeholder-text,
.dropdown .dropdown-value-display.placeholder-text {
    color: #999;
}

/* --- NEXT-LEVEL DROPDOWN PANEL STYLING (The box that drops down) --- */

.custom-dropdown-panel {
    position: absolute;
    top: 110%; 
    left: 50%;
    transform: translateX(-50%); 
    z-index: 1000;
    
    background-color: var(--white-text, white);
    border-radius: 12px;
    min-width: 250px;
    margin-top: 5px; 
    padding: 10px 0; 
    
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2), 0 0 5px rgba(0, 0, 0, 0.05); 
    border: 1px solid #eee; 

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* State when the panel is open */
.custom-dropdown-panel.open {
    opacity: 1;
    visibility: visible;
}

/* Styling the individual options/links inside the panel */
.custom-dropdown-panel .dropdown-option { 
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-family: 'Inria Serif', serif;
    transition: background-color 0.2s, color 0.2s;
    cursor: pointer;
}

/* Hover/Active State for Options */
.custom-dropdown-panel .dropdown-option:hover,
.custom-dropdown-panel .dropdown-option.selected {
    background-color: var(--main-green, #00A050);
    color: var(--white-text, white);
}

/* -------------------------------------- */
/* --- VALIDATION STYLING (NEW) --- */
/* -------------------------------------- */

/* Style to highlight the dropdown with missing data */
.dropdown.missing {
    border: 2px solid #ff5252; 
    border-radius: 40px; 
    box-shadow: 0 0 10px rgba(255, 82, 82, 0.4);
}

.dropdown.missing i {
    color: #ff5252; /* Change icon color to red */
}

/* Styling for the Validation Message */
.error-message {
    color: white;
    background-color: #ff5252; /* Bright Red for error */
    padding: 10px 20px;
    border-radius: 8px;
    margin: 10px auto 20px auto;
    width: 100%;
    max-width: 1060px; /* Match the width of the search bar */
    box-shadow: 0 4px 10px rgba(255, 82, 82, 0.3);
    text-align: center;
    font-weight: bold;
    display: none; /* Initially hidden, shown by JS */
    transition: all 0.3s ease;
}

/* -------------------------------------- */
/* --- Search Button --- */
/* -------------------------------------- */
.search-button {
 background-image: url('review.jpg'); 
  background-size: cover;
     color: var(--white-text);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 20px;
    transition: background-color 0.3s;
    flex-shrink: 0;
    margin-left: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.search-button:hover {
    background-color: #008040;
}

/* -------------------------------------- */
/* 📅 FLATPCIKR CALENDAR STYLING OVERRIDES */
/* -------------------------------------- */

.flatpickr-calendar {
    z-index: 1001 !important; 
    background-color: var(--white-text, white);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2), 0 0 5px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee; 
    top: 100% !important; 
    margin-top: 5px; 
    left: 50% !important; 
    transform: translateX(-50%) !important;
}

.flatpickr-innerContainer {
    padding: 5px;
}

.flatpickr-months .flatpickr-month,
.flatpickr-prev-month, 
.flatpickr-next-month {
    color: #333; 
    fill: #333; 
}

.flatpickr-weekdaycontainer {
    font-weight: 500;
}
.flatpickr-weekday {
    color: #999; 
}

.dayContainer .flatpickr-day {
    color: #333;
    font-size: 14px;
    font-weight: 400;
    line-height: 28px;
    height: 30px;
    margin: 1px 0;
    transition: background-color 0.2s, color 0.2s;
}

.dayContainer .flatpickr-day:hover {
    background: #eee;
    color: #333;
    border-color: #eee;
}

.dayContainer .flatpickr-day.selected, 
.dayContainer .flatpickr-day.start-date, 
.dayContainer .flatpickr-day.end-date {
    background: var(--main-green, #00A050); 
    color: var(--white-text, white);
    border-color: var(--main-green, #00A050);
}

.dayContainer .flatpickr-day.in-range {
    background: #ccf2dc; 
    border-color: #ccf2dc;
    box-shadow: none;
}

.dayContainer .flatpickr-day.in-range:hover {
    background: #008040; 
    color: var(--white-text, white);
}

.dayContainer .flatpickr-day.start-date:hover,
.dayContainer .flatpickr-day.end-date:hover,
.dayContainer .flatpickr-day.selected.start-date,
.dayContainer .flatpickr-day.selected.end-date {
    background: #008040;
    border-color: #008040;
}

.flatpickr-day.disabled, .flatpickr-day.not-allowed {
    color: #ccc !important; 
}

/* -------------------------------------- */
/* --- Media query for smaller screens/mobile --- */
/* -------------------------------------- */
/* -------------------------------------- */
/* --- Media query for smaller screens/mobile --- */
/* --- REDUCED SIZE FOR MOBILE --- */
/* -------------------------------------- */
@media (max-width: 850px) {

    .search-bar-container {
        /* Kept for a full-width container on small screens */
        width: 100%;
        margin: 0;
        padding: 0 2px; /* Increased side padding (was 10px) */
        box-sizing: border-box; 
        margin-top: 30px;
    }
    
    .search-bar {
        flex-wrap: wrap;
        padding: 12px; /* Increased padding (was 8px) for a slightly larger bar */
        border-radius: 18px; /* Slightly larger border-radius (was 15px) */
        margin: 0 auto 20px; /* Increased bottom margin (was 15px) */
        width: 95%; 
        /* max-width is now 90% of the screen, or you can remove it */
        max-width: 95%;
    }/* Add this CSS inside your <style> tags */

  
   
    .dropdown {
        /* Adjusted for a slightly larger fit on two items per row */
        flex: 1 1 48%; 
        border-right: none !important;
        border-bottom: 1px solid #eee !important;
        padding: 12px 12px; /* Increased vertical and horizontal padding (was 10px) */
        margin: 5px 0; /* Increased margin between dropdowns (was 3px) */
    }
    
    .dropdown i {
        /* Increased icon size */
        font-size: 20px; /* Increased size (was 18px) */
        margin-right: 10px; /* Increased margin (was 8px) */
    }

    .dropdown select,
    .dropdown input[type="text"],
    .dropdown .dropdown-value-display {
        /* Increased font size for content */
        font-size: 16px; /* Increased size (was 15px) */
        min-width: 50px; /* Slightly increased minimum width (was 40px) */
    }

    .dropdown:nth-child(2n) {
        border-right: none !important;
    }

    .dropdown:last-of-type {
        border-bottom: none !important;
    }

    .dropdown::after {
        right: 12px; /* Adjusted arrow position (was 10px) */
        font-size: 14px; /* Increased arrow size (was 12px) */
    }

    .search-button {
        /* Increased button size and margin */
        width: 100%;
        height: 45px; /* Increased button height (was 40px) */
        border-radius: 10px; /* Increased border-radius (was 8px) */
        margin: 10px 0 0 0; /* Increased top margin (was 8px) */
        font-size: 18px; /* Increased icon/font size on button (was 16px) */
    }
    
    .error-message {
        max-width: none;
        padding: 10px 20px; /* Increased error message padding (was 8px 15px) */
        margin: 10px auto 20px auto; /* Increased margin (was 8px/15px) */
    }

    .flatpickr-calendar {
        /* Adjusted calendar margin for a better fit with larger elements */
        margin-top: 5px; /* Increased top margin (was 3px) */
        left: 10% !important; 
        transform: translateX(-50%) !important;
    }
}


 @media (max-width: 1024) {
 /* Add this CSS inside your <style> tags */

/* Target the specific Room Type dropdown */
.dropdown[data-dropdown-for="room-type"] {
   margin-right: 15px;
 }

 
}
