:root {
  --primary: #3498db; /* Light Blue */
  --secondary: #2980b9; /* Darker Blue */
  --light: #f8f9fa;
  --dark: #2c3e50;
  --accent: #e74c3c; /* For CTAs */
}

body {
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
  color: #555;
}

html,
body {
  overflow-x: hidden;
}

h5 {
  font-size: 1.1rem;
}

a {
  text-decoration: none;
  color: #fff;
}

.wrapper {
  width: 100%;
  max-width: 1550px;
  height: auto;
  margin: 0 auto;
}

/* Navbar Styles */
.navbar {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(52, 152, 219, 0.1);
  transition: all 0.3s ease;
  padding: 0px 0px !important;
}

.navbar.scrolled {
  padding: 10px 0;
  background-color: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 5px 20px rgba(52, 152, 219, 0.15);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1rem !important;
  color: var(--dark);
  padding:0 !important;
}

.navbar-brand span {
  color: var(--primary);
}


.navbar-brand img {
    width: 100%;
    max-width: 200px !important;
    height: 100px !important;
}


.nav-link {
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  margin: 0 0.2rem;
  color: var(--dark);
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--primary) !important;
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  padding: 0.5rem 1.5rem;
  font-weight: 500;
}

.btn-primary:hover {
  background-color: var(--secondary);
  border-color: var(--secondary);
}

@media(max-width:768px){
    .navbar-brand img {
    width: 100%;
    max-width: 180px !important;
    height: 100px !important;
}
}

/* about-section css starts ------------------------------------ */
/* About Section */
.about-section {
  background-color: #f5faff;
  padding: 120px 0;
}

.about-img {
  /* border-radius: 15px; */
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transform: perspective(1000px) rotateY(0deg);
  transition: all 0.5s ease;
  height: 600px;
}

.about-img:hover {
  transform: perspective(1000px) rotateY(5deg);
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.who-we-are {
  background-color: var(--primary);
  border-radius: 30px;
  color: white;
  display: inline-block;
  padding: 6px 15px;
  font-size: 0.8rem;
}

.leading-estate {
  font-size: 0.9rem;
}

.about-img:hover img {
  transform: scale(1.05);
}

/* Feature Box Animation */
.feature-box {
  transition: all 0.3s ease;
}
.feature-box:hover {
  transform: translateY(-5px);
}

.feature-box h5 {
  font-size: 0.9rem;
}

/* Keyframes for Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .about-img {
    height: 450px;
  }
}
@media (max-width: 768px) {
  .about-img {
    height: 350px;
  }
}

.about-features {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.feature-box {
  display: flex;
  align-items: center;
  background: white;
  padding: 10px 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 35px;
  height: 35px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-right: 10px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.feature-box:hover .feature-icon {
  background: var(--secondary);
  transform: rotate(15deg);
}

/* slider-section css starts ------------------- */

/* Slider Styles */
.slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.slider-track {
  display: flex;
  width: calc(250px * 20); /* Double the items for infinite effect */
  animation: scroll 30s linear infinite;
}

.slider-item {
  width: 200px;
  height: 100px;
  flex-shrink: 0;
  margin: 0 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 15px;
  transition: transform 0.3s ease;
}

.slider-item:hover {
  transform: scale(1.05);
}

.slider-item img {
  max-width: 160px;
  max-height: 160px;
  object-fit: contain;
}

/* Animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 10)); /* Move by half the width */
  }
}

/* Pause on hover */
.slider-container:hover .slider-track {
  animation-play-state: paused;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .slider-item {
    width: 150px;
    height: 80px;
    margin: 0 10px;
  }

  .slider-track {
    width: calc(170px * 20);
    gap:60px;
    animation: scroll 20s linear infinite;
  }

  @keyframes scroll {
    100% {
      transform: translateX(calc(-170px * 10));
    }
  }
}

