/* --- CSS for Smooth Scroll Behavior --- */
html {
    /* This single line is the modern, preferred way to enable smooth scrolling */
    scroll-behavior: smooth;
}

/* --- CSS for the Back to Top Button Appearance --- */
#backToTopBtn {
    /* display: none; */
     /* Hidden by default, JavaScript will show it */
    position: fixed; /* Fixed position on the screen */
    bottom: 50px; /* Distance from the bottom of the screen */
    right: 30px; /* Distance from the right of the screen */
    z-index: 999; /* Ensures it's on top of other content */
    /* border: 5px solid red; */
    outline: none;
    /* background-color: #333; */
    /* Dark background */
    color: white;
    cursor: pointer;
    /* padding: 15px 20px; */
    border-radius: 50%;
    font-size: 18px;
    /* border: 2px solid #6B4EFF; */
    text-decoration: none; /* If using <a> tag */
    transition: background-color 0.3s; /* Smooth hover effect */
}

/* #backToTopBtn:hover {
    background-color: #555;
} */

/* Custom Properties / Variables */
:root {
    --purple-accent: #6B4EFF;
    --light-purple: #9a83ff;
    --white: #ffffff;
    --light-gray-bg: #f5f7fa;
    --dark-text: #333333;
    --medium-text: #555555;
    --soft-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --border-radius-lg: 15px;
    --border-radius-md: 10px;
    --border-radius-sm: 8px;
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'system-ui', sans-serif;
}
body{
    width: 100%;
}


h1, h2, h3 {
    color: var(--dark-text);
}

.section-title {
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: var(--dark-text);
}







/* --- Desktop / Normal View (Space Around) --- */

.realestate-navbar .container-fluid {
    display: flex;
    /* KEY CHANGE 1: Use space-around for even spacing */
    justify-content: space-around; 
    align-items: center;
    max-width: 1400px; /* Limit width for large screens */
    margin: 0 auto;
}

/* Logo */
.navbar-brand {
    /* Ensure the logo link itself doesn't have extra margins */
    padding: 0;
}

.navbar-brand img {
    width: 150px;
    height: auto;
}

/* Menu Inline */
.navbar-nav.menu {
    display: flex;
    flex-direction: row;
    gap: 25px;
    /* Remove any default Bootstrap margins that might interfere */
    margin: 0; 
}

.menu .nav-link {
    font-size: 18px;
    font-weight: 500;
    color: #333 !important;
    padding: 0 !important;
}

.menu .nav-link:hover {
    color: #9e10a6 !important;
}

/* Phone */
.contact-info {
    display: flex;
    align-items: center;
    font-size: 18px;
    color: #444;
    flex-shrink: 0; /* Prevents phone number from disappearing */
}

/* --- Mobile / Tablet View (Max 768px) - Logo Left, Content Right --- */
@media (max-width: 768px) {
    
    .realestate-navbar .container-fluid {
        /* Set main container to flow horizontally */
        flex-direction: row; 
        flex-wrap: wrap; /* Allow wrapping if content is too wide */
        justify-content: space-between; /* Space out Logo and Right Content Group */
        align-items: flex-start; /* Align contents to the top */
        padding: 10px 15px !important; 
    }
    
    /* 1. Logo (Left Side) */
    .navbar-brand {
        flex-shrink: 0; /* Prevent the logo from shrinking */
        /* Since the phone was moved out of here in the previous step, this is just the logo. */
        width: auto;
        margin: 0;
        padding: 0;
    }

    .navbar-brand img {
        width: 100px; /* Smaller logo */
    }

    /* 2. Content Group (Right Side) */
    /* Create a container for the Menu and Phone to keep them together on the right */
    .navbar-right-mobile {
        display: flex;
        flex-direction: column; /* Stack Menu and Phone vertically on the right */
        align-items: flex-end; /* Align the content within this group to the right */
        width: auto;
        flex-grow: 1; /* Allow it to take up available space */
    }

    /* The HTML doesn't have a dedicated .navbar-right-mobile. 
       We will apply this stacking logic directly to the two right-side elements: Menu and Phone. */
    
    /* Phone Number (Top Right) */
    .contact-info {
        order: 1; /* Place phone first */
        font-size: 14px;
        margin-top: 5px; 
        margin-bottom: 5px;
        /* Ensure it aligns to the far right */
        align-self: flex-end; 
    }

    /* Menu Links (Below Phone Number) */
    .navbar-nav.menu {
        order: 2; /* Place menu second */
        
        /* Force menu items inline/horizontal wrap */
        display: flex;
        flex-direction: row; 
        flex-wrap: wrap; 
        /* justify-content: flex-end; */
         /* Align links to the far right */
        
        width: 100%; /* Take full width to allow centering or right alignment */
        margin-top: 10px;
        margin-left: 0;
        gap: 10px; /* Compact gap */
    }

    .menu .nav-link {
        font-size: 14px; /* Compact font size */
        padding: 3px 6px !important;
        margin: 0;
    }
}
@media (max-width: 576px) {

    #backToTopBtn img {
        width: 40px;
        height: auto;
    }
    .brand-name img{
        width: 100px;
        height: auto;
        margin-left: -20px !important;
    }
}


