/* --- Variables & Typography --- */
:root {
    /* Exact colors sampled from logo.png */
    --primary-green: #009A44;
    --primary-red: #E31837;
    --text-dark: #2C3E50;
}

body {
    font-family: 'Jost', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* --- Utility Classes --- */
.text-primary-green {
    color: var(--primary-green) !important;
}

.text-primary-red {
    color: var(--primary-red) !important;
}

.bg-primary-green {
    background-color: var(--primary-green) !important;
}

.bg-primary-red {
    background-color: var(--primary-red) !important;
}

.btn-primary-green {
    background-color: var(--primary-green);
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary-green:hover {
    background-color: #007a36;
    color: white;
}

.custom-rounded {
    border-radius: 50px;
}

.tracking-wide {
    letter-spacing: 2px;
}

/* --- Smooth Sticky Navbar --- */
.navbar {
    padding-top: 15px;
    padding-bottom: 15px;
    transition: all 0.4s ease-in-out;
    background-color: transparent !important;
    /* Transparent at top */
}

.navbar .nav-link {
    color: #fff;
    font-weight: 500;
    transition: color 0.3s;
}

.brand-logo {
    height: 95px;
    transition: height 0.4s ease;
}

/* Applied via JS when scrolling */
.navbar.scrolled {
    background-color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding-top: 8px;
    padding-bottom: 8px;
}

.navbar.scrolled .nav-link {
    color: var(--text-dark);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--primary-green);
}

.navbar.scrolled .brand-logo {
    height: 50px;
}

/* --- Hero Section & Custom Slider --- */
.hero-section {
    position: relative;
    background: #000;
}

/* By using img tag instead of background-image, the image scales to 100% width on mobile.
  We set a max-height on desktop so it doesn't get too tall on ultra-wide screens,
  but let height be auto on mobile to show the full uncropped image.
*/
.hero-img {
    height: auto;
    min-height: 50vh;
    /* Minimum height for mobile so text fits */
    max-height: 100vh;
    object-fit: cover;
    opacity: 0.7;
    /* Darken for text readability */
}

.carousel-caption {
    bottom: 0;
    top: 0;
    display: flex;
    align-items: center;
    padding-top: 80px;
    /* Offset for navbar */
}

/* Custom Left-Side Controls */
.custom-carousel-controls {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10;
}

.custom-control-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-control-btn:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
}

/* --- New Cursive Subtitle Style --- */
.cursive-subtitle {
    font-family: 'Caveat', cursive;
    font-size: 2.1rem;
    /* Adjusted for better visibility */
    font-weight: 500;
    position: relative;
    display: inline-block;
}

/* Optional: Adds the small green underline accent seen in the image */
.cursive-subtitle::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 60%;
    height: 3px;
    background-color: var(--primary-green);
    border-radius: 5px;
    transform: rotate(-1deg);
}


/* --- Updated Floating Availability Card --- */
.floating-availability {
    position: absolute;
    right: 10%;
    top: 85%;
    transform: translateY(-50%);
    width: 270px;
    z-index: 20;
    border-radius: 16px;
    /* Smoother rounded corners */
    overflow: hidden;
    background: #ffffff;
}

.availability-header {
    background-color: var(--primary-green);
    color: white;
    padding: 20px;
}

.availability-body {
    padding: 25px 25px;
}

/* Custom Divider with "OR" text in the middle */
.availability-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: #2C3E50;
    font-weight: 700;
    font-size: 0.9rem;
}

.availability-divider::before,
.availability-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e0e0e0;
}

.availability-divider:not(:empty)::before {
    margin-right: 15px;
}

.availability-divider:not(:empty)::after {
    margin-left: 15px;
}

.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-15px) translateX(-50%);
    }

    60% {
        transform: translateY(-7px) translateX(-50%);
    }
}

