/* mainpage styles */

@import url('https://fonts.googleapis.com/css2?family=Lobster+Two:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
:root {
    --main-color: #004253;
    --second-color-gold: #f1c886;
    --text-color-blue: #072638;
    --text-color-white: #E9E3D5;
    --global-font-size: 0.9rem;
}



/* Popular Cities Section */
#popular_cities {
    margin: 5rem 80px;
}

#popular_cities h1 {
    font-weight: bold;
    text-align: center;
    color: var(--main-color);
    margin-bottom: 1rem;
}

#popular_cities .line {
    width: 300px;
    height: 4px;
    background-color: var(--second-color-gold);
    margin: 1.2rem auto 2.5rem;
}

#popular_cities .cards-slider {
    position: relative;
    margin: 40px auto;
}

#popular_cities .slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-bottom: 50px; /* Space for indicators */
}

#popular_cities .slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

#popular_cities .slider-item {
    flex: 0 0 auto;
    padding: 0 10px;
    width: 100%; /* Default for mobile */
    box-sizing: border-box;
}

#popular_cities .city-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: none;
    height: 425px;
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
}

#popular_cities .city-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

#popular_cities .city-image-container {
    height: 360px;
    overflow: hidden;
    position: relative;
    border-radius: 20px;
}

#popular_cities .city-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

#popular_cities .city-image-container:hover .city-image {
    transform: scale(1.05);
}

#popular_cities .city-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 40px 20px 20px;
    color: white;
}

#popular_cities .city-info h2 {
    font-size: 2rem;
    font-weight: 500;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-family: "Lobster Two", sans-serif;
    font-style: normal;
    text-align: center;
}

#popular_cities .city-info p {
    font-size: 0.9rem;
    margin: 5px 0 0 0;
    letter-spacing: 5px;
    opacity: 0.9;
    text-align: center;

}

#popular_cities .city-properties {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0 0 20px 20px;
}

#popular_cities .property-count {
    font-weight: 600;
    color: var(--main-color);
    font-size: 1rem;
}

#popular_cities .property-arrow {
    color: var(--main-color);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

#popular_cities .city-card:hover .property-arrow {
    transform: translateX(5px);
}

/* Navigation controls */
#popular_cities .slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgb(0 0 0 / 24%);
    border: none;
    border-radius: 50%;
    color: white;
    z-index: 10;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

#popular_cities .slider-control:hover {
    background-color: var(--second-color-gold);
}

#popular_cities .slider-control-prev {
    left: -20px;
}

#popular_cities .slider-control-next {
    right: -20px;
}

/* Indicators */
#popular_cities .slider-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

#popular_cities .slider-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

#popular_cities .slider-indicators button.active {
    background-color: rgba(0, 0, 0, 0.456);
}
/* Responsive breakpoints - adjust slides per view based on screen size */
@media (min-width: 576px) {
    #popular_cities .slider-item {
        width: 50%; /* 2 cards at 576px and above */
    }
}

@media (min-width: 992px) {
    #popular_cities .slider-item {
        width: 33.333%; /* 3 cards at 992px */
    }
}

@media (min-width: 1200px) {
    #popular_cities .slider-item {
        width: 25%; /* 4 cards at 1200px */
    }
}

/* Mobile-specific adjustments */
@media (max-width: 575px) {
    #popular_cities .slider-item {
        width: 50% !important; /* 1 card for very small screens */
    }
    #popular_cities .city-info p{
        letter-spacing: 3px;
    }
    #popular_cities {
        margin: 3rem auto;
        padding: 0 20px;
    }
    
    #popular_cities .city-card {
        height: 350px;
    }
    
    #popular_cities .city-image-container {
        height: 270px;
    }
    
    #popular_cities .city-info h2 {
        font-size: 1.5rem;
    }
    
    #popular_cities .slider-control {
        width: 35px;
        height: 35px;
    }
    
    #popular_cities .slider-control-prev {
        left: 10px;
    }
    
    #popular_cities .slider-control-next {
        right: 10px;
    }
}

@media (min-width: 576px) and (max-width: 991px) {
    #popular_cities {
        margin: 3rem auto;
        padding: 0 20px;
    }
    
    #popular_cities .city-card {
        height: 380px;
    }
    
    #popular_cities .city-image-container {
        height: 300px;
    }
    
    #popular_cities .slider-control-prev {
        left: 5px;
    }
    
    #popular_cities .slider-control-next {
        right: 5px;
    }
}

@media (max-width: 575px) {
    #popular_cities .city-card {
        height: 292px;
    }
    
    #popular_cities .city-image-container {
        height: 240px;
    }
    
    #popular_cities .city-info h2 {
        font-size: 1.3rem;
    }
}




/* Override existing project-card styles for launch cards */
#newnew .launch-card-fullbg {
    position: relative;
    height: 400px; /* Fixed height for consistency */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#newnew .launch-card-fullbg:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Full background image setup */
#newnew .launch-card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#newnew .background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

#newnew .launch-card-fullbg:hover .background-image {
    transform: scale(1.05);
}

#newnew .background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(0,0,0,0.3) 0%, 
        rgba(0,0,0,0.1) 50%, 
        rgba(0,0,0,0.6) 100%);
    z-index: 2;
}

/* Status badges positioned on the image */
#newnew .status-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 10;
}

#newnew .status-badge {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#newnew .status-badge.off-plan {
    background: rgba(52, 152, 219, 0.9);
    color: white;
    border: 1px solid rgba(52, 152, 219, 0.3);
}

#newnew .status-badge.delivery {
    background: rgba(231, 76, 60, 0.9);
    color: white;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

#newnew .status-badge.sales {
    background: rgba(46, 204, 113, 0.9);
    color: white;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

/* Developer logo positioned on the image */
#newnew .developer-logo {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 80px;
    height: 35px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
    color: #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Content overlay positioned on the image */
#newnew .card-content-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

/* Property info section */
#newnew .property-info-section {
    margin-bottom: 2px;
}

#newnew .property-title {
    font-size: 18px;
    font-weight: bold;
    color: white;
    margin-bottom: 3px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

#newnew .property-location {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

#newnew .property-location i {
    color: rgba(255, 255, 255, 0.8);
}

/* Property details section */
#newnew .property-details-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 7px;
}

#newnew .bedroom-info {
    font-size: 16px;
    color: white;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

#newnew .price-section {
    text-align: right;
}

#newnew .launch-price-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

#newnew .launch-price {
    font-size: 20px;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

#newnew .payment-plan {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

#newnew .payment-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

#newnew #buttons_div{
    display: inline-flex;
    gap: 10px;
}

#newnew #buttons_div a{
    background-color: white;
    padding: 7px 12px;
    border-radius: 15px;
    color: rgba(0, 0, 0, 0.709);
}
/* WhatsApp button */
#newnew .whatsapp-btn {
    width: 80%;
    background: #25d366cc;
    color: white;
    border: none;
    padding: 7px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

#newnew .whatsapp-btn:hover {
    background: #20BA5A;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

#newnew .whatsapp-btn i {
    font-size: 18px;
}

/* Hide the old card structure elements */
#newnew .launch-card-fullbg .relative-container,
#newnew .launch-card-fullbg .card-bottom,
#newnew .launch-card-fullbg .card-btn {
    display: none !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #newnew .launch-card-fullbg {
        height: 350px;
    }
    #newnew .cards-slider{
        margin: 1.4rem;
    }
    #newnew .property-title {
        font-size: 20px;
    }
    
    #newnew .launch-price {
        font-size: 18px;
    }
    
    #newnew .status-badges,
    #newnew .developer-logo {
        top: 10px;
    }
    
    #newnew .status-badges {
        left: 10px;
    }
    
    #newnew .developer-logo {
        right: 10px;
        width: 70px;
        height: 30px;
        font-size: 11px;
    }
    
    #newnew .card-content-overlay {
        padding: 15px;
    }
    
    #newnew .property-details-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    #newnew .price-section {
        text-align: left;
    }
}

@media (max-width: 480px) {
    #newnew .launch-card-fullbg {
        height: 320px;
    }
    
    #newnew .property-title {
        font-size: 18px;
    }
    
    #newnew .developer-logo {
        width: 60px;
        height: 25px;
        font-size: 10px;
    }
    
    #newnew .status-badge {
        font-size: 10px;
        padding: 4px 8px;
    }
}
#service_cards h1{
    font-weight: bold;
    text-align: center;
    color: var(--main-color);
    margin-bottom: 1rem;
}
#service_cards{

}

   .booking-modal .modal-dialog {
        max-width: 600px;
    }

    .booking-modal .modal-header {
        background: linear-gradient(135deg, var(--main-color), #005670);
        color: white;
        border-bottom: none;
    }

    .booking-modal .modal-title {
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .booking-modal .btn-close {
        filter: brightness(0) invert(1);
    }

    .booking-form {
        padding: 20px;
    }

    .form-label {
        font-weight: 600;
        color: var(--text-color-blue);
        margin-bottom: 8px;
    }

    .form-control, .form-select {
        border: 2px solid #e9ecef;
        border-radius: 8px;
        padding: 12px 15px;
        font-size: 14px;
        transition: all 0.3s ease;
    }

    .form-control:focus, .form-select:focus {
        border-color: var(--main-color);
        box-shadow: 0 0 0 0.2rem rgba(0, 66, 83, 0.1);
    }

    .time-slots {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 10px;
        margin-top: 10px;
    }

    .time-slot {
        padding: 10px 15px;
        border: 2px solid #e9ecef;
        border-radius: 8px;
        background: white;
        cursor: pointer;
        text-align: center;
        transition: all 0.3s ease;
        font-size: 14px;
        font-weight: 500;
    }

    .time-slot:hover {
        border-color: var(--main-color);
        background: rgba(0, 66, 83, 0.05);
    }

    .time-slot.selected {
        background: var(--main-color);
        color: white;
        border-color: var(--main-color);
    }

    .consultation-option {
        display: flex;
        align-items: center;
        padding: 15px;
        border: 2px solid #e9ecef;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
        background: white;
    }

    .consultation-option:hover {
        border-color: var(--main-color);
        background: rgba(0, 66, 83, 0.05);
    }

    .consultation-option.selected {
        border-color: var(--main-color);
        background: rgba(0, 66, 83, 0.1);
    }

    .consultation-option input[type="radio"] {
        margin-right: 12px;
        accent-color: var(--main-color);
        width: 18px;
        height: 18px;
    }

    .consultation-option label {
        font-weight: 500;
        color: var(--text-color-blue);
        cursor: pointer;
        margin: 0;
        flex: 1;
    }
    /* Builder listing count styling */
.developer-item .listing-count {
  margin-left: auto;
  padding-left: 10px;
}

.developer-item .listing-count .badge {
  font-size: 0.75rem;
  min-width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--main-color) !important;
}

.developer-info {
  flex: 1;
}

/* Ensure proper spacing in developer items */
.developer-item .d-flex {
  align-items: center;
}
/* Scroll indicators */
            .scroll-indicator {
                position: relative;
                text-align: center;
                margin-top: 15px;
            }

            .scroll-dots {
                display: flex;
                justify-content: center;
                gap: 8px;
                margin-top: 10px;
            }

            .dot {
                width: 8px;
                height: 8px;
                border-radius: 50%;
                background-color: #ddd;
                transition: background-color 0.3s ease;
            }

            .dot.active {
                background-color: var(--main-color);
            }
    .other-input {
        margin-top: 15px;
        display: none;
    }

    .other-input.show {
        display: block;
    }

    .submit-btn {
        background: linear-gradient(135deg, var(--main-color), #005670);
        border: none;
        color: white;
        padding: 15px 30px;
        border-radius: 8px;
        font-weight: 600;
        font-size: 16px;
        width: 100%;
        transition: all 0.3s ease;
    }

    .submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 66, 83, 0.3);
        color: white;
    }

    .submit-btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
    }

    .required {
        color: #dc3545;
    }

    .form-text {
        color: #6c757d;
        font-size: 12px;
        margin-top: 5px;
    }

    @media (max-width: 768px) {
        .booking-modal .modal-dialog {
            margin: 10px;
            max-width: calc(100% - 20px);
        }
        #service_cards h1{
            margin-top: 1rem;
            margin-bottom: 0px;
        }
        .time-slots {
            grid-template-columns: repeat(2, 1fr);
        }

        .booking-form {
            padding: 15px;
        }
        #trusted_developers {
            margin-right: 0px !important;
            margin-left: 0px !important;
        }
    }

