@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;700;800;900&display=swap');

/* =========================================================
   ROOT & DESIGN TOKENS
   ========================================================= */
:root {
    --primary-red: #e10600;
    --primary-red-dark: #b30500;
    --primary-red-glow: rgba(225, 6, 0, 0.4);
    --bg-deep: #080808;
    --bg-dark: #0f0f0f;
    --bg-charcoal: #121212;
    --bg-card: #141414;
    --bg-light: #ffffff;
    --bg-glass: rgba(15, 15, 15, 0.6);
    --bg-glass-light: rgba(255, 255, 255, 0.05);
    --text-white: #ffffff;
    --text-black: #111111;
    --text-grey: #a0a0a0;
    --text-light-grey: #d1d1d1;
    --border-glass: rgba(255, 255, 255, 0.1);
    --border-red: rgba(225, 6, 0, 0.5);
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s ease;
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px var(--primary-red-glow);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden; /* Prevent horizontal shake on mobile */
}

body {
    background-color: var(--bg-deep);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, .brand-font {
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 900;
    line-height: 1.1;
}

h3 {
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================================
   LAYOUT
   ========================================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-white {
    background-color: var(--bg-light);
    color: var(--text-black);
}

/* Section Title */
.section-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    color: inherit;
}

.section-title::after {
    content: '';
    display: block;
    width: 70px;
    height: 5px;
    background: var(--primary-red);
    margin-top: 18px;
    border-radius: 2px;
}

/* =========================================================
   GLASS EFFECT UTILITY
   ========================================================= */
.glass-effect {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
}

/* =========================================================
   HEADER & NAV
   ========================================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    padding: 24px 0;
    transition: var(--transition);
    background: transparent;
}

.header.scrolled {
    padding: 12px 0;
    background: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.header.header-glass:not(.scrolled) {
    background: rgba(15, 15, 15, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 58px;
    transition: var(--transition);
}

.logo:hover img {
    opacity: 0.85;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.7);
    position: relative;
    padding: 8px 0;
    transition: var(--transition-fast);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-white);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

/* Ensure active menu state has a solid backdrop */
body.menu-open .header {
    background: #0a0a0a !important;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Nav CTA Button */
.nav-cta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-cta .btn {
    padding: 10px 22px;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 3000;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-close {
    display: none; /* Desktop hidden */
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 42px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
    box-shadow: 0 4px 15px rgba(227, 30, 36, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: var(--primary-red-dark);
    border-color: var(--primary-red-dark);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px var(--primary-red-glow);
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: white;
    color: var(--primary-red);
    border-color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.15);
}

/* =========================================================
   HERO
   ========================================================= */
/* =========================================================
   REDESIGNED HERO
   ========================================================= */
.hero {
    height: 72vh;
    min-height: 550px;
    display: flex;
    align-items: flex-start;
    padding-top: 150px; /* Balanced offset for the company name + header */
    padding-bottom: 40px;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-deep);
}

.hero-company-name {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--text-white);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0;
    animation: fadeInUp 1s forwards 0.3s;
}

.hero-company-name::after {
    content: '';
    width: 50px;
    height: 2px;
    background: var(--primary-red);
    display: block;
}

.hero-parallax-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/mining_truck.png'); /* Using existing mining truck for impact */
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 0.1s ease-out;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, 
        rgba(15, 15, 15, 0.95) 0%, 
        rgba(15, 15, 15, 0.7) 40%, 
        rgba(15, 15, 15, 0.3) 100%
    );
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-content {
    max-width: 850px;
    padding-left: 0;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.5s;
}

.hero-title {
    font-size: clamp(2.2rem, 5.5vw, 3.8rem); /* Slightly more compact to give room for the wave */
    line-height: 1.1;
    margin-bottom: 24px;
    color: #fff;
    font-weight: 900;
    letter-spacing: -1px;
}

