/* =========================================================
   RESIDENTIAL INTERIOR DESIGN PAGE
   COMPLETE CSS
========================================================= */

:root {
    --res-gold: #a4752a;
    --res-gold-dark: #875d1d;
    --res-dark: #28302f;
    --res-dark-light: #394240;
    --res-green: #9daaa2;
    --res-light: #f5f4f0;
    --res-white: #ffffff;
    --res-text: #646b69;
    --res-border: rgba(40, 48, 47, 0.12);
}


/* =========================================================
   COMMON
========================================================= */

.residential-intro,
.residential-services,
.design-approach,
.residential-gallery,
.residential-cta {
    position: relative;
    overflow: hidden;
}

.residential-intro *,
.residential-services *,
.design-approach *,
.residential-gallery *,
.residential-cta * {
    box-sizing: border-box;
}


/* =========================================================
   COMMON TITLE
========================================================= */

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--res-gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.section-tag::before {
    content: "";
    width: 30px;
    height: 1px;
    background: var(--res-gold);
}

.residential-title {
    color: var(--res-dark);
    font-size: 58px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -1px;
    margin: 0;
}

.residential-title span {
    display: block;
    font-weight: 400;
    color: #4d5653;
}

.gold-line {
    width: 70px;
    height: 2px;
    background: var(--res-gold);
    margin: 30px 0;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.residential-section-heading {
    position: relative;
    text-align: center;
    margin-bottom: 75px;
    z-index: 2;
}

.residential-section-heading > span {
    display: inline-block;
    color: var(--res-gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.residential-section-heading h2 {
    color: var(--res-dark);
    font-size: 50px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin: 0;
}

.heading-line {
    width: 55px;
    height: 2px;
    margin: 24px auto 0;
    background: var(--res-gold);
}


/* =========================================================
   BUTTON
========================================================= */

.residential-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 54px;
    padding: 0 28px;
    background: #94671d;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: all 0.4s ease;
}

.residential-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 0;
    height: 100%;
    background: var(--res-dark);
    z-index: -1;
    transition: width 0.5s ease;
}

.residential-btn:hover {
    color: #ffffff;
}

.residential-btn:hover::before {
    width: 100%;
}

.residential-btn i {
    position: relative;
    transition: transform 0.3s ease;
}

.residential-btn:hover i {
    transform: translateX(5px);
}


/* =========================================================
   INTRO SECTION
========================================================= */

.residential-intro {
    padding: 130px 0;
    background: var(--res-light);
}

.residential-intro::before {
    content: "RESIDENTIAL";
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(40, 48, 47, 0.035);
    font-size: clamp(100px, 14vw, 250px);
    font-weight: 800;
    letter-spacing: 12px;
    white-space: nowrap;
    pointer-events: none;
}

.residential-intro .container {
    position: relative;
    z-index: 2;
}

.residential-image {
    position: relative;
    padding: 20px 0 0 20px;
}

.residential-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 78%;
    height: 90%;
    border-top: 1px solid rgba(164, 117, 42, 0.55);
    border-left: 1px solid rgba(164, 117, 42, 0.55);
}

.residential-image::after {
    content: "01";
    position: absolute;
    right: -20px;
    bottom: -25px;
    color: var(--res-gold);
    font-size: 85px;
    font-weight: 700;
    opacity: 0.15;
    z-index: 3;
}

.residential-image img {
    position: relative;
    width: 100%;
    height: 560px;
    object-fit: cover;
    display: block;
    z-index: 2;
    transition: transform 1.2s ease;
}

.residential-image:hover img {
    transform: scale(1.02);
}

.residential-content {
    position: relative;
    padding-left: 55px;
    z-index: 2;
}

.residential-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 15px;
    width: 1px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        var(--res-gold),
        transparent
    );
    opacity: 0.45;
}

.residential-content p {
    max-width: 550px;
    color: var(--res-text);
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 18px;
}


/* =========================================================
   SERVICES SECTION
========================================================= */

.residential-services {
    padding: 130px 0;
    background: var(--res-dark);
}

.residential-services::before {
    content: "SERVICES";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.025);
    font-size: clamp(100px, 14vw, 250px);
    font-weight: 800;
    letter-spacing: 12px;
    white-space: nowrap;
    pointer-events: none;
}

.residential-services .residential-section-heading {
    position: relative;
}

.residential-services .residential-section-heading h2 {
    color: #ffffff;
}

.residential-services .residential-section-heading > span {
    color: var(--res-gold);
}

.residential-service-row {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.residential-service-card {
    position: relative;
    min-height: 370px;
    height: 100%;
    padding: 65px 30px 45px;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    text-align: left;
    overflow: hidden;
    transition: background 0.5s ease;
}

.residential-service-card:last-child {
    border-right: none;
}

.residential-service-card::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background: var(--res-gold);
    transition: width 0.5s ease;
}

