/* Global Styles */
:root {
  --primary-color: #1976d2;
  --secondary-color: #f5f5f5;
  --dark-color: #333;
  --light-color: #fff;
  --blue-card: #0d47a1;
  --pink-card: #c2185b;
  --yellow-card: #ffc107;
  --teal-card: #009688;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--dark-color);
  background-color: var(--light-color);
}

a {
  text-decoration: none;
}

/* Header/Navigation Styles */
.navbar {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Logo Styles */
.navbar-brand {
  display: flex;
  align-items: center;
  padding: 0;
}

.logo-img {
  max-height: 150px;
  width: auto;
}

@media (max-width: 991.98px) {
  .logo-img {
    max-height: 150px;
  }
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-box {
  background-color: var(--primary-color);
  color: white;
  font-weight: bold;
  padding: 5px 8px;
  border-radius: 4px;
  font-size: 14px;
  margin-right: 8px;
}

.logo-text {
  font-weight: bold;
  color: var(--primary-color);
  font-size: 18px;
}

.post-property-btn {
  position: relative;
  padding: 1px 1px 1px 1px;
  margin-left: 17px;
  background: white;
  color: #212529;
}
.post-property-btn:hover {
  background: #0257c7;
  color: white;
}
.free-tag {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: #ff9800;
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 10px;
}

.user-btn {
  display: flex;
  align-items: center;
  padding: 0;
  margin-left: 17px;
}

.user-text {
  margin-left: 17px;
  text-align: left;
  line-height: 1.2;
  text-align: center;
}

/* Hero Section Styles */
.hero-section {
  background: url("../image/herosection.png") no-repeat center center;
  background-size: cover;
  padding: 20px 0;
}

.hero-section h1 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--dark-color);
}

.search-container {
  max-width: 600px;
  background-color: rgba(255, 255, 255, 0.633);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.nav-tabs {
  border-bottom: none;
}

.nav-tabs .nav-link {
  border: none;
  color: var(--dark-color);
  font-weight: 500;
  padding: 12px 20px;
  border-radius: 8px 8px 0 0;
}

.nav-tabs .nav-link.active {
  background-color: rgba(255, 255, 255, 0.633);
  color: var(--blue-card);
  border-bottom: 2px solid var(--primary-color);
}

.search-box {
  background-color: rgba(255, 255, 255, 0.632);
  padding: 15px;
  border-radius: 0 0 8px 8px;
  column-gap: 4dvh;
}

.property-type-dropdown .btn {
  background-color: rgba(237, 242, 252, 0.986);
  border: 1px solid #ddddddd8;
  text-align: left;
  width: 180px;
}

.search-input-container {
  position: relative;
  flex-grow: 1;
  margin: 0 10px;
  background-color: rgb(243, 240, 238);
 
}

.search-input-container input {
  padding-right: 40px;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.632);
}

.location-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #777;
}

.search-btn {
  min-width: 120px;
  background: rgba(237, 242, 252, 0.986);
}