.cross-service-container {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.cross-service-btn {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.cross-service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.cross-service-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.added-service-tag {
    display: inline-block;
    background: #e8f5e8;
    color: #2d5a2d;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 14px;
    margin: 5px 5px 5px 0;
    border: 1px solid #b8e6b8;
}

.added-service-tag .remove-service {
    margin-left: 8px;
    color: #d32f2f;
    cursor: pointer;
    font-weight: bold;
}

.added-service-tag .remove-service:hover {
    color: #b71c1c;
}

#addedServicesList {
    margin-top: 10px;
}

#addedServicesDisplay {
    margin-top: 8px;
}





@media screen and (max-width: 390px){
    #distress_deals #shifter div {
        gap: unset !important;
        padding: 0.4rem !important;
    }
}

    .mobile_ser{
        display: none;
    }

@media (max-width: 768px) {
    #service_cards .card-img-style{
        top: -9px !important;
    }
    #newnew #buttons_div{
        justify-content: space-around;
    }
    .pdi-content-wrapper{
        gap: 0px !important;
    }
    #service_cards .container{
        margin-top: 0px !important;
        padding-bottom: 1rem !important;
        padding-top: 1rem !important;
    }
    .mobile_ser{
        display: block;
    }
    .pc_serv{
        display: none;
    }
}

#service_cards .container{
    /* margin-top: 3rem; */
}
#service_cards .col-md-3{
    width: 21%;
}
#service_cards .row{
    justify-content: center;
}
    #service_cards .custom-card {
        display: flex;
        flex-wrap: wrap;
        align-content: space-between;
      border: none;
      border-radius: 20px;
      overflow: hidden;
      position: relative;
      height: 100%;
      padding: 20px;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
      background-color: white;
      justify-content: center;
    }
    #service_cards .card-img-style {
      height: 80px;
      width: auto;
    }
    /* Mobile horizontal scrollable styles */
@media (max-width: 768px) {
    .mobile-cards-container {
        overflow-x:hidden;
        overflow-y: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 0 15px;
    }

    .mobile-cards-container::-webkit-scrollbar {
        display: none;
    }

    .mobile-cards-wrapper {
        display: flex;
        gap: 15px;
        padding: 10px 0;
        width: max-content;
        scroll-behavior: smooth;
    }

    .mobile-card-item {
        flex: 0 0 calc(50vw - 30px);
        max-width: 280px;
        min-width: 180px;
    }
    #service_cards .custom-card{
        padding: 10px;
        justify-content: center;
    }
  

    .mobile-cards-container:active {
        cursor: grabbing;
    }
}
    #service_cards .custom-card h4{
        font-size: 1.1rem;
        margin-bottom: 1rem;

    }
    .mobile_ser .card-img-style{
        position: unset !important;
    }

    #service_cards .label-badge {
      background-color: #ff4d4f;
      color: white;
      font-size: 0.8rem;
      font-weight: bold;
      padding: 4px 8px;
      border-radius: 6px;
      display: inline-block;
      margin-bottom: 8px;
    }
    #service_cards .discount-strip {
      width: 100%;
      background-color: #eaffea;
      color: #27ae60;
      font-weight: 600;
      padding: 10px 15px;
      border-radius: 15px;
      border: none;
      text-decoration: none;
      text-align: center;
    }
    #service_cards .discount-strip i {
      margin-right: 6px;
    }


#funky_stickers img{
    width: 100%;
}


#interst #whatsapp_link{
    text-decoration: none;
}
#refer_earn_tag a{
    color: white !important;
    text-decoration: none;
    font-weight: bold;
}

#refer_earn_tag{
    display: flex;
    justify-content: space-around;
    color: white;
    background: linear-gradient(to right, #00bb00, #007b00, #008000);
    border-radius: 5px;
}

/* Mobile PDI Carousel - Only visible on smaller screens */
.pdi-mobile-carousel {
  display: none; /* Hidden by default, shown on mobile */
  width: 100%;
  max-width: 100%;
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
}

.pdi-mobile-carousel .swiper-wrapper {
  display: flex;
  align-items: stretch; /* Ensure all items stretch to match tallest */
  min-height: 320px;
}

.pdi-mobile-carousel .swiper-slide {
  width: 260px;
  height: auto;
  box-sizing: border-box;
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.pdi-mobile-carousel .swiper-slide.swiper-slide-next,
.pdi-mobile-carousel .swiper-slide.swiper-slide-prev {
  background: rgba(255, 255, 255, 0.85);
}

.pdi-mobile-carousel .swiper-slide.swiper-slide-active {
  background: white;
  box-shadow: 0 10px 25px rgba(0, 66, 83, 0.2);
}

.pdi-mobile-carousel .item-content {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Plan Styling */
.pdi-mobile-plan {
  width: 100%;
  height: 100%;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid grey;
  border-radius: 12px;

}

.pdi-mobile-plan.popular {
  border: 2px solid var(--second-color-gold);
  border-radius: 12px;
}

.popular-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: linear-gradient(45deg, #FFC107, #FF9800);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

.pdi-mobile-plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--main-color);
  text-align: center;
  border-bottom: 1px solid #8080808a;
  border-radius: 10px;
}

.pdi-mobile-plan-price {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--main-color);
  text-align: center;
}

.old-price {
  color: #dc3545;
  font-size: 0.7em;
  text-decoration: line-through;
  margin-right: 5px;
}

.pdi-mobile-plan-features {
  margin-top: 1rem;
  /* Flex-grow to push features to take available space */
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.pdi-mobile-plan-features p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0.7rem;
  font-size: 0.9rem;
  color: #333;
}

.pdi-mobile-plan-features i {
  color: var(--main-color);
  margin-top: 4px;
}

/* Responsive styles */
@media (max-width: 992px) {
  /* Hide desktop cards and show mobile carousel */
  .pdi-plan-cards {
    display: none !important;
  }
  
  .pdi-mobile-carousel {
    display: block;
  }
  
  /* Ensure proper spacing in mobile layout */
  .pdi-visual-content {
    margin-bottom: 1rem;
  }
  
  .pdi-main-image {
    margin-bottom: 0;
  }
}

@media (max-width: 576px) {
  .pdi-mobile-carousel .swiper-slide {
    width: 220px;
  }
  
  .pdi-mobile-plan-name {
    font-size: 1.3rem;
  }
  
  .pdi-mobile-plan-price {
    font-size: 1.5rem;
  }
}
/* PDI Showcase Section Styles */
#pdi_showcase {
    margin: 5rem auto;
    padding: 0 85px;
    overflow: hidden;
    position: relative;
}

#pdi_showcase h1 {
    font-weight: bold;
    text-align: center;
    color: var(--main-color);
}

.pdi-showcase-container {
    margin: 2rem auto;
    position: relative;
}

.pdi-content-wrapper {
    display: flex;
    gap: 2rem;
    align-items: center;
    position: relative;
}

/* Text Content Styles */
.pdi-text-content {
    flex: 1;
    position: relative;
}

.pdi-tagline {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--main-color);
    line-height: 1.2;
}

.pdi-tagline span {
    color: var(--second-color-gold);
    position: relative;
}

.pdi-tagline span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--second-color-gold);
    border-radius: 2px;
}

.pdi-description {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #555;
}

/* Feature Styles */
.pdi-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.pdi-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.pdi-feature-icon {
    background-color: rgba(0, 66, 83, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pdi-feature-icon i {
    color: var(--main-color);
    font-size: 1.5rem;
}

.pdi-feature-text h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--main-color);
}

.pdi-feature-text p {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

/* CTA Styles */
.pdi-cta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 1rem;
}

.pdi-cta-button {
    background-color: var(--main-color);
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0, 66, 83, 0.2);
}

.pdi-cta-button:hover {
    background-color: var(--second-color-gold);
    color: var(--main-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 66, 83, 0.25);
}

.pdi-link-button {
    color: var(--main-color);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.pdi-link-button:hover {
    color: var(--second-color-gold);
}

.pdi-link-button i {
    transition: transform 0.3s ease;
}

.pdi-link-button:hover i {
    transform: translateX(5px);
}

/* Visual Content Styles */
.pdi-visual-content {
    flex: 1.3;
    position: relative;
}

.pdi-image-container {
    position: relative;
    height: 100%;
}

.pdi-main-image {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    position: relative;
}

.pdi-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.8s ease;
}

.pdi-main-image:hover img {
    transform: scale(1.05);
}

/* Plan Card Styles */
.pdi-plan-cards {
    display: flex;
    gap: 1.5rem;
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    align-items: flex-end;
}
.pdi-plan-card {
    max-height: 100px;
    transition: max-height 0.6s ease, transform 0.3s ease, box-shadow 0.3s ease;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    flex: 1;
    position: relative;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.pdi-plan-card:hover {
    max-height: 500px; /* Use an explicit height you know is enough */
}


.pdi-plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.pdi-popular {
    border: 2px solid var(--second-color-gold);
    transform: scale(1.05);
}

.pdi-popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.pdi-popular-tag {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--second-color-gold);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-bottom-left-radius: 10px;
}