.residential-service-card:hover {
    background: rgba(255, 255, 255, 0.05);
}

.residential-service-card:hover::before {
    width: 100%;
}

.service-number {
    position: absolute;
    top: 25px;
    right: 25px;
    color: var(--res-gold);
    font-size: 14px;
    font-weight: 600;
    opacity: 0.8;
}

.service-icon {
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 35px;
    border: 1px solid rgba(164, 117, 42, 0.55);
    color: var(--res-gold);
    font-size: 23px;
    transition: all 0.5s ease;
}

.residential-service-card:hover .service-icon {
    background: var(--res-gold);
    color: #ffffff;
    transform: rotate(8deg);
}

.residential-service-card h3 {
    color: #ffffff;
    font-size: 23px;
    font-weight: 600;
    margin-bottom: 18px;
}

.residential-service-card p {
    color: rgba(255, 255, 255, 0.58);
    font-size: 14px;
    line-height: 1.85;
    margin: 0;
}


/* =========================================================
   DESIGN APPROACH
========================================================= */

.design-approach {
    padding: 150px 0;
    background: #ffffff;
}

.design-approach::before {
    content: "DESIGN";
    position: absolute;
    top: 30px;
    right: -20px;
    color: rgba(40, 48, 47, 0.035);
    font-size: clamp(100px, 13vw, 230px);
    font-weight: 800;
    letter-spacing: 10px;
    pointer-events: none;
}

.design-approach .container {
    position: relative;
    z-index: 2;
}

.design-approach-content {
    position: relative;
    padding-right: 60px;
}

.approach-list {
    padding: 0;
    margin: 45px 0 0;
    list-style: none;
    counter-reset: approach-counter;
}

.approach-list li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 0;
    color: var(--res-text);
    font-size: 15px;
    border-bottom: 1px solid var(--res-border);
    transition: all 0.4s ease;
}

.approach-list li::before {
    counter-increment: approach-counter;
    content: "0" counter(approach-counter);
    width: 34px;
    color: var(--res-gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.approach-list li > span {
    width: 26px;
    height: 26px;
    min-width: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(157, 170, 162, 0.2);
    color: var(--res-dark);
    font-size: 9px;
    transition: all 0.3s ease;
}

.approach-list li:hover {
    padding-left: 8px;
    color: var(--res-dark);
}

.approach-list li:hover > span {
    background: var(--res-gold);
    color: #ffffff;
}

.approach-image-wrap {
    position: relative;
    padding: 30px 0 0 35px;
}

.approach-image-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    right: 30px;
    width: 70%;
    height: 75%;
    background: var(--res-dark);
    z-index: 0;
}

.approach-image {
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.approach-image img {
    width: 100%;
    height: 590px;
    object-fit: cover;
    display: block;
    transition: transform 1s ease;
}

.approach-image:hover img {
    transform: scale(1.05);
}

.image-dots {
    position: absolute;
    width: 150px;
    height: 150px;
    right: -45px;
    bottom: -35px;
    opacity: 0.55;
    z-index: 3;
    background-image: radial-gradient(
        var(--res-gold) 1.5px,
        transparent 1.5px
    );
    background-size: 12px 12px;
}


/* =========================================================
   GALLERY
========================================================= */

.residential-gallery {
    padding: 140px 0;
    background: var(--res-light);
}

.residential-gallery::before {
    content: "LIVING";
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(40, 48, 47, 0.035);
    font-size: clamp(100px, 15vw, 250px);
    font-weight: 800;
    letter-spacing: 12px;
    white-space: nowrap;
    pointer-events: none;
}

.residential-gallery .container {
    position: relative;
    z-index: 2;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    grid-auto-rows: 270px;
    gap: 20px;
    margin: 0;
}

.gallery-grid > div {
    width: 100%;
    padding: 0;
}

.gallery-grid > div:nth-child(1) {
    grid-row: span 2;
}

.gallery-grid > div:nth-child(2) {
    grid-column: span 2;
}

.gallery-grid > div:nth-child(3) {
    grid-column: span 1;
}

.gallery-grid > div:nth-child(4) {
    grid-column: span 1;
}

.gallery-item {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.75),
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1s cubic-bezier(.2,.7,.2,1);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-overlay {
    position: absolute;
    left: 30px;
    bottom: 25px;
    z-index: 3;
    color: #ffffff;
    font-size: 19px;
    font-weight: 600;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}


/* =========================================================
   CTA
========================================================= */

.residential-cta {
    padding: 0 0 130px;
    background: var(--res-light);
}

.residential-cta-box {
    position: relative;
    min-height: 380px;
    padding: 70px 80px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--res-dark);
}

.residential-cta-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(40, 48, 47, 0.98) 20%,
            rgba(40, 48, 47, 0.88) 60%,
            rgba(40, 48, 47, 0.75)
        ),
        url("https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=1600&q=85");
    background-size: cover;
    background-position: center;
}

