/*
Theme Name: reality-child
Theme URI: https://reality.inwavethemes.com
Author: inwavethemes
Author URI: http://inwavethemes.com
Template: reality
Description: Reality is  a theme for real estate business with a modern, clean, intuitive, and fully responsive design, that looks perfect on any size tablet or mobile screen.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: reality
Tags: post-formats, theme-options, flexible-header, custom-header, custom-background, custom-colors, left-sidebar, right-sidebar

This theme, like WordPress, is licensed under the GPL.
*/

/* navigation bar */
/* Style last nav item like a button */

/* Theme customization starts here
-------------------------------------------------------------- */
* {
box-sizing: border-box;
} 
/* feature.css - scoped to .feature-page */
.feature-page { --primary:#b0c471; --accent:#4a4a4a; --text:#3b3b3b; font-family: system-ui, Arial, Helvetica, sans-serif; color:var(--text); }

/*titles/links*/
.feature-page .section-title {
    text-align: center;
}

@media (max-width: 650px) {
 .image-with-text-content h1, .image-with-text-content h2,.image-with-text-content h3, .image-with-text-content h4, .image-with-text-content h5,
.image-with-text-content h6 {
    text-align: center;
 }
}
/* layout helpers */
.feature-page .container { width:100%; max-width:1600px; margin:0 auto; padding:40px 0; position: relative; }

@media (min-width: 500px) and (max-width: 1599px) {
    .feature-page .container {
        padding: 40px 1.5rem;
    }
}
.feature-page .section { padding:60px 0; }

/* flex utilities */
.feature-page .flex-container { display:flex; gap:24px; align-items:flex-start; flex-wrap:wrap; }
.feature-page .flex-container.reverse { flex-direction:row-reverse; }
.feature-page .flex-container > * { flex:1 1 50%; min-width:260px; }

/* Hero/title */
.feature-page .feature-hero { text-align:center; padding:80px 0; background:transparent; }
.feature-page .feature-title { font-size:2.6rem; margin:0; line-height:1.05; }


/* ... (Existing styles for progress-section, contact-section etc.) ... */



.sold-out-ribbon-wrapper {
            position: fixed;
            top: 0;
            right: 0;
            width: 150px;
            height: 150px;
            overflow: hidden;
            z-index: 10000000; /* Ensure it stays above everything, including nav and popups */
            pointer-events: none; /* Allows users to click elements underneath if necessary */
        }

        /* The actual banner */
        .sold-out-ribbon {
            background: #e11d2a; /* Premium Red */
            color: #fff;
            text-align: center;
            font-family: 'Inter', sans-serif; 
            font-weight: 800;
            font-size: 14px;
            letter-spacing: 1px;
            text-transform: uppercase;
            line-height: 40px;
            width: 220px;
            position: absolute;
            top: 35px;
            right: -55px;
            transform: rotate(45deg);
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
            border: 1px solid rgba(255,255,255,0.2);
        }

        /* Optional: Desaturate the page slightly when sold out to emphasize the status */
        body.is-property-sold-out .hero-section {
            filter: grayscale(20%);
        }





/* =========================================================
   FEATURE HEADER – FULL CSS (WITH MARKED CHANGES)
   ========================================================= */

/* Base header */
/* Base header */
#feature-header {
            position: fixed;
            top: 0; left: 0; right: 0;
            z-index: 9999;
            transition: background 300ms ease, padding 300ms ease;
            background: #404335;
        }

        #feature-header.is-scrolled {
            box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        }

        .nav-container {
            display: flex;
            align-items: center;
            justify-content: flex-end; /* Align menu to the right */
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
            position: relative;
            min-height: 75px;
        }

        /* --- LOGO LOGIC --- */
        .logo-card {
            position: absolute;
            top: 0;
            left: 30px;
            background-color: #f5f5f5;
			width: 15%;
            border-radius: 0 0 10px 10px;
            padding: 20px 0 ;
            box-shadow: 0 12px 30px rgba(0,0,0,0.15);
            z-index: 100;
            transition: opacity 300ms ease, transform 300ms ease;
        }

		.logo-href {
 			display: flex;
			justify-content: center;
		}

        #feature-header.is-scrolled .logo-card {
            opacity: 0;
            transform: translateY(-100%);
            pointer-events: none;
        }

        .nav-logo {
            position: absolute;
            left: 30px;
            display: flex;
            align-items: center;
            opacity: 0;
            transform: translateY(-10px);
            transition: all 300ms ease;
            background: #fff;
            padding: 5px 0px;
            border-radius: 4px;
        }

        #feature-header.is-scrolled .nav-logo {
            opacity: 1;
            transform: translateY(0);
        }

        .logo-card img { height: 70px; width: 100%; display: block; margin-left: 50px; margin-right: 50px; }
        .nav-logo img { height: 50px; width: 90px; display: block; }

        /* --- DESKTOP NAVIGATION --- */
        #feature-navbar {
            display: block; /* Visible by default on desktop */
        }



.feature-nav-menu li {
    position: relative; /* Base for absolute positioning of sub-menu */
}

/* 2. Hide Sub-menu by default */
.feature-nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 200px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    list-style: none;
    padding: 10px 0;
    margin: 0;
	border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
}

/* 3. Show on Hover (Desktop) */
.feature-nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 4. Sub-menu Item Styles */
.feature-nav-menu .sub-menu li {
    width: 100%;
}

.feature-nav-menu .sub-menu a {
    padding: 10px 20px;
    display: block;
    color: #333;
    font-size: 14px;
    text-transform: none; /* Keep sub-links clean */
    white-space: nowrap;
}

