/*
Theme Name: SS Associates
Text Domain: ss-associates
Version: 1.0.0
Description: Custom theme for SS Associates.
Author: Rohan T Villarosa
*/

/* --- Global Variables --- */
:root {
    --primary-color: #C39C54;
    --primary-light: #e0b86b;
    --primary-dark: #a88544;
    --text-light: #ffffff;
    --text-dark: #1f1f1f;
    --font-main: 'Manrope', system-ui, -apple-system, sans-serif;
}

/* --- Typography --- */
.fs-xxxl {
    font-size: clamp(2.5rem, 5.5vw, 6rem);
    font-weight: bold;
}

.fs-xxl {
    font-size: clamp(2rem, 4vw, 4.5rem);
}

.fs-xl {
    font-size: clamp(1.75rem, 3vw, 3rem);
}

.fs-lg {
    font-size: clamp(1.5rem, 2vw, 2.25rem);
}

.fs-md {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
}

.fs-rg {
    font-size: 1rem;
}

.fs-sm {
    font-size: 0.85rem;
}

.fs-xs {
    font-size: 0.75rem;
}



/* --- Base Styles --- */
html.lenis,
html.lenis body {
    height: auto;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: #000;
    color: var(--text-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    border-radius: 5px;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid var(--text-light);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--primary-light);
}

.btn-secondary {
    background-color: #ffffff;
    color: var(--text-dark);
    border: 1px solid transparent;
}

.btn-secondary:hover {
    background-color: #f0f0f0;
}

.arrow-up-right {
    margin-right: 0.5rem;
    font-size: 1.1em;
    font-weight: bold;
}

/* --- Hero Section --- */
.hero-section {
    position: sticky;
    top: 0;
    z-index: 1;
    width: 100%;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

/* Add a dark gradient at the bottom for readability of text */
.hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 40%);
}

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 2.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.4s ease, padding 0.4s ease;
}

.header-logo-img {
    height: 40px;
    width: auto;
    transition: filter 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    pointer-events: none;
}

/* --- Sticky Header Scrolled State --- */
.site-header.is-stuck {
    position: fixed;
    background-color: #ffffff;
    padding: 1rem 4rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.site-header.is-stuck .header-logo-img {
    filter: brightness(0);
    /* Turn white logo to black */
    opacity: 1;
    pointer-events: auto;
}

.site-header.is-stuck .btn-secondary {
    border-color: var(--text-dark);
}

.header-right {
    display: flex;
    gap: 1rem;
}

.menu-icon {
    margin-right: 0.5rem;
    font-size: 1.2em;
    font-weight: normal;
}

.hero-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    padding: 2rem 4rem 4rem 4rem;
}

.hero-text-content {
    flex: 1;
    min-width: 320px;
    padding-bottom: 2rem;
    overflow: hidden;
    /* clips text during entry animation */
}

.hero-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.hero-brand-img {
    height: clamp(30px, 4.5vw, 50px);
    width: auto;
    display: block;
}

.hero-title {
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    line-height: 1.5;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 550px;
}

.hero-cta {
    display: inline-flex;
    align-items: end;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.hero-cta:hover {
    color: var(--primary-color);
}

.hero-scroll-indicator {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 2.5rem;
    width: 100px;
    opacity: 0;
}

.mouse-icon {
    width: 24px;
    height: 38px;
    border: 1.5px solid var(--text-light);
    border-radius: 12px;
    position: relative;
    opacity: 0.8;
}

.mouse-icon::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 6px;
    background-color: var(--text-light);
    border-radius: 2px;
    animation: scrollMouse 2s cubic-bezier(0.15, 0.41, 0.69, 0.94) infinite;
}

@keyframes scrollMouse {
    0% {
        top: 6px;
        /* opacity: 1; */
    }

    100% {
        top: 16px;
        /* opacity: 0; */
    }
}

