.footer{
    margin-top: 0;
}
.building-section-blocks-right{
    display: flex;
    width: 59.3%;
}
.opened-image{
    width: 40.7%;
}
.opened-image img{
    width: 100%;
    height: 100%;
}
.phone-header-part {
    position: absolute;
    bottom: 200px;
    left: 300px;
    width: calc(100% - 580px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.building-bg{
    background: url(/images/building-bg.webp) ;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    width: 100%;
    position: relative;
}
.building-bg::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 15, 0.8);
}
.phone-header-part h1{
    font-family: Instrument Sans;
    font-weight: 700;
    font-style: Bold;
    font-size: 48px;
    leading-trim: NONE;
    line-height: 56px;
    letter-spacing: 0%;
    color: white;
}
.phone-header-part-left{
    padding-left: 24px;
    padding-bottom: 34px;
    border-left: 10px solid #A37E2C;
    color:white;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.phone-header-part p{
    font-family: Instrument Sans;
    font-weight: 500;
    font-style: Medium;
    font-size: 24px;
    leading-trim: NONE;
    line-height: 32px;
    letter-spacing: 0%;
    color:white;
}
.building-plan h3{
    color: #006039;    
}
.quote-container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 14.6%;
   
}
.building-plan-section{
    width: 100%;
    max-width: 1355px;
    margin-left: auto;
    margin-right: auto;
}
.building-plan-text{
    margin-top: 24px;
}
.building-plan-text ul{
    padding-left: 20px;
    margin: 0;
}
.building-plan-text,
.building-plan-text ul li
{
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #666666;
}
.building-high-img{
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1360px;
    margin: auto;
    margin-top: 80px;
}
.building-plan{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0px;
    gap: 80px;
    margin-top: 140px;
}
.building-plan .underline{
    width: 123px;
    height: 5px;
    background:  #A37E2C;
    margin-top: 8px;
}
.building-plan-left-h{
    font-family: Instrument Sans;
    font-weight: 700;
    font-style: Bold;
    font-size: 40px;
    leading-trim: NONE;
    line-height: 48px;
    letter-spacing: 0%;
    color: #141414;
}
.building-plan-left-2{
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.building-plan-left-h .underline{
    background:  #141414;
}
.building-plan-text-2{
    font-family: Font/Family/Body;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    leading-trim: NONE;
    line-height: 24px;
    letter-spacing: 0%;
}
.download-btn{
    cursor:pointer;
    padding: 8px 50px;
    border: 5.31px solid #141414;
    font-family: Font/Family/Body;
    font-weight: 400;
    font-style: Regular;
    font-size: 21.23px;
    leading-trim: NONE;
    line-height: 31.85px;
    letter-spacing: 0%;
    color: black;
    width: max-content;
    margin-top:10px;
}
.quote-mobile{
    background-color: #006039;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-direction: column;
    padding: 18px 0;
}
.quote-title-mobile{
    color:white;
    font-family: Instrument Sans;
    font-weight: 700;
    font-style: Bold;
    font-size: 36px;
    leading-trim: NONE;
    line-height: 44px;
    letter-spacing: Static/Display Medium/Tracking;
    text-align: center;
    vertical-align: middle;
}
.estimate-mobile{
    background-color: #A37E2C;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 40px 120px;

}
.estimate-btn-mobile {
    width: 296px;
    height: 48px;
    background-color: transparent;
    border: 5.31px solid var(--Miscellaneous-Sidebar-Fill---Selected, #FFFFFF);
    color: #FFFFFF;
    font-family: 'Roboto', 'Font/Family/Body', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 21.23px;
    line-height: 31.85px;
    letter-spacing: 0;
    opacity: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}
.quote-phone-mobile{
    color:white;
    font-family: Rubik;
    font-weight: 500;
    font-style: Medium;
    font-size: 24px;
    leading-trim: NONE;
    line-height: 32px;
    letter-spacing: 2%;
    text-align: center;       
}

.building-section {
    width: 100%;
    min-height: 827px;
    position: relative;
    overflow: hidden;
    margin-top: 91px;
}

.building-container {
    width: 100%;
    height: 827px;
    display: flex;
    position: relative;
}

/* Left Content Area - Gold Background */
.building-left {
    width: 44.06%;
    /* 846px / 1920px = 44.06% */
    height: 100%;
    background-color: #A37E2C;
    display: flex;
    align-items: center;
    justify-content: right;
    padding: 80px 68px;
    position: relative;

}

.content-wrapper {
    max-width: 494px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Title Section */
.title-section {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.building-title {
    font-family: 'Rubik', sans-serif;
    font-size: 32px;
    line-height: 40px;
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    margin: 0;
    width: 100%;
}

.title-divider {
    width: 120px;
    height: 6.64px;
    background-color: var(--color-white);
}

/* Description Section */
.description-section {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.building-description {
    font-family: 'Open Sans', sans-serif;
    font-size: 19.91px;
    line-height: 35.83px;
    font-weight: var(--font-weight-normal);
    letter-spacing: 0.8px;
    color: var(--color-white);
    margin: 0;
    max-width: 485.71px;
}

.about-btn {
    width: 278.69px;
    height: 71.66px;
    background-color: transparent;
    border: 5.31px solid var(--color-white);
    color: var(--color-white);
    font-family: 'Rubik', sans-serif;
    font-size: 18.58px;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 1.86px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.about-btn:hover {
    background-color: var(--color-white);
    color: #A37E2C;
}

/* Right Image Area */
.building-right {
    width: 55.94%;
    /* 1074px / 1920px = 55.94% */
    height: 100%;
    position: relative;
}

.image-container {
    width: 100%;
    height: 85.4%;
    position: relative;
    overflow: hidden;
}

.image-container img {
    width: 131.19%;
    height: 114.7%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    left: -15.6%;
    top: 0;
}

/* Call for Quote Overlay - Desktop */
.quote-overlay {
    position: absolute;
    left: -326px;
    bottom: 120px;
    width: 544px;
    height: 120px;
    background-color: #006039;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: left bottom;
    transform: rotate(90deg);
}

.quote-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transform: rotate(-90deg);
}

.quote-title {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 36px;
    line-height: 44px;
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    margin: 0;
    text-align: center;
}

.quote-phone {
    font-family: 'Rubik', sans-serif;
    font-size: 24px;
    line-height: 32px;
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.48px;
    color: var(--color-white);
    margin: 0;
    text-align: center;
}

.image-content{
    background-color: black;
    position: relative;
    padding-left: 50px;
    padding-top: 60px;
}
.block-title{
    font-family: Instrument Sans;
    font-weight: 700;
    font-style: Bold;
    font-size: 36px;
    leading-trim: NONE;
    line-height: 44px;
    color: #fff;
    padding-right: 20px;
}
.block-content{
    font-family: Font/Family/Body;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    leading-trim: NONE;
    line-height: 24px;
    letter-spacing: 0%;
    color: #D4D7DD;
    margin-top: 16px;
    padding-right: 20px;
}
.left-arrow-btn{
    position: absolute;
    background-color: #A37E2C;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 40px;
    right: 40px;
    cursor: pointer;
}



/* Online Estimate Overlay - Desktop */
.estimate-overlay {
    position: absolute;
    right: -156px;
    bottom: 84px;
    width: 550px;
    height: 119px;
    background-color: #A37E2C;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: right bottom;
    transform: rotate(90deg);
}

.estimate-btn {
    width: 296px;
    height: 48px;
    background-color: transparent;
    border: 5.31px solid var(--color-white);
    color: var(--color-white);
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: var(--font-weight-normal);
    cursor: pointer;
    transition: all 0.3s ease;
    transform: rotate(-90deg);
    padding: 0;
}

.estimate-btn:hover {
    background-color: var(--color-white);
    color: #A37E2C;
}

/* Mobile Elements - Hidden on Desktop */
.mobile-only {
    display: none;
}

/* Desktop Elements Visibility */
.desktop-only {
    display: flex;
}
.building-section-blocks{
    display: flex;
    height: 600px;
}
.image-content.hovered{
    background-color: #A37E2C;
    padding-left: 23px;
    padding-right: 83px;

}
.image-content.hovered .left-arrow-btn{
    background-color: black;
    right: 80px;
}
.building-high-img img{
    width: 100%;
}
.building-plan-right{
    width: 50.7%;
}
.building-plan-left{
    width: 49.3%;
}
.building-plan-right img{
    width: 100%;
}
.building-plan-left-2 {
    width: 50.5%;
}
.building-plan-right-2 img{
    width: 100%;
}
.building-plan-right-2{
    width: 49.5%;
}
@media (max-width: 1480px){
    .building-plan-section{
        max-width: calc(100% - 80px);
    }
    .phone-header-part{
        bottom: 130px;
        left: 80px;
        width: calc(100% - 160px);
        flex-wrap: wrap;
        row-gap: 24px;
    }
    .phone-header-part-right {
        padding-left: 49px;
    }
    .building-section-blocks{
        flex-direction: column;
        height: auto;
    }
    .building-section-blocks-right{
        width: 100%;
    }
    .opened-image{
        width: 100%;
    }
    .opened-image img{
        width: 100%;
        height: auto;
    }
    .image-content{
        height: 600px;
    }
    
}
@media (max-width: 1199px) {
    .building-plan-right-2 {
        width: 39.5%;
    }
    .building-plan-left-2 {
        width: 60.5%;
        gap: 16px;
    }
    .building-plan-left-h {
        font-size: 32px;
        line-height: 40px;
    }
    .building-plan{
        gap: 0;
    }
    .building-plan-right-2 img{
        aspect-ratio: 270 / 250;
    }
    .block-title {
        font-size: 24px;
        line-height: 32px;
        padding-right: 16px;
    }
    .block-content {
        font-size: 14px;
        line-height: 20px;
    }
    .image-content{
        padding-left: 42px;
    }
    .building-plan{
        margin-top: 100px;
    }
    .building-plan-right img{
        aspect-ratio: 309 / 287;
    }
    .building-section {
        min-height: 700px;
    }

    .building-container {
        height: 700px;
    }

    .building-left {
        width: 50%;
        padding: 60px 40px;
    }

    .content-wrapper {
        max-width: 420px;
        gap: 32px;
    }

    .title-section {
        gap: 24px;
    }

    .building-title {
        font-size: 28px;
        line-height: 36px;
    }

    .title-divider {
        width: 100px;
        height: 5px;
    }

    .description-section {
        gap: 40px;
    }

    .building-description {
        font-size: 17px;
        line-height: 30px;
        max-width: 100%;
    }

    .about-btn {
        width: 240px;
        height: 60px;
        font-size: 16px;
        border-width: 4px;
    }

    .building-right {
        width: 50%;
    }

    .image-container {
        height: 600px;
        margin-top: 12px;
    }

    .quote-overlay {
        left: -280px;
        bottom: 100px;
        width: 480px;
        height: 100px;
    }

    .quote-title {
        font-size: 30px;
        line-height: 38px;
    }

    .quote-phone {
        font-size: 20px;
        line-height: 28px;
    }

    .estimate-overlay {
        right: -130px;
        bottom: 70px;
        width: 460px;
        height: 100px;
    }

    .estimate-btn {
        width: 260px;
        height: 44px;
        font-size: 14px;
        border-width: 4px;
    }
}



/* ===================================
   MOBILE RESPONSIVE (≤767px)
   =================================== */
@media (max-width: 767px) {
    .building-section-blocks-right{
        flex-direction: column;
    }
    .image-content{
        width: 100%;
    }
    .phone-header-part {
        bottom: 83px;
        left: 43px;
        width: calc(100% - 80px);
    }
    .phone-header-part-left {
        padding-bottom: 25px;
    }
    .building-section {
        min-height: auto;
    }

    .building-container {
        flex-direction: column;
        height: auto;
    }

    /* Left Content - Now Green Background for Mobile */
    .building-left {
        width: 100%;
        background-color: #006039;
        padding: 50px 37.05px;
        min-height: 462px;
        height: auto;
    }

    .content-wrapper {
        max-width: 100%;
        gap: 48px;
    }

    .title-section {
        gap: 24px;
        align-items: center;
        text-align: center;
    }

    .building-title {
        font-family: 'Instrument Sans', sans-serif;
        font-size: 48px;
        line-height: 56px;
        font-weight: var(--font-weight-bold);
        width: 100%;
        max-width: 556.77px;
    }

    .title-divider {
        width: 64px;
        height: 6px;
        background-color: #A37E2C;
    }

    .description-section {
        gap: 48px;
        align-items: center;
    }

    .building-description {
        font-family: 'Roboto', sans-serif;
        font-size: 16px;
        line-height: 24px;
        letter-spacing: 0;
        max-width: 485.71px;
        text-align: left;
    }

    .about-btn {
        width: 164px;
        height: 40px;
        font-size: 16px;
        border-width: 5.31px;
    }

    /* Right Image Area */
    .building-right {
        width: 100%;
        height: auto;
        position: relative;
    }

    .image-container {
        width: 100%;
        height: 515px;
        margin-top: 0;
        position: relative;
    }

    .image-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 50%;
        position: relative;
        left: 0;
        top: 0;
    }

    /* Hide Desktop Overlays */
    .desktop-only {
        display: none !important;
    }

    /* Show Mobile Elements */
    .mobile-only {
        display: flex;
    }

    /* Call for Quote - Mobile */
    .quote-mobile {
        width: 407.62px;
        max-width: 100%;
        height: 124px;
        background-color: #A37E2C;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 26px 17px;
        gap: 8px;
    }

    .quote-title-mobile {
        font-family: 'Instrument Sans', sans-serif;
        font-size: 24px;
        line-height: 32px;
        font-weight: var(--font-weight-bold);
        color: var(--color-white);
        margin: 0;
    }

    .quote-phone-mobile {
        font-family: 'Instrument Sans', sans-serif;
        font-size: 24px;
        line-height: 32px;
        font-weight: var(--font-weight-bold);
        color: var(--color-white);
        margin: 0;
    }

    /* Online Estimate Button - Mobile */
    .estimate-mobile {
        width: 100%;
        padding: 20px;
        background-color: var(--color-white);
        justify-content: center;
        align-items: center;
    }

    .estimate-btn-mobile {
        width: 282.56px;
        max-width: 100%;
        height: 48px;
        background-color: transparent;
        border: 5.31px solid #006039;
        color: #1f1f1f;
        font-family: 'Roboto', sans-serif;
        font-size: 16px;
        line-height: 24px;
        font-weight: var(--font-weight-normal);
        cursor: pointer;
        transition: all 0.3s ease;
        padding: 0;
    }

    .estimate-btn-mobile:hover {
        background-color: #006039;
        color: var(--color-white);
    }
}

@media (max-width: 600px) {
    .building-plan-right-2 {
        width: 100%;
    }
    .building-plan-left-2 {
        width: 100%;
        margin-top: 6px;
    }
    .building-plan-section  .building-plan .underline{
        margin-left: 0;   
        margin-top: 16px;
    }
    .building-plan-text-2 {
        font-size: 14px;
        line-height: 20px;
    }
    .download-btn{
        height: 48px;
        padding: 3px 50px;
    }
    .title-section{
        align-items: start;
        text-align: left;
    }

    .building-section .building-title {
        font-size: 24px;
        line-height: 32px;
    }
    .building-left{
        min-height: auto;
        padding-top: 32px;
        padding-bottom: 32px;
    }
    .content-wrapper{
        gap: 32px;
    }
    .description-section {
        gap: 48px;
        align-items: start;
    }
    

    .building-plan {
        margin-top: 80px;
    }
    .phone-header-part h1 {
        font-size: 20px;
        line-height: 24px;
    }
    .phone-header-part-left{
        border-left: none;
        padding-left: 0;
        text-align: center;
        gap: 8px;
    }

    .building-plan{
        flex-direction: column;
    }
    .building-plan-left{
        width: 100%;
    }
    .building-plan-right{
        width: 95%;
        margin: auto;
        margin-top: 32px;
    }
    .building-plan h3{
        font-size: 24px;
        font-size: 32px;
        text-align: center;
    }
    .building-plan .underline{
        margin: auto;
    }
    .building-plan-right img {
        aspect-ratio: 301/287;
    }   
    .phone-header-part {
        bottom: 66px;
        left: 50%;
        transform: translateX(-50%);
        max-width: initial;
        align-items: center;
        justify-content: center;
        gap: 0;
        flex-direction: column;
    }
    
    .building-plan-section {
        max-width: calc(100% - 32px);
    }
    .building-plan-text{
        margin-top: 16px;
    }

    .phone-header-part-right {
        padding-left: 0;
    }
    

    .phone-header-part p{
        font-size: 12px;
        line-height: 16px;
    }
    
    
    .image-content {
        height: 340px;
    }
    .building-section{
        margin-top: 80px;
    }
    .building-plan-left-h {
        font-size: 24px;
        line-height: 32px;
    }
    .building-title {
        font-size: 36px;
        line-height: 44px;
    }

    .building-description {
        font-size: 12px;
        line-height: 16px;
    }

    .image-container {
        height: 400px;
    }

    .quote-mobile {
        width: 100%;
        height: auto;
        padding: 20px;
    }

    .quote-title-mobile,
    .quote-phone-mobile {
        font-size: 20px;
        line-height: 28px;
    }

    .estimate-mobile {
        padding: 16px;
    }

    .estimate-btn-mobile {
        width: 100%;
        height: 40px;
        font-size: 12px;

    }
    .underline.mobile-center{
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .quote-title-mobile, .quote-phone-mobile {
        font-size: 12px;
        line-height: 16px;
    }
}

/* ===================================
   ACCESSIBILITY
   =================================== */
.about-btn:focus,
.estimate-btn:focus,
.estimate-btn-mobile:focus {
    outline: 3px solid var(--color-white);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .about-btn,
    .estimate-btn,
    .estimate-btn-mobile {
        border-width: 6px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .about-btn,
    .estimate-btn,
    .estimate-btn-mobile {
        transition: none;
    }
}

/* ===================================
   PRINT STYLES
   =================================== */
@media print {
    .quote-overlay,
    .estimate-overlay,
    .quote-mobile,
    .estimate-mobile {
        display: none;
    }
    .project-image{
        aspect-ratio: 291 / 310;
    }
    .project-card {
        height: auto;
    }
    .building-container {
        height: auto;
    }

    .image-container {
        height: auto;
        max-height: 500px;
    }
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-wrapper {
    animation: fadeIn 0.8s ease forwards;
}

.image-container img {
    animation: fadeIn 1s ease forwards;
}

/* Hover effects for interactive elements */
.about-btn:active {
    transform: scale(0.98);
}

.estimate-btn:active,
.estimate-btn-mobile:active {
    transform: rotate(-90deg) scale(0.98);
}

.estimate-btn-mobile:active {
    transform: scale(0.98);
}