.feature-nav-menu .sub-menu a:hover {
    background: #f8f8f8;
    color: #b0c471; /* Your theme color */
}





        .feature-nav-menu a {
            color: #ffffff;
            font-size: 0.9rem;
            font-weight: 700;
            text-transform: uppercase;
            text-decoration: none;
            letter-spacing: 1px;
            transition: opacity 0.2s;
        }

        .feature-nav-menu a:hover {
            opacity: 0.7;
        }

        /* --- HAMBURGER BUTTON --- */
        .menu-toggle {
            display: none; /* Hidden on desktop */
            background: none;
            border: none;
            cursor: pointer;
            padding: 10px;
            z-index: 10001;
            outline: none;
        }

        .hamburger {
            display: block;
            width: 25px;
            height: 2px;
            background: #ffffff;
            position: relative;
            transition: background 0.2s ease;
        }

        .hamburger::before, 
        .hamburger::after {
            content: '';
            position: absolute;
            width: 25px;
            height: 2px;
            left: 0;
            background: #ffffff;
            transition: transform 0.3s ease, top 0.3s ease, bottom 0.3s ease;
        }

        .hamburger::before { top: -8px; }
        .hamburger::after { bottom: -8px; }

        /* X Animation State */
        .menu-toggle.open .hamburger {
            background: transparent;
        }

        .menu-toggle.open .hamburger::before {
            top: 0;
            transform: rotate(45deg);
        }

        .menu-toggle.open .hamburger::after {
            bottom: 0;
            transform: rotate(-45deg);
        }

        /* --- MOBILE RESPONSIVE --- */
        @media (max-width: 1105px) {
            .menu-toggle {
                display: block;
            }

            #feature-navbar {
                position: fixed;
                top: 0;
                right: -100%; /* Hidden off-screen */
                width: 80%;
                max-width: 300px;
                height: 100vh;
                background: #33362b;
                transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
                box-shadow: -5px 0 15px rgba(0,0,0,0.3);
                padding-top: 100px;
                z-index: 10000;
                display: block; /* Ensure it's block so transition works */
            }

            #feature-navbar.is-open {
                right: 0;
            }

            .feature-nav-menu {
                flex-direction: column;
                align-items: center;
                gap: 20px;
            }

            .feature-nav-menu a {
                font-size: 1.2rem;
            }
			
			
			.feature-nav-menu .sub-menu {
				position: static; /* Stack sub-menu vertically on mobile */
				opacity: 1;
				visibility: visible;
				display: none; /* Controlled by JS toggle */
				transform: none;
				box-shadow: none;
				background: #f9f9f9;
				padding-left: 20px;
			}

			.feature-nav-menu li.menu-item-has-children.is-open > .sub-menu {
				display: block;
			}
        }

@media( max-width: 443px ) {
	.logo-card{
	width: 35%;
	}
}

@media (min-width: 444px) and (max-width: 778px) {
	.logo-card{
	width: 37%;
	}
} 
/* --------------------------------
* HERO SECTION STYLES
* -------------------------------- */

 .feature-page .hero-section {
    position: relative;
    width: 100%;
    height: 90vh; /* 3/4 of the viewport height */
    overflow: hidden;
    display: flex;
    align-items: center; /* Vertically center content */
    justify-content: flex-start; /* Align content to the left */
}

.feature-page .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Optional overlay to make text pop against busy images */
.feature-page .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* 30% black overlay */
    z-index: 2;
}

