/* October 9, 2025 - 07:41 */
/* Global Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #27ae60;
    --accent-color: #e67e22;
    --text-color: #333;
    --light-color: #f5f6fa;
    --dark-color: #2c3e50;
    --transition: all 0.3s ease;
  /*--banner-url: url("/images/logo-bg.png");*/
  --banner-w: 1120px;   /* ← set to the image's real width */
  --banner-h: 120px;    /* ← set to the image's real height */
}


/* The bar is exactly the same size as the banner image */
.nav-banner{
  width: var(--banner-w);
  height: var(--banner-h);

  /* center the whole bar on the page (optional) */
  margin: 12px auto;

  /* put the image on the element without scaling */
  background-image: var(--banner-url);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: auto;          /* keep intrinsic size */

  /* place links ON TOP of the image, aligned to the right */
  display: flex;
  align-items: center;
  justify-content: flex-end;      /* push links to the right edge of the image */
  padding-inline: 18px;           /* inner breathing room */
  border-radius: 14px;            /* optional if your asset has rounded corners */
}


/* links */
.nav-links{
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
  
}
.nav-links a{
  color: #0b2e2e;
  text-decoration: none;
  font-weight: 600;
  
}
.nav-links a:hover{ text-decoration: underline; }

.cta{
  padding: 10px 18px;
  border-radius: 999px;
  background: #23b06c;
  color: #fff;
}


html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    /*line-height: 1.6;*/
    color: var(--text-color);
}

h1, h2, h3, h4 {
    /*font-family: 'Playfair Display', serif;*/
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Elegant, prominent logo styling */
.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
    padding-left: 32px;
    padding-right: 32px;
    height: 100%;
    display: flex;
    align-items: center;
    background: none;
    box-shadow: none;
    line-height: 1;
    white-space: nowrap;
}

.navbar{
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    min-height: 80px;
    display: flex;
    align-items: center;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
}

.nav-right {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    font-size: 1.1rem;
    padding: 0.5rem 0;
    display: block;
    padding-left: 2rem;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--secondary-color);
    color: white !important;
    text-decoration: none;
    border-radius: 10px;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.10);
    font-weight: 600;
}

.cta-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(39, 174, 96, 0.18);
}

.cta-button::after {
    display: none;
}

/* Mobile Navigation */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

@media (max-width: 900px) {
    .logo {
        font-size: 1.5rem;
        padding-left: 12px;
        padding-right: 12px;
    }
    .navbar, .navbar .container {
        min-height: 60px;
    }
}

@media (max-width: 600px) {
    .logo {
        font-size: 1.5rem;
        padding: 1rem 0.5rem 1rem 0;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        padding: 1rem;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        padding: 0.8rem;
        font-size: 1rem;
    }
}