.hero-title .accent {
    color: var(--primary-red);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin: 0 0 48px 0;
    color: var(--text-light-grey);
    max-width: 700px;
    line-height: 1.6;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 24px;
    margin-bottom: 50px;
}

/* Redesigned Buttons */
.btn-premium-solid {
    background: var(--primary-red);
    color: #fff;
    border: none;
    padding: 20px 48px;
    font-weight: 800;
    transition: var(--transition);
}

.btn-premium-solid:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--primary-red-glow), 0 0 20px var(--primary-red-glow);
    background: var(--primary-red-dark);
}

.btn-premium-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 18px 46px;
    font-weight: 800;
    transition: var(--transition);
}

.btn-premium-outline:hover {
    background: white;
    color: var(--bg-dark);
    border-color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.2);
}

/* Trust Indicators */
.hero-trust {
    display: flex;
    gap: 30px;
    opacity: 0;
    animation: fadeIn 1s forwards 1.2s;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-grey);
}

.trust-item i {
    color: var(--primary-red);
    font-size: 0.9rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 2px;
    animation: mouseScroll 2s infinite;
}

/* Floating Contact Button */
.floating-contact {
    position: fixed;
    top: 120px;
    right: 40px;
    z-index: 1000;
    opacity: 0;
    animation: fadeInRight 1s forwards 1.5s;
}

.btn-contact-float {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-contact-float:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    transform: scale(1.1) rotate(15deg);
    box-shadow: var(--shadow-glow);
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes mouseScroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

/* =========================================================
   PAGE BANNER (inner pages)
   ========================================================= */
.page-banner {
    height: 48vh;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 70px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.3) 0%,
        rgba(0,0,0,0.75) 70%,
        rgba(8,8,8,1) 100%
    );
}

.page-banner .container {
    position: relative;
    z-index: 5;
}

.page-banner .page-banner-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-red);
    margin-bottom: 14px;
}

.page-banner .page-banner-label::before {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--primary-red);
}

.page-banner h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: white;
}

/* =========================================================
   SERVICE CARDS
   ========================================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 24px;
}

.service-card {
    padding: 44px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-red);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(227, 30, 36, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(227, 30, 36, 0.15);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card .card-icon {
    width: 60px;
    height: 60px;
    background: rgba(227, 30, 36, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    font-size: 1.5rem;
    color: var(--primary-red);
    transition: var(--transition);
}

.service-card:hover .card-icon {
    background: var(--primary-red);
    color: white;
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 14px;
    color: white;
}

.service-card p,
.service-card ul {
    color: var(--text-grey);
    font-size: 0.93rem;
    line-height: 1.8;
}

.service-card ul li {
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-card ul li::before {
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary-red);
    flex-shrink: 0;
}

.service-card ul li:last-child {
    border-bottom: none;
}

/* =========================================================
   VALUES / GLASS CARDS (About page)
   ========================================================= */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.value-card {
    padding: 36px 32px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    transition: var(--transition);
}

.value-card:hover {
    border-color: var(--border-red);
    background: rgba(227, 30, 36, 0.06);
    transform: translateY(-4px);
}

.value-card h4 {
    color: var(--primary-red);
    margin-bottom: 12px;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--text-grey);
    line-height: 1.7;
}

/* =========================================================
   STAT/COUNTER BLOCK
   ========================================================= */
.stats-band {
    background: var(--primary-red);
    padding: 60px 0;
}

.stats-band-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 40px;
    text-align: center;
}

.stats-band .stat-number {
    font-size: 2.8rem;
    color: white;
}

.stats-band .stat-label {
    color: rgba(255,255,255,0.75);
}

/* =========================================================
   GENERIC PAGE CONTENT (Internal Pages)
   ========================================================= */
.section-white {
    background: #ffffff;
    padding: 100px 0;
    color: var(--text-black);
    position: relative;
    z-index: 10;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary-red);
    margin-bottom: 24px;
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* =========================================================
   ABOUT / PREMIUM SPLIT SECTION
   ========================================================= */