/* --- Mobile Adjustments --- */
@media (max-width: 991px) {

    /* Navbar adjustments */
    .navbar {
        background-color: #ffffff !important;
        padding: 8px 0;
    }

    .navbar .nav-link {
        color: var(--text-dark);
    }

    .brand-logo {
        height: 40px;
    }

    .custom-carousel-controls {
        display: none;
    }

    /* 1. Natural image height for full width */
    .hero-img {
        min-height: unset;
        height: auto;
        object-fit: cover;
    }

    /* 2. Strict Left Alignment & Padding */
    .carousel-caption {
        padding-top: 70px;
        padding-bottom: 20px;
        text-align: left !important;
        /* Force left alignment */
        left: 5%;
        /* Bring it slightly closer to the edge on mobile */
        right: 15%;
    }

    .hero-content {
        text-align: left !important;
    }

    /* 3. Scaled typography */
    .hero-content h1 {
        font-size: 1.1rem;
        margin-bottom: 0.2rem !important;
    }

    .cursive-subtitle {
        font-size: 1rem;
        line-height: 1.2;
        margin-bottom: 0.7rem !important;
    }

    .hero-content .lead {
        font-size: 0.875rem;
        margin-bottom: 1rem !important;
        line-height: 1.2;
    }

    /* 4. Side-by-Side Mobile Buttons (2 Columns) */
    .hero-content .d-flex {
        flex-direction: row !important;
        /* Force side-by-side */
        gap: 10px !important;
        /* Tight gap between buttons */
        width: 100%;
        justify-content: flex-start;
    }

    .hero-content .btn {
        width: auto;
        flex: 1;
        padding: 0.3rem 0.1rem;
        font-size: 0.65rem;
        white-space: nowrap;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* Shrink the icons slightly so they don't crowd the text */
    .hero-content .btn i {
        font-size: 0.875rem !important;
        margin-right: 5px !important;
    }

    /* 5. Scroll indicator tuck */
    .scroll-down-indicator {
        bottom: 5px;
    }

    .scroll-down-indicator i {
        font-size: 1.2rem !important;
    }

    .scroll-down-indicator p {
        font-size: 0.65rem;
        margin-top: 0 !important;
        margin-bottom: 0;
    }
}

/* --- Floating Action Menu (Reduced Size) --- */
.floating-action-menu {
    position: fixed;
    right: 20px;
    bottom: 30px;
    background-color: #ffffff;
    border-radius: 40px;
    padding: 10px 8px;
    /* Reduced padding */
    display: flex;
    flex-direction: column;
    gap: 8px;
    /* Reduced gap between buttons */
    z-index: 1050;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12) !important;
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.action-item:hover {
    transform: translateY(-2px);
}

.action-icon {
    width: 28px;
    /* Reduced from 45px */
    height: 28px;
    /* Reduced from 45px */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 0.9rem;
    /* Reduced from 1.3rem */
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.action-text {
    font-size: 0.55rem;
    /* Reduced font size */
    font-weight: 600;
    color: #2C3E50;
    margin-top: 4px;
    /* Tighter spacing */
    text-align: center;
    letter-spacing: 0.2px;
}

.bg-whatsapp {
    background-color: #60D669;
}

.bg-primary-red {
    background-color: var(--primary-red);
}

.bg-primary-green {
    background-color: var(--primary-green);
}

@media (max-width: 767px) {
    .floating-action-menu {
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        bottom: 15px;
        width: 70%;
        max-width: 400px;
        background: rgba(237, 237, 237, 0.9);
        padding: 9px 5px;
        border-radius: 50px;
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15) !important;

        transition: all 0.3s ease;
    }

    .action-item {
        flex: 1;
    }

    .action-item:hover {
        transform: translateY(-2px);
    }

    .action-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
        margin: 0 auto;
    }

    .action-text {
        font-size: 0.6rem;
        margin-top: 5px;
    }

    .action-item:not(:last-child) {
        border-right: 1px solid #e0e0e0;
    }
}

/* --- Common Section Styles --- */
.tracking-wide {
    letter-spacing: 1.5px;
}

.bg-light {
    background-color: #f8f9fa !important;
}

