/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    color: #111111;
}

a {
    text-decoration: none;
}


/* =========================
   HEADER
========================= */

.site-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
}

.site-header .navbar {
    min-height: 98px;
    padding: 0;
}

.header-container {
    max-width: 1680px;
    padding: 0 40px;
}


/* =========================
   LOGO
========================= */

.logo {
    display: flex;
    align-items: center;
    margin-right: 0;
}

.logo img {
    width: 190px;
    height: auto;
    display: block;
}


/* =========================
   NAVIGATION
========================= */

.main-nav {
    display: flex;
    align-items: center;

    /* Space between Home, About,
       Our Homes, Services etc. */
    gap: 27px;

    margin-left: auto;

    /* Space between navigation
       and Call button */
    margin-right: 32px;
}

.main-nav .nav-link {
    position: relative;

    color: #111111;

    font-size: 16px;
    font-weight: 400;

    padding: 38px 0;

    white-space: nowrap;

    transition: color 0.3s ease;
}

.main-nav .nav-link:hover {
    color: #145c3b;
}


/* =========================
   ACTIVE NAVIGATION
========================= */

.main-nav .nav-link.active {
    color: #145c3b;
}

.main-nav .nav-link.active::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 27px;

    width: 100%;
    height: 2px;

    background: #145c3b;
}


/* =========================
   HEADER ACTIONS
========================= */

.header-actions {
    display: flex;
    align-items: center;

    gap: 12px;

    flex-shrink: 0;
}


/* =========================
   CALL & WHATSAPP
========================= */

.call-btn,
.whatsapp-btn {
    height: 64px;
    min-width: 175px;

    padding: 0 16px;

    display: flex;
    align-items: center;

    gap: 12px;

    border-radius: 6px;

    color: #ffffff;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


/* =========================
   CALL
========================= */

.call-btn {
    background-color: #063d2a;
}

.call-btn i {
    font-size: 25px;
}


/* =========================
   WHATSAPP
========================= */

.whatsapp-btn {
    background-color: #397c55;
}

.whatsapp-btn i {
    font-size: 26px;
}


/* =========================
   BUTTON TEXT
========================= */

.header-actions div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.header-actions strong {
    font-size: 16px;
    line-height: 20px;
    font-weight: 700;
}

.header-actions small {
    font-size: 12px;
    line-height: 16px;
}


/* =========================
   BUTTON HOVER
========================= */

.call-btn:hover,
.whatsapp-btn:hover {
    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 6px 15px rgba(0, 0, 0, 0.12);
}


/* =========================
   BOOTSTRAP MOBILE TOGGLE
========================= */

.navbar-toggler {
    border: none;
    padding: 8px;

    color: #063d2a;

    font-size: 25px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler i {
    pointer-events: none;
}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1400px) {

    .main-nav {
        gap: 30px;
        margin-right: 38px;
    }

    .call-btn,
    .whatsapp-btn {
        min-width: 180px;
    }

}


/* =========================================================
   LAPTOP
========================================================= */

@media (min-width: 1200px) and (max-width: 1399.98px) {

    .header-container {
        padding: 0 30px;
    }

    .logo img {
        width: 175px;
    }

    .main-nav {
        gap: 22px;
        margin-right: 25px;
    }

    .main-nav .nav-link {
        font-size: 15px;
    }

    .call-btn,
    .whatsapp-btn {
        min-width: 160px;
        padding: 0 14px;
    }

}


/* =========================================================
   TABLET / MOBILE
========================================================= */

@media (max-width: 991.98px) {

    .site-header .navbar {
        min-height: 80px;
    }

    .header-container {
        padding: 0 25px;
    }


    /* =========================
       LOGO
    ========================= */

    .logo img {
        width: 150px;
    }


    /* =========================
       MOBILE MENU
    ========================= */

    .navbar-collapse {
        padding-top: 15px;
        padding-bottom: 20px;
    }

    .main-nav {
        display: block;

        margin: 0;

        /* Reset desktop gap */
        gap: 0;
    }


    .main-nav .nav-item {
        border-bottom: 1px solid #eeeeee;
    }


    .main-nav .nav-link {
        padding: 14px 5px;

        font-size: 16px;

        white-space: normal;
    }


    /* =========================
       REMOVE DESKTOP UNDERLINE
    ========================= */

    .main-nav .nav-link.active::after {
        display: none;
    }


    /* =========================
       HEADER BUTTONS
    ========================= */

    .header-actions {
        flex-direction: column;

        width: 100%;

        gap: 10px;

        margin-top: 18px;
    }


    .call-btn,
    .whatsapp-btn {
        width: 100%;

        min-width: 0;

        height: 56px;

        padding: 0 18px;
    }


    .call-btn i,
    .whatsapp-btn i {
        font-size: 23px;
    }


    .header-actions strong {
        font-size: 15px;
    }


    .header-actions small {
        font-size: 11px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 575.98px) {

    .header-container {
        padding: 0 18px;
    }

    .logo img {
        width: 140px;
    }

    .navbar-toggler {
        font-size: 23px;
    }

}

/* =========================
   HERO SECTION
========================= */

.hero-section {
    position: relative;

    min-height: 620px;

    background-image: url("hero.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: #ffffff;

    overflow: hidden;
}


/* =========================
   DARK OVERLAY
========================= */

.hero-overlay {
    position: absolute;

    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.78) 0%,
        rgba(0, 0, 0, 0.55) 35%,
        rgba(0, 0, 0, 0.10) 75%
    );

    z-index: 1;
}


/* =========================
   HERO CONTAINER
========================= */

.hero-container {
    position: relative;

    z-index: 2;

    min-height: 620px;

    display: flex;
    align-items: center;
}


/* =========================
   HERO CONTENT
========================= */

.hero-content {
    max-width: 560px;

    padding: 70px 0;
}


/* =========================
   HERO EYEBROW
========================= */

.hero-eyebrow {
    display: flex;
    align-items: center;

    margin-bottom: 18px;

    color: #b5d98b;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2px;
}


/* Line before eyebrow */

.hero-eyebrow span {
    display: inline-block;

    width: 38px;
    height: 1px;

    margin-right: 10px;

    background: #b5d98b;
}


/* =========================
   HERO HEADING
========================= */

.hero-content h1 {
    margin-bottom: 20px;

    font-family: Georgia, serif;

    font-size: clamp(48px, 5vw, 72px);

    font-weight: 400;

    line-height: 0.98;

    color: #ffffff;
}


/* Green italic text */

.hero-content h1 em {
    color: #b5d98b;

    font-style: italic;
}


/* =========================
   HERO DESCRIPTION
========================= */

.hero-description {
    max-width: 430px;

    margin-bottom: 25px;

    font-size: 15px;

    line-height: 1.6;

    color: #ffffff;
}


/* =========================
   HERO BUTTONS
========================= */

.hero-buttons {
    display: flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 35px;
}


.hero-btn {
    min-height: 46px;

    padding: 0 20px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    border-radius: 4px;

    font-size: 13px;

    font-weight: 600;

    transition: all 0.3s ease;
}


/* Primary */

.primary-btn {
    background: #5d9b68;

    color: #ffffff;
}

.primary-btn:hover {
    background: #397c55;

    color: #ffffff;

    transform: translateY(-2px);
}


/* Secondary */

.secondary-btn {
    border: 1px solid #ffffff;

    background: transparent;

    color: #ffffff;
}

.secondary-btn:hover {
    background: #ffffff;

    color: #063d2a;

    transform: translateY(-2px);
}


/* =========================
   HERO FEATURES
========================= */

.hero-features {
    display: flex;

    align-items: center;

    gap: 20px;
}


.hero-feature {
    display: flex;

    align-items: center;

    gap: 10px;

    padding-right: 20px;

    border-right: 1px solid rgba(255,255,255,0.35);
}


.hero-feature:last-child {
    border-right: none;
}


/* Feature icons */

.hero-feature i {
    flex-shrink: 0;

    color: #b5d98b;

    font-size: 25px;
}


/* Feature text */

.hero-feature div {
    display: flex;

    flex-direction: column;
}


.hero-feature strong {
    display: block;

    margin-bottom: 3px;

    color: #ffffff;

    font-size: 10px;

    letter-spacing: 0.8px;
}


.hero-feature small {
    display: block;

    max-width: 120px;

    color: #ffffff;

    font-size: 10px;

    line-height: 1.4;
}

/* =========================
   HERO MOBILE
========================= */

@media (max-width: 991.98px) {

    .hero-section {
        min-height: 650px;

        background-position: 60% center;
    }

    .hero-container {
        min-height: 650px;

        align-items: flex-end;
    }

    .hero-content {
        max-width: 100%;
        width: 100%;

        padding: 50px 0 45px;
    }

    /* Darker overlay for readability */

    .hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.20) 0%,
            rgba(0, 0, 0, 0.55) 45%,
            rgba(0, 0, 0, 0.85) 100%
        );
    }

    /* Eyebrow */

    .hero-eyebrow {
        margin-bottom: 14px;

        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .hero-eyebrow span {
        width: 30px;
        margin-right: 8px;
    }

    /* Heading */

    .hero-content h1 {
        margin-bottom: 16px;

        font-size: clamp(42px, 11vw, 58px);

        line-height: 0.98;
    }

    /* Description */

    .hero-description {
        max-width: 100%;

        margin-bottom: 22px;

        font-size: 14px;

        line-height: 1.55;
    }

    /* Buttons */

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;

        gap: 10px;

        margin-bottom: 28px;
    }

    .hero-btn {
        width: 100%;

        min-height: 48px;
    }

    /* Features */

    .hero-features {
        display: grid;

        grid-template-columns: repeat(3, 1fr);

        gap: 10px;
    }

    .hero-feature {
        gap: 7px;

        padding-right: 10px;
    }

    .hero-feature i {
        font-size: 20px;
    }

    .hero-feature strong {
        font-size: 9px;
    }

    .hero-feature small {
        max-width: 100%;

        font-size: 9px;
    }
}

