:root {
    /* Colors */
    --color-primary: #000000;
    /* Deep Black */
    --color-secondary: #ffffff;
    /* White */
    --color-accent: #DF5D22;
    /* Burnt Orange */

    --color-text-main: #111111;
    --color-text-dark: #000000;
    --color-text-muted: #555555;
    --color-bg-light: #ffffff;
    --color-bg-off-white: #fafafa;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    --font-heading: 'Playfair Display', serif;
    /* Authority & Editorial */
    --font-editorial: 'Playfair Display', serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2.5rem;
    --spacing-lg: 5rem;
    --spacing-xl: 10rem;

    /* Transitions */
    --transition-standard: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

    /* Shadows */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
}


/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text-main);
    line-height: 1.5;
    background-color: var(--color-bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Crisper text (Apple) */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    /* Authority */
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    /* Modern tightening */
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
}

p {
    font-size: 1.125rem;
    /* Larger, readable body text (Airbnb/Stripe/Apple) */
    color: var(--color-text-muted);
    /* Focus on headings, subtle body text */
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-align: justify;
    hyphens: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-standard);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    border-radius: 12px;
    /* Smooth corners (Apple/Stripe) */
}

/* Utilities */
.container {
    max-width: 1280px;
    /* Modern wide container */
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: var(--spacing-xl) 0;
    /* Huge vertical spacing (Apple) */
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--color-primary);
}

.text-accent {
    color: var(--color-accent);
}

/* Buttons (NatGeo Editorial) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 0;
    /* Sharp corners */
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition-standard);
    border: none;
}

.btn-primary {
    background: var(--color-accent);
    color: black;
}

.btn-primary:hover {
    background: black;
    color: var(--color-accent);
}

.btn-outline {
    background: transparent;
    /* Updated for pill style */
    color: var(--color-primary);
    border: 1px solid rgba(0, 0, 0, 0.1);
    /* Subtle default border */
}

.btn-outline:hover {
    background: rgba(0, 0, 0, 0.03);
    /* Subtle Interaction */
    border-color: rgba(0, 0, 0, 0.2);
}

/* Navigation Bar Styles (NatGeo Editorial) */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-standard);
    background: transparent;
}

.logo {
    font-weight: 900;
    font-size: 1.8rem;
    letter-spacing: -1px;
    background: var(--color-accent);
    color: black !important;
    padding: 4px 12px;
    text-decoration: none;
    display: inline-block;
}

.navbar.scrolled {
    background: white;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .logo {
    background: black;
    color: var(--color-accent) !important;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.navbar.navbar-dark {
    background: transparent;
    /* Transparent at top for Hero */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: none;
    /* Clearer view of hero */
}

.navbar.navbar-dark.scrolled {
    background: rgba(17, 17, 17, 0.95);
    /* Solid Black when scrolled */
    backdrop-filter: blur(20px);
    border-bottom: none;
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-secondary);
    letter-spacing: -0.5px;
}

.navbar-dark .logo {
    color: white;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--color-text-dark);
    /* Default dark (for white nav) */
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    opacity: 0.8;
}

.navbar-dark .nav-links a {
    color: rgba(255, 255, 255, 0.85);
    /* Proper white for dark nav */
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 1;
    color: var(--color-secondary);
    /* Dark highlight */
}

.navbar-dark .nav-links a:hover,
.navbar-dark .nav-links a.active {
    color: white;
    /* White highlight */
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-secondary);
}

.navbar-dark .mobile-menu-btn {
    color: white;
}


/* Hero Section (Mosey-inspired) */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: var(--color-bg-light);
    /* Fallback */
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

.hero.dark-mode {
    background: linear-gradient(135deg, #000000, #111111, #222222);
    /* Stark black gradient */
    color: white;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    /* Combine parallax (vars) and float (animation) */
    transform: translate(var(--move-x, 0px), var(--move-y, 0px));
    animation: float 10s infinite ease-in-out;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.03);
    /* Subtle white glow */
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    /* Soft white glow */
    bottom: -50px;
    left: -100px;
    animation-delay: -2s;
}

.shape-3 {
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.02);
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -4s;
}

