:root {
    --primary-color: #2671A8;
    --primary-hover: #1b5b8c;
    --secondary-color: #525252;
    --accent-color: #F0F5FA;
    --text-main: #334155;
    --text-muted: #64748B;
    --bg-main: #FFFFFF;
    --bg-alt: #F8FAFC;
    --bg-dark: #0F172A;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-md: 12px;
    --radius-lg: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.6;
    background: var(--bg-main);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: #0F172A;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: 0.3s;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.bg-light {
    background: var(--bg-alt);
}

.bg-dark {
    background: var(--bg-dark);
}

.bg-dark h2 {
    color: #fff;
}

.bg-blue {
    background: var(--primary-color) !important;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
    border: 2px solid transparent;
    gap: 8px;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 6px rgba(38, 113, 168, 0.2);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(38, 113, 168, 0.3);
}

.btn-secondary {
    background: #fff;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline {
    border-color: #CBD5E1;
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.outline-dark {
    border-color: rgba(0, 0, 0, 0.2) !important;
    color: #0F172A !important;
}

.outline-dark:hover {
    background: #0F172A !important;
    color: #fff !important;
}

/* Nav */
.navbar {
    padding: 24px 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 900px;
    max-height: 24vh;
    max-width: 100%;
    margin-left: -18px;
    /* Shifts the logo roughly 5mm to the left */
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a:not(.btn) {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-main);
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: 0.3s;
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

/* Hero */
.hero {
    padding: 180px 0 100px;
    display: flex;
    align-items: center;
    min-height: 80vh;
    position: relative;
    background: linear-gradient(135deg, #fff 0%, var(--accent-color) 100%);
    overflow: hidden;
}

.hero-content {
    max-width: 750px;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(38, 113, 168, 0.1);
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(38, 113, 168, 0.06) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

/* Section Base */
.section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.divider {
    height: 4px;
    width: 60px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Grid 2 */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

/* About Cards */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.about-card {
    background: #fff;
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: 0.3s;
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: rgba(38, 113, 168, 0.15);
}

.icon-wrapper {
    width: 64px;
    height: 64px;
    background: rgba(38, 113, 168, 0.08);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}

/* Challenge List */
.section-subtitle {
    font-size: 1.15rem;
}

.challenge-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.challenge-list li {
    display: flex;
    gap: 16px;
    background: #fff;
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    border-left: 4px solid var(--primary-color);
    transition: 0.2s;
    align-items: flex-start;
}

.challenge-list li:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.check-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(38, 113, 168, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    margin-top: 2px;
}

.challenge-content h4 {
    margin-bottom: 8px;
    font-size: 1.15rem;
    color: #0F172A;
}

.challenge-content p {
    font-size: 0.95rem;
    margin: 0;
}

/* Process */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}

.step {
    background: #fff;
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 2;
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-align: left;
}

.step-num {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(38, 113, 168, 0.08);
    line-height: 1;
    margin-bottom: 16px;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.step p {
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 32px;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: 0.3s;
    text-align: left;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
}

.service-card h4 {
    color: #fff;
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.service-card p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact */
.contact-box {
    background: linear-gradient(135deg, #fff 0%, var(--accent-color) 100%);
    padding: 80px 40px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin: 0 auto;
}

.contact-box h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.contact-box p {
    font-size: 1.15rem;
    margin-bottom: 40px;
}

.contact-links {
    display: flex;
    gap: 24px;
    justify-content: center;
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: #fff;
}

.footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fade-in-left {
    animation: fadeInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fade-in-right {
    animation: fadeInRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Responsive Grid */
@media (max-width: 900px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .process-steps {
        flex-direction: column;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero {
        padding: 140px 0 80px;
        min-height: auto;
    }

    .contact-links {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .section {
        padding: 70px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .logo img {
        height: auto;
        max-height: 240px;
        /* Doubled logo size on mobile */
    }

    .hero {
        padding: 240px 0 80px;
        /* Pushed the text farther down to accommodate massive logo */
        min-height: auto;
    }

    .contact-box {
        padding: 50px 24px;
    }
}