/* Feature Cards Styles */
.feature-card {
  border: none;
  border-radius: 10px;
  color: white;
  height: 100%;
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: 100px;
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card .card-body {
  padding: 25px;
}

.feature-card .card-title {
  font-weight: 600;
  margin-bottom: 20px;
}

.blue-card {
  background-color: #023e9a;
  background-image: url("cards\1.png");
}

.pink-card {
  background-color: #b5486d;
  background-image: url("cards\222.png");
}

.yellow-card {
  background-color: #eed777;
  background-image: url("cards\333.png");
}

.teal-card {
  background-color: #48a4b5;
  background-image: url("cards\444.png");
}

/* Cities Section Styles */
.cities-section h2 {
  color: var(--dark-color);
  font-weight: 600;
}

.city-item {
  transition: transform 0.3s;
}

.city-item:hover {
  transform: translateY(-5px);
}

.city-image {
  margin-bottom: 10px;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 90px;
  height: 90px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}


.city-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.city-name {
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 16px;
}

.property-count {
  color: #777;
  font-size: 14px;
  margin-bottom: 0;
}

/* Footer Styles */
footer {
  background-color: #212529;
}

footer h5 {
  font-weight: 600;
  margin-bottom: 20px;
}

footer ul li {
  margin-bottom: 10px;
}

.social-icons a {
  font-size: 18px;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: var(--primary-color) !important;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
  .search-box {
    flex-direction: column;
  }

  .property-type-dropdown,
  .search-input-container,
  .search-btn {
    width: 100%;
    margin: 5px 0;
  }

  .feature-card {
    margin-bottom: 20px;
  }
}

@media (max-width: 767.98px) {
  .hero-section h1 {
    font-size: 1.5rem;
  }

  .nav-tabs .nav-link {
    padding: 10px 15px;
    font-size: 14px;
  }

  .city-name {
    font-size: 14px;
  }

  .property-count {
    font-size: 12px;
  }
}

@media (max-width: 575.98px) {
  .nav-tabs .nav-link {
    padding: 8px 10px;
    font-size: 12px;
  }

  .search-container {
    margin: 0 10px;
  }
}

/* Add these new styles after the existing styles in your CSS file */

/* Section Titles */
.section-title {
  position: relative;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 40px;
  color: #333;background: linear-gradient(to right, #bf1112 35%, #000); 
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  /* background-color: var(--primary-color); */
}

/* Top Localities Section */
.locality-card .card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.locality-card .card:hover {
  transform: translateY(-5px);
}

.locality-card .card-title {
  font-weight: 600;
  margin-bottom: 5px;
}

.locality-card .card-text {
  color: #777;
  font-size: 14px;
}

.property-price {
  color: var(--primary-color);
  font-weight: 600;
  margin-top: 10px;
}

/* Updated Real Estate Services Section Styles */
.services-section {
  background-color: #f8f9fa;
}

.service-card-new {
  background-color: white;
  border-radius: 15px;
  padding: 30px 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid #e9ecef;
  position: relative;
  overflow: hidden;
}

.service-card-new:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.service-card-new::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), #42a5f5);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card-new:hover::before {
  transform: scaleX(1);
}

.service-icon-new {
  margin-bottom: 20px;
  text-align: left;
}

.service-icon-new i {
  color: #ff9310cb;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.service-card-new:hover .service-icon-new i {
  transform: scale(1.1);
  color: blue;
}

.service-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark-color);
  margin-bottom: 15px;
  line-height: 1.3;
}

.service-description {
  color: #6c757d;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
  min-height: 60px;
}

.service-btn {
  border: 2px solid #12589d;
  color: #1062b3;
  font-weight: 600;
  padding: 10px 25px;
  border-radius: 25px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;

}

.service-btn:hover {
  background-color: #12589d;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(25, 118, 210, 0.3);
}

/* Featured Projects Section */

.projects-section {
  background-color: #f8f9fa;
}

/* Custom 5-column grid  */
.col-lg-2-4 {
  flex: 0 0 auto;
  width: 20%; 
}

@media (max-width: 1199.98px) {
  .col-lg-2-4 {
    width: 25%; 
  }
}

@media (max-width: 991.98px) {
  .col-lg-2-4 {
    width: 33.333333%; 
  }
}

@media (max-width: 767.98px) {
  .col-lg-2-4 {
    width: 50%; 
  }
}

@media (max-width: 575.98px) {
  .col-lg-2-4 {
    width: 100%; 
  }
}

/* Project Card  */
.project-card-exact {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid #e0e0e0;
  height: 100%;
}

.project-card-exact:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Image Wrapper */
.project-image-wrapper {
  position: relative;
  overflow: hidden;
}

.project-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card-exact:hover .project-img {
  transform: scale(1.05);
}

/* Status Badge  */
.project-badge-exact {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  color: white;
  z-index: 2;
  text-transform: none;
  letter-spacing: 0;
}

.project-badge-exact.upcoming {
  background-color: rgba(0, 0, 0, 0.7);
}

.project-badge-exact.ongoing {
  background-color: rgba(0, 0, 0, 0.7);
}

/* Project Info Section */
.project-info-exact {
  padding: 16px 14px;
}

.project-title-exact {
  font-size: 16px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 6px;
  line-height: 1.3;
}

.project-location-exact {
  color: #7f8c8d;
  font-size: 13px;
  margin-bottom: 8px;
  font-weight: 500;
}

.project-details-exact {
  color: #34495e;
  font-size: 12px;
  margin-bottom: 4px;
  font-weight: 500;
}

.project-area-exact {
  color: #7f8c8d;
  font-size: 12px;
  margin-bottom: 8px;
}

.project-price-exact {
  color: #2c3e50;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 0;
}

/* Navigation Controls  */
.projects-nav-prev,
.projects-nav-next {
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
  border: none;
}

.projects-nav-prev {
  left: -20px;
}

