/********** Template CSS **********/
:root {
    --primary: #EAA636;
    --secondary: #545454;
    --light: #FDF5EB;
    --dark: #1E1916;
}

h4,
h5,
h6,
.h4,
.h5,
.h6 {
    font-weight: 600 !important;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 25px;
    bottom: 95px;
    z-index: 998;
}

/*** Floating WhatsApp Button ***/
.whatsapp-float-btn {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45), 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6), 0 4px 12px rgba(0, 0, 0, 0.2);
    color: #ffffff !important;
}

.whatsapp-float-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.4);
    animation: wa-pulse 2s infinite ease-out;
    z-index: -1;
}

@keyframes wa-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.45);
        opacity: 0;
    }
}

.whatsapp-float-btn .cw-wa-tooltip {
    position: absolute;
    right: 72px;
    background: #1E1916;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 20px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
    pointer-events: none;
    font-family: 'Roboto', sans-serif;
    border: 1px solid rgba(234, 166, 54, 0.3);
}

.whatsapp-float-btn .cw-wa-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent #1E1916;
}

.whatsapp-float-btn:hover .cw-wa-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .whatsapp-float-btn {
        right: 18px;
        bottom: 18px;
        width: 52px;
        height: 52px;
        font-size: 30px;
    }
    .back-to-top {
        right: 18px;
        bottom: 80px;
    }
    .whatsapp-float-btn .cw-wa-tooltip {
        display: none;
    }
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    padding: 35px 15px;
    color: var(--light);
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.fixed-top {
    transition: .5s;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, .3);
        background: var(--dark);
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.header-carousel .owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .5);
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 600px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}

.header-carousel .owl-nav {
    position: relative;
    width: 80px;
    height: 80px;
    margin: -40px auto 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-carousel .owl-nav::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transform: rotate(45deg);
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    position: relative;
    font-size: 40px;
    color: var(--primary);
    transition: .5s;
    z-index: 1;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.page-header {
    margin-bottom: 6rem;
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/hero-slider-1.webp) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Facts ***/
.fact-item {
    transition: .5s;
}

.fact-item:hover {
    margin-top: -10px;
    background: #FFFFFF !important;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}


/*** About ***/
.img-twice::before {
    position: absolute;
    content: "";
    width: 60%;
    height: 80%;
    top: 10%;
    left: 20%;
    background: var(--primary);
    border: 25px solid var(--light);
    border-radius: 6px;
    z-index: -1;
}


/*** Product ***/
.product-item {
    transition: .5s;
}

.product-item:hover {
    background: var(--primary) !important;
}

.product-item:hover * {
    color: var(--light);
}

.product-item:hover .border-primary {
    border-color: var(--light) !important;
}

.product-item .product-overlay {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.product-item:hover .product-overlay {
    height: 100%;
    opacity: 1;
}

.product-item:hover .btn-primary {
    background: var(--light);
}

.product-item:hover .btn-primary i {
    color: var(--primary);
}

.product-item-2 {
    box-shadow: 0 0 30px rgba(0, 0, 0, .07);
}

.product-item-2 .product-overlay {
    position: absolute;
    inset: 0;
    width: calc(100% + 1px);
    height: calc(100% + 1px);
    background: transparent;
    background-size: contain;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-item-2 .product-overlay .btn {
    opacity: 0;
}

.product-item-2:hover .product-overlay .btn {
    opacity: 1;
}

.product-item-3 {
    box-shadow: 0 0 30px rgba(0, 0, 0, .07);
}

.product-item-3 img {
    width: 100px;
    height: 100px;
}

.product-item-3 hr {
    margin: 10px 0;
    background-color: transparent;
    border-top: 1px dashed var(--primary);
}

.product-item-3:hover hr {
    border-color: var(--dark);
}


/*** Service ***/
.service-item .btn-square {
    width: 75px;
    height: 85px;
}

.service-item a h5 {
    transition: .5s;
}

.service-item a:hover h5 {
    color: var(--primary);
}


/*** Team ***/
.team-item .team-text {
    position: relative;
    height: 100px;
    overflow: hidden;
}

.team-item .team-title {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--light);
    transition: .5s;
}

.team-item:hover .team-title {
    top: -100px;
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 100px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    transition: .5s;
}

.team-item .team-social .btn {
    margin: 0 3px;
}

.team-item:hover .team-social {
    top: 0;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item img {
    width: 60px;
    height: 60px;
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-size: 22px;
    color: var(--light);
    background: var(--primary);
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--primary);
    background: var(--dark);
}


/*** Contact ***/
.contact-form .help-block ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--light);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    background: #111111;
}

.copyright a {
    color: var(--primary);
}

.copyright a:hover {
    color: var(--light);
}

/* === CUSTOM HERO CAROUSEL CONTRAST & BRIGHTNESS === */
.header-carousel-item {
    position: relative;
    overflow: hidden;
}



.header-carousel-item:hover img {
    transform: scale(1.03);
}

.header-carousel-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.60) 50%, rgba(0, 0, 0, 0.80) 100%);
    pointer-events: none;
    z-index: 1;
}