.residential-cta-box::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(164, 117, 42, 0.35);
    border-radius: 50%;
    right: -160px;
    top: -210px;
}

.cta-content,
.cta-btn-wrap {
    position: relative;
    z-index: 2;
}

.cta-content > span {
    display: block;
    color: var(--res-gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 22px;
}

.cta-content h2 {
    color: #ffffff;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    margin: 0;
}

.cta-content h2 strong {
    display: block;
    color: var(--res-green);
    font-weight: 400;
}

.cta-btn-wrap .residential-btn {
    min-width: 160px;
}


/* =========================================================
   SCROLL ANIMATION SUPPORT
========================================================= */

.residential-image,
.residential-content,
.residential-service-card,
.design-approach-content,
.approach-image-wrap,
.gallery-item,
.residential-cta-box {
    will-change: transform, opacity;
}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1400px) {

    .residential-intro .container,
    .residential-services .container,
    .design-approach .container,
    .residential-gallery .container,
    .residential-cta .container {
        max-width: 1280px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1199px) {

    .residential-title {
        font-size: 48px;
    }

    .residential-section-heading h2 {
        font-size: 43px;
    }

    .residential-content {
        padding-left: 35px;
    }

    .design-approach-content {
        padding-right: 30px;
    }

    .cta-content h2 {
        font-size: 48px;
    }

}


/* =========================================================
   LAPTOP / TABLET
========================================================= */

@media (max-width: 991px) {

    .residential-intro {
        padding: 100px 0;
    }

    .residential-content {
        padding: 60px 0 0;
    }

    .residential-content::before {
        display: none;
    }

    .residential-services {
        padding: 100px 0;
    }

    .residential-service-card {
        min-height: 340px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    .design-approach {
        padding: 110px 0;
    }

    .design-approach-content {
        padding-right: 0;
        margin-bottom: 65px;
    }

    .approach-image-wrap {
        max-width: 850px;
    }

    .residential-gallery {
        padding: 110px 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 320px;
    }

    .gallery-grid > div:nth-child(1),
    .gallery-grid > div:nth-child(2),
    .gallery-grid > div:nth-child(3),
    .gallery-grid > div:nth-child(4) {
        grid-column: auto;
        grid-row: auto;
    }

    .residential-cta-box {
        min-height: 340px;
        padding: 60px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .section-tag {
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .residential-title {
        font-size: 38px;
        line-height: 1.12;
    }

    .residential-section-heading {
        margin-bottom: 50px;
    }

    .residential-section-heading h2 {
        font-size: 34px;
    }


    /* INTRO */

    .residential-intro {
        padding: 75px 0;
    }

    .residential-intro::before {
        top: 40px;
        font-size: 80px;
        letter-spacing: 5px;
    }

    .residential-image {
        padding: 15px 0 0 15px;
    }

    .residential-image img {
        height: 400px;
    }

    .residential-image::after {
        font-size: 60px;
        right: 0;
        bottom: -20px;
    }

    .residential-content {
        padding-top: 50px;
    }

    .residential-content p {
        font-size: 14px;
        line-height: 1.85;
    }


    /* SERVICES */

    .residential-services {
        padding: 75px 0;
    }

    .residential-services::before {
        font-size: 75px;
        letter-spacing: 5px;
    }

    .residential-service-card {
        min-height: auto;
        padding: 55px 25px 40px;
    }


    /* DESIGN APPROACH */

    .design-approach {
        padding: 80px 0;
    }

    .design-approach::before {
        font-size: 85px;
    }

    .design-approach-content {
        margin-bottom: 50px;
    }

    .approach-list {
        margin-top: 30px;
    }

    .approach-list li {
        font-size: 13px;
        gap: 12px;
    }

    .approach-image-wrap {
        padding: 20px 0 0 15px;
    }

    .approach-image img {
        height: 420px;
    }

    .image-dots {
        width: 100px;
        height: 100px;
        right: -20px;
        bottom: -20px;
    }


    /* GALLERY */

    .residential-gallery {
        padding: 80px 0;
    }

    .residential-gallery::before {
        font-size: 75px;
        letter-spacing: 5px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 300px;
        gap: 15px;
    }

    .gallery-item {
        min-height: 300px;
    }


    /* CTA */

    .residential-cta {
        padding-bottom: 80px;
    }

    .residential-cta-box {
        min-height: 400px;
        padding: 50px 25px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 35px;
    }

    .cta-content h2 {
        font-size: 38px;
    }

    .cta-btn-wrap .residential-btn {
        min-width: 150px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .residential-title {
        font-size: 33px;
    }

    .residential-section-heading h2 {
        font-size: 30px;
    }

    .residential-image img {
        height: 350px;
    }

    .approach-image img {
        height: 360px;
    }

    .cta-content h2 {
        font-size: 32px;
    }

    .residential-btn {
        min-height: 50px;
        padding: 0 22px;
        font-size: 12px;
    }

}

/* =========================================
   DESIGN APPROACH LIST
========================================= */

.approach-list {
    margin-top: 50px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.approach-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(40, 48, 47, 0.1);
    transition: all 0.4s ease;
}

.approach-item:first-child {
    border-top: 1px solid rgba(40, 48, 47, 0.1);
}

/* CHECK ICON */

.approach-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(164, 117, 42, 0.08);
    border: 1px solid rgba(164, 117, 42, 0.3);
    color: var(--res-gold);
    font-size: 11px;
    transition: all 0.4s ease;
}

/* CONTENT */

.approach-content {
    flex: 1;
}

.approach-content h4 {
    margin: 0 0 5px;
    color: var(--res-dark);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.approach-content p {
    margin: 0;
    color: var(--res-text);
    font-size: 13px;
    line-height: 1.6;
}

/* HOVER EFFECT */

.approach-item:hover {
    padding-left: 10px;
}

.approach-item:hover .approach-icon {
    background: var(--res-gold);
    border-color: var(--res-gold);
    color: #ffffff;
    transform: rotate(360deg);
}

.approach-item:hover .approach-content h4 {
    color: var(--res-gold);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

    .approach-list {
        margin-top: 35px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .approach-item {
        align-items: flex-start;
        gap: 14px;
        padding: 16px 0;
    }

    .approach-icon {
        width: 34px;
        height: 34px;
        min-width: 34px;
        font-size: 10px;
        margin-top: 2px;
    }

    .approach-content h4 {
        font-size: 16px;
    }

    .approach-content p {
        font-size: 12px;
        line-height: 1.6;
    }

}

/* eomeercial css start */
/* =========================================
   COMMERCIAL INTRO BACKGROUND TEXT FIX
========================================= */

section.residential-intro.commercial-intro {
    position: relative !important;
    overflow: hidden !important;
}

section.residential-intro.commercial-intro::before {
        content: "COMMERCIAL" !important;
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(40, 48, 47, 0.035);
    font-size: clamp(100px, 14vw, 250px);
    font-weight: 800;
    letter-spacing: 12px;
    white-space: nowrap;
    pointer-events: none;
}

section.residential-intro.commercial-intro .container {
    position: relative !important;
    z-index: 1 !important;
}

.residential-image.commercial-image {
    position: relative;
}

.residential-image.commercial-image::after {
    content: "02" !important;
    position: absolute;
    right: -20px;
    bottom: -25px;
    color: var(--res-gold);
    font-size: 85px;
    font-weight: 700;
    opacity: 0.15;
    z-index: 3;
}
/* COMMERCIAL GALLERY BACKGROUND TEXT */

.residential-gallery.commercial-gallary {
    position: relative !important;
    overflow: hidden !important;
}

.residential-gallery.commercial-gallary::before {
        content: "WORKSPACE";
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(40, 48, 47, 0.035);
    font-size: clamp(100px, 15vw, 250px);
    font-weight: 800;
    letter-spacing: 12px;
    white-space: nowrap;
    pointer-events: none;
}

.residential-gallery.commercial-gallary .container {
    position: relative !important;
    z-index: 2 !important;
}

/* =========================================
   FOOTER DIRECT CONTACT
========================================= */

.quote-direct-contact {
    width: 100%;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.quote-contact-card {
    width: 100%;
    height: 58px;
    background: #f5f5f5;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 18px;

    text-decoration: none;
    box-sizing: border-box;

    transition: all 0.3s ease;
}

.quote-contact-card:hover {
    transform: translateY(-3px);
    background: #ffffff;
}

.quote-contact-left {
    display: flex;
    align-items: center;
    gap: 14px;

    min-width: 0;
}

.quote-contact-left i {
    color: #2f3b39;
    font-size: 16px;
    flex-shrink: 0;
}

.quote-contact-left span {
    color: #2f3b39;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.quote-contact-arrow {
    color: #2f3b39;
    font-size: 18px;
    flex-shrink: 0;

    transition: transform 0.3s ease;
}

.quote-contact-card:hover .quote-contact-arrow {
    transform: translateX(5px);
}


/* Mobile */

@media (max-width: 575px) {

    .quote-contact-card {
        height: 54px;
        padding: 0 14px;
    }

    .quote-contact-left {
        gap: 10px;
    }

    .quote-contact-left span {
        font-size: 12px;
    }

}