.projects-nav-next {
  right: -20px;
}

.projects-nav-prev:hover,
.projects-nav-next:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: translateY(-50%) scale(1.1);
}

.projects-nav-prev .carousel-control-prev-icon,
.projects-nav-next .carousel-control-next-icon {
  width: 16px;
  height: 16px;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .projects-nav-prev {
    left: -15px;
  }

  .projects-nav-next {
    right: -15px;
  }

  .project-img {
    height: 140px;
  }
}

@media (max-width: 767.98px) {
  .projects-nav-prev,
  .projects-nav-next {
    width: 35px;
    height: 35px;
  }

  .projects-nav-prev {
    left: -10px;
  }

  .projects-nav-next {
    right: -10px;
  }

  .project-info-exact {
    padding: 14px 12px;
  }

  .project-title-exact {
    font-size: 15px;
  }

  .project-price-exact {
    font-size: 13px;
  }

  .project-img {
    height: 120px;
  }
}

@media (max-width: 575.98px) {
  .project-img {
    height: 160px;
  }

  .project-info-exact {
    padding: 16px 14px;
  }
}

/* Featured Agents Section */
* {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: Arial, sans-serif;
        }
        
        body {
            background-color: #f8f9fa;
            /* padding: 20px; */
        }
        
        .agents-carousel {
            max-width: 1200px;
            margin: 0 auto;
            position: relative;
            overflow: hidden;
        }
        
        .agents-container {
            display: flex;
            transition: transform 0.3s ease;
            gap: 15px;
            padding: 10px 0;
        }
        
        .agent-row {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 15px;
            min-width: 100%;
        }
        
        .agent-card {
            background-color: white;
            border-radius: 8px;
            padding: 15px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        
        .agent-name {
            font-weight: bold;
            font-size: 16px;
            margin-bottom: 5px;
        }
        
        .agent-location {
            font-size: 14px;
            color: #666;
            margin-bottom: 10px;
            line-height: 1.4;
        }
        
        .agent-stats {
            display: flex;
            gap: 15px;
        }
        
        .stat-item {
            display: flex;
            flex-direction: column;
        }
        
        .stat-value {
            font-weight: bold;
            color: #2c7be5;
        }
        
        .stat-label {
            font-size: 12px;
            color: #666;
        }
        
        .carousel-controls {
            display: flex;
            justify-content: flex-end;
            margin-top: 20px;
        }
        
        .carousel-btn {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: white;
            border: 1px solid #ddd;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            margin-left: 10px;
            transition: all 0.3s;
        }
        
        .carousel-btn:hover {
            background-color: #2c7be5;
            color: white;
        }
        
        .see-all {
            text-align: right;
            margin-top: 15px;
        }
        
        .see-all a {
            color: #2c7be5;
            text-decoration: none;
            font-weight: bold;
        }
        
        @media (max-width: 1000px) {
            .agent-row {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 600px) {
            .agent-row {
                grid-template-columns: 1fr;
            }
        }

/* Insights & Tools Section */
.insights-card {
  background: linear-gradient(135deg, #e3f2fd 0%, #f0f4f8 100%);
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  border: 1px solid #e1e8ed;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.insights-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.insights-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #4fc3f7, #29b6f6, #03a9f4);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.insights-card:hover::before {
  opacity: 1;
}

/* Icon Container */
.insights-icon {
  margin-bottom: 25px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.insights-image {
  width: 80px;
  height: 80px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.insights-card:hover .insights-image {
  transform: scale(1.1);
}

/* Typography */
.insights-title {
  font-size: 18px;
  font-weight: 700;
  color: #1976d2;
  margin-bottom: 15px;
  line-height: 1.3;
}

.insights-description {
  font-size: 14px;
  color: #757575;
  line-height: 1.5;
  margin-bottom: 25px;
  min-height: 60px;
}

/* Buttons */
.insights-btn {
  background: transparent;
  border: 2px solid #1976d2;
  color: #1976d2;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  text-transform: none;
}

.insights-btn:hover {
  background: #1976d2;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

.insights-btn-dark {
  background: #1976d2;
  border: 2px solid #1976d2;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  text-transform: none;
}

.insights-btn-dark:hover {
  background: #1565c0;
  border-color: #1565c0;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(21, 101, 192, 0.4);
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .insights-card {
    padding: 25px 15px;
  }

  .insights-title {
    font-size: 16px;
  }

  .insights-description {
    font-size: 13px;
    min-height: auto;
  }

  .insights-icon {
    height: 70px;
    margin-bottom: 20px;
  }
}

@media (max-width: 575.98px) {
  .insights-card {
    padding: 20px 15px;
  }
}


/* Latest Properties Section */
.latest-properties-section {
    background-color: #f8f9fa;
}

.property-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.property-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #007bff;
    color: #fff;
    padding: 5px 10px;
    font-size: 0.85rem;
    border-radius: 5px;
    z-index: 10;
}

.property-features {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    font-size: 0.9rem;
    color: #555;
}

.property-features span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.card-body .location {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.price {
    font-size: 1rem;
    font-weight: 600;
    color: #28a745;
}

.card-footer a {
    font-size: 0.9rem;
}

.card-img-top{
  height: 100%;
  width: 100%;
  overflow: hidden;
}

@media (max-width: 992px) {
    .property-features {
        flex-wrap: wrap;
        gap: 8px;
    }
}

@media (max-width: 768px) {
    .card-title {
        font-size: 1rem;
    }

    .price {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .property-features span {
        font-size: 0.85rem;
    }

    .card-footer a {
        font-size: 0.85rem;
        padding: 6px 0px;
    }

    .property-tag {
        font-size: 0.75rem;
        padding: 3px 8px;
    }
}


/* Blogs Section - UPDATED */
.blogs-section {
  background-color: #f8f9fa;
}

.blogs-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
}

.blogs-title .text-danger {
  color: #dc3545 !important;
}

/* Blog Card Design */
.blog-card-new {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.blog-card-new:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Blog Image */
.blog-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card-new:hover .blog-img {
  transform: scale(1.05);
}

/* Blog Content */
.blog-content {
  padding: 20px;
}

.blog-title {
  font-size: 18px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 12px;
  line-height: 1.4;
  min-height: 50px;
}

.blog-excerpt {
  font-size: 14px;
  color: #6c757d;
  line-height: 1.5;
  margin-bottom: 15px;
  min-height: 42px;
}

/* Blog Meta Information */
.blog-meta {
  font-size: 12px;
  color: #6c757d;
}

.blog-author {
  display: block;
  margin-bottom: 4px;
}

.blog-category {
  display: block;
  color: #007bff;
  font-weight: 500;
}

/* See All Blogs Link */
.see-all-blogs {
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s ease;
}

.see-all-blogs:hover {
  color: #0056b3;
  text-decoration: none;
}

.see-all-blogs i {
  transition: transform 0.3s ease;
}

.see-all-blogs:hover i {
  transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .blogs-title {
    font-size: 2rem;
  }

  .blog-title {
    font-size: 16px;
    min-height: auto;
  }

  .blog-excerpt {
    min-height: auto;
  }
}

@media (max-width: 767.98px) {
  .blogs-title {
    font-size: 1.75rem;
  }

  .blog-content {
    padding: 15px;
  }

  .blog-image-wrapper {
    height: 180px;
  }
}

@media (max-width: 575.98px) {
  .blog-image-wrapper {
    height: 200px;
  }
}

/* Updated Footer Styles */
.footer-logo .logo-text {
  color: white;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  transition: color 0.3s;
}

.footer-links a:hover {
  color: white !important;
  text-decoration: none;
}

.contact-info li {
  margin-bottom: 15px;
}

/* Responsive Styles for New Sections */
@media (max-width: 991.98px) {
  .project-features,
  .property-features {
    flex-direction: column;
  }

  .project-features span,
  .property-features span {
    margin-bottom: 5px;
  }

  .service-card-new {
    margin-bottom: 30px;
  }
}

@media (max-width: 767.98px) {
  .service-card-new,
  .agent-card {
    margin-bottom: 20px;
  }

  .property-tag,
  .project-badge {
    font-size: 10px;
    padding: 3px 10px;
  }

  .service-card-new {
    padding: 25px 20px;
  }

  .service-title {
    font-size: 1.1rem;
  }

  .service-description {
    font-size: 0.9rem;
    min-height: auto;
  }
}

@media (max-width: 575.98px) {
  .service-card-new {
    padding: 20px 15px;
  }

  .service-icon-new i {
    font-size: 2rem;
  }
}
.colony-select-btn.active {
            background-color: #0d6efd;
            color: white;
            border-color: #0d6efd;
        }

        @media (max-width: 768px) {
            .extra-filter {
                width: 100% !important;
                padding: 0.75rem;
            }
        }