.header-carousel .carousel-caption {
    z-index: 2;
    padding-bottom: 35px !important;
}

.header-carousel .carousel-caption .container {
    transform: translateY(-10px);
}

.header-carousel .carousel-caption h1 {
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.85);
    letter-spacing: 0.5px;
    margin-bottom: 25px !important;
}

.header-carousel .carousel-caption p {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

/* === PREMIUM LOGO UI STYLING === */
.navbar-brand {
    margin-left: 25px !important;
}

.navbar-brand img.brand-logo-img {
    height: 60px;
    max-height: 60px;
    width: auto;
    object-fit: contain;
    border-radius: 0;
    border: none;
    box-shadow: none;
    transition: all 0.3s ease;
}

.navbar-brand:hover img.brand-logo-img {
    transform: scale(1.04);
}

/* === KEN BURNS SLOW ZOOM ANIMATION (4 SECONDS) === */
.header-carousel .header-carousel-item {
    position: relative;
    overflow: hidden;
}

.header-carousel .header-carousel-item img {
    transform: scale(1.0);
    transition: transform 4.2s linear;
    filter: brightness(0.55) contrast(1.1);
}

.header-carousel .owl-item.active .header-carousel-item img {
    transform: scale(1.15);
}

/* === DESKTOP HEADER & SCROLLED HEADER COMPACT ADJUSTMENTS (>= 992px) === */
@media (min-width: 992px) {
    .navbar {
        padding-top: 10px !important;
        padding-bottom: 4px !important;
    }

    .navbar-brand img.brand-logo-img {
        height: 60px !important;
        max-height: 60px !important;
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    .navbar .navbar-nav .nav-link {
        padding: 12px 14px !important;
    }

    /* Scrolled Fixed Navbar (Compact Sticky Header on Scroll) */
    .navbar.fixed-top.bg-dark {
        max-height: 80px !important;
        padding-top: 2px !important;
        padding-bottom: 2px !important;
        background-color: rgba(30, 25, 22, 0.98) !important;
        backdrop-filter: blur(15px) !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45) !important;
        overflow: visible !important;
    }

    .navbar.fixed-top.bg-dark .navbar-brand img.brand-logo-img {
        height: 60px !important;
        max-height: 60px !important;
    }

    .navbar.fixed-top.bg-dark .nav-link {
        padding-top: 6px !important;
        padding-bottom: 6px !important;
    }
}

/* === FACTS SECTION CUSTOM 20PX TOP-BOTTOM SPACING === */
.facts-section-custom {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.facts-section-custom .fact-item {
    padding: 1.5rem 1rem !important;
}

/*** Premium CerroWoods Footer Styling ***/
.footer {
    background: #191412 !important;
    border-top: 2px solid #EAA636 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

.footer h4 {
    font-family: 'Playfair Display', serif !important;
    color: #EAA636 !important;
    font-weight: 700 !important;
    font-size: 17px !important;
    letter-spacing: 0.5px !important;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: #EAA636;
}

.footer p, .footer span {
    color: #c4b6a6 !important;
    font-size: 13.5px !important;
}

.footer .btn.btn-link {
    color: #c4b6a6 !important;
    font-size: 13.5px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.footer .btn.btn-link::before {
    color: #EAA636 !important;
}

.footer .btn.btn-link:hover {
    color: #EAA636 !important;
    padding-left: 5px !important;
}

.footer .btn-square {
    border-color: rgba(234, 166, 54, 0.4) !important;
    color: #EAA636 !important;
    transition: all 0.3s ease !important;
}

.footer .btn-square:hover {
    background: #EAA636 !important;
    color: #1E1916 !important;
    border-color: #EAA636 !important;
    transform: translateY(-3px);
}

.footer-gallery-img {
    border: 1px solid rgba(234, 166, 54, 0.25);
    border-radius: 8px;
    background: #251e19;
    padding: 3px;
    height: 65px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.footer-gallery-img:hover {
    border-color: #EAA636;
    transform: scale(1.06);
    box-shadow: 0 4px 12px rgba(234, 166, 54, 0.25);
}

.copyright {
    background: #110d0b !important;
    border-top: 1px solid rgba(234, 166, 54, 0.15) !important;
    color: #a39587 !important;
    font-size: 13px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

.copyright a {
    color: #EAA636 !important;
    font-weight: 600;
    text-decoration: none !important;
}

.copyright a:hover {
    color: #ffffff !important;
}

/*** Architectural Door Engineering Section ***/
.cw-tech-card:hover {
    transform: translateY(-6px) !important;
    border-color: #EAA636 !important;
    box-shadow: 0 16px 36px rgba(234, 166, 54, 0.22) !important;
}

.cw-tech-card:hover .cw-tech-img {
    transform: scale(1.05);
}

.cw-row-card {
    transition: all 0.35s ease !important;
}

.cw-row-card:hover {
    border-color: #EAA636 !important;
    box-shadow: 0 16px 36px rgba(234, 166, 54, 0.18) !important;
    transform: translateY(-4px);
}

.cw-row-card:hover .cw-row-img {
    transform: scale(1.04);
}


/* Fixed Navbar Sticky Background on Scroll */
.navbar.fixed-top.bg-dark {
    background-color: #1E1916 !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.45) !important;
}

/*** Hero Feature Cards & Animation ***/
.hero-feature-card {
    transition: all 0.3s ease !important;
}

.hero-feature-card:hover {
    background: #ffffff !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 25px rgba(234, 166, 54, 0.2) !important;
    border-color: rgba(234, 166, 54, 0.4) !important;
}

.hero-feature-card:hover .rounded-circle {
    background: #1E1916 !important;
    color: #EAA636 !important;
}

@keyframes scrollMouse {
    0% { transform: translate(-50%, 0); opacity: 1; }
    50% { transform: translate(-50%, 10px); opacity: 0.4; }
    100% { transform: translate(-50%, 0); opacity: 1; }
}

/*** Premium Facts Section (Light Luxury Theme) ***/
.fact-item-premium {
    background: #FFFFFF !important;
    border: 1px solid rgba(234, 166, 54, 0.25) !important;
    box-shadow: 0 10px 30px rgba(30, 25, 22, 0.05) !important;
    transition: all 0.35s ease !important;
}

.fact-item-premium:hover {
    transform: translateY(-8px) !important;
    background: #FFFFFF !important;
    border-color: #EAA636 !important;
    box-shadow: 0 18px 40px rgba(234, 166, 54, 0.22) !important;
}

.fact-item-premium:hover .icon-circle-box {
    background: #1E1916 !important;
    border-color: #EAA636 !important;
}

.fact-item-premium:hover .icon-circle-box i {
    color: #EAA636 !important;
}

/*** Hero Slideshow Background Soft Animation ***/
.hero-bg-slide {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1), transform 6s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
}

.hero-bg-slide.active {
    opacity: 1;
    transform: scale(1);
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE STYLES (PHASE 1 - PHASE 5)
   ========================================================================== */

/* Global Mobile Hygiene */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative;
}

/* --------------------------------------------------------------------------
   PHASE 1: Header Navbar Mobile Responsiveness ONLY (< 992px)
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .navbar {
        height: 60px !important;
        min-height: 60px !important;
        max-height: 60px !important;
        background: rgba(24, 20, 18, 0.94) !important;
        backdrop-filter: blur(12px) !important;
        padding: 0 16px !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45) !important;
        display: flex !important;
        align-items: center !important;
        transition: all 0.35s ease !important;
    }

    /* Scrolled Header Background on Mobile */
    .navbar.fixed-top.bg-dark {
        height: 60px !important;
        min-height: 60px !important;
        max-height: 60px !important;
        background: #181412 !important;
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.65) !important;
        border-bottom: 1px solid rgba(234, 166, 54, 0.3) !important;
        padding: 0 16px !important;
    }

    .navbar-brand {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        margin-top: auto !important;
        margin-bottom: auto !important;
        display: flex !important;
        align-items: center !important;
    }

    /* Mobile Logo */
    .brand-logo-img,
    .navbar-brand img.brand-logo-img,
    .navbar.fixed-top.bg-dark .navbar-brand img.brand-logo-img {
        height: 45px !important;
        max-height: 45px !important;
        width: auto !important;
    }

    .navbar-toggler {
        padding: 6px 10px !important;
        border: 1px solid rgba(234, 166, 54, 0.6) !important;
        border-radius: 8px !important;
        background: rgba(234, 166, 54, 0.1) !important;
        outline: none !important;
        box-shadow: none !important;
        margin-top: auto !important;
        margin-bottom: auto !important;
    }

    .navbar-toggler-icon {
        width: 1.2em !important;
        height: 1.2em !important;
    }

    .navbar-toggler:focus {
        box-shadow: 0 0 0 2px rgba(234, 166, 54, 0.5) !important;
    }

    .navbar-collapse {
        background: #1A1513 !important;
        border: 1px solid rgba(234, 166, 54, 0.3) !important;
        border-radius: 14px !important;
        padding: 16px 20px !important;
        margin-top: 12px !important;
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6) !important;
    }

    .navbar-nav {
        margin-top: 0 !important;
        border-top: none !important;
        background: transparent !important;
    }

    .navbar-nav .nav-link {
        padding: 11px 14px !important;
        font-size: 15.5px !important;
        font-weight: 600 !important;
        color: #f3ece4 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        transition: all 0.3s ease !important;
    }

    .navbar-nav .nav-link:last-child {
        border-bottom: none !important;
    }

    .navbar-nav .nav-link.active,
    .navbar-nav .nav-link:hover {
        color: #EAA636 !important;
        padding-left: 22px !important;
    }
}

/* --------------------------------------------------------------------------
   PHASE 2: Hero Section & Featured Shelf Mobile Responsiveness
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .hero-bg-wrapper {
        min-height: 560px !important;
        height: auto !important;
    }

    .hero-section-custom h1 {
        font-size: clamp(1.8rem, 5vw, 2.8rem) !important;
    }
}

@media (max-width: 767.98px) {
    .hero-bg-wrapper {
        min-height: 520px !important;
        padding-top: 90px !important;
        padding-bottom: 60px !important;
    }

    .hero-section-custom p.fs-5 {
        font-size: 0.95rem !important;
        line-height: 1.55 !important;
        margin-bottom: 1.5rem !important;
    }

    /* Featured Shelf Overlap adjustment on mobile */
    #featured-shelf {
        margin-top: -30px !important;
    }

    #featured-shelf .hero-feature-card {
        padding: 12px 14px !important;
    }

    #featured-shelf h6 {
        font-size: 13.5px !important;
    }

    #featured-shelf small {
        font-size: 11.5px !important;
    }
}