.pdi-plan-card-header {
    margin-bottom: 1rem;
    text-align: center;
}

.pdi-plan-card-header h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--main-color);
    border-bottom: 1px solid #80808063;
    border-radius: 10px;
}

.pdi-plan-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--main-color);
}

.old-price {
    color: #dc3545;
    margin-right: 8px;
    font-size: 0.65em;
    position: relative;
    text-decoration: line-through;
}

.pdi-plan-features p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.7rem;
    font-size: 0.9rem;
}

.pdi-plan-features i {
    color: var(--main-color);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .pdi-tagline {
        font-size: 2rem;
    }
    
    .pdi-main-image {
        height: 350px;
    }
}

@media (max-width: 992px) {
    .pdi-content-wrapper {
        flex-direction: column;
    }
    
    .pdi-text-content,
    .pdi-visual-content {
        width: 100%;
    }
    
    .pdi-main-image {
        height: 400px;
    }
    
    .pdi-plan-cards {
        position: relative;
        bottom: 0;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    #pdi_showcase {
        margin-top: 4rem !important;
        margin: 0px;
        padding: 0 1rem;
    }
    .pdi-showcase-container{
        margin: 0px;
    }
    .pdi-link-button{
        display: block;
    }
    .pdi-tagline {
        font-size: 1.8rem;
    }
    .pdi-text-content{
        padding-bottom: 0px;
    }
    .pdi-description {
        font-size: 1rem;
        display: none;
    }
    
    .pdi-feature-icon {
        width: 40px;
        height: 40px;
    }
    
    .pdi-feature-icon i {
        font-size: 1.2rem;
    }
    
    .pdi-feature-text h4 {
        font-size: 1.1rem;
    }
    
    .pdi-feature-text p {
        font-size: 0.9rem;
    }
    
    .pdi-cta {
        gap: 1rem;
    }
    
    .pdi-main-image {
        height: 300px;
    }
    
    .pdi-plan-cards {
        flex-direction: column;
        gap: 1rem;
    }
    
    .pdi-plan-card {
        width: 100%;
    }
    
    .pdi-popular {
        transform: scale(1);
    }
    .pdi-features{
        gap: 0px;
        margin-bottom: 0px;
    }
    
    .pdi-popular:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 576px) {
    .pdi-text-content {
        padding: 1.5rem 1rem;
    }
    
    .pdi-tagline {
        font-size: 1.5rem;
    }
    
    .pdi-cta-button,
    .pdi-link-button {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}











.project-status-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 13px !important;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 5;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.ready-badge {
    background-color: #28a745;
}

.construction-badge {
    background-color: #ffc107;
    color: #000;
}

@media (max-width: 768px) {
    .project-status-badge {
        font-size: 0.7rem;
        padding: 4px 8px;
        top: 10px;
        right: 10px;
    }
}

/* Market price with slash styling */
.market-price {
    color: #dc3545;
    margin-right: 8px;
    font-size: 0.85em;
    position: relative;
}

.market-price::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 2px;
    background-color: #dc3545;
    transform: rotate(-8deg);
}

@media (max-width: 768px) {
    .market-price {
        font-size: 0.8em;
        margin-right: 6px;
    }
}


.col h6{
    font-size: 1.2rem;
    color: #7b7b7b;
    font-weight: bold;
}

.counter {
    font-size: 24px;
    font-weight: bold;
}


.fixed-section h5{
    font-family: "Inter", sans-serif;
    color: var(--main-color);
    font-weight: bold;
    font-size: 1.4rem;
    text-decoration: underline;
}


/* table styles  */

#middle-div{
    color: white;
    background-color: #004253c4;
    width: 73.5vw;
    padding: 0px 10px;
    border-radius: 20px;
    /* margin-left: 2rem; */
}
#upper-row{
    width: 100%;
}
#upper-row .col-8{
    display: flex;
    justify-content: flex-end;
    padding: 0px;
}

.col-sm h5{
    font-size: 1rem;
}

#content_row img{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 0.8rem;
    object-fit: contain;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.3);
}

#content_row{
    background-color: white;
    color: var(--main-color);
    border-radius: 20px 20px 0 0;
    padding: 5px;
    display: flex;
    align-items: center;
    text-align: center;
    text-transform: capitalize;
}

#content_row .col-4{
    display: inline-flex;
    align-items: center;
    border-right: 1px solid;
    margin-right: 10px;
    width: 31%;
}


.col h6:first-of-type {
    font-size: 0.8rem;
    border-bottom: 1px solid;
}

#upper-row {
    border-radius: 25px;
    padding: 5px;
    display: inline-flex;
    position: relative;
}
#upper-row h5 {
    cursor: pointer;
    padding: 7px;
    margin: 0;
    display: flex;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
    font-size: 1rem;
    align-items: center;
    width: 8rem;
    justify-content: center;
}
#upper-row .active-background {
    position: absolute;
    top: 5px;
    left: 5px;
    height: calc(100% - 10px);
    background-color: white;
    border-radius: 20px;
    transition: all 0.3s ease;
    width: 128px;
}
#upper-row h5.active {
    color: black;
}
#upper-row h5:not(.active) {
    color: white;
}
#upper-row h5 svg {
    margin-right: 5px;
    vertical-align: middle;
}

/* image transition  */
#landing_row{
    height: 80%;
    align-items: center;
}

.image-container {
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: unset !important;
    background-color: #004253;
    background-image: linear-gradient(180deg, #004253 0%, #315e59 33%, #2d8176 66%, #ffffff 100%);
}
/* Poster-specific styles */
.special-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s ease-in-out, visibility 1.5s ease-in-out;
}

.special-poster.active {
    opacity: 1;
    visibility: visible;
}

.special-poster img {
    position: absolute;
    top: 0;
    left: 38%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Desktop specific styles */
.desktop-only {
    display: none; /* Hidden by default */
}

/* Mobile specific styles */
.mobile-only {
    display: none; /* Hidden by default */
}

.listingLocation{
    display: block;
    width: 100%;
}
.listingLoactionContinar{
    display: flex;
    align-items:start
}

.listingLoactionContinar i{
    margin-top: 0.25rem;
}
.listingNegotiable{
    display: flex;
    align-items: start;
    flex-direction: column;
    margin-left: 0.8rem;
    gap: 0.7rem;
}
.listiongPriceing{
    display: flex;
    align-items: start;
    gap: 0.15rem;
    margin-left: 5px;
}
.listiongPriceing i{
    margin-top: 0.7rem;
   
}
.negotiable-badge{
    background-color: #FFD700;
    padding: 0.25rem;
    border-radius: 10px;
    font-size: 10px;
}
/* Add a container for maintaining aspect ratio */
.desktop-poster {
    display: block;
    position: relative;
    max-width: 1920px;
    margin: 0 auto;
    height: 100%;
}


@media screen and (min-width: 769px) {
    .desktop-only {
        display: block; /* Show on larger screens */
    }
    
    .mobile-only {
        display: none; /* Hide on larger screens */
    }
}

@media screen and (max-width: 768px) {
    .desktop-only {
        display: none; /* Hide on smaller screens */
    }
    
    .mobile-only {
        display: block; /* Show on smaller screens */
    }
    
    .special-poster img {
        object-position: center top; /* Adjust mobile image positioning */
    }
}

/* Poster content adjustments */
.with-poster-content {
    position: relative;
    z-index: 2;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Enhanced text visibility over poster */
.with-poster-content h3,
.with-poster-content #spin span {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Media Queries */

@media screen and (max-width: 768px) {
    .image-container {
        height: 75vh;
    }
    
    .desktop-poster {
        display: none;
    }
    
    .mobile-poster {
        display: block;
    }
    
    
    .with-poster-content {
        padding: 0 1rem;
    }
}

@media screen and (min-width: 1921px) {
    .special-poster {
        max-width: 1920px;
        margin: 0 auto;
        left: 50%;
        transform: translateX(-25%);
    }
}
@media screen and (max-width: 768px) {
    .image-container {
        height: 75vh;
    }
    #landing_row {
        height: 50%;
    }
}
/* Extra large screens */
@media (max-width: 1920px) {
    .image-container {
        height: 85vh;
    }
    
    .special-poster img {
        max-width: 1920px;
        margin: 0 auto;
        display: block;
        left: 0;
    }
}

.image-container:not(.with-poster) .row{
    position: static;
}

/* Maintain your existing animations for non-poster view */
.image-container:not(.with-poster) .col-sm-5 img {
    position: absolute;
    height: 70vh;
    width: 45vw;
    border-radius: 1rem;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    opacity: 0;
    transition: opacity 1s ease-in-out;
    bottom: 0%;
}
.image-container .col-sm-5 img {
    position: absolute;
    height: 70vh;
    width: 45vw;
    border-radius: 1rem;
    /* mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%); */
    opacity: 0;
    transition: opacity 1s ease-in-out;
    bottom: 0%;
}
.image-container .col-sm-5 #img-2{
    width: 34vw;
}
.image-container .col-sm-5 img:last-child{
    width: 27vw;
}
.image-container .col-sm-5 img.active {
    opacity: 1;
}
.image-container .row .col-sm-7{
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.image-container .row .col-sm-7 h3{
    color: var(--text-color-white);
    text-align: center;
    font-size: 0.95rem;
}
.image-container .row .col-sm-7 #first_h3{
    margin-top: 3rem;
}
.image-container .row .col-sm-7 h3 span{
    color: var(--second-color-gold);
    font-size: 4.2rem;
}
.image-container .row{
    position: relative;
    z-index: 1;
}

.special-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#spin {
    display: inline-block;
    height: 1em; /* Increased height */
    position: relative;
    width: 100%;
}

#spin span {
    display: inline-block;
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    animation: spin 9s linear infinite;
    color: white;
    font-size: 2.5rem;
    text-align: center;
}

@keyframes spin {
    0% { opacity: 0; transform: translateY(20px); }
    10% { opacity: 1; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(0); }
    40% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 0; transform: translateY(-20px); }
}

#spin span:nth-child(1) {
    animation-delay: 0s;
}

#spin span:nth-child(2) {
    animation-delay: 3s;
}

#spin span:nth-child(3) {
    animation-delay: 6s;
}


#middle-row{
    padding: 10px;
}
#middle-row #col1{
    width: 16%;
}
#middle-row #col2{
    width: 15%;
}
#middle-row #col3{
    width: 20%;
}
#middle-row .col-sm a{
    text-decoration: none;
    color: rgb(199, 199, 199);
}

.active2{
    color: white ;
}

.tube_links {
    position: relative;
    text-decoration: none;
    color: #c7c7c7 ;
    transition: 0.2s;
    font-size: var(--global-font-size);
}
.tube_links::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: 0.2s;
}
.tube_links:hover::after,
.tube_links.active2::after {
    width: 100%;
}