/* --- Hero Section (Carousel and Overlay) --- */
.hero-section {
    position: relative;
    height: 500px;
    margin-bottom: 40px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

#heroCarousel {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.carousel-item img {
    height: 500px; /* Match hero-section height */
    object-fit: cover;
    filter: brightness(0.7); /* Darken images slightly for readability */
}

/* --- Hero Content and Search Bar (Positioned over Carousel) --- */
.hero-content {
    position: absolute;
    z-index: 10; 
    text-align: center;
    padding: 0 20px;
}

.hero-headline {
    color: var(--white);
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.search-bar {
    display: flex;
    background: var(--white);
    border-radius: 50px;
    padding: 8px; /* Adjusted padding */
    box-shadow: var(--soft-shadow);
    width: 600px;
    max-width: 90%;
    margin: 0 auto;
}

.search-bar input {
    flex-grow: 1;
    border: none;
    outline: none;
    padding: 0 25px;
    font-size: 1.1rem;
    background: transparent;
    color: var(--dark-text);
}

.search-btn {
    background: var(--purple-accent);
    color: var(--white);
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background 0.3s ease-in-out;
}

.search-btn:hover {
    background: var(--light-purple);
}


/* --- Property Categories --- */
.property-categories {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: -100px;
  margin-bottom: 50px;
  position: relative;
  z-index: 11;
  padding: 0 20px;
}

.category-card {
  background: var(--white, #fff);
  border-radius: var(--border-radius-lg, 12px);
  box-shadow: var(--soft-shadow, 0 4px 10px rgba(0, 0, 0, 0.08));
  overflow: hidden;
  text-align: center;
  padding-bottom: 15px;
  flex: 1 1 calc(25% - 25px); /* 4 per row on desktop */
  max-width: 250px;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.category-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.category-card p {
  font-size: 1rem;
  color: var(--text-dark, #222);
  font-weight: 600;
  margin: 0;
}

/* --- Responsive Layouts --- */

/* Tablets (≤ 992px) → 2 or 3 cards per row */
@media (max-width: 992px) {
  .property-categories {
    gap: 20px;
    margin-top: -60px;
  }
  .category-card {
    flex: 1 1 calc(45% - 20px);
    max-width: 300px;
  }
}

/* Mobiles (≤ 576px) → exactly 2 cards per row */
@media (max-width: 576px) {
  .property-categories {
    justify-content: center;
    gap: 15px;
    margin-top: 0;
  }
  .category-card {
    flex: 1 1 calc(50% - 15px);
    max-width: none;
  }
  .category-card img {
    height: 160px;
  }
  .category-card p {
    font-size: 0.95rem;
  }
}




/* --- Global Variables & Section Setup (Unchanged) --- */
:root {
    --dark-blue: #3f51b5;
    --light-bg: #f5f5f7;
    --text-dark: #222;
    --text-light: #fff;
    --section-padding: 80px 20px;
    --primary-blue: #3f51b5;
    --text-color: #666;
    --border-radius-lg: 12px;
    --shadow-light: 0 4px 10px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.section-title2 {
  font-size: 3rem;           /* Large and bold on desktop */
  font-weight: 700;
  color: var(--text-dark, #222);
  text-align: center;        /* Centered by default */
  margin-bottom: 40px;
  line-height: 1.2;
  font-family: 'Poppins', sans-serif;
}

/* 📱 Responsive scaling */
@media (max-width: 992px) {
  .section-title2 {
    font-size: 2.5rem;       /* Tablets */
  }
}

@media (max-width: 768px) {
  .section-title2 {
    font-size: 2.2rem;       /* Small tablets */
  }
}

@media (max-width: 576px) {
  .section-title2 {
    font-size: 1.8rem;       /* Mobile */
    line-height: 1.3;
    text-align: center;      /* Keep centered on mobile */
    margin-bottom: 30px;
  }
}

@media (max-width: 400px) {
  .section-title2 {
    font-size: 1.6rem;       /* Very small devices */
  }
}


.advisors-section {
    padding: 40px 20px;
    background-color: var(--light-bg);
    font-family: Arial, sans-serif;
}

.advisors-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 3em;
    color: var(--text-dark);
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.1;
    text-align: left;
}

/* --- Main Content Layout (Flexbox) --- */
.advisors-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* --------------------------------- */
/* --- Stats Grid Styling (Left) --- */
/* --------------------------------- */
.stats-grid-wrapper {
    flex: 0 0 45%;
    max-width: 500px;
    /* Removed margin-top: 200px to avoid large empty space on desktop */
    margin-top: 0; 
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 100px;
}

.stat-card {
    padding: 30px;
    border-radius: var(--border-radius-lg);
    text-align: left;
    height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.stat-card .counter {
    font-size: 2.5em;
    font-weight: 700;
    margin: 0;
    line-height: 1;
}

.stat-card p {
    font-size: 0.9em;
    margin: 0;
    opacity: 0.9;
}

/* Color Themes */
.light-bg {
    background-color: var(--text-light);
    color: var(--text-dark);
}

.dark-bg {
    background-color: var(--dark-blue);
    color: var(--text-light);
}

.dark-bg .counter,
.dark-bg p {
    color: var(--text-light);
    opacity: 1;
}

/* -------------------------------------- */
/* --- Image Collage Styling (Right) --- */
/* -------------------------------------- */
.visual-description-section {
    /* Remove redundant padding/background from nested section */
    padding: 0;
    background-color: transparent; 
    flex: 1; /* Allow it to take up the remaining space */
    justify-content: flex-start;
}

.visual-description-container {
    width: 100%;
    text-align: center;
}

.description-text {
    font-size: 1em;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 40px;
    padding: 0; /* Remove padding here, use main container padding */
    text-align: left; /* Align text left, consistent with desktop layout */
}

.image-collage-group {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.collage-img {
    border-radius: var(--border-radius-lg);
    object-fit: cover;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.collage-img:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.img-top-full {
    width: 100%;
    height: 200px;
}

.bottom-images-row {
    display: flex;
    gap: 20px;
    width: 100%;
}

.img-bottom-left,
.img-bottom-right {
    flex: 1;
    height: 220px;
}

.collage-center-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 10;
    cursor: pointer;
    animation: pulse 2s infinite ease-out;
}
/* Ensure the link inside the circle is styled correctly */
.collage-center-circle a {
    color: var(--text-light) !important;
    text-decoration: none;
    font-size: 0.85em;
    font-weight: bold;
    line-height: 1.2;
}

.collage-center-circle .arrow {
    display: block;
    font-size: 1.2em;
    margin-top: 2px;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(63, 81, 181, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(63, 81, 181, 0); }
    100% { box-shadow: 0 0 0 0 rgba(63, 81, 181, 0); }
}


/* ================================================= */
/* --- 📱 RESPONSIVE DESIGN (Tablet to Mobile) --- */
/* ================================================= */

@media (max-width: 992px) {
  /* Stack sections vertically */
  .advisors-content {
    flex-direction: column;
    gap: 60px;
    align-items: center;
  }

  /* Make both sections take full width */
  .stats-grid-wrapper,
  .visual-description-section {
    flex: auto;
    width: 100%;
    max-width: 600px;
  }

  .section-title {
    text-align: center;
    font-size: 2.5em;
  }

  .description-text {
    text-align: center;
  }
}

@media (max-width: 576px) {
  /* -------------------------------- */
  /* --- STATS GRID: 2x2 Layout --- */
  /* -------------------------------- */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 cards per row */
    gap: 15px;
    margin-top: 30px;
  }

  .stat-card {
    height: auto;
    padding: 20px;
  }

  .stat-card .counter {
    font-size: 2em;
  }

  /* -------------------------------- */
  /* --- IMAGE COLLAGE: 1/2 Layout --- */
  /* -------------------------------- */
  .bottom-images-row {
    flex-direction: row; /* Side by side on mobile */
    flex-wrap: wrap;
    gap: 10px;
  }

  .img-bottom-left,
  .img-bottom-right {
    flex: 1 1 calc(50% - 10px);
    height: 160px;
  }

  .img-top-full {
    height: 180px;
  }

  .collage-center-circle {
    width: 90px;
    height: 90px;
  }

  /* Reduce text size slightly */
  .description-text {
    font-size: 0.95em;
    line-height: 1.5;
  }
}



/* --- Our Services Section --- */
.our-services-section {
  padding: 60px 20px;
  background-color: var(--light-bg, #f5f5f7);
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark, #222);
  margin-bottom: 40px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.service-item {
  background: var(--white, #fff);
  border-radius: var(--border-radius-lg, 12px);
  box-shadow: var(--soft-shadow, 0 4px 10px rgba(0, 0, 0, 0.08));
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-icon-circle {
  background: var(--light-gray-bg, #e9e9f1);
  color: var(--primary-blue, #3f51b5);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 2.2rem;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-item h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: var(--primary-blue, #3f51b5);
}

.explore-link {
  text-decoration: none;
  color: var(--primary-blue, #3f51b5);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.explore-link:hover {
  color: var(--dark-blue, #283593);
}

/* --- Responsive Design --- */

/* Tablets (≤ 992px): 2 items per row */
@media (max-width: 992px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .section-title {
    font-size: 2rem;
  }

  .service-item {
    padding: 25px 15px;
  }
}

/* Mobiles (≤ 576px): 2 items per row */
@media (max-width: 576px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr); /* ✅ Keep 2 cards per row */
    gap: 15px;
  }

  .service-item {
    padding: 20px 10px;
  }

  .service-icon-circle {
    width: 55px;
    height: 55px;
    font-size: 1.8rem;
  }

  .service-item h3 {
    font-size: 1rem;
  }

  .explore-link {
    font-size: 0.85rem;
  }
}










/* property area sec */



/* --- Global Variables --- */
:root {
    --primary-blue: #3f51b5;
    --text-dark: #222;
    --text-light: #fff;
    --bg-light: #f7f7f7;
    --border-radius-lg: 12px;
}

/* --- Section Setup --- */
.property-area-section {
    padding: 80px 20px;
    background-color: var(--bg-light);
    font-family: Arial, sans-serif;
}

.property-area-container {
    max-width: 1200px;
    margin: 0 auto;
}

.area-section-title {
    font-size: 3em;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-weight: 700;
}

.area-description {
    font-size: 1em;
    color: #666;
    margin-bottom: 30px;
    max-width: 50%; /* Aligned with the image layout */
}

/* --- Filter Buttons Styling --- */
.area-filters {
    display: flex;
    overflow-x: auto; /* Allows horizontal scrolling on small screens */
    white-space: nowrap;
    padding-bottom: 15px; /* Space for scrollbar */
    margin-bottom: 40px;
    align-items: center;
    -ms-overflow-style: none; /* Hide scrollbar IE and Edge */
    scrollbar-width: none; /* Hide scrollbar Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.area-filters::-webkit-scrollbar {
    display: none;
}

.filter-button {
    background-color: transparent;
    border: 1px solid #ccc;
    color: var(--text-dark);
    padding: 8px 20px;
    margin-right: 10px;
    border-radius: 20px;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0; /* Prevents buttons from squishing */
}

.filter-button.active {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--text-light);
}

.filter-button:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--text-light);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.scroll-indicator {
    font-size: 1.5em;
    color: #999;
    margin-left: 10px;
}

/* --- Property Card Grid Layout --- */
.property-card-grid {
    display: grid;
    /* 4 columns on desktop */
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
}

/* --- Individual Property Card Styling --- */
.property-area-card {
    position: relative;
    width: 100%;
    /* Aspect ratio for the card */
    padding-top: 100%; 
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease-out; /* Card Hover Animation */
}

/* Card Hover Animation: Scale and darken on hover */
.property-area-card:hover {
    transform: scale(1.02);
}

.placeholder-card {
    /* Hides the extra card used for 4x2 alignment */
    visibility: hidden; 
}

/* Content Overlay */
.card-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Align content to the bottom */
    color: var(--text-light);
    
    /* Default dark gradient overlay for text readability */
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.5) 100%
    );
    transition: background 0.4s ease;
}

/* Darker Overlay on Hover Animation */
.property-area-card:hover .card-content-overlay {
     background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.7) 100% /* Slightly darker on hover */
    );
}


.property-count {
    font-size: 0.8em;
    font-weight: 500;
    margin-bottom: 5px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.area-name {
    font-size: 1.25em;
    font-weight: 700;
    margin: 0;
    /* Text Hover Animation: slight lift */
    transition: transform 0.3s ease;
    transform: translateY(0);
}

.property-area-card:hover .area-name {
    transform: translateY(-3px);
}

/* --- Explore Card Specific Styling --- */
.explore-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-light);
    font-size: 0.8em;
    font-weight: bold;
    /* Pulse Animation */
    box-shadow: 0 0 0 0 rgba(63, 81, 181, 0.7);
    animation: pulse 2s infinite ease-out;
    z-index: 10;
}

.explore-circle p {
    margin: 0;
}

.explore-circle .arrow {
    font-size: 1.2em;
    line-height: 1;
}

/* Pulse Keyframe Animation */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(63, 81, 181, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(63, 81, 181, 0); }
    100% { box-shadow: 0 0 0 0 rgba(63, 81, 181, 0); }
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .property-card-grid {
        /* 3 columns on tablets */
        grid-template-columns: repeat(3, 1fr);
    }
    .placeholder-card {
        /* Hide placeholder when there are 3 columns */
        display: none; 
    }
}

@media (max-width: 768px) {
    .property-card-grid {
        /* 2 columns on tablets */
        grid-template-columns: repeat(2, 1fr);
    }
    .area-section-title {
        font-size: 2.5em;
    }
    .area-description {
        max-width: 100%;
    }
}

/* ✅ Keep 2 cards per row on all smaller screens too */
@media (max-width: 500px) {
    .property-card-grid {
        /* 2 columns on mobile instead of 1 */
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .area-section-title {
        font-size: 1.8em;
    }
    .area-description {
        font-size: 0.9em;
    }
    .property-area-card {
        padding-top: 100%;
    }
    .explore-circle {
        width: 60px;
        height: 60px;
        font-size: 0.75em;
    }
}





       /* futures sec */

/* --- Section Styling and Background Pattern (City Skyline) --- */
.testimonial-section {
    position: relative;
    width: 100%;
    max-width: 1400px;
    padding: 40px 0;
    text-align: center;
    overflow: hidden; /* Important for containing the background elements */
}

.section-title {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--text-color);
    z-index: 10;
    position: relative;
}

/* Pseudo-element for the repeating white squares background */
.testimonial-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Create the white square/building pattern using a background image/gradient */
    background-image: 
        radial-gradient(circle, #fff0 1px, white 2px, #fff0 3px),
        linear-gradient(to top, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.2) 100%),
        repeating-linear-gradient(to right, #ffffff00, #ffffff00 30px, rgba(255, 255, 255, 0.5) 30px, rgba(255, 255, 255, 0.5) 32px);
    background-size: 
        20px 20px, /* For the small dots/squares */
        100% 100%,
        60px 100px; /* For the repeating vertical elements */
    opacity: 0.5;
    z-index: 1;
}

/* --- Carousel and Card Layout --- */
.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10; /* Keep content above background */
    padding: 0 50px;
}

.testimonial-wrapper {
    display: flex;
    gap: 30px;
    padding: 20px 0;
    /* In a real carousel, this element would shift horizontally via JavaScript */
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    max-width: 350px;
    min-width: 300px;
    text-align: left;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    position: relative;
}

/* Animation: Subtle lift on hover */
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* --- Author and Quote Styling --- */
.author-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

.author-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-name {
    font-weight: 600;
    font-size: 1.1em;
}

.author-title {
    font-size: 0.9em;
    color: #888;
}

.quote-icon {
    position: absolute;
    top: 5px;
    right: 0;
    font-size: 2em;
    color: var(--light-gray);
    opacity: 0.7;
    transition: color 0.3s;
}

.testimonial-card:hover .quote-icon {
    color: var(--primary-color);
}

.testimonial-text {
    font-size: 0.95em;
    line-height: 1.6;
    color: #555;
}

/* --- Navigation Arrows --- */
.nav-arrow {
    background: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: #888;
    font-size: 1.2em;
    transition: all 0.2s ease;
    z-index: 20;
    position: absolute; /* Position them outside the testimonial-wrapper */
}

.left-arrow {
    left: 0;
}

.right-arrow {
    right: 0;
}

.nav-arrow:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

/* --- Media Query for Standard Mobile Phones (1 Card) --- */
@media (max-width: 600px) {
    .section-title{
        font-size: 2em;
        margin-bottom: 30px;
    }
    .testimonial-wrapper {
        /* This ensures cards stack vertically or show 1-by-1 horizontally */
        flex-direction: row; /* Ensure horizontal scrolling is possible */
        overflow-x: auto;
        /* Force single card width for smallest screens */
        min-width: 100%;
    }
    .testimonial-card {
        min-width: 70vw; /* Card takes up 80% of the viewport width */
    }
    .nav-arrow {
        display: none; /* Hide manual arrows on smallest mobile for swiping/auto-slide */
    }
}

/* --- Media Query for Tablets/Large Mobile (2 Cards) --- */
@media (min-width: 601px) and (max-width: 1100px) {
    .testimonial-wrapper {
        /* Force horizontal flow for scrolling/sliding */
        flex-direction: row; 
        /* Allow cards to wrap if needed, but in a carousel, usually kept in a row */
        overflow-x: auto; 
    }

    .testimonial-card {
        /* Cards take roughly 45-48% of the container width to fit two plus the gap */
        min-width: 45%; 
        max-width: 48%; /* Adjusting max-width to allow two to fit */
    }

    /* Reposition arrows for the smaller desktop/tablet view */
    .carousel-container {
        padding: 0 50px; /* Give space for the arrows */
    }
    
    .nav-arrow {
        position: absolute; /* Place them back outside the cards */
    }
}








:root {
    --primary-color: #5d5dff; /* A common accent color for links/icons */
    --light-bg: #f4f6fa; /* Background for the header/contact section */
    --footer-bg: #e6e8f4; /* Background for the footer section */
    --dark-text: #333;
    --light-text: #555;
    --footer-heading-color: #333;
}



a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}




/* ----------------------------------------
   1. GET IN TOUCH SECTION STYLING
---------------------------------------- */

.contact-section {
    background-color: var(--light-bg);
    padding: 80px 5%;
    position: relative;
    /* Add a subtle background pattern (like the image) */
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.5) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
    background-size: 20px 20px;
}