/* --- Rooms Section --- */
.room-card {
    background-color: #0d2a15;
    /* Exact dark green from image */
    color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.room-card:hover {
    transform: translateY(-5px);
}

.room-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.room-card-body {
    padding: 20px 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.btn-learn-more {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    padding: 6px 15px;
    font-size: 0.75rem;
    text-decoration: none;
    align-self: flex-start;
    margin-top: auto;
    transition: all 0.3s ease;
}

.btn-learn-more:hover {
    background-color: #ffffff;
    color: #0d2a15;
}


/* --- Why Choose Us (Timeline Features) --- */
.features-timeline {
    position: relative;
}

/* The faint connecting line (Desktop only) */
@media (min-width: 992px) {
    .features-timeline::before {
        content: '';
        position: absolute;
        top: 35px;
        /* Centers line vertically behind the 70px icon */
        left: 3%;
        right: 3%;
        height: 1px;
        background-color: #e0e0e0;
        z-index: 0;
    }
}

.feature-item {
    position: relative;
    z-index: 1;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--primary-green);
    font-size: 1.8rem;
    transition: box-shadow 0.3s ease;
}

.feature-item:hover .feature-icon {
    box-shadow: 0 0 15px rgba(0, 154, 68, 0.2);
    border-color: var(--primary-green);
}


/* --- Explore Wayanad Section --- */
/* Custom Grid to force 7 items into one row on large screens */
@media (min-width: 1200px) {
    .custom-7-col .explore-item {
        flex: 0 0 auto;
        width: 14.28%;
        /* 100 / 7 */
    }
}

.explore-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform 0.3s ease;
}

.explore-card:hover {
    transform: translateY(-5px);
}

.explore-card img {
    width: 100%;
    height: 110px;
    object-fit: cover;
}

.explore-card-body {
    padding: 12px;
    flex-grow: 1;
}

.explore-card-body h6 {
    line-height: 1.3;
}


/* ==========================================
   MOBILE SPECIFIC ADJUSTMENTS (<= 767px)
============================================= */
@media (max-width: 767px) {

    /* Global Typography adjustments for Mobile */
    h2.display-6 {
        font-size: 1.8rem;
    }

    /* Rooms: Force 1 column, slightly taller images */
    .room-card img {
        height: 200px;
    }

    .room-card-body h5 {
        font-size: 1.1rem;
    }

    /* Features: Scale down icons slightly for the 2-column mobile view */
    .feature-icon {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }

    .feature-item p {
        font-size: 0.75rem !important;
        /* Smaller text below icon */
    }

    /* Explore: Adjust padding and fonts for the 2-column mobile layout */
    .explore-card img {
        height: 90px;
    }

    .explore-card-body {
        padding: 10px 8px;
    }

    .explore-card-body h6 {
        font-size: 0.75rem;
        /* Prevents long titles from breaking layout */
    }

    .explore-card-body p {
        font-size: 0.65rem !important;
        /* Smaller location text */
    }
}

/* --- Gallery Grid Layout --- */
.custom-gallery {
    display: grid;
    /* 1 large column on left, 2 smaller columns on right */
    grid-template-columns: 1.5fr 1fr 1fr;
    grid-auto-rows: 150px;
    /* Fixed height for the small image rows */
    gap: 12px;
}

.gal-item {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures images fill their grid cells perfectly without stretching */
    background-color: #f0f0f0;
    /* Fallback color */
}

/* Make the first image span 2 rows vertically */
.gal-large {
    grid-row: span 2;
}


/* --- Reviews Section --- */
.review-card {
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Faint border */
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-3px);
}

.review-stars {
    color: #FFB400;
    /* Rich gold/yellow for stars */
    font-size: 0.85rem;
}


