:root {
    --primary-blue: #1a4d7a;
    --secondary-blue: #2c6ba6;
    --accent-blue: #4a90d9;
    --dark-blue: #0d2c4a;
    --light-blue: #e8f1f8;
    
    --text-dark: #1a1a1a;
    --text-gray: #4a4a4a;
    --text-light: #6a6a6a;
    
    --white: #ffffff;
    --off-white: #f8f9fa;
    --border-gray: #d4d4d4;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Prevent horizontal scroll on mobile */
html, body {
    overflow-x: hidden;
    width: 100%;
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    border-bottom: 1px solid var(--border-gray);
    z-index: 1000;
    animation: slideDown 0.6s ease-out;
}

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

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem var(--spacing-md);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 1001; /* Above mobile menu */
}

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

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

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 400;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
    display: block;
    padding: 0.5rem 0;
}

.nav-links a.btn-login {
    padding: 0.875rem 2.5rem !important;
    background: var(--primary-blue);
    color: var(--white) !important;
    border-radius: 2px;
    font-weight: 400;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    min-width: 140px;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

.nav-links a.btn-login:hover {
    background: var(--dark-blue);
    color: var(--white) !important;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-blue);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    background: transparent;
    border: none;
    /* Minimum touch target */
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
    display: block;
}

/* Mobile toggle animation */
.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.9;
    filter: blur(3px);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(135deg, rgba(26, 77, 122, 0.6) 0%, rgba(13, 44, 74, 0.7) 100%),
        repeating-linear-gradient(90deg, transparent, transparent 49px, rgba(26, 77, 122, 0.05) 49px, rgba(26, 77, 122, 0.05) 50px),
        repeating-linear-gradient(0deg, transparent, transparent 49px, rgba(26, 77, 122, 0.05) 49px, rgba(26, 77, 122, 0.05) 50px);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    width: 100%;
}

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

.hero-text {
    max-width: 800px;
    margin-bottom: var(--spacing-lg);
}

.hero-text-wide {
    max-width: 1000px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem); /* Fluid typography */
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: #FFFFFF;
}

.hero-title-large {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 2.5rem;
}

.title-line {
    display: block;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem); /* Fluid typography */
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--spacing-md);
    max-width: 600px;
    line-height: 1.7;
}

.hero-subtitle-large {
    font-size: clamp(1.3rem, 2.5vw, 2.1rem);
    max-width: 950px;
}

.hero-subtitle-spaced {
    margin-top: 1.5rem;
}

.text-highlight {
    color: var(--accent-blue);
    font-weight: 600;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3.5rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    z-index: 3;
    opacity: 0.9;
    transition: opacity 0.3s ease;
    animation: bounce 2s infinite;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-indicator svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.scroll-indicator svg path {
    stroke: white;
    fill: none;
}

.scroll-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: var(--spacing-md);
    flex-wrap: wrap; /* Allow wrapping on very small screens */
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    text-decoration: none;
    border-radius: 2px;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid transparent;
    font-size: 0.95rem;
    /* Minimum touch target */
    min-height: 44px;
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--dark-blue);
    border-color: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 77, 122, 0.2);
}

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

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

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

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 700px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.stat-item {
    text-align: left;
    border-left: 3px solid var(--primary-blue);
    padding-left: 1.5rem;
}

.stat-number {
    font-size: clamp(2rem, 5vw, 3rem); /* Fluid typography */
    font-weight: 600;
    color: var(--primary-blue);
    font-family: 'IBM Plex Mono', monospace;
    line-height: 1;
    margin-bottom: 0.5rem;
}

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

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

.approach-section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    margin-bottom: var(--spacing-lg);
}

.section-header.centered {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--spacing-lg);
}

.section-label {
    display: inline-block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    font-weight: 500;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem); /* Fluid typography */
    font-weight: 600;
    color: var(--dark-blue);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-description {
    font-size: clamp(1rem, 2vw, 1.1rem); /* Fluid typography */
    color: var(--text-gray);
    line-height: 1.7;
}