.hero-featured-card {
    width: 380px;
    background: rgba(40, 40, 40, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.hero-featured-card:hover {
    transform: translateY(-5px);
}

.card-image-wrap {
    height: 190px;
    background-color: #0B162C;
    /* Dark blue background from the blueprint image */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}



.card-content {
    padding: 1.5rem 1.8rem;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.card-subtitle {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.card-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.card-link:hover {
    color: var(--primary-color);
}

/* --- About Section --- */
.about-section {
    position: relative;
    z-index: 10;
    background-color: #ffffff;
    color: var(--text-dark);
    padding: 6rem 4rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.diamond-icon {
    font-size: 2em;
    vertical-align: middle;
    margin-right: 0.25rem;
    margin-bottom: 5px;
}

.section-title {
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
}

.section-desc {
    max-width: 800px;
    line-height: 1.5;
    opacity: 0.8;
    margin-bottom: 4rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.stat-card {
    display: flex;
    flex-direction: column;
}

.stat-image-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.stat-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stat-heading {
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.stat-text {
    opacity: 0.7;
    line-height: 1.5;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {

    header .btn {
        padding: 0.5rem 1rem
    }

    .hero-text-content {
        flex: 0;
    }

    .site-header.is-stuck {
        padding: 1rem 1.5rem;
    }

    .header-logo-img {
        height: 30px;
    }

    .site-header {
        padding: 1.5rem 1.5rem;
    }

    .btn-discovery {
        display: none;
    }

    .hero-content {
        padding: 3rem 1.5rem 1rem 1.5rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .hero-featured-card {
        width: 70%;
        max-width: 450px;
        margin-bottom: 0;
    }

    .card-image-wrap {
        height: 120px;
    }

    .card-subtitle {
        margin-bottom: 0.5rem;
    }

    .card-content {
        padding: 0.5rem;
    }

    .card-title {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    .about-section {
        padding: 4rem 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Generic GSAP Reveal Classes */
.text-mask {
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    padding-bottom: 0.2em;
    margin-bottom: -0.2em;
}

.line {
    padding-bottom: 0.2em;
    margin-bottom: -0.2em;
}

.img-reveal {
    overflow: hidden;
    clip-path: inset(100% 0 0 0);
    position: relative;
}

.img-reveal img {
    transform: scale(1.2);
    transform-origin: center;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* transition via gsap */
}

/* --- Trusted by Builders Section --- */
.trusted-builders-section {
    background-color: #ffffff;
    padding: 4rem 4rem;
    position: relative;
    overflow: hidden;
}

.border-expand {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #e5e5e5;
    transform-origin: left;
    transform: scaleX(0);
    /* Default to 0 for GSAP tracking */
}

.border-expand.top {
    top: 0;
}

.border-expand.bottom {
    bottom: 0;
}

.trusted-title {
    text-align: center;
    color: #1a2238;
    /* dark bluish matching screenshot */
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.builders-grid {
    display: flex;
    justify-content: center;
    gap: 1rem;

}

.builder-logo-wrap {

    border-radius: 8px;
    padding: 1.5rem;
    width: 200px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.builder-logo-wrap:hover {
    transform: translateY(-5px);
}

.builder-logo-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: brightness(0) contrast(0.4);
    transition: filter 0.3s ease;
}

.builder-logo-wrap img:hover {
    filter: none;
}

@media (max-width: 992px) {
    .reviews-right-col {
        gap: 0;
    }
}

@media (max-width: 768px) {
    .builder-logo-wrap {
        width: calc(50% - 0.75rem);
        height: 100px;
        padding: 1rem;
    }
}

/* --- Process Section --- */


.process-section {
    background-color: #ffffff;
    padding: 6rem 4rem;
    color: var(--text-dark);
}

.process-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.process-header-left .section-title {
    color: var(--text-dark);
}

.process-carousel-card {
    position: relative;
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    background-color: #fdfaf5;
    overflow: hidden;

    display: flex;
}

.process-swiper {
    width: 100%;
    height: 100%;

}

.process-slide {
    display: flex;
    position: relative;
    height: auto;
    min-height: 500px;
    align-items: stretch;

}

.slide-content {
    width: 55%;
    padding: 5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.slide-step {
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.slide-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.1;

}

.slide-desc {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;

    margin-bottom: 3rem;
}

.slide-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: absolute;
    bottom: 2rem;
    left: 4rem;
    z-index: 10;
}

.slide-nav {
    display: flex;
    gap: 1rem;
}

.nav-btn {
    width: 44px;
    height: 44px;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    background: transparent;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

.swiper-pagination.process-pagination {
    display: flex;
    gap: 6px;
    position: static;
    width: auto;
}

.swiper-pagination.process-pagination .swiper-pagination-bullet {
    width: 18px;
    height: 6px;
    background-color: var(--primary-light);
    border-radius: 2px;
    margin: 0 !important;
    opacity: 0.6;
    transition: all 0.3s;
}

.swiper-pagination.process-pagination .swiper-pagination-bullet-active {
    background-color: var(--primary-color);
    opacity: 1;
}

.slide-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
}

.slide-image img {
    /* Left arrow mask */
    clip-path: polygon(25% 0, 100% 0, 100% 100%, 25% 100%, 0% 50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Success Stories Section --- */
.success-stories-section {
    background-color: #ffffff;
    padding: 6rem 4rem;
    color: var(--text-dark);
    overflow: hidden;
    /* handle bleeding carousel */
}

.success-stories-wrapper {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.success-content {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
}

.success-nav {
    margin-top: 3rem;
}

.success-carousel {
    flex: 1;
    min-width: 0;
}

.success-swiper {
    overflow: visible;
    /* Allows the rightmost slide to bleed out */
}

.project-card {
    background-color: #fdfaf5;
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-details {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.project-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 600;
}

.project-number {
    /* font-size: 1.25rem; */
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.2;
    display: flex;
    align-items: center;
    letter-spacing: 0.05em;
}

.project-stats {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1f1f1f;
}

.stat-value {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trend-icon {
    display: inline-block;
    color: var(--text-dark);
    line-height: 0;
}

/* --- Reviews Section --- */
.reviews-section {
    background-color: #fdfaf5;
    padding: 6rem 4rem;
    color: var(--text-dark);
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.review-card {
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius: 12px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.review-card.large-card {
    justify-content: center;
}

.reviews-right-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.reviewer-meta {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.9;
}

.reviewer-meta .diamond-icon {
    font-size: 1.2rem;
}

.review-quote-large {
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 3rem;
}

.review-quote {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.review-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.85;
}

.quote-mark {
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 12rem;
    line-height: 1;
    font-family: Georgia, serif;
    color: #ffffff;
    opacity: 0.15;
    pointer-events: none;
}

/* --- Team Section --- */
.team-section {
    background-color: #ffffff;
    padding: 6rem 4rem;
    color: var(--text-dark);
}

/* --- CTA & Footer Section --- */
.site-footer {
    display: block;
    background-color: #eaddca;
    position: relative;
    overflow: hidden;
}

.cta-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 8rem 4rem 12rem 4rem;
    color: #ffffff;
    border-bottom-left-radius: 80px;
    border-bottom-right-radius: 80px;
}

.cta-content {
    max-width: 1000px;
    margin-bottom: 6rem;

}



.cta-btn {
    background-color: #ffffff;
    color: #1a1a1a;
    font-weight: 700;
    padding: 1.2rem 2.8rem;
    font-size: 1rem;
    border-radius: 6px;
    border-color: #ffffff;
}

.cta-btn:hover {
    background-color: #f0f0f0;
    border-color: #f0f0f0;
}

.cta-stats-overlay {
    display: flex;
    justify-content: space-around;
    padding-top: 4rem;
}

.cta-stat {
    text-align: center;
}

.stat-number {
    font-size: 5.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.cta-stat .stat-label {
    font-size: 0.9rem;
    font-weight: 700;
    opacity: 0.95;
}

.main-footer-block {
    padding: 6rem 4rem 2rem 4rem;
    position: relative;
    background-color: #eaddca;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6rem;
}

.footer-logo-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 300px;
}

.footer-logo {
    width: 150px;
    height: auto;
    margin-bottom: auto;
}

.footer-logo-col .copyright {
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.7;
    color: #1A1A1A;
    margin-top: 8rem;
}

.footer-links-col {
    display: flex;
    gap: 8rem;
}

.footer-col-title {
    font-size: 0.75rem;
    color: #1A1A1A;
    opacity: 0.4;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-menu a {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1A1A1A;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    transition: opacity 0.3s ease;
}

.footer-menu a:hover {
    opacity: 0.6;
}

.footer-watermark {
    text-align: center;
    width: 100%;
}

.footer-watermark-img {
    width: 100%;
    height: auto;
    opacity: 0.6;
    display: block;
}

.about-hero {
    background-color: #ffffff;
    color: var(--text-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10rem 4rem 4rem;
}

.about-hero-container {
    display: block;
}

.about-hero-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 2rem;
}

.about-hero-desc {
    max-width: 600px;
    margin-top: 1.5rem;
    color: var(--text-dark);
    line-height: 1.6;
    opacity: 0.8;
}

.about-hero-image-wrap {
    width: 100%;
    position: relative;
    border-radius: 16px;
    /* min-height: 500px; */

    margin-top: -20rem;
    /* Pull image deeply up into the Hero */
    z-index: 10;
}

.about-hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.about-floating-card {
    background-color: #bfa168;
    /* Beige card */
    color: #ffffff;
    padding: 2rem 2.5rem;
    border-radius: 8px;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 5;
    position: relative;
    margin-top: 4rem;

}

.cta-inline-link {
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    text-align: right;
    justify-content: flex-end;
}

.cta-inline-link:hover {
    color: var(--text-dark);
}

.work-with-us-section {
    margin-top: -100px;
    background-color: #fdfaf5;
    ;
    position: relative;
    z-index: 2;
    padding: 0 4rem;
}

.work-container {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 2rem;
}



.work-right {
    flex: 0 0 40%;
    position: relative;
}



.our-purpose-section {
    background-color: #fdfaf5;
    ;
    color: var(--text-dark);
    padding: 4rem 4rem 8rem;
    position: relative;
    z-index: 1;
}

.purpose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.purpose-card {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 2rem;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 200px;
}

.purpose-card-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.purpose-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.purpose-title {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
}

/* --- End About Page Styles --- */

@media (max-width: 992px) {
    .trusted-builders-section {
        padding: 3rem 1.5rem;
    }

    .success-stories-section {
        padding: 4rem 1.5rem;
    }

    .success-stories-wrapper {
        flex-direction: column;
        gap: 2.5rem;
    }

    .success-content {
        flex: 1 1 auto;
        width: 100%;
    }

    .success-carousel {
        width: 100%;
        display: block;
        min-width: 0;
    }

    .cta-section {
        padding: 4rem 1.5rem 8rem 1.5rem;
        border-bottom-left-radius: 40px;
        border-bottom-right-radius: 40px;
    }

    .cta-title {
        font-size: 2.5rem;
    }

    .cta-stats-overlay {
        flex-direction: column;
        gap: 3rem;
        padding-top: 2rem;
    }

    .stat-number {
        font-size: 4rem;
    }

    .main-footer-block {
        padding: 4rem 1.5rem 2rem 1.5rem;
    }

    .footer-grid {
        flex-direction: column;
        gap: 4rem;
        margin-bottom: 4rem;
    }

    .footer-links-col {
        flex-direction: column;
        gap: 3rem;
    }

    .footer-logo-col .copyright {
        margin-top: 3rem;
    }

    .reviews-section,
    .team-section {
        padding: 4rem 1.5rem;
    }

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

    .review-quote-large {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .quote-mark {
        font-size: 8rem;
    }

    .process-section {
        padding: 4rem 1.5rem;
    }

    .slide-controls {
        left: 2rem;
    }

    .process-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .slide-content {
        width: 100%;
        padding: 3rem 2rem;
    }

    .slide-image {
        display: none;

    }
}

/* --- Full Page Menu Overlay --- */
.full-page-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #070707;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    padding: 2.5rem 4rem;
    color: #ffffff;
    pointer-events: none;
    transform: translateY(-100%);
    visibility: hidden;
}

.full-page-menu.is-active {
    pointer-events: all;
    visibility: visible;
}

.menu-text-mask {
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    padding-bottom: 0.2em;
    margin-bottom: -0.2em;
}

.menu-reveal-item {
    display: inline-block;
}

.menu-img-reveal {
    overflow: hidden;
    clip-path: inset(100% 0 0 0);
    position: relative;
}

.menu-img-reveal img {
    transform: scale(1.2);
    transform-origin: center;
}

.fp-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.fp-logo img {
    height: 40px;
}

.fp-header-right {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-close-menu {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.75rem 1.5rem;
    transition: border-color 0.3s ease;
    cursor: pointer;
    border-radius: 6px;
}

.btn-close-menu:hover {
    border-color: #ffffff;
}

.fp-menu-body {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
}

.fp-links-col {
    flex: 1;
}

.fp-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;

}

.fp-nav li {
    margin: 0;
}

.fp-nav a {
    display: inline-block;
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.fp-nav a:hover {
    opacity: 0.6;
}

.fp-image-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.fp-image-wrapper {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.fp-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.fp-image-meta {
    width: 100%;
    max-width: 500px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.fp-socials {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background-color: #ffffff;
    color: #000000;
}

.fp-address {
    font-size: 0.75rem;
    font-weight: 700;
    text-align: right;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.fp-menu-footer {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.fp-menu-footer a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.fp-menu-footer a:hover {
    opacity: 0.7;
}

@media (max-width: 992px) {
    .full-page-menu {
        padding: 1.5rem;
        overflow-y: auto;
    }

    .fp-menu-body {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 4rem;
        margin-bottom: 4rem;
        gap: 4rem;
    }

    .fp-image-col {
        align-items: flex-start;
        width: 100%;
    }

    .fp-image-wrapper {
        max-width: 100%;
    }

    .fp-image-meta {
        max-width: 100%;
        gap: 2rem;
    }

    .fp-menu-footer {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        text-align: center;
    }
}

/* --- About Page Responsive Fixes --- */
@media (max-width: 992px) {
    .about-hero-text {
        max-width: 100%;
        padding-bottom: 2rem;
    }

    .work-container {
        flex-direction: column-reverse;
        gap: 2rem;
        align-items: stretch;
    }

    .work-left,
    .work-right {
        width: 100%;
        flex: 1;
    }

    .about-hero-image-wrap {
        margin-top: 0;
        width: 100%;
    }

    .about-floating-card {
        margin-top: 1rem;
        margin-bottom: 2rem;
        margin-left: 0;
        max-width: 100%;
    }

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

@media (max-width: 768px) {
    .fs-xxxl {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .about-hero {
        min-height: auto;
        padding: 8rem 1.5rem 4rem;
    }

    .work-with-us-section {
        padding: 0 1.5rem;
        margin-top: -50px;
    }

    .our-purpose-section {
        padding: 2rem 1.5rem 4rem;
    }

    .about-floating-card {
        padding: 1.5rem;
    }

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

/* ========================================================================= */
/* --- SERVICES PAGE STRUCTURES --- */
/* ========================================================================= */

.services-page {
    background-color: var(--text-light);
    color: var(--text-dark);
}

.services-hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12rem 4rem 6rem;
    gap: 4rem;
}

.services-hero-left {
    flex: 0 0 55%;
}

.services-hero-desc {
    max-width: 700px;
}



.services-banner {
    width: 100%;
    position: relative;
    padding: 0;
}

.full-width-banner {
    width: 100%;
    height: 70vh;
    object-fit: cover;
    display: block;
}

.services-stats-bar {
    background-color: black;
    color: var(--text-light);
    padding: 3rem 4rem;
}

.services-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
}

.stat-item {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item:last-child {
    border-right: none;
}

.stat-item h3 {
    font-size: clamp(3rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-item p {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

.services-process {
    padding: 8rem 4rem;
    background-color: #ffffff;
}

.process-zigzag-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.process-row {
    display: flex;
    align-items: center;
    gap: 6rem;
}

.process-row.row-reverse {
    flex-direction: row-reverse;
}

.process-img-col {
    flex: 1;
}

.process-img-col img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.process-text-col {
    flex: 1;
    max-width: 500px;
}

.process-number {
    font-size: 3rem;
    color: var(--primary-color);
}

.process-title {
    margin: 1rem 0;
    font-weight: 700;
    line-height: 1.2;
}

.process-desc {
    margin-bottom: 2rem;
    opacity: 0.8;
}

.process-result-card {
    background-color: #fdfaf5;
    padding: 1.5rem;
    border-left: 3px solid var(--primary-color);
    font-size: 0.9rem;
}

.process-result-card strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}



/* Services Page Mobile */
@media (max-width: 992px) {
    .services-hero-container {
        flex-direction: column;
        padding: 8rem 1.5rem 4rem;
    }

    .services-process {
        padding: 4rem 1.5rem;
    }

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

    .stat-item {
        border-right: none;
    }

    .process-row,
    .process-row.row-reverse {
        flex-direction: column;
        gap: 2rem;
    }

    .full-width-banner {
        height: 40vh;
    }
}

/* ============================================
   CONTACT PAGE
   ============================================ */

/* Hero */
.contact-hero {
    padding: 10rem 4rem 6rem;
    background-color: var(--primary-color);
    color: #fff;
}

.contact-hero-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-section-tag {
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.2);
}

.contact-hero-title {
    color: #fff;
    text-align: center;
}

.contact-hero-desc {
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

/* Form Section */
.contact-form-section {
    padding: 6rem 4rem;
    background-color: #fdfaf5;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 6rem;
}

/* Left – Contact Details */
.contact-info-heading {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.contact-info-block {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;

}

.contact-info-label {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dark);
    opacity: 0.55;
    margin-bottom: 0.5rem;
}

.contact-email-link {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.2s;
}

.contact-email-link:hover {
    opacity: 0.75;
}

.contact-address {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-dark);
}





/* Right – Form Wrapper */
.contact-form-wrapper {
    background-color: #fff;
    padding: 4rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

/* Form Fields */
.form-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 0.5rem;
    opacity: 0.65;
}

.form-input {
    width: 100%;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
    padding: 0.75rem 0;
    font-size: 1.05rem;
    outline: none;
    background: transparent;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-input:focus {
    border-bottom-color: var(--primary-color);
}

.form-textarea {
    resize: vertical;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group--message {
    margin-bottom: 3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-submit-btn {
    width: 100%;
    justify-content: center;
    padding: 1.25rem;
}

/* Success / Error banners */
.form-success-message {
    padding: 2rem;
    background-color: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #2e7d32;
    text-align: center;
}

.form-success-message h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.form-error-message {
    color: #d32f2f;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    padding: 1rem;
    background-color: #ffebee;
}

/* Map */
.contact-map-section {
    width: 100%;
    height: 60vh;
    position: relative;
    overflow: hidden;
}

.contact-map-section iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(100%) contrast(1.2);
}

/* ---- Responsive ---- */
@media (max-width: 992px) {
    .contact-hero {
        padding: 8rem 1.5rem 4rem;
    }

    .contact-form-section {
        padding: 4rem 1.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-form-wrapper {
        padding: 2.5rem 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-map-section {
        height: 40vh;
    }
}

.text-align-center {
    text-align: center;
}