/* Banner Section CSS - All Devices */

/* Banner Main Container */
.home_banner_main {

  min-height: 60vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 0 60px 0;
}

.home_banner_main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/3.jpg') no-repeat;
  animation: float 20s infinite linear;
}


/* Banner Container */
.home_banner_main .container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* Banner Content */
.banner_content {

  color: white;
  max-width: 800px;

}

/* Main Headings */
.banner_content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: slideInUp 1s ease-out;
}


.banner_content h1 span:last-child {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  display: block;
  margin-top: 0.5rem;
}

/* Features List */
.banner_content > div:first-of-type {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2.5rem;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.banner_content > div:first-of-type span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 0.875rem 1.5rem;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.banner_content > div:first-of-type span:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.banner_content > div:first-of-type span img {
  width: 20px;
  height: 20px;

}
li{list-style: none;}

/* Hide/Show Classes */
.desk_hide {
  display: none;
}

.mob_hide {
  display: block;
}

/* Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =================================
   LARGE DESKTOP (1400px and above)
   ================================= */
@media (min-width: 1400px) {
  .home_banner_main {
    min-height: 65vh;
    padding: 120px 0 80px 0;
  }
  
  .banner_content h1 {
    font-size: 4rem;
    margin-bottom: 2.5rem;
  }
  
  .banner_content > div:first-of-type {
    gap: 2.5rem;
    margin-bottom: 3rem;
  }
  
  .banner_content > div:first-of-type span {
    padding: 1rem 1.75rem;
    font-size: 1rem;
  }
  
  .banner_content > div:first-of-type span img {
    width: 22px;
    height: 22px;
  }
}

/* =================================
   DESKTOP (1200px - 1399px)
   ================================= */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .home_banner_main .container {
    padding: 0 25px;
  }
  
  .banner_content h1 {
    font-size: 3.75rem;
  }
  
  .banner_content > div:first-of-type span {
    padding: 0.9rem 1.6rem;
  }
}

/* =================================
   TABLET LANDSCAPE (992px - 1199px)
   ================================= */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .home_banner_main {
    min-height: 55vh;
    padding: 90px 0 50px 0;
  }
  
  .home_banner_main .container {
    max-width: 100%;
    padding: 0 20px;
  }
  
  .banner_content h1 {
    font-size: 3.25rem;
  }
  
  .banner_content > div:first-of-type {
    gap: 1.5rem;
  }
  
  .banner_content > div:first-of-type span {
    padding: 0.8rem 1.4rem;
    font-size: 0.9rem;
  }
  
  .banner_content > div:first-of-type span img {
    width: 18px;
    height: 18px;
  }
}

/* =================================
   TABLET PORTRAIT (768px - 991px)
   ================================= */
@media (max-width: 991.98px) {
  .home_banner_main {
    min-height: 50vh;
    padding: 85px 0 40px 0;
  }
  
  .home_banner_main .container {
    max-width: 100%;
    width: 100%;
    padding: 0 20px;
  }
  
  .banner_content h1 {
    font-size: 2.75rem;
    margin-bottom: 1.75rem;
  }
  
  .banner_content > div:first-of-type {
    gap: 1.25rem;
    margin-bottom: 2rem;
  }
  
  .banner_content > div:first-of-type span {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }
  
  .banner_content > div:first-of-type span img {
    width: 17px;
    height: 17px;
  }
}

/* ===============================
   MOBILE (576px - 767px)
   =============================== */
@media (max-width: 767.98px) {
  .home_banner_main {
    min-height: 45vh;
    padding: 75px 0 35px 0;
  }
  
  .home_banner_main .container {
    padding: 0 15px;
  }
  
  .banner_content {
    max-width: 100%;
  }
  
  .banner_content h1 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
  }
  
  .banner_content h1 span:last-child {
    font-size: 1.25rem;
    margin-top: 0.25rem;
  }
  
  .banner_content > div:first-of-type {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.75rem;
  }
  
  .banner_content > div:first-of-type span {
    padding: 0.7rem 1.125rem;
    font-size: 0.85rem;
    min-width: 200px;
    justify-content: center;
  }
  
  .banner_content > div:first-of-type span img {
    width: 16px;
    height: 16px;
  }
  
  /* Show/Hide for Mobile */
  .desk_hide {
    display: block;
  }
  
  .mob_hide {
    display: none;
  }
}

/* ===============================
   SMALL MOBILE (max-width: 575px)
   =============================== */
@media (max-width: 575.98px) {
  .home_banner_main {
    min-height: 40vh;
    padding: 70px 0 30px 0;
  }
  
  .home_banner_main .container {
    padding: 0 12px;
  }
  
  .banner_content h1 {
    font-size: 1.875rem;
    margin-bottom: 1.25rem;
  }
  
  .banner_content h1 span:last-child {
    font-size: 1.125rem;
  }
  
  .banner_content > div:first-of-type {
    gap: 0.875rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
  }
  
  .banner_content > div:first-of-type span {
    padding: 0.625rem 1rem;
    font-size: 0.8rem;
    min-width: 180px;
  }
  
  .banner_content > div:first-of-type span img {
    width: 15px;
    height: 15px;
  }
}