.contact-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.contact-details {
    flex: 1;
    min-width: 300px;
    padding-right: 20px;
}

.contact-details h1 {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    z-index: 10;
}

.contact-details p {
    color: var(--light-text);
    margin-bottom: 40px;
}

.contact-item {
    margin-bottom: 25px;
}

.item-title {
    display: block;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 5px;
}

.item-value {
    display: flex;
    align-items: center;
    color: var(--light-text);
}

.item-value i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.1em;
}

.contact-map {
    /* border: 2px solid red; */
    /* width: 80%; */
    flex: 0.7;
    background-color: #ccc; /* Placeholder for the map image */
    height: fit-content;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    /* In a real scenario, this would hold the map iframe/image */
}


/* ----------------------------------------
   2. FOOTER SECTION STYLING
---------------------------------------- */

.main-footer {
    background-color: var(--footer-bg);
    padding: 60px 5%;
    color: var(--light-text);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2.5fr; /* Define column widths */
    gap: 30px;
}

.footer-heading {
    font-size: 1.2em;
    font-weight: 600;
    color: var(--footer-heading-color);
    margin-bottom: 20px;
}

/* Footer Column 1: About/Logo */
.footer-logo {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    /* Basic logo shape from image */
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    border-radius: 50%;
    color: transparent;
    position: relative;
}

