/* ================================
   Aidstack.ai - Brand Stylesheet
   Following brand guidelines:
   - Colors: Navy #1A365D, Orange #FF6B35, Slate #475569
   - Typography: Space Grotesk (headings), Inter (body)
   ================================ */

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors */
    --navy: #1A365D;
    --orange: #FF6B35;
    --slate-dark: #0F172A;
    --slate-medium: #475569;
    --slate-light: #94A3B8;
    --white: #FFFFFF;
    --off-white: #F8FAFC;
    --light-gray: #F1F5F9;

    /* Semantic Colors */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --info: #3B82F6;

    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Transitions */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--slate-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--navy);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.375rem; font-weight: 500; }
h5 { font-size: 1.125rem; font-weight: 500; }

p {
    margin-bottom: 1rem;
    color: var(--slate-medium);
    font-size: 1rem;
    line-height: 1.625;
}

.lead {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--slate-dark);
}

a {
    color: var(--navy);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--orange);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--orange);
    color: var(--white);
    border-color: var(--orange);
}

.btn-primary:hover {
    background-color: #e85a28;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--navy);
    border-color: var(--navy);
}

.btn-secondary:hover {
    background-color: var(--navy);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--navy);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.1);
    transition: var(--transition);
}

.nav.scrolled {
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.3);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--orange);
    transition: var(--transition);
}

.logo:hover {
    color: var(--white);
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--white);
    position: relative;
    opacity: 0.9;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--orange);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--white);
    opacity: 1;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 1.5rem;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 50%, var(--off-white) 100%);
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-background::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(26, 54, 93, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--navy);
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--slate-medium);
    margin-bottom: 2.5rem;
    max-width: 700px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--light-gray);
}

.stat {
    text-align: left;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--slate-medium);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Section Styles */
section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--slate-medium);
}

/* Challenge Section */
.challenge {
    background-color: var(--off-white);
}

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

.challenge-content .lead {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.challenge-content .lead-secondary {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--orange);
    font-family: var(--font-heading);
}

/* Transformation Flow */
.transformation-flow {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 1.5rem;
    padding: 3rem 0;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    min-width: 200px;
    flex: 1;
    max-width: 280px;
}

.step-number {
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.step-label {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--navy);
    text-align: center;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
}

.step-visual {
    width: 100%;
    padding: 2rem;
    border-radius: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    min-height: 180px;
}

.step-visual.locked {
    background-color: var(--light-gray);
    border: 2px dashed var(--slate-medium);
}

.mini-system {
    background-color: var(--white);
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-dark);
    width: 100%;
    border: 1px solid var(--light-gray);
}

.mini-system svg {
    width: 1.125rem;
    height: 1.125rem;
    stroke: var(--slate-medium);
    flex-shrink: 0;
}

.step-visual.orchestrated {
    background: linear-gradient(135deg, var(--orange) 0%, #e85a28 100%);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.step-visual.orchestrated svg {
    width: 2.5rem;
    height: 2.5rem;
    stroke: var(--white);
    stroke-width: 2.5px;
}

.step-visual.orchestrated span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.step-visual.symphony {
    background: linear-gradient(135deg, var(--navy) 0%, #0f2744 100%);
    box-shadow: 0 10px 30px rgba(26, 54, 93, 0.3);
}

.step-visual.symphony svg {
    width: 3rem;
    height: 3rem;
    stroke: var(--orange);
    stroke-width: 2px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.flow-arrow {
    display: flex;
    align-items: center;
    padding-top: 5rem;
}

.flow-arrow svg {
    width: 2rem;
    height: 2rem;
    stroke: var(--orange);
    stroke-width: 3px;
}

/* Ecosystem Section */
.ecosystem {
    background-color: var(--white);
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.ecosystem-card {
    background-color: var(--off-white);
    padding: 2.5rem;
    border-radius: 0.75rem;
    border: 2px solid var(--light-gray);
    transition: var(--transition);
}

.ecosystem-card:hover {
    border-color: var(--orange);
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.15);
}

.ecosystem-card h3 {
    color: var(--navy);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.ecosystem-card h4 {
    color: var(--orange);
    font-size: 1.125rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.ecosystem-card p {
    margin-bottom: 1.5rem;
}

.ecosystem-card ul {
    list-style: none;
    padding: 0;
}

.ecosystem-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--slate-medium);
    font-size: 0.9375rem;
}

.ecosystem-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: 700;
}

.ecosystem-footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--navy);
    border-radius: 0.75rem;
}

.ecosystem-footer p {
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 500;
    margin: 0;
}

/* Why AidStack Section */
.why-aidstack {
    background-color: var(--off-white);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.pillar-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 0.75rem;
    border: 2px solid var(--light-gray);
    transition: var(--transition);
    text-align: center;
}

.pillar-card:hover {
    border-color: var(--navy);
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(26, 54, 93, 0.15);
}