/* --- Location Buttons --- */
.btn-outline-location {
    border: 1px solid #dcdcdc;
    color: #2C3E50;
    background: #ffffff;
    border-radius: 8px;
    /* Slightly rounded, not pill-shaped */
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.btn-outline-location:hover {
    border-color: var(--primary-green);
    background-color: rgba(0, 154, 68, 0.05);
    color: var(--primary-green);
}

.map-img {
    height: 350px;
    object-fit: cover;
}


/* ==========================================
   MOBILE SPECIFIC ADJUSTMENTS (<= 767px)
============================================= */
@media (max-width: 767px) {

    /* Modify the gallery grid for small screens */
    .custom-gallery {
        /* Switch to a 2-column layout */
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 120px;
        /* Slightly shorter rows */
    }

    /* Make the large image span across both columns on top */
    .gal-large {
        grid-column: span 2;
        grid-row: span 1;
        /* Reset vertical span */
        height: 220px;
        /* Force an appropriate focal height */
    }

    /* Review Cards */
    .review-card {
        padding: 15px !important;
    }

    .review-card img {
        width: 40px;
        height: 40px;
    }

    /* Location Map */
    .map-img {
        height: 200px;
        /* Shorter map on mobile */
    }

    /* Center the location buttons horizontally on mobile */
    .location-buttons {
        justify-content: center !important;
        width: 100%;
    }

    .btn-outline-location {
        flex: 1;
        /* Makes buttons grow to fill space evenly */
        justify-content: center;
        padding: 8px 10px;
        font-size: 0.75rem;
    }
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(rgba(11, 34, 17, 0.85), rgba(11, 34, 17, 0.85)), url('../images/slider-1.jpg') center/cover no-repeat fixed;
}

/* Vertical divider for desktop */
@media (min-width: 992px) {
    .cta-subtitle-col {
        border-left: 1px solid rgba(255, 255, 255, 0.3);
        padding-left: 30px;
    }
}

.btn-primary-red {
    background-color: var(--primary-red);
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary-red:hover {
    background-color: #c0142d;
    color: white;
}


/* --- Footer Section --- */
.footer-section {
    background-color: #0b2211;
    /* Matched dark green */
    color: #ffffff;
}

.footer-logo {
    height: 70px;
    object-fit: contain;
}

.footer-heading {
    font-weight: 600;
    font-size: 1.05rem;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #ffffff;
    padding-left: 3px;
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.footer-contact i {
    color: #ffffff;
}

/* Social Icons */
.social-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    color: #ffffff;
}

/* Brand Colors */
.facebook {
    background-color: #3b5998;
}

.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.whatsapp {
    background-color: #25d366;
}

.google {
    background-color: #ea4335;
}


/* ==========================================
   MOBILE SPECIFIC ADJUSTMENTS (<= 767px)
============================================= */
@media (max-width: 767px) {

    /* CTA Adjustments */
    .cta-section h2.display-6 {
        font-size: 1.8rem;
    }

    .cta-subtitle-col p {
        font-size: 1.1rem !important;
        margin-top: -10px;
        /* Pulls subtitle closer to title */
    }

    /* Put buttons side-by-side on mobile */
    .cta-buttons {
        flex-direction: row !important;
    }

    .cta-buttons .btn {
        flex: 1;
        /* Equal width */
        font-size: 0.8rem;
        padding: 0.5rem 0.2rem;
        white-space: nowrap;
    }

    /* Footer Adjustments */
    /* Ensure the brand logo column is centered on mobile for better flow */
    .footer-brand {
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 25px;
    }

    .footer-brand .social-links {
        justify-content: center;
    }

    .footer-brand img {
        margin: 0 auto;
    }

    /* Reduce font sizes in the 2-column layout to prevent messy text wrapping */
    .footer-heading {
        font-size: 0.9rem;
    }

    .footer-links a,
    .footer-contact li {
        font-size: 0.75rem;
    }

    /* Ensure social icons in the right column don't overflow */
    .social-icon {
        width: 26px;
        height: 26px;
        font-size: 0.75rem;
    }
}

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

/* --- Inner Page Hero --- */
.inner-hero {
    height: 70vh;
    /* Adjusts height to match the proportion in your image */
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.inner-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Update 'hero-1.jpg' to the specific building image you are using here */
    background: url('../images/slider-1.jpg') center/cover no-repeat;
    z-index: 1;
}

/* Gradient overlay: Solid white on the left fading to transparent on the right */
.inner-hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.85) 35%, rgba(255, 255, 255, 0) 70%);
}

.title-underline {
    width: 50px;
    height: 3px;
    background-color: var(--primary-red);
}

/* --- Wavy Breadcrumb --- */
.wave-svg {
    display: block;
    width: 100%;
    height: 60px;
    /* Adjusts the depth of the curve */
    margin-bottom: -1px;
    /* Prevents tiny hairline gap below the SVG */
}

.bg-dark-green {
    background-color: #0b2211;
    /* Exact dark green color */
}

/* --- Overlapping Story Images --- */
.story-image-wrapper {
    position: relative;
    /* Create internal space so the absolute image stays inside the section */
    padding-bottom: 12%;
    padding-left: 5%;
}

