/* DESIGN SYSTEM */
:root {
    /* Colors */
    --color-primary: #2c3539;
    /* Anthracite */
    --color-accent: #C5A065;
    /* Gold */
    --color-accent-hover: #b08d55;
    /* Darker Gold for hover */
    --color-bg-light: #BDC3C7;
    /* Light Grey */
    --color-white: #FFFFFF;
    /* White */
    --color-off-white: #F8F9FA;
    /* Off-white */
    --color-text: #2c3539;
    /* Text Color */

    /* Typography */
    --font-heading: 'Lato', sans-serif;
    --font-body: 'Roboto', sans-serif;

    /* Spacing */
    --spacing-section-desktop: 100px;
    --spacing-section-mobile: 60px;
    --container-max-width: 1200px;
    --header-height: 100px;

    /* Shadows */
    --shadow-subtle: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

@media (max-width: 991px) {
    :root {
        --header-height: 80px;
    }
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.7;
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-primary);
    overflow-wrap: break-word;
    word-wrap: break-word;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* UTILITIES */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-white {
    color: var(--color-white);
}

.text-accent {
    color: var(--color-accent);
}

.section {
    padding: var(--spacing-section-mobile) 0;
    position: relative;
}

/* Line drawing decorative divider */
.section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background-color: var(--color-bg-light);
}

.section:last-child::after {
    display: none;
}

@media (min-width: 768px) {
    .section {
        padding: var(--spacing-section-desktop) 0;
    }
}

.section-off-white {
    background-color: var(--color-off-white);
}

.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 6px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    box-shadow: var(--shadow-subtle);
    transform: translateY(-2px);
}

/* HEADER */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--color-white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: var(--shadow-subtle);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 24px;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 30px;
}

.nav-desktop a {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 15px;
    color: var(--color-primary);
}

.nav-desktop a:hover,
.nav-desktop a.active {
    color: var(--color-accent);
}

.nav-desktop .btn {
    padding: 10px 24px;
    font-size: 14px;
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-primary);
    z-index: 1001;
    /* Above the menu overlay */
}

/* Mobile Menu Overlay Styles */
@media (max-width: 991px) {
    .nav-desktop {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--color-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        display: flex;
        /* Always flex, but hidden off-screen */
        z-index: 1000;
    }

    .nav-desktop.active {
        right: 0;
    }

    .nav-desktop a {
        font-size: 20px;
        margin: 15px 0;
    }
}

@media (min-width: 992px) {
    .nav-desktop {
        display: flex;
        position: static;
        width: auto;
        height: auto;
        flex-direction: row;
        box-shadow: none;
        background: transparent;
    }

    .mobile-menu-btn {
        display: none;
    }
}