.feature-page .hero-content {
    position: relative;
    z-index: 3; /* Above background and overlay */
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.feature-page .hero-text-wrapper {
    max-width: 600px; /* Limit text width for readability */
    color: #fff; /* Assuming white text on hero image */
}

.feature-page .hero-text-wrapper h1,
.feature-page .hero-text-wrapper h2 {
    color: #fff;
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.feature-page .hero-text-wrapper p {
    color: #f0f0f0;
    font-size: 1.25rem;
    line-height: 1.6;
}

/* --------------------------------
* ANIMATION: Slide In Left
* -------------------------------- */
@keyframes slideInLeft {
    0% {
        transform: translateX(-100px); /* Start 100px to the left */
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.slide-in-left {
    /* Apply the animation */
    animation: slideInLeft 1s ease-out forwards;
    /* Ensure it's invisible before animation starts */
    opacity: 0; 
    /* Optional: Add a small delay so it happens after page load */
    animation-delay: 0.2s; 
}


/* --------------------------------
    Responsive Adjustments
* -------------------------------- */
@media (max-width: 1024px) {
    /* ... existing mobile styles ... */
    
    .hero-section {
        height: 60vh; /* Slightly shorter on tablets */
    }
    
    .hero-text-wrapper h1,
    .hero-text-wrapper h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    /* ... existing mobile styles ... */

    .feature-page .hero-section {
        height: 50vh; /* Even shorter on mobile phones */
    }
    
    .feature-page .hero-content {
        padding: 0 20px;
    }

    .feature-page .hero-text-wrapper h1, 
    .feature-page .hero-text-wrapper h2 {
        font-size: 2rem;
    }
    
    .feature-page .hero-text-wrapper p {
        font-size: 1rem;
    }
}

/* Intro and  */
/* ---------- Intro Section (two-column: text left, image right) ---------- */
/* ---------- Strong override: Intro two-column layout (Feature Page) ---------- */
/* scope strictly to the feature page wrapper to avoid site-wide overrides */
.feature-page .intro-section {
  padding: 0 0 48px 0;
  overflow-x: hidden;
}

/* ensure the container we target is the exact one in your template */
.feature-page .intro-section > .container.flex-container,
.feature-page .intro-section .container.flex-container {
  /* Try grid first */
  display: grid !important;
  grid-template-columns: 60% 40% !important;
  gap: 48px !important;
  align-items: center !important;  
}

/* fallback: if theme forces display:flex or grid is broken, use flex */
.feature-page .intro-section .container.flex-container.display-flex-fallback {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 48px !important;
}

/* keep text column normal */
.feature-page .intro-section .intro-text {
  order: 1;
  max-width: 95%;
}

/* keep image column */
.feature-page .intro-section .intro-image {
  order: 2;
  display: flex !important;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: visible;
}

.feature-page .intro-section .intro-image {
  /* make the image wrapper span the viewport while keeping the .container for text */
  position: relative;
  width: 50vw;
  left: 50%;
  margin-left: -20vw;
  margin-right: -50vw;
  right: 50%;
  display: flex !important;
  justify-content: center;
}

/* image styling */
.feature-page .intro-section .intro-image img,
.feature-page .intro-section .intro-image .intro-image__img,
.feature-page .intro-section .intro-image .full-bleed-image {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  border-radius: 65px !important;
  object-fit: cover !important;
  box-shadow: 0 30px 50px rgba(10,10,10,0.08) !important;
}

.feature-page .image-with-text-section .image-with-text-content ul
.feature-page .feature-layout-2-box .layout-2-text ul,
.feature-page .intro-section .intro-text ul,
.feature-page .feature-content-area .feature-layout-2-box .feature-layout-2-content .layout-2-text ul
{
  /*list-style: none;*/
  padding-left: 13px;
}

.feature-page .image-with-text-section .image-with-text-content,
.feature-page .feature-content-area .feature-layout-2-box .feature-layout-2-content .layout-2-text,
.feature-page .feature-layout-2-box .layout-2-text,
.feature-page .intro-section .intro-text ul li {
  position: relative;
  margin-bottom: 0.85rem;
  color: #444;
  font-size: 18px !important;  
  line-height: 29px !important;
}

.feature-page .image-with-text-section .image-with-text-content a,
.feature-page .feature-content-area .feature-layout-2-box .feature-layout-2-content .layout-2-text a,
.feature-page .feature-layout-2-box .layout-2-text a,
.feature-page .paragraph-section .paragragh-text a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  border: 2px solid #000;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #1a1a1a !important;
  transition: all 0.3s ease
}

.feature-page .image-with-text-section .image-with-text-content a:hover,
.feature-page .feature-content-area .feature-layout-2-box .feature-layout-2-content .layout-2-text a:hover,
.feature-page .feature-layout-2-box .layout-2-text a:hover,
.feature-page .paragraph-section .paragragh-text a:hover {
    background-color: #1a1a1a !important;
  color: #fff !important;
  transform: scale(0.9); 
}


.feature-page .image-with-text-section .image-with-text-content ul li::marker,
.feature-page .feature-content-area .feature-layout-2-box .feature-layout-2-content .layout-2-text ul li::marker,
.feature-page .feature-layout-2-box .layout-2-text ul li::marker,
.feature-page .intro-section .intro-text ul li::marker {
  content: '➜\00A0';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary); 
  font-size: 20px !important;
  transform: translateY(2px);
}

.feature-page .image-with-text-section .image-with-text-content p,
.feature-page .paragraph-section .paragragh-text p,
.feature-page .feature-layout-2-box .layout-2-text p, .progress-text-content p,
.feature-page .intro-section .intro-text p { font-size: 18px !important; line-height: 29px !important; }

/* responsive: stack on smaller screens */
@media (max-width: 980px) {
  .feature-page .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .feature-page .image-with-text-section .image-with-text-content {
    transform: translate(-50%, -20%) !important; /* Fine-tune centering */
    padding: 0 30px;
  }

     .image-with-text-section {
        padding-top: 40%; 
        padding-bottom: 12%; /* Increase vertical size on small screens */
    }

  /* stack columns (text then image) */
  .feature-page .intro-section > .container.flex-container,
  .feature-page .intro-section .container.flex-container {
    grid-template-columns: 1fr !important;
    display: block !important;
  }

  /* Make the image column behave like a normal full-width block */
  .feature-page .intro-section .intro-image {
    width: 100% !important;
    max-width: 100% !important;
    margin: 18px 0 0 0 !important; /* keep some gap above image */
    left: auto !important;
    right: auto !important;
    transform: none !important;
    overflow: visible;
    display: block !important;
    justify-content: flex-start !important;
  }

  /* Target the image itself (no wrappers assumed) */
  .feature-page .intro-section .intro-image img,
  .feature-page .intro-section .intro-image .intro-image__img,
  .feature-page .intro-section .intro-image .full-bleed-image {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    box-shadow: 0 18px 30px rgba(10,10,10,0.06) !important;
    display: block !important;
  }
  
 .feature-page .image-with-text-section .image-with-text-content ul, 
.feature-page .feature-layout-2-box .layout-2-text ul,
.feature-page .intro-section .intro-text ul,
.feature-page .feature-content-area .feature-layout-2-box .feature-layout-2-content .layout-2-text
{
  margin: 0.4rem 0 1.0rem;
}

.feature-page .image-with-text-section .image-with-text-content,
.feature-page .feature-content-area .feature-layout-2-box .feature-layout-2-content .layout-2-text,
.feature-page .feature-layout-2-box .layout-2-text,
.feature-page .intro-section .intro-text ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 0.80rem;
  font-weight: 400;
  font-size: 16px !important;  
  line-height: 25px !important;
}

.feature-page .image-with-text-section .image-with-text-content a,
.feature-page .feature-content-area .feature-layout-2-box .feature-layout-2-content .layout-2-text a,
.feature-page .feature-layout-2-box .layout-2-text a,
.feature-page .paragraph-section .paragragh-text a, .progress-text-content a {
  padding: 8px 14px;
  border-radius: 999px;
  border: 2px solid #000;
  font-weight: 600;
  letter-spacing: 0.01em;
}


.feature-page .image-with-text-section .image-with-text-content ul li::marker,
.feature-page .feature-content-area .feature-layout-2-box .feature-layout-2-content .layout-2-text ul li::marker,
.feature-page .feature-layout-2-box .layout-2-text ul li::marker,
.feature-page .intro-section .intro-text ul li::before {
  font-size: 17px !important;
}

  /* Slightly larger paragraph text & line-height for readability */
  .feature-page .image-with-text-section .image-with-text-content p,
  .feature-page .paragraph-section .paragragh-text p,
  .feature-page .feature-layout-2-box .layout-2-text p, .progress-text-content p
  .feature-page .intro-section .flex-container .intro-text p {
    font-size: 17px !important;
    line-height: 26px !important;
  }

  /* Adjust CTA spacing so buttons sit nicely under the text */
  .feature-page .intro-section .intro-ctas {
    margin-top: 16px;
    gap: 10px;
    justify-content: flex-start;
  }
}






/* Swiper containers */
.feature-page .swiper-container { width:100%; position:relative; margin:18px 0; }
.feature-page .swiper-slide img { width:100%; height:auto; display:block; border-radius:6px; }
.feature-page .swiper-button-prev, .feature-page .swiper-button-next { color:#111; }

/* Progress */
.progress-section {
    width: 100%;
    padding: 80px 0; /* Vertical padding */
}

.progress-section-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1900px ! important; /* Wider container for this specific section */
}

/* Left Side: Image Gallery Container */
.progress-gallery-container {
    flex: 1.5; /* Takes more space than the text (e.g., 60% width) */
    position: relative;
    padding: 40px; /* Padding inside the green/grey background */
}

.progress-image-list {
    display: flex;
    overflow: hidden;
    border-radius: 65px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    height: 55vh; /* Set a fixed height based on viewport for the image container */
    max-height: 650px;
}

.progress-image-item {
    position: relative;
    flex: 1; /* Each item starts with equal width */
    height: 100%;
    min-width: 100px; /* Minimum visible width for non-hovered items */
    transition: flex 0.4s ease-out, opacity 0.4s ease-out;
    cursor: pointer;
    overflow: hidden;
}

.progress-image-item:hover {
     flex: 4; /*Stretches the hovered item*/ 
    z-index: 2;
}

.progress-image-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: background 0.4s ease-out;
    z-index: 2;
}

.progress-image-item:hover::after {
    background: rgba(0, 0, 0, 0.45);
}

.progress-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease-out, 
    transform 0.4s ease-out;
    z-index: 1;
}