/* =========================
   HOME MODELS SECTION
========================= */

.home-models {
    background: #ffffff;
    padding: 70px 0;
}


/* =========================
   LEFT INTRO
========================= */

.home-models-intro {
    padding-right: 30px;
}


.section-label {
    margin-bottom: 18px;

    color: #397c55;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2px;
}


.home-models-intro h2 {
    margin-bottom: 28px;

    font-family: Georgia, serif;

    font-size: 36px;
    font-weight: 400;

    line-height: 1.15;

    color: #111111;
}


.home-models-intro h2 em {
    color: #397c55;
    font-style: italic;
}


/* =========================
   VIEW ALL MODELS BUTTON
========================= */

.home-models .view-all-btn {
    width: auto;
    min-width: 0;
    height: 42px;
    min-height: 42px;

    padding: 0 16px;

    display: inline-flex;
    flex-direction: row;

    align-items: center;
    justify-content: center;

    gap: 12px;

    border: 1px solid #9ba89f;
    border-radius: 4px;

    background: transparent;

    color: #111111;

    font-family: inherit;
    font-size: 13px;
    font-weight: 400;

    line-height: 1;
    white-space: nowrap;

    text-decoration: none;

    cursor: pointer;

    box-sizing: border-box;

    appearance: none;
    -webkit-appearance: none;

    flex-shrink: 0;

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease;
}


.home-models .view-all-btn:hover {
    background: #063d2a;

    border-color: #063d2a;

    color: #ffffff;
}


.home-models .view-all-btn:focus {
    outline: none;
}


.home-models .view-all-btn:focus-visible {
    outline: 2px solid #397c55;
    outline-offset: 3px;
}


.home-models .view-all-btn i {
    display: inline-block;

    width: auto;
    height: auto;

    margin: 0;
    padding: 0;

    font-size: 12px;

    line-height: 1;

    transition: transform 0.3s ease;
}


.home-models .view-all-btn:hover i {
    transform: translateX(4px);
}

/* =========================
   HOME MODEL BUTTON FIX
========================= */

.home-models button.view-all-btn,
.home-models button.view-model-btn {
    width: auto;
    max-width: none;
    box-sizing: border-box;
    white-space: nowrap;
}

/* =========================
   HOME CARD
========================= */

.home-card {
    height: 100%;

    background: #ffffff;

    border: 1px solid #e5e8e5;

    border-radius: 6px;

    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.home-card:hover {
    transform: translateY(-4px);

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}


/* =========================
   CARD IMAGE
========================= */

.home-card-image {
    width: 100%;
    height: 155px;

    overflow: hidden;
}


.home-card-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.4s ease;
}


.home-card:hover .home-card-image img {
    transform: scale(1.05);
}


/* =========================
   CARD CONTENT
========================= */

.home-card-content {
    padding: 12px 12px 14px;
}


.home-card-content h3 {
    margin-bottom: 6px;

    color: #111111;

    font-size: 14px;
    font-weight: 600;
}


.home-card-content p {
    min-height: 38px;

    margin-bottom: 10px;

    color: #333333;

    font-size: 12px;
    line-height: 1.5;
}


/* =========================
   VIEW DETAILS BUTTON
========================= */

.view-model-btn {
    margin: 0;

    padding: 0;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    border: none;

    background: transparent;

    color: #145c3b;

    font-family: inherit;
    font-size: 11px;
    font-weight: 600;

    line-height: 1;

    text-decoration: none;

    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;
}


.view-model-btn:hover {
    color: #063d2a;
}


.view-model-btn:focus {
    outline: none;
}


.view-model-btn:focus-visible {
    outline: 2px solid #397c55;
    outline-offset: 3px;
    border-radius: 2px;
}


.view-model-btn i {
    font-size: 10px;

    transition: transform 0.3s ease;
}


.view-model-btn:hover i {
    transform: translateX(4px);
}


/* =========================
   TABLET / IPAD
========================= */

@media (min-width: 768px) and (max-width: 1199.98px) {

    /* =========================
       HOME MODELS SECTION
    ========================= */

    .home-models {
        padding: 50px 0;
    }


    /* =========================
       LEFT INTRO
    ========================= */

    .home-models-intro {
        padding-right: 20px;
        margin-bottom: 0;
    }


    .home-models-intro .section-label {
        margin-bottom: 14px;

        font-size: 10px;
    }


    .home-models-intro h2 {
        max-width: 240px;

        margin-bottom: 22px;

        font-size: 29px;

        line-height: 1.12;
    }


    /* =========================
       VIEW ALL BUTTON
    ========================= */

    .view-all-btn {
        min-height: 40px;

        padding: 0 13px;

        font-size: 11px;

        gap: 9px;
    }


    .view-all-btn i {
        font-size: 10px;
    }


    /* =========================
       CARD GRID
    ========================= */

    .home-models .row.g-3 {
        --bs-gutter-x: 12px;
        --bs-gutter-y: 12px;
    }


    /* =========================
       HOME CARD
    ========================= */

    .home-card {
        height: 100%;

        border-radius: 6px;
    }


    /* =========================
       CARD IMAGE
    ========================= */

    .home-card-image {
        height: 140px;
    }


    .home-card-image img {
        object-fit: cover;
    }


    /* =========================
       CARD CONTENT
    ========================= */

    .home-card-content {
        padding: 10px 11px 12px;
    }


    .home-card-content h3 {
        margin-bottom: 5px;

        font-size: 13px;
    }


    .home-card-content p {
        min-height: 32px;

        margin-bottom: 7px;

        font-size: 10px;

        line-height: 1.4;
    }


    /* =========================
       VIEW DETAILS BUTTON
    ========================= */

    .view-model-btn {
        font-size: 10px;
    }


    .view-model-btn i {
        font-size: 9px;
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 767.98px) {

    .home-models {
        padding: 50px 0;
    }


    .home-models-intro {
        margin-bottom: 30px;
    }


    .section-label {
        margin-bottom: 14px;
    }


    .home-models-intro h2 {
        font-size: 30px;

        line-height: 1.15;

        margin-bottom: 22px;
    }


    /* =========================
       VIEW ALL BUTTON
    ========================= */

    .view-all-btn {
        min-height: 42px;

        padding: 0 15px;

        font-size: 12px;

        gap: 10px;
    }


    .view-all-btn i {
        font-size: 11px;
    }


    /* =========================
       CARD IMAGE
    ========================= */

    .home-card-image {
        height: 210px;
    }


    /* =========================
       CARD CONTENT
    ========================= */

    .home-card-content {
        padding: 14px 15px 16px;
    }


    .home-card-content h3 {
        font-size: 15px;
    }


    .home-card-content p {
        font-size: 13px;
    }


    /* =========================
       VIEW DETAILS BUTTON
    ========================= */

    .view-model-btn {
        font-size: 12px;
    }


    .view-model-btn i {
        font-size: 10px;
    }
}


/* =========================
   HOME MODEL DETAILS MODAL
========================= */

.model-modal {
    position: fixed;

    inset: 0;

    z-index: 9999;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 20px;
}


.model-modal.active {
    display: flex;
}


/* =========================
   OVERLAY
========================= */

.model-modal-overlay {
    position: absolute;

    inset: 0;

    background: rgba(0, 0, 0, 0.55);

    backdrop-filter: blur(4px);
}


/* =========================
   MODAL BOX
========================= */

.model-modal-box {
    position: relative;

    z-index: 1;

    width: 100%;
    max-width: 850px;

    max-height: 90vh;

    display: grid;

    grid-template-columns: 45% 55%;

    background: #ffffff;

    border-radius: 8px;

    overflow: hidden;

    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);

    animation: modelModalOpen 0.3s ease;
}