/* #middle-row .col-sm a{
    border: 1px solid white;
    border-bottom: 0px;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    padding: 7px 5px 5px 5px;
    text-align: center;
    margin: 0px;
    font-weight: bold;
    border-radius: 10px 10px 0px 0px;
    transition: background-color 0.3s ease;
}
.active2{
    color: var(--main-color) !important;
    background-color: white;
} */
/* new styles  */

#nav-bottom-content{
    overflow: hidden;
    height: 85vh;
    /* margin: 20px;
    margin-top: 8rem; */
    position: relative;
    overflow: visible;
}

#nav-bottom-img{
    position: relative;
    height: 100%;
    width: 100%;
    border-radius: 0 0 20px 20px;
    filter: brightness(60%) contrast(120%);
}

#onimg{
    position: absolute;
    bottom: 0;
    left: 13%;
}

#onimg h1{
    color: white;
}


#developer button{
    border: 1px solid #7d7d7d;
    background-color: white;
    color: #6f6f6f !important;
    font-weight: bold;
    border-radius: 12px;
}

#under_construction{
    text-align: center;
    margin-top: 4rem;
    text-transform: uppercase;
    font-family: "Inter", sans-serif;
}
#under_construction h2:first-child{
    color: white;
}
#gif_construct{
    width: 100%;
    margin-top: 3rem;
}

#gif_construct .col-6{
    overflow: hidden;
    padding: 0px;
}

#gif_construct .col-6 img{
    width: 100%;
    overflow: hidden;
}


@media screen and (max-width:768px){
    nav{
        height: 57px;
    }
    #onimg {
        left: 4%;
    }
    #middle-div {
        width: 92vw;
        margin-left: 0px;
    }
    .image-container img {
        object-fit: cover;
    }
    .image-container:not(.with-poster) .col-sm-5 img{
        object-fit: contain !important;
    }
    .tube_links .active2{
        color: black !important;
    }
    .tube_links {
        font-size: var(--global-font-size);
        color: black;
    }
    .tube_links span{
        display: none;
    }
    #middle-row .col-4{
        text-align: center;
    }
    #middle-row {
        /* width: 100%; */
        padding-top: 0px;
        background-color: white;
        padding-bottom: 5px;
        border-radius: 20px 20px 0px 0px;
    }
    #middle-row #col2{
        width: auto;
    }
    #developer button {
        font-size: 0.7rem;
    }
    #upper-row h5 {
        font-size: var(--global-font-size);
    }
    #content_row .col{
        padding: 2px;
        display: flex;
        justify-content: center;
        align-items: flex-end;
    }
    #content_row .col h6:first-of-type {
        font-size: 0.6rem;
    }
    #content_row .col h6 {
        font-size: 0.6rem !important;
    }
    .svg-container #drop_menu {
        transform: none;
    }

    /* .navbar-collapse{
        padding: 1rem;
        background-color: var(--main-color);
    } */
    .post-container {
        width: 57%;
    }
    #under_construction {
        width: 88%;
        margin-top: 6rem;
    }
    .image-container .row .col-sm-7 h3{
        font-size: 1rem;
        text-align: center;
        margin-top: 0px !important;
    }
    .image-container .row .col-sm-7 span{
        font-size: 1.5rem !important;
    }
    .image-container .row .col-sm-5 img{
        width: 50vw;
        bottom: -5%;
    }
    .image-container .row .col-sm-5 #img-2{
        width: 34vw !important;
        bottom: -5%;
    }
    .image-container .row .col-sm-5 img:last-child{
        width: 32vw;
        bottom: -5%;
    }
    .image-container .row .col-sm-5{
        justify-content: center !important;
    }
    #spin{
        text-align: center;
        width: 50%;
    }
    .image-container{
        height: 75vh;
        background-color: unset;
    }
    #nav-bottom-content{
        margin-top: 0px;
        height: 75vh;
    }
    .image-container .row .col-sm-7{
        padding-top: 1rem;
    }
    
}
@media (width: 1920px) and (height: 1080px) {
    #spin span {
        font-size: 3.5rem;
    }
    .image-container .row .col-sm-7 h3 span {
        color: var(--second-color-gold);
        font-size: 6.5rem;
    }
    #landing_row h3{
        font-size: 2.75rem !important;
    }
    #trusted_developers .marquee-wrapper .marquee-block {
        width: 100% !important;
    }
    #trusted_developers .marquee-item {
        width: 230px !important;
    }
    #home_loan .card {
        width: 12vw !important;
        height: 15vh !important;
    }
    #home_loan .card:hover {
        font-size: 1.5rem !important;
    }
}


/* Styles for 100% scale displays */
@media screen and (min-width: 769px) and (max-resolution: 100dpi) {
    #middle-div {
        width: 85vw;
        margin-left: 1.5rem;
    }
    
    .tube_links {
        font-size: 1.2rem;  /* Increased from your original size */
    }
    
    #upper-row h5 {
        font-size: 1.2rem;
    }
    
    .col h6 {
        font-size: 1.5rem !important;
        color: #7b7b7b;
        font-weight: bold;
    }
    
    .image-container {
        height: 85vh;
    }
    
    .image-container .row .col-sm-5 img {
        width: 45vw;
        height: 75vh;
    }
    
    .image-container .row .col-sm-5 #img-2 {
        width: 34vw;
    }
    
    .image-container .row .col-sm-5 img:last-child {
        width: 27vw;
    }
    
    .image-container .row .col-sm-7 h3 {
        font-size: 1.5rem;
    }
    
    .image-container .row .col-sm-7 h3 span {
        font-size: 6.5rem;
    }
    
    #spin span {
        font-size: 3.75rem;
    }
    
    #content_row {
        padding: 10px;
    }
    
    #content_row img {
        width: 52px;
    }
    
    #content_row .col h6:first-of-type {
        font-size: 1rem;
    }
    
    #content_row .col h6 {
        font-size: 1.2rem !important;
    }
    
    #nav-bottom-content {
        height: 85vh;
    }
    
    
    #middle-row #col2 {
        width: 15%;
    }
    
    #developer button {
        padding: 12px 22px;
        font-size: 1.2rem;
    }
    
    /* Header adjustments */
    .fixed-section h5 {
        font-size: 2.1rem;
    }
    
    /* Counter adjustments */
    .counter {
        font-size: 36px;
    }
    
    /* Navigation adjustments */
    #middle-row .col-sm a {
        font-size: 1.2rem;
    }
    
    /* Under construction section */
    #under_construction h2 {
        font-size: 2.25rem;
    }
    
    /* General text adjustments */
    .col-sm h5 {
        font-size: 1.2rem;
    }
    
    /* Button and input adjustments */
    button, input, select {
        font-size: 1.2rem !important;
        padding: 10px 15px;
    }
    
    /* Modal adjustments if you have any */
    .modal-title {
        font-size: 2rem;
    }
    
    .modal-body {
        font-size: 1.5rem;
    }
}




/* distress deals styles  */

#distress_deals {
    margin: 5rem;
    margin-top: 2rem;
}

#distress_deals h1 {
    text-align: center;
    color: var(--main-color);
}

#distress_deals #shifter div {
    display: flex;
    justify-content: center;
    gap: 1rem;
    border: 1px solid #7b7b7b;
    border-radius: 30px;
    padding: 0.7rem;
    margin: 0 auto;
    width: fit-content;
}

#distress_deals #shifter a {
    text-decoration: none;
    color: var(--main-color);
    padding: 7px 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
    text-align: center;
    width: 9rem;
}

#distress_deals #shifter .active3 {
    background-color: var(--main-color);
    color: var(--second-color-gold);
}

.line {
    width: 300px;
    height: 4px;
    background-color: var(--second-color-gold);
    margin: 1.2rem auto;
}

/* Card styles */
#distress_deals .card {
    /* margin-bottom: 1rem; */
    border: 1px solid rgba(0,0,0,.125);
}

#distress_deals .img-fluid {
    height: 100%;
    /* height: 37vh; */
    object-fit: cover;
}
#distress_deals .card-body {
    padding: 0.8rem;
}

#distress_deals .card-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

/* trusted developers  */

#trusted_developers {
    margin-top: 4rem;
    margin-bottom: 2rem;
    margin-left: 80px;
    margin-right: 80px;
}

#trusted_developers h1 {
    font-weight: bold;
    text-align: center;
    color: var(--main-color);
}

#trusted_developers {
    text-align: center;
}

#trusted_developers .marquee-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}

#trusted_developers .marquee-content {
    display: flex;
    animation: scrolling 60s linear infinite;
    width: max-content;
}

#trusted_developers .marquee-item {
    flex: 0 0 auto;
    margin: 0 1vw;
    width: 10vw;
    max-width: 100px;
    align-items: center;
    display: flex;
}

#trusted_developers .marquee-item img {
    display: block;
    width: 100%;
    height: auto;
}

@keyframes scrolling {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 1vw));
    }
}


/* home loan */
#home_loan{
    /* margin-bottom: 2rem; */
    overflow: hidden;
}
#home_loan h1{
    font-weight: bold;
    text-align: center;
    color: var(--main-color);
}
#home_loan .row{
    /* width: 100%; */
    width: auto;
    display: flex;
    /* gap: 2rem; */
    justify-content: center;
}
#home_loan .card{
    width: 17.6vw;
    height: 20vh;
    padding: 1rem;
    color: var(--second-color-gold);
    background-color: var(--main-color);
    font-size: 1.2rem;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    display: flex;
    transition: font-size 0.8s ease;

}
#home_loan .card2{
    background-color:rgb(237, 236, 236) ;
    color:var(--main-color) ;
    position: relative;
    font-size: 1.2rem;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    transition: font-size 0.8s ease;
    width: 17.6vw;
    height: 20vh;
    padding: 1rem;
    border-radius: 5px;
}
#home_loan .card p{
    margin: 0px;
    width: 10vw;
}
#home_loan .card h2{
    margin: 0px;
    width: 11vw;
}
#home_loan .card2 p{
    margin: 0px;
    width: 10vw;
}
#home_loan .card2 h2{
    margin: 0px;
    width: 11vw;
}
#home_loan a{
    text-decoration: none;
}
#knowmore_btn{

    margin: 0.5rem 0px;
    display: grid;
    place-items: center;
}
#knowmore_btn a{
    text-decoration: none;
    display: flex;
    justify-content: center;
    gap: 3.3vw;
    color: var(--main-color);
    background-color: var(--second-color-gold);
    padding: 0.5rem;
    width: 20vw;
    align-items: center;
    font-size: 1.2rem;
    border-radius: 1rem;
}
#home_loan .card::before {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    top: 0px;
    left: 0px;
    border-left: 2px solid gold;
    border-top: 2px solid gold;
    transition: 1s ;
  }
  #home_loan .card2::before {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    top: 0px;
    left: 0px;
    border-left: 2px solid #004253;
    border-top: 2px solid #004253;
    transition: 1s ;
  }

  #home_loan .card::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    top: 0px;
    right: 0px;
    border-right: 2px solid gold;
    border-top: 2px solid gold;
    transition: 1s ;
  }
  #home_loan .card2::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    top: 0px;
    right: 0px;
    border-right: 2px solid #004253;
    border-top: 2px solid #004253;
    transition: 1s ;
  }
  
  #home_loan .card span::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    bottom: 0px;
    right: 0px;
    border-right: 2px solid gold;
    border-bottom: 2px solid gold;
    transition: 1s;
  }
  #home_loan .card2 span::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    bottom: 0px;
    right: 0px;
    border-right: 2px solid #004253;
    border-bottom: 2px solid #004253;
    transition: 1s;
  }
  
  #home_loan .card span::before {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    bottom: 0px;
    left: 0px;
    border-left: 2px solid gold;
    border-bottom: 2px solid gold;
    transition: 1s ;
  }
  #home_loan .card2 span::before {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    bottom: 0px;
    left: 0px;
    border-left: 2px solid #004253;
    border-bottom: 2px solid #004253;
    transition: 1s ;
  }

  #home_loan .card:hover{
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
    font-size: 1rem;
  }
  #home_loan .card2:hover{
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
    font-size: 1rem;
  }
  #home_loan .card:hover::after,
  #home_loan .card2:hover::after,
  #home_loan .card:hover::before,
  #home_loan .card2:hover::before,
  #home_loan .card:hover span::after,
  #home_loan .card2:hover span::after,
  #home_loan .card:hover span::before{
    width: calc(50% + 8px);
    height: calc(50% + 1px);
  }
  #home_loan .card2:hover span::before{
    width: calc(50% + 8px);
    height: calc(50% + 1px);
  }
