/* Fonts + variables + components are enqueued in functions.php (not @import). */

/* Navbar — transparent at top (home), white on scroll */
.navbar {
    background: transparent;
    box-shadow: none;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled,
body:not(.home) .navbar {
    background: #ffffff;
    box-shadow: 0 2px 16px rgba(42, 26, 14, 0.08);
}

.navbar .container-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s;
}

.nav-brand span {
    color: var(--secondary-color);
}

.navbar.scrolled .nav-brand,
body:not(.home) .navbar .nav-brand {
    color: var(--primary-color);
}

/* Logo image in navbar */
.nav-logo-img {
    height: 64px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links > li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: var(--transition);
}

.nav-links .menu-item-has-children > a {
    padding-right: 2px;
}

.nav-dropdown-toggle {
    display: none;
}

/* Desktop dropdown */
.nav-links .sub-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 260px;
    margin: 0;
    padding: 10px 0;
    list-style: none;
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: 0 16px 40px rgba(42, 26, 14, 0.16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 1100;
}

.nav-links .sub-menu::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
}

.nav-links .menu-item-has-children:hover > .sub-menu,
.nav-links .menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* Last dropdown (More) opens left so it stays on-screen */
.nav-links > li.menu-item-has-children:last-child > .sub-menu {
    left: auto;
    right: 0;
    transform: translateY(6px);
}

.nav-links > li.menu-item-has-children:last-child:hover > .sub-menu,
.nav-links > li.menu-item-has-children:last-child:focus-within > .sub-menu {
    transform: translateY(0);
}

.nav-links .sub-menu li {
    margin: 0;
}

.nav-links .sub-menu a {
    display: block;
    padding: 10px 18px;
    color: var(--primary-color);
    font-size: 0.88rem;
    font-weight: 600;
    white-space: normal;
    line-height: 1.35;
}

.nav-links .sub-menu a:hover {
    color: var(--secondary-color);
    background: rgba(191, 99, 50, 0.08);
}

.nav-links .menu-item-has-children > a::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    vertical-align: middle;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    opacity: 0.75;
}

/* Hamburger Base */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1000;
}

.nav-hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: #fff;
    margin: 4px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.navbar.scrolled .nav-hamburger span,
body:not(.home) .navbar .nav-hamburger span {
    background: var(--primary-color);
}

.nav-hamburger.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

.nav-links > li > a:hover {
    color: var(--secondary-color);
}

.navbar.scrolled .nav-links > li > a,
body:not(.home) .navbar .nav-links > li > a {
    color: var(--primary-color);
}

.navbar.scrolled .nav-links > li > a:hover,
body:not(.home) .navbar .nav-links > li > a:hover {
    color: var(--secondary-color);
}

.navbar.scrolled .nav-links .sub-menu a,
body:not(.home) .navbar .nav-links .sub-menu a {
    color: var(--primary-color);
}

.navbar.scrolled .nav-links .sub-menu a:hover,
body:not(.home) .navbar .nav-links .sub-menu a:hover {
    color: var(--secondary-color);
}

.nav-cta {
    display: inline-block;
    padding: 8px 24px;
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
    text-decoration: none;
    font-size: 0.95rem;
}

.nav-cta:hover {
    background-color: #ffffff;
    color: var(--primary-color);
}

.navbar.scrolled .nav-cta,
body:not(.home) .navbar .nav-cta {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.navbar.scrolled .nav-cta:hover,
body:not(.home) .navbar .nav-cta:hover {
    background-color: var(--secondary-color);
    color: #ffffff;
}

/* Banner */
.banner {
    position: relative;
    height: 100vh;
    min-height: 650px;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    color: var(--light-text);
    margin-top: 0;
    padding-top: 80px;
    /* Offset for fixed nav */
    overflow: hidden;
}

.banner-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 8s ease-out;
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
}



.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.slide-1 {
    background-image: url('../images/homebanner.png');
}

.slide-2,
.slide-3 {
    background-image: url('../images/homebanner.png');
}

.banner-inner {
    flex: 1;
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 2;
}