@keyframes modelModalOpen {

    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


/* =========================
   CLOSE BUTTON
========================= */

.model-modal-close {
    position: absolute;

    top: 14px;
    right: 14px;

    z-index: 5;

    width: 36px;
    height: 36px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: none;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.9);

    color: #111111;

    cursor: pointer;

    font-size: 14px;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}


.model-modal-close:hover {
    background: #063d2a;

    color: #ffffff;

    transform: rotate(90deg);
}


/* =========================
   MODAL IMAGE
========================= */

.model-modal-image {
    min-height: 450px;

    overflow: hidden;
}


.model-modal-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* =========================
   MODAL CONTENT
========================= */

.model-modal-content {
    padding: 50px 45px;

    overflow-y: auto;
}


.model-modal-label {
    margin-bottom: 12px;

    color: #397c55;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 2px;
}


.model-modal-content h2 {
    margin-bottom: 18px;

    color: #111111;

    font-family: Georgia, serif;

    font-size: 34px;
    font-weight: 400;

    line-height: 1.15;
}


.model-modal-content > p {
    margin-bottom: 28px;

    color: #555555;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================
   FEATURES
========================= */

.model-modal-features {
    margin-bottom: 30px;
}


.model-modal-features h3 {
    margin-bottom: 12px;

    color: #111111;

    font-size: 14px;
    font-weight: 600;
}


.model-modal-features ul {
    margin: 0;

    padding: 0;

    list-style: none;
}


.model-modal-features li {
    position: relative;

    margin-bottom: 9px;

    padding-left: 18px;

    color: #555555;

    font-size: 13px;

    line-height: 1.5;
}


.model-modal-features li::before {
    content: "✓";

    position: absolute;

    left: 0;

    color: #397c55;

    font-weight: 700;
}


/* =========================
   QUOTE BUTTON
========================= */

.model-modal-quote {
    min-height: 42px;

    padding: 0 18px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    border: 1px solid #063d2a;

    border-radius: 4px;

    background: #063d2a;

    color: #ffffff;

    font-family: inherit;

    font-size: 12px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}


.model-modal-quote:hover {
    background: #145c3b;

    transform: translateY(-2px);
}


.model-modal-quote i {
    transition: transform 0.3s ease;
}


.model-modal-quote:hover i {
    transform: translateX(4px);
}


/* =========================
   MOBILE
========================= */

@media (max-width: 767.98px) {

    .model-modal {
        padding: 15px;
    }


    .model-modal-box {
        max-height: 92vh;

        display: flex;

        flex-direction: column;
    }


    .model-modal-image {
        height: 220px;

        min-height: 220px;
    }


    .model-modal-content {
        padding: 28px 24px 30px;

        overflow-y: auto;
    }


    .model-modal-content h2 {
        font-size: 28px;
    }


    .model-modal-content > p {
        font-size: 13px;
    }


    .model-modal-close {
        top: 10px;
        right: 10px;
    }

}

/* =====================================================
   ALL HOME MODELS MODAL - IMAGE FIX
===================================================== */

.all-models-modal .all-model-card-image {
    width: 100%;
    height: 160px;
    position: relative;
    overflow: hidden;
    display: block;
    background: #f1f3f1;
}

.all-models-modal .all-model-card-image img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    visibility: visible;
    opacity: 1;
    object-fit: cover;
}

.all-models-modal .all-model-card:hover
.all-model-card-image img {
    transform: scale(1.05);
}


/* =====================================================
   ALL MODELS GRID
===================================================== */

.all-models-modal .all-models-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 991.98px) {

    .all-models-modal .all-models-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 575.98px) {

    .all-models-modal .all-models-grid {
        grid-template-columns: 1fr;
    }

    .all-models-modal .all-model-card-image {
        height: 190px;
    }

}

/* =========================
   WHY CHOOSE ECONEST
========================= */

.why-econest {
    background: #f4f5ed;

    padding: 55px 0;
}


/* =========================
   INTRO
========================= */

.why-intro {
    padding-right: 30px;
}


.why-intro h2 {
    margin-bottom: 14px;

    font-family: Georgia, serif;

    font-size: 34px;
    font-weight: 400;

    line-height: 1.08;

    color: #111111;
}


.why-intro h2 em {
    color: #397c55;

    font-style: italic;
}


.why-description {
    max-width: 245px;

    margin: 0;

    color: #333333;

    font-size: 12px;

    line-height: 1.55;
}


/* =========================
   BENEFITS
========================= */

.benefits-row {
    height: 100%;
}


.benefit-card {
    height: 100%;

    min-height: 125px;

    padding: 10px 16px;

    display: flex;

    align-items: flex-start;

    gap: 14px;

    border-left: 1px solid #cbd2c5;
}


/* =========================
   BENEFIT ICON
========================= */

.benefit-icon {
    width: 40px;
    height: 40px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid #aebaa8;

    border-radius: 50%;

    color: #145c3b;

    font-size: 16px;
}


.benefit-content {
    flex: 1;
}


.benefit-content h3 {
    margin-bottom: 8px;

    color: #173d2c;

    font-size: 12px;
    font-weight: 700;
}


.benefit-content p {
    margin: 0;

    color: #333333;

    font-size: 10px;

    line-height: 1.55;
}


/* =========================
   HOVER
========================= */

.benefit-card {
    transition: transform 0.3s ease;
}


.benefit-card:hover {
    transform: translateY(-3px);
}


.benefit-card:hover .benefit-icon {
    background: #145c3b;

    color: #ffffff;
}


/* =========================
   TABLET / IPAD
========================= */

@media (max-width: 991.98px) {

    .why-econest {
        padding: 50px 0;
    }


    /* Introduction */

    .why-intro {
        padding-right: 25px;
        margin-bottom: 0;
    }

    .why-intro h2 {
        max-width: 360px;
        font-size: 32px;
    }

    .why-description {
        max-width: 330px;
        font-size: 11px;
    }


    /* Benefits */

    .benefits-row {
        height: auto;
    }

    .benefit-card {
        min-height: 110px;

        padding: 10px 15px;

        margin-bottom: 15px;

        gap: 12px;
    }


    .benefit-icon {
        width: 38px;
        height: 38px;

        font-size: 15px;
    }


    .benefit-content h3 {
        font-size: 11px;

        margin-bottom: 6px;
    }


    .benefit-content p {
        font-size: 9px;

        line-height: 1.45;
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 767.98px) {

    .why-econest {
        padding: 50px 0;
    }

    .why-intro {
        margin-bottom: 30px;
    }

    .why-intro h2 {
        font-size: 30px;
    }

    .why-description {
        font-size: 13px;
    }


    /* One card per row */

    .benefits-row {
        grid-template-columns: 1fr;
        row-gap: 0;
    }


    .benefit-card {
        min-height: auto;

        padding: 15px 0;

        border-left: none;
        border-top: 1px solid #d5dbd1;
    }


    .benefit-icon {
        width: 42px;
        height: 42px;
    }

    .benefit-content h3 {
        font-size: 14px;
    }

    .benefit-content p {
        font-size: 12px;
    }
}

/* =========================
   IPAD AIR OPTIMIZATION
========================= */

@media (min-width: 768px) and (max-width: 991.98px) {

    .why-econest {
        padding: 45px 0;
    }

    .why-intro {
        margin-bottom: 25px;
    }

    .why-intro h2 {
        margin-bottom: 10px;
        font-size: 32px;
    }

    .why-description {
        max-width: 650px;
    }

    .benefits-row {
        row-gap: 15px;
    }

    .benefit-card {
        min-height: 110px;
        padding: 8px 18px;
    }

    .benefit-content h3 {
        margin-bottom: 5px;
    }
}

/* =========================================================
   OUR SERVICES SECTION
========================================================= */

.services-section {
    padding: 110px 0;
    background: #f7f8f4;
}


/* =========================
   SERVICES HEADER
========================= */

.services-header {
    margin-bottom: 55px;
}

.services-header-content {
    max-width: 650px;
}

.services-description {
    margin-top: 20px;
    max-width: 600px;
    font-size: 16px;
    line-height: 1.8;
    color: #6b716b;
}


/* =========================
   SERVICES GRID
========================= */

.services-grid {
    align-items: stretch;
}


/* =========================
   SERVICE CARD
========================= */

.service-card {
    height: 100%;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(30, 45, 30, 0.08);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(30, 45, 30, 0.12);
}


/* =========================
   SERVICE IMAGE
========================= */

.service-image {
    width: 100%;
    height: 270px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.06);
}