/* Image fading on hover for other images */
.progress-image-list:hover .progress-image-item:not(:hover) img {
    opacity: 1; /* Fades the non-hovered images */
}

/* Image Title Overlay (Alt/Caption Text) */
/* Centered overlay text */
.image-title-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%); /* slightly below center */
    color: white;
    font-size: 19px;
    font-weight: bold;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    animation: none;
    z-index: 3;
}

/* When hovering, fade in + bounce */
.progress-image-item:hover .image-title-overlay {
    opacity: 1;
    transform: translate(-50%, -50%); /* perfect center */
    animation: bounceText 1.4s ease-in-out infinite;
}

/* Keyframes for gentle up/down bounce */
@keyframes bounceText {
    0% {
        transform: translate(-50%, -50%);
    }
    50% {
        transform: translate(-50%, -70%);
    }
    100% {
        transform: translate(-50%, -50%);
    }
}

/* Right Side: Text Content */
.progress-text-content {
    flex: 1; /* Takes smaller portion (e.g., 40% width) */
    padding-right: 40px;
    color: #ffffff; /* White text over the dark gradient side */
}



/* Button Styling (Assuming standard button structure) */
.progress-text-content a {
    background-color: #d8e0ae; /* Light green button color */
    color: #fff;
    display: inline-block;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 10px 16px;
    transition: background-color 2s ease-out;
    border: 2px solid #d8e0ae;
}

.progress-text-content a:hover {
    background-color: transparent;
    border: 2px solid #fff;
}
@media (max-width: 1024px) {
    .progress-section-inner {
        flex-direction: column;
        padding: 0 20px;
    }

    .progress-gallery-container {
        flex: auto;
        width: 100%;
        padding: 0;
    }
    
    .progress-image-list {
        /* CHANGED: Vertical Stack for Mobile */
        flex-direction: column; 
        overflow: hidden; 
        height: 50vh; /* Give the container a reasonable vertical height */
        max-height: 500px;
    }

    .progress-image-item {
        /* CHANGED: Vertical Flex properties */
        flex: 1; /* Start with equal height */
        min-height: 0; /* Allow the item to fully compress */
        min-width: auto; /* Remove horizontal constraint */
        width: 100%; /* Take full horizontal width */
        
    }
    
    .progress-image-item img {
        /* Ensure images inside still cover the item area */
        width: 100%;
        height: 100%;
    }


    .progress-image-item:last-child {
        margin-right: 0;
    }

    .progress-image-item:hover {
        /* CHANGED: Vertical Stretch */
        flex: 4; /* Stretches the hovered item vertically */
        z-index: 2;
    }

    /* Adjust padding for the image title overlay to fit better on smaller items */
    .image-title-overlay {
        padding: 10px;
        font-size: 0.9em;
    }


    .progress-text-content {
        flex: auto;
        width: 100%;
        padding: 40px 20px 0;
        text-align: center; /* Center text on mobile */
    }
}

@media (max-width: 768px) {
    /* ... (existing mobile CSS) ... */

    .image-with-text-section {
        padding-top: 40%; 
        padding-bottom: 40%; /* Increase vertical size on small screens */
    }

    .image-with-text-content {
        padding: 0 30px;
    }
    
    .progress-section {
        padding: 40px 0;
    }
}


/* Combined */
.image-with-text-section {
    position: relative;
    width: 100%;
    padding-top: 10%; /* Adjust this percentage to control vertical size */
    overflow: hidden;
}

.image-with-text-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 25%;
    background-repeat: no-repeat;
    transform: scale(1);
    background-color: rgba(0, 0, 0, 0.4); 
    background-blend-mode: multiply;
}

