@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
    --primary-teal: #2C7A7B;
    --dark-navy: #0A1A2F;
    --gold: #D4A373;
    --dark-gray: #4A4A4A;
    --light-gray: #F4F4F4;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --font-family-body: 'Outfit', system-ui, -apple-system, sans-serif;
    --font-family-heading: 'Playfair Display', serif;
}

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


h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family-heading);
}


h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-heading);
}

body {
    font-family: var(--font-family-body);
    background-color: var(--dark-navy);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* Background & Overlay */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Added scale for the subtle parallax effect */
    transform: scale(1.05);
    background-image: url('home_hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transition: transform 0.1s ease-out;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 2;
}

/* Navbar */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.nav-left {
    background: rgba(30, 30, 30, 0.4);
    padding: 0.7rem 1.4rem;
    border-radius: 50px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease;
}

.nav-left:hover {
    background: rgba(45, 45, 45, 0.5);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--text-primary);
}

.nav-logo-img {
    height: 18px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}



.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.btn-contact {
    padding: 0.6rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.btn-contact:hover {
    background: var(--text-primary);
    color: #000;
    transform: translateY(-1px);
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 5;
    max-width: 750px;
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 4.5vw, 4.2rem);
    line-height: 1.1;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.85rem 1.75rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
}

.btn-primary {
    background-color: var(--primary-teal);
    color: var(--text-primary);
    box-shadow: 0 4px 14px rgba(44, 122, 123, 0.25);
}

.btn-primary:hover {
    background-color: #236162; /* Slightly darker teal */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 122, 123, 0.4);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 900px) {
    .nav-right {
        display: none;
    }

    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 600px) {
    .navbar {
        padding: 1.5rem 5%;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        text-align: center;
    }
}

/* What We Do Section */
.what-we-do {
    background-color: #ffffff;
    color: #000000;
    padding: 6rem 5%;
}

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

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4rem;
    gap: 4rem;
}

.header-left {
    flex: 1;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-label .line {
    width: 30px;
    height: 1.5px;
    background-color: #D4A373;
}

.section-label .text {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--primary-teal);
    text-transform: uppercase;
}

.section-header h2 {
    font-size: 2.8rem;
    line-height: 1.15;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.header-right {
    flex: 1;
    max-width: 450px;
    padding-top: 2.5rem;
}

.header-right p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #444;
}

/* Cards Grid */


.card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    align-items: flex-end;
    padding: 2.5rem;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
}

.card-large {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.card:hover .card-bg {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.1) 60%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
}

.card-content {
    position: relative;
    z-index: 3;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    color: #ffffff;
}

.card-content h3 {
    font-size: 1.25rem;
    font-weight: 300;
    max-width: 80%;
    line-height: 1.4;
    letter-spacing: 0.01em;
}

.arrow-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card:hover .arrow-btn {
    background-color: rgba(255, 255, 255, 0.25);
}

/* Extra Responsive Adjustments */
@media (max-width: 900px) {
    .section-header {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .header-right {
        padding-top: 0;
        max-width: 100%;
    }

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



    .card-large {
        grid-column: 1;
        grid-row: auto;
        min-height: 400px;
    }

    .card-small {
        min-height: 300px;
    }
}

/* CTA Banner */
.cta-banner {
    background-color: var(--primary-teal);
    padding: 5rem 5%;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}

.cta-banner h2 {
    font-size: 2.2rem;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.btn-outline-white {
    border: 1px solid rgba(255, 255, 255, 0.4);
    background-color: transparent;
    color: #ffffff;
    border-radius: 50px;
    padding: 0.8rem 2rem;
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #D4A373;
}

/* How We Work Section */
.how-we-work {
    background-color: #ffffff;
    color: #000000;
    padding: 7rem 5%;
}

.how-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 6rem;
}

.how-image-col {
    flex: 1;
}

.image-wrapper {
    position: relative;
    border-radius: 16px;
    /* Added subtle overflow hidden to bound children, except widget */
}

.main-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* Floating Widget */
.floating-widget {
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    max-width: 380px;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    z-index: 5;
}

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

.widget-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #111;
    font-size: 0.95rem;
    font-weight: 500;
}

.widget-percent {
    color: var(--primary-teal);
    font-weight: 500;
    font-size: 0.9rem;
}

.bar-chart {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 60px;
    gap: 6px;
}

.bar {
    flex: 1;
    background-color: var(--primary-teal);
    border-radius: 3px 3px 0 0;
    transition: height 1s ease;
}

.how-content-col {
    flex: 1;
    max-width: 550px;
}

.how-content-col h2 {
    font-size: 3.2rem;
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.how-content-col p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 2.5rem;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    font-size: 1.05rem;
    color: #111;
    font-weight: 400;
    line-height: 1.4;
}