/* =========================
   SERVICE CONTENT
========================= */

.service-content {
    position: relative;
    padding: 30px;
}

.service-number {
    display: block;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #7a8578;
}

.service-content h3 {
    margin: 0 0 14px;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 600;
    color: #263326;
}

.service-content p {
    margin: 0 0 25px;
    font-size: 15px;
    line-height: 1.7;
    color: #707770;
}


/* =========================
   SERVICE LINK
========================= */

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 0;

    border: none;
    background: transparent;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: #344734;

    text-decoration: none;
    cursor: pointer;

    transition:
        color 0.3s ease,
        gap 0.3s ease;
}

.service-link i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: #667d64;
    gap: 14px;
}

.service-link:hover i {
    transform: translateX(3px);
}


/* =========================
   SERVICE MODAL
========================= */

.service-modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
}

.service-modal-header {
    padding: 30px 35px 10px;
    border-bottom: none;
    align-items: flex-start;
}

.service-modal-header h2 {
    margin: 5px 0 0;
    font-size: 32px;
    line-height: 1.2;
    color: #263326;
}

.service-modal-header h2 em {
    font-style: italic;
    font-weight: 400;
}

.service-modal-header .btn-close {
    margin-top: 5px;
    box-shadow: none;
}

.service-modal-body {
    padding: 20px 35px 35px;
}

.service-modal-body p {
    font-size: 15px;
    line-height: 1.8;
    color: #6d746d;
    margin-bottom: 22px;
}

.service-modal-body h4 {
    margin-bottom: 15px;
    font-size: 17px;
    font-weight: 600;
    color: #263326;
}


/* =========================
   MODAL IMAGE
========================= */

.service-modal-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}


/* =========================
   SERVICE FEATURES
========================= */

.service-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.service-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    margin-bottom: 12px;

    font-size: 14px;
    line-height: 1.5;
    color: #5f685f;
}

.service-feature-list li i {
    margin-top: 4px;
    font-size: 12px;
    color: #667d64;
}


/* =========================
   MODAL QUOTE BUTTON
========================= */

.service-modal-quote {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 13px 22px;

    border: none;
    border-radius: 6px;

    background: #344734;
    color: #ffffff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.service-modal-quote:hover {
    background: #263526;
    transform: translateY(-2px);
}


/* =========================================================
   RESPONSIVE DESIGN
========================================================= */


/* =========================
   TABLET
========================= */

@media (max-width: 991.98px) {

    .services-section {
        padding: 85px 0;
    }

    .services-header {
        margin-bottom: 40px;
    }

    .service-image {
        height: 240px;
    }

    .service-content {
        padding: 25px;
    }

    .service-content h3 {
        font-size: 22px;
    }

    .service-modal-header {
        padding: 25px 25px 10px;
    }

    .service-modal-body {
        padding: 15px 25px 30px;
    }

    .service-modal-image {
        height: 260px;
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 767.98px) {

    .services-section {
        padding: 70px 0;
    }

    .services-header {
        margin-bottom: 35px;
    }

    .services-description {
        font-size: 15px;
        line-height: 1.7;
    }

    .service-image {
        height: 230px;
    }

    .service-content {
        padding: 24px;
    }

    .service-content h3 {
        font-size: 21px;
    }

    .service-content p {
        font-size: 14px;
    }

    .service-modal-header {
        padding: 22px 20px 5px;
    }

    .service-modal-header h2 {
        font-size: 26px;
    }

    .service-modal-body {
        padding: 15px 20px 25px;
    }

    .service-modal-image {
        height: 220px;
    }

}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 575.98px) {

    .services-section {
        padding: 60px 0;
    }

    .service-image {
        height: 210px;
    }

    .service-content {
        padding: 22px;
    }

    .service-modal-header h2 {
        font-size: 24px;
    }

    .service-modal-quote {
        width: 100%;
        justify-content: center;
    }

}

/* =========================================================
   PREFAB MODAL
   ECONEST GREEN THEME
========================================================= */

#prefabModal .prefab-modal-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.22);
}


/* =========================================================
   MODAL HEADER
========================================================= */

#prefabModal .modal-header {
    padding: 26px 32px 22px;

    background: #ffffff;

    border-bottom: 1px solid #e4e9e2;
}

#prefabModal .modal-section-label {
    display: block;

    margin-bottom: 7px;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.14em;
    text-transform: uppercase;

    color: #789262;
}

#prefabModal .modal-title {
    margin: 0;

    font-size: 34px;
    font-weight: 700;

    line-height: 1.2;

    color: #2f3d2d;
}


/* =========================================================
   CLOSE BUTTON
========================================================= */

#prefabModal .modal-header .btn-close {
    width: 38px;
    height: 38px;

    margin: 0;
    padding: 0;

    border-radius: 50%;

    background-color: #f0f4ed;

    opacity: 1;

    position: absolute;

    top: 24px;
    right: 28px;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

#prefabModal .modal-header .btn-close:hover {
    background-color: #dfe8da;

    transform: rotate(90deg);
}


/* =========================================================
   MODAL BODY
========================================================= */

#prefabModal .prefab-modal-body {
    padding: 0;

    background: #ffffff;
}


/* =========================================================
   INTRODUCTION
========================================================= */

#prefabModal .prefab-intro {
    display: flex;
    align-items: flex-start;

    gap: 22px;

    padding: 42px 40px;

    background: #f5f8f2;

    border-bottom: 1px solid #e2e9df;
}

#prefabModal .prefab-intro-icon {
    flex: 0 0 58px;

    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background: #dfe8da;

    color: #53694d;

    font-size: 22px;
}

#prefabModal .prefab-intro-content {
    max-width: 900px;
}

#prefabModal .prefab-intro-content > span {
    display: block;

    margin-bottom: 8px;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.14em;
    text-transform: uppercase;

    color: #789262;
}

#prefabModal .prefab-intro-content h3 {
    margin: 0 0 14px;

    font-size: 31px;
    font-weight: 700;

    line-height: 1.25;

    color: #2f3d2d;
}

#prefabModal .prefab-intro-content h3 em {
    font-style: normal;

    color: #789262;
}

#prefabModal .prefab-intro-content p {
    margin: 0 0 10px;

    font-size: 15px;
    line-height: 1.75;

    color: #5f685f;
}

#prefabModal .prefab-intro-content p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   PREFAB SOLUTIONS
========================================================= */

#prefabModal .prefab-solutions {
    padding: 45px 40px;

    background: #ffffff;
}

#prefabModal .prefab-solutions .gallery-heading {
    margin-bottom: 25px;
}


/* =========================================================
   SECTION HEADING
========================================================= */

#prefabModal .gallery-heading > span {
    display: block;

    margin-bottom: 7px;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.14em;
    text-transform: uppercase;

    color: #789262;
}

#prefabModal .gallery-heading h3 {
    margin: 0;

    font-size: 27px;
    font-weight: 700;

    color: #2f3d2d;
}


/* =========================================================
   SOLUTION CARDS
========================================================= */

#prefabModal .prefab-solution-card {
    height: 100%;

    display: flex;
    align-items: flex-start;

    gap: 18px;

    padding: 24px;

    background: #ffffff;

    border: 1px solid #dfe6dc;

    border-radius: 14px;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