@media (max-width: 575.98px) {
    .hero-bg-wrapper {
        min-height: 480px !important;
        padding-top: 85px !important;
        padding-bottom: 50px !important;
    }

    /* Side-by-side buttons in 1 row on small mobile */
    .hero-section-custom .hero-btn-group {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .hero-section-custom .hero-btn-group .btn {
        flex: 1 1 50% !important;
        padding: 10px 8px !important;
        font-size: 12.5px !important;
        justify-content: center !important;
        white-space: nowrap !important;
    }

    .hero-section-custom .hero-btn-group .btn i {
        font-size: 12px !important;
    }

    #featured-shelf {
        margin-top: 15px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* --------------------------------------------------------------------------
   PHASE 3: Inner Page Banners (.page-header) Mobile Responsiveness
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
    .page-header {
        margin-bottom: 3rem !important;
        padding-top: 100px !important;
        padding-bottom: 50px !important;
    }

    .page-header h1 {
        font-size: clamp(1.8rem, 6vw, 2.5rem) !important;
    }
}

/* --------------------------------------------------------------------------
   PHASE 4: Body Sections Mobile Responsiveness
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
    .py-6 {
        padding-top: 3.5rem !important;
        padding-bottom: 3.5rem !important;
    }

    .my-6 {
        margin-top: 3.5rem !important;
        margin-bottom: 3.5rem !important;
    }

    /* About Section Image Twice fix on mobile */
    .img-twice {
        margin-bottom: 2rem !important;
    }

    .img-twice::before {
        width: 70% !important;
        height: 75% !important;
        left: 15% !important;
        top: 12% !important;
        border-width: 12px !important;
    }

    /* Facts Section padding on mobile */
    .fact-item-premium {
        padding: 1.5rem !important;
    }

    .fact-item-premium h2 {
        font-size: 2.2rem !important;
    }

    /* Product & Tech Cards responsive touch targets */
    .cw-tech-card, .cw-row-card {
        margin-bottom: 1rem !important;
    }

    /* Wood Image Box Mobile Sizing */
    .cw-wood-img-box {
        width: 100% !important;
        height: 125px !important;
        margin-bottom: 14px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
        background: transparent !important;
    }

    /* 3D Door Gallery Carousel Mobile Height (400px for mobile only) */
    #cwGalleryWrapper {
        min-height: 400px !important;
    }

    #cwGalleryTrack {
        height: 400px !important;
    }
}