@media screen and (max-width: 768px) {
    #home_loan .card{
        width: 40vw;
        height: 23vh;
        font-size: 1rem !important;
    }
    #knowmore_btn a{
        width: 63vw;
    }
    #trusted_developers .marquee-item img{
        width: 17vw;
    }
    #home_loan .card:hover{
        font-size: 0.9rem !important;
    }
}

/* Styles for 100% scale displays */
@media screen and (min-width: 769px) and (max-resolution: 100dpi) {
    #home_loan .card {
        width: 10vw;
        height: 16vh;
    }
}
    #homeLoanImgDev {
        width: 100%;
        height: 100%;
        background-color: rgb(237, 236, 236);
    }

    #homeLoanImg {
        width: 20vw;
        height: 100%;
        object-fit: cover;
        object-position: center;
        padding: 2rem;
        border-radius: 47px;
        margin-bottom: 1.5rem
    }

    #homeLoanHeading {
        margin-top: 31px;
        font-size: 1.8rem;
    }

    #homeLoanPara {
        width: 19vw;
        /* padding: 2.3vh 0vw; */
    }

    .homeLoanRow {
        padding: 7vh 6vw;
    }

    #loanAprroveStamp {
        width: 6vw;
        position: absolute;
        top: 307px;
        left: 352px;
    }
    @media screen and (max-width: 1920px) {
        
        #home_loan .card2 h2,#home_loan .card2 p{
            width: auto;
        }
        #home_loan .card h2{
            width: auto;
        }
        #home_loan .card p{
            width: auto;
        }
        #home_loan .card{
            width: 17.6vw;
        }
        .homeLoanCard{
            gap: 0 !important;
        }
        #homeLoanImgDev{
            height: 45.5vh;
        }
        #homeLoanPara{
            font-size:  0.869vw;
        }
        #loanAprroveStamp {
            width: 5vw;
            top: 315px;
            left: 300px;
        }
    }
    @media screen and (max-width: 1707px) {
        #homeLoanImgDev{
            height: 51.5vh;
        }
        #loanAprroveStamp {
            width: 6vw;
            top: 308px;
            left: 249px;
        }
    }
    @media screen and (max-width: 1600px) {
        #homeLoanImgDev{
            height: 55vh;
        }
    }
    @media screen and (max-width: 1425px) {
        #homeLoanImgDev{
            height: 62vh;
        }
    }

    @media screen and (max-width: 1400px) {
        #home_loan .card2 h2,#home_loan .card2 p{
            width: auto;
        }
        #home_loan .card h2{
            width: auto;
        }
        #home_loan .card p{
            width: auto;
        }
        #home_loan .card2 ,#home_loan .card{
            padding: 0.75rem;
        }
        #homeLoanImgDev{
            height: 68.5vh;
        }
        #homeLoanPara{
            font-size:  0.97vw;
        }
        #loanAprroveStamp{
            top: 320px;
            left: 155px;
        }
    }
    /* Responsive styles */
    @media (max-width: 1200px) {
        .homeLoanRow>.col {
            flex: 0 0 100%;
            max-width: 100%;
        }

        #homeLoanImgDev {
            margin-top: 2rem;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }
        #home_loan .card2 h2{
            width: auto;
        }
        #homeLoanImg {
            width: 40vw;
            height: 35vh;
        }

        #homeLoanPara {
            width: 80%;
            margin: 2rem auto;
        }

        #loanAprroveStamp {
            position: static;
            width: 15vw;
            margin: 1rem auto;
            display: block;
        }
    }

    @media (max-width: 992px) {
        /* .homeLoanCard .row {
            flex-direction: column;
        } */

        .mainCardHomeLoan {
            margin-bottom: 1rem;
        }

        #homeLoanImg {
            width: 50vw;
            height: 30vh;
        }

        #homeLoanPara {
            width: 90%;
        }

        #loanAprroveStamp {
            width: 20vw;
        }
    }

    @media (max-width: 768px) {
        #homeLoanImg {
            width: 60vw;
            height: 25vh;
        }

        #homeLoanHeading {
            font-size: 1.5rem;
        }

        #homeLoanPara {
            width: 95%;
            font-size: 0.9em;
        }

        #loanAprroveStamp {
            width: 25vw;
        }

        #home_loan .card2 {
            width: 39vw;
            height: 23vh;
        }

        #home_loan .card2 h2,
        #home_loan .card2 p {
            width: auto;
        }

        #home_loan .card h2,
        #home_loan .card p {
            width: auto;

        }

    }

    @media (max-width: 576px) {
        .homeLoanRow {
            padding: 3vh 2vw;
        }

        #homeLoanImg {
            width: 80vw;
            height: 20vh;
            padding: 1rem;
        }

        #homeLoanHeading {
            font-size: 1.25rem;
        }

        #homeLoanPara {
            width: 100%;
            font-size: 0.85em;
        }

        #loanAprroveStamp {
            width: 30vw;
        }

        #home_loan .card {
            width: 40vw;
        }
        #loanAprroveStamp{
            display: none;
        }
        #homeLoanImg{
            height: 50%;
        }
        #homeLoanHeading {
            margin-top: 0px;
        }
        #trusted_developers .marquee-content{
            gap: 3rem;
        }
    }

    /* Card styles for all screen sizes */
    .mainCardHomeLoan {
        margin-bottom: 1rem;
    }

    .mainCardHomeLoan .card,
    .mainCardHomeLoan .card2 {
        height: 100%;
    }

    /* .homeLoanCard .row {
        margin-bottom: 1.5rem;
    } */

    /* Base styles for mainCardHomeLoan */
    .mainCardHomeLoan {
        margin-bottom: 1rem;
    }

    .mainCardHomeLoan .card,
    .mainCardHomeLoan .card2 {
        height: 100%;
        padding: 1.5rem;
        transition: all 0.3s ease;
    }

    .mainCardHomeLoan h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .mainCardHomeLoan p {
        font-size: 1rem;
        line-height: 1.5;
    }

    /* Large screens */
    @media (min-width: 1200px) {
        .mainCardHomeLoan {
            padding: 0 1rem;
        }

        .mainCardHomeLoan .card,
        .mainCardHomeLoan .card2 {
            min-height: 200px;
        }
    }

    /* Medium screens */
    @media (max-width: 1199px) {
        .mainCardHomeLoan h2 {
            font-size: 1.6rem;
        }

        .mainCardHomeLoan .card,
        .mainCardHomeLoan .card2 {
            min-height: 180px;
        }
    }

    /* Tablet screens */
    @media (max-width: 992px) {
        .homeLoanCard .row {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .mainCardHomeLoan {
            flex: 0 0 calc(50% - 0.5rem);
            max-width: calc(50% - 0.5rem);
        }

        .mainCardHomeLoan h2 {
            font-size: 1.4rem;
        }

        .mainCardHomeLoan p {
            font-size: 0.9rem;
        }

        .mainCardHomeLoan .card,
        .mainCardHomeLoan .card2 {
            min-height: 160px;
            padding: 1.25rem;
        }
    }

    /* Small tablets and large phones */
    @media (max-width: 768px) {
        .homeLoanCard .row {
            gap: 0.75rem;
            align-items: center;
            justify-content: center;
        }

        .mainCardHomeLoan {
            flex: 0 0 100%;
            /* max-width: 100%; */
        }

        .mainCardHomeLoan h2 {
            font-size: 1.3rem;
        }

        .mainCardHomeLoan .card,
        .mainCardHomeLoan .card2 {
            min-height: auto;
            padding: 1rem;
        }
    }

    /* Mobile phones */
    @media (max-width: 576px) {
        .homeLoanCard .row {
            margin: 0;
            gap: 0.9rem;
        }

        .mainCardHomeLoan {
            padding: 0;
            margin-bottom: 0.75rem;
        }

        .mainCardHomeLoan h2 {
            font-size: 1.2rem;
            margin-bottom: 0.5rem;
        }

        .mainCardHomeLoan p {
            font-size: 0.85rem;
        }
        #home_loan {
            margin-bottom: 2.5rem;
        }

        .mainCardHomeLoan .card,
        .mainCardHomeLoan .card2 {
            padding: 0.875rem;
        }
    }

    /* @media screen and (max-width: 412px) {
        #home_loan .card{
            width: 39vw;
        }
    } */
    /* Extra small devices */
    @media (max-width: 400px) {
        .mainCardHomeLoan h2 {
            font-size: 1.1rem;
        }

        .mainCardHomeLoan p {
            font-size: 0.8rem;
        }

        .mainCardHomeLoan .card,
        .mainCardHomeLoan .card2 {
            padding: 0.75rem;
        }

        #home_loan .card2 {
            padding: 0.5rem;
        }
        #homeLoanImgDev {
            height: 85vh;
        }
 
    }

    /* Ensure proper spacing between rows */
    .homeLoanCard .row+.row {
        margin-top: 1rem;
    }