/* Hero Section */
.hero {
    /*height: 100vh;*/
    /*
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('/images/logo-bg.png') no-repeat center center/cover;
                */
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    /*padding-top: 20px;*/
    /*padding-bottom: 100px;*/
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* About Section */
.about {
    padding: 20px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.about .container {
    position: relative;
    z-index: 1;
}

.about h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 2rem;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    text-align: justify;
    margin: 0;
}

.property-details {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(39, 174, 96, 0.1);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.property-details:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.property-details h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);   
    text-align: center;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    display: flex;
    align-items: center;
    padding: 0.8rem 0rem 0rem 0rem;
    border-bottom: 1px solid #f1f3f4;
    transition: all 0.3s ease;
    font-size: 1rem;
    color: #4a5568;
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list li:hover {
    background: rgba(39, 174, 96, 0.05);
    padding-left: 1rem;
    border-radius: 8px;
}

.features-list li i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.about-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-the-villa {
    width: 100%;
    /*max-width: 500px;*/
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.about-the-villa:hover {
    transform: scale(1.02);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    /*background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));*/
    border-radius: 30px;
    opacity: 0.1;
    z-index: 0;
}

.features-list i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Construction Photos Carousel */
.construction-carousel {
    width: 100%;
    max-width: 100%;
    margin-top: 2.5rem;
    background: #f8faf8;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 1.5rem 1rem 2rem 1rem;
    position: static;
    left: unset;
    right: unset;
    margin-left: unset;
    margin-right: unset;
}
.construction-carousel h4 {
    margin-bottom: 1.2rem;
    color: var(--primary-color);
    font-size: 1.2rem;
    text-align: left;
}
.construction-carousel-inner {
    width: 100%;
    max-width: 100%;
    margin: 0;
}
.construction-photos {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0.5rem 0;
    width: 100%;
}
.construction-photos img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    background: #eee;
    flex-shrink: 0;
    transition: transform 0.2s;
}
.construction-photos img:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.carousel-arrow {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: relative;
    z-index: 2;
    transition: background 0.2s, box-shadow 0.2s;
}
.carousel-arrow:hover {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.construction-carousel-inner .carousel-arrow.prev {
    margin-right: 1rem;
}
.construction-carousel-inner .carousel-arrow.next {
    margin-left: 1rem;
}
@media (max-width: 700px) {
    .construction-photos img {
        width: 200px;
        height: 130px;
    }
    .construction-carousel {
        padding: 1rem 0.5rem 1.5rem 0.5rem;
    }
}

/* Gallery Section */
.gallery {
    padding: 20px 0;
    background: #f9f9f9;
    padding-top: 20px;
    padding-bottom: 100px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gallery-overlay h3 {
    margin: 0;
    font-size: 1.2rem;
}

.view-image-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.3s ease;
}

.view-image-btn:hover {
    transform: scale(1.1);
}

/* Gallery Modal */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-modal.active {
    display: flex;
    opacity: 1;
}

.gallery-modal .modal-content {
    background: white;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-modal.active .modal-content {
    transform: translateY(0);
}

.gallery-modal .close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.gallery-modal .close-modal:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.gallery-modal .modal-body {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    padding: 30px;
}

.gallery-modal .modal-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 10px;
}

.gallery-modal .modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-modal .modal-caption {
    padding-right: 20px;
    overflow-y: auto;
    max-height: 500px;
}

.gallery-modal .modal-caption h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.gallery-modal .modal-caption p {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .gallery-modal .modal-body {
        grid-template-columns: 1fr;
    }

    .gallery-modal .modal-image {
        height: 300px;
    }

    .gallery-modal .modal-caption {
        padding-right: 0;
        max-height: none;
    }
}

/* Location Section */
.location {
    padding: 20px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.location::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.location .container {
    position: relative;
    z-index: 1;
}

.location h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
}

.location h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.location-text {
    background: white;
    padding: 0rem 3rem 3rem 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(39, 174, 96, 0.1);
    position: relative;
    overflow: hidden;
}

.location-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.location-text h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.location-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 0rem;
    text-align: justify;
}

.location-text .features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.location-text .features-list li {
    display: flex;
    align-items: center;
    padding: 0.8rem 0rem 0.4rem 0rem;
    border-bottom: 1px solid #f1f3f4;
    transition: all 0.3s ease;
    font-size: 1rem;
    color: #4a5568;
    position: relative;
    padding-left: 1.5rem; /* Make space for custom bullet */
}

.location-text .features-list li::before {
    content: "•"; /* Custom bullet character */
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 20;
    font-size: 1.2rem;
}

.location-text .features-list li:last-child {
    border-bottom: none;
}

.location-text .features-list li:hover {
    background: rgba(39, 174, 96, 0.05);
    padding-left: 1rem;
    border-radius: 8px;
}

.location-text .features-list li i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.map-container {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(39, 174, 96, 0.1);
    position: relative;
    overflow: hidden;
    height: 500px;
}

.map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: var(--light-color);
    padding-top: 20px;
    padding-bottom: 100px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.testimonial-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 4rem;
    color: var(--secondary-color);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -10px;
    font-family: 'Playfair Display', serif;
}

.testimonial-author {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary-color);
}

