:root {
    --color-primary-blue: #0A355B;
    --color-primary-teal: #137374;
    --color-teal-light: #78C6C4;
    --color-accent-green: #98D29B;
    --color-accent-yellow: #FDBF49; /* Border yellow */
    --color-yellow-light: #FED992; /* BG yellow */
    --color-dark-navy: #032137;
    --color-gray-text: #434343;
    --color-white: #ffffff;
    
    /* Backgrounds with opacity */
    --bg-teal-20: rgba(120, 198, 196, 0.2);
    --bg-yellow-20: rgba(254, 217, 146, 0.2);
    --bg-yellow-dark-20: rgba(253, 191, 73, 0.2);
    --bg-green-20: rgba(152, 210, 155, 0.2);

    --font-heading: 'Figtree', sans-serif;
    --font-body: 'Nunito', sans-serif;
}

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

html {
    overflow-x: hidden;
    width: 100%;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-white);
    color: var(--color-gray-text);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ====================================
   Header (Reusing consistent styles)
   ==================================== */
.header-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 100px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 1px 10px rgba(0,0,0,0.05);
}

.header-menu.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.header-menu.visible {
    transform: translateY(0);
    opacity: 1;
}

.logo {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 30px;
    color: var(--color-primary-blue);
    display: inline-flex;
    gap: 6px;
}

/* Logo Animation */
.logo-rn {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    background-color: transparent;
    color: var(--color-primary-blue);
    transition: background-color 0.3s ease, color 0.3s ease;
    animation: rnHighlight 2s ease-in-out infinite;
}

.logo-analytics {
    display: inline-block;
    padding: 2px 0;
    color: var(--color-primary-blue);
    transition: opacity 0.3s ease;
    animation: analyticsHighlight 2s ease-in-out infinite;
}

@keyframes rnHighlight {
    0%, 100% {
        background-color: transparent;
        color: var(--color-primary-blue);
    }
    25%, 50% {
        background-color: var(--color-primary-blue);
        color: #fff;
    }
}

@keyframes analyticsHighlight {
    0%, 50% {
        opacity: 0.6;
    }
    75%, 100% {
        opacity: 1;
    }
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 20px;
    color: var(--color-dark-navy);
    transition: color 0.3s;
}

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

/* ====================================
   Hero Section
   ==================================== */
.hero-culture {
    position: relative;
    padding: 220px 100px 150px; /* Increased top padding for fixed header */
    display: flex;
    justify-content: center;
    text-align: center;
    z-index: 1;
}

/* The background shape */
.hero-bg-shape {
    position: absolute;
    top: 0;
    right: 0; /* Aligned to right */
    width: 90%; /* approx 1258/1440 */
    height: 100%;
    background: var(--bg-teal-20);
    border-top-left-radius: 334.5px;
    border-bottom-left-radius: 334.5px;
    z-index: -1;
}

.hero-content {
    max-width: 1165px;
    margin: 0 auto;
    padding-top: 50px;
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 70px;
    line-height: 90px;
    color: var(--color-dark-navy);
    margin-bottom: 40px;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 30px;
    line-height: 45px;
    color: var(--color-gray-text);
    max-width: 881px;
    margin: 0 auto;
}

/* ====================================
   Why We're Here
   ==================================== */
.why-section {
    position: relative;
    padding: 150px 100px;
    z-index: 1;
}

.why-bg-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 87%; /* approx 1255/1440 */
    height: 100%;
    background: var(--bg-teal-20);
    border-top-right-radius: 334.5px;
    border-bottom-right-radius: 334.5px;
    z-index: -1;
}

.section-label {
    display: block;
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 18px;
    line-height: 35px;
    color: var(--color-primary-teal);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.why-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 45px;
    line-height: 60px;
    color: var(--color-dark-navy);
    max-width: 1139px;
    margin-bottom: 50px;
}

.why-content-grid {
    display: flex;
    gap: 80px;
}

.why-text {
    flex: 1;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 25px;
    line-height: 40px;
    color: var(--color-gray-text);
    max-width: 600px;
}

.why-text p { margin-bottom: 30px; }

/* Placeholder for the image/border box on the right */
.why-decoration-box {
    width: 562px;
    height: 478px;
    background: white;
    border: 1px solid var(--color-teal-light);
    border-radius: 40px;
    flex-shrink: 0;
    /* In Figma it is just a box, maybe image placeholder? */
}

/* ====================================
   How We Show Up (Principles)
   ==================================== */
