/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #1a2e5a;
    --navy-dark: #0f1d3d;
    --blue: #2b5ea7;
    --blue-light: #4a8ec2;
    --blue-pale: #d6e6f5;
    --blue-bg: #eef4fa;
    --accent: #f59e0b;
    --accent-hover: #d97706;
    --text: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-800: #1f2937;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-lg: 20px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: box-shadow 0.3s, background 0.3s;
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(26,46,90,0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

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

.logo-img {
    height: 56px;
    width: auto;
}

.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-list a {
    color: var(--navy);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-cta {
    background: var(--navy);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600 !important;
    transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
    background: var(--blue) !important;
    transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all 0.3s;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

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

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.25s;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

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

.btn-primary:hover {
    background: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26,46,90,0.25);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
}

/* ===== Hero ===== */
.hero {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 40%, var(--blue) 100%);
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74,142,194,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245,158,11,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.hero-label {
    display: inline-block;
    color: var(--blue-light);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
}

.highlight {
    background: linear-gradient(135deg, var(--blue-light), #7bb8e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    max-width: 620px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== Sections ===== */
.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--blue-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.2;
}

/* ===== About ===== */
.about-grid {
    display: grid;
    gap: 60px;
}

.about-text {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.value-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-pale);
    border-radius: 50%;
    color: var(--navy);
}

.value-card h3 {
    font-size: 1.15rem;
    color: var(--navy);
    margin-bottom: 8px;
}

.value-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== Services ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy), var(--blue));
    border-radius: 16px;
    color: var(--white);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 12px;
}

.service-card > p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

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

.service-features li {
    position: relative;
    padding-left: 24px;
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 8px;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--blue-light);
    border-radius: 50%;
}

/* ===== Results ===== */
.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.result-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 24px;
    text-align: center;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
}

.result-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.result-metric {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 12px;
    line-height: 1;
}

.result-desc {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== Testimonials ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--blue));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.author-name {
    font-weight: 600;
    color: var(--navy);
    font-size: 0.95rem;
}

.author-title {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ===== Process ===== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--blue));
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.process-step h3 {
    font-size: 1.15rem;
    color: var(--navy);
    margin-bottom: 10px;
}

.process-step p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy), var(--blue));
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto 32px;
}

.cta-section .btn-primary {
    background: var(--accent);
    color: var(--white);
}

.cta-section .btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 8px 24px rgba(245,158,11,0.3);
}

/* ===== Contact ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1rem;
    color: var(--navy);
    font-weight: 500;
}

.contact-item svg {
    color: var(--blue);
    flex-shrink: 0;
}

.contact-form {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--gray-200);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text);
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(43,94,167,0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* ===== Footer ===== */
.footer {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    height: 60px;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 320px;
}

.footer-links h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.2s;
}

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

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.4);
}

/* ===== Animations ===== */
.animate-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delay for grids */
.services-grid .animate-in:nth-child(2) { transition-delay: 0.1s; }
.services-grid .animate-in:nth-child(3) { transition-delay: 0.2s; }
.services-grid .animate-in:nth-child(4) { transition-delay: 0.3s; }

.results-grid .animate-in:nth-child(2) { transition-delay: 0.1s; }
.results-grid .animate-in:nth-child(3) { transition-delay: 0.2s; }
.results-grid .animate-in:nth-child(4) { transition-delay: 0.3s; }

.testimonials-grid .animate-in:nth-child(2) { transition-delay: 0.1s; }
.testimonials-grid .animate-in:nth-child(3) { transition-delay: 0.2s; }

.process-grid .animate-in:nth-child(2) { transition-delay: 0.1s; }
.process-grid .animate-in:nth-child(3) { transition-delay: 0.2s; }
.process-grid .animate-in:nth-child(4) { transition-delay: 0.3s; }

.about-values .animate-in:nth-child(2) { transition-delay: 0.1s; }
.about-values .animate-in:nth-child(3) { transition-delay: 0.2s; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero h1 { font-size: 2.8rem; }
    .results-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-list {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 24px;
        gap: 0;
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        transition: transform 0.3s, opacity 0.3s;
    }

    .nav-list.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-list li {
        border-bottom: 1px solid var(--gray-100);
    }

    .nav-list li:last-child {
        border-bottom: none;
        margin-top: 12px;
    }

    .nav-list a {
        display: block;
        padding: 14px 0;
        font-size: 1.05rem;
    }

    .nav-cta {
        text-align: center;
    }

    .hero {
        padding: 130px 0 80px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-sub {
        font-size: 1.05rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .section {
        padding: 70px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .about-values {
        grid-template-columns: 1fr;
    }

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

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

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

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .cta-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

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

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

    .contact-form {
        padding: 24px;
    }

    .result-metric {
        font-size: 2.2rem;
    }
}