@media (max-width: 480px) {
  .slider-item {
    width: 120px;
    height: 60px;
    margin: 0 8px;
  }

  .slider-track {
    width: calc(136px * 20);
    gap:60px;
    animation: scroll 15s linear infinite;
  }

  @keyframes scroll {
    100% {
      transform: translateX(calc(-136px * 10));
    }
  }

  .section-title {
    font-size: 1.8rem;
  }
}

/* footer css starts ----------------------- */
/* Footer */
.footer {
  background: var(--dark);
  color: white;
  padding: 35px 0 0;
}

.footer-logo img {
  width: 100%;
  max-width: 150px !important;
  height: auto !important;
  font-weight: 700;
  margin-bottom: 25px;
  display: inline-block;
  color: white;
  padding: .5rem;
  background:white;
}

.footer-logo span {
  color: var(--primary);
}

.footer-about p {
  opacity: 0.8;
  margin-bottom: 25px;
  line-height: 1.6;
}

.footer-links h3,
.footer-contact h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
  color: white;
}

.footer-links h3:after,
.footer-contact h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 8px;
}

.contact-info {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
}

.contact-info i {
  color: var(--primary);
  margin-right: 15px;
  margin-top: 5px;
  font-size: 1.2rem;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: 25px 0;
  margin-top: 60px;
}

.footer-bottom a {
  color: var(--primary);
}

.social-links a {
  display: inline-block;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 45px;
  margin-right: 12px;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* index page css starts------------------------------ */

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  animation: bg-slider 20s infinite ease-in-out;
}

@keyframes bg-slider {
  0% {
    background-image: url("https://images.unsplash.com/photo-1564013799919-ab600027ffc6");
  }
  33% {
    background-image: url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c");
  }
  66% {
    background-image: url("https://images.unsplash.com/photo-1507089947368-19c1da9775ae");
  }
  100% {
    background-image: url("https://images.unsplash.com/photo-1564013799919-ab600027ffc6");
  }
}

.hero-section .overlay {
  background: rgba(0, 0, 0, 0.4); /* dark overlay */
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
  text-align: center;
  padding: 0 20px;
}

/* Heading */
.hero-section .hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

/* Search Bar */
.hero-section .search-bar {
  background: #fff;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.hero-section .search-icon {
  color: #888;
  margin-left: 8px;
}

.hero-section .search-input {
  flex-grow: 1;
  border: none;
  padding: 10px 15px;
  border-radius: 50px;
  outline: none;
  font-size: 16px;
  color: #333;
}

.hero-section .search-btn {
  background: #0d6efd;
  color: #fff;
  padding: 10px 30px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

.search-btn:hover {
  background: #084ec1;
}

@media (max-width: 576px) {
  .hero-section .hero-title {
    font-size: 2rem;
  }

  .search-bar {
    flex-direction: column;
    gap: 10px;
    border-radius: 15px;
  }

  .search-btn {
    width: 100%;
    border-radius: 10px;
  }

  .search-input {
    width: 100%;
  }
}

.hero-section .section-title {
  position: relative;
  margin-bottom: 3rem;
  font-weight: 700;
  color: #333;
  display: inline-block;
  text-align: center;
  font-size: 2rem;
}

.hero-section .section-title:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #0d6efd;
  border-radius: 2px;
}

.property-slider {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 20px;
}

.property-cards {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease-in-out;
  text-align: center;
  margin: 15px;
}

.property-cards:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.property-image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.property-cards:hover .property-image img {
  transform: scale(1.05);
}

.property-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 6px 14px;
  background: #0d6efd;
  color: white;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

.property-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #0d6efd;
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.property-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0d6efd;
  margin-bottom: 10px;
}

.property-features {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: space-around;
  margin-top: 15px;
}

.property-features li {
  display: flex;
  align-items: center;
  color: #7f8c8d;
  font-size: 0.9rem;
}

.property-features i {
  margin-right: 6px;
  color: #0d6efd;
}

/* Slick arrows */
.slick-prev:before,
.slick-next:before {
  color: #0d6efd;
  font-size: 35px;
}

.slick-next {
  right: -35px;
}

.slick-prev {
  left: -35px;
}

/* Dots */
.slick-dots li.slick-active button:before {
  color: #0d6efd;
}