/* interior  */
#interior{
    margin-bottom: 4rem;
    overflow: hidden;
}
#interior h1{
    text-align: center;
    color: var(--main-color);
}

/* Container for image slider */
.image-slider {
    /* position: relative; */
    width: 100%;
    height: 50vh; 
    overflow: hidden;
    border-radius: 1rem;
}

/* Slides - each image */
.slide2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0; /* Initially invisible */
    animation: fade 9s infinite; /* Total duration for all images to cycle */
}

.image1 {
    background-image: url('/static/images/interior1.jpg'); /* Replace with your image */
    animation-delay: 0s; /* First image starts immediately */
}

.image2 {
    background-image: url('/static/images/interior2.jpg'); /* Replace with your image */
    animation-delay: 3s; /* Second image starts after 6 seconds */
}

.image3 {
    background-image: url('/static/images/interior3.jpg'); /* Replace with your image */
    animation-delay: 6s; /* Third image starts after 12 seconds */
}

/* Fade-in and fade-out keyframes */
@keyframes fade {
    0% { opacity: 0; }
    20% { opacity: 1; }
    33% { opacity: 1; }
    53% { opacity: 0; }
    100% { opacity: 0; }
}

#interior .col-sm-6:first-child{
    padding-left: 2rem;
}
#interior_text p{
    padding: 2rem;
}
#interior #interior_text h2{
    text-align: center;
    font-family: "Dancing Script", cursive;
}


@media screen and (max-width: 768px) {
    #interior .col-sm-6:first-child {
        padding: 2rem;
        padding-top: 0px;
    }
}




/* Distress Deals Section */
.distress-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    height: 350px; /* Fixed height for consistent look */
    display: flex;
    flex-direction: row; /* Change to row for horizontal layout */
}

.distress-image-carousel {
    width: 40%; /* Adjust width for image section */
    height: 100%;
    position: relative;
    overflow: hidden;
}

.distress-image-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.distress-image-carousel .carousel-control-prev,
.distress-image-carousel .carousel-control-next {
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 10px;
}

.distress-card-content {
    width: 60%; /* Adjust width for content section */
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.distress-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.property-name {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    width: 70%;
}

.property-name a {
    color: var(--main-color);
    text-decoration: none;
}




.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #666;
}

.detail-item i {
    color: var(--main-color);
    width: 16px;
}


.price-tag {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--main-color);
}

.negotiable-badge {
    background: #ffd700;
    color: #000;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    margin:0px;
}

.card-actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: var(--main-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-btn:hover {
    background: var(--main-color);
    color: white;
}

.whatsapp-btn {
    background: #25d366;
    color: white;
}

.whatsapp-btn:hover {
    background: #128c7e;
}

@media (max-width: 768px) {
    .distress-image-carousel {
        height: 180px;
    }
    
    .property-name {
        font-size: 0.9rem;
    }
    
    .detail-item {
        font-size: 0.8rem;
    }
    
    .price-tag {
        font-size: 1rem;
    }
    
    .action-btn {
        width: 28px;
        height: 28px;
    }
}
/* Additional responsive styles */
@media (max-width: 768px) {
    .distress-card {
        flex-direction: column;
        height: auto;
    }
    
    .distress-image-carousel {
        width: 100%;
        height: 200px;
    }
    
    .distress-card-content {
        width: 100%;
    }
    
    /* Adjust carousel controls for mobile */
}


.distress-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.distress-image-carousel {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.distress-image-carousel img {
    object-fit: cover;
}

.distress-image-carousel .carousel-control-prev,
.distress-image-carousel .carousel-control-next {
    width: 30px;
    height: 30px;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
}

.distress-card-content {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Mobile Styles */


/* #card-carousel {
    margin-left: 4rem;
    margin-right: 4rem;
} */

/* Commercial Carousel */
.carousel-container {
    position: relative;
    width: 100%;
    margin: 1rem auto;
    overflow: hidden;
}

#configuration_carousel {
    position: relative;
}

#configuration_carousel .carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
}

#configuration_carousel .carousel-item {
    display: block;
}

#oneline {
    display: flex;
    gap: 10px;
    transition: transform 0.3s ease;
    will-change: transform;
    margin-bottom: 1rem;
}

/* Card Styles */

#configuration_carousel .container1 img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

/* Navigation Buttons */
#configuration_carousel .carousel-control-prev,
#configuration_carousel .carousel-control-next {
    background-color: rgba(0, 0, 0, 0.5);
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
    transition: opacity 0.3s ease;
    border: none; /* Remove default border */
    cursor: pointer; /* Change cursor to pointer */
}

#configuration_carousel .carousel-control-prev {
    left: 10px;
}

#configuration_carousel .carousel-control-next {
    right: 10px;
}

#configuration_carousel .carousel-control-prev:hover,
#configuration_carousel .carousel-control-next:hover {
    opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #card-carousel {
        margin-left: 2rem;
        margin-right: 2rem;
    }
    
}



/* ------------------------------------ */

#listing_card_row #bhk_div{
    display: flex;
    width: 33%;
    justify-content: space-between;
    font-size: clamp(14px, 1vw, 16px);
  }
  #listing_card_row #size_div{
    display: flex;
    width: 33%;
    justify-content: space-between;
    font-size: clamp(14px, 1vw, 16px);
  }
  
  #listing_card_row {
    width: 100%;
    justify-content: center;
    gap: 2rem;
    padding: 0 1rem;
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto; /* Center the row */
    max-width: 1400px; /* Control maximum width */
  }
  
  #listing_card_row .col-5 {
    width: 29.666667%;
    padding: 0 !important;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
  }
  
  #listing_card_row #badges p{
    background-color: rgb(237, 237, 237);
    padding: 5px 15px;
    border: 1px solid rgba(255, 255, 255, 0.434);
    color: black;
    border-radius: 30px;
    fill: white;
  }
  
  #end_results{
    margin: 4rem 2rem;
    text-align: center;
  }
  
  .accordion-button:not(.collapsed) {
    background-color: transparent; 
    color: inherit;
  }
  .accordion-body {
    padding: 1rem;
  }
  .accordion-button {
    padding: 0.75rem;
  }
  
  .accordion-button:hover {
    background-color: rgba(0, 0, 0, 0.05); 
    color: inherit;
  }
  
  
  .listing-image-carousel {
    height: 100%;
    width: 100%;
}

  
.listing-image-carousel .carousel-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0 0 1.5rem 0 !important;
}
.property-card .img {
    border-radius: 0 0 1.5rem 0;
    overflow: hidden;
}
.property-card .img > div {
    border-radius: 0 0 1.5rem 0;
}
  .verified-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to right, #00bb00, #007b00, #008000);
    color: white;
    padding: 0.2rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}
  
  .property-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
  }
  /* Fix the badge icons alignment */
  .badges-container .d-flex {
    margin-top: 0 !important;
  }
  .property-badge {
    background-color: rgb(237, 237, 237);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    color: rgb(0, 0, 81);
    font-weight: 600;
  }
  
  .property-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin: 1rem 0;
  }
  
  .property-info-label {
    color: rgba(0, 0, 0, 0.6);
    font-size: 0.9rem;
  }
  
  .property-info-value {
    color: rgb(0, 0, 81);
    font-weight: 600;
    font-size: 0.9rem;
  }
  
  .location-info {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Align to top since we now have fixed height */
    width: 100%;
    min-height: 2.4em; /* Match location text height */
  }
  /* Add location text container */
  .location-text {
    width: 67%;
    color: rgba(0, 0, 0, 0.416);
    font-size: 80%;
    font-weight: 600;
    /* min-height: 2.4em;  */
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .price-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
  }
  
  .negotiable-badge {
    background-color: #FFD700;
    color: rgb(0, 0, 81);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.6rem;
    font-weight: 600;
  }
  #listing_heads{
    width: 67%;
  }
  
  h4{
    margin-bottom: 0px;
  }
  
  /* Content sections organization */
  .card-content {
    padding: 0.75rem;
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
  }
  /* Main info section */
  .card-main-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.2rem 0.75rem;
    padding-bottom: 0.7rem;
  }
  
  /* Property details section */
  .property-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
  }
  
  /* Badges container */
  .badges-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  
  /* Price section */
  
  
  /* Accordion section */
  .accordion {
    margin-top: auto;
    border: none;
  }
  
  .accordion-item {
    border: none;
  }

  @media (max-width: 768px) {
    .img {
      height: 250px;
    }
  
    .listing-image-carousel {
      height: 250px;
    }
  
    #listing_heads {
      font-size: 1rem;
    }
  
    #badges p {
      font-size: 0.7rem;
      padding: 3px 10px;
    }
  
    #bhk_div, #size_div {
      width: auto;
      font-size: 0.9rem;
    }
  }