.story-img-main {
    width: 95%;
    /* Takes up most of the right side */
    margin-left: auto;
    /* Pushes the image to the right */
    display: block;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.story-img-inset {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 55%;
    border-radius: 20px;
    border: 10px solid #ffffff;
    /* Thick white border */
    z-index: 3;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Subtle background dots/graphics */
.decor-dots {
    position: absolute;
    bottom: 35%;
    left: 0;
    width: 80px;
    height: 120px;
    background-image: radial-gradient(#009A44 25%, transparent 25%);
    background-size: 16px 16px;
    opacity: 0.8;
    z-index: 1;
}

.decor-leaf {
    position: absolute;
    top: -40px;
    right: -20px;
    z-index: 1;
}

/* --- Values Section --- */
.value-icon-box {
    width: 80px;
    height: 80px;
    background-color: rgba(0, 154, 68, 0.08);
    /* Very light green */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-green);
    transition: all 0.3s ease;
}

.value-col:hover .value-icon-box {
    background-color: var(--primary-green);
    color: #ffffff;
    transform: translateY(-5px);
}

/* Desktop Borders */
@media (min-width: 992px) {
    .value-col:not(:last-child) {
        border-right: 1px solid #e0e0e0;
    }
}

/* --- Promise Card & Custom Checklist --- */
.promise-card {
    position: absolute;
    bottom: -30px;
    right: 20px;
    width: 70%;
    background: #0b2211;
    z-index: 5;
    border-left: 4px solid var(--primary-green);
}

.line-height-lg {
    line-height: 1.7;
}

ul.custom-checklist {
    padding-left: 0;
    list-style: none;
}

ul.custom-checklist li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    color: #4a4a4a;
    font-size: 0.95rem;
}

ul.custom-checklist li::before {
    content: '\F26A';
    /* Bootstrap Icon for check-circle-fill */
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary-green);
    font-size: 1.2rem;
}

/* --- Stats Bar (Pill Shape overlapping footer) --- */
.stats-bar {
    background-color: #0b2211;
    border-radius: 50px;
    /* Pill shape */
    padding: 30px 40px;
    position: relative;
    /* Pushes it down to visually bridge the gap with the footer */
}


/* ==========================================
   ABOUT PAGE MOBILE ADJUSTMENTS
============================================= */
@media (max-width: 991px) {

    .inner-hero {
        height: auto;
        padding: 50px 0;
    }

    .inner-hero-bg {
        width: 100%;
        opacity: 0.15;
        /* Make it a faint background on mobile to read text */
        clip-path: none;
    }

    .inner-hero-bg::before {
        background: linear-gradient(180deg, rgba(252, 252, 252, 1) 0%, rgba(252, 252, 252, 0) 100%);
    }

    /* Stack images naturally on mobile */
    /* Stack images naturally on mobile */
    .story-image-wrapper {
        padding-bottom: 0;
        padding-left: 0;
    }

    .story-img-main {
        width: 100%;
        margin-bottom: 15px;
    }

    .story-img-inset {
        position: relative;
        width: 85%;
        border-width: 6px;
        margin: -60px auto 0;
        /* Pulls it up over the main image */
        display: block;
    }

    /* Hide decorative elements on mobile to prevent clutter */
    .decor-dots,
    .decor-leaf {
        display: none;
    }

    .promise-card {
        position: relative;
        bottom: auto;
        right: auto;
        width: 90%;
        margin: -40px auto 0;
        /* Pull it up to overlap the image slightly */
    }

    .stats-bar {
        border-radius: 20px;
        /* Standard rounded box on mobile instead of long pill */
        padding: 25px 20px;
    }

    .value-icon-box {
        width: 55px;
        /* Scaled down for 2 columns */
        height: 55px;
        font-size: 1.3rem;
        margin-bottom: 12px !important;
    }

    .value-col h5 {
        font-size: 0.95rem !important;
    }

    .value-col p {
        font-size: 0.75rem !important;
        line-height: 1.4;
        padding: 0 5px;
        /* Keep text from touching edges */
    }

    /* Remove the old single-column bottom borders */
    .value-col {
        border-bottom: none !important;
        padding-bottom: 0;
    }

    .value-col:last-child {
        border-bottom: none;
    }
}

/* ==========================================
   AMENITIES PAGE SPECIFIC STYLES
============================================= */

/* --- Facility Cards --- */
.facility-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 30px 20px;
    transition: all 0.3s ease;
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(0, 154, 68, 0.3);
}