/* Capabilities Section */
.capabilities {
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.capabilities-bg {
    background: var(--off-white);
}

.philosophy-background-img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.25;
    background-image:
        repeating-linear-gradient(90deg, transparent, transparent 49px, rgba(26, 77, 122, 0.15) 49px, rgba(26, 77, 122, 0.15) 50px),
        repeating-linear-gradient(0deg, transparent, transparent 49px, rgba(26, 77, 122, 0.15) 49px, rgba(26, 77, 122, 0.15) 50px);
    pointer-events: none;
}

.philosophy-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.philosophy-text {
    max-width: 100%;
}

.philosophy-paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.philosophy-paragraph-last {
    margin-bottom: 0;
}

.philosophy-image {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.philosophy-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.philosophy-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 77, 122, 0.25) 0%, rgba(13, 44, 74, 0.30) 100%);
    pointer-events: none;
    z-index: 1;
}

.philosophy-image:hover .philosophy-img {
    transform: scale(1.05);
}

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

.capability-card {
    background: var(--white);
    padding: 2.5rem;
    border: 1px solid var(--border-gray);
    transition: var(--transition);
    position: relative;
}

.capability-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--primary-blue);
    transition: height 0.4s ease;
}

.capability-card:hover::before {
    height: 100%;
}

.capability-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.capability-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-blue);
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.capability-card h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.capability-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Approach Section */
.approach-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

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

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

.about-paragraph {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.capability-items-grid {
    display: grid;
    gap: 1.5rem;
}

.capability-item-card {
    display: flex;
    align-items: start;
    gap: 1rem;
    padding: 1.25rem;
    border-left: 4px solid var(--primary-blue);
    background: var(--light-blue);
    transition: var(--transition);
    cursor: default;
}

.capability-item-card:hover {
    background: var(--white);
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(26, 77, 122, 0.15);
}

.capability-item-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.25rem;
    transition: var(--transition);
}

.capability-item-card:hover .capability-item-icon {
    background: var(--dark-blue);
    transform: scale(1.1);
}

.capability-item-text {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.7;
}

.approach-description {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: var(--text-gray);
    line-height: 1.7;
    margin-top: 1rem;
}

.approach-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    padding: 2rem 0;
}

.step-number {
    font-family: 'IBM Plex Mono', monospace;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 500;
    color: var(--accent-blue);
    opacity: 0.4;
}

.step-content h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 0.75rem;
}

.step-content p {
    color: var(--text-gray);
    line-height: 1.7;
}

.step-connector {
    width: 2px;
    height: 40px;
    background: var(--border-gray);
    margin-left: 39px;
}

/* Partners Section */
.partners {
    background: var(--light-blue);
}

/* CTA Section */
.cta-section {
    background: var(--dark-blue);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.cta-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.25;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 77, 122, 0.4) 0%, rgba(13, 44, 74, 0.5) 100%);
    z-index: 1;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.cta-content p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: var(--spacing-md);
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    text-decoration: none;
}

.footer-logo .logo-img {
    height: 28px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-width: 300px;
}

.footer-col h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    /* Better touch targets */
    display: inline-block;
    padding: 0.25rem 0;
}