.check-icon {
    display: flex;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Responsive adjustments for new sections */
@media (max-width: 900px) {
    .cta-container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .cta-banner h2 {
        font-size: 1.8rem;
    }

    .how-container {
        flex-direction: column;
        gap: 4rem;
    }

    .how-content-col h2 {
        font-size: 2.4rem;
    }

    .how-image-col {
        width: 100%;
    }
}

/* Who This Is For Section */
.who-we-serve {
    background-color: var(--primary-teal);
    color: #ffffff;
    padding: 8rem 5%;
}

.who-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
}

.who-header {
    flex: 1;
    max-width: 400px;
    position: sticky;
    top: 6rem;
}

.who-header h2 {
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

.who-grid {
    flex: 1.5;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.who-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2.5rem;
    min-height: 280px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.who-card:hover {
    transform: translateY(-4px);
    background-color: rgba(255, 255, 255, 0.15);
}

.card-number {
    font-size: 2.8rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    letter-spacing: -0.02em;
    color: #D4A373;
}

.who-card h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.who-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

/* Responsive adjustments for Who This Is For */
@media (max-width: 900px) {
    .who-container {
        flex-direction: column;
    }

    .who-header {
        position: relative;
        top: 0;
        margin-bottom: 2rem;
    }

    .who-header h2 {
        font-size: 2.5rem;
    }
}

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

    .who-card {
        min-height: 220px;
    }
}

/* Footer Section */
.footer {
    background-color: var(--primary-teal);
    color: #ffffff;
    padding: 6rem 5% 4rem;
    font-size: 0.95rem;
}

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

.footer-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

.footer-cta h2 {
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    max-width: 700px;
}

.footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.15);
    margin-bottom: 4rem;
}

.footer-links {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.branding-col {
    max-width: 300px;
}

.branding-col .logo {
    margin-bottom: 1.5rem;
}

.brand-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1.25rem;
}

.social-links a {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
}

.social-links a:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

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

/* Responsive Footer */
@media (max-width: 900px) {
    .footer-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 4rem 2rem;
    }

    .branding-col {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}



/* -------------------------------------
   SECONDARY PAGES: SERVICES
---------------------------------------- */

/* Services Hero */
.services-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    overflow: hidden;
}

.services-hero-content {
    position: relative;
    z-index: 5;
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.services-hero-content h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 500;
    letter-spacing: -0.02em;
}

/* Our Services Section */
.our-services {
    background-color: #ffffff;
    color: #000000;
    padding: 6rem 5%;
}

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

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4rem;
    gap: 4rem;
}

.services-header h2 {
    font-size: 2.8rem;
    line-height: 1.15;
    font-weight: 400;
    letter-spacing: -0.02em;
}



/* Base card styling is inherited from .card but we create a specific one for services */
.service-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    align-items: flex-end;
    padding: 2.5rem;
    min-height: 380px;
    /* Taller cards for services */
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

.service-card:hover .card-bg {
    transform: scale(1.05);
}

.service-card .card-content h3 {
    font-size: 1.35rem;
    /* Slightly larger font for single line */
}

/* Specific Service Card Adjustments */
/* Make the 5th card span full width if needed, or leave natural */
/* Design shows 5 cards. A 2-col grid will put the 5th card on the left.
   Let's make it span both columns to look intentional as a featured bottom card. */
.service-card:nth-child(5) {
    grid-column: 1 / -1;
    min-height: 450px;
}

/* How our services connect */
.services-connect {
    background-color: #ffffff;
    color: #000000;
    padding: 4rem 5% 8rem;
    text-align: center;
}

.services-connect h2 {
    font-size: 2.8rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 3rem;
    text-align: center;
}

/* Responsive Services */
@media (max-width: 900px) {
    .services-header {
        flex-direction: column;
        gap: 1.5rem;
    }



    .service-card {
        min-height: 320px;
    }

    .service-card:nth-child(5) {
        grid-column: 1;
        min-height: 320px;
    }

    .services-connect h2 {
        font-size: 2.2rem;
    }
}

/* -------------------------------------
   SECONDARY PAGES: ABOUT
---------------------------------------- */

/* About Hero */
.about-hero {
    height: 60vh;
    min-height: 400px;
}

/* Split Containers (Story & Values) */
.about-story {
    padding: 6rem 0;
    background-color: #ffffff;
}

.about-values {
    padding: 6rem 0;
}

.bg-light-gray {
    background-color: #f7f7f7;
}

.split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split-text h2 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #000;
}

.split-text p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 90%;
}

.split-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    aspect-ratio: 4/3;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.signature {
    margin-top: 3rem;
}

.sig-font {
    font-family: 'Brush Script MT', cursive;
    /* Placeholder for signature */
    font-size: 2.5rem;
    color: #000;
}

/* Values Content */
.values-list .value-block h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #000;
}

.values-list .value-block p {
    font-size: 1.05rem;
    margin-bottom: 0;
}

.mt-4 {
    margin-top: 2.5rem;
}

/* Stats Parallax Banner */
.about-stats {
    position: relative;
    padding: 6rem 0;
    color: white;
    background-attachment: fixed;
    /* Simple parallax */
    background-size: cover;
    background-position: center;
}

.stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.stats-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 2rem;
}

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

.stat-number {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
}