.facility-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 154, 68, 0.08);
    /* Faint green background */
    color: var(--primary-green);
    border-radius: 14px;
    /* Rounded square like the design */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.facility-card:hover .facility-icon {
    background-color: var(--primary-green);
    color: #ffffff;
}

/* --- Comfort Section & Cards --- */
.comfort-card {
    border: none;
    transition: transform 0.3s ease;
}

.comfort-card:hover {
    transform: translateY(-8px);
}

.comfort-icon-box {
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    color: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    margin-top: -25px;
    /* Pulls the icon up to overlap the image */
    border: 3px solid #0b2211;
    /* Matches the dark green card body */
}

/* --- Extra Services --- */
.extra-service-icon {
    width: 45px;
    height: 45px;
    border: 1.5px solid var(--primary-green);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 1.3rem;
}

/* --- Fix for CTA Banner Call Button Hover --- */
.cta-banner .btn-outline-light:hover {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
}

/* Force the inner text and icon to turn dark green when the button is hovered */
.cta-banner .btn-outline-light:hover .text-white,
.cta-banner .btn-outline-light:hover .text-white-50 {
    color: #0b2211 !important;
}

/* ==========================================
   AMENITIES PAGE MOBILE ADJUSTMENTS
============================================= */
@media (max-width: 991px) {

    /* Modify wave fill to dark green on mobile to match the next section */
    .wave-svg path {
        fill: #ffffff;
    }

    /* 2 Columns for Facilities on Mobile/Tablet */
    .facility-card {
        padding: 20px 15px;
    }

    .facility-icon {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    .facility-card h6 {
        font-size: 0.9rem;
    }

    .facility-card p {
        font-size: 0.75rem !important;
    }

    /* Comfort section mobile tweaks */
    .comfort-section .cursive-subtitle {
        font-size: 1.8rem !important;
    }

    /* CTA Banner Buttons Stacking */
    .cta-banner .btn {
        width: 100%;
        /* Force buttons to fill width on mobile */
        justify-content: center;
    }
}

/* ==========================================
   ROOMS ACCOMMODATION PAGE SPECIFIC STYLES
============================================= */

/* --- Sub Sticky Navigation --- */
.sub-sticky-nav {
    position: sticky;
    top: 72px;
    /* Sits exactly below your main fixed navbar */
    z-index: 1020;
}

/* Hide scrollbar for the horizontal scrolling menu on mobile */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.sub-nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 15px 20px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    border-radius: 0;
}

.sub-nav-link:hover,
.sub-nav-link.active {
    color: var(--primary-green) !important;
    border-bottom-color: var(--primary-green);
    background-color: transparent !important;
}