.slick-dots li button:before {
  font-size: 12px;
}

/* Responsive Fixes */
@media (max-width: 768px) {
  .property-cards {
    margin: 10px auto;
  }

  .property-slider {
    padding: 0 10px;
  }
  
  .residential-subheading,
.commercial-subheading {
  transition: all 0.3s ease;
  font-size: 0.9rem;
  width: 350px !important;
  margin: 0 auto;
  padding-bottom:20px;
}
}

/* Projects Section */
.projects-section {
  padding: 100px 0;
  background: white;
}

.projects-section p {
  margin-bottom: 0px !important;
}

.project-tabs {
  justify-content: center;
  margin-bottom: 40px;
  border: none;
}

.project-tabs .nav-link {
  border: none;
  color: var(--dark);
  font-weight: 600;
  padding: 12px 30px;
  margin: 0 10px;
  border-radius: 30px;
  transition: all 0.3s ease;
  background: rgba(52, 152, 219, 0.1);
}

.project-type {
  color: var(--primary);
  transition: all 0.3s ease;
}

.project-types {
  color: #fff;
}

.residential-subheading,
.commercial-subheading {
  transition: all 0.3s ease;
  font-size: 0.9rem;
  width: 600px;
  margin: 0 auto;
}

.project-tabs .nav-link.active {
  background: var(--primary);
  color: white !important;
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.project-tabs .nav-link:hover(.active) {
  background: var(--primary);
  color: white !important;
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.project-tabs .nav-link:hover:not(.active) {
  color: var(--primary);
  background: rgba(52, 152, 219, 0.2);
}

.project-card {
  width: 100%;
  max-width: 350px;
  height: 400px; /* Increased height for better content display */
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.project-card:hover img {
  transform: scale(1.1);
}

.btn-sm {
  background-color: #fff;
  color: #000;
}

.project-overlay {
  position: absolute;
  top: 220px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  padding: 25px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: all 0.5s ease;
}

.project-card:hover .project-overlay {
  background: rgba(0, 0, 0, 0.8);
}

.project-title {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 1.4rem;
}

.project-location {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Neighborhood Slider Section */
.neighborhood-section {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab")
      no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  padding: 100px 0;
  position: relative;
}

.neighborhood-slider {
  padding: 30px 0 60px;
}

.neighborhood-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin: 15px;
  height: 350px;
}

.neighborhood-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.neighborhood-img {
  height: 300px;
  overflow: hidden;
}

.neighborhood-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.neighborhood-card:hover .neighborhood-img img {
  transform: scale(1.1);
}

.neighborhood-content {
  position: relative;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  background-color: #000;
}

.neighborhood-badge {
  position: absolute;
  top: -20px;
  right: 20px;
  background: var(--primary);
  color: white;
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
}

.neighborhood-stats {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
}

.stat-item {
  text-align: center;
  padding: 0 10px;
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.8rem;
  color: #7f8c8d;
}

.neighborhood-features {
  list-style: none;
  padding: 0;
  margin: 25px 0;
}

.neighborhood-features li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.neighborhood-features li:before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
  background: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  color: var(--primary);
  transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--primary);
  color: white;
}

.swiper-button-next,
.swiper-button-prev {
  position: absolute;
  top: var(--swiper-navigation-top-offset, 50%);
  width: calc(var(--swiper-navigation-size) / 44 * 27);
  height: var(--swiper-navigation-size);
  margin-top: calc(0px - (var(--swiper-navigation-size) / 2));
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--swiper-navigation-color, var(--swiper-theme-color));
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 1.5rem;
  font-weight: bold;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .neighborhood-card {
    height: auto;
  }
}

/* Brands Section */
.brands-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.brand-item {
  padding: 25px;
  text-align: center;
  opacity: 0.6;
  transition: all 0.5s ease;
}

.brand-item:hover {
  opacity: 1;
  transform: scale(1.1);
}

.brand-item img {
  max-height: 140px;
  width: auto;
  filter: grayscale(100%);
  transition: all 0.5s ease;
}