/* Meet the Team */
.team-section {
    padding: 8rem 0;
    background-color: #ffffff;
}

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

.justify-center {
    justify-content: center;
}

.team-header {
    max-width: 600px;
    margin: 0 auto 5rem auto;
}

.team-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: #000;
}

.team-header p {
    color: #666;
    font-size: 1.1rem;
}



.team-card {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.team-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.team-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
    color: #000;
}

.team-info p {
    color: #666;
    font-size: 0.95rem;
}

/* About Page Responsive */
@media (max-width: 900px) {
    .split-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* On mobile, usually the image goes first in a reverse split */
    .reverse-split .split-image {
        order: -1;
    }

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


}



/* -------------------------------------
   SECONDARY PAGES: CONTACT
---------------------------------------- */

/* Contact Hero */
.contact-hero {
    height: 60vh;
    min-height: 400px;
}

/* Reach Us Section */
.reach-us-section {
    padding: 8rem 0;
    background-color: #ffffff;
}

.reach-us-container {
    max-width: 900px;
    /* Narrower container for a centered form */
    margin: 0 auto;
}

.reach-us-header {
    text-align: center;
    margin-bottom: 4rem;
}

.reach-us-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: #000;
}

.reach-us-header p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Contact Form Box */
.contact-box {
    background-color: #f7f7f7;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    background-color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    color: #333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(27, 115, 232, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999;
}

.submit-btn {
    margin-top: 1rem;
    padding: 1.2rem;
    font-size: 1.1rem;
    border-radius: 8px;
    width: 100%;
    /* Full width as shown in screenshot */
}

/* Responsive Contact Page */
@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-box {
        padding: 2rem 1.5rem;
    }
}

/* -------------------------------------
   SECONDARY PAGES: SERVICE DETAIL
---------------------------------------- */

/* Service Detail Hero */
.service-detail-hero {
    height: 70vh;
    min-height: 500px;
}

.hero-title-large {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Service Detail Split Section */
.service-detail-section {
    padding: 6rem 0;
    background-color: #ffffff;
}

.service-detail-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

/* Highlight Box (Left side pull-quote) */
.highlight-box {
    background-color: #f7f7f7;
    padding: 2.5rem;
    border-radius: 12px;
}

.highlight-box p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 0;
}

/* Main Content (Right side) */
.service-content .lead-text {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #222;
    margin-bottom: 3rem;
    font-weight: 500;
}

.service-content h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #000;
    font-weight: 600;
}

.styled-list {
    list-style-type: none;
    /* We'll use custom bullets */
    padding-left: 0;
}

.styled-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: #555;
    line-height: 1.5;
}

.styled-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #333;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Responsive Service Detail Page */
@media (max-width: 900px) {
    .hero-title-large {
        font-size: 2.8rem;
    }

    .service-detail-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* On mobile/tablet, the highlight box often moves below the main text or stays on top. Let's keep source order. */
}

/* -------------------------------------
   DEEP MOBILE RESPONSIVENESS OVERRIDES
---------------------------------------- */
@media (max-width: 600px) {

    /* Adjust general overall padding */
    .what-we-do,
    .cta-banner,
    .how-we-work,
    .who-we-serve,
    .footer,
    .our-services,
    .services-connect,
    .about-story,
    .about-values,
    .team-section,
    .reach-us-section,
    .service-detail-section {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }

    /* Footer structural override */
    .footer-links {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }

    .footer-cta h3,
    .footer-cta h2 {
        font-size: 1.8rem !important;
        text-align: center;
    }

    .footer-cta {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 1.5rem !important;
    }

    .footer-cta .btn {
        width: 100% !important;
        text-align: center;
    }

    /* Section Headers */
    .section-header h2,
    .how-content-col h2,
    .who-header h2,
    .reach-us-header h2,
    .services-header h2,
    .team-header h2,
    .services-connect h2 {
        font-size: 2.2rem !important;
    }

    .hero-title-large {
        font-size: 2.5rem !important;
    }

    /* Split Elements */
    .split-image img {
        aspect-ratio: 16/9;
    }

    /* Paddings for inner content cards */
    .contact-box {
        padding: 1.5rem !important;
    }

    .who-card {
        padding: 1.5rem !important;
        min-height: auto !important;
    }

    .card-number {
        font-size: 2rem !important;
        margin-bottom: 1rem !important;
    }

    .text-list-block {
        padding: 1.5rem !important;
        margin-top: 2rem !important;
    }

    .service-card {
        padding: 1.5rem !important;
        min-height: auto !important;
    }

    .service-card:nth-child(5) {
        min-height: auto !important;
    }

    .highlight-box {
        padding: 1.5rem !important;
    }

    /* Typography Overrides */
    .hero-content p,
    .header-right p,
    .how-content-col p,
    .split-text p,
    .reach-us-header p,
    .service-content .lead-text,
    .who-card p,
    .highlight-box p {
        font-size: 1rem !important;
    }

    .social-links {
        justify-content: flex-start !important;
    }

    /* Enforce 20px side margins for body content only */
    main .footer-container,
    section .footer-container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}