/* Basic & Global Styles */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #1A1A1A;
    color: #F0F0F0;
    overflow-x: hidden;
}

.page-wrapper {
    display: flex;
}

.main-content {
    flex: 1;
}

.right-sidebar {
    width: 350px;
    background-color: #222222;
    padding: 20px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 30px;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    color: #FFF;
}

a {
    text-decoration: none;
    color: #F0F0F0;
}

/* Header & Navigation */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: fixed;
    width: calc(100% - 350px);
    top: 0;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(5px);
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.contact-btn {
    border: 1px solid #F0F0F0;
    padding: 8px 20px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.contact-btn:hover {
    background-color: #F0F0F0;
    color: #1A1A1A;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 5%;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://oaidalleapiprodscus.blob.core.windows.net/private/org-v12O3l5lY9zS-p7dO6F5qOaF/user-39x5VpP198H5xK2aD7wN7KzY/img-9x5kR8vQWq7z6Nts9jC4927L.png?st=2023-11-20T17%3A40%3A58Z&se=2023-11-20T19%3A40%3A58Z&sp=r&sv=2021-08-06&sr=b&ol=w&o=disclosure&sig=1zY0K2nK5616m8zP5t8F6zO1N7A7zM1N7D7C7Z7I7E70%3D') no-repeat center center/cover;
    opacity: 0.2;
    z-index: -1;
}

.hero-content h1 {
    font-size: 8rem;
    line-height: 1;
    margin: 0;
    letter-spacing: 10px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    transform: translateY(20px);
    opacity: 0;
    transition: transform 1s ease-out, opacity 1s ease-out;
}

.hero-text-block {
    margin-top: 20px;
    width: 400px;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 1s ease-out 0.3s, opacity 1s ease-out 0.3s;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    width: 60%;
    margin-top: 50px;
}

.grid-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.grid-item img:hover {
    transform: scale(1.05);
}

/* Discover Homes Section */
.discover-homes-section {
    padding: 100px 5%;
}

.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.section-header p {
    color: #B0B0B0;
    max-width: 600px;
    line-height: 1.6;
}

.home-carousel {
    position: relative;
}

.carousel-items {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.carousel-item {
    flex: 0 0 450px;
    margin-right: 20px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.carousel-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    gap: 10px;
}
.carousel-nav button {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #FFF;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}
.carousel-nav button:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Outdoor Amenities Section */
.outdoor-amenities-section {
    padding: 100px 5%;
    background-color: #222;
    text-align: center;
}

.amenities-image-container {
    max-width: 1000px;
    margin: 50px auto 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.responsive-amenities-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease-in-out;
}
.responsive-amenities-img:hover {
    transform: scale(1.02);
}

/* Trusted By Section */
.trusted-by-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 100px 5%;
    background-color: #1A1A1A;
}

.trusted-content {
    width: 40%;
}
.trusted-content h2 {
    font-size: 2.5rem;
}
.trusted-content p {
    color: #B0B0B0;
    line-height: 1.6;
    margin-bottom: 30px;
}
.explore-btn {
    background-color: #F0F0F0;
    color: #1A1A1A;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.3s;
}
.explore-btn:hover {
    background-color: #B0B0B0;
    transform: translateY(-3px);
}

.companies-grid {
    width: 50%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.logo-item {
    color: #555;
    font-weight: 600;
    font-size: 1.2rem;
    opacity: 0;
    transform: translateY(20px);
    padding: 20px;
    border: 1px solid #333;
    border-radius: 8px;
    transition: color 0.3s;
}
.logo-item:hover {
    color: #F0F0F0;
}

/* Client Feedback Section */
.client-feedback-section {
    padding: 100px 5%;
    text-align: center;
}
.client-feedback-section h2 {
    font-size: 2.5rem;
}

/* Right Sidebar */
.right-sidebar {
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.right-sidebar h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feedback-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.feedback-card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}
.feedback-card .price {
    font-weight: 600;
    margin-top: 5px;
    color: #B0B0B0;
    font-size: 0.9rem;
}

.sidebar-stats {
    display: flex;
    justify-content: space-between;
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    padding: 20px 0;
}

.stat-item span {
    font-size: 2rem;
    font-weight: 700;
    color: #F0F0F0;
}

.stat-item p {
    color: #B0B0B0;
    margin: 0;
    font-size: 0.9rem;
}

.contact-form-section {
    margin-top: 40px;
}

.contact-form input, .contact-form textarea {
    width: calc(100% - 20px);
    padding: 10px;
    background-color: #333;
    border: none;
    color: #F0F0F0;
    margin-bottom: 15px;
    border-radius: 5px;
}
.contact-form textarea {
    min-height: 80px;
    resize: vertical;
}

.form-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.submit-btn {
    background-color: #F0F0F0;
    color: #1A1A1A;
    border: none;
    padding: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
    width: 100%;
    border-radius: 5px;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #B0B0B0;
}

.sidebar-bottom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.sidebar-bottom-grid .bottom-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Footer */
.main-footer {
    text-align: center;
    padding: 40px 5%;
    border-top: 1px solid #333;
    margin-top: 50px;
}
.main-footer h3 {
    color: #B0B0B0;
    font-size: 1.1rem;
    font-weight: 400;
}
.main-footer .social-links a {
    color: #B0B0B0;
    margin: 0 10px;
    font-size: 0.9rem;
}
.main-footer .footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 30px;
}
.sidebar-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    margin-top: auto;
}
.sidebar-footer .footer-links a {
    color: #B0B0B0;
    margin: 0 5px;
    font-size: 0.8rem;
}


/* ------------------------------------------------------------------------------------------------------------------ */
/* --- Responsive Design with Media Queries --- */
/* ------------------------------------------------------------------------------------------------------------------ */

@media (max-width: 1100px) {
    /* For tablets and smaller desktops */
    .page-wrapper {
        flex-direction: column;
    }

    .main-header {
        width: 100%;
        position: static; /* Let the header scroll with the page */
        background: #1a1a1a;
        backdrop-filter: none;
    }

    .right-sidebar {
        position: static;
        width: auto;
        box-shadow: none;
        padding: 40px 5%;
    }

    .hero-content h1 {
        font-size: 6rem;
    }

    .hero-grid {
        width: 80%;
    }

    .trusted-by-section {
        flex-direction: column;
        text-align: center;
    }
    
    .trusted-content {
        width: 100%;
        margin-bottom: 50px;
    }

    .companies-grid {
        width: 100%;
    }
}

@media (max-width: 768px) {
    /* For larger mobile devices (tablets in portrait) */
    .main-nav, .contact-btn {
        display: none; /* Hide navigation on small screens to simplify header */
    }

    .hero-section {
        padding: 50px 5%;
        padding-top: 80px; /* Adjust padding for new header */
    }
    
    .hero-content h1 {
        font-size: 4rem;
        letter-spacing: 5px;
    }

    .hero-grid {
        grid-template-columns: 1fr 1fr; /* 2 columns for smaller grid images */
        width: 100%;
    }
    
    .hero-text-block {
        width: 100%;
    }

    .carousel-item {
        flex: 0 0 90vw; /* Use viewport width for better responsiveness */
        margin-right: 15px;
    }
    
    .carousel-nav {
        display: none; /* Hide carousel buttons and rely on touch-scroll */
    }
    
    .companies-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .feedback-grid, .sidebar-bottom-grid {
        grid-template-columns: 1fr;
    }

    .form-cols {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    /* For small mobile devices */
    .main-header {
        justify-content: center;
    }
    .logo {
        text-align: center;
        width: 100%;
    }
    
    h1 {
        font-size: 3rem;
    }

    .hero-grid {
        grid-template-columns: 1fr; /* Stack grid images on top of each other */
    }
    
    .sidebar-stats {
        flex-direction: column;
        gap: 20px;
    }
}

/* Background Video Fixed */
.hero-video {
    position: fixed;         /* fixed so it stays in viewport */
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -2;
}
.hero-bg,
.hero-overlay {
    position: fixed;        /* fixed with video */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-content,
.hero-images {
    position: relative;      /* so they scroll normally */
    z-index: 2;
}
.discover-homes-container {
  display: flex;
  align-items: center;  /* vertically center text & images */
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap; /* ensures responsive stacking on small screens */
}

/* Left side text */
.section-header {
  flex: 1;
  max-width: 50%;
}

.section-header h2 {
  font-size: 28px;
  margin-bottom: 15px;
}

.section-header p {
  font-size: 16px;
  line-height: 1.6;
  text-align: justify;
}

/* Right side images */
.home-carousel {
  flex: 1;
  max-width: 50%;
  position: relative;
}

.home-carousel img {
  width: 100%;
  border-radius: 12px;
}

/* Responsive (stack on mobile) */
@media (max-width: 768px) {
  .discover-homes-container {
    flex-direction: column;
  }
  .section-header, 
  .home-carousel {
    max-width: 100%;
  }
}
.discover-homes-container {
  display: flex;
  align-items: center;       /* vertically align text & images */
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;           /* stack on small screens */
  margin: 40px auto;
  max-width: 1200px;
}

/* Left side text */
.section-header {
  flex: 1;
  max-width: 50%;
}

.section-header h2 {
  font-size: 28px;
  margin-bottom: 15px;
}

.section-header p {
  font-size: 16px;
  line-height: 1.6;
  text-align: justify;
}

/* Right side carousel */
.home-carousel {
  flex: 1;
  max-width: 50%;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.carousel-items {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-item {
  min-width: 100%;
}

.carousel-item img {
  width: 100%;
  display: block;
  border-radius: 12px;
}

/* Navigation buttons */
.carousel-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.carousel-nav button {
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 50%;
}

/* Responsive (stack text & images on mobile) */
@media (max-width: 768px) {
  .discover-homes-container {
    flex-direction: column;
  }
  .section-header,
  .home-carousel {
    max-width: 100%;
  }
}
.brochure-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 28px;
    background: #0647d4; /* orange */
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.brochure-btn:hover {
    background: #0547e2;
    transform: scale(1.05);
}
.amenities-image-container {
    display: flex;
    justify-content: center; /* center horizontally */
    gap: 15px; /* space between images */
    flex-wrap: wrap; /* allows wrapping on smaller screens */
}

.responsive-amenities-img {
    max-width: 48%; /* two images fit in one row */
    height: auto;
    border-radius: 8px; /* optional styling */
}
.section-header {
    text-align: center;
    margin-bottom: 20px; /* optional spacing */
}

.amenities-marquee {
    overflow: hidden;
    background: #f9f9f9;
    padding: 20px 0;
}

.marquee-wrapper {
    display: flex;
    width: 200%; /* For continuous loop */
}

.marquee-content {
    display: flex;
    gap: 30px;
    animation: scrollLeft 20s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused; /* Pause on hover */
}

.marquee-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
}

.marquee-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-bottom: 8px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.marquee-item p {
    font-size: 0.9rem;
    text-align: center;
    color: #333;
}

/* Animation */
@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .marquee-item img {
        width: 60px;
        height: 60px;
    }
    .marquee-item p {
        font-size: 0.8rem;
    }
}
.amenities-section {
    padding: 50px 20px;
    background: #f9f9f9;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    color: #082875;
    margin-bottom: 30px;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
    justify-items: center;
}

.amenity-card {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.amenity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.amenity-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 12px;
}

.amenity-card p {
    font-size: 0.95rem;
    color: #333;
    margin: 0;
}

/* Responsive */
@media (max-width: 600px) {
    .amenity-card img {
        width: 60px;
        height: 60px;
    }

    .amenity-card p {
        font-size: 0.85rem;
    }
}
 .container {
    display: flex;
    align-items: center; /* vertically center content */
    gap: 20px; /* space between image and text */
    padding: 40px;
    flex-wrap: wrap; /* for responsiveness */
  }

  .container img {
    width: 100%;
    max-width: 600px; /* adjust as needed */
    border-radius: 10px;
  }

  .text {
    flex: 1; /* text takes remaining space */
  }

  .text h2 {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .text p {
    font-size: 1rem;
    line-height: 1.6;
  }

  /* Responsive: stack on smaller screens */
  @media (max-width: 768px) {
    .container {
      flex-direction: column;
      text-align: center;
    }

    .text {
      flex: unset;
    }

    .container img {
      max-width: 100%;
    }
  }
.container {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 40px;
  flex-wrap: wrap;
}

.container img {
  width: 100%;
  max-width: 600px;
  border-radius: 10px;
  transition: transform 0.4s ease, box-shadow 0.4s ease; /* Smooth animation */
}

/* Hover effect on image */
.hover-img:hover {
  transform: scale(1.05); /* Slight zoom */
  box-shadow: 0 10px 20px rgba(0,0,0,0.3); /* Shadow effect */
}

.text {
  flex: 1;
}

.text h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.text ul {
  margin-bottom: 15px;
  padding-left: 20px;
}

.text p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Animated Contact Button */
.contact-btn {
  display: inline-block;
  padding: 12px 25px;
  background-color: #25D366; /* WhatsApp green */
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  animation: pulse 2s infinite; /* Pulsing animation */
}

.contact-btn:hover {
  background-color: #128C7E;
  transform: scale(1.1);
}

/* Pulse animation */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 20px 10px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    text-align: center;
  }
  
  .text {
    flex: unset;
  }
  
  .container img {
    max-width: 100%;
  }
}
.gallery-section h1 {
    
  text-align: center;   /* Center the text */
  color: #000000;       /* Black color */
  margin-bottom: 30px;  /* Space below heading */
  font-size: 2.5rem;    /* Optional: adjust size */
  font-weight: bold;    /* Optional: bold font */
}
.gallery-section .container {
  display: flex;
  flex-direction: column; /* Stack heading and gallery */
  align-items: center;    /* Horizontal centering */
}

/* Gallery heading styling */
.gallery-title {
  color: #000;            /* Black text */
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;     /* Backup centering */
}
.testimonial-section h2 {
  font-size: 2.5rem;
  color: #f7f4f4;
  margin-bottom: 40px;
  text-align: center;   /* ✅ Centers text horizontally */
  width: 100%;          /* Make sure it spans full width */
  font-weight: bold;    /* Optional: make it bold */
}
.image-content {
  flex: 1;
  text-align: right;
}

.image-content img {
  max-width: 100%;
  border-radius: 12px;
}
.image-content img {
  max-width: 100%;
  border-radius: 12px;
  transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
}

/* Hover Effect */
.image-content img:hover {
  transform: scale(1.05);       /* Zoom */
  box-shadow: 0 8px 20px rgba(0,0,0,0.3); /* Shadow */
  filter: brightness(1.1);      /* Slight brightness */
}
.hero-content h2 {
  font-size: 36px;
  font-weight: bold;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlide 1.2s ease forwards;
}

@keyframes fadeSlide {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