.image-with-text-content {
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Fine-tune centering */
    z-index: 10;
    color: #ffffff; /* White text for contrast */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.image-with-text-content h1,
.image-with-text-content h2,
.image-with-text-content h3, .image-with-text-content h4, .image-with-text-content h5,
.progress-text-content h1,
.progress-text-content h2,
.progress-text-content h3,
.progress-text-content h4,
.progress-text-content h5,
.progress-text-content h6,
.progress-text-content p,
.image-with-text-content p, .image-with-text-content ul li {
    color: #ffffff !important; /* Force white text */
}



/*Mixed Layout*/
/* ---------- layout_nested styles ---------- */
.feature-bg-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.feature-image-bg {
 width: 100%;
 min-height: 900px; /* Each image section takes full viewport height */
 /* position: relative;  L1 and L3 just stack normally inside this container */
 background-size: cover;
 background-position: center;
 background-repeat: no-repeat;
}



/* --------------------------------
* Layout 2: Overlapping Content
* -------------------------------- */

/* This container holds the L2 content box */
.feature-content-area {
 position: relative;
 z-index: 10; 
}

.highlight-section,
.feature-layout-2-box {
 background: #ffffff;
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
 margin: 0 auto;

 /* FIX: L2 box is full width */
 max-width: none;
 width: 100%;
}

/* This inner container centers the content */
.highlight-inner,
.feature-layout-2-content {
 display: flex;
 align-items: center;
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 60px; /* Padding for the inner content */
}

.feature-layout-2-box {
  position: relative;
  z-index: 10;
  margin: clamp(-80px, -8vw, -140px) auto;
  background: #ffffff;
  width: 100%;
}


/* --- Padding adjustments for both layouts --- */
/* Layout 2 Text (Text LEFT, Image RIGHT) - Original Layout */
.feature-layout-2-content {
    flex-direction: row;
}

/* Highlights Layout (Text LEFT, Image RIGHT): REVERTED TO STANDARD ROW 
   * The HTML order is Text then Image, so we use flex-direction: row. */
.highlight-inner {
    flex-direction: row;
    gap: 30px/* CHANGED from row-reverse */
}


/* --- Padding adjustments for both layouts --- */

/* Layout 2 Text (Text LEFT, Image RIGHT) - Original Layout */
.layout-2-text {
    flex: 1;
    padding-right: 40px; /* Separates text from image on the right */
    padding-left: 0;
}

/* Highlight Text (Text LEFT, Image RIGHT) - NOW MATCHES LAYOUT 2 PADDING */
.highlight-inner .highlight-text { /* UPDATED THIS BLOCK */
    flex: 1;
    padding-right: 40px; /* Text on left, push spacing to the right */
    padding-left: 0; 
}


.highlight-images,
.layout-2-images {
 flex: 1;
animation: fade-in 1s ease-out both;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
}

@keyframes fade-in {
    from {
        transform: scale(.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* --------------------------------
* Image Comparison Slider
* -------------------------------- */
.feature-page .feature-layout-2-box .feature-layout-2-content .layout-2-images .image-comparison-slider,
.feature-page .feature-content-area .feature-layout-2-box .feature-layout-2-content .layout-2-images .image-comparison-slider {
 position: relative;
 width: 100%;
 aspect-ratio: 4 / 3;
 border-radius: 65px;
 overflow: hidden;
cursor: ew-resize;
 max-height: 500px;
}

.img-combain-img,
.img-comp-img {
 position: absolute; width: 100%; height: 100%;
 background-size: cover; background-position: center; background-attachment: scroll;
}

.img-compare-before,
.img-comp-background {
 z-index: 1;
 /* clip-path: inset(top, right, bottom, left) */
 clip-path: inset(0 calc(100% - var(--clip-pos)) 0 0);
}

/* Image B (Overlay/After) - Clipped on the Left */
.img-compare-after,
.img-comp-overlay {
 width: 100%; /* Must be 100% */
 z-index: 2;
 /* clip-path: inset(top, right, bottom, left) */
 clip-path: inset(0 0 0 var(--clip-pos));
}

.img-comp-slider-handle {
 position: absolute; top: 0; bottom: 0; left: var(--clip-pos); width: 4px;
 background: #ffffff; z-index: 3; transform: translateX(-50%);
 pointer-events: none;
}
.img-comp-slider-handle .handle-circle {
 position: absolute; top: 50%; left: 50%;
 transform: translate(-50%, -50%);
 width: 40px; height: 40px; border: 2px solid #ffffff;
 border-radius: 50%; background: rgba(255, 255, 255, 0.2);
 backdrop-filter: blur(4px);
}



/*@media (hover: none) and (pointer: coarse) {*/
/*  .feature-layout-1-bg,*/
/*  .feature-layout-3-bg {*/
/*    background-attachment: scroll;*/
/*  }*/
/*}*/

/* --------------------------------
 Responsive (Small Screens)
* -------------------------------- */
@media (max-width: 768px) {

    .feature-bg-container{
        margin-bottom: 30px;
    }
  .highlight-inner {
    flex-direction: column;
  }

  .feature-layout-2-content {
    flex-direction: column;
    padding: 0 30px;
  }

  .feature-layout-2-content .layout-2-text,
  .highlight-inner .highlight-text {
    padding: 30px 0 0;
  }



  .feature-layout-2-box {
    margin: -60px auto;
    padding: 30px 0;
  }

  .layout-2-images {
    width: 100%;
  }

  .image-comparison-slider {
    height: 250px;
    aspect-ratio: unset;
  }

  .feature-layout-3-bg {
    display: none;
  }
}

@media (min-width: 1025px) {
    .feature-layout-3-bg,
    .feature-layout-1-bg {
     background-attachment:fixed;
    }
}

@media ( max-width: 1024px ) {
    .feature-image-bg {
    min-height: 500px;
  }
}


/* Plans */
.feature-page .plans-section { padding: 30px 0;}
.feature-page .plans-section .section-title { text-align: center; margin-bottom: 16px; }

/* Nav bar: horizontally centered, wrap & scroll on small screens */

.feature-page .plans-section .plans-tabs  {
  align-items: center;
  justify-items: center;
}

.feature-page .plans-nav {
  display: flex;
  gap: 10px;
  /*justify-content: center;*/
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 8px 12px;
  background-color: grey;
  -webkit-overflow-scrolling: touch;
}

/* nav button */
.feature-page .plan-nav-item {
  position: relative;
  overflow: hidden;
  background-color: transparent;
  border: none;
  color: #fff;
  padding: 10px 16px;
  font-weight: 1rem;
  cursor: pointer;
  white-space: nowrap;
  min-width: 84px;
  text-align: center;
  margin: 0;
  margin-right: 35px;
  transition:
    color 220ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 220ms cubic-bezier(0.4, 0, 0.2, 1);
}


.feature-page .plan-nav-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #a5ba63;

  transform: translateY(100%);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);

  z-index: -1;
}

/* active nav look */
.feature-page .plan-nav-item.is-active,
.feature-page .plan-nav-item:focus {
  color: #32332e;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  outline: none;
}

.feature-page .plan-nav-item.is-active::before,
.feature-page .plan-nav-item:focus::before {
  transform: translateY(0);
}


/* Panels container */
.feature-page .plans-panels {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Each panel */
.feature-page .plan-panel {
  display: none; /* hidden by default; .is-active shows it */
  width: 100%;
  max-width: 1000px;
  text-align: center;
}

/* visible */
.feature-page .plan-panel.is-active {
  display: block;
}

/* image styling */
.feature-page .plan-panel-image {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  display: inline-block;
  max-height: 700px;
  object-fit: cover;
}

/* placeholder */
.feature-page .plan-panel-placeholder {
  width: 100%;
  height: 300px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f2f2f2;
  border-radius:12px;
  color:#777;
}

/* Make nav buttons wrap into multiple rows on tiny screens (optional) */
@media (max-width: 814px) {
  .feature-page .plans-nav { gap: 6px; padding: 6px; flex-wrap: wrap; overflow-x: visible; }
  .feature-page .plan-nav-item { padding: 5px 9px; min-width: auto; display: flex; }
  .feature-page .plans-section { padding: 0;  }
}

@media (max-width: 480px) {
  .feature-page .plan-nav-item {
    padding: 4px 5px;
  }
}

@media (max-width: 360px) {
  .feature-page .plan-nav-item {
    padding: 0;
  }
}

.location-zoom-section {
    width: 100%;
    background: #ffffff;
    overflow: hidden;
    position: relative;
    padding: 0 0 20px 0;
    z-index: 1;
}

.location-zoom-container {
    width: 100%;
    max-width: 100vw;
    position: relative;
}

.location-image-viewport {
    width: 100%;
    height: 80vh; 
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
    z-index: 5;
}

.zoomable-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform-origin: center center;
    display: block;
}

/* Controls positioned above the image */
.zoom-controls {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 100; /* Higher than image viewport */
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.zoom-btn {
    background: #ffffff;
    border: 1px solid #dddddd;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    padding: 0;
    z-index: 101;
}

.zoom-btn svg {
    width: 24px;
    height: 24px;
    display: block;
    stroke: #333333 !important;
}

.zoom-btn:hover {
    background: #f0f0f0;
    transform: scale(1.05);
}

.zoom-btn.zoom-reset {
    width: auto;
    padding: 0 16px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: #333;
}

/* Medium Screens (Tablets) */
@media (max-width: 1024px) {
    .location-image-viewport {
        height: 60vh;
        padding: 0 0 10px 0;
    }
    .zoom-controls {
        top: 20px;
        right: 20px;
    }
}

/* Small Screens (Mobile) */
@media (max-width: 768px) {
    .location-image-viewport {
        height: 50vh;
        padding: 0 0 4px 0;
    }
    
    .zoom-controls {
        top: 15px;
        right: 15px;
        gap: 8px;
    }

    .zoom-btn {
        width: 38px;
        height: 38px;
        border-radius: 8px;
    }

    .zoom-btn svg {
        width: 18px;
        height: 18px;
    }

    .zoom-btn.zoom-reset {
        padding: 0 10px;
        font-size: 9px;
    }
}
/* Gallery */
/* Gallery grid - 4 columns desktop, 2 tablet, 1 mobile */

.feature-page .gallery-section {
    background: linear-gradient(to bottom, #1a1a1a, #6c6c6c);
}

.feature-page .gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px; /* match 33atview's gap */
  align-items: stretch;
}
.feature-page .gallery-grid .gallery-item {
  display: block;
  overflow: hidden;
  border-radius: 40px; /* image border radius */
  position: relative;
  text-decoration: none;
}
.feature-page .gallery-grid .gallery-thumb {
  width: 100%;
  /* 3:2 aspect ratio -> 66.666% padding trick */
  padding-top: calc(100% * 2 / 3); /* 66.666% */
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: transform 0.5s ease, filter 0.5s ease;
  will-change: transform;
}
.feature-page .gallery-grid .gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.08) 100%);
  opacity: 0.0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.feature-page .gallery-grid .gallery-item:hover .gallery-thumb {
  transform: scale(1.04);
}
.feature-page .gallery-grid .gallery-item:hover::after {
  opacity: 1;
}
@media (max-width: 992px) {
  .feature-page .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .feature-page .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .feature-page .gallery-section { padding: 40px 0; }
}
@media (max-width: 480px) {
  .feature-page .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
      .feature-page .gallery-section { padding: 25px 0; }
}
.glightbox-container .gslide img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Video */
.feature-page .video-section {
    padding: 40px 20px; /* Reduced vertical padding */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.feature-page .video-embed-wrapper {
    position: relative;
    width: 100%;
    /* Shrinking the max-width automatically shrinks the height in aspect-ratio layouts */
    max-width: 1100px; 
    margin: 0 auto;
    /* Adjusted aspect-ratio to be shorter (cinematic) */
    aspect-ratio: 21 / 9; 
    overflow: hidden;
    border-radius: 40px; /* Slightly tighter radius for the shorter height */
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Ensure the iframe fills the shrunken container */
.video-embed-wrapper .embed-responsive,
.video-embed-wrapper .embed-responsive > *,
.video-embed-wrapper iframe {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    object-fit: cover; /* Ensures video fills the shorter area */
}

/* Fallback for older browsers (21:9 ratio is ~42.8%) */
@supports not (aspect-ratio: 21 / 9) {
    .video-embed-wrapper .embed-responsive {
        position: relative !important;
        height: 0 !important;
        padding-top: 42.8% !important; 
    }
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .feature-page .video-embed-wrapper {
        aspect-ratio: 16 / 7; /* Slightly taller on tablet than desktop */
        max-width: 95%;
    }
}

@media (max-width: 768px) {
    .feature-page .video-section {
        padding: 30px 16px;
    }
    .feature-page .video-embed-wrapper {
        aspect-ratio: 16 / 9; /* Return to standard ratio on mobile to keep content visible */
        border-radius: 20px;
    }
}


.feature-page .documents-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.feature-page .documents-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0;
    margin: 0;
    list-style: none;
    justify-content: center;
}

.feature-page .doc-item {
    flex: 1 1 250px;
    max-width: 320px;
}

/* The Button Style */
.feature-page .doc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 14px 24px;
    
    background: #ffffff;
    color: #1a1a1a;
    border: 2px solid #1a1a1a;
    border-radius: 50px;
    
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.feature-page .doc-btn:hover {
   	background: var(--primary);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
	border-color: var(--primary);
}

/* Icon Sizing */
.feature-page .doc-btn svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5px;
    flex-shrink: 0;
}

/* Mobile: Stack them 100% wide */
@media (max-width: 600px) {
    .feature-page .doc-item {
        flex: 1 1 100%;
        max-width: 100%;
    }
}




/* Contact */
#form-loader-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0, 0, 0, 0.4) !important; /* Darker overlay makes the white box pop */
        display: none; 
        align-items: center;
        justify-content: center;
        z-index: 9999999 !important;
        backdrop-filter: blur(4px); /* Modern blur effect */
    }

    /* Box containing the spinner to ensure visibility */
    .loader-container-box {
        background: #ffffff;
        padding: 40px;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .spinner-ring {
        width: 50px;
        height: 50px;
        border: 4px solid #f3f3f3;
        border-top: 4px solid #b0c471; /* Your primary green */
        border-radius: 50%;
        display: block !important;
        animation: spin-loader 1s linear infinite !important;
    }

    .loader-text {
        font-family: sans-serif;
        color: #333;
        font-weight: 600;
        font-size: 14px;
        letter-spacing: 0.5px;
    }

    @keyframes spin-loader {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    /* 2. Success Popup */
    #success-popup {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 10000000;
    }
    .popup-card {
        background: #fff;
        padding: 50px 30px;
        border-radius: 20px;
        text-align: center;
        max-width: 450px;
        width: 90%;
        box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    }
    .check-icon {
        width: 70px; height: 70px; background: #b0c471; color: white;
        border-radius: 50%; display: flex; align-items: center; justify-content: center;
        font-size: 35px; margin: 0 auto 20px;
    }
    .close-popup-btn {
        margin-top: 25px; padding: 12px 35px; background: #b0c471;
        color: white; border: none; border-radius: 50px; cursor: pointer;
    }

    /* Hide default CF7 messages */
    .wpcf7-response-output { display: none !important; }




.contact-section {
    width: 100%;
    overflow-x: hidden; /* Prevent horizontal scroll from the full-bleed image */
    background-color: #ffffff;
}

.contact-section-inner {
    display: flex;
    justify-content: space-between;
    align-items: stretch; /* Stretch children to fill height */
    max-width: 1800px; /* Standard content width */
    margin: 0 auto; /* Center container */
    padding: 0 40px; /* Standard horizontal padding for content */
}

.contact-image-container {
    flex: 1;
    position: relative;
    /* This line breaks the image out of the container to align with the viewport edge */
    margin-left: calc(-50vw + 50%); 
    width: 50%;
    min-height: 500px; /* Ensure a decent height for the image area on desktop */
}

.contact-image-container img {
    width: 100%;
    /*height: 100%;*/
    object-fit: cover;
    border-radius: 65px; /* Rounded corners */
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form-content {
    flex: 1; /* Take up the remaining space */
    padding-left: 60px; /*Space between image and form */
    padding-bottom: 40px;
    max-width: 850px; /* Limit form width for better readability */
}

.contact-form-content h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #333; /* Dark text color */
}

.contact-form-content p.description {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
}

/* --------------------------------
* Styling for Contact Form 7 Fields
* -------------------------------- */
.feature-page .contact-section .contact-section-inner .contact-form-content
  .wpcf7 .wpcf7-form input[type="text"],
.feature-page .contact-section .contact-section-inner .contact-form-content
  .wpcf7 .wpcf7-form input[type="email"],
.feature-page .contact-section .contact-section-inner .contact-form-content
  .wpcf7 .wpcf7-form input[type="tel"],
.feature-page .contact-section .contact-section-inner .contact-form-content
  .wpcf7 .wpcf7-form input[type="url"],
.feature-page .contact-section .contact-section-inner .contact-form-content
  .wpcf7 .wpcf7-form input[type="number"],
.feature-page .contact-section .contact-section-inner .contact-form-content
  .wpcf7 .wpcf7-form textarea,
.feature-page .contact-section .contact-section-inner .contact-form-content
  .wpcf7 .wpcf7-form select {
  /* spacing */
  padding: 12px 16px;
  /* make padding behave reliably */
  box-sizing: border-box;
  /* visuals */
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
  font-size: 0.95rem;
  line-height: 1.3;
  outline: none;
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.feature-page .contact-section .contact-section-inner .contact-form-content
  .wpcf7 .wpcf7-form input[type="submit"],
.feature-page .contact-section .contact-section-inner .contact-form-content
  .wpcf7 .wpcf7-form .wpcf7-submit,
.feature-page .contact-section .contact-section-inner .contact-form-content
  .wpcf7 .wpcf7-form .effect-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;     /* <-- your desired button padding */
  border-radius: 30px;
  border: none;
  cursor: pointer;
  
  font-weight: 700;
  font-size: 0.95rem;
  box-sizing: border-box;
  transition: transform 180ms ease, opacity 150ms ease;
}

.feature-page .contact-section .contact-section-inner .contact-form-content .wpcf7 .wpcf7-form input[type="submit"] {
	background-color: var(--primary);
	color: cornsilk;
}

.feature-page .contact-section .contact-section-inner .contact-form-content .wpcf7 .wpcf7-form .iw-contact-form-7.contact-map.v2 {
    padding: 30px 30px 0;
}

.feature-page .contact-section .contact-section-inner .contact-form-content .wpcf7 .wpcf7-form .iw-contact-form-7.contact-map.v2 .heading-form P { 
    font-size: 16px;
}

.feature-page .contact-section .contact-section-inner .contact-form-content .wpcf7 .wpcf7-form .iw-contact-form-7.contact-map.v2 .form-grid {
          display: grid;
          grid-template-columns: repeat(2, 1fr);
          gap: 20px;
        }

.feature-page .contact-section .contact-section-inner .contact-form-content .wpcf7 .wpcf7-form .iw-contact-form-7.contact-map.v2 .form-grid .field-input.full-width {
  grid-column: span 2;
}

.feature-page .contact-section .contact-section-inner .contact-form-content .wpcf7 .wpcf7-form .iw-contact-form-7.contact-map.v2 .form-grid .field-input.full-width .iw-input input {
  width: 100%;
}

.feature-page .contact-section .contact-section-inner .contact-form-content .wpcf7 .wpcf7-form .iw-contact-form-7.contact-map.v2 .form-grid .field-input .iw-input input:focus {
border-color: var(--primary);
}

.feature-page .contact-section .contact-section-inner .contact-form-content .wpcf7 .wpcf7-form .iw-contact-form-7.contact-map.v2 .form-grid .field-input .iw-input p {
  margin: 0; 
}

.feature-page .contact-section .contact-section-inner .contact-form-content .wpcf7 .wpcf7-form .iw-contact-form-7.contact-map.v2 .form-grid .field-input .iw-input span {
  display: block; 
}

.feature-page .contact-section .contact-section-inner .contact-form-content .wpcf7 .wpcf7-form .iw-contact-form-7.contact-map.v2 .submit-button .effect-button {
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 30px;
    border: none;
}

.feature-page .contact-section .contact-section-inner .contact-form-content .wpcf7 .wpcf7-form .iw-contact-form-7.contact-map.v2 .submit-button .effect-button p {
    display: flex;
    margin-bottom: 0;
    
}

.feature-page .contact-section .contact-section-inner .contact-form-content .wpcf7 .wpcf7-form .iw-contact-form-7.contact-map.v2 .submit-button .effect-button p span {
    display: none;
}

.feature-page .contact-section .contact-section-inner .contact-form-content .wpcf7 .wpcf7-form .iw-contact-form-7.contact-map.v2 .submit-button .effect-button:hover{
transform: scale(0.9);
}

/* --------------------------------
    Responsive (Small Screens)
* -------------------------------- */
@media (max-width: 1024px) {

    /* CONTACT SECTION MOBILE OVERRIDES (Full Width Image on Top) */
    .contact-section-inner {
        flex-direction: column;
        padding: 0; /* Remove inner padding to allow full width image */
    }

    .contact-image-container {
        /* Image goes full width on top, no container breaking */
        width: 100%;
        margin-left: 0; 
        min-height: 350px; 
        order: -1; /* Move image to the top */
    }

    .contact-image-container img {
        border-radius: 0; /* Remove all border-radius for mobile full-width look */
    }

    .contact-form-content {
        width: 100%;
        padding: 40px 20px; /* Re-introduce padding for the form content */
        padding-left: 20px; /* Reset left padding */
    }

    .contact-form-content h2 {
        text-align: center;
    }
}

@media ( max-width: 771px ) {
    .feature-page .contact-section .contact-section-inner .contact-form-content .wpcf7 .wpcf7-form .iw-contact-form-7.contact-map.v2 .form-grid {
        grid-template-columns: 1fr !important; /* Force single column */
        gap: 15px;
    }

    /* Reset the span for elements that were set to two columns wide */
    .feature-page .contact-section .contact-section-inner .contact-form-content .wpcf7 .wpcf7-form .iw-contact-form-7.contact-map.v2 .form-grid .field-input.full-width {
        grid-column: span 1 !important;
    }
}

@media ( max-width: 660px){
    .contact-form-content {
        padding: 15px 18px;
    }
    
    .feature-page .contact-section .contact-section-inner .contact-form-content .wpcf7 .wpcf7-form .iw-contact-form-7.contact-map.v2 {
        padding: 0px 20px 0;
    }
}













/* Footer */
.site-footer {
            background: black;
            color: #fff;
            padding: 60px 0 0 0;
            width: 100%;
            display: block;
        }

        .footer-top {
            margin: 0 auto;
            padding: 40px 30px;
            background-color: #6c7944;
            display: flex;
            flex-direction: column; /* Stack Title then Logos */
            align-items: center;
        }

        .footer-partners-container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
        }

        /* The title takes full width above the logos */
        .footer-partners-container h4 {
            width: 100%;
            text-align: center;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: #fff; /* Lightened for contrast on green */
            margin-bottom: 30px;
            font-weight: 600;
        }

        /* This container justifies the logos evenly */
        .footer-logos-row {
            display: flex;
            justify-content: space-evenly; /* Justifies space even between logos */
            align-items: center;
            flex-wrap: wrap;
            gap: 30px;
        }

        .partner-logo {
            height: 60px;
            width: auto;
            display: block;
            object-fit: contain;
        }

        .partner-logo-amani {
            height: 85px; /* Slightly larger as per your class */
            width: auto;
            display: block;
            object-fit: contain;
        }

      

        /* --- BOTTOM BAR --- */
        .footer-bottom {
            background: var(--primary-red);
            padding: 20px 0;
            width: 100%;
        }

        .footer-bottom-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 12px;
            color: #fff;
        }

        .footer-bottom a {
            color: #fff;
            text-decoration: none;
            margin-left: 15px;
        }

        @media (max-width: 768px) {
            .footer-logos-row { flex-direction: column; gap: 40px; }
            .footer-bottom-container { flex-direction: column; gap: 10px; text-align: center; }
            .footer-bottom a { margin: 0 7px; }
        }