.container-banner-flex {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding-left: 5%;
    padding-right: 20px;
}

.banner-content {
    max-width: 560px;
    text-align: left;
    background: rgba(61, 43, 31, 0.55);
    backdrop-filter: blur(10px);
    padding: 28px 36px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.banner-content .heading-large {
    font-size: 2.6rem;
    letter-spacing: -1px;
}

.banner-subtitle {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
}

.banner-tagline {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #e0e0e0;
}

.banner-quote {
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 24px;
    color: #f8f9fa;
    border-left: 3px solid var(--secondary-color);
    padding-left: 14px;
    font-style: italic;
    max-width: 480px;
}

.banner-strip {
    width: 100%;
    background: rgba(42, 26, 14, 0.95);
    backdrop-filter: blur(5px);
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.banner-strip .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: #ffffff;
    font-weight: 600;
}

.stats-container {
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.stat-val {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
}

.stat-text {
    font-size: 0.72rem;
    letter-spacing: 1.5px;
}

.strip-divider {
    color: var(--secondary-color);
    opacity: 0.7;
}

.heading-large .text-white {
    color: #ffffff;
}

.heading-large .text-orange {
    color: var(--secondary-color);
}

/* =============================================
   WHAT WE DO SECTION
   ============================================= */
.wwd-section {
    background: #ffffff;
    padding: 0 0 80px;
    overflow: hidden;
}

/* Ticker / Marquee */
.wwd-ticker-wrap {
    background: var(--primary-color);
    padding: 14px 0;
    overflow: hidden;
    white-space: nowrap;
    margin-bottom: 70px;
}

.wwd-ticker {
    display: inline-block;
    animation: tickerScroll 22s linear infinite;
}

.wwd-ticker span {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #F2E8D9;
    padding: 0 12px;
}

.wwd-ticker span.dot {
    color: var(--secondary-color);
    padding: 0 4px;
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Header */
.wwd-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: end;
    margin-bottom: 50px;
}

.wwd-header-left h2 {
    margin-bottom: 0;
}

.wwd-header-right p {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Card Grid */
.wwd-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.wwd-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 22px 22px 18px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    cursor: default;
}

.wwd-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(42, 26, 14, 0.1);
    border-color: var(--secondary-color);
}

/* Big watermark number */
.wwd-card-num {
    position: absolute;
    top: -8px;
    right: 12px;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(42, 26, 14, 0.04);
    line-height: 1;
    transition: color 0.35s ease;
    pointer-events: none;
}

.wwd-card:hover .wwd-card-num {
    color: rgba(191, 99, 50, 0.08);
}

/* Icon */
.wwd-icon {
    width: 40px;
    height: 40px;
    background: rgba(191, 99, 50, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    color: var(--secondary-color);
    transition: background 0.3s ease, transform 0.3s ease;
}

.wwd-card:hover .wwd-icon {
    background: var(--secondary-color);
    color: #fff;
    transform: scale(1.08);
}

.wwd-card h3 {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 7px;
    letter-spacing: -0.2px;
}

.wwd-card p {
    font-size: 0.82rem;
    color: #666;
    line-height: 1.55;
    margin: 0;
}

/* Animated bottom bar */
.wwd-card-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: var(--accent-gradient);
    transition: width 0.4s ease;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.wwd-card:hover .wwd-card-bar {
    width: 100%;
}

/* Responsive */
@media (max-width: 992px) {
    .wwd-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .wwd-header {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .wwd-grid {
        grid-template-columns: 1fr;
    }
}


.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #555;
}

/* About Image Animation */
.image-wrapper-animated {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.image-wrapper-animated:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
}

.float-anim {
    animation: gentleFloat 6s ease-in-out infinite;
}

@keyframes gentleFloat {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Testimonial Section */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testi-card {
    background: #ffffff;
    padding: 26px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    position: relative;
    border-top: 4px solid var(--secondary-color);
    transition: var(--transition);
}

.testi-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.testi-quote-icon {
    font-size: 4rem;
    font-family: Georgia, serif;
    color: #f0f0f0;
    position: absolute;
    top: -10px;
    right: 20px;
    line-height: 1;
    z-index: 0;
}

.testi-text {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
    font-style: italic;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.testi-avatar {
    width: 38px;
    height: 38px;
    background-color: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.95rem;
}

.testi-info h4 {
    margin: 0;
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 700;
}

.testi-info span {
    font-size: 0.85rem;
    color: #777;
}

/* Testimonial Parallax Section styling */
.testi-parallax {
    position: relative;
    padding: 60px 0;
    background-image: linear-gradient(rgba(42, 26, 14, 0.85), rgba(42, 26, 14, 0.90)), url('../images/prj_interior.png');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    color: #fff;
    overflow: hidden;
}

.testi-parallax h2 {
    color: #fff;
}

.testi-parallax .badge {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.testi-parallax p.testi-subtitle {
    color: #ddd;
}

/* Make testicard glassmorphic when inside parallax */
.testi-parallax .testi-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    border-top: 4px solid var(--secondary-color);
}

.testi-parallax .testi-quote-icon {
    color: rgba(255, 255, 255, 0.1);
}

.testi-parallax .testi-text {
    color: #f1f3f5;
}

.testi-parallax .testi-info h4 {
    color: var(--secondary-color);
}

.testi-parallax .testi-info span {
    color: #cfd8e3;
}

.testi-parallax .testi-avatar {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.relative-z2 {
    position: relative;
    z-index: 2;
}

/* Delivery Principles */
.delivery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.delivery-card {
    background: #ffffff;
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.delivery-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.del-number {
    position: absolute;
    top: -15px;
    right: -10px;
    font-size: 8rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.03);
    line-height: 1;
    z-index: 0;
    transition: color 0.4s ease;
}

.delivery-card:hover .del-number {
    color: rgba(226, 114, 43, 0.08);
}

.delivery-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
    color: var(--secondary-color);
    position: relative;
    z-index: 1;
}

.delivery-card p {
    color: #555;
    line-height: 1.7;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Services Image Card Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 35px;
}

.service-hover-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    cursor: pointer;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-hover-card:hover .service-img {
    transform: scale(1.1);
}

.service-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 50px 20px 20px;
    background: linear-gradient(transparent, rgba(42, 26, 14, 0.8) 40%, rgba(42, 26, 14, 1));
    color: #fff;
    transition: all 0.4s ease;
}

.service-title {
    font-size: 1rem;
    color: #fff;
    margin: 0;
    transform: translateY(20px);
    transition: transform 0.4s ease, color 0.4s ease;
    font-weight: 700;
}

.service-details {
    font-size: 0.95rem;
    color: #f8f9fa;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    margin: 15px 0 0 0;
    height: 0;
    overflow: hidden;
    line-height: 1.5;
}

.service-hover-card:hover .service-title {
    transform: translateY(0);
    color: var(--secondary-color);
}

.service-hover-card:hover .service-details {
    opacity: 1;
    transform: translateY(0);
    height: 80px;
}

/* Portfolio Grid & Hover FX */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.portfolio-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: block;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.portfolio-card:hover .portfolio-img {
    transform: scale(1.08);
}

/* Brown card sliding from the left */
.portfolio-overlay {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(42, 26, 14, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    transition: left 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.portfolio-card:hover .portfolio-overlay {
    left: 0;
}

.portfolio-info {
    transform: translateX(-20px);
    opacity: 0;
    transition: all 0.4s ease 0.1s;
}

.portfolio-info h3 {
    color: #fff;
    font-size: 1.8rem;
    margin: 0 0 10px 0;
}

.portfolio-info p {
    color: var(--secondary-color);
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.portfolio-action {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    opacity: 0;
    transform: translateX(-20px);
    margin-top: 30px;
    transition: all 0.4s ease 0.2s;
}

.portfolio-card:hover .portfolio-info {
    transform: translateX(0);
    opacity: 1;
}

.portfolio-card:hover .portfolio-action {
    opacity: 1;
    transform: translateX(0);
}

.portfolio-action span {
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 2px;
}

/* Footer */
footer {
    background: #1A0E07;
    color: var(--light-text);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col p,
.footer-col ul {
    font-size: 0.95rem;
    color: #aaa;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: #aaa;
    text-decoration: none;
}

.footer-col ul a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #777;
    font-size: 0.85rem;
}

/* Modal Popup */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #ffffff;
    width: 90%;
    max-width: 420px;
    padding: 30px 35px;
    border-radius: var(--radius-md);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.4s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.modal-overlay.show .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: #777;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--secondary-color);
}

.modal-header h3 {
    color: var(--primary-color);
    margin: 0 0 10px 0;
    font-size: 1.5rem;
}

.modal-header p {
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-form input,
.modal-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

.modal-form input:focus,
.modal-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

/* Compact desktop nav before hamburger */
@media (max-width: 1100px) and (min-width: 993px) {
    .nav-links {
        gap: 18px;
    }

    .nav-links a {
        font-size: 0.88rem;
    }

    .nav-right {
        gap: 20px;
    }
}

/* Responsive */
@media(max-width: 992px) {
    .navbar .container-nav {
        height: 80px;
        display: flex;
        flex-direction: row;
        /* Logo left, hamburger right */
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
    }

    .nav-logo-img {
        height: 60px;
        /* Big logo */
        max-width: 75vw;
        object-fit: contain;
    }

    .nav-hamburger {
        display: flex;
    }

    .nav-right {
        position: fixed;
        top: 0;
        right: -100%;
        /* Slide from right side */
        width: 100%;
        max-width: 320px;
        height: 100vh;
        background: var(--primary-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        z-index: 99;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-right.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin-bottom: 28px;
        width: 100%;
        padding: 0 24px;
        max-height: calc(100vh - 160px);
        overflow-y: auto;
    }

    .nav-links > li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .nav-links > li > a {
        display: block;
        font-size: 1.05rem;
        letter-spacing: 0.3px;
        padding: 14px 36px 14px 0;
        color: #ffffff;
        white-space: normal;
    }

    .nav-links .menu-item-has-children {
        position: relative;
    }

    .nav-links .menu-item-has-children > a::after {
        display: none;
    }

    .nav-dropdown-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 8px;
        right: 0;
        width: 36px;
        height: 36px;
        padding: 0;
        border: none;
        background: transparent;
        cursor: pointer;
        color: #ffffff;
    }

    .nav-dropdown-toggle span {
        display: block;
        width: 10px;
        height: 10px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        transition: transform 0.25s ease;
        margin-top: -4px;
    }

    .nav-links .menu-item-has-children.open > .nav-dropdown-toggle span {
        transform: rotate(225deg);
        margin-top: 2px;
    }

    .nav-links .sub-menu,
    .nav-links > li.menu-item-has-children:last-child > .sub-menu {
        position: static;
        left: auto;
        right: auto;
        top: auto;
        transform: none;
        min-width: 0;
        width: 100%;
        margin: 0;
        padding: 0 0 10px;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        display: none;
    }

    .nav-links .sub-menu::before {
        display: none;
    }

    .nav-links .menu-item-has-children.open > .sub-menu {
        display: block;
    }

    .nav-links .menu-item-has-children:hover > .sub-menu,
    .nav-links .menu-item-has-children:focus-within > .sub-menu,
    .nav-links > li.menu-item-has-children:last-child:hover > .sub-menu,
    .nav-links > li.menu-item-has-children:last-child:focus-within > .sub-menu {
        transform: none;
    }

    .nav-links .sub-menu a {
        color: rgba(255, 255, 255, 0.82);
        padding: 10px 0 10px 12px;
        font-size: 0.95rem;
        font-weight: 500;
        border-left: 2px solid rgba(191, 99, 50, 0.7);
    }

    .nav-links .sub-menu a:hover {
        color: #ffffff;
        background: transparent;
    }

    .navbar.scrolled .nav-links > li > a,
    body:not(.home) .navbar .nav-links > li > a,
    .navbar.scrolled .nav-links .sub-menu a,
    body:not(.home) .navbar .nav-links .sub-menu a {
        color: #ffffff;
    }

    .banner:not(.banner--split) {
        margin-top: 80px;
        height: calc(100vh - 80px);
        min-height: 500px;
    }

    .banner.banner--split {
        margin-top: 0;
        height: auto;
        min-height: 0;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Global Contact Section */
.global-contact-section {
    background-color: var(--light-gray);
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.contact-split {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.contact-info-panel h2 {
    color: var(--primary-color);
    font-size: 2.8rem;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.contact-info-panel p.lead {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.info-item {
    margin-bottom: 30px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.info-item svg {
    color: var(--secondary-color);
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.info-item h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.info-item p {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.contact-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    width: 100%;
}

.contact-form .form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-form .full-width {
    grid-column: 1 / -1;
}

.contact-form label {
    font-weight: 700;
    color: var(--dark-text);
    font-size: 0.9rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    background: #fdfdfd;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(226, 114, 43, 0.15);
    background: #fff;
}

.contact-form button {
    grid-column: 1 / -1;
    padding: 18px;
    background: var(--secondary-color);
    color: #fff;
    border: none;
    font-size: 1.15rem;
    font-weight: 800;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.contact-form button:hover {
    background: #a85428;
}

@media(max-width: 768px) {
    .contact-form .form-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        padding: 30px 20px;
    }

    .contact-header h2 {
        font-size: 2.2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .container-banner-flex {
        padding: 0 20px;
        justify-content: center;
    }

    .banner-content {
        padding: 25px 20px;
        width: 100%;
        max-width: 100%;
        margin-top: 30px;
    }

    .banner-content .heading-large {
        font-size: 1.85rem;
        margin-bottom: 10px;
    }

    .banner-tagline {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .banner-quote {
        font-size: 0.9rem;
        padding-left: 12px;
        margin-bottom: 15px;
    }

    .banner-actions {
        flex-direction: row !important;
        gap: 10px !important;
        margin-top: 20px !important;
        display: flex;
        width: 100%;
    }

    .banner-actions a {
        flex: 1 !important;
        width: 50% !important;
        text-align: center !important;
        font-size: 0.85rem !important;
        padding: 12px 10px !important;
        white-space: nowrap;
    }

    .banner-strip .container {
        font-size: 0.7rem;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 5px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .strip-divider {
        display: none;
    }

    .stat-val {
        font-size: 1.2rem;
    }

    .stat-text {
        font-size: 0.55rem;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   PAGE CTA SECTION — Card / Rectangle Style
   ============================================= */
.page-cta-section {
    padding: 40px 20px;
    background: var(--light-gray);
}

.page-cta-inner {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    background-image:
        linear-gradient(135deg, rgba(42, 26, 14, 0.92) 0%, rgba(61, 43, 31, 0.97) 100%),
        url('../images/prj_exterior.png');
    background-size: cover;
    background-position: center;
    padding: 40px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    border: 1px solid rgba(191, 99, 50, 0.25);
    box-shadow: 0 30px 80px rgba(42, 26, 14, 0.25);
}

/* Subtle glowing left border accent */
.page-cta-inner::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: var(--accent-gradient);
    border-radius: 16px 0 0 16px;
}

/* Faint radial glow in bg */
.page-cta-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(191, 99, 50, 0.1) 0%, transparent 65%);
    pointer-events: none;
}

.page-cta-text {
    flex: 1;
    position: relative;
    z-index: 2;
}

.page-cta-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--secondary-color);
    border: 1px solid rgba(191, 99, 50, 0.45);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 22px;
}

.page-cta-heading {
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    color: #fff;
}

.page-cta-sub {
    font-size: 0.9rem;
    color: #c8b49a;
    line-height: 1.6;
    margin: 0;
    max-width: 420px;
}

.page-cta-action {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
}

.page-cta-btn {
    display: inline-block;
    padding: 13px 32px;
    background: var(--accent-gradient);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border-radius: var(--radius-md);
    letter-spacing: 0.5px;
    transition: opacity 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 35px rgba(191, 99, 50, 0.4);
    white-space: nowrap;
}

.page-cta-btn:hover {
    opacity: 0.92;
    transform: translateY(-3px);
    box-shadow: 0 18px 50px rgba(191, 99, 50, 0.55);
}

.page-cta-btn-outline {
    display: inline-block;
    padding: 13px 32px;
    background: transparent;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: var(--radius-md);
    border: 2px solid rgba(255, 255, 255, 0.45);
    letter-spacing: 0.5px;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
    white-space: nowrap;
    text-align: center;
}

.page-cta-btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.7);
}

.page-cta-btn-outline.icon-btn {
    padding: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

@media (max-width: 900px) {
    .page-cta-inner {
        flex-direction: column;
        text-align: center;
        padding: 60px 40px;
        gap: 35px;
    }

    .page-cta-sub {
        margin: 0 auto;
    }

    .page-cta-heading {
        font-size: 2.2rem;
    }
}

@media (max-width: 500px) {
    .page-cta-inner {
        padding: 45px 25px;
    }

    .page-cta-heading {
        font-size: 1.8rem;
    }

    .page-cta-btn {
        padding: 16px 35px;
    }
}

/* Floating Call Button */
.floating-call-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background-color: var(--secondary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(191, 99, 50, 0.4);
    z-index: 9999;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    animation: btnRipple 2.5s infinite;
}

.floating-call-btn:hover {
    transform: scale(1.1) translateY(-5px);
    color: #fff;
    animation: none;
    /* stop ripple on hover */
    box-shadow: 0 15px 40px rgba(191, 99, 50, 0.8);
}

.floating-call-btn svg {
    width: 28px;
    height: 28px;
    animation: phoneShake 2.5s infinite;
}

@keyframes btnRipple {
    0% {
        box-shadow: 0 0 0 0 rgba(191, 99, 50, 0.7);
    }

    50% {
        box-shadow: 0 0 0 20px rgba(191, 99, 50, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(191, 99, 50, 0);
    }
}

@keyframes phoneShake {

    0%,
    15% {
        transform: rotate(0) scale(1);
    }

    20% {
        transform: rotate(-15deg) scale(1.1);
    }

    25% {
        transform: rotate(15deg) scale(1.1);
    }

    30% {
        transform: rotate(-15deg) scale(1.1);
    }

    35% {
        transform: rotate(15deg) scale(1.1);
    }

    40% {
        transform: rotate(0) scale(1);
    }

    100% {
        transform: rotate(0) scale(1);
    }
}

@media (max-width: 600px) {
    .floating-call-btn {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
}

/* ----- Site-wide scroll reveal (fast + neat) ----- */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.reveal-left {
    transform: translateX(-28px);
}

.reveal-right {
    transform: translateX(28px);
}

.reveal-scale {
    transform: translateY(16px) scale(0.96);
}

.reveal-rise {
    transform: translateY(56px);
}

.reveal-rise-far {
    transform: translateY(80px);
}

.reveal-pop {
    transform: translateY(48px) scale(0.92);
}

.reveal-soft {
    transform: translateY(36px);
}

.reveal-tilt {
    transform: translateY(50px) rotate(-1.2deg);
}

.reveal-skew {
    transform: translateY(44px) skewY(1.5deg);
}

.reveal.is-visible.reveal-left,
.reveal.is-visible.reveal-right,
.reveal.is-visible.reveal-scale,
.reveal.is-visible.reveal-rise,
.reveal.is-visible.reveal-rise-far,
.reveal.is-visible.reveal-pop,
.reveal.is-visible.reveal-soft,
.reveal.is-visible.reveal-tilt,
.reveal.is-visible.reveal-skew {
    transform: none;
    filter: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .scroll-fade-up,
    .banner--split.hero-animate .banner-pill,
    .banner--split.hero-animate .banner-heading,
    .banner--split.hero-animate .banner-sub,
    .banner--split.hero-animate .banner-actions,
    .banner--split.hero-animate .banner-stats,
    .banner--split.hero-animate .banner-form-card,
    .banner--split.hero-animate .banner-people,
    .heading-medium.chars-ready .char,
    .home-head-badge,
    .home-head-copy {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        filter: none !important;
    }
}