/* --------------------------------------------------------------------------
   PHASE 5: Footer & Copyright Mobile Responsiveness
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
    .footer {
        padding-top: 3.5rem !important;
    }

    .footer .row.g-5 {
        --bs-gutter-y: 2rem !important;
    }

    .copyright {
        text-align: center !important;
    }

    .copyright .text-md-end {
        text-align: center !important;
        margin-top: 6px !important;
    }
}

/* Wood Species Showcase Cards */
.cw-wood-card {
    background: #ffffff;
    border: 1px solid rgba(234, 166, 54, 0.22);
    border-radius: 16px;
    padding: 20px 12px;
    text-align: center;
    transition: all 0.35s ease;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.cw-wood-card:hover {
    border-color: #EAA636;
    box-shadow: 0 10px 25px rgba(234, 166, 54, 0.18);
    transform: translateY(-5px);
}
.cw-wood-img-box {
    width: 100%;
    height: 130px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent;
    border-radius: 10px;
}
.cw-wood-img {
    max-width: 100%;
    max-height: 130px;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.cw-wood-card:hover .cw-wood-img {
    transform: scale(1.1);
}

/* Postforming vs WPC Door Card Hover Effect */
.cw-door-type-card {
    transition: all 0.35s ease !important;
}
.cw-door-type-card:hover {
    border-color: #EAA636 !important;
    transform: translateY(-6px);
    box-shadow: 0 14px 35px rgba(234, 166, 54, 0.16) !important;
}