/* Toogle */

:root {
    --fct-green:  #199446;
    --fct-green-hover: #055713;
    --fct-blue:   #2962bc;
    --fct-blue-hover: #0b3d8e;
    --fct-dark:   #1a1a2e;
    --fct-radius: 50%;
    --fct-shadow: 0 4px 20px rgba(0,0,0,.25);
    --fct-size:   60px;
    --fct-gap:    14px;
    --fct-bottom: 28px;
    --fct-right:  28px;
    --fct-z:      999999;
}
 
/* ── Container ──────────────────────────────────────────── */
.fct-wrap {
    position: fixed;
    bottom: var(--fct-bottom);
    right:  var(--fct-right);
    z-index: var(--fct-z);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--fct-gap);
}
 
/* ── Shared Button Base ─────────────────────────────────── */
.fct-btn {
    width:  var(--fct-size);
    height: var(--fct-size);
    border-radius: var(--fct-radius);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--fct-shadow);
    transition: transform .25s cubic-bezier(.4,0,.2,1),
                box-shadow .25s ease,
                background .2s ease;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}
.fct-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(0,0,0,.32);
}
.fct-btn:active {
    transform: scale(.95);
}
.fct-btn svg {
    width: 28px;
    height: 28px;
    fill: #fff;
    pointer-events: none;
}
 
