:root {
    --primary: #002B5B;
    /* Deep Navy Blue for Trust/Corp */
    --secondary: #2B4C7E;
    /* Lighter Navy */
    --accent: #EA580C;
    /* Vibrant Orange for Call to Action/Energy */
    --accent-hover: #C2410C;
    --text-dark: #1E293B;
    /* Slate 800 */
    --text-light: #64748B;
    /* Slate 500 */
    --bg-light: #F8FAFC;
    /* Slate 50 */
    --bg-white: #FFFFFF;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 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 ease;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--primary);
}

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

ul {
    list-style: none;
}

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

/* Layout Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.grid-3 {
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.flex {
    display: flex;
    gap: 1rem;
}

.flex-center {
    justify-content: center;
    align-items: center;
}

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

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

.mb-1 {
    margin-bottom: 1rem;
}

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

.mb-4 {
    margin-bottom: 4rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

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

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

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

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: none;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
        gap: 2rem;
        align-items: center;
    }
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

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

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Mobile Menu */
.mobile-nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    padding: 2rem;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
    box-shadow: var(--shadow);
}

.mobile-nav.active {
    transform: translateY(0);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}


/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    background: radial-gradient(circle at top right, rgba(0, 43, 91, 0.05), transparent 40%),
        radial-gradient(circle at bottom left, rgba(234, 88, 12, 0.05), transparent 40%),
        var(--bg-white);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 10;
}

.hero h1 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 2rem;
}

@media (min-width: 768px) {
    .hero-stats {
        gap: 4rem;
    }
}

.stat-item h3 {
    font-size: 1.75rem;
    color: var(--accent);
    margin-bottom: 0.25rem;
    font-weight: 800;
}

.stat-item p {
    font-size: 0.85rem;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    color: var(--text-light);
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 4rem;
    }

    .hero {
        padding: 12rem 0 10rem;
    }
}

/* Features/Why Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.feature-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(0, 43, 91, 0.1);
    color: var(--primary);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* Services Split */
.split-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 900px) {
    .split-section {
        grid-template-columns: 1fr 1fr;
    }

    .split-section.reverse {
        direction: rtl;
    }

    .split-section.reverse>* {
        direction: ltr;
    }
}

.split-content h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.split-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.split-list {
    margin-bottom: 2rem;
}

.split-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.split-list li i {
    color: var(--accent);
    margin-top: 0.25rem;
}

.split-image {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Pillars Section */
.pillar-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 1rem;
    text-align: center;
}

.pillar-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(0, 43, 91, 0.05);
    line-height: 1;
    margin-bottom: -2rem;
    position: relative;
    z-index: 1;
}

.pillar-content {
    position: relative;
    z-index: 2;
}

.pillar-content h3 {
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary);
    color: white;
    text-align: center;
    padding: 5rem 1.5rem;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1.5rem;
}

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

/* Footer */
footer {
    background-color: #0f172a;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

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

.footer-links a {
    color: #94a3b8;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #64748B;
    font-size: 0.875rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* --- New Sections (Optimodel v4) --- */

/* Domain Grid (Index) */
.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 800px;
}

.domain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.domain-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.domain-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-top-color: var(--accent);
}

.domain-card h3 {
    margin-bottom: 1rem;
}

.domain-card p {
    flex-grow: 1;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.btn-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-link:hover {
    color: var(--accent);
    gap: 0.75rem;
}

.industry-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.industry-tag {
    background: var(--bg-light);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 500;
    color: var(--primary);
    font-size: 0.9rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Service Sections (Consulting) */
.service-section {
    padding: 4rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.service-title {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.service-item i {
    color: var(--accent);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.service-metrics {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 0.5rem;
    margin-top: 1.5rem;
}

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

.metric-category h4 {
    color: var(--text-dark);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.5rem;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.metric-category p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

/* Curriculum (Training) */
.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.curriculum-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    border-left: 5px solid var(--accent);
    height: 100%;
}

.curriculum-card h3 {
    margin-bottom: 1.5rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.curriculum-card ul {
    list-style: none;
    margin-top: 1rem;
}

.curriculum-card li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.curriculum-card li::before {
    content: "•";
    color: var(--accent);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Formats (Training) */
.format-section {
    background: var(--primary);
    color: white;
    padding: 5rem 0;
    margin-top: 4rem;
}

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

.format-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 0.5rem;
    transition: background 0.3s;
}

.format-card:hover {
    background: rgba(255, 255, 255, 0.15);
}

.format-card h3 {
    color: var(--accent);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.format-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Values (About) */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    padding: 3rem 2rem;
    border-radius: 1rem;
    background: var(--bg-light);
    text-align: center;
    transition: transform 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}


/* Flywheel (About) */
.flywheel-section {
    background: var(--secondary);
    color: white;
    padding: 5rem 0;
    text-align: center;
    margin-top: 4rem;
}

.flywheel-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    /* Vertical center alignment */
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.flywheel-step {
    flex: 1 1 200px;
    padding: 1.5rem;
    text-align: center;
}

.flywheel-arrow {
    display: flex;
    /* Changed to flex for centering */
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent);
    opacity: 0.8;
}

@media (max-width: 768px) {
    .flywheel-arrow {
        transform: rotate(90deg);
        display: flex;
        width: 100%;
        margin: 1rem auto;
    }

    .flywheel-step {
        display: block;
        width: 100%;
    }
}