.brand-item:hover img {
  filter: grayscale(0%);
}

/* Center align heading */
.brands-heading {
  text-align: center;
  margin-bottom: 50px;
}

/* Owl Carousel Nav Arrows */
.owl-nav {
  text-align: center;
  margin-top: 20px;
}

.owl-prev,
.owl-next {
  display: inline-block;
  margin: 0 10px;
  font-size: 24px;
  cursor: pointer;
}

/* Testimonials */
.testimonial-section {
  padding: 100px 0;
  background: white;
}

.testimonial-card {
  background: white;
  border-radius: 15px;
  padding: 35px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin: 15px;
  position: relative;
  transition: all 0.5s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-card:before {
  content: "\201C";
  font-family: Georgia, serif;
  font-size: 80px;
  color: var(--primary);
  opacity: 0.1;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 20px;
  object-fit: cover;
  border: 3px solid var(--primary);
}

.author-name {
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--dark);
}

.author-designation {
  font-size: 0.9rem;
  color: #7f8c8d;
}

/* smart-testimonials------------------------------- */

.bg-light {
  background-color: #f8f9fa;
  padding: 60px 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.bg-light .section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
  color: #333;
  display: block;
}

/* Animations */
.pulse-animation {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.float-animation {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
  background: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  color: var(--primary);
  transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--primary);
  color: white;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 1.5rem;
  font-weight: bold;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(52, 152, 219, 0.3);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

/* Responsive */
@media (max-width: 1199.98px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .about-content {
    padding-left: 0;
    margin-top: 40px;
  }

  .neighborhood-card {
    height: auto;
  }
}

@media (max-width: 767.98px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .search-box {
    padding: 1.5rem;
  }

  .project-tabs .nav-link {
    padding: 8px 20px;
    margin: 0 5px 10px;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .navbar-brand {
    font-size: 1.5rem;
  }
}

/* about-page css starts----------------- */

.about-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("https://images.unsplash.com/photo-1605276374104-dee2a0ed3cd6")
      no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  color: #fff;
}

.about-hero .hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
}

.about-hero .hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.about-hero .hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .about-hero .hero-title {
    font-size: 2.5rem;
  }

  .about-hero .hero-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .about-hero .hero-title {
    font-size: 2rem;
  }

  .about-hero .about-hero {
    height: 50vh;
    min-height: 300px;
  }
}

/* commercial css starts -------------------------  */

.commercial-hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("https://images.unsplash.com/photo-1497366811353-6870744d04b2")
      no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  color: #fff;
}

.commercial-hero .hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
  margin-top: 50px;
}

.commercial-hero .hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.commercial-hero .hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Search Bar */
.commercial-hero .search-bar {
  background: #fff;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.commercial-hero .search-icon {
  color: #888;
  margin-left: 8px;
}

.commercial-hero .search-input {
  flex-grow: 1;
  border: none;
  padding: 10px 15px;
  border-radius: 50px;
  outline: none;
  font-size: 16px;
  color: #333;
}

.commercial-hero .search-btn {
  background: #0d6efd;
  color: #fff;
  padding: 10px 30px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

.commercial-hero .search-btn:hover {
  background: #084ec1;
}

/* Property Filters */
.property-filters {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-top: -50px;
  position: relative;
  z-index: 10;
}

.filter-title {
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.filter-btn {
  background: #f8f9fa;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  margin-right: 10px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: #0d6efd;
  color: #fff;
}

/* Property Cards */
.property-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease-in-out;
  margin-bottom: 30px;
  height: 430px;
}

.property-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.property-image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.property-detail {
  height: 210px;
}

.property-card:hover .property-image img {
  transform: scale(1.05);
}

.property-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 6px 14px;
  background: #0d6efd;
  color: white;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

.property-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #0d6efd;
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.property-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0d6efd;
  margin-bottom: 10px;
}

.property-features {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: space-around;
  margin-top: 15px;
}

.property-features li {
  display: flex;
  align-items: center;
  color: #7f8c8d;
  font-size: 0.9rem;
}