.about-split-section {
    background: var(--bg-deep);
    padding: 70px 0; /* Reduced from 120px */
    position: relative;
    overflow: hidden;
}

.about-split-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(227, 30, 36, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.about-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}

/* ── Image Column ─────────────────────────────────────── */
.about-image-col {
    position: relative;
}

.about-image-frame {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.about-image-frame img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: var(--radius-md);
    display: block;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.about-image-frame:hover img {
    transform: scale(1.04);
}

/* Red accent bar — bottom left corner */
.about-image-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 55%;
    height: 6px;
    background: var(--primary-red);
    border-radius: 0 4px 0 0;
}

/* Floating badge — experience counter */
.about-image-badge {
    position: absolute;
    bottom: 32px;
    right: -24px;
    background: var(--primary-red);
    color: white;
    padding: 22px 28px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 20px 50px rgba(227, 30, 36, 0.45);
    z-index: 5;
}

.badge-number {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
}

.badge-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1.4;
    opacity: 0.9;
}

/* ── Text Column ─────────────────────────────────────── */
.about-text-col {
    color: var(--text-white);
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.section-eyebrow::before {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--primary-red);
    border-radius: 2px;
    flex-shrink: 0;
}

.section-heading {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: white;
    margin-bottom: 32px;
}

.about-quote {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85);
    border-left: 3px solid var(--primary-red);
    padding-left: 20px;
    margin-bottom: 22px;
    font-style: italic;
}

.about-body {
    font-size: 0.96rem;
    line-height: 1.9;
    color: var(--text-grey);
    margin-bottom: 36px;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 44px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.highlight-item i {
    color: var(--primary-red);
    font-size: 1rem;
    flex-shrink: 0;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 960px) {
    .about-split-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-image-frame img {
        height: 380px;
    }

    .about-image-badge {
        right: 20px;
        bottom: 20px;
    }
}

@media (max-width: 600px) {
    .about-split-section {
        padding: 40px 0; /* Reduced from 80px */
    }

    .about-image-frame img {
        height: 280px;
    }

    .about-image-badge {
        padding: 16px 20px;
    }

    .badge-number {
        font-size: 2.2rem;
    }
}


/* =========================================================
   CONTACT FORM
   ========================================================= */
.form-input {
    width: 100%;
    padding: 15px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    border-radius: 6px;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: var(--transition);
    outline: none;
}

.form-input::placeholder {
    color: var(--text-grey);
}

.form-input:focus {
    border-color: var(--primary-red);
    background: rgba(227, 30, 36, 0.04);
}

textarea.form-input {
    resize: vertical;
    min-height: 140px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
    background: #050505;
    padding: 90px 0 0;
    border-top: 1px solid var(--border-glass);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 50px;
    padding-bottom: 60px;
}

.footer-col h4 {
    font-size: 0.78rem;
    letter-spacing: 3px;
    color: white;
    margin-bottom: 28px;
    position: relative;
}

/* Base styles for footer-mid-row (desktop) */
.footer-mid-row {
    display: contents; /* Allows children to behave as direct items of footer-grid on desktop */
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--primary-red);
}

.footer-col p {
    color: #e0e0e0; /* Off-white for high legibility */
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-col ul {
    margin-top: 10px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #ffffff; /* pure white links for maximum contrast */
    font-weight: 600; /* bolder */
    font-size: 0.88rem;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover {
    color: var(--text-white);
    padding-left: 4px;
}

.footer-col ul li a::before {
    content: '→';
    color: var(--primary-red);
    font-size: 0.7rem;
    opacity: 0;
    transition: var(--transition-fast);
    transform: translateX(-5px);
}

.footer-col ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
    color: #ffffff; /* clear visibility */
    font-size: 0.9rem;
}

.footer-contact-item i {
    color: var(--primary-red);
    margin-top: 2px;
    flex-shrink: 0;
    width: 16px;
}

.footer-social {
    display: flex;
    gap: 14px;
    margin-top: 28px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-grey);
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    color: var(--text-grey);
    font-size: 0.8rem;
}