#prefabModal .prefab-solution-card:hover {
    transform: translateY(-4px);

    border-color: #b9c8b2;

    box-shadow:
        0 12px 28px rgba(47, 61, 45, 0.10);
}


/* =========================================================
   SOLUTION ICON
========================================================= */

#prefabModal .prefab-solution-icon {
    flex: 0 0 50px;

    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: #edf2ea;

    color: #637b5b;

    font-size: 18px;

    transition:
        background 0.25s ease,
        color 0.25s ease;
}

#prefabModal .prefab-solution-card:hover .prefab-solution-icon {
    background: #637b5b;

    color: #ffffff;
}


/* =========================================================
   SOLUTION TEXT
========================================================= */

#prefabModal .prefab-solution-card h4 {
    margin: 2px 0 8px;

    font-size: 17px;
    font-weight: 700;

    line-height: 1.35;

    color: #2f3d2d;
}

#prefabModal .prefab-solution-card p {
    margin: 0;

    font-size: 14px;
    line-height: 1.7;

    color: #6d746d;
}


/* =========================================================
   WHY PREFAB
========================================================= */

#prefabModal .prefab-features {
    padding: 45px 40px;

    background: #f5f7f4;

    border-top: 1px solid #e1e7df;
}

#prefabModal .prefab-features .gallery-heading {
    margin-bottom: 25px;
}


/* =========================================================
   FEATURE CARDS
========================================================= */

#prefabModal .prefab-feature-card {
    height: 100%;

    padding: 27px 22px;

    text-align: center;

    background: #ffffff;

    border: 1px solid #dfe6dc;

    border-radius: 14px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

#prefabModal .prefab-feature-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 10px 25px rgba(47, 61, 45, 0.08);
}

#prefabModal .prefab-feature-card > i {
    width: 50px;
    height: 50px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 15px;

    border-radius: 50%;

    background: #edf2ea;

    color: #637b5b;

    font-size: 18px;
}

#prefabModal .prefab-feature-card h4 {
    margin: 0 0 9px;

    font-size: 17px;
    font-weight: 700;

    color: #2f3d2d;
}

#prefabModal .prefab-feature-card p {
    margin: 0;

    font-size: 14px;

    line-height: 1.7;

    color: #6d746d;
}


/* =========================================================
   CTA
========================================================= */

#prefabModal .prefab-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    margin: 30px;

    padding: 34px 36px;

    border-radius: 14px;

    background: #2f3d2d;
}

#prefabModal .prefab-cta-content {
    max-width: 700px;
}

#prefabModal .prefab-cta-content > span {
    display: block;

    margin-bottom: 8px;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.14em;
    text-transform: uppercase;

    color: #b9c7b3;
}

#prefabModal .prefab-cta-content h3 {
    margin: 0 0 8px;

    font-size: 28px;
    font-weight: 700;

    line-height: 1.3;

    color: #ffffff;
}

#prefabModal .prefab-cta-content h3 em {
    font-style: normal;

    color: #c5d2bf;
}

#prefabModal .prefab-cta-content p {
    margin: 0;

    font-size: 14px;

    line-height: 1.7;

    color: #d9dfd6;
}


/* =========================================================
   REQUEST A QUOTE BUTTON
========================================================= */

#prefabModal .prefab-cta .bamboo-quote-btn,
#prefabModal .prefab-cta .btn {
    flex-shrink: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 13px 23px;

    border: none;
    border-radius: 8px;

    background: #ffffff;

    color: #2f3d2d !important;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    white-space: nowrap;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

#prefabModal .prefab-cta .bamboo-quote-btn:hover,
#prefabModal .prefab-cta .btn:hover {
    transform: translateY(-2px);

    background: #f0f4ed;

    color: #2f3d2d !important;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.18);
}

#prefabModal .prefab-cta .bamboo-quote-btn i,
#prefabModal .prefab-cta .btn i {
    color: inherit;
}


/* =========================================================
   PREFAB MODAL SCROLLBAR
========================================================= */

#prefabModal .modal-body::-webkit-scrollbar {
    width: 7px;
}

#prefabModal .modal-body::-webkit-scrollbar-track {
    background: #f5f5f5;
}

#prefabModal .modal-body::-webkit-scrollbar-thumb {
    border-radius: 10px;

    background: #c4cec0;
}

#prefabModal .modal-body::-webkit-scrollbar-thumb:hover {
    background: #789262;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    #prefabModal .prefab-intro {
        padding: 40px 30px;
    }

    #prefabModal .prefab-solutions {
        padding: 40px 30px;
    }

    #prefabModal .prefab-features {
        padding: 40px 30px;
    }

    #prefabModal .prefab-cta {
        margin: 25px;

        padding: 30px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    #prefabModal .modal-header {
        padding: 22px 20px;
    }

    #prefabModal .modal-title {
        font-size: 26px;
    }

    #prefabModal .modal-header .btn-close {
        top: 20px;
        right: 18px;

        width: 34px;
        height: 34px;
    }


    #prefabModal .prefab-intro {
        padding: 38px 20px;
    }

    #prefabModal .prefab-intro-content h3 {
        font-size: 28px;
    }


    #prefabModal .prefab-solutions {
        padding: 38px 20px;
    }

    #prefabModal .prefab-features {
        padding: 38px 20px;
    }


    #prefabModal .prefab-cta {
        flex-direction: column;
        align-items: flex-start;

        margin: 20px;

        padding: 28px 22px;

        gap: 22px;
    }

    #prefabModal .prefab-cta .bamboo-quote-btn,
    #prefabModal .prefab-cta .btn {
        width: 100%;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    #prefabModal .prefab-modal-content {
        border-radius: 15px;
    }

    #prefabModal .modal-title {
        font-size: 23px;
    }

    #prefabModal .prefab-intro {
        display: block;

        padding: 32px 18px;
    }

    #prefabModal .prefab-intro-icon {
        margin-bottom: 18px;
    }

    #prefabModal .prefab-intro-content h3 {
        font-size: 25px;
    }

    #prefabModal .prefab-intro-content p {
        font-size: 14px;
    }

    #prefabModal .prefab-solutions {
        padding: 32px 18px;
    }

    #prefabModal .prefab-solution-card {
        padding: 20px;
    }

    #prefabModal .prefab-features {
        padding: 32px 18px;
    }

    #prefabModal .prefab-cta {
        margin: 16px;

        padding: 25px 20px;
    }

}

/* =========================================================
   BAMBOO HUTS & STRUCTURES MODAL
   SAME STYLING AS GYPSUM FALSE CEILING
========================================================= */


/* =========================================================
   MODAL CONTAINER
========================================================= */

.bamboo-modal-content {
    border: none;
    border-radius: 22px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.20);
}


/* =========================================================
   MODAL HEADER
========================================================= */

.bamboo-modal-content .modal-header {
    padding: 28px 32px;
    border-bottom: 1px solid #eeeeee;
    background: #ffffff;
    align-items: center;
}


/* Small label */

.bamboo-modal-label {
    display: block;
    margin-bottom: 6px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;

    color: #789262;
}


/* Modal title */

.bamboo-modal-content .modal-title {
    margin: 0;

    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;

    color: #263326;
}


/* Close button */

.bamboo-modal-content .btn-close {
    width: 38px;
    height: 38px;

    padding: 0;

    border-radius: 50%;

    background-color: #f3f5f1;
    background-size: 12px;

    opacity: 1;

    transition: all 0.25s ease;
}


.bamboo-modal-content .btn-close:hover {
    background-color: #e5eadf;
    transform: rotate(90deg);
}


/* =========================================================
   MODAL BODY
========================================================= */

.bamboo-modal-content .modal-body {
    padding: 0;
}


/* =========================================================
   INTRODUCTION
========================================================= */

.bamboo-intro {
    padding: 55px 45px;

    background:
        linear-gradient(
            135deg,
            #f4f6f1 0%,
            #ffffff 100%
        );
}


.bamboo-intro-content {
    max-width: 850px;
    margin: 0 auto;
}


/* Bamboo intro icon */

.bamboo-intro-icon {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    margin-bottom: 20px;

    border-radius: 50%;

    background: #789262;
    color: #ffffff;

    font-size: 16px;
}


/* Introduction heading */