/* Add new container wrapper */
.listings-container {
    padding: 0 15px;
    margin: 0 auto;
    max-width: 1400px;
    width: 100%;
  }
  
  /* Add styles for filter buttons */
  #fluid button {
    background-color: transparent;
    font-size: 70%;
    border: 1px solid rgba(0, 0, 0, 0.434);
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 10px;
    border-radius: 10px;
    margin-right: 8px;
  }
  
  /* Add scrollbar styling */
  #fluid::-webkit-scrollbar {
    height: 4px;
  }
  
  #fluid::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 81, 0.2);
    border-radius: 4px;
  }
  
  /* =======================================
     3. ADD THESE RESPONSIVE STYLES
     ======================================= */
  
  @media (max-width: 1200px) {
    #listing_card_row .col-5 {
      width: calc(50% - 1rem);
    }
  }
  
  @media (max-width: 768px) {
    /* Header adjustments for mobile */
    #header {
      margin-top: 56px; /* Adjust based on mobile navbar height */
      top: 56px;
      flex-direction: row;
      gap: 10px;
      padding: 10px 15px;
    }
  
    /* Fluid container mobile adjustments */
    #fluid {
      width: 100%;
    }
  
    /* Card adjustments for mobile */
    #listing_card_row {
      gap: 1rem;
      padding: 0;
    }
  
    #listing_card_row .col-5 {
      width: 93%;
      margin: 0 auto 1.5rem auto; /* Center cards with margin */
      max-width: 500px; /* Maximum width for mobile cards */
    }
  
    .listings-container {
      padding: 0 12px;
    }
  }
  
  /* Small screen specific adjustments */
  @media (max-width: 375px) {
    #header {
      margin-top: 50px; /* Further adjustment for smaller screens */
      top: 50px;
      padding: 8px 12px;
    }
  
    #listing_card_row .col-5 {
      max-width: 93%; /* Allow cards to fill width on very small screens */
    }
  }
  
  /* Add smooth scrolling for all devices */
  * {
    scroll-behavior: smooth;
  }
  
  
  
  /* ----------------------------------------------- */
  
  /* Fix BHK div alignment */
  
  #bhk_div, #size_div {
    width: 33%;
    display: flex;
    align-items: center;
    gap: 4px;
    height: 1.2em; /* Match single line height */
    font-size: clamp(14px, 1vw, 16px);
    justify-content: space-between;
  }
  
  /* Fix size div alignment */
  #size_div {
    width: 33%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
  }
  #size_div svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }
  #size_div span {
    font-size: clamp(14px, 1vw, 16px);
    white-space: nowrap;
  }
  /* Listing heads width control */
  #listing_heads {
    width: 67%;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
  
  /* Badge styles refinement */
  #badges p {
    margin: 0;
    background-color: rgb(237, 237, 237);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 70%;
  }
  .price-section {
    gap: 0.4rem;
  }
  /* Price alignment */
  .price-section h4 {
    margin: 0;
  }
  
  /* Negotiable badge refinement */
  .negotiable-badge {
    align-self: center;
    padding: 0.25rem 0.75rem;
  }
  
  
  .header-icons {
    display: flex;
    gap: 12px;
    align-items: center;
  }
  .icon-button {
    background: none;
    border: 0.5px solid #8080804a;
    border-radius: 10px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--main-color) !important;
    font-size: 0.9rem !important;
  }
  
  .icon-button i {
    font-size: 1rem;
  }
  
  .sort-dropdown {
    position: relative;
  }
  
  .sort-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    min-width: 200px;
    padding: 8px 0;
    z-index: 1000;
    display: none;
  }
  
  .sort-dropdown.show .dropdown-menu {
    display: block;
  }
  
  .sort-option {
    padding: 8px 16px;
    cursor: pointer;
    transition: background-color 0.2s;
  }
  
  .sort-option:hover {
    background-color: #f5f5f5;
  }
  
  
  /* Add to your existing CSS */
  .empty-state {
    padding: 40px;
    text-align: center;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  }
  
  .empty-state h3 {
    color: var(--main-color);
    font-weight: 600;
  }
  
  .empty-state p {
    color: #666;
    margin-bottom: 0;
  }
  
  #interst img{
    width: 20px;
  }
  
  
  #project_name_link:hover{
    text-decoration: underline;
  }
  #project_name_link{
    text-decoration: none;
  }
  #whatsapp_link img:hover{
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
  }
  
  .interest-btn{
    border: 2px solid #004253;
    font-size: 0.8rem;
    padding: 0.25rem 0.65rem;
    font-weight: bold;
    color: white;
    background-color: #004253;
    width: 48%;
  }
  
  .interest-btn.interested {
    background-color: #28a745;
    color: white;
    border-color: #28a745;
    cursor: not-allowed;
  }
  
  .interest-btn.interested i {
    margin-right: 4px;
  }


  .property-card {
    flex: 0 0 auto;
    width: 28vw;
    min-width: 300px;
}

#under_col{
    width: 28vw;
}
.img {
    position: relative;
    width: 100%;
    height: 200px; /* Fixed height for consistent look */
    overflow: hidden;
}
.configuration-carousel {
    display: none;
}

.configuration-carousel.active {
    display: block;
}

#distress_deals_carousels {
    width: 100%;
    overflow: hidden;
}
#project_name_div{
    align-items: center;
}


@media (width > 1800px) {
    .property-card{
        width: 20vw;
    }
    #under_col{
        width: 20vw;
    }
}

#elxplore_more a{
    color: var(--main-color);
    font-weight: bold;
}
#elxplore_more{
    text-align: center;
    margin-bottom: 0.5rem;
}

.carousel-navigation {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    z-index: 5;  /* Lower z-index */
    pointer-events: none;  /* This allows clicks to pass through */
}

.carousel-navigation button {
    pointer-events: auto;  /* Re-enable clicks for buttons */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-navigation button:first-child {
    left: 10px;
}

.carousel-navigation button:last-child {
    right: 10px;
}
#interst {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
}
.wishlist-btn, .share-button {
    position: relative;
    z-index: 10;
}
#elxplore_more a:hover {
    color: var(--second-color-gold);
}

#elxplore_more i {
    margin-left: 0.3rem;
    font-size: 0.8em;
}
@media (max-width: 768px) {
    .property-card{
        min-width: 100%;
    }
    #under_col{
        width: 100%;
    }
    #distress_deals{
        margin: 2rem;
    }
    #distress_deals #shifter a{
        font-size: 0.8rem;
        width: 6.5rem;
        padding: 7px;
    }
    #oneline{
        gap: 0px;
    }
    .carousel-navigation button{
        background-color: rgb(0 0 0 / 24%) !important;
        width: 30px !important;
        height: 30px !important;
    }   
}
#view_mobile {
    display: none;
}
.mobile{
    display: none;
}

@media screen and (max-width: 768px) {
    .col h6{
        color: black;
    }
    .laptop{
        display: none;
    }
    .mobile{
        display: flex;
    }
    #view_mobile {
        display: flex;
        /* width: 100%; */
    }
    #view_mobile .col-6 p{
        margin-bottom: 0px;
    }
    #view_mobile .col-6{
        display: flex;
        justify-content: center;
    }
    #middle-row #col1{
        display: flex;
        justify-content: space-evenly;
        padding-left: 0px;
    }
    #middle-row #col3{
        display: flex;
        padding-right: 0px;
        justify-content: space-around;
    }
    #middle-row #col3 {
        width: 50%;
    }
    #middle-row #col1 {
        width: 50%;
    }

}


#commercial-sub-shifter {
    margin-top: 1rem;
}

#commercial-sub-shifter div {
    display: flex;
    justify-content: center;
    gap: 1rem;
    border: 1px solid #7b7b7b;
    border-radius: 30px;
    padding: 0.7rem;
    margin: 0 auto;
    width: fit-content;
}

#commercial-sub-shifter a {
    text-decoration: none;
    color: var(--main-color);
    padding: 7px 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

#commercial-sub-shifter .active3 {
    background-color: var(--main-color);
    color: var(--second-color-gold);
}

@media (max-width: 768px) {
    #commercial-sub-shifter a {
        font-size: 0.8rem;
        text-align: center;
    }
}

#interst #whatsapp_link{
    width: 48%;
    text-decoration: none;
    border-radius: 7px;
    background-color: white;
    border: 1px solid grey;
    font-size: 0.8rem;
    padding: 0.45rem 0.65rem;
    font-weight: bold;
    color: var(--main-color);
    align-items: center;
    justify-content: center;
    display: flex;
}

#price_section h4{
    font-size: 1.4rem;
}

#price_section #bhk_div{
    justify-content: flex-end !important;
}

#price_section .negotiable-badge{
    border-radius: 5px !important;

}
#builder_dropdown_col{
    display: none;
}
#mobile_only_text{
    display: none;
}
@media (max-width: 768px) {
    #mobile_only_text{
        display: block;
    }
    #content_row{
        justify-content: center;
        border-radius: 0px;
    }

    #upper-row #loc_modal_btns{
        display: none !important;
    }
    .active-background{
        display: none;
    }
    #builder_dropdown_col{
        display: flex;
    }
    #img_div2 img{
        width: 40px;
        height: 40px;
        border-radius: 50%;
        margin-right: 0.8rem;
        object-fit: contain;
        box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.3);
    }
    .image-container .row{
        z-index: 0;
    }
    #residential-config .col-4{
        display: none !important;
    }
    #upper-row .col-8, #upper-row .col-4{
        width: 50% !important;
        justify-content: center !important;
    }
    #upper-row .city-selector{
        border: 1px solid #7d7d7d;
        background-color: white;
        color: #6f6f6f !important;
        font-weight: bold;
        border-radius: 6px;
        font-size: 0.7rem;
    }
    #resale-commercial-config .col-4{
        display: none !important;
    }
    #resale-commercial-config{
        padding: 0px;
    }
    #rent-commercial-config{
        padding: 0px;
    }
    #rent-commercial-config .col-4{
        display: none !important;
    }
    #upper-row {
        width: unset;
    }
    #upper-row h5 {
        padding: unset;
        width: 90%;
    }
}

@media (max-width: 414px) and (max-height: 896px) {
    #middle-div {
        width: 96vw;
    }
    #onimg {
        left: 2%;
    }
}

@media (max-width: 414px) and (max-height: 916px) {
    #middle-div {
        width: 96vw;
    }
    #onimg {
        left: 2%;
    }
}

@media (max-width: 392px){
    #middle-div{
        padding: 0px;
    }
}

.developers-list {
    max-height: 60vh;
    overflow-y: auto;
  }
  #developerModalLabel{
    color: var(--main-color);
  }
  .developer-item {
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
  }
  
  .developer-item:hover {
    background-color: #f8f9fa;
  }
  
  .developer-link {
    display: block;
    text-decoration: none;
    color: var(--main-color);
    padding: 0.5rem 1rem;
  }
  
  .developer-logo img {
    border-radius: 4px;
    object-fit: contain !important;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  }
  
  .search-container2 {
    position: sticky;
    top: 0;
    background: white;
    padding: 10px 0;
    z-index: 1;
  }
  
  /* Make the mobile button full width and match the desktop dropdown style */
  #developer-mobile .btn {
    width: 8rem;
    text-align: left;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  /* Ensure consistent heights between mobile and desktop buttons */
  #developer-mobile .btn, 
  #developer-desktop .btn {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* height: 38px; */
    background-color: white;
    color: #6f6f6f !important;
    border-radius: 6px;
    font-weight: bold;
    font-size: 0.8rem;
    padding: 6px;
    width: 100%;
  }
  #developer-mobile{
    width: 100%;
  }
  /* Limit developer name length in button */
  #developer-mobile .btn span {
    max-width: calc(100% - 20px);
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
  }
  
  /* Make modal look better on small screens */
  @media (max-width: 576px) {
    .modal-dialog {
      margin: 0.5rem;
      max-width: calc(100% - 1rem);
    }
  }



/* Regular Listings Section Styles to Match Distress Deals */
#regular_listings {
    margin: 5rem;
    margin-top: 0px;
}
@font-face {
  font-family: "Berlin Sans FB";
  src: url("BerlinSansFB-Demi.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
}
#regular_listings h1 {
    text-align: center;
    color: var(--main-color);
    font-family: "Berlin Sans FB", sans-serif;
}

/* Make headings consistent between sections */
#regular_listings h1,
#distress_deals h1,
#trusted_developers h1,
#home_loan h1 {
    text-align: center;
    color: var(--main-color);
    font-weight: bold;
}

/* Make explore more links consistent */
#regular_listings #elxplore_more {
    text-align: center;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

#regular_listings #elxplore_more a {
    color: var(--main-color);
    font-weight: bold;
    transition: color 0.3s ease;
}

#regular_listings #elxplore_more a:hover {
    color: var(--second-color-gold);
}

#regular_listings #elxplore_more a i {
    margin-left: 0.3rem;
    font-size: 0.8em;
}

