:root {
    /* Colors - Matching Atlas Logo */
    --background: #FFFFFF;
    --surface: #F9FAFB;

    /* Brand Colors */
    --primary: #1E3A8A;
    /* Royal/Navy Blue */
    --primary-dark: #1e293b;
    /* Dark Slate for contrast bg */
    --primary-light: #3B82F6;
    --accent: #0284c7;
    /* Cyan/Light Blue */
    --text-heading: #0F172A;
    --text-main: #334155;
    --text-light: #64748B;

    --border: #E2E8F0;

    /* Typography */
    --font-heading: 'Libre Baskerville', serif;
    --font-body: 'Lato', sans-serif;

    /* Spacing */
    --container-padding: 2rem;
    --section-gap: 6rem;

    /* Shadows - "Modern Soft" */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

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

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--background);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.01em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

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

/* Navbar */
.navbar {
    padding: 1.25rem 0;
    background: rgba(255, 255, 255, 0);
    /* Transparent initially */
    position: fixed;
    /* Fixed helps immersiveness */
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    height: 50px;
    width: auto;
}

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

.nav-links a {
    font-weight: 600;
    color: var(--text-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
}

.nav-links .btn-primary {
    color: white;
}

/* Underline hover effect */
.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-heading);
}

/* Hero - Immersive */
.hero {
    padding: 9rem 0 6rem 0;
    position: relative;
    overflow: hidden;
    background: transparent;
    /* Let video show */
}

/* Video Background */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.6;
    /* Settle visibility */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9) 0%, rgba(240, 249, 255, 0.85) 100%);
    /* White wash to keep text legible */
    z-index: 1;
}

/* Subtle gradient blob for background interest */
.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    display: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    /* Sit above overlay */
}

.badge {
    display: inline-block;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(30, 58, 138, 0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    font-weight: 400;
    max-width: 90%;
}

.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-image {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(30, 58, 138, 0.15));
    /* Soft shadow for image */
}

/* Buttons */
.btn {
    display: inline-flex;
    padding: 0.9rem 2rem;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 6px rgba(30, 58, 138, 0.2);
}

.btn-primary:hover {
    background: #172554;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px rgba(30, 58, 138, 0.3);
}

.btn-secondary {
    border: 1px solid var(--border);
    background: white;
    color: var(--text-heading);
    margin-left: 1rem;
}

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

/* Services - High Contrast Professional Redesign */
.services-section {
    padding: 7rem 0;
    background-color: var(--primary);
    /* Deep Navy */
    /* Add a subtle geometric overlay for texture */
    background-image: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 20%);
    position: relative;
    color: white;
}

.services-section .section-header {
    margin-bottom: 4rem;
}

.services-section .section-header h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.services-section .section-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    font-weight: 300;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 2rem;
    align-items: stretch;
}

.service-category {
    background: white;
    /* Strong White Card */
    border: none;
    border-radius: 8px;
    /* Slightly squarer for professional look */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    /* Deep shadow */
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Add a colored accent line at top */
.service-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--accent);
}

/* Distinguish second card */
.business-services.service-category::before {
    background: #475569;
    /* Slate accent */
}

.service-category:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.category-header {
    background: white;
    padding: 3.5rem 3rem 1.5rem 3rem;
    color: var(--text-heading);
    border-bottom: 1px solid #F1F5F9;
}

.category-header::after {
    display: none;
}

.service-category h3 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.service-category p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Remove separate bg for 2nd card headers/etc */
.business-services .category-header {
    background: white;
}

.service-list {
    padding: 2rem 3rem 3.5rem 3rem;
    background: white;
}