/* ===============================
   EXTRA SMALL MOBILE (max-width: 420px)
   =============================== */
@media (max-width: 420px) {
  .home_banner_main {
    padding: 65px 0 25px 0;
  }
  
  .home_banner_main .container {
    padding: 0 10px;
  }
  
  .banner_content h1 {
    font-size: 3rem;
    line-height: 1.3;
  }
  
  .banner_content h1 span:last-child {
    font-size: 3rem;
  }
  
  .banner_content > div:first-of-type span {
    padding: 0.5rem 0.875rem;
    font-size: 0.75rem;
    min-width: 160px;
  }
  
  .banner_content > div:first-of-type span img {
    width: 14px;
    height: 14px;
  }
}

/* ===============================
   ACCESSIBILITY & UX IMPROVEMENTS
   =============================== */

/* High contrast mode support */
@media (prefers-contrast: high) {
  .home_banner_main {
    background: linear-gradient(135deg, #000080 0%, #4b0082 100%);
  }
  
  .banner_content > div:first-of-type span {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .home_banner_main::before {
    animation: none;
  }
  
  .banner_content h1,
  .banner_content > div:first-of-type {
    animation: none;
  }
  
  .banner_content > div:first-of-type span {
    transition: none;
  }
  
  .banner_content > div:first-of-type span:hover {
    transform: none;
  }
}

/* Focus states for accessibility */
.banner_content > div:first-of-type span:focus {
  outline: 2px solid #ffd700;
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .home_banner_main {
    background: none;
    color: black;
    min-height: auto;
    padding: 20px 0;
  }
  
  .home_banner_main::before {
    display: none;
  }
  
  .banner_content h1,
  .banner_content > div:first-of-type span {
    color: black;
    text-shadow: none;
  }
}

/*From here peroperty card css starts */
/* Property Cards CSS for All Devices */

/* Main Container */
.main_container {
  padding:80px 15px;
}

/* Heading Section */
.heading_box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.best_project_heading {
  font-size:48px;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.heading_span {
  color: #e74c3c;
}
.heading_box .hotProjects{position: relative;}
.heading_box .hotProjects::after{content:'';right:5px;top:0;background-image: url(../images/fire-icon.3342fbca664974c9bb7f.gif);}

.view_all_btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #e74c3c;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.view_all_btn:hover {
  background: #c0392b;
  color: white;
  text-decoration: none;
}

.shake {
  transition: transform 0.3s ease;
}

.view_all_btn:hover .shake {
  transform: translateX(5px);
}

/* Text Content */
.text-justify {
  text-align: justify;
  color: #666;
  line-height: 1.6;
  margin-bottom: 30px;
}

.seeMore {
  color: #e74c3c;
  cursor: pointer;
  font-weight: 500;
}

/* Property Cards Row */
.best_projects_row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 0 -7.5px;
}

.best_projects_row .col-md-3 {
  flex: 0 0 calc(25% - 11.25px);
  max-width: calc(25% - 11.25px);
  padding: 0;
  margin-bottom: 30px;
}

/* Card Container */
.card_box {
  position: relative;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;

}

.card_box:hover {
  transform: translateY(-5px);
}

/* Card Image */
.card_img {
  position: relative;
  overflow: hidden;
}

.property_img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.card_box:hover .property_img {
  transform: scale(1.05);
}

/* Card Body */
.card_body {
  padding-top: 20px;
  position: relative;
}

.price_ratings {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.price_ratings h4 {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin: 0;
  flex: 1;
  line-height: 1.3;
}

.star_image p {
  background:#ff385c;
  color: white;
  padding: 4px 8px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
}

.property_location {
  color: #666;
  font-size: 14px;
  margin-bottom: 15px;
  line-height: 1.4;
}

/* Price and Enquiry Section */
.d-flex.justify-content-between.align-items-end {
  position: relative;
  min-height: 40px;
}

.property_price {
  color: #e74c3c;
  font-weight: 700;
  font-size: 16px;
}

/* Enquiry Button Wrapper */
.enquire_now_wrapper {
  position: absolute;
  bottom: -50px;
  right: 0;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card_box:hover .enquire_now_wrapper {
  bottom: 0;
  opacity: 1;
}

.enquiry-btn {
  background: #27ae60;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.enquiry-btn:hover {
  background: #219a52;
  transform: scale(1.05);
}

/* Project Tag */
.project_tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(231, 76, 60, 0.9);
  color: white;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: 600;
  margin: 0;
  z-index: 2;
}

/* Responsive Breakpoints */

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
  .best_projects_row .col-md-3 {
    flex: 0 0 calc(25% - 11.25px);
    max-width: calc(25% - 11.25px);
  }
}

/* Desktop (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .best_projects_row .col-md-3 {
    flex: 0 0 calc(25% - 11.25px);
    max-width: calc(25% - 11.25px);
  }
}

/* Tablet (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .best_projects_row {
    gap: 12px;
    margin: 0 -6px;
  }
  
  .best_projects_row .col-md-3 {
    flex: 0 0 calc(100%);
    max-width: calc(100%);
  }
  
  .best_project_heading {
    font-size: 24px;
  }
  
  .heading_box {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}

/* Small Tablet (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .best_projects_row {
    gap: 10px;
    margin: 0 -5px;
  }
  
  .best_projects_row .col-md-3 {
    flex: 0 0 calc(100%- 5px);
    max-width: calc(100% - 5px);
  }
  
  .card_body {
    padding: 15px;
  }
  
  .property_img {
    height: 180px;
  }
  
  .best_project_heading {
    font-size: 22px;
  }
}

/* Mobile (up to 575px) */
@media (max-width: 575px) {
  .main_container {
    padding: 15px 0;
  }
  
  .best_projects_row {
    gap: 15px;
    margin: 0;
    justify-content: center;
  }
  
  .best_projects_row .col-md-3 {
    flex: 0 0 280px;
    max-width: 280px;
  }
  
  .card_body {
    padding: 12px;
  }
  
  .property_img {
    height: 160px;
  }
  
  .price_ratings h4 {
    font-size: 16px;
  }
  
  .property_price {
    font-size: 14px;
  }
  
  .best_project_heading {
    font-size: 20px;
    text-align: center;
  }
  
  .heading_box {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
  }
  
  .text-justify {
    text-align: left;
    font-size: 14px;
  }
}

/* Extra Small Mobile (up to 375px) */
@media (max-width: 375px) {
  .best_projects_row .col-md-3 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .main_container {
    padding: 10px 0;
  }
}

/* Utility Classes */
.text-decoration-none {
  text-decoration: none !important;
}

.text-decoration-none:hover {
  text-decoration: none !important;
}

.d-inline-block {
  display: inline-block !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mt30 {
  margin-top: 30px;
}

.desk_hide {
  display: none;
}

.mob_hide {
  display: inline;
}

@media (max-width: 767px) {
  .desk_hide {
    display: inline;
  }
  
  .mob_hide {
    display: none;
  }
  
  .mt30 {
    margin-top: 20px;
  }
  .best_projects_row .col-md-3{max-width: 100%;min-width: 100%;padding:0px 15px;}
      .call-button img {height:60px;}
      .mob_hide{display: none;}
}


/*From here peroperty card css ends */
/* Location Tab css starts*/
  @keyframes shake {
            0%, 50%, 100% { transform: translateX(0); }
            25%, 75% { transform: translateX(2px); }
        }

        .text-justify {
            text-align: justify;
            color: #666;
            font-size: 1.1rem;
            line-height: 1.6;
            margin-bottom: 30px;
        }

        /* Tab Styles */
        .location-tabs {
            margin: 30px 0;
            border-bottom: 2px solid #eee;
        }

        .tab-buttons {
            display: flex;
            gap: 0;
            margin: 0;
            padding: 0;
            list-style: none;
            flex-wrap: wrap;
        }

        .tab-button {
            background: #f8f9fa;
            border: 1px solid #ddd;
            padding: 12px 24px;
            cursor: pointer;
            font-weight: 600;
            color: #666;
            transition: all 0.3s ease;
            border-bottom: none;
            position: relative;
            margin-right: -1px;
        }

        .tab-button:first-child {
            border-radius: 8px 0 0 0;
        }

        .tab-button:last-child {
            border-radius: 0 8px 0 0;
            margin-right: 0;
        }

        .tab-button.active {
            background: linear-gradient(45deg, #e67e22, #f39c12);
            color: white;
            border-color: #e67e22;
            z-index: 2;
        }

        .tab-button:hover:not(.active) {
            background: #e9ecef;
            color: #333;
        }

        .tab-content {
            display: none;
            animation: fadeIn 0.5s ease-in;
        }

        .tab-content.active {
            display: block;
        }

      

        @media (max-width: 767px) {
        
            
            .tab-buttons {
                flex-direction: column;
            }
            
            .tab-button {
                border-radius: 0 !important;
                margin-right: 0;
                margin-bottom: -1px;
            }
            
            .tab-button:first-child {
                border-radius: 8px 8px 0 0 !important;
            }
            
            .tab-button:last-child {
                border-radius: 0 0 8px 8px !important;
                margin-bottom: 0;
            }
        }

      /* Location Tab css Ends*/