/* styling.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@400;500;700&display=swap');
@import './variables.css';

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

body {
    background-color: var(--bg-light);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-thunder);
    line-height: 1.1;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: var(--radius-pill);
    /* Squircle/Pill feel */
    font-weight: 500;
    font-size: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--color-thunder);
    color: var(--text-inverted);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-thunder);
    border: 1px solid var(--color-thunder);
}

.section {
    padding: var(--section-spacing) 0;
}

/* Hero Section */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 100px;
    /* Standard navbar space */
    text-align: center;
    background-color: var(--bg-light);
    height: 100vh;
    /* Fixed viewport height - Traditional Hero Size */
    max-height: 100vh;
    overflow: hidden;
    /* Ensure no scroll within the section */
}

.hero-content {
    z-index: 10;
    max-width: 900px;
    padding: 2rem 1.5rem 0;
    /* Removing bottom padding */
    position: relative;
    flex: 0 0 auto;
    /* Content takes strictly what it needs */
}

.hero-badge {
    display: inline-flex;
    padding: 0.4rem 0.8rem;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    /* Slightly reduced for better fit */
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
    color: var(--color-jewel);
    line-height: 1.05;
}

.hero-title span {
    font-style: italic;
    font-weight: 400;
    font-family: serif;
    color: var(--brand-primary);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 1.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.hero-trust {
    font-size: 0.7rem;
    color: var(--color-thunder);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    justify-content: center;
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
}

.hero-image-wrapper {
    width: 100%;
    flex: 1;
    /* Automatically fills the remaining height */
    min-height: 0;
    /* Allow shrinking if needed */
    position: relative;
    z-index: 1;
    overflow: hidden;
    margin-top: 0;
    /* Reset margin, flex handles placement */
}

/* The Arched White Gradient Overlay */
.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse 140% 100% at 50% -20%,
            var(--bg-light) 40%,
            rgba(249, 243, 243, 0.8) 60%,
            var(--bg-light) 65%,
            rgba(255, 255, 255, 0) 70%);
    z-index: 2;
    pointer-events: none;
}

/* Also add a standard linear fade for the very bottom to ensure text legibility if screen is oddly shaped */
.hero-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to bottom, var(--bg-light) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    /* Anchor to bottom */
}

/* Navbar Component Styles */
main-navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    width: auto;
    max-width: 95%;
    /* Allow full width on mobile */
}

.nav-pill {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Important for mobile spacing */
    gap: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    min-width: 300px;
    /* Ensure space for logo + ham */
}

.nav-brand {
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--color-jewel);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-thunder);
    position: relative;
}

.nav-link:hover {
    color: var(--brand-primary);
}

.nav-cta {
    background-color: var(--color-jewel);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

/* Mobile Menu Styles (See navbar.js for structure) */
.mobile-menu {
    position: absolute;
    top: 110%;
    /* Below the pill */
    left: 0;
    width: 100%;
    background: white;
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    gap: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transform-origin: top center;
    animation: menuSlide 0.3s ease-out;
}

.mobile-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-thunder);
    padding: 0.5rem 1rem;
    border-radius: 12px;
}

.mobile-link:hover {
    background-color: var(--color-soft-peach);
    color: var(--brand-primary);
}

.mobile-cta {
    text-align: center;
    background-color: var(--color-jewel);
    color: white;
    padding: 0.75rem;
    border-radius: 12px;
    font-weight: 600;
    margin-top: 0.5rem;
}

@keyframes menuSlide {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Bento Grid Section */
.bento-section {
    position: relative;
    background-color: var(--bg-light);
    z-index: 5;
    /* Above Hero Image but below content if needed */
    padding-top: 5rem;
}

.bento-header {
    text-align: center;
    margin-bottom: 4rem;
}

.bento-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--color-thunder);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.bento-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.bento-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    /* 2/3 and 1/3 split */
    gap: 1.5rem;
    min-height: 600px;
}

.bento-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.bento-card {
    position: relative;
    border-radius: var(--radius-squircle);
    overflow: hidden;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
    cursor: pointer;
    isolation: isolate;
}

.bento-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-large {
    height: 100%;
    min-height: 500px;
}