.property-features i {
  margin-right: 6px;
  color: #0d6efd;
}

/* Section Title */
.section-title {
  position: relative;
  margin-bottom: 3rem;
  font-weight: 700;
  color: #333;
  display: inline-block;
  text-align: center;
  font-size: 2rem;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #0d6efd;
  border-radius: 2px;
}

/* Pagination */
.pagination {
  justify-content: center;
  margin-top: 50px;
}

.page-item.active .page-link {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.page-link {
  color: #0d6efd;
  margin: 0 5px;
  border-radius: 5px !important;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .search-bar {
    flex-direction: column;
    gap: 10px;
    border-radius: 15px;
  }

  .search-btn {
    width: 100%;
    border-radius: 10px;
  }

  .search-input {
    width: 100%;
  }

  .property-filters {
    margin-top: 20px;
  }
}

@media (max-width: 576px) {
  .commercial-hero .hero-title {
    font-size: 2rem;
  }

  .commercial-hero {
    height: 60vh;
    min-height: 400px;
  }
}

/* residential page css starts ----------------------------- */

.residential-hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("https://images.unsplash.com/photo-1564013799919-ab600027ffc6")
      no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  color: #fff;
}

.residential-hero .hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
  margin-top: 50px;
}

.residential-hero .hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.residential-hero .hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Search Bar */
.residential-hero .search-bar {
  background: #fff;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.residential-hero .search-icon {
  color: #888;
  margin-left: 8px;
}

.residential-hero .search-input {
  flex-grow: 1;
  border: none;
  padding: 10px 15px;
  border-radius: 50px;
  outline: none;
  font-size: 16px;
  color: #333;
}

.residential-hero .search-btn {
  background: #0d6efd;
  color: #fff;
  padding: 10px 30px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

.residential-hero .search-btn:hover {
  background: #084ec1;
}

/* Property Filters */
.property-filters {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-top: -50px;
  position: relative;
  z-index: 10;
}

.filter-title {
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.filter-btn {
  background: #f8f9fa;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  margin-right: 10px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: #0d6efd;
  color: #fff;
}

/* Property Cards */
.property-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease-in-out;
  margin-bottom: 30px;
  height: 430px;
}

.property-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.property-image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.property-detail {
  height: 210px;
}

.property-card:hover .property-image img {
  transform: scale(1.05);
}

.property-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 6px 14px;
  background: #0d6efd;
  color: white;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

.property-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #0d6efd;
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.property-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0d6efd;
  margin-bottom: 10px;
}

.property-features {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: space-around;
  margin-top: 15px;
}

.property-features li {
  display: flex;
  align-items: center;
  color: #7f8c8d;
  font-size: 0.9rem;
}

.property-features i {
  margin-right: 6px;
  color: #0d6efd;
}

/* Section Title */
.section-title {
  position: relative;
  margin-bottom: 3rem;
  font-weight: 700;
  color: #333;
  display: inline-block;
  text-align: center;
  font-size: 2rem;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #0d6efd;
  border-radius: 2px;
}

/* Pagination */
.pagination {
  justify-content: center;
  margin-top: 50px;
}

.page-item.active .page-link {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.page-link {
  color: #0d6efd;
  margin: 0 5px;
  border-radius: 5px !important;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .residential-hero .hero-title {
    font-size: 2.5rem;
  }

  .residential-hero .hero-subtitle {
    font-size: 1rem;
  }

  .search-bar {
    flex-direction: column;
    gap: 10px;
    border-radius: 15px;
  }

  .search-btn {
    width: 100%;
    border-radius: 10px;
  }

  .search-input {
    width: 100%;
  }

  .property-filters {
    margin-top: 20px;
  }
}

@media (max-width: 576px) {
  .residential-hero .hero-title {
    font-size: 2rem;
  }

  .residential-hero {
    height: 60vh;
    min-height: 400px;
  }
}

/* contact page css starts -------------------------------- */

.contact-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab")
      no-repeat center center;
  background-size: cover;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  position: relative;
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
}