.pillar-card .pillar-icon {
    margin-bottom: 1.5rem;
}

.pillar-card .pillar-icon svg {
    width: 3.5rem;
    height: 3.5rem;
    stroke: var(--orange);
    stroke-width: 2px;
    margin: 0 auto;
}

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

.pillar-card p {
    margin: 0;
}

/* What We Do Section */
.what-we-do {
    background-color: var(--white);
}

/* Our Work Section */
.our-work {
    background-color: var(--off-white);
}

/* Impact Section */
.impact {
    background-color: var(--white);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.impact-card {
    text-align: center;
    padding: 2rem;
}

.impact-icon {
    margin-bottom: 1.5rem;
}

.impact-icon svg {
    width: 3.5rem;
    height: 3.5rem;
    stroke: var(--orange);
    stroke-width: 2px;
    margin: 0 auto;
}

.impact-card h3 {
    font-size: 1.375rem;
    margin-bottom: 1rem;
}

.impact-card p {
    margin: 0;
    color: var(--slate-medium);
}

.impact-footer {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--off-white);
    border-radius: 0.75rem;
}

.impact-footer p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin: 0;
}

/* How We Build Section */
.how-we-build {
    background-color: var(--off-white);
}

.tech-footer {
    text-align: center;
    max-width: 900px;
    margin: 3rem auto 0;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 0.75rem;
    border: 2px solid var(--light-gray);
}

.tech-footer p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--slate-medium);
    margin: 0;
}

/* Join Us Section */
.join-us {
    background: linear-gradient(135deg, var(--navy) 0%, #0f2744 100%);
    color: var(--white);
}

.join-us .section-title {
    color: var(--white);
}

.join-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.join-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: var(--transition);
}

.join-card:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--orange);
    transform: translateY(-5px);
}

.join-card h3 {
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.join-card p {
    color: var(--white);
    opacity: 0.9;
    margin-bottom: 2rem;
    font-size: 1.0625rem;
}

.join-card .btn {
    width: 100%;
}

.join-footer {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.join-footer p {
    color: var(--white);
    opacity: 0.9;
    margin: 0;
}

.join-footer a {
    color: var(--orange);
    text-decoration: underline;
}

.join-footer a:hover {
    color: var(--white);
}

/* About Section - Removed, replaced by Challenge and Ecosystem */

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

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

.mission-box {
    background-color: var(--navy);
    color: var(--white);
    padding: 2rem;
    border-radius: 0.75rem;
    margin-top: 2rem;
}

.mission-box h3 {
    color: var(--orange);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.mission-box p {
    color: var(--white);
    font-size: 1.125rem;
    margin: 0;
}

.about-pillars {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.pillar {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 2px solid var(--light-gray);
    transition: var(--transition);
}

.pillar:hover {
    border-color: var(--orange);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.1);
}

.pillar-icon {
    margin-bottom: 1rem;
}

.pillar-icon svg {
    width: 2.5rem;
    height: 2.5rem;
    stroke: var(--orange);
    stroke-width: 2px;
}

.pillar h4 {
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.pillar p {
    margin: 0;
    font-size: 0.9375rem;
}

/* Products Section */
.products {
    background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 100%);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    border: 2px solid var(--light-gray);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.product-card:hover {
    border-color: var(--orange);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.2);
}

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

.product-icon svg {
    width: 3rem;
    height: 3rem;
    stroke: var(--navy);
    stroke-width: 2px;
}

.product-badge {
    background-color: var(--success);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-badge:contains("Coming Soon") {
    background-color: var(--warning);
}

.product-card h3 {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
    color: var(--navy);
}

.product-domain {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    color: var(--orange);
    margin-bottom: 1rem;
}

.product-description {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--slate-medium);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.product-features span {
    background-color: var(--off-white);
    color: var(--slate-dark);
    padding: 0.375rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.8125rem;
    font-weight: 500;
    border: 1px solid var(--light-gray);
}

.product-cta {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--orange);
    font-size: 1rem;
    transition: var(--transition);
}

.product-card:hover .product-cta {
    transform: translateX(5px);
    color: var(--navy);
}

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

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0.75rem;
    border: 2px solid var(--light-gray);
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--navy);
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(26, 54, 93, 0.15);
}

.service-icon {
    margin-bottom: 1rem;
}

.service-icon svg {
    width: 3rem;
    height: 3rem;
    stroke: var(--orange);
    stroke-width: 2px;
}

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

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

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--slate-medium);
    font-size: 0.9375rem;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: 700;
}

/* Work Section */
.work {
    background-color: var(--off-white);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.work-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0.75rem;
    border-left: 4px solid var(--orange);
    transition: var(--transition);
}

.work-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(26, 54, 93, 0.15);
}