/* Consistent spacing for slider containers */
#regular_listings_carousels,
#distress_deals_carousels {
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* Make the carousels consistent */
#regular_listings .configuration-carousel {
    display: none;
    position: relative;
}

#regular_listings .configuration-carousel.active {
    display: block;
}

/* Make carousel navigation consistent */
#regular_listings .carousel-navigation {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    z-index: 5;
    pointer-events: none;
}

#regular_listings .carousel-navigation button {
    pointer-events: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
#regular_listings .line{
    margin-bottom: 0px;
}

#regular_listings .carousel-container{
    margin: 0px;
}
#regular_listings .carousel-navigation button:first-child {
    left: 10px;
}

#regular_listings .carousel-navigation button:last-child {
    right: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #regular_listings,
    #distress_deals {
        margin: 2rem;
    }
    
    #regular_listings .carousel-navigation button {
        width: 30px;
        height: 30px;
        background-color: rgba(0, 0, 0, 0.24);
    }

    #oneline {
        gap: 0px;
    }
}



/* Tooltip drawer with smooth transition */
#tooltip_drawer {
    width: 100%;
    background-color: rgb(0 66 83 / 32%);
    color: #004253;
    font-size: 14px;
    text-align: center;
    border-radius: 20px 20px 10px 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transform-origin: top center;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease, margin 0.3s ease, padding 0.3s ease;
    z-index: 1000;
    overflow: hidden;
    padding: 0;
  }
  
  /* Drawer open state */
  #tooltip_drawer.open {
    max-height: 40px; /* Adjust based on content size */
    opacity: 1;
    padding: 8px;
  }
  
  /* Completely new approach for count highlighting */
  .count-pulse {
    animation: count-pulse-animation 2s ease-in-out;
  }
  
  @keyframes count-pulse-animation {
    0% {
      color: inherit;
      text-shadow: none;
      transform: scale(1);
    }
    25% {
      color: #004253;
      text-shadow: 0 0 8px rgba(0, 66, 83, 0.5);
      transform: scale(1.2);
    }
    50% {
      color: #004253;
      text-shadow: 0 0 5px rgba(0, 66, 83, 0.5);
      transform: scale(1.1);
    }
    75% {
      color: #004253;
      text-shadow: 0 0 3px rgba(0, 66, 83, 0.5);
      transform: scale(1.05);
    }
    100% {
      color: inherit;
      text-shadow: none;
      transform: scale(1);
    }
  }
  
  /* Add a simple highlight ring to make counts stand out */
  .counter.highlight-ring {
    position: relative;
  }
  
  .highlight-ring::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 66, 83, 0.2) 0%, rgba(0, 66, 83, 0.1) 50%, rgba(0, 66, 83, 0) 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
  }
  
  /* Media query for mobile */
  @media (max-width: 768px) {
    #tooltip_drawer {
      font-size: 12px;
    }
    
    #tooltip_drawer.open {
      max-height: 50px; /* Slightly more on mobile to account for text wrapping */
    }
  }




  /* Property Showcase Section */
#property_showcase {
    margin: 5rem auto;
    overflow: hidden;
}

#property_showcase h1 {
    font-weight: bold;
    text-align: center;
    color: var(--main-color);
}

.showcase-container {
    position: relative;
    height: 70vh;
    margin: 0px 80px;
    overflow: hidden;
}

.showcase-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
}

.showcase-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

/* Home loan specific image animations */
#property_showcase .showcase-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
  }
  
  /* Show the first image by default */
  #property_showcase .showcase-img[data-index="1"] {
    opacity: 1;
  }
  
  /* Animation for rotating showcase images */
  @keyframes showcaseImageFade {
    0%, 30% {
      opacity: 1;
    }
    33%, 96% {
      opacity: 0;
    }
    100% {
      opacity: 0;
    }
  }
  
  /* Apply different animations to each image */
  #property_showcase .showcase-img[data-index="1"] {
    animation: showcaseImageFade 15s infinite;
    animation-delay: 0s;
  }
  
  #property_showcase .showcase-img[data-index="2"] {
    animation: showcaseImageFade 15s infinite;
    animation-delay: 5s;
  }
  
  #property_showcase .showcase-img[data-index="3"] {
    animation: showcaseImageFade 15s infinite;
    animation-delay: 10s;
  }

/* Desktop Images */
.desktop-image {
    display: none;
}


/* Mobile Images */
.mobile-image {
    display: none;
}

/* Animations for different numbers of new launch items */
/* For 1 item - static display, no animation */
.new-launch-carousel:has(.new-launch-item:only-child) .new-launch-item {
    opacity: 1;
    animation: none !important;
}

/* For 2 items - fix the timing gap */
.new-launch-carousel:has(.new-launch-item:nth-child(2):last-child) .new-launch-item:nth-child(1) {
    animation: twoItemsFade 10s infinite;
}

.new-launch-carousel:has(.new-launch-item:nth-child(2):last-child) .new-launch-item:nth-child(2) {
    animation: twoItemsFade 10s infinite reverse;
}

/* Animation for 2 items to ensure no gap */
@keyframes twoItemsFade {
    0%, 45% {
        opacity: 1;
    }
    50%, 95% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Responsive Adjustments */
@media (min-width: 769px) {
    .desktop-image {
        display: block;
    }
}

@media (max-width: 768px) {
    .showcase-container {
        width: 100%;
        height: 40vh;
    }
    
    .mobile-image {
        display: block;
    }
}

@media (max-width: 576px) {
    .showcase-container {
        height: 60vh;
        margin: 0px;
    }
    
    #property_showcase {
        margin: 3rem auto;
    }
}







/* New Launch Section */
#new_launch {
    margin: 5rem auto;
    text-align: center;
}

#new_launch h1 {
    font-weight: bold;
    text-align: center;
    color: var(--main-color);
}

.new-launch-carousel {
    position: relative;
    width: 100%;
    height: 70vh;
    margin: 2rem auto;
    overflow: hidden;
}

.new-launch-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease;
    cursor: pointer;
}

.new-launch-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.meeting-card .card-body{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

/* Desktop Images */
.new-launch-item .desktop-image {
    display: none;
}

/* Mobile Images */
.new-launch-item .mobile-image {
    display: none;
}

/* Animation for the image fader */
.new-launch-item:nth-child(1) {
    animation: newlaunchFade 15s infinite;
    animation-delay: 0s;
}

.new-launch-item:nth-child(2) {
    animation: newlaunchFade 15s infinite;
    animation-delay: 5s;
}

.new-launch-item:nth-child(3) {
    animation: newlaunchFade 15s infinite;
    animation-delay: 10s;
}

@keyframes newlaunchFade {
    0% {
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    33% {
        opacity: 1;
    }
    38% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

/* Meeting cards styling */
.meeting-card {
    cursor: pointer;
    transition: transform 0.3s ease;
    height: 100%;
}

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

.meeting-card .card {
    border: 2px solid #f1f1f1;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.meeting-card:hover .card {
    border-color: var(--main-color);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Responsive Adjustments */
@media (min-width: 769px) {
    .new-launch-item .desktop-image {
        display: block;
    }
}

@media (max-width: 768px) {
    .new-launch-carousel {
        height: 100%;
    }
    .new-launch-item img{
        object-fit: unset;
    }
    .meeting-card .card-body{
        display: block;
    }
    .new-launch-item .mobile-image {
        display: block;
    }
    
    #new_launch {
        margin: 3rem auto;
    }
}









/* Custom Card Slider Styles */
#newnew {
    margin: 5rem 80px;
}

#newnew h1 {
    font-weight: bold;
    text-align: center;
    color: var(--main-color);
    margin-bottom: 1rem;
}

#newnew .line {
    width: 300px;
    height: 4px;
    background-color: var(--second-color-gold);
    margin: 1.2rem auto 2.5rem;
}

#newnew .cards-slider {
    position: relative;
    margin: 40px auto;
}

#newnew .slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-bottom: 50px; /* Space for indicators */
}

#newnew .slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

#newnew .slider-item {
    flex: 0 0 auto;
    padding: 0 10px;
    width: 100%; /* Default for mobile */
    box-sizing: border-box;
}

#newnew .project-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: none;
    height: 100%;
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#newnew .project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

#newnew .relative-container {
    height: 220px;
    overflow: hidden;
    position: relative;
}

#newnew .project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

#newnew .relative-container:hover .project-image {
    transform: scale(1.05);
}

#newnew .card-bottom {
    padding: 20px;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#newnew .text-xl {
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--main-color);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    -webkit-box-orient: vertical;
}

#newnew .text-xs {
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin-bottom: 0.5rem;
}
#newnew #taking_to_bottom{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
#newnew .card-btn {
    position: absolute;
    right: 0;
    bottom: 0;
    background-image: url(/static/images/btnbg.svg);
    background-size: cover;
    padding: 30px 5px 5px 30px;
}

#newnew .arrow-btn {
    border-radius: 50%;
    border: 1px solid black;
    width: 38px;
    height: 38px;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

#newnew .arrow-btn::after {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    background-image: url(/static/images/ArrowDown.svg);
    background-size: contain;
    background-repeat: no-repeat;
    transition: .5s;
}

#newnew .arrow-btn:hover {
    background-color: var(--second-color-gold);
}

/* Navigation controls */
#newnew .slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgb(0 0 0 / 24%);
    border: none;
    border-radius: 50%;
    color: white;
    z-index: 10;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

#newnew .slider-control:hover {
    background-color: var(--second-color-gold);
}

#newnew .slider-control-prev {
    left: 10px;
}

#newnew .slider-control-next {
    right: 10px;
}

/* Indicators */
#newnew .slider-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

#newnew .slider-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

#newnew .slider-indicators button.active {
    background-color: rgba(0, 0, 0, 0.456);
}

/* Responsive breakpoints - adjust slides per view based on screen size */
@media (min-width: 576px) {
    #newnew .slider-item {
        width: 100%; /* 1 card at 576px */
    }
}

@media (min-width: 768px) {
    #newnew .slider-item {
        width: 50%; /* 2 cards at 768px */
    }
}

@media (min-width: 992px) {
    #newnew .slider-item {
        width: 33.333%; /* 3 cards at 992px */
    }
}

@media (min-width: 1200px) {
    #newnew .slider-item {
        width: 25%; /* 4 cards at 1200px */
    }
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    #newnew {
        margin: 3rem auto;
    }
    
    #newnew .relative-container {
        height: 180px;
    }
    
    #newnew .card-bottom {
        height: 190px;
    }
    #newnew #taking_to_bottom h4{
        font-size: 2rem;
    }
    #newnew .text-xl {
        font-size: 1.5rem;
    }
    
    #newnew .slider-control {
        width: 35px;
        height: 35px;
    }
}



