.white-back {
    background:rgba(255,255,255,0.9);
}

.red-bg {
    background: #dc3545;
}

.white-text {
    color: #fff;
}

.input-white-shadow:focus {
    box-shadow: 0 0 0 0.25rem rgb(255 255 255 / 68%);
}

@media (max-width:768px) {
    .expand-on-mobile {
        width: 100%;
    }
}

.bot-response-chat {
    background: rgb(218, 218, 218);
}

.collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

/* Gallery/Construction Timeline Styling Improvements */
.construction-timeline-container {
    margin-top: 2rem;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
}

.construction-timeline-container .col-lg-2,
.construction-timeline-container .col-4 {
    padding: 0.5rem;
}

.construction-timeline-container .box-zoom {
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.construction-timeline-container .box-zoom:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.construction-timeline-container .box-zoom img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    pointer-events: none;
}

.construction-timeline-container .box-zoom:hover img {
    transform: scale(1.05);
}

.construction-timeline-container .box-zoom-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    z-index: 2;
    cursor: pointer;
}

.construction-timeline-container .box-zoom-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 60, 124, 0);
    transition: background 0.3s ease;
    pointer-events: none;
}

.construction-timeline-container .box-zoom:hover .box-zoom-link::after {
    background: rgba(15, 60, 124, 0.1);
}

#construction-timeline {
    margin-bottom: 3rem;
    font-weight: 600;
    color: #0F3C7C;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .construction-timeline-container .box-zoom img {
        height: 180px;
    }
}

@media (max-width: 575px) {
    .construction-timeline-container .box-zoom img {
        height: 150px;
    }
    
    .construction-timeline-container {
        gap: 0.75rem;
    }
    
    .construction-timeline-container .col-lg-2,
    .construction-timeline-container .col-4 {
        padding: 0.375rem;
    }
}

/* Improve gallery section spacing */
#available-apartments {
    padding: 4rem 0;
}

#available-apartments .container {
    max-width: 1400px;
}

/* Why Choose Us Section Styling Improvements */
#why-choose {
    padding: 5rem 0;
}

#why-choose .carousel-parent {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    height: 520px;
    display: flex;
    align-items: center;
}

#why-choose .carousel-parent .slick-list,
#why-choose .carousel-parent .slick-track {
    height: 100%;
}

#why-choose .carousel-parent .item {
    height: 100%;
    display: flex;
    align-items: center;
}

#why-choose .carousel-parent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

#why-choose .carousel-parent:hover img {
    transform: scale(1.02);
}

#why-choose h4 {
    font-size: 2rem;
    font-weight: 700;
    color: #0F3C7C;
    margin-bottom: 2.5rem;
    line-height: 1.2;
}

#why-choose #child-carousel .item {
    padding: 1rem 0;
}

#why-choose #child-carousel h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #0F3C7C;
    margin-bottom: 1.25rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

#why-choose #child-carousel p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 0;
}

#why-choose .custom-arrows {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

#why-choose .custom-arrows button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #0F3C7C;
    background: transparent;
    color: #0F3C7C;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.25rem;
}

#why-choose .custom-arrows button:hover {
    background: #0F3C7C;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(15, 60, 124, 0.3);
}

#why-choose .custom-arrows button:active {
    transform: scale(0.95);
}

/* Improve responsive layout */
@media (max-width: 991px) {
    #why-choose {
        padding: 3.5rem 0;
    }
    
    #why-choose .carousel-parent {
        height: 400px;
    }
    
    #why-choose h4 {
        font-size: 1.75rem;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    #why-choose #child-carousel h2 {
        font-size: 1.5rem;
        text-align: center;
    }
    
    #why-choose #child-carousel p {
        text-align: center;
    }
    
    #why-choose .custom-arrows {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    #why-choose {
        padding: 2.5rem 0;
    }
    
    #why-choose .carousel-parent {
        height: 300px;
    }
    
    #why-choose h4 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    #why-choose #child-carousel h2 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    #why-choose #child-carousel p {
        font-size: 0.95rem;
    }
}