/* --- Room Details Section --- */
.room-badge {
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* --- Booking Assistance Sticky Card --- */
.booking-assistance-card {
    background-color: #0b2211;
    /* Pushes the sticky card down so it doesn't hide behind the two navbars */
    top: 160px;
    border-left: 5px solid var(--primary-green);
}

.booking-assistance-card .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.booking-assistance-card .btn-outline-light:hover {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    color: #0b2211 !important;
}


/* ==========================================
   ROOMS PAGE MOBILE ADJUSTMENTS
============================================= */
@media (max-width: 991px) {
    .sub-sticky-nav {
        top: 60px;
        /* Adjust for smaller mobile navbar height */
    }

    .room-detail-section img {
        height: 250px !important;
    }

    .booking-assistance-card {
        position: relative;
        /* Disables sticky behavior on mobile so it flows naturally */
        top: 0;
        margin-top: 20px;
    }
}

/* --- Global Room Amenities --- */
@media (min-width: 992px) {
    .global-amenity-item:not(:last-child) {
        border-right: 1px solid rgba(0, 0, 0, 0.1);
    }
}

/* --- Custom Outline Button --- */
.btn-outline-green {
    border: 1.5px solid var(--primary-green);
    color: var(--primary-green);
    background: transparent;
    border-radius: 50px;
    padding: 8px 24px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-outline-green:hover {
    background-color: var(--primary-green);
    color: #ffffff;
}

/* --- Global Room Gallery Custom Grid --- */
.room-gallery-grid {
    display: grid;
    /* 4 columns: wide left, normal middle, normal right, normal right */
    grid-template-columns: 2.5fr 1.2fr 1fr 1fr;
    grid-template-rows: 170px 170px;
    gap: 15px;
}

.room-gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.room-gallery-grid img:hover {
    transform: scale(1.02);
}

/* Specific Placements inside the grid */
.gal-main {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.gal-stack-top {
    grid-column: 2;
    grid-row: 1;
}

.gal-stack-bottom {
    grid-column: 2;
    grid-row: 2;
}

.gal-tall-1 {
    grid-column: 3;
    grid-row: 1 / span 2;
}

.gal-tall-2 {
    grid-column: 4;
    grid-row: 1 / span 2;
}


/* ==========================================
   GLOBAL SECTIONS MOBILE ADJUSTMENTS
============================================= */
@media (max-width: 991px) {

    /* Modify Gallery Grid for Mobile */
    .room-gallery-grid {
        grid-template-columns: 1fr 1fr;
        /* 2 Columns */
        grid-template-rows: auto;
        gap: 10px;
    }

    .gal-main {
        grid-column: span 2;
        /* Full width on top */
        grid-row: span 1;
        height: 200px;
    }

    .gal-stack-top,
    .gal-stack-bottom,
    .gal-tall-1,
    .gal-tall-2 {
        grid-column: span 1;
        grid-row: span 1;
        height: 150px;
    }
}

/* ==========================================
   EXPLORE WAYANAD PAGE SPECIFIC STYLES
============================================= */

/* --- Custom Variables for Nature Theme --- */
:root {
    --forest-dark: #12311c;
    --light-green: #eef7f1;
    --bg-nature-light: #f4f7f5;
}

.bg-nature-light {
    background-color: var(--bg-nature-light);
}

.bg-forest-dark {
    background-color: var(--forest-dark);
}

.text-forest-dark {
    color: var(--forest-dark) !important;
}

.bg-light-green {
    background-color: var(--light-green) !important;
}

.max-w-700 {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Explore Hero Section --- */
.explore-hero {
    height: 60vh;
    min-height: 400px;
    padding-top: 25px;
    padding-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.explore-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    z-index: 1;
}

.explore-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(230, 232, 230, 0.6) 0%, rgba(11, 34, 17, 0.9) 100%);
    z-index: 2;
}

/* --- Sticky Trail Sidebar (Desktop) --- */
.explore-sidebar {
    top: 100px;
    /* Offset below sticky navbar */
    background: transparent;
}

.trail-nav {
    border-left: 2px solid rgba(0, 154, 68, 0.2);
    padding-left: 15px;
    margin-left: 10px;
}

.trail-link {
    color: #555555;
    font-weight: 500;
    padding: 10px 15px;
    position: relative;
    transition: all 0.3s ease;
}

/* The dots on the trail map */
.trail-link::before {
    content: '';
    position: absolute;
    left: -21px;
    /* Align with the border line */
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: #ffffff;
    border: 2px solid #b2d8c1;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.trail-link:hover,
.trail-link.active {
    color: var(--primary-green);
    background-color: transparent !important;
    font-weight: 700;
}

.trail-link.active::before {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(0, 154, 68, 0.2);
}

/* --- Destination Cards --- */
.destination-card {
    background-color: #ffffff;
    border-radius: 24px;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.destination-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
}

.dest-img-wrapper {
    position: relative;
    height: 100%;
    min-height: 300px;
    padding: 15px;
    /* Space so organic borders don't touch card edges */
}

/* Organic Shapes for Images to mimic nature */
.organic-shape-1 {
    border-radius: 40px 10px 40px 10px;
}

.organic-shape-2 {
    border-radius: 10px 40px 10px 40px;
}

.dest-distance-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--forest-dark);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.dest-quick-info .info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-item i {
    font-size: 1.2rem;
}


/* ==========================================
   EXPLORE PAGE MOBILE ADJUSTMENTS
============================================= */
@media (max-width: 991px) {

    .explore-hero {
        height: auto;
        padding-bottom: 50px;
    }

    /* Convert Sidebar Trail to Horizontal Scroll Pill Menu */
    .explore-sidebar {
        top: 65px;
        /* Adjust for mobile navbar */
        background-color: var(--bg-nature-light);
        z-index: 1020;
        margin-left: -15px;
        margin-right: -15px;
        padding-left: 15px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding-bottom: 10px !important;
    }

    .trail-nav {
        border-left: none;
        padding-left: 0;
        margin-left: 0;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 10px;
    }

    .trail-link {
        white-space: nowrap;
        background-color: #ffffff;
        border: 1px solid #e0e0e0;
        border-radius: 50px;
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .trail-link::before {
        display: none;
        /* Hide dots on mobile */
    }

    .trail-link.active {
        background-color: var(--primary-green) !important;
        color: #ffffff !important;
        border-color: var(--primary-green);
    }

    /* Reset Image Borders for Mobile */
    .dest-img-wrapper {
        padding: 0;
        min-height: 250px;
    }

    .organic-shape-1,
    .organic-shape-2 {
        border-radius: 24px 24px 0 0;
        /* Standard top curve on mobile */
    }

    .dest-distance-badge {
        bottom: 15px;
        right: 15px;
    }

    .destination-card .card-body {
        padding: 20px !important;
    }
}

/* --- Gallery Page Grid --- */
.gallery-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 cols desktop */
    gap: 15px;
}

.gal-item {
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

.gal-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: 0.3s;
}

.gal-item img:hover {
    transform: scale(1.05);
}

/* Mobile 2 Column Layout */
@media (max-width: 767px) {
    .gallery-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gal-item img {
        height: 200px;
    }
}

/* --- Lightbox Styles --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 8px;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.nav-btn {
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    padding: 20px;
}

#lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#lightbox img#lightbox-img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    border-radius: 6px;
}

#lightbox .close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
    line-height: 1;
    background: none;
    border: none;
}

#lightbox .nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    font-size: 1.8rem;
    padding: 10px 16px;
    border-radius: 50%;
    cursor: pointer;
}

#lightbox .prev-btn {
    left: 20px;
}

#lightbox .next-btn {
    right: 20px;
}

.gal-item img {
    cursor: pointer;
}

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

/* --- Contact Info Cards --- */
.contact-info-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08) !important;
    border-color: rgba(0, 154, 68, 0.2);
}