.contact-section {
  padding: 80px 0;
  background-color: var(--light-color);
}

.contact-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  padding: 40px;
  margin-bottom: 30px;
  transition: transform 0.3s, box-shadow 0.3s;
  border: none;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.contact-info-card {
  background: linear-gradient(135deg, var(--dark-color), #34495e);
  color: rgb(0, 0, 0);
}

.contact-form-card {
  background: white;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.contact-icon {
  background: var(--accent-color);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-right: 20px;
  flex-shrink: 0;
  transition: all 0.3s;
}

.contact-info-card .contact-icon {
  background: var(--secondary-color);
}

.contact-info-item:hover .contact-icon {
  transform: rotate(15deg) scale(1.1);
}

.contact-form .form-control {
  height: 50px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  margin-bottom: 20px;
  transition: all 0.3s;
  padding-left: 20px;
}

.contact-form .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.25rem rgba(78, 205, 196, 0.25);
}

.contact-form textarea.form-control {
  height: 150px;
  padding-top: 15px;
}

.submit-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.submit-btn: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: 0.5s;
}

.submit-btn:hover:before {
  left: 100%;
}

.submit-btn:hover {
  background: #004a8f;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 90, 171, 0.3);
}

.map-container {
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  border: 10px solid white;
}

.map-container iframe {
  filter: grayscale(20%) contrast(1.1);
}

.section-title {
  position: relative;
  margin-bottom: 30px;
  font-weight: 700;
  color: var(--dark-color);
  display: inline-block;
}

.contact-info-card .section-title {
  color: white;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--accent-color);
  border-radius: 2px;
}

.contact-info-card .section-title:after {
  background: var(--secondary-color);
}

/* Animated floating elements */
.floating-shape {
  position: absolute;
  opacity: 0.1;
  z-index: 1;
}

.shape-1 {
  top: 20%;
  left: 5%;
  width: 100px;
  height: 100px;
  background: var(--secondary-color);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: float 8s ease-in-out infinite;
}

.shape-2 {
  bottom: 10%;
  right: 5%;
  width: 150px;
  height: 150px;
  background: var(--primary-color);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: float 10s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
  .contact-hero {
    height: 50vh;
  }

  .contact-card {
    padding: 25px;
    margin-bottom: 30px;
  }

  .contact-section {
    padding: 50px 0;
  }
}
.custom-modal {
  background-color: #003b73; /* Deep blue */
  border-radius: 8px;
  padding: 20px;
}

.custom-modal .modal-header {
  justify-content: center;
  border-bottom: none;
}

.custom-modal .modal-body p {
  font-size: 14px;
  margin-bottom: 20px;
}

.custom-modal .form-control {
  border-radius: 4px;
}

.modal-dialog {
  margin-top: 50px !important; /* To push modal towards top */
}

.btn-close-white {
  filter: invert(1);
}

.custom-modal .btn-light {
  background-color: var(--primary);
  border: none;
  color: #fff;
}

.callback-button {
  position: fixed;
  right: 0;
  bottom: 20px;
  transform: translateY(-50%);
  background-color: #0056b3;
  color: white;
  padding: 10px 5px;
  font-weight: bold;
  text-decoration: none;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  border-radius: 5px 0 0 5px;
  z-index: 9999;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
  word-spacing: 5px;
  cursor: pointer;
}

.callback-button:hover {
  background-color: #003d80;
}

/* Modal Overlay */
#modalOverlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Show overlay when active */
#modalOverlay.active {
  display: block;
  opacity: 1;
}

/* Modal Content */
#modalContent.modal-content {
  position: fixed;
  bottom: 40px;
  right: -400px;
  width: 260px;
  height: auto;
  background-color: #003260;
  padding: 12px;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
  transition: right 0.3s ease, opacity 0.3s ease;
  z-index: 10001;
  opacity: 0;
  border-radius: 8px 0 0 8px;
}

/* When modal is active */
#modalContent.active {
  right: 0;
  opacity: 1;
}