.footer-description {
    font-size: 0.9em;
    margin-bottom: 20px;
}

/* Social Links Animation */
.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 30px;
    height: 30px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    /* Animation: Subtle scale and shadow change on hover */
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer Links Animation (Columns 2 & 3) */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    position: relative;
    display: inline-block;
    padding-left: 15px;
}

/* Animation: Underline slide-in on hover */
.footer-links li a::before {
    content: '\f0da'; /* Font Awesome right arrow */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) translateX(-10px);
    opacity: 0;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.footer-links li a:hover {
    color: var(--primary-color);
}

.footer-links li a:hover::before {
    transform: translateY(-50%) translateX(0);
    opacity: 1;
}

/* Office Details (Column 4) */
.office-location {
    margin-bottom: 25px;
}

.office-contact-item {
    display: flex;
    align-items: flex-start;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.office-contact-item i {
    color: var(--primary-color);
    margin-right: 10px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* ----------------------------------------
   MEDIA QUERIES (Responsiveness) - UPDATED
---------------------------------------- */

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    }

    /* ... other styles remain the same ... */
}

@media (max-width: 600px) {
    .footer-grid {
        /* CORRECTED: Set grid to 2 equal columns on the smallest screens */
        grid-template-columns: repeat(2, 1fr); 
        gap: 20px; /* Reduce gap slightly for smaller screens */
    }

    .footer-about {
        /* To maintain a 2/2 grid, we need to span the largest column (footer-about) 
           across both columns of the grid. It should take the full width of the first row. */
        grid-column: 1 / span 2; 
        order: 4; /* Keep the about section at the bottom (as requested in original CSS) */
        
        /* If you want the 'About' section to remain large but appear in the first row, 
           you would change 'order: 4' to 'order: 1'. */
    }

    .footer-office-details {
        /* Force the contact details to span both columns so it occupies a full row
           at the bottom, ensuring a 2/2/1 layout (2 links, 2 offices, 1 about) */
        grid-column: 1 / span 2;
    }
    
    /* Optional: If you want 2/2/2 layout (2 links, 2 offices, 2 about/social) */
    /* You may need to remove the 'grid-column: 1 / span 2;' from footer-about 
       and re-evaluate the order based on the required layout. */
    
    /* Default flow (without specific grid-column/order) will be:
       Row 1: Sister Concern | Quick Links
       Row 2: Dhaka Office | Gazipur Office (if split)
       Row 3: About (if it spans 2 columns) 
    */
    
    /* By default (no 'order' or 'span' on middle columns), the grid will flow as:
       1. Sister Concern (Col 1) | Quick Links (Col 2) 
       2. Footer About (Col 1) | Footer Office Details (Col 2)
    */

    /* We will stick to the default two-column flow without spanning the office details
       to guarantee the **2/2** result (4 items in a 2x2 grid), with the 'About' section 
       (the widest original column) spanning the bottom: */
    
    /* Final flow with this code:
       Row 1: Sister Concern | Quick Links
       Row 2: Dhaka/Gazipur Office 1 | Dhaka/Gazipur Office 2
       Row 3: Footer About (full width)
    */
    
    /* Since the office details is one combined div, we remove the span from footer-office-details 
       and let it naturally take the next column spot. */

    .footer-office-details {
        /* Remove the spanning to allow 4 columns to flow into 2x2 grid */
    }
}