/* First Section / Hero Section Styling Improvements */
.first-section {
    padding: 4rem 0 6rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.first-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(15, 60, 124, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(15, 60, 124, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.first-section .container {
    position: relative;
    z-index: 1;
}

/* Enhanced H1 Typography */
.first-section h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #0F3C7C;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

@media (min-width: 992px) {
    .first-section h1 {
        margin-bottom: 2rem;
        font-size: 4rem;
    }
}

/* Form Container Styling */
.first-section .box-border-top {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.05),
        0 10px 30px rgba(15, 60, 124, 0.08);
    border: 1px solid rgba(15, 60, 124, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.first-section .box-border-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0F3C7C 0%, #1e5aa8 100%);
    border-radius: 16px 16px 0 0;
}

.first-section .box-border-top:hover {
    box-shadow: 
        0 8px 12px rgba(0, 0, 0, 0.08),
        0 20px 40px rgba(15, 60, 124, 0.12);
    transform: translateY(-2px);
}

/* Form Heading */
.first-section .box-border-top h3 {
    font-size: clamp(1.5rem, 3vw, 1.75rem);
    font-weight: 600;
    color: #0F3C7C;
    margin-bottom: 1.75rem;
    line-height: 1.3;
}

/* Enhanced Form Inputs */
.first-section .form-wrap {
    margin-bottom: 1.5rem;
    position: relative;
}

.first-section .form-input {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 1rem;
    color: #333;
    transition: all 0.3s ease;
    width: 100%;
}

.first-section .form-input:focus {
    outline: none;
    border-color: #0F3C7C;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(15, 60, 124, 0.1);
    transform: translateY(-1px);
}

.first-section .form-label {
    font-size: 0.95rem;
    color: #6c757d;
    font-weight: 500;
    transition: all 0.3s ease;
}

.first-section .form-wrap.has-focus .form-label,
.first-section .form-wrap:has(.form-input:focus) .form-label {
    color: #0F3C7C;
    font-weight: 600;
}

/* Submit Button Enhancement */
.first-section .button-primary {
    background: linear-gradient(135deg, #0F3C7C 0%, #1e5aa8 100%);
    border: none;
    border-radius: 8px;
    padding: 16px 32px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 6px rgba(15, 60, 124, 0.2),
        0 2px 4px rgba(15, 60, 124, 0.1);
    position: relative;
    overflow: hidden;
}

.first-section .button-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.first-section .button-primary:hover::before {
    left: 100%;
}

.first-section .button-primary:hover {
    background: linear-gradient(135deg, #1e5aa8 0%, #0F3C7C 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 12px rgba(15, 60, 124, 0.3),
        0 4px 8px rgba(15, 60, 124, 0.2);
}

.first-section .button-primary:active {
    transform: translateY(0);
    box-shadow: 
        0 4px 6px rgba(15, 60, 124, 0.2),
        0 2px 4px rgba(15, 60, 124, 0.1);
}

/* Image Container Enhancement */
.first-section .interactive-image-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.first-section .interactive-image-container:hover {
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.15),
        0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.first-section .interactive-image-container img {
    border-radius: 16px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.first-section .interactive-image-container:hover img {
    transform: scale(1.02);
}

/* Location Badge Enhancement */
.first-section .box-caption-info {
    background: rgba(15, 60, 124, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.first-section .box-caption-text {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Responsive Improvements */
@media (max-width: 991px) {
    .first-section {
        padding: 3rem 0 4rem;
    }
    
    .first-section .box-border-top {
        padding: 2rem;
        margin-top: 2rem;
    }
    
    .first-section .row {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .first-section {
        padding: 2.5rem 0 3.5rem;
        background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    }
    
    .first-section h1 {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .first-section .box-border-top {
        padding: 1.75rem;
        border-radius: 12px;
    }
    
    .first-section .box-border-top h3 {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .first-section .form-input {
        padding: 12px 14px;
    }
    
    .first-section .button-primary {
        width: 100%;
        padding: 14px 24px;
    }
    
    .first-section .interactive-image-container {
        margin-top: 2rem;
        border-radius: 12px;
    }
}

@media (max-width: 575px) {
    .first-section {
        padding: 2rem 0 3rem;
    }
    
    .first-section .box-border-top {
        padding: 1.5rem;
    }
    
    .first-section .form-wrap {
        margin-bottom: 1.25rem;
    }
    
    .first-section .box-border-top h3 {
        font-size: 1.25rem;
        margin-bottom: 1.25rem;
    }
}