.bamboo-intro h3 {
    margin-bottom: 20px;

    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.15;

    font-weight: 700;

    color: #263326;
}


.bamboo-intro h3 span {
    color: #789262;
}


/* Introduction paragraphs */

.bamboo-intro p {
    max-width: 760px;

    margin-bottom: 12px;

    font-size: 16px;
    line-height: 1.8;

    color: #666f66;
}


.bamboo-intro p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   GALLERY
========================================================= */

.bamboo-gallery-section {
    padding: 55px 45px;
}


/* =========================================================
   GALLERY HEADING
========================================================= */

.bamboo-gallery-heading {
    margin-bottom: 28px;
}


.bamboo-gallery-heading > span {
    display: block;

    margin-bottom: 7px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;

    color: #789262;
}


.bamboo-gallery-heading h3 {
    margin: 0;

    font-size: clamp(23px, 3vw, 32px);
    line-height: 1.25;

    font-weight: 700;

    color: #263326;
}


/* =========================================================
   GALLERY IMAGES
========================================================= */

.bamboo-gallery-item {
    position: relative;

    width: 100%;
    height: 230px;

    overflow: hidden;

    border-radius: 14px;

    background: #f2f2f2;

    cursor: pointer;
}


.bamboo-gallery-item img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.5s ease,
        filter 0.5s ease;
}


/* Image hover */

.bamboo-gallery-item:hover img {
    transform: scale(1.07);
    filter: brightness(0.90);
}


/* =========================================================
   IMAGE HOVER OVERLAY
========================================================= */

.bamboo-gallery-item::after {
    content: "";

    position: absolute;

    inset: 0;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.20),
        transparent 45%
    );

    opacity: 0;

    transition: opacity 0.35s ease;

    pointer-events: none;
}


.bamboo-gallery-item:hover::after {
    opacity: 1;
}


/* =========================================================
   SOLUTIONS / FEATURES SECTION
========================================================= */

.bamboo-solutions {
    padding: 55px 45px;

    background: #f7f8f5;
}


/* =========================================================
   SOLUTIONS HEADING
========================================================= */

.bamboo-solutions-heading {
    margin-bottom: 28px;
}


.bamboo-solutions-heading > span {
    display: block;

    margin-bottom: 7px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;

    color: #789262;
}


.bamboo-solutions-heading h3 {
    margin: 0;

    font-size: clamp(23px, 3vw, 32px);
    line-height: 1.25;

    font-weight: 700;

    color: #263326;
}


/* =========================================================
   SOLUTION CARD
========================================================= */

.bamboo-solution-card {
    height: 100%;

    padding: 28px 24px;

    border: 1px solid #e7ebe3;
    border-radius: 16px;

    background: #ffffff;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


.bamboo-solution-card:hover {
    transform: translateY(-6px);

    border-color: #d5ddcd;

    box-shadow:
        0 15px 35px rgba(48, 62, 44, 0.10);
}


/* Solution icon */

.bamboo-solution-icon {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    margin-bottom: 18px;

    border-radius: 12px;

    background: #edf2e9;
    color: #789262;

    font-size: 20px;

    transition:
        background 0.3s ease,
        color 0.3s ease;
}


.bamboo-solution-card:hover .bamboo-solution-icon {
    background: #789262;
    color: #ffffff;
}


/* Solution heading */

.bamboo-solution-card h4 {
    margin-bottom: 10px;

    font-size: 18px;
    font-weight: 700;

    color: #263326;
}


/* Solution paragraph */

.bamboo-solution-card p {
    margin: 0;

    font-size: 14px;
    line-height: 1.7;

    color: #737a71;
}


/* =========================================================
   CTA SECTION
========================================================= */

.bamboo-cta {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    margin: 45px;
    padding: 40px;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            #2f3d2d 0%,
            #43553e 100%
        );

    color: #ffffff;
}


/* CTA label */

.bamboo-cta-content > span {
    display: block;

    margin-bottom: 8px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;

    color: #c8d5bf;
}


/* CTA heading */

.bamboo-cta h3 {
    margin: 0 0 12px;

    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.2;

    font-weight: 700;

    color: #ffffff;
}


.bamboo-cta h3 em {
    font-style: normal;

    color: #c7d9b9;
}


/* CTA paragraph */

.bamboo-cta p {
    max-width: 650px;

    margin: 0;

    font-size: 14px;
    line-height: 1.7;

    color: #d9dfd6;
}


/* =========================================================
   CTA BUTTON
========================================================= */

.bamboo-cta .bamboo-cta-btn {
    flex-shrink: 0;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 13px 23px;

    border: none;
    border-radius: 8px;

    background: #ffffff;
    color: #2f3d2d;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}


.bamboo-cta .bamboo-cta-btn:hover {
    transform: translateY(-2px);

    background: #f0f4ed;

    color: #2f3d2d;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.18);
}


.bamboo-cta .bamboo-cta-btn i {
    transition: transform 0.25s ease;
}


.bamboo-cta .bamboo-cta-btn:hover i {
    transform: translateX(4px);
}


/* =========================================================
   MODAL SCROLLBAR
========================================================= */

.bamboo-modal-content .modal-body::-webkit-scrollbar {
    width: 7px;
}


.bamboo-modal-content .modal-body::-webkit-scrollbar-track {
    background: #f5f5f5;
}


.bamboo-modal-content .modal-body::-webkit-scrollbar-thumb {
    border-radius: 10px;

    background: #c4cec0;
}


.bamboo-modal-content .modal-body::-webkit-scrollbar-thumb:hover {
    background: #789262;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .bamboo-intro {
        padding: 45px 30px;
    }

    .bamboo-gallery-section {
        padding: 45px 30px;
    }

    .bamboo-solutions {
        padding: 45px 30px;
    }

    .bamboo-gallery-item {
        height: 210px;
    }

    .bamboo-cta {
        margin: 30px;
        padding: 32px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    /* Modal header */

    .bamboo-modal-content .modal-header {
        padding: 22px 20px;
    }


    /* Introduction */

    .bamboo-intro {
        padding: 38px 20px;
    }


    .bamboo-intro h3 {
        font-size: 30px;
    }


    .bamboo-intro p {
        font-size: 14px;
        line-height: 1.7;
    }


    /* Gallery */

    .bamboo-gallery-section {
        padding: 38px 20px;
    }


    .bamboo-gallery-heading {
        margin-bottom: 22px;
    }


    .bamboo-gallery-item {
        height: 180px;

        border-radius: 11px;
    }


    /* Solutions */

    .bamboo-solutions {
        padding: 38px 20px;
    }


    .bamboo-solution-card {
        padding: 24px 20px;
    }


    /* CTA */

    .bamboo-cta {
        flex-direction: column;

        align-items: flex-start;

        margin: 20px;

        padding: 28px 22px;

        gap: 22px;
    }


    .bamboo-cta .bamboo-cta-btn {
        width: 100%;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .bamboo-modal-content {
        border-radius: 15px;
    }


    .bamboo-modal-content .modal-title {
        font-size: 23px;
    }


    .bamboo-gallery-item {
        height: 150px;
    }


    .bamboo-intro h3 {
        font-size: 27px;
    }


    .bamboo-solution-card h4 {
        font-size: 17px;
    }

}

/* =========================================================
   BAMBOO IMAGE LIGHTBOX
========================================================= */

.bamboo-lightbox {
    position: fixed;

    inset: 0;

    z-index: 99999;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 30px;

    background: rgba(20, 25, 19, 0.94);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}


/* OPEN STATE */

.bamboo-lightbox.active {
    opacity: 1;
    visibility: visible;
}


/* =========================================================
   IMAGE WRAPPER
========================================================= */

.bamboo-lightbox-image-wrapper {
    position: relative;

    width: min(1000px, 85vw);
    height: min(700px, 82vh);

    display: flex;

    align-items: center;
    justify-content: center;
}


/* IMAGE */

.bamboo-lightbox-image-wrapper img {
    max-width: 100%;
    max-height: 100%;

    width: auto;
    height: auto;

    display: block;

    object-fit: contain;

    border-radius: 10px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.45);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}


/* =========================================================
   CLOSE BUTTON
========================================================= */

.bamboo-lightbox-close {
    position: absolute;

    top: 25px;
    right: 30px;

    z-index: 10;

    width: 46px;
    height: 46px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    border: none;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.12);

    color: #ffffff;

    font-size: 20px;

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}