.footer-bottom a {
    color: var(--primary-red);
}

/* =========================================================
   SCROLL REVEAL ANIMATION
   ========================================================= */
[data-reveal] {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1),
                transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal][data-delay="100"] { transition-delay: 0.1s; }
[data-reveal][data-delay="200"] { transition-delay: 0.2s; }
[data-reveal][data-delay="300"] { transition-delay: 0.3s; }
[data-reveal][data-delay="400"] { transition-delay: 0.4s; }

/* =========================================================
   MARQUEE / TICKER
   ========================================================= */
.ticker-section {
    background: var(--primary-red);
    padding: 10px 0; /* Tighter ticker */
    overflow: hidden;
}

.ticker-track {
    display: flex;
    gap: 60px;
    animation: ticker 20s linear infinite;
    white-space: nowrap;
}

.ticker-track span {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    display: inline-flex;
    align-items: center;
    gap: 20px;
}

.ticker-track span::after {
    content: '★';
    color: rgba(255,255,255,0.5);
    font-size: 0.5rem;
}

@keyframes ticker {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =========================================================
   MOBILE NAV OVERLAY
   ========================================================= */
/* =========================================================
   RESPONSIVE DESIGN (Consolidated & Refined)
   ========================================================= */
@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.85) !important; /* Glass transparency */
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 9999 !important;
        padding: 40px;
        visibility: hidden;
        border-right: 1px solid var(--border-glass);
    }

    .nav-links.active {
        transform: translateX(0);
        visibility: visible;
    }

    .nav-links a {
        font-size: 1.2rem;
        letter-spacing: 5px;
        color: rgba(255,255,255,0.7);
        font-weight: 800;
        transition: all 0.3s ease;
        text-shadow: none;
    }

    /* Mobile Link Hover Effect */
    .nav-links a:hover,
    .nav-links a.active {
        color: var(--primary-red) !important;
        transform: scale(1.1);
        letter-spacing: 7px;
    }

    .nav-close {
        display: none !important; /* Fix: Start hidden to avoid overlaying the logo */
        position: absolute;
        top: 25px;
        left: 25px;
        width: 46px;
        height: 46px;
        background: var(--primary-red); /* Solid red for better touch target visibility */
        border: 2px solid rgba(255,255,255,0.2);
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.2rem;
        cursor: pointer;
        z-index: 10001;
        transition: all 0.3s ease;
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    }

    /* Only show close button when menu is actually open */
    body.menu-open .nav-close {
        display: flex !important;
    }

    .nav-close:hover {
        transform: rotate(90deg) scale(1.1);
        background: #b31419; /* Slightly darker shift */
    }

    /* Hero adjustments for unified view */
    .hero {
        height: auto;
        min-height: auto;
        padding-top: 180px !important; /* Increased for tablet/mid-size to clear header */
        padding-bottom: 30px;
        display: flex;
        align-items: flex-start;
    }

    .hero-company-name {
        font-size: 0.65rem;
        letter-spacing: 3px;
        margin-bottom: 8px;
    }

    .hero-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
        line-height: 1.15;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 16px;
        max-width: 100%;
    }

    .hero-actions {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        width: 100%;
        max-width: 220px;
    }

    .hero-actions .btn {
        width: 100%;
        padding: 14px 10px !important;
        font-size: 0.75rem !important;
        letter-spacing: 1px;
        text-align: center;
        white-space: nowrap;
    }

    .hero-trust {
        flex-direction: column;
        gap: 6px;
        margin-top: 12px;
    }

    .hero-trust .trust-item {
        font-size: 0.7rem;
    }

    /* Hide floating contact icon on mobile — it overlaps content */
    .floating-contact {
        display: none;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 12px;
    }

    .header {
        padding: 15px 0;
    }

    .logo img {
        height: 38px;
    }

    .nav-cta .btn {
        padding: 8px 12px !important;
        font-size: 0.85rem !important;
    }

    .nav-cta-text {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding-top: 200px !important; /* Ultimate offset to clear header on small phones */
        padding-bottom: 30px;
    }

    .hero-company-name { margin-bottom: 5px; }

    .hero-title {
        font-size: 2.2rem !important; /* Restore punchy size */
        margin-bottom: 8px;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }

    .hero-actions {
        display: grid !important;
        grid-template-columns: 1.1fr 0.9fr; /* Side by side */
        gap: 8px;
        width: 100% !important;
        max-width: 100% !important;
    }

    .hero-actions .btn {
        width: 100%;
        padding: 14px 6px !important;
        font-size: 0.68rem !important;
        letter-spacing: 1px;
        text-align: center;
        white-space: nowrap;
        height: 48px; /* Force identical height */
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 6px;
    }

    /* Make both boxes look like premium professional actions */
    .btn-premium-solid {
        border: 2px solid var(--primary-red) !important;
    }

    .btn-premium-outline {
        border: 2px solid rgba(255, 255, 255, 0.4) !important;
        background: rgba(255, 255, 255, 0.05) !important;
        backdrop-filter: blur(5px);
    }

    .hero-cta-text {
        display: none !important;
    }

    .page-banner {
        height: auto;
        min-height: 180px; /* Further reduced */
        padding-top: 100px;
        padding-bottom: 25px;
        align-items: center;
        text-align: center;
    }

    .page-banner h1 {
        font-size: 1.6rem;
    }

    .page-banner .page-banner-label {
        justify-content: center;
        margin-bottom: 12px;
        font-size: 0.65rem;
    }

    /* Sections Global Mobile */
    section, 
    .section-white,
    .section-dark-curved,
    .cta-band {
        padding: 25px 0 !important;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .split-grid, .about-split-grid {
        grid-template-columns: 1fr !important;
        gap: 24px;
        overflow: hidden;
    }

    .stats-band {
        padding: 12px 0 !important;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .stats-band-inner {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-around !important;
        align-items: center;
        gap: 5px;
    }

    .stats-band-inner > div {
        flex: 1;
        text-align: center;
        padding: 5px 0;
    }

    .stats-band .stat-number {
        font-size: 1.3rem !important; /* Smaller to fit side-by-side */
        margin-bottom: 0px;
        font-weight: 800;
    }

    .stats-band .stat-label {
        font-size: 0.5rem !important;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        opacity: 0.9;
    }

    /* Industry Partners Band mobile tightening */
    section[style*="background: var(--bg-dark)"] {
        padding: 30px 0 !important; /* Much tighter than 70px/80px */
    }

    section[style*="background: var(--bg-dark)"] div[style*="gap:48px"] {
        gap: 20px 30px !important; /* Tighter logo grid */
    }

    section[style*="background: var(--bg-dark)"] p[style*="margin-bottom:30px"] {
        margin-bottom: 15px !important;
        font-size: 0.65rem !important;
    }

    section[style*="background: var(--bg-dark)"] span[style*="font-size:1.3rem"] {
        font-size: 0.9rem !important;
    }

    .glass-effect {
        padding: 24px 16px !important;
    }

    .blockquote {
        padding: 12px 16px !important;
        margin: 10px 0 !important;
    }

    .footer {
        padding: 15px 0 0;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .footer-grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    /* Group Links and Services side-by-side but keep full context */
    .footer-mid-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .footer-col {
        width: 100%;
    }

    /* Reduce font size for links to fit in 2-column mobile layout */
    .footer-col:nth-child(2) ul li a,
    .footer-col:nth-child(3) ul li a {
        font-size: 0.82rem !important; /* Slightly larger for readability */
        letter-spacing: 0.3px;
        line-height: 1.4;
        white-space: normal; /* wrap long text */
        margin-bottom: 5px;
    }

    .footer-col h4 {
        font-size: 0.75rem !important;
        margin-bottom: 12px !important;
    }

    /* Keep arrows but make them smaller/tighter for mobile context */
    .footer-col ul li a::before {
        display: inline-block !important;
        transform: scale(0.8) !important;
        margin-right: 4px !important;
        opacity: 0.6 !important;
    }

    .footer-col {
        margin-bottom: 10px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    /* Element specific fixes */
    .about-split-section::before {
        display: none;
    }

    .about-image-badge {
        right: 12px;
    }

    .brand-arc-left {
        display: none;
    }

    .section-title {
        font-size: 1.5rem;
        word-break: break-word;
        margin-bottom: 12px !important;
    }

    .section-heading {
        font-size: 1.5rem;
        word-break: break-word;
        margin-bottom: 16px !important;
    }

    .service-card {
        padding: 20px 16px !important;
    }

    .card-icon {
        margin-bottom: 12px !important;
        width: 44px !important;
        height: 44px !important;
        font-size: 1.4rem !important;
    }

    .floating-contact {
        right: 12px;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    /* Utility overrides for mobile */
    .mt-sm { margin-top: 10px !important; }
    .mt-md { margin-top: 20px !important; }
    .mt-lg { margin-top: 30px !important; }
    .mb-sm { margin-bottom: 10px !important; }
    .mb-md { margin-bottom: 20px !important; }

    div[style*="margin-bottom: 60px"] { margin-bottom: 20px !important; }
    div[style*="margin-bottom: 40px"] { margin-bottom: 15px !important; }

    .about-split-section { padding: 25px 0 !important; }
    .about-quote { font-size: 0.92rem; margin-bottom: 12px; }
    .about-body { font-size: 0.88rem; margin-bottom: 15px; }
    .about-highlights { gap: 8px; margin-bottom: 20px; }
    .highlight-item { font-size: 0.85rem; }
    .about-image-frame img { height: 200px !important; }

    .cta-band h2 { font-size: 1.4rem !important; margin-bottom: 8px !important; }
    .cta-band p { font-size: 0.85rem !important; margin-bottom: 15px !important; }
    .curve-divider svg, .curve-divider .curve-accent { height: 35px !important; }

    /* Contact Card mobile tightening */
    .glass-effect div[style*="gap: 28px"] {
        gap: 15px !important;
    }
    .glass-effect div[style*="padding-top: 28px"] {
        padding-top: 15px !important;
    }
    .glass-effect div[style*="width: 44px"] {
        width: 36px !important;
        height: 36px !important;
    }
    .glass-effect div[style*="width: 44px"] i {
        font-size: 0.95rem !important;
    }
    .glass-effect h3[style*="margin-bottom: 28px"] {
        margin-bottom: 15px !important;
        padding-bottom: 10px !important;
    }

    /* Target the Values list and categories list inline gaps */
    .glass-effect div[style*="flex-direction: column"] {
        gap: 12px !important; /* Tighten the list sprawl */
    }

    .glass-effect div[style*="border-top:1px solid"] {
        padding-top: 12px !important;
    }

    .policy-list li {
        padding: 8px 0 !important;
        font-size: 0.85rem !important;
    }
}

/* =========================================================
   UTILITY
   ========================================================= */
.text-red    { color: var(--primary-red); }
.text-grey   { color: var(--text-grey); }
.mt-sm       { margin-top: 24px; }
.mt-md       { margin-top: 50px; }
.mt-lg       { margin-top: 80px; }
.mb-sm       { margin-bottom: 24px; }
.mb-md       { margin-bottom: 50px; }

/* Divider line */
.divider {
    border: none;
    border-top: 1px solid var(--border-glass);
    margin: 60px 0;
}

/* Blockquote */
.blockquote {
    border-left: 5px solid var(--primary-red);
    padding: 24px 30px;
    background: rgba(227, 30, 36, 0.06);
    border-radius: 0 8px 8px 0;
    margin: 30px 0;
}

.blockquote p {
    font-size: 1.1rem;
    font-weight: 500;
    font-style: italic;
    line-height: 1.8;
}

/* Policy list */
.policy-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    font-size: 0.95rem;
    color: #111111; /* Solid dark text for maximum legibility on white Backgrounds */
    font-weight: 600;
}

/* Specific context for dark backgrounds */
.glass-effect .policy-list li,
.section-dark .policy-list li,
.footer .policy-list li {
    color: #ffffff;
    border-bottom-color: var(--border-glass);
}

.policy-list li i {
    color: var(--primary-red);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.policy-list li:last-child {
    border-bottom: none;
}

.policy-list li i {
    color: var(--primary-red);
    font-size: 1rem;
    flex-shrink: 0;
}

/* =========================================================
   CURVED SVG DIVIDERS
   ========================================================= */
.curve-divider {
    position: relative;
    width: 100%;
    line-height: 0;
    overflow: hidden;
}

.curve-divider svg {
    width: 100%;
    height: 100px;
    display: block;
}

.curve-divider .curve-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 2;
    pointer-events: none;
}

/* Dark-to-White */
.curve-dark-to-white {
    background: var(--bg-light);
}

/* White-to-Dark */
.curve-white-to-dark {
    background: var(--bg-dark);
}

/* Dark-to-Red */
.curve-dark-to-red {
    background: var(--primary-red);
}

/* Red-to-Dark */
.curve-red-to-dark {
    background: var(--bg-deep);
}

@media (max-width: 768px) {
    .curve-divider svg {
        height: 60px;
    }
    .curve-divider .curve-accent {
        height: 60px;
    }
}

/* =========================================================
   ABOUT SPLIT – LIGHT VARIANT
   ========================================================= */
.about-split-light {
    background: var(--bg-light) !important;
    color: var(--text-black);
}

.about-split-light .section-eyebrow {
    color: var(--primary-red);
}

.about-split-light .section-heading {
    color: var(--text-black);
}

.about-split-light .about-quote {
    color: #333;
    border-left-color: var(--primary-red);
}

.about-split-light .about-quote strong {
    color: var(--primary-red);
}

.about-split-light .about-body {
    color: #555;
}

.about-split-light .highlight-item {
    color: #333;
}

.about-split-light .highlight-item i {
    color: var(--primary-red);
}

.about-split-light .btn-primary {
    background: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
}

/* =========================================================
   BRAND ARC DECORATION (Capability-statement style)
   ========================================================= */
.brand-arc {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.brand-arc-left {
    left: 0;
    top: 0;
    bottom: 0;
    width: 180px;
    background: transparent;
    overflow: hidden;
}

.brand-arc-left::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -200px;
    width: 500px;
    height: 140%;
    border-radius: 50%;
    border: 5px solid transparent;
    border-right-color: var(--primary-red);
    opacity: 0.2;
}

.brand-arc-left::after {
    content: '';
    position: absolute;
    top: -10%;
    left: -240px;
    width: 550px;
    height: 120%;
    border-radius: 50%;
    border: 3px solid transparent;
    border-right-color: rgba(227, 30, 36, 0.1);
}

@media (max-width: 768px) {
    .brand-arc-left {
        width: 80px;
    }
}

/* =========================================================
   DARK SECTION (for expertise cards)
   ========================================================= */
.section-dark-curved {
    background: var(--bg-dark);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-dark-curved .section-eyebrow::before {
    background: var(--primary-red);
}

.section-dark-curved .section-heading {
    color: white;
}

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band {
    background: var(--primary-red);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.cta-band::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.08);
    pointer-events: none;
}

.cta-band .btn:hover {
    transform: translateY(-3px) scale(1.02);
}