/* HERO SECTION */
.hero {
    height: 90vh;
    /* Taller hero */
    display: flex;
    align-items: center;
    background-color: var(--color-primary);
    /* Fallback */
    position: relative;
    overflow: hidden;
    color: var(--color-white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url('../img/Ultra_realistic_photo_202603291436.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    /* Parallax effect handled via JS or fixed attachment if supported well on mobile, but let's stick to simple first */
    transform: scale(1.1);
    /* Slight zoom for parallax room */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero h1 {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--color-white);
    position: relative;
    display: inline-block;
}

.title-line {
    width: 0;
    height: 4px;
    background-color: var(--color-accent);
    margin-top: 10px;
    transition: width 1s ease-out;
}

.hero.visible .title-line {
    width: 100px;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 56px;
    }
}

@media (min-width: 1200px) {
    .hero h1 {
        font-size: 72px;
    }
}

.hero .subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-note {
    margin-top: 40px;
    font-size: 14px;
    opacity: 0.7;
    font-weight: 500;
}

/* Hero Metrics */
.hero-metrics {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.metric-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow-subtle);
    opacity: 0;
    transform: translateY(20px);
    animation: floatIn 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.metric-icon {
    width: 40px;
    height: 40px;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.metric-number {
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.1;
}

.metric-label {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    color: var(--color-white);
}

/* Positioning metrics roughly */
.metric-card.float-1 {
    bottom: 15%;
    right: 10%;
    animation-delay: 1s;
}

.metric-card.float-2 {
    bottom: 35%;
    right: 5%;
    animation-delay: 1.2s;
}

.metric-card.float-3 {
    bottom: 25%;
    right: 25%;
    animation-delay: 1.4s;
}

@media (max-width: 991px) {
    .hero-metrics {
        display: none;
    }

    /* Hide on mobile for cleanliness */
}

@keyframes floatIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* POSITIONING SECTION */
.positioning-content {
    max-width: 800px;
}

.positioning-content p {
    margin-bottom: 20px;
    font-size: 18px;
}

/* CARDS & GRIDS */
.grid-3x2,
.grid-2x2 {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .grid-3x2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-2x2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .grid-3x2 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    background-color: var(--color-white);
    padding: 40px;
    border: 1px solid var(--color-bg-light);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.card-icon {
    width: 32px;
    height: 32px;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .card h3 {
        font-size: 24px;
    }
}

.card p {
    font-size: 16px;
    color: #555;
}

/* SERVICES SPECIFIC */
.services-link-container {
    margin-top: 40px;
    text-align: left;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-accent);
    font-weight: 700;
    font-size: 18px;
}

.link-arrow:hover {
    text-decoration: underline;
}

.link-arrow i {
    width: 20px;
    height: 20px;
}

/* ANIMATIONS */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-text .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    margin-right: 8px;
}

.stagger-text.visible .word {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

.delay-600 {
    transition-delay: 0.6s;
}

/* Pulse Animation */
@keyframes pulse-subtle {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(197, 160, 101, 0.7);
    }

    70% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(197, 160, 101, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(197, 160, 101, 0);
    }
}

.btn-pulse {
    animation: pulse-subtle 3s infinite;
}

/* CARD ENHANCEMENTS */
.icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: var(--color-off-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.card:hover .icon-wrapper {
    background-color: var(--color-accent);
    transform: scale(1.1);
}

.card:hover .card-icon {
    color: var(--color-white);
}

.card-hover-anim {
    opacity: 0;
    /* Initially hidden for scroll reveal */
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}

.card-hover-anim.visible {
    opacity: 1;
    transform: translateY(0);
}

.card-hover-anim:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.btn-text {
    display: inline-block;
    margin-top: 15px;
    color: var(--color-accent);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-text:hover {
    text-decoration: underline;
}

.section-dark {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.text-white {
    color: var(--color-white);
}

/* BEFORE/AFTER SLIDER */
.before-after-container {
    position: relative;
    max-width: 900px;
    margin: 40px auto 0;
}

.ba-slider {
    position: relative;
    width: 100%;
    /* Aspect ratio 16:9 for images */
    padding-bottom: 56.25%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.ba-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ba-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ba-before {
    width: 50%;
    /* Initial state */
    overflow: hidden;
    border-right: 2px solid var(--color-accent);
    z-index: 2;
}

.ba-label {
    position: absolute;
    top: 20px;
    padding: 4px 12px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 4px;
    pointer-events: none;
}

.ba-after .ba-label {
    right: 20px;
}

.ba-before .ba-label {
    left: 20px;
}

.ba-handle {
    position: absolute;
    top: 0;
    left: 50%;
    /* Initial state */
    height: 100%;
    width: 40px;
    transform: translateX(-50%);
    cursor: col-resize;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Invisible touch target area larger than the visible line */
}

.ba-circle {
    width: 40px;
    height: 40px;
    background-color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.ba-info {
    text-align: center;
    margin-top: 20px;
}

.ba-info h3 {
    color: var(--color-white);
    margin-bottom: 5px;
}

.ba-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
}

/* STATS SECTION */
.section-stats {
    background-image: radial-gradient(var(--color-bg-light) 1px, transparent 1px);
    background-size: 20px 20px;
    /* Dot pattern */
    padding: 80px 0;
}

.grid-4-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (min-width: 768px) {
    .grid-4-col {
        gap: 40px;
    }
}

@media (min-width: 992px) {
    .grid-4-col {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-item i {
    width: 40px;
    height: 40px;
    color: var(--color-accent);
    margin-bottom: 15px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* TESTIMONIALS */
.testimonial-slider {
    max-width: 800px;
    margin: 40px auto 0;
}

.testimonial-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-bg-light);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-subtle);
}

.quote-icon {
    width: 40px;
    height: 40px;
    color: var(--color-accent);
    opacity: 0.3;
    margin-bottom: 20px;
}

.testimonial-text {
    font-family: var(--font-heading);
    font-size: 20px;
    font-style: italic;
    color: var(--color-primary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.testimonial-author strong {
    display: block;
    font-size: 18px;
    color: var(--color-primary);
}

.testimonial-author span {
    font-size: 14px;
    color: #666;
}

.stars {
    color: var(--color-accent);
    margin-top: 15px;
    letter-spacing: 2px;
}

/* PROCESS ICON STYLES */
.step-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(44, 53, 57, 0.05);
    /* Light primary */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    color: var(--color-primary);
}

/* PROFILE CARDS */
.profile-card {
    padding: 0;
    overflow: hidden;
}

.card-img-top {
    height: 200px;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    transition: all 0.5s ease;
}

.profile-card:hover .card-img-top {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.card-body {
    padding: 30px;
    position: relative;
    background: white;
    /* Ensure text sits on white */
}

/* CONTACT SPLIT LAYOUT */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    border: 1px solid var(--color-bg-light);
}

@media (min-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 4fr 5fr;
    }
}

.contact-visual {
    position: relative;
    min-height: 300px;
    display: none;
}

@media (min-width: 992px) {
    .contact-visual {
        display: block;
        height: 100%;
    }
}

.contact-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.contact-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
}

.contact-overlay h3 {
    color: white;
    margin-bottom: 10px;
}

.contact-form {
    border: none;
    box-shadow: none;
    padding: 40px;
}

/* Floating Labels */
.floating-label {
    position: relative;
    margin-bottom: 24px;
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 12px;
    width: 20px;
    height: 20px;
    color: #999;
    z-index: 10;
}

.floating-label input,
.floating-label select {
    width: 100%;
    padding-left: 42px !important;
    padding-top: 20px !important;
    padding-bottom: 8px !important;
    height: 52px;
    border: 1px solid var(--color-bg-light);
    border-radius: 6px;
    font-size: 16px;
    outline: none;
    background-color: white;
    transition: border-color 0.3s ease;
}

.floating-label input:focus,
.floating-label select:focus {
    border-color: var(--color-accent);
}

.floating-label label {
    position: absolute;
    left: 42px;
    top: 14px;
    font-size: 16px;
    font-weight: 400;
    color: #777;
    transition: all 0.2s ease;
    pointer-events: none;
    margin: 0;
}

.floating-label input:focus~label,
.floating-label input:not(:placeholder-shown)~label,
.floating-label select:valid~label {
    top: 6px;
    font-size: 11px;
    color: var(--color-accent);
    font-weight: 700;
}

.static-label {
    margin-bottom: 8px;
    display: block;
    font-weight: 700;
    font-size: 14px;
}

/* Helper to ensure icons are visible */
.floating-label input:focus~.input-icon {
    color: var(--color-accent);
}

/* TIMELINE (PROCESS) */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    height: 100%;
    width: 2px;
    background-color: var(--color-accent);
    transform: translateX(-50%);
    z-index: 0;
}

.timeline-step {
    position: relative;
    margin-bottom: 40px;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.timeline-number {
    position: absolute;
    top: 0;
    left: -6px;
    /* 24px - 48px/2 - 30px padding consideration... relative to timeline padding */
    /* Let's adjust positioning strategy for timeline */
    left: -30px;
    /* Resetting based on padding-left of container */
    width: 48px;
    height: 48px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-family: var(--font-heading);
    z-index: 1;
    border: 4px solid var(--color-white);
    /* To separate from line if needed, or visual style */
}

/* Adjust timeline positioning to match request exactly */
.timeline {
    padding-left: 80px;
    /* Space for numbers */
}

.timeline::before {
    left: 24px;
    /* Centered on the number width (48px / 2) */
}

.timeline-number {
    left: 0;
}

.timeline-content {
    background: var(--color-white);
    /* Card styles inherited, but lets specific override if needed */
}

.timeline-content .duration {
    display: block;
    margin-top: 15px;
    font-size: 14px;
    color: #888;
    font-weight: 500;
}

/* TECHNICAL DIFFERENTIAL */
.checklist {
    margin-top: 20px;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 16px;
}

.check-icon {
    color: var(--color-accent);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 4px;
}

.highlight-box {
    margin-top: 40px;
    padding: 30px;
    background-color: var(--color-off-white);
    border-left: 4px solid var(--color-accent);
    border-radius: 4px;
    color: var(--color-primary);
}

/* FAQ ACCORDION */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-bg-light);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 24px 0;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    color: var(--color-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--color-accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding-bottom: 24px;
    color: #555;
}

.faq-item.active .faq-question {
    color: var(--color-accent);
}

/* FAQ Icon Rotation */
.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
    /* Simple plus to cross, or can change icon in JS */
}

/* CONTACT FORM */
.contact-intro {
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
}

.form-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 14px;
    color: var(--color-primary);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid var(--color-bg-light);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(197, 160, 101, 0.1);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (min-width: 768px) {
    .radio-group {
        flex-direction: row;
        gap: 20px;
    }
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.btn-block {
    width: 100%;
    font-size: 18px;
    margin-top: 10px;
}

.contact-alt {
    margin-top: 30px;
    text-align: center;
    border-top: 1px solid var(--color-bg-light);
    padding-top: 20px;
}

.contact-alt p {
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

@media (min-width: 768px) {
    .contact-links {
        flex-direction: row;
        justify-content: center;
        gap: 30px;
    }
}

.link-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-accent);
    font-weight: 500;
}

.link-item:hover {
    text-decoration: underline;
}

/* FOOTER */
.footer {
    background-color: var(--color-primary);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 30px;
    text-align: left;
}

.footer-grid {
    display: grid;
    gap: 40px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer h4 {
    color: var(--color-white);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer p,
.footer li {
    margin-bottom: 10px;
    font-size: 15px;
}

.footer a {
    color: #fff;
    opacity: 0.8;
}

.footer a:hover {
    color: var(--color-accent);
    opacity: 1;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.social-links {
    margin-bottom: 20px;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 0 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
}

/* FLOATING ELEMENTS */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background-color: var(--color-accent);
    z-index: 1002;
    width: 0%;
    transition: width 0.1s linear;
}

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background-color: var(--color-accent);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float i {
    width: 32px;
    height: 32px;
}

/* SOBRE PAGE STYLES */

/* White Hero */
.hero-white {
    background-color: var(--color-white);
    color: var(--color-primary);
    height: 70vh;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.hero-white .hero-overlay {
    background: none;
    opacity: 1;
}

.hero-white h1 {
    color: var(--color-primary);
}

.hero-white .subtitle {
    color: #555;
}

.text-dark {
    color: var(--color-primary);
}

/* Background Patterns */
.bg-pattern-blueprint {
    background-image:
        linear-gradient(rgba(44, 53, 57, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(44, 53, 57, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

.bg-pattern-blueprint-dark {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

.bg-pattern-grid {
    background-image: radial-gradient(var(--color-bg-light) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Shapes */
.hero-shape {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    opacity: 0.3;
}

.shape-circle {
    width: 400px;
    height: 400px;
    border: 1px solid var(--color-bg-light);
    border-radius: 50%;
    top: -50px;
    right: -100px;
}

.shape-line {
    width: 200px;
    height: 2px;
    background-color: var(--color-accent);
    bottom: 100px;
    left: -50px;
}

/* Split Layout */
.split-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.split-image .image-wrapper-duotone {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.split-image .image-wrapper-duotone img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%) sepia(20%) hue-rotate(5deg);
    transition: all 0.5s ease;
}

.split-image .image-wrapper-duotone:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

@media (min-width: 992px) {
    .split-layout {
        flex-direction: row;
        align-items: center;
    }

    .split-layout.reverse-desktop {
        flex-direction: row-reverse;
    }

    .split-text {
        flex: 1.2;
        padding-right: 40px;
    }

    .split-layout.reverse-desktop .split-text {
        padding-right: 0;
        padding-left: 40px;
    }

    .split-image {
        flex: 0.8;
    }
}

/* Mission/Vision/Values Grid */
.grid-3-col {
    display: grid;
    gap: 30px;
}

@media (min-width: 992px) {
    .grid-3-col {
        grid-template-columns: repeat(3, 1fr);
    }
}

.mvv-card {
    background: var(--color-white);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--color-bg-light);
    transition: all 0.3s ease;
}

.mvv-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-subtle);
}

.values-list {
    margin-top: 20px;
}

.values-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 15px;
}

.check-icon {
    width: 18px;
    height: 18px;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 3px;
}

/* Partners Section */
.partners-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 50px;
}

.partner-card {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media (min-width: 768px) {
    .partner-card {
        flex-direction: row;
        align-items: center;
        gap: 50px;
    }

    /* Alternate layout */
    .partner-card:nth-child(even) {
        flex-direction: row-reverse;
    }
}

.partner-photo {
    flex: 1;
    max-width: 400px;
}

.partner-info {
    flex: 1;
}

.partner-info h3 {
    margin-bottom: 5px;
    font-size: 28px;
}

.partner-role {
    display: block;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 5px;
}

.partner-tag {
    display: inline-block;
    background: rgba(197, 160, 101, 0.1);
    color: var(--color-accent);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
}


/* CONTACT SECTION */
.intro-text {
    max-width: 900px;
    margin: 0 auto 60px auto;
    text-align: center;
    padding: 0 20px;
}

.intro-text p {
    font-size: 18px;
    line-height: 1.7;
    color: #2c3539;
    margin-bottom: 20px;
}

/* How We Operate */
.intro-centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.separator-gold {
    width: 100px;
    height: 2px;
    background-color: var(--color-accent);
    margin: 30px auto;
}

.approach-grid .card {
    text-align: center;
}

.approach-grid .icon-wrapper {
    margin: 0 auto 24px;
}

.closing-statement {
    text-align: center;
    max-width: 700px;
    margin: 60px auto 0;
    padding: 30px;
    background: var(--color-white);
    border: 1px solid var(--color-accent);
    border-radius: 8px;
    font-size: 18px;
    font-weight: 500;
    color: var(--color-primary);
}

/* Checklist custom for CTA */
.checklist-grid {
    display: grid;
    gap: 15px;
}

@media (min-width: 768px) {
    .checklist-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.checklist-item .text-accent {
    color: var(--color-accent);
}

.section-lead {
    font-size: 1.25rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* SERVICES PAGE STYLES */

/* Service Badges */
.service-badge {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.service-subtitle {
    font-size: 1.25rem;
    color: #444;
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.5;
}

.h4-sub {
    font-size: 1.1rem;
    margin: 25px 0 15px;
    color: var(--color-primary);
}

/* Info Box */
.info-box {
    background-color: var(--color-off-white);
    padding: 15px 20px;
    border-left: 3px solid var(--color-accent);
    border-radius: 4px;
    margin-top: 30px;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-icon {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
}

/* Tags Container */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-pill {
    background-color: rgba(44, 53, 57, 0.05);
    color: var(--color-primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

/* Icon Cards Inline */
.icon-cards-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.icon-card-small {
    background: var(--color-off-white);
    padding: 12px 20px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 14px;
}

.icon-card-small i {
    width: 18px;
    height: 18px;
    color: var(--color-accent);
}

/* Horizontal Process Timeline */
.process-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 40px;
    max-width: 1000px;
    margin: 60px auto 0;
}

.timeline-line {
    position: absolute;
    top: 50px;
    left: 25px;
    bottom: 0;
    width: 2px;
    background-color: var(--color-accent);
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    padding-left: 60px;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--color-accent);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 20px;
    position: absolute;
    left: 0;
    top: 0;
    box-shadow: 0 0 0 5px var(--color-white);
    /* Visual gap */
}

@media (min-width: 992px) {
    .process-timeline {
        flex-direction: row;
        gap: 20px;
        align-items: flex-start;
        text-align: center;
    }

    .timeline-line {
        top: 25px;
        left: 0;
        right: 0;
        bottom: auto;
        width: 100%;
        height: 2px;
    }

    .process-step {
        padding-left: 0;
        align-items: center;
        flex: 1;
    }

    .step-number {
        position: relative;
        margin: 0 auto 20px;
        left: auto;
        top: auto;
    }
}

/* FAQ Grid */
.faq-grid {
    display: grid;
    gap: 20px;
}

@media (min-width: 992px) {
    .faq-grid {
        grid-template-columns: 1.5fr 1fr;
        gap: 40px;
    }
}

.text-white {
    color: var(--color-white) !important;
}

.link-item.text-white:hover {
    color: var(--color-accent) !important;
}


/* PARCEIROS PAGE STYLES */

/* Pain & Gain Section */
.reputation-header {
    max-width: 800px;
    margin: 0 auto 50px;
}

.lead-text {
    font-size: 1.25rem;
    color: #444;
}

.pain-gain-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    background: var(--color-white);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--color-bg-light);
    box-shadow: var(--shadow-subtle);
}

@media (min-width: 992px) {
    .pain-gain-container {
        flex-direction: row;
        gap: 60px;
    }

    .pain-side,
    .gain-side {
        flex: 1;
    }

    .separator-vertical {
        width: 1px;
        background-color: var(--color-bg-light);
        height: auto;
    }
}

.pain-list,
.gain-list {
    margin-top: 20px;
}

.pain-list li,
.gain-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 15px;
}

.icon-pain {
    color: #e74c3c;
    flex-shrink: 0;
}

.icon-gain {
    color: #27ae60;
    flex-shrink: 0;
}

.gain-intro {
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 15px;
}

/* Features Grid Custom */
.features-grid-custom {
    display: grid;
    gap: 30px;
}

@media (min-width: 768px) {
    .features-grid-custom {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid-custom .feature-card:last-child {
        grid-column: span 2;
        max-width: 600px;
        margin: 0 auto;
    }

    /* Simple 2-2-1 logic override for wide screens if needed, 
       but standard grid is fine too. Let's keep strict 2-col or 3-col.
       Actually requested 2-2-1 layout. */
}

@media (min-width: 1200px) {

    /* To enforce a strict 2, 2, 1 centered layout we need slightly better grid control */
    .features-grid-custom {
        grid-template-columns: repeat(2, 1fr);
        max-width: 1000px;
        margin: 0 auto;
    }
}

.feature-card {
    background-color: var(--color-white);
    padding: 30px;
    border: 1px solid var(--color-bg-light);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.feature-icon {
    width: 32px;
    height: 32px;
    color: var(--color-primary);
    margin-bottom: 20px;
}

/* Testimonial Cards for Partners */
.partners-testimonials {
    display: grid;
    gap: 30px;
}

@media (min-width: 992px) {
    .partners-testimonials {
        grid-template-columns: repeat(3, 1fr);
    }
}

.partner-testimonial-card {
    background-color: var(--color-white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-subtle);
    border-left: 4px solid var(--color-accent);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.partner-testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.quote-icon-large {
    width: 40px;
    height: 40px;
    color: var(--color-accent);
    opacity: 0.3;
    margin-bottom: 20px;
}

.pt-text {
    font-style: italic;
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 30px;
    flex-grow: 1;
}

.pt-author strong {
    display: block;
    color: var(--color-primary);
}

.pt-author span {
    font-size: 0.9rem;
    color: #777;
}


/* CONTACT PAGE STYLES */

/* Contact Methods Grid */
.contact-methods-grid {
    display: grid;
    gap: 30px;
    margin-top: 20px;
}

@media (min-width: 992px) {
    .contact-methods-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-card {
    background-color: var(--color-white);
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid var(--color-bg-light);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.contact-icon {
    width: 48px;
    height: 48px;
    color: var(--color-accent);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
}

.contact-info {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.contact-sub {
    font-size: 0.95rem;
    color: #777;
    margin-bottom: 25px;
}

.btn-full {
    width: 100%;
}

.btn-outline-dark {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline-dark:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* Contact Form Styles */
.contact-form {
    max-width: 600px;
    margin-top: 30px;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.form-group.half {
    width: 50%;
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-group.half {
        width: 100%;
        margin-bottom: 25px;
    }

    .form-group.half:last-child {
        margin-bottom: 0;
    }
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 14px;
    /* adjusted for height */
    width: 18px;
    height: 18px;
    color: #aaa;
    pointer-events: none;
    z-index: 10;
}

.form-control {
    width: 100%;
    padding: 12px 15px 12px 45px;
    /* space for icon */
    border: 1px solid #BDC3C7;
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
    color: #333;
    background-color: var(--color-white);
    transition: border-color 0.3s ease;
    outline: none;
    height: 48px;
}

.form-control:focus {
    border-color: var(--color-accent);
}

.floating-label {
    position: absolute;
    left: 45px;
    top: 14px;
    color: #777;
    font-size: 16px;
    pointer-events: none;
    transition: all 0.2s ease;
    background-color: var(--color-white);
    padding: 0 5px;
}

.form-control:focus+.floating-label,
.form-control:not(:placeholder-shown)+.floating-label,
.floating-label.static {
    top: -10px;
    left: 10px;
    font-size: 12px;
    color: var(--color-accent);
}

/* Radio Group */
.radio-group-container {
    padding-left: 0;
}

.radio-label {
    display: flex;
    align-items: center;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--color-primary);
}

.radio-options {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

/* Button & Success */
.btn-submit {
    margin-top: 10px;
    position: relative;
}

.btn-loader {
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    /* Highlight */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.form-success {
    margin-top: 20px;
    padding: 15px;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hidden {
    display: none !important;
}

/* Info Side - Next Steps */
.contact-info-wrapper {
    position: relative;
    height: 100%;
    min-height: 400px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f0f0f0;
    /* placeholder */
    background-image: url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

.info-overlay-card {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.next-step-item {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    align-items: flex-start;
}

.step-icon {
    width: 30px;
    height: 30px;
    background-color: rgba(197, 160, 101, 0.1);
    color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-icon i {
    width: 16px;
    height: 16px;
}

/* Service Area & Hours - Grid 2 Col Cards */
.grid-2col-cards {
    display: grid;
    gap: 30px;
}

@media (min-width: 992px) {
    .grid-2col-cards {
        grid-template-columns: 1fr 1fr;
    }
}

.info-card {
    background-color: var(--color-white);
    padding: 35px;
    border: 1px solid var(--color-bg-light);
    border-radius: 8px;
}

.card-title-icon {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
    margin-right: 10px;
    vertical-align: middle;
    margin-bottom: 4px;
}

.highlight-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.note-text {
    font-size: 0.9rem;
    color: #777;
    margin-top: 15px;
    font-style: italic;
}

.hours-list {
    margin-top: 20px;
}

.hour-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.hour-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.hour-item i {
    color: var(--color-accent);
}

/* FAQ Accordion - Reused classes where possible, specific layout here */
.centered-container-900 {
    max-width: 900px;
    margin: 0 auto;
}

.faq-accordion {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* CTA Group */
.cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-outline-light {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-white);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline-light:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}


/* PORTFOLIO PAGE STYLES */

/* Stats Bar */
.stats-bar-portfolio {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-subtle);
    margin-top: 50px;
}

@media (min-width: 992px) {
    .stats-bar-portfolio {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item-p {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-icon-p {
    color: var(--color-accent);
    width: 32px;
    height: 32px;
    margin-bottom: 10px;
}

.stat-value-p {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
}

.stat-label-p {
    font-size: 0.9rem;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Filter Tabs */
.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.filter-btn {
    background: transparent;
    border: none;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 500;
    color: var(--color-primary);
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--color-accent);
}

.filter-btn.active {
    border-bottom-color: var(--color-accent);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    gap: 30px;
}

@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.project-card {
    background-color: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.project-image-container {
    position: relative;
    padding-bottom: 66.67%;
    /* 3:2 Aspect Ratio */
    overflow: hidden;
}

.project-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: luminosity;
    /* Duotone logic part 1 */
    transition: transform 0.5s ease;
}

/* Duotone overlay via container background */
.project-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(197, 160, 101, 0.2);
    /* Gold tint */
    z-index: 1;
    pointer-events: none;
}

.project-card:hover .project-image-container img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 53, 57, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.btn-primary-gold {
    background-color: var(--color-accent);
    color: var(--color-white);
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.project-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 15px;
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.project-meta i {
    width: 14px;
    height: 14px;
    color: var(--color-accent);
}

.project-desc {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.5;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background-color: var(--color-off-white);
    color: var(--color-primary);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

/* Before/After Grid Portfolio */
.before-after-grid {
    display: grid;
    gap: 40px;
}

@media (min-width: 992px) {
    .before-after-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ba-item {
    display: flex;
    flex-direction: column;
}

.ba-label {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

/* Types Grid */
.types-grid {
    display: grid;
    gap: 20px;
}

@media (min-width: 768px) {
    .types-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .types-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.type-card {
    background-color: var(--color-white);
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--color-bg-light);
    transition: all 0.3s ease;
}

.type-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.type-icon {
    width: 48px;
    height: 48px;
    color: var(--color-accent);
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.type-card:hover .type-icon {
    transform: scale(1.1);
}

.type-count {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
}

/* Client Types Grid */
.client-types-grid {
    display: grid;
    gap: 30px;
}

@media (min-width: 768px) {
    .client-types-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.client-card {
    text-align: center;
    padding: 30px;
}

.client-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: var(--color-primary);
    color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.client-icon-wrapper i {
    width: 24px;
    height: 24px;
}

/* Simple animation for filtering */
.project-card.hidden {
    display: none;
}


/* INTERACTIVE PORTFOLIO STYLES */

/* Projects Grid */
.projects-grid-interactive {
    display: grid;
    gap: 30px;
}

@media (min-width: 768px) {
    .projects-grid-interactive {
        grid-template-columns: repeat(2, 1fr);
        /* 2 cols tablet */
    }
}

@media (min-width: 1200px) {
    .projects-grid-interactive {
        grid-template-columns: repeat(3, 1fr);
        /* 3 cols desktop for cleaner look */
    }
}

.project-item {
    background-color: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.project-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-color: rgba(197, 160, 101, 0.3);
}

.pi-image {
    position: relative;
    padding-bottom: 60%;
    /* 16:10 Aspect Ratio */
    overflow: hidden;
    background-color: #f0f0f0;
}

.pi-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: transform 0.4s ease;
    mix-blend-mode: multiply;
    opacity: 0.9;
}

.project-item:hover .pi-image img {
    transform: scale(1.05);
    opacity: 1;
    filter: grayscale(20%);
    /* Slight color return */
}

/* Overlay */
.pi-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 53, 57, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.project-item:hover .pi-overlay {
    opacity: 1;
}

.pi-overlay span {
    color: var(--color-white);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.project-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    z-index: 3;
    letter-spacing: 0.5px;
}

.pi-content {
    padding: 24px;
}

.pi-content h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--color-primary);
}

.pi-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.85rem;
    color: #777;
}

.pi-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.pi-meta i {
    width: 14px;
    height: 14px;
    color: var(--color-accent);
}

/* MODAL STYLES */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    /* Darker overlay as requested */
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-container {
    background-color: var(--color-white);
    width: 95%;
    max-width: 1200px;
    height: 90vh;
    /* Fixed height for consistency */
    border-radius: 4px;
    /* Sharper, more premium corners */
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--color-accent);
    /* Gold as requested */
    cursor: pointer;
    z-index: 100;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close i {
    width: 32px;
    height: 32px;
}

.modal-close:hover {
    transform: rotate(90deg);
}

.modal-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
}

@media (min-width: 992px) {
    .modal-content {
        flex-direction: row;
        overflow: hidden;
    }
}

@media (max-width: 767px) {
    .modal-container {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .modal-close {
        top: 10px;
        right: 10px;
        background-color: rgba(255, 255, 255, 0.7);
        border-radius: 50%;
        width: 36px;
        height: 36px;
    }

    .modal-close i {
        width: 24px;
        height: 24px;
    }
}

/* Gallery Side */
.modal-gallery {
    background-color: #000;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 350px;
}

@media (min-width: 992px) {
    .modal-gallery {
        width: 60%;
        /* 60% Width for gallery as requested */
        height: 100%;
    }
}

.gallery-main {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #111;
    overflow: hidden;
}

.gallery-main img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    /* Fill the area nicely */
    transition: opacity 0.4s ease;
    /* Duotone effect: Black and white with subtle gold tint */
    filter: grayscale(100%) sepia(20%) hue-rotate(5deg) saturate(1.5) contrast(1.1);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--color-white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
    z-index: 5;
}

.gallery-nav:hover {
    background-color: var(--color-accent);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
    left: 15px;
}

.gallery-nav.next {
    right: 15px;
}

.gallery-thumbs {
    height: 80px;
    background-color: #2c2c2c;
    display: flex;
    gap: 10px;
    padding: 10px;
    overflow-x: auto;
    white-space: nowrap;
}

.thumb-item {
    height: 100%;
    aspect-ratio: 16/10;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-item:hover {
    opacity: 1;
}

.thumb-item.active {
    opacity: 1;
    border-color: var(--color-accent);
}

/* Details Side */
.modal-details {
    padding: 30px;
    background-color: var(--color-white);
    overflow-y: auto;
}

@media (min-width: 992px) {
    .modal-details {
        width: 40%;
        height: 100%;
        border-left: 1px solid #1a1a1a;
        /* Visual separation if needed */
    }
}

.modal-category-badge {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--color-accent);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.modal-details h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.modal-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
}

.meta-item i {
    color: var(--color-accent);
    width: 16px;
    height: 16px;
}

.modal-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 30px;
}

.modal-description p {
    margin-bottom: 15px;
}

.modal-scope h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.modal-scope ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.modal-scope li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #555;
}

.modal-scope li::before {
    content: 'âœ“';
    display: inline-block;
    color: var(--color-accent);
    font-weight: 900;
    margin-right: 10px;
    font-size: 1.1rem;
}

.modal-partner {
    font-size: 0.9rem;
    color: #777;
    font-style: italic;
    border-top: 1px solid #eee;
    padding-top: 15px;
}



/* REDESIGNED POSITIONING SECTION (CENTERED) */
.positioning-centered {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

#positioning.section {
    padding: 100px 0;
    /* Larger padding for breathing room */
    background-image:
        radial-gradient(var(--color-bg-light) 1px, transparent 1px);
    background-size: 30px 30px;
    /* Subtle background pattern */
}

@media (max-width: 768px) {
    #positioning.section {
        padding: 60px 0;
    }
}

.section-title-centered {
    text-align: center;
    font-size: 36px;
    color: var(--color-primary);
    margin-bottom: 16px;
    position: relative;
    display: block;
}

@media (min-width: 768px) {
    .section-title-centered {
        font-size: 42px;
    }
}

.title-decoration-line {
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
    margin: 0 auto 40px;
    border-radius: 2px;
}

.pos-centered-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Paragraph 1: Featured */
.featured-statement {
    font-size: 20px;
    line-height: 1.6;
    color: var(--color-primary);
    max-width: 800px;
    margin: 0 auto 40px;
    font-family: var(--font-body);
}

@media (min-width: 768px) {
    .featured-statement {
        font-size: 22px;
    }
}

/* Separators */
.pos-separator {
    width: 6px;
    height: 6px;
    background-color: var(--color-accent);
    border-radius: 50%;
    margin: 0 auto 32px;
    opacity: 0.6;
}

.pos-separator.small {
    width: 4px;
    height: 4px;
    margin: 0 auto 32px;
}

/* Paragraphs 2 & 3: Standard */
.body-text-centered {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    max-width: 750px;
    margin: 0 auto 32px;
    text-align: left;
    /* Left aligned for readability */
}

@media (min-width: 768px) {
    .body-text-centered {
        font-size: 18px;
    }
}

/* Quote Card */
.quote-card-centered {
    margin-top: 40px;
    background-color: var(--color-white);
    border-left: 4px solid var(--color-accent);
    padding: 24px 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border-radius: 0 8px 8px 0;
}

.quote-card-centered blockquote {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 18px;
    color: var(--color-primary);
    margin: 0;
    line-height: 1.5;
    text-align: center;
}

/* Helper Classes */
.text-highlight {
    font-weight: 500;
    color: var(--color-accent);
}



/* BEFORE/AFTER SLIDER (REBUILT) */
.before-after-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 600px;
    /* Fixed height as requested */
    margin: 0 auto 30px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    user-select: none;
    cursor: ew-resize;
    background-color: #2c3539;
    /* Dark background for letterboxing */
}

/* Make images cover the fixed container */
.after-image,
.before-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Ensure full image is visible */
    object-position: center center;
    pointer-events: none;
    /* Let clicks pass through to container */
}

/* Bottom layer (After/Finished) is static, full width */
.after-image {
    z-index: 1;
}

/* Top layer (Before/Unfinished) is clipped */
.before-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    clip-path: inset(0 50% 0 0);
    /* Initial split 50% */
    will-change: clip-path;
}

/* Controls */
.slider-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background-color: var(--color-accent);
    z-index: 10;
    transform: translateX(-50%);
    pointer-events: none;
    will-change: left;
}

.slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    background-color: var(--color-accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    /* Centers the handle on the point */
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    color: white;
    pointer-events: none;
    /* Logic is on container */
    will-change: left;
}

.slider-handle i {
    width: 24px;
    height: 24px;
}

/* Badges */
.slider-badge {
    position: absolute;
    top: 20px;
    padding: 8px 16px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
    z-index: 30;
    pointer-events: none;
}

.badge-before {
    left: 20px;
}

.badge-after {
    right: 20px;
}

/* Info Section */
.ba-info {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.ba-info h3 {
    color: white;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.ba-info p {
    color: #ccc;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .before-after-container {
        height: 350px;
        /* Smaller height for mobile */
    }

    .slider-handle {
        width: 40px;
        height: 40px;
    }

    .slider-handle i {
        width: 20px;
        height: 20px;
    }
}

/* DIFFERENTIAL SECTION REWORK */
.diff-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 992px) {
    .diff-grid {
        grid-template-columns: 45% 55%;
        gap: 80px;
    }
}

.diff-image-col {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow-hover);
}

.diff-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* Duotone effect: Black and white with subtle gold tint */
    filter: grayscale(100%) sepia(20%) hue-rotate(5deg) saturate(1.5);
    transition: transform 0.6s ease;
}

.diff-grid:hover .diff-image {
    transform: scale(1.03);
}

.diff-content-col h2 {
    margin-bottom: 24px;
    font-size: 32px;
}

.diff-content-col p {
    margin-bottom: 20px;
    font-size: 16px;
    color: #555;
    line-height: 1.8;
}

.diff-content-col h3 {
    margin-top: 30px;
    margin-bottom: 20px;
    font-size: 20px;
    color: var(--color-primary);
}

/* Custom Checklist Style */
.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--color-text);
}

.check-icon {
    color: var(--color-accent);
    min-width: 20px;
    margin-top: 4px;
}

.highlight-box {
    background-color: var(--color-white);
    border-left: 4px solid var(--color-accent);
    padding: 24px;
    margin-top: 30px;
    font-style: italic;
    box-shadow: var(--shadow-subtle);
    border-radius: 0 8px 8px 0;
}

.highlight-box p {
    margin-bottom: 0;
    font-weight: 500;
    color: var(--color-primary);
}

/* Animations */
.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-left.visible,
.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Mobile Adjustments */
@media (max-width: 767px) {
    .diff-image-col {
        max-width: 500px;
        margin: 0 auto;
    }

    .diff-content-col {
        padding: 0 10px;
    }
}

.mb-5 {
    margin-bottom: 3rem !important;
}

/* PORTFOLIO STATS GRID */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

@media (min-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 60px;
    }
}

.stat-card {
    text-align: center;
    background-color: var(--color-white);
    padding: 30px 20px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
}

.stat-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: var(--shadow-hover);
    border-color: rgba(197, 160, 101, 0.2);
}

.stat-icon-wrapper {
    margin-bottom: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: rgba(197, 160, 101, 0.1);
    border-radius: 50%;
}

.stat-icon {
    width: 32px;
    height: 32px;
    color: var(--color-accent);
}

.stat-number {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 36px;
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 8px;
}

@media (min-width: 992px) {
    .stat-number {
        font-size: 42px;
    }
}

.stat-label {
    font-family: var(--font-body);
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Visual Separator */
.stats-separator {
    width: 80px;
    height: 3px;
    background-color: var(--color-accent);
    margin: 0 auto 60px;
    border-radius: 2px;
    opacity: 0.8;
}

/* Refined Intro Text */
.intro-text-refined {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-text-refined p {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 24px;
}

/* Header Logo Styles */
.site-logo {
    height: 70px;
    width: auto;
    display: block;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    /* Ensure no underline */
}

@media (max-width: 768px) {
    .site-logo {
        height: 55px;
    }
}

/* TESTIMONIALS SECTION */
.testimonial-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-bg-light);
    border-radius: 8px;
    padding: 40px;
    box-shadow: var(--shadow-subtle);
    max-width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.quote-icon {
    width: 32px;
    height: 32px;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.testimonial-text {
    font-style: italic;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    margin-bottom: 30px;
    flex-grow: 1;
}

@media (min-width: 768px) {
    .testimonial-text {
        font-size: 18px;
    }
}

.testimonial-footer {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    font-size: 18px;
    color: var(--color-primary);
}

.testimonial-author span {
    font-size: 14px;
    color: #666;
    margin-top: 4px;
}

.stars {
    color: var(--color-accent);
    font-size: 18px;
    line-height: 1;
    letter-spacing: 2px;
}

/* NEW CTA SECTION */
.cta-section {
    background-color: var(--color-white);
    padding: 100px 0;
}

@media (max-width: 768px) {
    .cta-section {
        padding: 60px 0;
    }
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: #2c3539;
    text-align: center;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 42px;
    }
}

.cta-intro {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

.cta-intro p {
    font-size: 16px;
    line-height: 1.7;
    color: #2c3539;
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .cta-intro p {
        font-size: 18px;
    }
}

.cta-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .cta-grid {
        flex-direction: row;
    }
    .cta-image-col, .cta-form-col {
        flex: 1;
        width: 50%;
    }
}

.cta-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.cta-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) sepia(20%) hue-rotate(5deg);
}

@media (max-width: 991px) {
    .cta-image-wrapper {
        min-height: 300px;
        max-height: 400px;
    }
}

.cta-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.6);
    padding: 30px;
    color: white;
    text-align: center;
}

.cta-image-overlay h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: white;
}

.cta-image-overlay p {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
}

.cta-form-col {
    background-color: #F9F9F9;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #BDC3C7;
}

@media (max-width: 768px) {
    .cta-form-col {
        padding: 20px;
    }
}

.cta-form .custom-input-group {
    position: relative;
    margin-bottom: 20px;
}

.cta-form input[type="text"], 
.cta-form input[type="email"], 
.cta-form input[type="tel"], 
.cta-form select {
    width: 100%;
    padding: 14px 16px 14px 45px;
    border: 1px solid #BDC3C7;
    border-radius: 6px;
    font-size: 16px;
    font-family: var(--font-body);
    color: #2c3539;
    background-color: white;
    transition: border-color 0.3s ease;
}

.cta-form select {
    padding-left: 16px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%232c3539" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}

.cta-form .no-icon-padding input,
.cta-form .no-icon-padding select {
    padding-left: 16px;
}

.cta-form input:focus, .cta-form select:focus {
    outline: none;
    border-color: #C5A065;
}

.cta-form .input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #2c3539;
    opacity: 0.5;
    width: 20px;
    height: 20px;
}

.radio-group-container {
    margin-bottom: 20px;
}

.radio-main-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 16px;
    color: #2c3539;
}

.radio-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #2c3539;
    cursor: pointer;
}

button[type="submit"],
.submit-button {
  background-color: #C5A065;
  color: #2c3539 !important;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  padding: 16px;
  width: 100%;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

button[type="submit"]:hover,
.submit-button:hover {
  background-color: #B08F4E;
  color: #2c3539 !important;
}

.cta-alternative {
    margin-top: 30px;
    text-align: center;
}

.cta-alternative p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.cta-contact-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.alt-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2c3539;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.alt-link:hover {
    color: #C5A065;
}

.alt-link svg, .alt-link i {
    color: #C5A065;
    width: 18px;
    height: 18px;
}

/* NEW GRID CLASSES */
.grid-3-col {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .grid-3-col {
        grid-template-columns: repeat(3, 1fr);
    }
}
.portfolio-intro { margin-bottom: 80px; } /* Increased spacing for portfolio grid */