.service-list li {
    border-bottom: 1px solid #F1F5F9;
    color: var(--text-heading);
    padding: 1rem 0;
    font-weight: 600;
    /* Bolder text */
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-list li:last-child {
    border-bottom: none;
}

.check-icon {
    background: #F0F9FF;
    /* Light blue circle */
    color: var(--accent);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Audience - Immersive Background */
.audience-section {
    padding: var(--section-gap) 0;
    background: var(--surface);
    position: relative;
}

.audience-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.feature-item {
    background: white;
    padding: 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Very subtle border */
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.feature-item:hover {
    box-shadow: var(--shadow-lg);
}

.feature-item h4 {
    color: var(--primary);
    font-size: 1.25rem;
}

/* Why Us - Bento Grid Redesign (Crisp, High-End) */
.why-us-section {
    padding: var(--section-gap) 0;
    background: #F8FAFC;
    /* Clean Light Background */
    color: var(--text-heading);
}

.why-us-section .section-header h2 {
    color: var(--primary);
}

.why-us-section .section-header p {
    color: var(--text-light);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 4rem auto 0 auto;
}

/* Base Card Style */
.bento-card {
    background: var(--primary);
    /* Deep Navy Brand Color */
    color: white;
    padding: 3rem;
    border-radius: 8px;
    /* Consistent boxy-but-soft shape */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.15);
    position: relative;
    overflow: hidden;
    border: none;
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.25);
}

/* Enhance Main Card */
.main-card {
    grid-column: 1 / -1;
    /* Spans all columns */
    background: linear-gradient(135deg, var(--primary) 0%, #172554 100%);
    /* Subtle gradient */
    position: relative;
}

/* Decorative accent for main card */
.main-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.card-label {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    color: var(--accent);
    /* Light Blue pop */
    margin-bottom: 1rem;
    font-weight: 700;
    opacity: 0.9;
}

.main-card h3 {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    color: white;
    font-family: var(--font-heading);
    max-width: 600px;
}

.main-card p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    line-height: 1.7;
}

.feature-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.1);
    /* Subtle giant watermark number */
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-weight: 700;
}

.bento-card h4 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
    /* Space for number potential */
}

.bento-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
}

/* Mobile responsive for grid */
@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
}


/* About - Personal */
.about-section {
    padding: var(--section-gap) 0;
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
}

.quote-box {
    margin-top: 2.5rem;
    padding: 2rem;
    background: white;
    /* No box background */
    border-left: 4px solid var(--accent);
    font-style: italic;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    box-shadow: var(--shadow-lg);
    border-radius: 0 12px 12px 0;
}

.about-visual {
    position: relative;
}

.about-image {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
}

/* Process - Dark Solid */
.process-section {
    padding: var(--section-gap) 0;
    background: var(--primary-dark);
    color: white;
}

.process-section h2 {
    color: white;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-top: 4rem;
    position: relative;
}

/* Connecting line */
.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    /* Adjust based on icon/number placement */
    left: 10%;
    right: 10%;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 0;
}

.step {
    position: relative;
    z-index: 1;
    background: var(--primary-dark);
    /* Masks the line behind */
    padding: 1rem;
    text-align: center;
}

.step::before {
    display: none;
}

/* Remove old line style */

.step-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 1;
    margin-bottom: 1rem;
    line-height: 1;
    background: -webkit-linear-gradient(45deg, #0EA5E9, #FFF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.step h4 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.step p {
    color: #94A3B8;
    font-size: 0.95rem;
}

/* CTA */
.cta-section {
    padding: 6rem 0;
    text-align: center;
    background: #0F172A;
    background-image: radial-gradient(circle at 100% 0%, #1e293b 0%, #0F172A 50%);
    color: white;
}

.cta-box h2 {
    color: white;
    font-size: 3rem;
}

.btn-white {
    background: white;
    color: var(--primary);
    padding: 1.2rem 2.5rem;
    border-radius: 4px;
    font-weight: bold;
    display: inline-block;
    margin-top: 2rem;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

.btn-white:hover {
    transform: translateY(-3px);
    background: #f8fafc;
}

/* Footer */
.footer {
    padding: 4rem 0 2rem 0;
    background: white;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-light);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

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

    .hero-content,
    .services-grid,
    .about-grid,
    .process-steps,
    .audience-features,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .hero-content {
        gap: 3rem;
    }

    .process-steps::before {
        display: none;
    }

    /* Hide line on mobile */
    .step {
        text-align: left;
        padding: 0;
    }

    .hero {
        padding-top: 6rem;
    }

    .about-image {
        margin-top: 2rem;
    }

    h1 {
        font-size: 2.5rem;
    }
}