.work-tag {
    display: inline-block;
    background-color: var(--orange);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.work-card h3 {
    font-size: 1.375rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.inline-icon {
    display: inline-block;
}

.inline-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke: var(--orange);
    stroke-width: 2px;
}

.work-card p {
    margin: 0;
}

/* Approach Section */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.approach-card {
    position: relative;
    padding: 2rem;
    padding-top: 3.5rem;
}

.approach-number {
    position: absolute;
    top: 0;
    left: 2rem;
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--orange);
    opacity: 0.2;
    line-height: 1;
}

.approach-card h3 {
    font-size: 1.375rem;
    margin-bottom: 1rem;
    position: relative;
}

.approach-card p {
    margin: 0;
}

.approach-quote {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
    background-color: var(--navy);
    border-radius: 0.75rem;
    text-align: center;
}

.approach-quote p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--white);
    font-style: italic;
    margin: 0;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--off-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.testimonial-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

.testimonial-quote {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--slate-dark);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-quote::before {
    content: '"';
    font-size: 3rem;
    color: var(--orange);
    line-height: 0;
    display: block;
    margin-bottom: 1rem;
}

.testimonial-author {
    border-top: 2px solid var(--light-gray);
    padding-top: 1rem;
}

.testimonial-name {
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.testimonial-org {
    font-size: 0.875rem;
    color: var(--slate-medium);
}

/* Partners Section */
.partners {
    background-color: var(--navy);
    color: var(--white);
}

.partners .section-title {
    color: var(--white);
}

.partners-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.partner-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--white);
    transition: var(--transition);
}

.partner-item svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke: var(--orange);
    stroke-width: 2px;
    flex-shrink: 0;
}

.partner-item:hover {
    background-color: rgba(255, 107, 53, 0.2);
    transform: translateY(-3px);
}

/* Tech Stack Section */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.tech-category h4 {
    color: var(--navy);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-tags span {
    background-color: var(--off-white);
    color: var(--slate-dark);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--light-gray);
    transition: var(--transition);
}

.tech-tags span:hover {
    background-color: var(--orange);
    color: var(--white);
    border-color: var(--orange);
    transform: translateY(-2px);
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--navy) 0%, #0f2744 100%);
    color: var(--white);
}

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

.contact-info h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-info .lead {
    color: var(--white);
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

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

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    transition: var(--transition);
    color: var(--white);
}

.contact-method:hover {
    background-color: rgba(255, 107, 53, 0.2);
    transform: translateX(10px);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 2rem;
    height: 2rem;
    stroke: var(--orange);
    stroke-width: 2px;
}

.contact-label {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: 0.25rem;
}

.contact-value {
    font-weight: 600;
    font-size: 1rem;
}

.cta-box {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 0.75rem;
    text-align: center;
}

.cta-box h3 {
    color: var(--navy);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-box p {
    color: var(--slate-medium);
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background-color: var(--slate-dark);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--orange);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: var(--slate-light);
    font-size: 0.9375rem;
    margin: 0 0 0.5rem 0;
}

.footer-email {
    color: var(--orange);
    font-size: 0.9375rem;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--slate-light);
    font-size: 0.9375rem;
}

.footer-links a:hover {
    color: var(--orange);
}

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

.footer-bottom p {
    color: var(--slate-light);
    font-size: 0.875rem;
    margin: 0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--navy);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(15, 23, 42, 0.3);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }

    .nav-menu .nav-link {
        color: var(--white);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Hero */
    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    /* Challenge - Transformation Flow */
    .transformation-flow {
        flex-direction: column;
        gap: 1rem;
    }

    .flow-step {
        max-width: 100%;
        min-width: 100%;
    }

    .flow-arrow {
        padding-top: 0;
        padding: 1rem 0;
    }

    .flow-arrow svg {
        transform: rotate(90deg);
    }

    /* Ecosystem */
    .ecosystem-grid {
        grid-template-columns: 1fr;
    }

    /* Why AidStack */
    .pillars-grid {
        grid-template-columns: 1fr;
    }

    /* Impact */
    .impact-grid {
        grid-template-columns: 1fr;
    }

    /* Join Us */
    .join-grid {
        grid-template-columns: 1fr;
    }

    /* Products */
    .products-grid {
        grid-template-columns: 1fr;
    }

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

    /* Work */
    .work-grid {
        grid-template-columns: 1fr;
    }

    /* Approach */
    .approach-grid {
        grid-template-columns: 1fr;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Partners */
    .partners-list {
        grid-template-columns: 1fr;
    }

    /* Tech Stack */
    .tech-grid {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 1.875rem;
    }

    .btn {
        width: 100%;
    }

    .approach-quote {
        padding: 2rem;
    }

    .approach-quote p {
        font-size: 1rem;
    }
}

/* Smooth Scroll */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Print Styles */
@media print {
    .nav,
    .mobile-menu-toggle,
    .hero-cta,
    .btn {
        display: none;
    }
}