/* Close Button */
#modalContent .close-btn {
  position: absolute;
  top: 5px;
  right: 10px;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  background: none;
  border: none;
}

/* Form Styling */
.callback-form h4 {
  margin-top: 0;
  color: #fff;
  font-size: 16px;
}

.callback-form input {
  width: 100%;
  padding: 6px 8px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}

.callback-form input[type="submit"] {
  background-color: #0056b3;
  color: white;
  width: auto;
  border: none;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.callback-form input[type="submit"]:hover {
  background-color: #003d80;
}

/* Fixed WhatsApp Button Styles */
.whatsapp-fixed {
  position: fixed;
  left: 0px;
  bottom: 20px;
  z-index: 999;
  /* background: #25d366; */
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-fixed:hover {
  transform: scale(1.1);
  /* background: #128c7e; */
}

.whatsapp-fixed img {
  width: 30px;
  height: 30px;
}

/* Pulse Animation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.modal-dialog .modal-content {
  position: absolute;
  top: 10px;
  width: 350px;
  height: 470px;
  background-color: #003260;
  padding: 12px;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
  transition: right 0.3s ease;
  z-index: 10001;
}

/* blog page css starts-------------------------- */

.blog-header {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("https://images.unsplash.com/photo-1560518883-ce09059eeffa") no-repeat
      center center;
  background-size: cover;

  padding: 100px 0;
  color: white;
  text-align: center;
}

.blog-categories {
  background-color: #f8f9fa;
  padding: 20px 0;
  margin-bottom: 30px;
  position: relative;
}

.blog-categories .container {
  position: relative;
}

.scrollable-nav {
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* For Firefox */
  -ms-overflow-style: none; /* For IE and Edge */
}

.scrollable-nav::-webkit-scrollbar {
  display: none; /* For Chrome, Safari and Opera */
}

.blog-categories .nav-link {
  color: #495057;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 20px;
  margin: 0 5px;
  cursor: pointer;
  display: inline-block;
  white-space: nowrap;
}

.blog-categories .nav-link.active {
  background-color: #0d6efd;
  color: white;
}

.scroll-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.scroll-indicator::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background-color: #0d6efd;
  transition: width 0.2s ease;
}

.scrollable-nav {
  position: relative;
  z-index: 2;
}

.blog-card {
  margin-bottom: 30px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card-img {
  height: 200px;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 20px;
}

.blog-card-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #212529;
}

.blog-card-text {
  color: #6c757d;
  margin-bottom: 15px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #6c757d;
}

.blog-card-category {
  display: inline-block;
  padding: 3px 10px;
  background-color: #e9ecef;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #0d6efd;
}

.pagination .page-link {
  color: #0d6efd;
  border-radius: 5px;
  margin: 0 5px;
}

.pagination .page-item.active .page-link {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

/* Hide all blog sections initially */
.blog-section {
  display: none;
}

/* Show active blog section */
.blog-section.active {
  display: block;
}

/* Popular Posts Section */
.popular-posts {
  background-color: #f8f9fa;
  padding: 30px 0;
  margin-bottom: 30px;
}

.popular-posts-title {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #212529;
  text-align: center;
  font-weight: 600;
}

.popular-post-card {
  display: flex;
  margin-bottom: 15px;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.popular-post-card:hover {
  transform: translateY(-3px);
}

.popular-post-img {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  overflow: hidden;
}

.popular-post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popular-post-content {
  padding: 12px;
  flex-grow: 1;
}

.popular-post-title {
  font-size: 0.95rem;
  margin-bottom: 5px;
  font-weight: 600;
}

.popular-post-date {
  font-size: 0.75rem;
  color: #6c757d;
}

@media (max-width: 767.98px) {
  .blog-card {
    margin-bottom: 20px;
  }

  .blog-categories .nav-link {
    padding: 5px 10px;
    font-size: 0.85rem;
    margin: 0 2px;
  }

  .popular-post-card {
    flex-direction: column;
  }

  .popular-post-img {
    width: 100%;
    height: 120px;
  }
}

.popular-post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.popular-post-card:hover {
  transform: translateY(-5px);
}

.popular-post-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.popular-post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.popular-post-card:hover .popular-post-img img {
  transform: scale(1.05);
}

.popular-post-content {
  padding: 10px;
  flex-grow: 1;
}

.popular-post-title {
  font-size: 1rem;
  margin-bottom: 10px;
  font-weight: 600;
  color: #212529;
}

.popular-post-date {
  font-size: 0.8rem;
  color: #6c757d;
}

@media (max-width: 767.98px) {
  .popular-post-img {
    height: 150px;
  }
}

.blog-detail-container {
  max-width: 1400px;
  margin: 0 auto;
}

.blog-main-image {
  height: 500px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 30px;
}

.blog-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #212529;
}

.blog-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

.blog-meta-item {
  display: flex;
  align-items: center;
  margin-right: 20px;
  margin-bottom: 10px;
  color: #6c757d;
  font-size: 0.9rem;
}

.blog-meta-item i {
  margin-right: 5px;
  color: #fff;
  font-size: 16px;
}

.blog-category {
  display: inline-block;
  padding: 3px 10px;
  background-color: #e9ecef;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #0d6efd;
  margin-right: 10px;
}

.blog-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #495057;
  margin-bottom: 40px;
}

.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
}