.card-small {
    flex: 1;
    /* Split vertical space equally */
    min-height: 240px;
}

.card-medium {
    min-height: 280px;
    grid-column: 1 / -1;
    /* Span full width */
}

a.bento-card {
    text-decoration: none;
    display: block;
}

.card-image-wrapper {
    position: absolute;
    top: -10%;
    /* Extend beyond card to prevent gaps during parallax */
    left: 0;
    width: 100%;
    height: 120%;
    /* Extra height to cover parallax movement */
    z-index: 1;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.6s ease;
    transform: scale(1.1);
    /* Slightly scaled to eliminate any edge gaps */
}

.bento-card:hover .card-image {
    transform: scale(1.15);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0) 80%);
    z-index: 2;
}

/* Stronger overlay for large card */
.card-large .card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 30%, rgba(0, 0, 0, 0) 70%);
}

.card-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Text at bottom */
    padding: 2rem;
    color: white;
    pointer-events: none;
    /* Let clicks pass to card */
}

.card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.card-content p {
    font-size: 0.95rem;
    color: white;
    max-width: 90%;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.card-arrow {
    display: inline-block;
    margin-top: 1rem;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.bento-card:hover .card-arrow {
    transform: translateX(10px);
}

/* Mobile Responsiveness for Bento Grid */
@media (max-width: 968px) {
    .bento-grid {
        grid-template-columns: 1fr;
        /* Stack */
        min-height: auto;
    }

    .card-large {
        min-height: 400px;
    }

    .card-small {
        min-height: 300px;
    }

    .card-medium {
        min-height: 300px;
    }
}

/* ========================================
   TRUST SECTION (Why Choose Us)
======================================== */
.trust-section {
    position: relative;
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, white 100%);
    overflow: hidden;
}

.trust-header {
    text-align: center;
    margin-bottom: 5rem;
}

.trust-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--brand-primary);
    margin-bottom: 1rem;
}

.trust-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--color-thunder);
    line-height: 1.1;
}

.trust-title span {
    font-style: italic;
    font-family: serif;
    color: var(--brand-accent-light);
}

.trust-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.trust-pillar {
    position: relative;
    background: white;
    border-radius: var(--radius-squircle);
    padding: 3rem 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
}

.trust-pillar:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.pillar-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--brand-accent-light) 0%, var(--brand-primary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.pillar-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-thunder);
    margin-bottom: 0.75rem;
}

.pillar-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.pillar-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    font-family: var(--font-heading);
}

.trust-bg-circle {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--brand-accent-light) 0%, transparent 70%);
    opacity: 0.08;
    top: -200px;
    right: -200px;
    pointer-events: none;
}

@media (max-width: 968px) {
    .trust-pillars {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   CTA BANNER SECTION
======================================== */
.cta-section {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--color-jewel) 0%, var(--color-thunder) 100%);
    overflow: hidden;
    color: white;
}

.cta-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></svg>');
    background-size: 200px;
    opacity: 0.5;
}

.cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.cta-content {
    max-width: 600px;
}

.cta-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--brand-accent-light);
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 50px;
}

.cta-headline {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-headline em {
    font-style: italic;
    font-family: serif;
    color: var(--brand-accent-light);
}

.cta-subtext {
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    color: var(--color-jewel);
    padding: 1rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-cta-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.cta-visual {
    flex-shrink: 0;
}

.cta-stat {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-squircle);
    padding: 3rem 4rem;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 5rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    font-family: var(--font-heading);
}

.stat-label {
    display: block;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
}

/* CTA Particles Animation */
.cta-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.cta-particles span {
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: particleFloat 10s infinite ease-in-out;
}

.cta-particles span:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
}

.cta-particles span:nth-child(2) {
    left: 20%;
    top: 80%;
    animation-delay: 2s;
    width: 15px;
    height: 15px;
}

.cta-particles span:nth-child(3) {
    left: 60%;
    top: 40%;
    animation-delay: 4s;
}

.cta-particles span:nth-child(4) {
    left: 80%;
    top: 60%;
    animation-delay: 6s;
    width: 8px;
    height: 8px;
}