.principles-section {
    padding: 150px 100px;
    position: relative;
    text-align: center;
}

.principles-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 70px;
    line-height: 85px;
    color: var(--color-dark-navy);
    margin-bottom: 60px;
}

/* Custom Grid layout for the staggered cards */
.principles-container {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Vertical gap between rows */
    align-items: center; /* Center aligning simpler rows */
    max-width: 1200px;
    margin: 0 auto;
}

.principle-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.principle-card {
    height: 84px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}

.principle-card p {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 25px;
    color: var(--color-dark-navy);
    text-align: center;
}

/* Specific Card Styles based on Figma */
.pc-thoughtful {
    background: var(--bg-yellow-20);
    border: 1px solid var(--color-yellow-light);
    width: 456px;
}

.pc-uncomfortable {
    background: var(--bg-teal-20);
    border: 1px solid var(--color-teal-light);
    width: 496px;
}

.pc-quality {
    background: var(--bg-green-20);
    border: 1px solid var(--color-accent-green);
    width: 774px;
}

.pc-substance {
    background: var(--bg-teal-20);
    border: 1px solid var(--color-teal-light);
    width: 456px;
}

.pc-outcomes {
    background: var(--bg-yellow-20);
    border: 1px solid var(--color-accent-yellow);
    width: 465px;
}

.pc-clarity {
    background: var(--bg-yellow-20);
    border: 1px solid var(--color-yellow-light);
    width: 603px;
}

.pc-stand {
    background: var(--bg-green-20);
    border: 1px solid var(--color-teal-light);
    width: 617px;
}


/* ====================================
   What We Value
   ==================================== */
.values-section {
    background: var(--bg-yellow-dark-20);
    padding: 100px 100px;
    text-align: center;
}

.values-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 70px;
    line-height: 85px;
    color: var(--color-dark-navy);
    margin-top: 20px;
    margin-bottom: 80px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-card {
    background: white;
    border: 1px solid var(--color-accent-yellow);
    border-radius: 25px;
    padding: 40px 25px;
    text-align: left;
    height: 337px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.value-dot {
    width: 26px;
    height: 26px;
    background: #FFD9D9; /* Placeholder for dot image */
    border-radius: 50%;
    background-image: url('https://www.figma.com/api/mcp/asset/5ad91fee-bb35-4261-8892-78aa9bcd2f67');
    background-size: cover;
    margin-bottom: 20px;
}

.value-card h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 25px;
    line-height: 35px;
    color: var(--color-dark-navy);
    margin-bottom: 15px;
}

.value-card p {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 18px;
    line-height: 25px;
    color: var(--color-gray-text);
}


/* ====================================
   Our People (Testimonials)
   ==================================== */
.people-section {
    padding: 100px 100px;
    text-align: center;
}

.people-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 45px;
    line-height: 60px;
    color: var(--color-dark-navy);
    margin-bottom: 60px;
    margin-top: 10px;
}

.people-card {
    background: white;
    border: 1px solid var(--color-accent-green);
    border-radius: 70px 70px 70px 0; /* Rounded specific corners? Figma says: rounded-br-[70px] rounded-tl-[70px] rounded-tr-[70px] */
    border-bottom-left-radius: 0;
    padding: 80px 100px;
    max-width: 1029px;
    margin: 0 auto;
    position: relative;
}

.people-quote {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 25px;
    line-height: 35px;
    color: var(--color-gray-text);
    margin-bottom: 40px;
}

.people-logo {
    margin-bottom: 30px;
    height: 32px;
}

.people-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.people-author img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
}

.people-author-info {
    text-align: left;
}

.people-author-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 25px;
    color: var(--color-dark-navy);
    display: block;
}

.people-author-role {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 18px;
    color: var(--color-dark-navy);
}


/* ====================================
   Join Our Team
   ==================================== */
.join-section {
    background: var(--bg-green-20);
    padding: 150px 100px;
    position: relative;
    text-align: center;
}

.join-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 100px;
    line-height: 110px;
    color: var(--color-dark-navy);
    margin-bottom: 40px;
}

.join-text {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 25px;
    line-height: 35px;
    color: var(--color-dark-navy);
    max-width: 732px;
    margin: 0 auto 30px auto;
}

.btn-cta-culture {
    background: var(--color-primary-teal);
    border-radius: 25px;
    padding: 15px 40px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 30px;
}

.btn-cta-culture:hover {
    opacity: 0.9;
}


/* ====================================
   Footer (from Index)
   ==================================== */