.hero-content {
    max-width: 900px;
    z-index: 2;
    position: relative;
    /* Glassmorphism for content container if needed, but keeping clean for text readability */
}

.hero h1 {
    font-size: 5rem;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    color: inherit;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.5rem;
    max-width: 650px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    font-weight: 400;
    text-align: justify;
}

/* Animations */
@keyframes float {
    0% {
        transform: translate(var(--move-x, 0px), var(--move-y, 0px)) translateY(0);
    }

    50% {
        transform: translate(var(--move-x, 0px), var(--move-y, 0px)) translateY(20px);
    }

    100% {
        transform: translate(var(--move-x, 0px), var(--move-y, 0px)) translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.fade-in-up.delay-1 {
    animation-delay: 0.2s;
}

.fade-in-up.delay-2 {
    animation-delay: 0.4s;
}


/* Components */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.service-card {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    /* Smooth corners */
    box-shadow: var(--shadow-sm);
    /* Subtle depth */
    transition: var(--transition-standard);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    /* Elevate on hover (Stripe) */
    border-color: rgba(0, 0, 0, 0.08);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

/* Deluxe Horizontal Grid (Deloitte/BTS) */
.modular-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.modular-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

@media (max-width: 992px) {
    .modular-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.horizontal-card {
    display: flex;
    gap: 2rem;
    padding: 3rem;
    background: white;
    border-top: 1px solid #eee;
    transition: var(--transition-standard);
}

.horizontal-card:hover {
    border-top-color: var(--color-accent);
}

.horizontal-card .card-content {
    flex: 1;
}

.horizontal-card h4 {
    color: var(--color-accent);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-tag {
    color: var(--color-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: block;
}


/* Footer (Clean & Modern) */
.footer {
    background: var(--color-bg-off-white);
    /* Light footer (Apple style) */
    color: var(--color-text-dark);
    padding: 6rem 0 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .footer-grid {
        gap: 3rem;
    }
}

.footer h4 {
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: none;
    /* Remove uppercase if it was there contextually, though previous css had it */
    letter-spacing: normal;
    margin-bottom: 1.5rem;
}

.footer p,
.footer-links,
.footer-links li,
.footer-links a {
    color: black;
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    opacity: 1;
    /* Ensure no opacity */
}

.footer-links a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        /* Full width mobile menu */
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }

    .navbar-dark .nav-links {
        background: rgba(17, 17, 17, 0.98);
    }

    .nav-links.active {
        right: 0;
    }

    .navbar-dark .nav-links a {
        color: white;
        opacity: 1;
        font-size: 1.5rem;
    }

    .nav-links a {
        color: black;
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 3rem;
    }
}

/* --- Responsive Classes (Replacing Inlines) --- */

/* Hero Specifics */
.hero-dark {
    background: black;
    color: white;
    padding: 12rem 0 8rem;
    position: relative;
    overflow: hidden;
    border-bottom: none;
}

.hero-light {
    background: white;
    padding: 12rem 0 8rem;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    border-left: 12px solid var(--color-accent);
    padding-left: 4rem;
}

.hero-content-wrapper.solid-border {
    border-left: 10px solid var(--color-accent);
    padding-left: 3rem;
}

.hero-title {
    font-family: var(--font-editorial);
    font-size: 5.5rem;
    line-height: 1.05;
    color: white;
}

.hero-title-md {
    font-family: var(--font-editorial);
    font-size: 5rem;
    line-height: 1.1;
    color: white;
}

.hero-title-light {
    color: var(--color-primary);
}

.hero-subtitle {
    font-size: 1.5rem;
    max-width: 750px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 2rem 0 4rem;
    text-align: justify;
}

.hero-subtitle-sm {
    font-size: 1.4rem;
    max-width: 750px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    text-align: justify;
}

.hero-subtitle-light {
    color: rgba(0, 0, 0, 0.7);
}

/* Section Specifics */
.section-white {
    background: white;
}

.section-black {
    background: black;
    color: white;
    border-top: 1px solid #000;
}

.section-black-noborder {
    background: black;
    color: white;
}

.section-light-bg {
    background: var(--color-bg-off-white);
    border-top: 1px solid #eee;
}

/* Modular Row specific columns */
.split-col-left {
    border-right: 1px solid #eee;
    padding-right: 4rem;
}

.split-col-right {
    padding-left: 2rem;
}

.split-col-left-noborder {
    padding-right: 4rem;
}

/* Typography styles */
.tag-solid {
    background: var(--color-accent);
    color: black;
    padding: 4px 12px;
    display: inline-block;
    margin-bottom: 2rem;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.title-large {
    font-family: var(--font-editorial);
    font-size: 4rem;
    line-height: 1.1;
    margin-top: 2rem;
}

.title-xl {
    font-family: var(--font-editorial);
    font-size: 4.5rem;
    margin-top: 2rem;
}

.text-lead {
    font-size: 1.3rem;
    color: black;
    margin-bottom: 2rem;
    font-weight: 500;
    font-family: var(--font-primary);
    text-align: justify;
}

.text-body-muted {
    line-height: 1.8;
    color: var(--color-text-muted);
}

.link-bold {
    color: black;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 5px;
    display: inline-block;
}

.link-accent {
    color: var(--color-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 2rem;
    display: inline-block;
}

/* Card overrides */
.card-dark {
    background: #111;
    border: none;
    color: white;
}

.card-dark .card-title {
    color: white;
}

.card-light {
    background: white;
    border: 1px solid #eee;
}

.card-img-dark {
    background-color: #222;
    min-height: 350px;
    width: 40%;
}

.card-img-dark-full {
    background-color: #222;
    min-height: 350px;
}

.card-img-light {
    background-color: #f5f5f5;
    min-height: 350px;
    width: 40%;
}

.card-img-light-full {
    background-color: #f5f5f5;
    min-height: 350px;
}

.card-content-lg {
    padding: 4rem;
}

.card-tag {
    color: var(--color-accent);
    border-left: 2px solid var(--color-accent);
    padding-left: 10px;
    font-size: 0.8rem;
}

.card-tag-light {
    color: black;
    border-left: 2px solid var(--color-accent);
    padding-left: 10px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.card-title {
    font-family: var(--font-editorial);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.card-title-md {
    font-family: var(--font-editorial);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.card-title-sm {
    font-family: var(--font-editorial);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.card-desc {
    color: #aaa;
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: justify;
}

.card-desc-light {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: justify;
}

.list-accent {
    margin-top: 2rem;
    color: black;
    font-weight: 500;
    list-style: none;
}

.list-accent li {
    margin-bottom: 0.8rem;
    border-left: 3px solid var(--color-accent);
    padding-left: 1rem;
}

/* Media Queries Supplement */
@media (max-width: 992px) {
    .horizontal-card {
        flex-direction: column;
        padding: 2rem;
    }

    .card-img-dark,
    .card-img-light,
    .card-img-dark-full,
    .card-img-light-full {
        width: 100%;
        min-height: 250px;
    }

    .card-content-lg {
        padding: 2rem;
    }

    .split-col-left {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid #eee;
        padding-bottom: 2rem;
        margin-bottom: 2rem;
    }

    .split-col-right {
        padding-left: 0;
    }

    .split-col-left-noborder {
        padding-right: 0;
    }
}

@media (max-width: 768px) {

    .hero-dark,
    .hero-light,
    .mck-hero {
        padding: 8rem 0 4rem !important;
    }

    .hero-content-wrapper {
        border-left-width: 6px;
        padding-left: 1.5rem;
    }

    .hero-content-wrapper.solid-border {
        border-left-width: 6px;
        padding-left: 1.5rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-title-md {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        margin: 1.5rem 0 2rem;
    }

    .hero-subtitle-sm {
        font-size: 1.1rem;
        margin: 1.5rem 0 2rem;
    }

    .title-large {
        font-size: 2.5rem;
    }

    .title-xl {
        font-size: 2.5rem;
    }

    .text-lead {
        font-size: 1.1rem;
    }

    .card-title {
        font-size: 2rem;
    }

    .card-title-md {
        font-size: 1.8rem;
    }

    .card-title-sm {
        font-size: 1.5rem;
    }
}