.cta-particles span:nth-child(5) {
    left: 90%;
    top: 20%;
    animation-delay: 8s;
    width: 12px;
    height: 12px;
}

@keyframes particleFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-30px) scale(1.2);
        opacity: 0.6;
    }
}

@media (max-width: 968px) {
    .cta-container {
        flex-direction: column;
        text-align: center;
    }

    .cta-actions {
        justify-content: center;
    }

    .cta-stat {
        padding: 2rem 3rem;
    }

    .stat-number {
        font-size: 4rem;
    }
}

/* ========================================
   FOOTER SECTION
======================================== */
.site-footer {
    position: relative;
    background-color: var(--color-thunder);
    color: white;
    overflow: hidden;
}

/* Wave Transition from CTA to Footer */
.footer-wave {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 120px;
    overflow: hidden;
    line-height: 0;
    transform: translateY(-99%);
}

.footer-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

.footer-main {
    padding: 5rem 0 3rem;
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
}

/* Brand Column */
.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: 1.25rem;
}

.footer-logo svg {
    color: var(--brand-accent-light);
}

.footer-tagline {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-certifications {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cert-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--brand-accent-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Links Columns */
.footer-links h4,
.footer-contact h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: white;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--brand-accent-light);
    transform: translateX(5px);
}

/* Contact Column */
.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.contact-item svg {
    color: var(--brand-accent-light);
    flex-shrink: 0;
}

.contact-item a,
.contact-item span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: white;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    position: relative;
    z-index: 2;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: white;
}

/* Decorative Glow */
.footer-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--brand-primary) 0%, transparent 70%);
    opacity: 0.05;
    bottom: -250px;
    right: -100px;
    pointer-events: none;
}

/* Footer Mobile Responsiveness */
@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .footer-brand {
        grid-column: span 2;
        max-width: 100%;
        text-align: center;
    }

    .footer-certifications {
        justify-content: center;
    }

    .footer-links,
    .footer-contact {
        text-align: center;
    }

    .contact-item {
        justify-content: center;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-wave {
        height: 60px;
    }
}

/* ========================================
   INTERNAL PAGE STYLES
======================================== */

/* Page Hero (Services/About) */
.page-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(35, 31, 32, 0.7) 0%,
            rgba(35, 31, 32, 0.5) 50%,
            rgba(35, 31, 32, 0.8) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem;
}

.page-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: white;
    margin-bottom: 1rem;
    background: rgba(35, 31, 32, 0.85);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.page-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1;
    color: white;
}

.page-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.page-hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ========================================
   SERVICE SECTIONS
======================================== */
.service-section {
    padding: 6rem 0;
    background: white;
    position: relative;
}

.service-section.service-alt {
    background: var(--bg-light);
}

.service-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-layout.reversed {
    direction: rtl;
}

.service-layout.reversed>* {
    direction: ltr;
}

.service-visual {
    position: relative;
}

.service-image-frame {
    position: relative;
    border-radius: var(--radius-squircle);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.service-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.service-image-frame:hover .service-image {
    transform: scale(1.05);
}

.service-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--color-jewel) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.badge-number {
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    font-family: var(--font-heading);
}

.service-info {
    padding: 2rem 0;
}

.service-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--brand-primary);
    margin-bottom: 1rem;
    padding: 0.3rem 0.8rem;
    background: rgba(61, 174, 115, 0.1);
    border-radius: 50px;
}

.service-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--color-thunder);
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.service-description {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    color: #444;
}

.service-features svg {
    color: var(--brand-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.service-cert {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, var(--color-jewel) 0%, var(--brand-primary) 100%);
    color: white;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
}

@media (max-width: 968px) {

    .service-layout,
    .service-layout.reversed {
        grid-template-columns: 1fr;
        gap: 2rem;
        direction: ltr;
    }

    .service-badge {
        bottom: -15px;
        right: auto;
        left: 20px;
        width: 60px;
        height: 60px;
    }

    .badge-number {
        font-size: 1.2rem;
    }
}

/* ========================================
   SAFETY SECTION
======================================== */
.safety-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, white 100%);
}