/* ── Main Toggle ────────────────────────────────────────── */
.fct-toggle {
    background: var(--fct-dark);
    z-index: 2;
}
.fct-toggle .fct-icon-close { display: none; }
.fct-wrap.fct-open .fct-toggle .fct-icon-open  { display: none; }
.fct-wrap.fct-open .fct-toggle .fct-icon-close { display: block; }
.fct-wrap.fct-open .fct-toggle {
    transform: rotate(90deg);
}
.fct-wrap.fct-open .fct-toggle:hover {
    transform: rotate(90deg) scale(1.1);
}
 
/* ── Pulse ring on toggle ───────────────────────────────── */
.fct-toggle::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid var(--fct-green);
    opacity: 0;
    animation: fct-pulse 2.5s ease-out infinite;
}
.fct-wrap.fct-open .fct-toggle::before {
    animation: none;
    opacity: 0;
}
 
@keyframes fct-pulse {
    0%   { transform: scale(.9); opacity: .7; }
    100% { transform: scale(1.5); opacity: 0;  }
}
 
/* ── Action Buttons ─────────────────────────────────────── */
.fct-action {
    opacity: 0;
    transform: translateY(20px) scale(.6);
    pointer-events: none;
    transition: opacity .3s ease, transform .35s cubic-bezier(.4,0,.2,1);
}
.fct-wrap.fct-open .fct-action {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.fct-wrap.fct-open .fct-action:nth-child(2) { transition-delay: .06s; }
.fct-wrap.fct-open .fct-action:nth-child(3) { transition-delay: .13s; }
 
.fct-wa   { background: var(--fct-green); }
.fct-wa:hover { background: var(--fct-green-hover); }
 
.fct-call { background: var(--fct-blue); }
.fct-call:hover { background: var(--fct-blue-hover); }
 
/* ── Tooltips (hover labels) ────────────────────────────── */
.fct-action::after {
    content: attr(data-label);
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: var(--fct-dark);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.fct-action:hover::after {
    opacity: 1;
}
 
/* ── Toast Notification ─────────────────────────────────── */
.fct-toast {
    position: fixed;
    bottom: calc(var(--fct-bottom) + var(--fct-size) + 18px);
    right: var(--fct-right);
    z-index: calc(var(--fct-z) + 1);
    background: var(--fct-dark);
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 22px;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0,0,0,.3);
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity .4s ease, transform .4s cubic-bezier(.4,0,.2,1);
}
.fct-toast.fct-toast-show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.fct-toast-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--fct-green);
    flex-shrink: 0;
    animation: fct-dot-blink 1.2s ease-in-out infinite;
}
@keyframes fct-dot-blink {
    0%, 100% { opacity: 1; }
    50%      { opacity: .3; }
}
 
/* ── Mobile tweaks ──────────────────────────────────────── */
@media (max-width: 480px) {
    :root {
        --fct-size:   52px;
        --fct-bottom: 20px;
        --fct-right:  18px;
        --fct-gap:    10px;
    }
    .fct-btn svg { width: 24px; height: 24px; }
    .fct-action::after { display: none; } /* no hover tooltips on touch */
}