/* --- Base Variables & Reset --- */
:root {
    --primary: #1B3A6B;
    /* Dark Navy Blue */
    --primary-dark: #12294A;
    --accent: #E07B2A;
    /* Orange Accelerant */
    --accent-hover: #D06918;

    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;

    --text-dark: #1E293B;
    --text-gray: #475569;
    --text-gray-light: #94A3B8;
    --text-white: #FFFFFF;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 8px;
    --radius-lg: 16px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-gray);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.2;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

/* Typography Utilities */
.text-accent {
    color: var(--accent);
}

.text-primary {
    color: var(--primary);
}

.text-white {
    color: var(--text-white);
}

.text-gray {
    color: var(--text-gray);
}

.text-gray-light {
    color: var(--text-gray-light);
}

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

.text-sm {
    font-size: 0.875rem;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.max-w-800 {
    max-width: 800px;
}

.max-w-600 {
    max-width: 600px;
}

.max-w-400 {
    max-width: 400px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-12 {
    margin-top: 3rem;
}

.mt-16 {
    margin-top: 4rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.pb-0 {
    padding-bottom: 0 !important;
}

.pb-12 {
    padding-bottom: 3rem;
}

.pb-16 {
    padding-bottom: 4rem;
}

.pt-16 {
    padding-top: 4rem;
}

.border-b {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Backgrounds */
.bg-light {
    background-color: var(--bg-light);
}

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

.bg-dark {
    background-color: var(--primary);
}

.bg-dark-navy {
    background-color: var(--primary-dark);
}

.gradient-bg {
    background: linear-gradient(135deg, var(--primary) 0%, #2a5298 100%);
}

/* Grids */
.grid {
    display: grid;
    gap: 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-weight: 500;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 8px;
    font-size: 1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-block {
    width: 100%;
}

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

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(224, 123, 42, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--text-white);
}

/* --- Sections --- */
.section {
    padding: 5rem 0;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header .subtitle {
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 500;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

nav.scrolled {
    box-shadow: var(--shadow-sm);
    background: rgba(255, 255, 255, 0.98);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0;
    margin: 0;
}

.logo img {
    height: 130px;
    width: auto;
    object-fit: contain;
    padding: 0;
    margin: 0;
    display: block;
    transform: scale(1.6);
    transform-origin: left center;
}

.footer-logo {
    height: 100px;
    margin-bottom: 1.5rem;
    padding: 0;
}

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

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

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

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% -20%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero h1 {
    font-size: 4rem;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-inline: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Problems Grid */
.problem-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.problem-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--accent);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

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

.problem-card:hover::before {
    transform: scaleY(1);
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(27, 58, 107, 0.05);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.problem-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* Split Section */
.split-section h2 {
    color: var(--text-white);
}

.split-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.image-placeholder {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

/* A CSS Data Viz Graphic for premium feel */
.data-viz {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    height: 200px;
    margin-bottom: 1.5rem;
}

.data-viz .bar {
    flex: 1;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px 4px 0 0;
    position: relative;
    animation: growUp 1s ease-out forwards;
}

.data-viz .bar.accent {
    background: var(--accent);
}

.data-viz .bar.h-40 {
    height: 40%;
}

.data-viz .bar.h-60 {
    height: 60%;
}

.data-viz .bar.h-70 {
    height: 70%;
}

.data-viz .bar.h-80 {
    height: 80%;
}

.data-viz .bar.h-100 {
    height: 100%;
}

.caption {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    text-align: center;
    margin: 0;
}

@keyframes growUp {
    from {
        transform: scaleY(0);
        transform-origin: bottom;
    }

    to {
        transform: scaleY(1);
        transform-origin: bottom;
    }
}

/* Solutions Grid */
.solution-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.solution-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

.solution-item:hover {
    background: var(--bg-light);
}

.icon-wrap {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.solution-text h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* Timeline/Process */
.timeline {
    max-width: 800px;
    margin-inline: auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    width: 2px;
    height: 100%;
    background: rgba(27, 58, 107, 0.1);
}

.timeline-step {
    position: relative;
    padding-left: 70px;
    margin-bottom: 2.5rem;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.step-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 2px solid var(--accent);
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 0 0 4px var(--bg-light);
}

.step-content {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.step-content h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Stats / Why Us */
.stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.stat-card {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    text-align: center;
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* CTA Section */
.cta-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta-form input {
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--radius);
    border: none;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
}

/* Footer */
.footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion-header {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1rem 0;
    color: var(--text-white);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content p {
    padding-bottom: 1rem;
    color: var(--text-gray-light);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* Responsive */
@media (max-width: 900px) {

    .split-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

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

    .mobile-toggle {
        display: block;
    }

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

    .section {
        padding: 3rem 0;
    }

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