.safety-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.safety-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--brand-primary);
    margin-bottom: 1rem;
}

.safety-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--color-thunder);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.safety-subtitle {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

.safety-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.safety-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-squircle);
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.safety-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.safety-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--brand-accent-light) 0%, var(--brand-primary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
}

.safety-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-thunder);
    margin-bottom: 0.75rem;
}

.safety-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

@media (max-width: 968px) {
    .safety-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .safety-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   PAGE CTA
======================================== */
.page-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--color-jewel) 0%, var(--brand-primary) 100%);
    text-align: center;
}

.page-cta-content h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.page-cta-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.page-cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ========================================
   ABOUT PAGE STYLES
======================================== */

/* Common About Styles */
.about-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--brand-primary);
    margin-bottom: 1rem;
}

.about-heading {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--color-thunder);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-text {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Mission Section */
.about-mission {
    padding: 6rem 0;
    background: white;
}

.mission-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.mission-visual {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mission-stat-card {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--color-jewel) 100%);
    padding: 3rem;
    border-radius: var(--radius-squircle);
    text-align: center;
    color: white;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.stat-big {
    display: block;
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    font-family: var(--font-heading);
}

.stat-text {
    display: block;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
    opacity: 0.9;
}

.mission-badge-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.mission-badge {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-squircle);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.mission-badge span:first-child {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--brand-primary);
    font-family: var(--font-heading);
}

.mission-badge span:last-child {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #666;
    margin-top: 0.25rem;
}

.mission-badge.alt span:first-child {
    color: var(--color-jewel);
}

.mission-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(61, 174, 115, 0.1);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-primary);
}

.highlight-item svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 968px) {
    .mission-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Values Section */
.about-values {
    padding: 6rem 0;
    background: var(--bg-light);
}

.values-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.value-card {
    position: relative;
    background: white;
    padding: 2rem 1.5rem 3rem;
    border-radius: var(--radius-squircle);
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--brand-accent-light) 0%, var(--brand-primary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: white;
}

.value-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-thunder);
    margin-bottom: 0.5rem;
}

.value-card p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
}

.value-number {
    position: absolute;
    bottom: 0.75rem;
    right: 1rem;
    font-size: 2rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.04);
    font-family: var(--font-heading);
}

@media (max-width: 1200px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* Team Section */
.about-team {
    padding: 6rem 0;
    background: white;
}

.team-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.team-focus-areas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.focus-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: var(--radius-squircle);
    transition: transform 0.3s ease;
}

.focus-item:hover {
    transform: translateX(5px);
}

.focus-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--brand-accent-light) 0%, var(--brand-primary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.focus-icon svg {
    width: 18px;
    height: 18px;
}

.focus-text strong {
    display: block;
    font-size: 0.9rem;
    color: var(--color-thunder);
    margin-bottom: 0.25rem;
}

.focus-text span {
    font-size: 0.8rem;
    color: #666;
}

.team-visual {
    position: relative;
}

.team-image-stack {
    position: relative;
}

.team-image-frame {
    border-radius: var(--radius-squircle);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.team-image-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.team-floating-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-squircle);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.badge-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--color-jewel) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-thunder);
}

@media (max-width: 968px) {
    .team-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-focus-areas {
        grid-template-columns: 1fr;
    }

    .team-floating-badge {
        bottom: -15px;
        left: 15px;
    }
}

/* Location Section */
.about-location {
    padding: 6rem 0;
    background: var(--bg-light);
}

.location-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: white;
    border-radius: var(--radius-squircle);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.location-content {
    padding: 3rem;
}

.location-details {
    margin-top: 2rem;
}

.location-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #555;
    font-size: 1rem;
}

.location-item svg {
    color: var(--brand-primary);
    flex-shrink: 0;
}

.location-map {
    background: linear-gradient(135deg, var(--color-jewel) 0%, var(--brand-primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    text-align: center;
    color: white;
}

.map-placeholder svg {
    opacity: 0.5;
    margin-bottom: 1rem;
}

.map-placeholder span {
    display: block;
    font-size: 1rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .location-card {
        grid-template-columns: 1fr;
    }

    .location-map {
        min-height: 200px;
    }
}