.blog-quote {
  background-color: #f8f9fa;
  border-left: 4px solid #0d6efd;
  padding: 30px;
  margin: 40px 0;
  font-style: italic;
  font-size: 1.2rem;
  color: #212529;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.blog-tag {
  display: inline-block;
  padding: 5px 15px;
  background-color: #e9ecef;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-right: 10px;
  margin-bottom: 10px;
  color: #495057;
  text-decoration: none;
  transition: all 0.3s ease;
}

.blog-tag:hover {
  background-color: #0d6efd;
  color: white;
}

.author-card {
  display: flex;
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 50px;
}

.author-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 20px;
  flex-shrink: 0;
}

.author-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.author-info p {
  color: #6c757d;
  margin-bottom: 15px;
}

.author-social a {
  display: inline-block;
  width: 35px;
  height: 35px;
  background-color: #e9ecef;
  border-radius: 50%;
  text-align: center;
  line-height: 35px;
  margin-right: 10px;
  color: #495057;
  transition: all 0.3s ease;
}

.author-social a:hover {
  background-color: #0d6efd;
  color: white;
}

.related-posts-title {
  font-size: 1.75rem;
  margin-bottom: 30px;
  font-weight: 600;
  color: #212529;
}

.related-post-card {
  margin-bottom: 30px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
}

.related-post-card:hover {
  transform: translateY(-5px);
}

.related-post-img {
  height: 200px;
  overflow: hidden;
}

.related-post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-post-body {
  padding: 20px;
}

.related-post-title {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #212529;
}

.related-post-meta {
  font-size: 0.8rem;
  color: #6c757d;
}

.comment-section {
  margin-top: 50px;
}

.comment-title {
  font-size: 1.75rem;
  margin-bottom: 30px;
  font-weight: 600;
  color: #212529;
}

.comment-card {
  display: flex;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e9ecef;
}

.comment-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 20px;
  flex-shrink: 0;
}

.comment-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comment-body h5 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.comment-date {
  font-size: 0.8rem;
  color: #6c757d;
  margin-bottom: 10px;
}

.comment-text {
  color: #495057;
  margin-bottom: 15px;
}

.reply-btn {
  font-size: 0.8rem;
  color: #0d6efd;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.comment-form {
  background-color: #f8f9fa;
  padding: 30px;
  border-radius: 10px;
  margin-top: 50px;
}

.comment-form-title {
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: 600;
  color: #212529;
}

@media (max-width: 767.98px) {
  .blog-main-image {
    height: 300px;
  }

  .blog-title {
    font-size: 1.8rem;
  }

  .author-card {
    flex-direction: column;
  }

  .author-img {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .comment-card {
    flex-direction: column;
  }

  .comment-img {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .blog-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    flex-wrap: wrap;
  }
}