.bamboo-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.22);

    transform: rotate(90deg);
}


/* =========================================================
   PREVIOUS / NEXT BUTTONS
========================================================= */

.bamboo-lightbox-prev,
.bamboo-lightbox-next {
    position: absolute;

    top: 50%;

    z-index: 10;

    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    border: none;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.12);

    color: #ffffff;

    font-size: 18px;

    cursor: pointer;

    transform: translateY(-50%);

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}


.bamboo-lightbox-prev {
    left: 30px;
}


.bamboo-lightbox-next {
    right: 30px;
}


.bamboo-lightbox-prev:hover,
.bamboo-lightbox-next:hover {
    background: rgba(255, 255, 255, 0.22);
}


.bamboo-lightbox-prev:hover {
    transform: translateY(-50%) translateX(-3px);
}


.bamboo-lightbox-next:hover {
    transform: translateY(-50%) translateX(3px);
}


/* =========================================================
   IMAGE COUNTER
========================================================= */

.bamboo-lightbox-counter {
    position: absolute;

    bottom: 25px;
    left: 50%;

    transform: translateX(-50%);

    padding: 7px 14px;

    border-radius: 20px;

    background: rgba(0, 0, 0, 0.45);

    color: #ffffff;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 0.5px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .bamboo-lightbox {
        padding: 20px;
    }


    .bamboo-lightbox-image-wrapper {
        width: 100%;
        height: 75vh;
    }


    .bamboo-lightbox-close {
        top: 15px;
        right: 15px;

        width: 40px;
        height: 40px;

        font-size: 17px;
    }


    .bamboo-lightbox-prev,
    .bamboo-lightbox-next {
        width: 42px;
        height: 42px;

        font-size: 15px;
    }


    .bamboo-lightbox-prev {
        left: 12px;
    }


    .bamboo-lightbox-next {
        right: 12px;
    }


    .bamboo-lightbox-counter {
        bottom: 15px;

        font-size: 11px;
    }

}

/* =========================================================
   GYPSUM FALSE CEILING MODAL
========================================================= */


/* =========================================================
   MODAL CONTAINER
========================================================= */

.gypsum-modal-content {
    border: none;
    border-radius: 22px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.20);
}


/* =========================================================
   MODAL HEADER
========================================================= */

.gypsum-modal-content .modal-header {
    padding: 28px 32px;
    border-bottom: 1px solid #eeeeee;
    background: #ffffff;
    align-items: center;
}


/* Small label */

.modal-section-label {
    display: block;
    margin-bottom: 6px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;

    color: #789262;
}


/* Modal title */

.gypsum-modal-content .modal-title {
    margin: 0;

    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;

    color: #263326;
}


/* Close button */

.gypsum-modal-content .btn-close {
    width: 38px;
    height: 38px;

    padding: 0;

    border-radius: 50%;

    background-color: #f3f5f1;
    background-size: 12px;

    opacity: 1;

    transition: all 0.25s ease;
}


.gypsum-modal-content .btn-close:hover {
    background-color: #e5eadf;
    transform: rotate(90deg);
}


/* =========================================================
   MODAL BODY
========================================================= */

.gypsum-modal-content .modal-body {
    padding: 0;
}


/* =========================================================
   INTRODUCTION
========================================================= */

.gypsum-intro {
    padding: 55px 45px;

    background:
        linear-gradient(
            135deg,
            #f4f6f1 0%,
            #ffffff 100%
        );
}


.gypsum-intro-content {
    max-width: 850px;
    margin: 0 auto;
}


/* Service number */

.gypsum-intro .service-number {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    margin-bottom: 20px;

    border-radius: 50%;

    background: #789262;
    color: #ffffff;

    font-size: 14px;
    font-weight: 700;
}


/* Introduction heading */

.gypsum-intro h3 {
    margin-bottom: 20px;

    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.15;

    font-weight: 700;

    color: #263326;
}


.gypsum-intro h3 em {
    font-style: normal;
    color: #789262;
}


/* Introduction paragraphs */

.gypsum-intro p {
    max-width: 760px;

    margin-bottom: 12px;

    font-size: 16px;
    line-height: 1.8;

    color: #666f66;
}


.gypsum-intro p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   GALLERY
========================================================= */

.gypsum-gallery {
    padding: 55px 45px;
}


/* =========================================================
   SECTION HEADINGS
========================================================= */

.gallery-heading {
    margin-bottom: 28px;
}


.gallery-heading > span {
    display: block;

    margin-bottom: 7px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;

    color: #789262;
}


.gallery-heading h3 {
    margin: 0;

    font-size: clamp(23px, 3vw, 32px);
    line-height: 1.25;

    font-weight: 700;

    color: #263326;
}


/* =========================================================
   GALLERY IMAGES
========================================================= */

.gypsum-gallery-item {
    position: relative;

    width: 100%;
    height: 230px;

    overflow: hidden;

    border-radius: 14px;

    background: #f2f2f2;

    cursor: pointer;
}


.gypsum-gallery-item img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.5s ease,
        filter 0.5s ease;
}


/* Image hover */

.gypsum-gallery-item:hover img {
    transform: scale(1.07);
    filter: brightness(0.90);
}


/* =========================================================
   IMAGE HOVER OVERLAY
========================================================= */

.gypsum-gallery-item::after {
    content: "";

    position: absolute;

    inset: 0;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.20),
        transparent 45%
    );

    opacity: 0;

    transition: opacity 0.35s ease;

    pointer-events: none;
}


.gypsum-gallery-item:hover::after {
    opacity: 1;
}


/* =========================================================
   FEATURES SECTION
========================================================= */

.gypsum-features {
    padding: 55px 45px;

    background: #f7f8f5;
}


/* =========================================================
   FEATURE CARD
========================================================= */

.gypsum-feature-card {
    height: 100%;

    padding: 28px 24px;

    border: 1px solid #e7ebe3;
    border-radius: 16px;

    background: #ffffff;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


.gypsum-feature-card:hover {
    transform: translateY(-6px);

    border-color: #d5ddcd;

    box-shadow:
        0 15px 35px rgba(48, 62, 44, 0.10);
}


/* Feature icon */

.gypsum-feature-card i {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    margin-bottom: 18px;

    border-radius: 12px;

    background: #edf2e9;
    color: #789262;

    font-size: 20px;

    transition:
        background 0.3s ease,
        color 0.3s ease;
}


.gypsum-feature-card:hover i {
    background: #789262;
    color: #ffffff;
}


/* Feature heading */

.gypsum-feature-card h4 {
    margin-bottom: 10px;

    font-size: 18px;
    font-weight: 700;

    color: #263326;
}


/* Feature paragraph */

.gypsum-feature-card p {
    margin: 0;

    font-size: 14px;
    line-height: 1.7;

    color: #737a71;
}


/* =========================================================
   CTA SECTION
========================================================= */

.gypsum-cta {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    margin: 45px;
    padding: 40px;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            #2f3d2d 0%,
            #43553e 100%
        );

    color: #ffffff;
}


/* CTA label */

.gypsum-cta-content > span {
    display: block;

    margin-bottom: 8px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;

    color: #c8d5bf;
}


/* CTA heading */

.gypsum-cta h3 {
    margin: 0 0 12px;

    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.2;

    font-weight: 700;

    color: #ffffff;
}


.gypsum-cta h3 em {
    font-style: normal;
    color: #c7d9b9;
}


/* CTA paragraph */

.gypsum-cta p {
    max-width: 650px;

    margin: 0;

    font-size: 14px;
    line-height: 1.7;

    color: #d9dfd6;
}


/* =========================================================
   CTA BUTTON
========================================================= */

.gypsum-cta .bamboo-quote-btn {
    flex-shrink: 0;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 13px 23px;

    border: none;
    border-radius: 8px;

    background: #ffffff;
    color: #2f3d2d;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}


.gypsum-cta .bamboo-quote-btn:hover {
    transform: translateY(-2px);

    background: #f0f4ed;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.18);
}


.gypsum-cta .bamboo-quote-btn i {
    transition: transform 0.25s ease;
}


.gypsum-cta .bamboo-quote-btn:hover i {
    transform: translateX(4px);
}


/* =========================================================
   MODAL SCROLLBAR
========================================================= */

.gypsum-modal-content .modal-body::-webkit-scrollbar {
    width: 7px;
}


.gypsum-modal-content .modal-body::-webkit-scrollbar-track {
    background: #f5f5f5;
}


.gypsum-modal-content .modal-body::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #c4cec0;
}