.contact-icon-wrapper {
    width: 65px;
    height: 65px;
    background-color: rgba(0, 154, 68, 0.08); /* Faint green */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-green);
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-icon-wrapper {
    background-color: var(--primary-green);
    color: #ffffff;
    transform: scale(1.1);
}

.contact-info-card a:hover {
    color: var(--primary-green) !important;
}

/* --- Contact Form Styles --- */
.custom-input {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.custom-input:focus {
    background-color: #ffffff;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(0, 154, 68, 0.1);
    outline: none;
}

.custom-input::placeholder {
    color: #adb5bd;
    font-size: 0.85rem;
}

/* --- Map Wrapper --- */
.map-wrapper {
    background-color: #eee; /* Fallback color while loading */
}

/* ==========================================
   CONTACT PAGE MOBILE ADJUSTMENTS
============================================= */
@media (max-width: 991px) {
    .map-wrapper iframe {
        min-height: 350px !important; /* Shorter map on mobile */
    }
    
    .contact-info-card {
        padding: 20px !important;
    }
}
/* ==========================================
   BOOKING PAGE SPECIFIC STYLES
============================================= */

/* --- Custom Inputs & Selects --- */
.custom-input {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 0.95rem;
    color: #495057;
    transition: all 0.3s ease;
}

.custom-input:focus {
    background-color: #ffffff;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(0, 154, 68, 0.1);
    outline: none;
}

.custom-input::placeholder {
    color: #adb5bd;
    font-size: 0.85rem;
}

/* Fix for Select Dropdowns */
select.custom-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236c757d' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
}

/* --- Direct Contact Sticky Card (Reused from Rooms Page) --- */
.booking-assistance-card {
    background-color: #0b2211;
    border-left: 5px solid var(--primary-green);
}

.booking-assistance-card .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.booking-assistance-card .btn-outline-light:hover {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    color: #0b2211 !important;
}

/* ==========================================
   BOOKING PAGE MOBILE ADJUSTMENTS
============================================= */
@media (max-width: 991px) {
    .booking-assistance-card {
        position: relative; /* Disable sticky top on mobile so it flows normally */
        top: 0 !important;
    }
}