:root {
    --carbon: #1a1a1a;
    --graphite: #2a2a2a;
    --growth: #52b788;
    --slate: #6a6a6a;
    --frost: #e8e8e8;
    --snow: #f8f8f8;
    --white: #ffffff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--graphite);
    background: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    font-family: 'DM Serif Display', Georgia, serif;
    line-height: 1.2;
    font-weight: 400;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--carbon);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--carbon);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--graphite);
}

p {
    font-size: clamp(1.05rem, 2vw, 1.15rem);
    line-height: 1.75;
    color: var(--slate);
}

strong {
    font-weight: 600;
    color: var(--graphite);
}

/* Scroll Progress Bar */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--growth);
    z-index: 1001;
    transition: width 0.1s linear;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--carbon);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    letter-spacing: 0.02em;
    position: relative;
}

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

.nav-links a.active:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--growth);
    border-radius: 1px;
}

.nav-links .nav-cta {
    background: var(--growth);
    color: var(--white);
    padding: 0.4rem 1.1rem;
    border-radius: 100px;
    transition: background 0.3s ease, color 0.3s ease;
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta.active {
    background: #3da574;
    color: var(--white);
}

.nav-links .nav-cta.active::after {
    display: none;
}

/* Hero Section */
.hero {
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 7rem 2rem 5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(82, 183, 136, 0.08) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-30px, 30px); }
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text .subtitle {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    color: var(--slate);
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.accent-line {
    width: 120px;
    height: 4px;
    background: var(--growth);
    margin-bottom: 2rem;
    opacity: 0;
    animation: expandWidth 0.8s ease-out 0.6s forwards;
}

@keyframes expandWidth {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 120px;
        opacity: 1;
    }
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: var(--growth);
    color: var(--white);
    text-decoration: none;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.01em;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

.hero-cta:hover {
    background: #3da574;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(82, 183, 136, 0.35);
}

.scroll-indicator {
    position: absolute;
    bottom: 1.75rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--slate);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1.2s forwards;
}

.scroll-indicator svg {
    width: 28px;
    height: 28px;
    animation: bounce 2s ease-in-out 1.5s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

.stat {
    border-left: 3px solid var(--growth);
    padding-left: 1.25rem;
}

.stat-number {
    font-family: 'DM Serif Display', serif;
    font-size: 2.5rem;
    color: var(--carbon);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--slate);
    font-weight: 500;
}

.hero-quote {
    position: relative;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.6s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.quote-card {
    background: var(--snow);
    padding: 3rem;
    border-radius: 8px;
    border-left: 4px solid var(--growth);
}

.quote-mark {
    font-family: 'DM Serif Display', serif;
    font-size: 5rem;
    color: var(--growth);
    opacity: 0.35;
    line-height: 0.6;
    margin-bottom: 1.5rem;
    display: block;
}

.quote-card p {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    line-height: 1.8;
    color: var(--graphite);
    font-style: italic;
}

/* Section Base */
section {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

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

.section-subtitle {
    color: var(--growth);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--snow);
    padding: 2.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--frost);
    transition: all 0.4s ease;
    position: relative;
}

.service-card:hover {
    border-left-color: var(--growth);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(26, 26, 26, 0.08);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    border: 2px solid var(--frost);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: var(--growth);
    border-color: var(--growth);
    transform: rotate(5deg) scale(1.1);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.service-list {
    list-style: none;
}

.service-list li {
    padding: 0.5rem 0;
    color: var(--slate);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-list li::before {
    content: '✓';
    color: var(--growth);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Challenge Section */
#challenge {
    background: var(--frost);
    padding: 6rem 2rem;
    max-width: none;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.challenge-intro {
    max-width: 860px;
    margin: 0 auto 3rem;
    text-align: center;
}

.challenge-intro p {
    font-size: clamp(1.15rem, 2.5vw, 1.3rem);
}

.challenge-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.challenge-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.challenge-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(26, 26, 26, 0.1);
}

.challenge-icon {
    width: 56px;
    height: 56px;
    background: rgba(82, 183, 136, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--growth);
    transition: background 0.3s ease;
}

.challenge-card:hover .challenge-icon {
    background: rgba(82, 183, 136, 0.2);
}

.challenge-icon svg {
    width: 26px;
    height: 26px;
}

.challenge-card h4 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--carbon);
    margin-bottom: 0.75rem;
}

.challenge-card p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--slate);
}

/* How I Help Section */
.how-i-help-body {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.how-i-help-body p {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    line-height: 1.8;
}

/* Experience Section (kept for class reuse) */

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

.experience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.expertise-areas {
    list-style: none;
    display: grid;
    gap: 1.5rem;
}

.expertise-item {
    background: var(--white);
    padding: 1.75rem;
    border-radius: 8px;
    border-left: 3px solid var(--growth);
    transition: transform 0.3s ease;
}

.expertise-item:hover {
    transform: translateX(8px);
}

.expertise-item h4 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--carbon);
    margin-bottom: 0.5rem;
}

.expertise-item p {
    font-size: 0.95rem;
    color: var(--slate);
}

.experience-text h3 {
    margin-bottom: 1.5rem;
}

.experience-text p {
    margin-bottom: 1.5rem;
}

.highlight-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border: 2px solid var(--growth);
    margin-top: 2rem;
}

.highlight-box p {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--graphite);
    line-height: 1.7;
}

/* Approach Section */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.approach-step {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    font-family: 'DM Serif Display', serif;
    font-size: 4rem;
    color: var(--frost);
    line-height: 1;
    margin-bottom: 1rem;
    font-style: italic;
}