.footer {
    background-color: var(--color-primary-blue);
    padding: 30px 50px 20px;
    position: relative;
}

.footer-content {
    display: flex;
    align-items: flex-start;
    gap: 50px;
}

.footer-logo-section {
    flex-shrink: 0;
}

.footer-logo {
    width: 100px;
    height: auto;
}

.footer-links-container {
    display: flex;
    gap: 25px;
    flex: 1;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 90px;
}

.footer-header {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 16px;
    color: var(--color-white);
    transition: opacity 0.3s;
}

.footer-header:hover {
    opacity: 0.8;
}

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

.contact-label {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    color: var(--color-white);
    line-height: 1.4;
}

.contact-value {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 14px;
    color: var(--color-white);
    line-height: 1.4;
}

.linkedin-link {
    display: inline-block;
}

.linkedin-link img {
    width: 20px;
    height: 20px;
}

.copyright {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 12px;
    color: var(--color-white);
    text-align: right;
    margin-top: 20px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-primary-blue);
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Active Hamburger State */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* ====================================
   Social Proof (Swimlane)
   ==================================== */
.social-proof {
    padding: 60px 0;
    text-align: center;
    overflow: hidden;
}

.social-proof-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 40px;
    line-height: 50px;
    color: var(--color-dark-navy);
    margin-bottom: 40px;
    padding: 0 20px;
}

.logo-scroll-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.logo-track {
    display: flex;
    align-items: center;
    gap: 60px;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.logo-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.client-logo {
    height: 50px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    opacity: 0.9;
    flex-shrink: 0;
}


/* ====================================
   Responsive
   ==================================== */
@media (max-width: 1200px) {
    .why-content-grid { flex-direction: column; }
    .why-decoration-box { width: 100%; height: 300px; }
    
    .values-grid { grid-template-columns: 1fr 1fr; }
    
    .hero-title { font-size: 50px; line-height: 1.2; }
    .principles-title { font-size: 50px; }
    
    /* Responsive rows for principles */
    .principle-row { flex-wrap: wrap; }
    .principle-card { width: 100%; max-width: 500px; height: auto; padding: 20px; }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--color-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease-in-out;
        box-shadow: none;
        z-index: 999;
        gap: 40px;
    }

    .nav-links.active {
        right: 0;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }
    
    .nav-links li {
        list-style: none;
    }

    .nav-links a {
        font-size: 24px;
        font-weight: 700;
    }
    
    .logo {
        z-index: 1000;
    }

    .header-menu, .hero-culture, .why-section, .principles-section, .values-section, .people-section, .join-section {
        padding: 40px 20px;
    }
    
    .hero-title { font-size: 28px; line-height: 1.3; }
    .hero-subtitle { font-size: 16px; line-height: 1.5; }
    
    .values-grid { grid-template-columns: 1fr; }
    .join-title { font-size: 26px; line-height: 1.3; }
    .btn-cta-culture { font-size: 16px; padding: 10px 20px; }
    
    .footer-content { flex-direction: column; }
    
    /* Fix fixed-width elements */
    .pc-thoughtful,
    .pc-uncomfortable,
    .pc-quality,
    .pc-substance,
    .pc-outcomes,
    .pc-clarity,
    .pc-stand,
    .principle-card {
        width: 100% !important;
        max-width: 100%;
        height: auto;
        padding: 20px;
    }
    
    .why-decoration-box {
        width: 100%;
        height: 200px;
    }
    
    .value-card {
        height: auto;
        min-height: 180px;
        padding: 25px 20px;
    }
    
    .value-card h3 {
        font-size: 20px;
        line-height: 1.3;
    }
    
    .value-card p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .why-title,
    .principles-title,
    .values-title {
        font-size: 26px;
        line-height: 1.3;
    }
    
    .why-text,
    .principle-title {
        font-size: 18px;
        line-height: 1.4;
    }
    
    .principle-desc {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .join-cta h2 {
        font-size: 24px;
    }
    
    .footer-links-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px 10px;
    }

    .footer-column {
        min-width: 0;
    }

    /* Left aligning columns */
    .footer-column:nth-child(1), 
    .footer-column:nth-child(4) {
        align-items: flex-start;
        text-align: left;
    }

    /* Center aligning columns */
    .footer-column:nth-child(2), 
    .footer-column:nth-child(5) {
        align-items: center;
        text-align: center;
    }

    /* Right aligning columns */
    .footer-column:nth-child(3) {
        align-items: flex-end;
        text-align: right;
    }
}