.gypsum-modal-content .modal-body::-webkit-scrollbar-thumb:hover {
    background: #789262;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .gypsum-intro {
        padding: 45px 30px;
    }

    .gypsum-gallery {
        padding: 45px 30px;
    }

    .gypsum-features {
        padding: 45px 30px;
    }

    .gypsum-gallery-item {
        height: 210px;
    }

    .gypsum-cta {
        margin: 30px;
        padding: 32px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    /* Modal header */

    .gypsum-modal-content .modal-header {
        padding: 22px 20px;
    }


    /* Introduction */

    .gypsum-intro {
        padding: 38px 20px;
    }


    .gypsum-intro h3 {
        font-size: 30px;
    }


    .gypsum-intro p {
        font-size: 14px;
        line-height: 1.7;
    }


    /* Gallery */

    .gypsum-gallery {
        padding: 38px 20px;
    }


    .gallery-heading {
        margin-bottom: 22px;
    }


    .gypsum-gallery-item {
        height: 180px;
        border-radius: 11px;
    }


    /* Features */

    .gypsum-features {
        padding: 38px 20px;
    }


    .gypsum-feature-card {
        padding: 24px 20px;
    }


    /* CTA */

    .gypsum-cta {
        flex-direction: column;

        align-items: flex-start;

        margin: 20px;

        padding: 28px 22px;

        gap: 22px;
    }


    .gypsum-cta .bamboo-quote-btn {
        width: 100%;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .gypsum-modal-content {
        border-radius: 15px;
    }


    .gypsum-modal-content .modal-title {
        font-size: 23px;
    }


    .gypsum-gallery-item {
        height: 150px;
    }


    .gypsum-intro h3 {
        font-size: 27px;
    }


    .gypsum-feature-card h4 {
        font-size: 17px;
    }

}



/* =====================================================
   ALL HOME MODELS MODAL
===================================================== */

.all-models-modal {
    position: fixed;

    inset: 0;

    width: 100%;
    height: 100vh;

    z-index: 9999;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 30px;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;

    box-sizing: border-box;
}


/* =========================
   ACTIVE STATE
========================= */

.all-models-modal.active {
    opacity: 1;
    visibility: visible;
}


/* =========================
   OVERLAY
========================= */

.all-models-modal-overlay {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.65);

    backdrop-filter: blur(4px);
}


/* =========================
   MODAL BOX
========================= */

.all-models-modal-box {
    position: relative;

    z-index: 2;

    width: 100%;
    max-width: 1100px;

    max-height: 90vh;

    overflow-y: auto;

    background: #ffffff;

    border-radius: 10px;

    padding: 35px;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.25);

    box-sizing: border-box;
}


/* =========================
   CLOSE BUTTON
========================= */

.all-models-modal-close {
    position: absolute;

    top: 18px;
    right: 18px;

    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: none;

    border-radius: 50%;

    background: #f1f3f1;

    color: #111111;

    font-size: 16px;

    cursor: pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease;
}


.all-models-modal-close:hover {
    background: #063d2a;

    color: #ffffff;
}


/* =========================
   HEADER
========================= */

.all-models-modal-header {
    margin-bottom: 28px;

    padding-right: 45px;
}


.all-models-modal-header p {
    margin-bottom: 10px;

    color: #397c55;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;
}


.all-models-modal-header h2 {
    margin: 0;

    color: #111111;

    font-family: Georgia, serif;

    font-size: 34px;

    font-weight: 400;

    line-height: 1.2;
}


.all-models-modal-header h2 em {
    color: #397c55;

    font-style: italic;
}


/* =========================
   MODELS GRID
========================= */

.all-models-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;
}


/* =========================
   MODEL CARD
========================= */

.all-model-card {
    background: #ffffff;

    border: 1px solid #e5e8e5;

    border-radius: 7px;

    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.all-model-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.10);
}


/* =========================
   CARD IMAGE
========================= */

.all-model-card-image {
    width: 100%;

    height: 170px;

    overflow: hidden;
}


.all-model-card-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.4s ease;
}


.all-model-card:hover
.all-model-card-image img {
    transform: scale(1.05);
}


/* =========================
   CARD CONTENT
========================= */

.all-model-card-content {
    padding: 15px;
}


.all-model-card-content h3 {
    margin: 0 0 7px;

    color: #111111;

    font-size: 15px;

    font-weight: 600;
}


.all-model-card-content p {
    min-height: 54px;

    margin: 0 0 12px;

    color: #555555;

    font-size: 12px;

    line-height: 1.5;
}


/* =========================
   VIEW DETAILS
========================= */

.all-model-details {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 0;

    border: none;

    background: none;

    color: #145c3b;

    font-family: inherit;

    font-size: 11px;

    font-weight: 600;

    cursor: pointer;
}


.all-model-details i {
    font-size: 10px;

    transition:
        transform 0.3s ease;
}


.all-model-details:hover i {
    transform: translateX(4px);
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 991.98px) {

    .all-models-modal {
        padding: 20px;
    }


    .all-models-modal-box {
        padding: 28px;

        max-height: 92vh;
    }


    .all-models-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 575.98px) {

    .all-models-modal {
        padding: 12px;
    }


    .all-models-modal-box {
        padding: 22px 18px;

        max-height: 94vh;

        border-radius: 8px;
    }


    .all-models-modal-header {
        margin-bottom: 20px;

        padding-right: 40px;
    }


    .all-models-modal-header h2 {
        font-size: 27px;
    }


    .all-models-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }


    .all-model-card-image {
        height: 190px;
    }


    .all-model-card-content p {
        min-height: auto;
    }

}


/* =========================
   FOOTER LEGAL BUTTONS
========================= */

.footer-legal-btn {
    padding: 0;
    border: none;
    background: none;

    color: inherit;
    font: inherit;

    cursor: pointer;

    transition:
        color 0.3s ease;
}

.footer-legal-btn:hover {
    color: #397c55;
}


/* =========================
   LEGAL MODAL
========================= */

.legal-modal {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100vh;

    z-index: 10000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 25px;

    box-sizing: border-box;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}


.legal-modal.active {
    opacity: 1;
    visibility: visible;
}


/* =========================
   OVERLAY
========================= */

.legal-modal-overlay {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.65);

    backdrop-filter: blur(4px);
}


/* =========================
   MODAL BOX
========================= */

.legal-modal-box {
    position: relative;

    z-index: 2;

    width: 100%;
    max-width: 800px;

    max-height: 85vh;

    overflow-y: auto;

    padding: 40px;

    background: #ffffff;

    border-radius: 10px;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.25);

    box-sizing: border-box;
}


/* =========================
   CLOSE BUTTON
========================= */

.legal-modal-close {
    position: absolute;

    top: 18px;
    right: 18px;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background: #f1f3f1;

    color: #111;

    font-size: 16px;

    cursor: pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease;
}


.legal-modal-close:hover {
    background: #063d2a;
    color: #ffffff;
}


/* =========================
   HEADER
========================= */

.legal-modal-header {
    margin-bottom: 25px;

    padding-right: 45px;
}


.legal-modal-header p {
    margin-bottom: 10px;

    color: #397c55;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2px;
}


.legal-modal-header h2 {
    margin: 0;

    color: #111;

    font-family: Georgia, serif;

    font-size: 34px;
    font-weight: 400;

    line-height: 1.2;
}


.legal-modal-header h2 em {
    color: #397c55;
    font-style: italic;
}


/* =========================
   CONTENT
========================= */

.legal-modal-content {
    color: #555;

    font-size: 13px;

    line-height: 1.7;
}


.legal-modal-content p {
    margin-bottom: 18px;
}


.legal-modal-content h3 {
    margin-top: 25px;
    margin-bottom: 8px;

    color: #111;

    font-size: 15px;
    font-weight: 600;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 575.98px) {

    .legal-modal {
        padding: 12px;
    }


    .legal-modal-box {
        max-height: 92vh;

        padding: 28px 20px;

        border-radius: 8px;
    }


    .legal-modal-header {
        margin-bottom: 20px;
        padding-right: 40px;
    }


    .legal-modal-header h2 {
        font-size: 27px;
    }


    .legal-modal-content {
        font-size: 12px;
    }

}