.approach-step h4 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--carbon);
    margin-bottom: 1rem;
}

.approach-step p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.approach-step::after {
    content: '→';
    position: absolute;
    right: -1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--growth);
    font-weight: 700;
}

.approach-step:last-child::after {
    content: none;
}

/* Why Partner Section */
.partner-rows {
    margin-top: 3rem;
}

.partner-row {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 2rem;
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--frost);
    align-items: start;
    transition: background 0.3s ease;
}

.partner-row:first-child {
    border-top: 1px solid var(--frost);
}

.partner-number {
    font-family: 'DM Serif Display', serif;
    font-size: 3.5rem;
    color: var(--frost);
    line-height: 1;
    font-style: italic;
    transition: color 0.3s ease;
    user-select: none;
}

.partner-row:hover .partner-number {
    color: var(--growth);
}

.partner-row-content h4 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--carbon);
    margin-bottom: 0.6rem;
}

.partner-row-content p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--slate);
}

@media (max-width: 640px) {
    .partner-row {
        grid-template-columns: 60px 1fr;
        gap: 1.25rem;
    }

    .partner-number {
        font-size: 2.5rem;
    }
}

/* Cases Section */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.case-card {
    text-decoration: none;
    display: block;
    background: var(--snow);
    border-radius: 8px;
    border: 1px solid var(--frost);
    border-left: 4px solid var(--frost);
    transition: all 0.35s ease;
}

.case-card:hover {
    border-left-color: var(--growth);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(26, 26, 26, 0.08);
}

.case-card-inner {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.case-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--growth);
}

.case-card h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
    color: var(--carbon);
    line-height: 1.3;
}

.case-card p {
    font-size: 1rem;
    color: var(--slate);
    line-height: 1.7;
}

.case-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--growth);
    margin-top: 0.5rem;
    transition: gap 0.3s ease;
}

.case-read-more svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.case-card:hover .case-read-more svg {
    transform: translateX(4px);
}

.case-card--coming-soon {
    opacity: 0.45;
    pointer-events: none;
    border-left-color: var(--frost);
    border-style: dashed;
}

.case-card--coming-soon:hover {
    transform: none;
    box-shadow: none;
    border-left-color: var(--frost);
}

.case-tag--muted {
    color: var(--slate);
}

/* Testimonials Section */
.testimonial-carousel {
    position: relative;
}

.testimonial-track {
    position: relative;
}

.testimonial-track .testimonial-card {
    display: none;
}

.testimonial-track .testimonial-card.active {
    display: block;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 2rem;
}

.testimonial-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #d0d0d0;
    background: transparent;
    color: var(--slate);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.testimonial-btn:hover {
    border-color: var(--growth);
    color: var(--growth);
}

.testimonial-btn svg {
    width: 18px;
    height: 18px;
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d0d0d0;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.25s ease, transform 0.25s ease;
}

.testimonial-dot.active {
    background: var(--growth);
    transform: scale(1.25);
}

#testimonials {
    background: var(--snow);
    padding: 6rem 2rem;
    max-width: none;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.testimonial-wrapper {
    max-width: 1320px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
    text-align: left;
}

@media (max-width: 860px) {
    .testimonial-cards {
        grid-template-columns: 1fr;
    }
}

.testimonial-card {
    background: var(--white);
    border-radius: 8px;
    padding: 3rem;
    border: 1px solid var(--frost);
    text-align: left;
    position: relative;
}

.testimonial-quote-mark {
    font-family: 'DM Serif Display', serif;
    font-size: 5rem;
    color: var(--growth);
    opacity: 0.3;
    line-height: 0.6;
    margin-bottom: 1.5rem;
    display: block;
}

.testimonial-card blockquote p {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.15rem, 2.5vw, 1.35rem);
    line-height: 1.75;
    color: var(--graphite);
    font-style: italic;
    font-weight: 400;
}

.testimonial-attribution {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--frost);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--frost);
    flex-shrink: 0;
}

.testimonial-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--carbon);
    margin-bottom: 0.2rem;
}

.testimonial-role {
    font-size: 0.9rem;
    color: var(--slate);
}

/* Contact Section */
#contact {
    background: var(--carbon);
    color: var(--white);
    padding: 6rem 2rem;
    max-width: none;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    text-align: center;
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
}

#contact h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

#contact .section-subtitle {
    color: var(--growth);
}

#contact p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.15rem;
    margin-bottom: 3rem;
}

.contact-methods {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: var(--growth);
    color: var(--white);
    text-decoration: none;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    border: 2px solid var(--growth);
}

.contact-button:hover {
    background: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(82, 183, 136, 0.3);
}

.contact-button.secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.contact-button.secondary:hover {
    border-color: var(--growth);
    background: rgba(82, 183, 136, 0.1);
}

.footer-note {
    margin-top: 4rem;
    padding-top: 2rem;
    padding-bottom: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* Responsive Design */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }

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

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .visual-block::before {
        display: none;
    }

    .challenge-cards {
        grid-template-columns: 1fr;
    }

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

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

    .approach-step::after {
        content: '↓';
        right: 50%;
        top: auto;
        bottom: -1.5rem;
        transform: translateX(50%);
    }

    .contact-methods {
        flex-direction: column;
        align-items: center;
    }

    .contact-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    section {
        padding: 4rem 1.5rem;
    }

    .nav-content {
        padding: 1rem 1.5rem;
    }

    .hero {
        padding: 6rem 1.5rem 3rem;
    }

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