.author-info h4 {
    color: var(--primary-color);
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.author-info p {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 0.9rem;
}

.testimonial-rating {
    display: flex;
    gap: 0.2rem;
    margin-top: 0.5rem;
}

.testimonial-rating i {
    color: #ffd700;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .testimonial-content {
        padding: 1.5rem;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
}

/* Investment Section */
.investment {
    padding: 100px 0;
    background-color: var(--light-color);
}

.investment-content {
    max-width: 1200px;
    margin: 0 auto;
}

.investment-text {
    text-align: center;
    margin-bottom: 3rem;
}

.investment-intro {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.investment-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.highlight-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateY(-5px);
}

.highlight-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.highlight-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.highlight-card p {
    color: var(--text-color);
    font-size: 0.95rem;
}

.investment-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.investment-form h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.investment-form p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

/* Broker Collaboration Section */
.broker-collaboration {
    padding: 100px 0;
    background-color: white;
}

.broker-content {
    max-width: 1200px;
    margin: 0 auto;
}

.broker-text {
    text-align: center;
    margin-bottom: 3rem;
}

.broker-text h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.broker-text p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.broker-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.benefit-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.benefit-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.benefit-card p {
    color: var(--text-color);
    font-size: 0.95rem;
    margin: 0;
}

.broker-cta {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 3rem;
}

.broker-cta h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.broker-cta p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .investment-highlights,
    .broker-benefits {
        grid-template-columns: 1fr;
    }
    
    .investment-form,
    .broker-cta {
        padding: 1.5rem;
    }
}

/* Contact Section */
.contact {
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
}