.footer-col a:hover {
    color: var(--accent-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ========================================
   SCROLL ANIMATIONS & PARALLAX
   ======================================== */

/* Base animation class - elements start invisible and shifted down */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* When element enters viewport, fade in and move to position */
.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Fade in from left */
.animate-fade-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-fade-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Fade in from right */
.animate-fade-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-fade-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Scale up animation */
.animate-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-scale.animate-in {
    opacity: 1;
    transform: scale(1);
}

/* Staggered animations - delay each item slightly */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Parallax images - smooth GPU-accelerated transform */
.parallax-bg {
    will-change: transform;
    transition: transform 0.1s ease-out;
}

/* Accessibility - disable animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll,
    .animate-fade-left,
    .animate-fade-right,
    .animate-scale,
    .parallax-bg {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ========================================
   RESPONSIVE DESIGN - TABLET & MOBILE
   ======================================== */

/* Tablet - 1024px and below */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .approach-content {
        gap: 3rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
}

/* Large Tablet - 968px and below */
@media (max-width: 968px) {
    :root {
        --spacing-xl: 4rem; /* Reduce large spacing */
        --spacing-lg: 3rem;
    }

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

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

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

    .philosophy-image {
        order: -1;
    }

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

    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }

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

    .capability-card {
        padding: 2rem;
    }

    .step {
        grid-template-columns: 70px 1fr;
        gap: 1.5rem;
    }

    .step-connector {
        margin-left: 34px;
    }
}

/* Mobile - 768px and below */
@media (max-width: 768px) {
    :root {
        --spacing-xl: 3rem; /* Further reduce spacing */
        --spacing-lg: 2rem;
        --spacing-md: 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    /* Mobile Navigation */
    .nav-links {
        position: fixed;
        top: 73px; /* Below navbar */
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid var(--border-gray);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease;
    }
    
    .nav-links.active {
        max-height: 500px;
        opacity: 1;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--border-gray);
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .nav-links .btn-login {
        margin: 0.5rem 1rem;
        width: calc(100% - 2rem);
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-links a {
        padding: 1rem;
        width: 100%;
        /* Better touch targets */
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-links a.active::after {
        display: none; /* Remove underline on mobile */
    }
    
    .mobile-toggle {
        display: flex;
    }

    /* Hero Adjustments */
    .hero {
        padding: 100px 0 40px;
        min-height: 85vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hero-text {
        margin-bottom: 2rem;
    }

    /* Adjust scroll indicator position on mobile */
    .scroll-indicator {
        bottom: 2rem;
    }

    .scroll-indicator svg path {
        stroke: white !important;
        fill: none;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }
    
    .stat-item {
        border-left: none;
        border-top: 3px solid var(--primary-blue);
        padding-left: 0;
        padding-top: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    /* About Content - Fix squishing */
    .about-content {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    /* Sections */
    section {
        padding: 3rem 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    /* Cards */
    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .capability-card {
        padding: 1.5rem;
    }
    
    /* Steps */
    .step {
        grid-template-columns: 60px 1fr;
        gap: 1rem;
        padding: 1.5rem 0;
    }

    .step-connector {
        margin-left: 29px;
        height: 30px;
    }
    
    /* Footer */
    .footer {
        padding: 3rem 0 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-tagline {
        max-width: 100%;
        margin: 0 auto;
    }
}

/* Small Mobile - 480px and below */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .capability-card {
        padding: 1.25rem;
    }

    .capability-icon {
        width: 48px;
        height: 48px;
    }

    .step {
        grid-template-columns: 50px 1fr;
    }

    .step-number {
        font-size: 1.75rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    /* Hide scroll indicator text on small screens */
    .scroll-text {
        display: none;
    }

    .scroll-indicator {
        bottom: 1rem;
        right: 1.5rem;
    }
}

/* Very Small Mobile - 360px and below */
@media (max-width: 360px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .nav-container {
        padding: 1rem;
    }
}

/* Landscape Mobile Optimization */
@media (max-width: 968px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 100px 0 40px;
    }

    section {
        padding: 2rem 0;
    }
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */

/* Parallax effect */
.parallax-bg {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* Base animation state - hidden */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Visible state */
.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Fade in from left */
.animate-fade-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-fade-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Fade in from right */
.animate-fade-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-fade-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger delays for multiple items */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Scale animation for images */
.animate-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-scale.animate-in {
    opacity: 1;
    transform: scale(1);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll,
    .animate-fade-left,
    .animate-fade-right,
    .animate-scale {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .parallax-bg {
        transform: none !important;
    }
}
