* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial;
}

body {
    line-height: 1.6;
    background-color: #FCF0E0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    gap: 10px;
}

/* HEADER */

header {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 999;
    height: 95px;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px;
}

.logo-box {
    background-color: #fff;
    width: 135px;
    height: 50px;
    border-radius: 10px;
    margin-bottom: 10px;


}

.logo img {
    height: 95px;
    width: 100%;
    justify-content: center;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}



nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: 0.3s;
    position: relative;
}

nav ul li a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: -5px;
    background-color: #0E6252;
    transition: 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a.active {
    color: #0E6252;
}

nav ul li a.active::after {
    width: 100%;
}

.whatsapp a {
    background: #0E6252;
    /* Green when ready */
    animation: pulseDownload 2s infinite;
    color: #fff;
    padding: 10px 18px;
    border-radius: 25px;
    text-decoration: none;
    display: flex;
    gap: 8px;
    align-items: center;
}


@media (max-width: 1024px) {
    .logo img {
        height: 60px;
        width: 100%;
        justify-content: center;
        padding-top: 10px;
    }
}

/* HERO */

.hero {
    height: 80vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("img/Premium\ Residential\ Plots.jpg") center/cover no-repeat;
    /* animation:zoomHero 18s infinite alternate ease-in-out; */
    z-index: -1;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    /* background: rgba(14, 98, 82, 0.35); */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

@keyframes zoomHero {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.hero h1 {
    font-size: 48px;
}

.btn {
    background: #0E6252;
    color: #fff;
    padding: 12px 25px;
    display: inline-block;
    margin-top: 15px;
    text-decoration: none;
}

.btn:hover {
    color: #fff;
    background-color: transparent;
    border: 2px solid #0a4b40;
}

/* SECTION */

.section {
    padding: 70px 0;
    scroll-margin-top: 90px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
}

/* ABOUT */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-img img {
    width: 100%;
    border-radius: 10px;
}

.more-text {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease;
}

.more-text.show {
    max-height: 500px;
}

.about-text p {
    text-align: justify;
}

.read-btn {
    margin-top: 15px;
    padding: 10px 20px;
    background: #0E6252;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.read-btn:hover {
    background: #0a4b40;
}

.about-text span {
    /* soft yellow highlight */
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s;
}

.about-text span:hover {
    background-color: #0E6252;
    /* theme color on hover */
    color: #fff;
    /* text changes to white on hover */
}

/* LOCATION */
/* Location Grid - Desktop 2 columns */
.location-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

/* Each card - flex inside */
.location-card {
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
    background: #fff;
    padding: 2px;
}

.location-card:hover {
    transform: translateY(-6px);
}

/* Alternate card: even cards reverse flex direction */
.location-card:nth-child(even) {
    flex-direction: row-reverse;
}

/* Image */
.location-img img {
    width: 289px;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}



/* Key Plan below location cards */
.keyplan-card {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    /* center the keyplan image */
}

.keyplan-card img {
    width: 100%;
    max-width: 600px;
    /* adjust size as needed */
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* Content */
.location-content {
    padding: 20px;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location-content h3 {
    margin-bottom: 15px;
    font-size: 20px;
    color: #333;
}

.location-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.location-content ul li {
    font-size: 14px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
}

.location-content i {
    color: #ff6600;
}



/* AMENITIES */

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.amenity-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    padding: 15px;
    transition: 0.3s;
    overflow: hidden;
}

.amenity-card:hover {
    transform: translateY(-6px);
}

/* Image style */
.amenity-card img {
    width: 100%;
    border-radius: 8px;
    transition: transform 0.4s ease;
}

/* Image hover zoom */
.amenity-card:hover img {
    transform: scale(1.1);
}

/* CONTACT */
/* CONTACT SECTION */
.contact-wrapper {
    display: flex;
    gap: 40px;
    /* CHANGED: stretch makes both boxes the same height automatically */
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* Base style for both containers */
.contact-box,
.contact-map {
    flex: 1 1 45%;
    min-width: 300px;
    display: flex;
    flex-direction: column;
}

.contact-box {
    /* Removed top margin to keep it perfectly aligned with the map */

    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    /* Centering form content vertically if it's shorter than map */
    justify-content: center;
}

.contact-box h2 {
    margin-bottom: 20px;
    font-size: 28px;
    color: #0E6252;
}

.contact-box input,
.contact-box textarea {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.contact-box textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-box button {
    margin-top: 20px;
    padding: 12px;
    background: #0E6252;
    border: 2px solid #0E6252;
    width: 100%;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: bold;
}

.contact-box button:hover {
    color: #0E6252;
    background-color: transparent;
}

/* --- THE EQUAL HEIGHT IMAGE FIX --- */

.image-viewer-trigger {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    /* FORCING HEIGHT: This makes the container fill the flex-stretch area */
    height: 100%;
    width: 100%;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.full-visible-img {
    width: 100%;
    height: 100%;
    /* Forces image to match the form height */
    object-fit: cover;
    /* Prevents stretching - crops like a professional gallery */
    display: block;
    transition: transform 0.5s ease;
}

/* My Thinking: High-End Hover Overlay */
.view-overlay {
    position: absolute;
    inset: 0;
    background: rgba(14, 98, 82, 0.6);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    opacity: 0;
    transition: 0.3s ease;
    cursor: pointer;
}

.image-viewer-trigger:hover .view-overlay {
    opacity: 1;
}

.image-viewer-trigger:hover .full-visible-img {
    transform: scale(1.1);
}

/* ======= Responsive ======= */

@media (max-width: 1024px) {
    .contact-wrapper {
        gap: 30px;
    }
}

@media (max-width: 767px) {
    .contact-wrapper {
        flex-direction: column;
        align-items: center;
        /* Center boxes on mobile */
    }

    .contact-box,
    .contact-map {
        flex: 1 1 100%;
        width: 100%;
    }

    .contact-map {
        height: 400px;
        /* Give the map a fixed height on mobile so it stays visible */
    }
}

/* FOOTER */
/* --- PROFESSIONAL FOOTER --- */
footer {
    background: #0E6252;
    color: #fff;
    padding: 60px 0 20px 0;
    overflow: hidden;
}

.footer-grid {
    display: flex;
    justify-content: space-evenly;
    /* Professional spacing */
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}


.logo-box {
    background-color: #fff;
    width: 145px;
    height: 60px;
    /* Slightly increased for better fit */
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;

    margin-bottom: 10px;
}

.footer-logo {
    height: 50px;
    /* Ensures logo doesn't touch the white box edges */
    object-fit: contain;
    /* margin-bottom: 10px */

}

/* Mobile Fix to center the box itself */
@media (max-width: 768px) {
    .footer-column .logo-box {
        margin-left: auto;
        margin-right: auto;
    }
}

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #FCF0E0;
}

.address-text {
    text-align: justify;
    /* Requested alignment */
    line-height: 1.8;
    margin-top: 15px;
}

/* Social Media Grid Layout */
.social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 columns as per your update */
    gap: 10px;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    transition: 0.3s;
}

.social-item i {
    font-size: 18px;
    width: 20px;
    text-align: center;
}

/* Brand Background Colors */
.fb {
    background: #3b5998;
}

.insta {
    background: #e4405f;
}

.wa {
    background: #25d366;
}

.yt {
    background: #cd201f;
}

.social-item:hover {
    transform: translateX(10px);
    filter: brightness(1.2);
}

.copyright {
    text-align: center;
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    font-size: 14px;
}

/* --- MOBILE RESPONSIVE FOOTER --- */
@media (max-width: 768px) {
    .logo-box {
        display: flex;
        justify-content: center;
        /* Centering logo box on mobile */
        margin-bottom: 20px;
    }

    .footer-grid {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .address-text {
        text-align: center;
    }

    .social-links {
        grid-template-columns: 1fr;
        /* Stack social icons on small mobile */
        width: 100%;
        max-width: 250px;
    }

    .social-item {
        justify-content: center;
    }
}

/* --- GLOBAL SECTION ANIMATION FIX --- */
section {
    overflow: hidden;
}


/* layouts */

/* --- LAYOUT SECTION MAIN --- */
.layout-intro {
    text-align: justify;
    max-width: 900px;
    margin: 0 auto 30px;
    line-height: 1.8;
    color: #444;
}

.view-instruction {
    display: inline-block;
    background: rgba(14, 98, 82, 0.05);
    /* Very light theme green */
    padding: 10px 20px;
    border-radius: 8px;
    border-left: 4px solid #0E6252;
    font-size: 14px;
    color: #0E6252;
    margin-top: 10px;
}

.view-instruction i {
    margin-right: 8px;
}

/* MY THINKING: The Project Stats Bar (Added for Professional UI) */
.project-stats-bar {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.stat-item {
    background: #fff;
    padding: 13px 17px;
    border-radius: 12px;
    text-align: center;
    min-width: 140px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-bottom: 4px solid #0E6252;
    /* Theme Green */
    /* ADD THIS: Makes the hover smooth */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    top: 0;
}

.stat-item:hover {
    transform: scale(1.08);
    /* Slightly increased for better "pop" */
    top: -5px;
    /* Physical lift effect */
    background: #fff;
    box-shadow: 0 15px 30px rgba(14, 98, 82, 0.15);
    /* Stronger theme shadow */
    border-bottom: 4px solid #25D366;
    /* Changes to WA Green on hover */
    cursor: pointer;
}

.stat-val {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #0E6252;
}

.stat-lab {
    font-size: 11px;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 1px;
}

/* --- THE GRID & IMAGE LOCK --- */
/* 1. Ensure the Grid makes all children equal height */
.layout-grid {
    display: flex;
    /* Use flex instead of grid for perfect height matching */
    flex-wrap: wrap;
    gap: 30px;
    align-items: stretch;
    animation: imgpop 2s infinite;
    /* This forces all .pure-lock boxes to be the same height */
}

/* 2. The Container */
.pure-lock {
    flex: 1;
    /* Distributes width equally */
    min-width: 320px;
    /* Prevents them from getting too thin on small screens */
    position: relative;
    overflow: hidden;
    /* Forces the container to have a consistent height */
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* 3. The Image (The "Secret" to Equal Height) */
.ghost-img {
    width: 100%;
    height: 100%;
    /* Forces image to fill the 500px container */
    object-fit: cover;
    /* This crops the image slightly so it doesn't stretch/squash */
    filter: blur(20px) brightness(0.8);
    transition: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

}

/* 4. When Unlocked */
.unlocked .ghost-img {
    filter: blur(0) brightness(1);
    object-fit: contain;
    /* OPTIONAL: Switch to contain if you want to see the WHOLE map once clear */

}

@media (max-width: 768px) {
    .pure-lock {
        height: 200px;
        /* Slightly shorter for mobile screens */
    }

    @media (max-width: 768px) {
        .project-stats-bar {
            display: grid;
            /* This creates exactly 2 equal columns */
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            /* Space between the cards */
            padding: 0 10px;
        }

        .stat-item {
            /* Ensure each item takes full width of its grid cell */
            min-width: unset;
            width: 100%;
            padding: 20px 10px;
            /* Adjusted padding for better fit */
        }

        .stat-val {
            font-size: 24px;
            /* Slightly smaller text for mobile grid */
        }

        .stat-lab {
            font-size: 13px;
        }
    }
}

/* --- RESPONSIVE STYLE --- */

/* Hide checkbox and mobile-only elements by default */
.menu-checkbox,
.menu-btn,
.mobile-wa {
    display: none;
}

@media (max-width: 992px) {

    /* Header & Navigation */
    header {
        height: auto;
    }

    .menu-btn {
        display: block;
        font-size: 24px;
        color: #0E6252;
        cursor: pointer;
        order: 2;
    }

    .desktop-wa {
        display: none;
    }

    /* Hide the floating green button on mobile */

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    }

    /* Toggle Menu Logic */
    .menu-checkbox:checked~nav {
        max-height: 500px;
    }

    nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    .mobile-wa {
        display: block;
    }

    /* Hero Section */
    .hero h1 {
        font-size: 32px;
    }

    .hero {
        height: 760px;
        width: 100%;
        padding: 0 20px;

        background: url("img/sample2.jpg") center/cover no-repeat;
    }


    /* About Section */
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Location Grid */
    .location-grid {
        grid-template-columns: 1fr;
    }

    .location-card,
    .location-card:nth-child(even) {
        flex-direction: column;
    }

    .location-img img,
    .location-content {
        width: 100%;
        height: auto;
    }

    /* Amenities Grid */
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Layout & Contact */
    .layout-map img {
        height: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

}

@media (max-width: 600px) {
    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 20px;
    }

    .contact-wrapper {
        flex-direction: column;
    }

    .contact-box,
    .contact-map {
        flex: 1 1 100%;
    }
}


/* --- FOCAL GALLERY STYLES --- */
.focal-gallery {
    display: flex;
    align-items: center;
    /* Keeps side images centered vertically against the big one */
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    padding: 20px 0;
}

.gallery-item {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* SIDE IMAGES (Smaller) */
.side-img {
    flex: 1;
    /* Takes less space */
    height: 300px;
    max-width: 250px;
    filter: grayscale(40%) blur(1px);
    /* Slightly de-emphasized */
    opacity: 0.7;
}

/* MIDDLE IMAGE (Big & Important) */
.main-img {
    flex: 2;
    /* Takes double space */
    height: 450px;
    /* Much taller than side images */
    max-width: 500px;
    border: 5px solid #fff;
    transform: scale(1.05);
    /* Slight natural zoom */
    z-index: 2;
    position: relative;
    filter: none;
    opacity: 1;
    box-shadow: 0 15px 45px rgba(14, 98, 82, 0.3);
    /* Theme color shadow */
}

/* Hover Effect */
.gallery-item:hover {
    transform: translateY(-10px) scale(1.08);
    filter: none;
    opacity: 1;
    z-index: 5;
}

.img-badge {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #0E6252;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .focal-gallery {
        flex-direction: column;
        /* Stack on mobile */
        gap: 15px;
    }

    .main-img {
        order: 1;
        /* Keep important one first or middle */
        width: 100%;
        height: 350px;
    }

    .side-img {
        width: 100%;
        height: 200px;
        filter: none;
        opacity: 1;
    }
}





/* --- 3D CIRCULAR SLIDER --- */
.slider-wrapper {
    position: relative;
    padding: 60px 0;
    perspective: 1200px;
    /* Essential for 3D depth */
}

.siteSwiper {
    width: 100%;
    height: 500px;
    /* Fixed height for UI stability */
    overflow: visible !important;
    /* Allows 3D rotation to show outside bounds */
}

.swiper-slide {
    width: 500px;
    /* Fixed width for the "Cards" */
    height: 350px;
    background-position: center;

    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    border-radius: 20px;
    overflow: hidden;
    filter: brightness(0.5);
    /* Dim side images */
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Keeps all images looking identical in size */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* THE CENTER ACTIVE SLIDE */
.swiper-slide-active {
    filter: brightness(1.1);
    transform: scale(1.1) translateY(-20px);
    /* Lifts the center image */
    box-shadow: 0 30px 60px rgba(14, 98, 82, 0.4);
    /* Theme Green Glow */
}

/* NAVIGATION BEAUTIFICATION */
.swiper-button-next,
.swiper-button-prev {
    color: #0E6252 !important;

    width: 55px;
    height: 55px;
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #0E6252;
    color: #fff !important;
}

/* Mobile Adjustments */
/* MOBILE ONLY: Full Original View */
@media (max-width: 768px) {
    .siteSwiper {
        height: auto !important;
        /* Allow image to dictate height */
        padding: 20px 0 !important;
    }

    .swiper-slide {
        width: 100% !important;
        /* Take full screen width */
        height: auto !important;
        filter: none !important;
        /* No blur or dimming on mobile */
        transform: none !important;
        /* No scaling */
        background: transparent;
    }

    .swiper-slide img {
        width: 100%;
        height: 250 !important;
        /* Show original proportions */
        object-fit: contain !important;
        /* Ensure nothing is cropped */
        border-radius: 8px;

    }

    /* Hide side arrows on mobile to keep it clean, use swipe gesture */
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}

/* Lightbox Popup Styling */
.lightbox-overlay {
    display: none;
    /* Hidden by default */
    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: 10px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    transform: scale(0.9);
    transition: 0.3s ease;
}

.lightbox-overlay.active .lightbox-img {
    transform: scale(1);
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 50px;
    cursor: pointer;
}

/* Make images look clickable */
.lightbox-trigger {
    cursor: zoom-in;
}

/* Change the color of the arrow icon */
.swiper-button-next::after,
.swiper-button-prev::after {
    color: #0E6252;
    /* Change this to your preferred hex code (e.g., #FFD700 for Gold) */
    font-size: 24px;
    /* You can also change the size here */
    font-weight: bold;
}

/* Optional: If you want to change the color when you HOVER over them */
.swiper-button-next:hover::after,
.swiper-button-prev:hover::after {
    color: #25D366;
    /* Changes to WhatsApp green on hover */
}





/* image hide */

/* --- PURE IMAGE LOCK (NO CONTAINER) --- */
/* --- BUTTON & GHOST IMAGE STYLE --- */
.pure-lock {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

.ghost-img {
    width: 100%;
    filter: blur(20px) brightness(0.8);
    transition: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.unlock-btn {


    position: absolute;
    background: #0E6252;
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: pulseBtn 2s infinite;
}

@keyframes pulseBtn {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(14, 98, 82, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(14, 98, 82, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(14, 98, 82, 0);
    }
}

/* UNLOCKED STATE */
.unlocked .ghost-img {
    filter: blur(0) brightness(1);
}

.unlocked .unlock-btn {
    display: none;
}

/* --- CUSTOM TOAST NOTIFICATION --- */
.custom-toast {
    position: fixed;
    bottom: -100px;
    /* Hidden off-screen */
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    z-index: 10001;
    transition: bottom 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.custom-toast.show {
    bottom: 40px;
    /* Slide up */
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast-content i {
    color: #25D366;
    font-size: 20px;
}

.lock-indicator {
    position: absolute;
    color: #0E6252;
    /* Your theme green */
    font-size: 40px;
    opacity: 0.8;
    transition: 0.4s;
}

/* UNLOCKED STATE */
.unlocked .ghost-img {
    filter: blur(0) opacity(1);
    /* Image becomes sharp and solid */
}

.unlocked .lock-indicator {
    display: none;
    /* Icon disappears */
}

/* POP-UP STYLE */
.layout-pop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.layout-pop img {
    max-width: 90%;
    max-height: 80vh;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.1);
}

.close-x {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 50px;
    cursor: pointer;
}

/* --- INFO MODAL STYLES --- */
.info-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.info-modal-content {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transform: scale(0.7);
    transition: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.info-modal.active .info-modal-content {
    transform: scale(1);
}

.info-modal-icon {
    width: 60px;
    height: 60px;
    background: #fdf2f2;
    color: #e74c3c;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.info-modal-btn {
    background: #0E6252;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
}


/* Styling the form inside the Modal */
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.modal-form input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
}

.modal-form input:focus {
    border-color: #0E6252;
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 25px;
    cursor: pointer;
    color: #999;
}

.modal-close-btn:hover {
    color: #333;
}

/* Icon change for a "Action" feel */
.info-modal-icon {
    background: #e8f5e9 !important;
    color: #2e7d32 !important;
    /* Green for unlock action */
}

.modal-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    font-family: inherit;
    resize: none;
    /* Keeps the popup size stable */
}

.modal-form textarea:focus {
    border-color: #0E6252;
}


/* --- GALLERY LIGHTBOX UI --- */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 100000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 80vh;
    text-align: center;
}

#lightboxImg {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

#lightboxCaption {
    color: #fff;
    margin-top: 15px;
    font-size: 18px;
    font-weight: 500;
}

/* NAVIGATION BUTTONS */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    padding: 20px 15px;
    font-size: 30px;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 5px;
    z-index: 100001;
}

.nav-btn:hover {
    background: #0E6252;
}

.prev {
    left: 30px;
}

.next {
    right: 30px;
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 50px;
    cursor: pointer;
    z-index: 100002;
}

/* Mobile Fix */
@media (max-width: 768px) {
    .nav-btn {
        padding: 10px;
        font-size: 20px;
    }

    .prev {
        left: 10px;
    }

    .next {
        right: 10px;
    }
}

/* --- FLOATING BROCHURE BUTTON (Desktop) --- */
.brochure-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #0E6252;
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    font-weight: bold;
}

.form-fab {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: #0E6252;
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    font-weight: bold;
    border-left: 1px solid rgba(255,255,255,0.3);
}

.brochure-fab.locked {
    background: #0E6252;
    animation: pulseDownload 2s infinite;
}
.form-fab.locked {
    background: #0E6252;
    animation: pulseDownload 2s infinite;
}
/* Remove animation on mobile */
@media (max-width: 767px) {
    .form-fab.locked {
        animation: none !important;
    }
}

.brochure-fab.unlocked {
    background: #25D366;
    /* WhatsApp Green when ready */
    animation: pulseDownload 2s infinite;
}
/* Remove animation on mobile */
@media (max-width: 767px) {
    .brochure-fab.unlocked {
        animation: none !important;
    }
}

.form-fab.unlocked {
    background: #25D366;
    /* WhatsApp Green when ready */
    animation: pulseDownload 2s infinite;
}

#fabIcon {
    font-size: 20px;
    margin-right: 10px;
}

/* --- MOBILE VIEW: FIXED BOTTOM BAR --- */
@media (max-width: 768px) {

    .brochure-fab,
    .form-fab {
        position: fixed;
        bottom: 0;
        width: 50%;
        border-radius: 0;
        padding: 15px;
        justify-content: center;
        display: flex;
        align-items: center;
        z-index: 9999;
    }

    .brochure-fab {
        left: 0;   /* LEFT SIDE */
        right: auto;
        background: #0E6252;
    }

    .form-fab {
        right: 0;  /* RIGHT SIDE */
        left: auto;
        background: #0E6252;
        border-left: 1px solid rgba(255,255,255,0.3);
    }

    body {
        padding-bottom: 45px;
    }
}
/* Pulse animation */
@keyframes pulseDownload {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 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);
    }
}


/* --- CLEAN IMAGE VIEW (No Hiding) --- */
.contact-map {
    position: relative;
    cursor: pointer;
}

.full-visible-img {
    width: 100%;
    border-radius: 15px;
    display: block;
    transition: transform 0.4s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.image-viewer-trigger {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

/* My Thinking: Add a subtle overlay that shows on hover */
.view-overlay {
    position: absolute;
    inset: 0;
    background: rgba(14, 98, 82, 0.4);
    /* Theme Green */
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    opacity: 0;
    transition: 0.3s ease;
}

.image-viewer-trigger:hover .view-overlay {
    opacity: 1;
}

.image-viewer-trigger:hover .full-visible-img {
    transform: scale(1.05);
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: not-allowed;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Loader Circle */
.loader {
    width: 24px;
    height: 24px;
    border: 3px solid #fff;
    border-top: 3px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Close icon hidden initially */
.close-text {
    display: none;
    color: #fff;
    font-size: 20px;
    line-height: 1;
}

/* Animation */
@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}