.contact h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(39, 174, 96, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.form-group {
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.5rem 0rem 0.5rem 0.5rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.cta-button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(39, 174, 96, 0.3);
}

.cta-button:active {
    transform: translateY(0);
}

.contact-info {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(39, 174, 96, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.contact-info h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.contact-info p {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: #4a5568;
    padding: 0.8rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-info p:hover {
    background: rgba(39, 174, 96, 0.05);
    transform: translateX(5px);
}

.contact-info i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

/* WhatsApp specific styling */
.contact-info p:has(.fab.fa-whatsapp) {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-info p:has(.fab.fa-whatsapp)::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.contact-info p:has(.fab.fa-whatsapp):hover::before {
    left: 100%;
}

.contact-info p:has(.fab.fa-whatsapp) i {
    color: white;
    font-size: 1.4rem;
}

.contact-info p:has(.fab.fa-whatsapp):hover {
    transform: translateX(5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* WhatsApp link styling */
.contact-info p:has(.fab.fa-whatsapp) a {
    color: white;
    font-weight: 600;
}

.contact-info p:has(.fab.fa-whatsapp) a:hover {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-content,
    .location-content,
    .investment-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .location h2 {
        font-size: 2.5rem;
    }
    
    .location-text {
        padding: 2rem;
    }
    
    .location-text h3 {
        font-size: 1.5rem;
    }
    
    .location-text p {
        font-size: 1rem;
        text-align: left;
    }
    
    .map-container {
        height: 350px;
        padding: 1.5rem;
    }
    
    .contact h2 {
        font-size: 2.5rem;
    }
    
    .contact-form,
    .contact-info {
        padding: 2rem;
    }
    
    .contact-info h3 {
        font-size: 1.5rem;
    }
    
    .about h2 {
        font-size: 2.5rem;
    }
    
    .about-text p {
        font-size: 1rem;
        text-align: left;
    }
    
    .property-details {
        padding: 2rem;
    }
    
    .about-the-villa {
        max-width: 100%;
    }
    
    .map-container {
        height: 300px;
    }
    
    .testimonial-image {
        width: 100px;
        height: 100px;
    }
    
    .testimonial-item {
        padding: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .gallery-item img {
        height: 250px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.about-content,
.gallery-grid,
.amenities-grid,
.location-content,
.testimonials-slider,
.investment-content,
.contact-content {
    animation: fadeIn 1s ease-out;
}

/* Living Spaces Section */
.living-spaces {
    padding: 0px 0;
    background-color: var(--light-color);
    padding-top: 20px;
    /*padding-bottom: 100px;*/
}

.spaces-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.space-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.space-card:hover {
    transform: translateY(-5px);
}

.space-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.space-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.space-card:hover .space-image img {
    transform: scale(1.1);
}

.space-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.space-card:hover .space-overlay {
    opacity: 1;
}

.space-overlay h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-align: center;
}

.view-image-btn {
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-image-btn:hover {
    transform: scale(1.1);
}

.space-content {
    padding: 1rem 1.5rem 0.5rem 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.space-content i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.space-content h3 {
    margin-bottom: 0.5rem;
    margin-top:0px;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.space-content p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-top: 0;
    text-align:left;
}

/* Living Spaces Modal */
.living-spaces-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    justify-content: center;
    align-items: center;
}

.living-spaces-modal.active {
    display: flex;
    opacity: 1;
}

.living-spaces-modal .modal-content {
    background: white;
    width: 70vw;
    max-width: 1200px;
    /*height: 70vh;*/
    max-height: 800px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    transform: none;
    transition: transform 0.3s ease;
}

.living-spaces-modal.active .modal-content {
    transform: none;
}

.living-spaces-modal .close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.living-spaces-modal .close-modal:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.living-spaces-modal .modal-body {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    padding: 30px;
    height: 100%;
}

.living-spaces-modal .modal-image {
    width: 100%;
    /*aspect-ratio: 16 / 9;*/
    height: auto;
    min-height: 0;
    overflow: hidden;
    border-radius: 10px;
    background: #eee;
}

.living-spaces-modal .modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.living-spaces-modal .modal-caption {
    padding-right: 20px;
    overflow-y: auto;
    max-height: 600px;
}

.living-spaces-modal .modal-caption h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    margin-top: 0px;
}

.living-spaces-modal .modal-caption p {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .spaces-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .space-image {
        height: 200px;
    }

    .living-spaces-modal .modal-body {
        grid-template-columns: 1fr;
    }

    .living-spaces-modal .modal-image {
        height: 300px;
    }

    .living-spaces-modal .modal-caption {
        padding-right: 0;
        max-height: none;
    }
}

/* Bedrooms Section */
.bedrooms {
    padding: 20px 0;
    padding-top: 20px;
    /*padding-bottom: 100px;*/
}

.bedrooms-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.bedrooms-text {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.bedrooms-text h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.bedrooms-image {
    height: 330px;
    background: #eee;
    border-radius: 10px;
    overflow: hidden;
}

/* Property Details */
.property-details {
    /*margin-top: 2rem;*/
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.property-details h3 {
    margin: 0rem 0rem 0.5rem 0rem;
    color: var(--primary-color);
}

/* Update Amenities Section */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.amenity-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.amenity-card:hover {
    transform: translateY(-5px);
}

.amenity-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}


/* Responsive Design Updates */
@media (max-width: 768px) {
    .bedrooms-content,
    .location-content {
        grid-template-columns: 1fr;
    }
    
    .bedrooms-image {
        height: 300px;
    }
    
    .spaces-grid,
    .amenities-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* Carousel Styles */
.carousel {
    position: relative;
    height: 90vh;
    min-height: 700px;
    width: 100%;
    overflow: hidden;
    background-color: #000;
    margin: 0;
    margin-top: 0;
}

.carousel-inner {
    height: 100%;
    position: relative;
    width: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2),
        rgba(0, 0, 0, 0.6)
    );
    pointer-events: none;
    z-index: 1;
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 3;
    width: 90%;
    max-width: 1000px;
    /*padding: 40px;*/
    padding-bottom:25px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(3px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel-content h2 {
    font-size: 4rem;
    margin-top: 0rem;
    margin-bottom: 0rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    /*font-family: 'Playfair Display', serif;*/
    font-weight: 700;
    letter-spacing: 1px;
}

.carousel-content p {
    font-size: 1.4rem;
    /*margin-bottom: 2.5rem;*/
    margin-top: 0rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.learn-more-btn {
    /*padding: 1.2rem 2.5rem;*/
    padding: 0.6rem 1.25rem;
    text-decoration: none;     
    background-color: rgba(39, 174, 96, 0.9);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    /*text-transform: uppercase;*/
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.learn-more-btn:hover {
    background-color: rgba(39, 174, 96, 1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.carousel-control i {
    color: white;
    font-size: 1.8rem;
}

.carousel-control:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev {
    left: 30px;
}

.carousel-control.next {
    right: 30px;
}

.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 3;
}

.indicator {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

/* Carousel Overlay */
.carousel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-overlay.active {
    display: flex;
    opacity: 1;
}

.overlay-content {
    position: relative;
    width: 95%;
    max-width: 1400px;
    margin: auto;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.5s ease;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.carousel-overlay.active .overlay-content {
    transform: translateY(0);
}

.close-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.close-overlay:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.overlay-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    padding: 40px;
    overflow: hidden;
}

.overlay-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.overlay-image img {
    width: 100%;
    height: auto;
    display: block;
}

.overlay-details {
    padding-right: 20px;
    overflow-y: auto;
    max-height: calc(90vh - 80px);
}

.overlay-details h3 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.overlay-details p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
    font-size: 1.1rem;
}

.overlay-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 2rem;
}

.overlay-thumbnails img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.overlay-thumbnails img:hover {
    transform: scale(1.05);
    border-color: #27ae60;
}

.overlay-thumbnails img.active {
    border-color: #27ae60;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .overlay-main {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .overlay-details {
        padding-right: 0;
        max-height: calc(90vh - 40px);
    }

    .overlay-details h3 {
        font-size: 2rem;
    }
}

/* Wildlife Section */
.wildlife {
    padding: 20px 0;
    background-color: var(--light-color);
    padding-top: 20px;
    padding-bottom: 100px;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.2rem;
    color: var(--text-color);
}

.wildlife-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.wildlife-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.wildlife-card:hover {
    transform: translateY(-5px);
}

.wildlife-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.wildlife-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.wildlife-card:hover .wildlife-image img {
    transform: scale(1.1);
}

.wildlife-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.wildlife-card:hover .wildlife-overlay {
    opacity: 1;
}

.wildlife-overlay button {
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.wildlife-overlay button:hover {
    transform: scale(1.1);
}

.wildlife-content {
    padding: 1.5rem;
}

.wildlife-content h3 {
    margin-bottom: 0.5rem;
    margin-top:0px;
    color: var(--primary-color);
}

.wildlife-content p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.expand-info {
    padding: 0.5rem 1rem;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.expand-info:hover {
    background: var(--accent-color);
}

/* Wildlife Modal */
.wildlife-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wildlife-modal.active {
    display: flex;
    opacity: 1;
}

.wildlife-modal .modal-content {
    height: 90vh;
    display: flex;
    flex-direction: column;
}

.wildlife-modal .modal-body {
    flex: 1 1 auto;
    height: 100%;
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 30px;
}

.wildlife-modal .modal-info {
    overflow-y: auto;
    max-height: 500px;
    padding: 16px;
    border-left: 1px solid #eee;
    background: #fff;
    scrollbar-gutter: stable;
}

.wildlife-modal .close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.wildlife-modal .close-modal:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.wildlife-modal .modal-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 10px;
}

.wildlife-modal .modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wildlife-modal .modal-caption {
    padding-right: 20px;
    overflow-y: auto;
    max-height: 500px;
}

.wildlife-modal .modal-caption h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.wildlife-modal .modal-caption p {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.wildlife-modal .species-list {
    display: block;
}

@media (max-width: 768px) {
    .carousel {
        height: 60vh;
        min-height: 400px;
        margin-top: 0;
    }
    
    .carousel-content h2 {
        font-size: 2rem;
    }
    
    .carousel-content p {
        font-size: 1rem;
    }
    
    .carousel-control {
        width: 40px;
        height: 40px;
    }
    
    .wildlife-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Discover Section */
.discover {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.discover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.discover .container {
    position: relative;
    z-index: 1;
}

.discover-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

.discover-text {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(39, 174, 96, 0.1);
    position: relative;
    overflow: hidden;
}

.discover-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.discover-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.discover-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.discover-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 2rem 0 2rem 0;
    text-align: center;
    position: relative;
}

.discover-text h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 1px;
}

.discover-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.discover-image {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(39, 174, 96, 0.1);
    position: relative;
    overflow: hidden;
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
}

.discover-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.discover-image img {
    width: 66.67%; /* Reduced by 1/3 (100% - 33.33% = 66.67%) */
    height: auto; /* Maintains aspect ratio */
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.discover-image img:hover {
    transform: scale(1.02);
}

/* Quick Facts Widget */
.quick-facts {
    max-width: 900px;
    margin: 2rem auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 2rem;
}

.quick-facts-flex {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.quick-facts-image img {
    width: 225px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.quick-facts-content {
    flex: 1;
}

.facts-list {
    list-style: disc inside;
    padding-left: 1.5rem;
}

.facts-list li {
    margin-bottom: 1rem;
    display: list-item;
    align-items: flex-start;
    gap: 1rem;
}

.facts-list ul {
    list-style: circle inside;
    margin-left: 2rem;
    margin-top: 0.5rem;
    padding-left: 0.5rem;
}

.facts-list ul li {
    margin-bottom: 0.5rem;
    font-size: 0.98em;
}

@media (max-width: 768px) {
    .quick-facts-flex {
        flex-direction: column;
        align-items: flex-start;
    }
    .quick-facts-image img {
        width: 100px;
        margin-bottom: 1rem;
    }
}

/* Attractions Section */
.attractions {
    padding: 20px 0;
    background-color: var(--light-color);
    padding-top: 20px;
    padding-bottom: 50px;
}

.attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.attraction-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.attraction-card:hover {
    transform: translateY(-5px);
}

.attraction-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.attraction-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.attraction-card:hover .attraction-image img {
    transform: scale(1.1);
}

.attraction-overlay {
    display: none !important;
}

.attraction-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.attraction-content i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.attraction-content h3 {
    margin-bottom: 0.5rem;
    margin-top:0px;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.attraction-content p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.attraction-details {
    margin-top: auto;
    width: 100%;
}

.attraction-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.attraction-details li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 0.9rem;
}

.attraction-details i {
    color: var(--secondary-color);
    font-size: 1rem;
    margin: 0;
}

/* Attractions Modal */
.attractions-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.attractions-modal.active {
    display: flex;
    opacity: 1;
}

.attractions-modal .modal-content {
    background: white;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.attractions-modal.active .modal-content {
    transform: translateY(0);
}

.attractions-modal .close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.attractions-modal .close-modal:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.attractions-modal .modal-body {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    padding: 30px;
}

.attractions-modal .modal-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 10px;
}

.attractions-modal .modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.attractions-modal .modal-caption {
    padding-right: 20px;
    overflow-y: auto;
    max-height: 500px;
}

.attractions-modal .modal-caption h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.attractions-modal .modal-caption p {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.attractions-modal .attraction-info {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1.5rem;
}

.attractions-modal .attraction-info h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.attractions-modal .attraction-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.attractions-modal .attraction-info li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.attractions-modal .attraction-info i {
    color: var(--secondary-color);
    font-size: 1rem;
}

@media (max-width: 768px) {
    .attractions-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .attraction-image {
        height: 200px;
    }

    .attractions-modal .modal-body {
        grid-template-columns: 1fr;
    }

    .attractions-modal .modal-image {
        height: 300px;
    }

    .attractions-modal .modal-caption {
        padding-right: 0;
        max-height: none;
    }
}

/* Investment Banner */
.investment-banner {
    padding: 60px 0;
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 100px;
}

.investment-banner h2 {
    margin-bottom: 1rem;
}

.investment-banner p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Final CTA */
.final-cta {
    padding: 60px 0;
    background-color: var(--light-color);
    text-align: center;
    padding-top: 20px;
    padding-bottom: 100px;
}

.final-cta h2 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.final-cta p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

/* Responsive Design Updates */
@media (max-width: 768px) {
    .discover-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .discover-text {
        padding: 2rem;
    }
    
    .discover-text h2 {
        font-size: 2rem;
    }
    
    .discover-text h3 {
        font-size: 1.3rem;
    }
    
    .discover-text p {
        font-size: 1rem;
        text-align: left;
    }
    
    .discover-image {
        padding: 1.5rem;
    }
    
    .attractions-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .investment-banner,
    .final-cta {
        padding: 40px 0;
    }
}

/* Section Headers */
section {
    scroll-margin-top: 80px;
    margin-bottom: 50px;
}

section h2 {
    margin-top: 1rem;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    text-align: center;
}

@media (max-width: 768px) {
    section {
        scroll-margin-top: 60px;
    }
    
    .hero,
    .about,
    .gallery,
    .living-spaces,
    .bedrooms,
    .amenities,
    .location,
    .testimonials,
    .investment,
    .contact,
    .discover,
    .attractions,
    .wildlife {
        padding-top: 20px;
    }
    
    .carousel {
        margin-top: 0;
    }
}

/* FAQ Section */
.faq {
    padding-bottom: 50px 0;
    background-color: var(--light-color);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.faq-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.faq-item:hover {
    transform: translateY(-5px);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: white;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.faq-toggle {
    background: none;
    border: none;
    color: var(--secondary-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.faq-toggle:hover {
    background: var(--light-color);
    transform: scale(1.1);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

.faq-item.active .faq-toggle i {
    transform: rotate(45deg);
}

.faq-answer p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.faq-answer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.faq-answer li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-color);
}

.faq-answer li::before {
    content: "•";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
}

/* Carousel Video Pan & Zoom Effect */
.video-slide .carousel-video {
    animation: panZoom 20s ease-in-out infinite alternate;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}

@keyframes panZoom {
    0% {
        transform: scale(1) translateX(0);
    }
    50% {
        transform: scale(1.08) translateX(-2%);
    }
    100% {
        transform: scale(1.15) translateX(-4%);
    }
}

.wide-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 95%;
}

.future-development .wide-container {
    padding-left: 0;
    padding-right: 0;
}

.future-projects-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: center;
    align-items: stretch;
    margin-top: 2.5rem;
}

.future-project {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 1.5rem 1rem;
    width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
}
.future-project:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    transform: translateY(-4px) scale(1.03);
}
.future-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Modal styles for future development */
.future-modal {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    transition: opacity 0.3s;
}
.future-modal.active {
    display: flex;
}
.future-modal-content {
    background: #fff;
    border-radius: 12px;
    max-width: 700px;
    width: 95vw;
    padding: 2rem 2rem 1.5rem 2rem;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.future-modal-img {
    width: 100%;
    max-width: 520px;
    height: auto;
    margin: 0 auto 1.5rem auto;
    display: block;
    border-radius: 8px;
}
.close-future-modal {
    position: absolute;
    top: 18px;
    right: 18px;
    background: none;
    border: none;
    font-size: 1.7rem;
    color: #333;
    cursor: pointer;
    z-index: 10;
}
@media (max-width: 900px) {
    .future-projects-grid {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    .future-project {
        width: 95vw;
        max-width: 400px;
    }
}

/* --- Modern Header Styles --- */
.site-header {
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 200;
    border-bottom: 1px solid #eaeaea;
}

.header-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    min-height: 60px;
}

.header-brand {
    display: flex;
    align-items: center;
}

.header-logo {
    height: 38px;
    width: auto;
    margin: 0;
    padding: 0;
    object-fit: contain;
}

.header-title {
    display: flex;
    align-items: center;
    height: 38px;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-left: 1.2rem;
    letter-spacing: 1px;
    white-space: nowrap;
}

.header-nav {
    display: flex;
    align-items: center;
}

.header-nav .nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (max-width: 900px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 1rem;
    }
    .header-nav {
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
    }
    .header-nav .nav-links {
        justify-content: center;
        width: 100%;
        flex-wrap: wrap;
    }
}

@media (max-width: 700px) {
    .header-title {
        font-size: 1rem;
        margin-left: 0.5rem;
        margin-bottom: 0.2rem;
    }
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
}

.species-details {
    margin-top: 2rem;
}

.wildlife-modal .modal-info {
    overflow-y: auto;
    max-height: 500px;
    padding: 16px;
    border-left: 1px solid #eee;
    background: #fff;
    scrollbar-gutter: stable;
}

.wildlife-modal .species-list {
    display: block;
} 


.loader {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #27ae60;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
  display: inline-block;
  vertical-align: middle;
}
@keyframes spin {
  0% { transform: rotate(0deg);}
  100% { transform: rotate(360deg);}
}

#contact-submit-btn {
    padding:15px;
}

.icon-container svg {
    width: 65px;
    height: 48px;
    color: #28a745; /* Bootstrap blue */
  }

/* Bedrooms & Bathrooms Grid - now using unified styling */

/* Bedroom card styles removed - now using unified .space-card styles */

/* All redundant section-specific styles removed - now using unified .space-card styles */

/* Unified grid layouts for all sections */
.spaces-grid,
.bedrooms-grid,
.outdoor-grid,
.grounds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Restrictive media queries removed - now using unified responsive behavior */

@media (max-width: 900px) {
    .spaces-grid,
    .bedrooms-grid,
    .outdoor-grid,
    .grounds-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .spaces-grid,
    .bedrooms-grid,
    .outdoor-grid,
    .grounds-grid {
        grid-template-columns: 1fr;
    }
}

.g-recaptcha
{
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center;    /* Centers vertically */
}