/* Heartland Engineering - Fresh Clean Design */
/* Inspired by modern dashboard UI - Light, Clean, Professional */

/* ===== VARIABLES ===== */
:root {
    /* Colors - Matching the reference */
    --green-dark: #2D5A3D;
    --green-medium: #3D7A4F;
    --green-light: #E8F5E9;
    --green-accent: #4CAF50;
    
    --bg-cream: #FAFAF7;
    --bg-white: #FFFFFF;
    --bg-alt: #F5F5F0;
    
    --text-dark: #1A1A1A;
    --text-medium: #4A4A4A;
    --text-light: #7A7A7A;
    --text-muted: #9A9A9A;
    
    --border-light: #E5E5E0;
    --border-medium: #D0D0C8;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.08);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* ABSA section variable aliases (used by absa-crn.css) */
    --text-primary: #1A1A1A;
    --text-secondary: #4A4A4A;
    --card-bg: #FFFFFF;
    --border: #E5E5E0;
    --green-mid: #3D7A4F;
}

/* ===== RESET ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-cream);
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* ===== GLOBAL ANIMATED BACKGROUND ===== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    background: 
        /* Subtle grid lines */
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            transparent 99px,
            rgba(45, 90, 61, 0.05) 99px,
            rgba(45, 90, 61, 0.05) 100px
        ),
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 99px,
            rgba(45, 90, 61, 0.05) 99px,
            rgba(45, 90, 61, 0.05) 100px
        );
}

/* Floating particles */
.global-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, var(--green-accent) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle 18s ease-in-out infinite;
}

.particle:nth-child(1) { left: 5%; animation-delay: 0s; }
.particle:nth-child(2) { left: 15%; animation-delay: 2s; }
.particle:nth-child(3) { left: 25%; animation-delay: 4s; }
.particle:nth-child(4) { left: 35%; animation-delay: 6s; }
.particle:nth-child(5) { left: 45%; animation-delay: 8s; }
.particle:nth-child(6) { left: 55%; animation-delay: 1s; }
.particle:nth-child(7) { left: 65%; animation-delay: 3s; }
.particle:nth-child(8) { left: 75%; animation-delay: 5s; }
.particle:nth-child(9) { left: 85%; animation-delay: 7s; }
.particle:nth-child(10) { left: 95%; animation-delay: 9s; }

@keyframes floatParticle {
    0% {
        top: 105%;
        opacity: 0;
        transform: translateX(0) scale(0.5);
    }
    10% {
        opacity: 0.7;
        transform: translateX(20px) scale(1);
    }
    50% {
        opacity: 0.4;
        transform: translateX(-30px) scale(0.8);
    }
    90% {
        opacity: 0.7;
        transform: translateX(20px) scale(1);
    }
    100% {
        top: -5%;
        opacity: 0;
        transform: translateX(0) scale(0.5);
    }
}

/* Flowing horizontal energy lines */
.energy-line {
    position: fixed;
    height: 3px;
    width: 150px;
    background: linear-gradient(90deg, transparent, var(--green-accent), var(--green-medium), var(--green-accent), transparent);
    opacity: 0;
    z-index: 0;
    pointer-events: none;
    border-radius: 2px;
    animation: flowEnergy 12s linear infinite;
    box-shadow: 0 0 10px var(--green-accent);
}

.energy-line:nth-child(11) { top: 12%; animation-delay: 0s; animation-duration: 14s; }
.energy-line:nth-child(12) { top: 28%; animation-delay: 4s; animation-duration: 11s; }
.energy-line:nth-child(13) { top: 48%; animation-delay: 2s; animation-duration: 16s; }
.energy-line:nth-child(14) { top: 68%; animation-delay: 6s; animation-duration: 12s; }
.energy-line:nth-child(15) { top: 85%; animation-delay: 3s; animation-duration: 15s; }

@keyframes flowEnergy {
    0% {
        left: -150px;
        opacity: 0;
    }
    5% {
        opacity: 0.25;
    }
    95% {
        opacity: 0.25;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

/* Vertical energy lines */
.energy-line-v {
    position: fixed;
    width: 3px;
    height: 120px;
    background: linear-gradient(180deg, transparent, var(--green-accent), var(--green-medium), var(--green-accent), transparent);
    opacity: 0;
    z-index: 0;
    pointer-events: none;
    border-radius: 2px;
    animation: flowEnergyV 15s linear infinite;
    box-shadow: 0 0 10px var(--green-accent);
}

.energy-line-v:nth-child(16) { left: 8%; animation-delay: 1s; animation-duration: 18s; }
.energy-line-v:nth-child(17) { left: 25%; animation-delay: 5s; animation-duration: 14s; }
.energy-line-v:nth-child(18) { left: 50%; animation-delay: 3s; animation-duration: 20s; }
.energy-line-v:nth-child(19) { left: 75%; animation-delay: 7s; animation-duration: 16s; }
.energy-line-v:nth-child(20) { left: 92%; animation-delay: 2s; animation-duration: 17s; }

@keyframes flowEnergyV {
    0% {
        top: -120px;
        opacity: 0;
    }
    5% {
        opacity: 0.2;
    }
    95% {
        opacity: 0.2;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

/* ===== CAD-STYLE SVG ICONS ===== */
.cad-icon {
    width: 18px;
    height: 18px;
    color: var(--green-dark);
    stroke: currentColor;
    vertical-align: middle;
    margin-right: 4px;
}

.cad-icon-sm {
    width: 24px;
    height: 24px;
    color: var(--green-dark);
    stroke: currentColor;
}

.cad-icon-lg {
    width: 48px;
    height: 48px;
    color: var(--green-medium);
    stroke: currentColor;
    transition: all 0.3s ease;
}

/* Icon animations on hover */
.service-card:hover .cad-icon-lg,
.project-card:hover .cad-icon-lg {
    color: var(--green-dark);
    transform: scale(1.1);
}

.industry-card:hover .cad-icon-sm {
    color: var(--green-dark);
    transform: scale(1.15);
}

/* Blueprint style for icons */
.cad-icon path,
.cad-icon-sm path,
.cad-icon-lg path,
.cad-icon line,
.cad-icon-sm line,
.cad-icon-lg line,
.cad-icon circle,
.cad-icon-sm circle,
.cad-icon-lg circle,
.cad-icon rect,
.cad-icon-sm rect,
.cad-icon-lg rect,
.cad-icon ellipse,
.cad-icon-sm ellipse,
.cad-icon-lg ellipse,
.cad-icon polygon,
.cad-icon-sm polygon,
.cad-icon-lg polygon {
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ===== UTILITIES ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.section {
    position: relative;
    z-index: 1;
}

.text-green {
    color: var(--green-dark);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.btn-primary:hover {
    background: var(--green-medium);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--text-dark);
    border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
    background: var(--bg-alt);
    border-color: var(--green-dark);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 15px;
    border-radius: var(--radius-lg);
}

.btn-xl {
    padding: 20px 40px;
    font-size: 16px;
    border-radius: var(--radius-lg);
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(250, 250, 247, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--green-dark);
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--green-dark);
}

.logo-sub {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--text-light);
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-medium);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: var(--green-dark);
    background: var(--green-light);
}

/* Emergency Button in Nav */
.btn-emergency-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: #dc3545;
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: navEmergencyPulse 3s ease-in-out infinite;
    white-space: nowrap;
}

.btn-emergency-nav svg {
    flex-shrink: 0;
}

.btn-emergency-nav:hover {
    background: #c82333;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(220, 53, 69, 0.4);
    animation: none;
}

@keyframes navEmergencyPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.3); }
    50% { box-shadow: 0 0 0 6px rgba(220, 53, 69, 0); }
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white, #fff);
        border-top: 1px solid var(--border-light);
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        padding: 16px;
        z-index: 100;
    }
    .nav.nav--open {
        display: flex;
    }
    .nav .nav-link {
        padding: 12px 16px;
        font-size: 16px;
        border-radius: var(--radius-sm);
    }
    .nav .btn-primary {
        text-align: center;
        margin-top: 8px;
    }
    .nav .btn-emergency-nav {
        justify-content: center;
        margin-top: 8px;
        padding: 14px 20px;
        font-size: 15px;
    }
    .menu-toggle {
        display: flex;
    }
}

/* ===== HERO ===== */
.hero {
    padding: 140px 0 80px;
    background: var(--bg-cream);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

/* Blueprint Background */
.blueprint-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.blueprint-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    opacity: 0.55;
}

.blueprint-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(250, 250, 247, 0.4) 0%,
        rgba(250, 250, 247, 0.25) 40%,
        rgba(250, 250, 247, 0.75) 100%
    );
}

/* Animated Pumpjacks - EVEN BIGGER */
.pumpjack-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.pumpjack {
    position: absolute;
}

.pumpjack-1 {
    width: 400px;
    height: 300px;
    left: -2%;
    bottom: -5%;
    opacity: 0.85;
}

.pumpjack-2 {
    width: 340px;
    height: 255px;
    right: -3%;
    bottom: 0%;
    opacity: 0.7;
}

.pumpjack-3 {
    width: 260px;
    height: 195px;
    left: 38%;
    bottom: -8%;
    opacity: 0.55;
}

/* Pumpjack Animation - Rocking Beam */
.pumpjack-1 .pumpjack-beam {
    transform-origin: 100px 55px;
    animation: pumpRock 3.5s ease-in-out infinite;
}

.pumpjack-2 .pumpjack-beam {
    transform-origin: 100px 55px;
    animation: pumpRock 4.2s ease-in-out infinite;
    animation-delay: -1.2s;
}

.pumpjack-3 .pumpjack-beam {
    transform-origin: 100px 55px;
    animation: pumpRock 3.8s ease-in-out infinite;
    animation-delay: -2.5s;
}

@keyframes pumpRock {
    0%, 100% {
        transform: rotate(-12deg);
    }
    50% {
        transform: rotate(12deg);
    }
}

/* Sucker Rod Animation */
.pumpjack-1 .pumpjack-rod {
    animation: rodMove 3.5s ease-in-out infinite;
}

.pumpjack-2 .pumpjack-rod {
    animation: rodMove 4.2s ease-in-out infinite;
    animation-delay: -1.2s;
}

.pumpjack-3 .pumpjack-rod {
    animation: rodMove 3.8s ease-in-out infinite;
    animation-delay: -2.5s;
}

@keyframes rodMove {
    0%, 100% {
        transform: translateY(-20px);
    }
    50% {
        transform: translateY(20px);
    }
}

.hero .container {
    position: relative;
    z-index: 2;
}

/* ===== CLIENTS / TRUSTED BY SECTION ===== */
.clients-section {
    padding: 60px 0;
    background: linear-gradient(180deg, rgba(45, 90, 61, 0.03) 0%, rgba(45, 90, 61, 0.08) 100%);
    border-top: 1px solid rgba(45, 90, 61, 0.1);
    border-bottom: 1px solid rgba(45, 90, 61, 0.1);
    position: relative;
    overflow: hidden;
}

.clients-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 79px,
            rgba(45, 90, 61, 0.04) 79px,
            rgba(45, 90, 61, 0.04) 80px
        );
    pointer-events: none;
}

.clients-header {
    text-align: center;
    margin-bottom: 40px;
}

.clients-label {
    display: inline-block;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green-dark);
    background: rgba(45, 90, 61, 0.08);
    border: 1px solid rgba(45, 90, 61, 0.15);
    border-radius: var(--radius-md);
}

.clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 24px 48px;
    max-width: 1000px;
    margin: 0 auto;
}

.client-logo {
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(45, 90, 61, 0.12);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.client-logo:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(45, 90, 61, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 90, 61, 0.1);
}

.cad-icon-client {
    width: 120px;
    height: 40px;
    color: var(--green-dark);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.client-logo:hover .cad-icon-client {
    opacity: 1;
}

.clients-note {
    text-align: center;
    margin-top: 32px;
    font-size: 14px;
    color: var(--text-medium);
    font-style: italic;
}

/* Client logos with brand colors */
.client-logo {
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(45, 90, 61, 0.12);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    color: var(--brand-color, var(--green-dark));
}

.client-logo:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--brand-color, var(--green-dark));
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.cad-icon-client {
    width: 180px;
    height: 60px;
    color: inherit;
    stroke: currentColor;
    transition: all 0.3s ease;
}

/* ===== PROFESSIONAL ASSOCIATIONS ===== */
.associations-section {
    padding: 60px 0;
    background: var(--bg-white);
    position: relative;
}

.associations-header {
    text-align: center;
    margin-bottom: 40px;
}

.associations-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.association-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 48px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(45, 90, 61, 0.1);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    color: var(--brand-color, var(--green-dark));
}

.association-card:hover {
    border-color: var(--brand-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.cad-assoc-icon {
    width: 80px;
    height: 70px;
    margin-bottom: 16px;
    color: inherit;
}

.association-name {
    font-size: 22px;
    font-weight: 700;
    color: inherit;
}

.association-desc {
    font-size: 14px;
    color: var(--text-medium);
    margin-top: 6px;
}

/* ===== HEALTH & SAFETY SECTION ===== */
.safety-section {
    padding: 64px 0;
    background: linear-gradient(135deg, rgba(45, 90, 61, 0.05) 0%, rgba(45, 90, 61, 0.1) 100%);
    position: relative;
}

.safety-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent 0px,
            transparent 29px,
            rgba(45, 90, 61, 0.03) 29px,
            rgba(45, 90, 61, 0.03) 30px
        );
    pointer-events: none;
}

.safety-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .safety-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.safety-info {
    
}

.safety-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 16px 0 24px;
}

.safety-list {
    list-style: none;
}

.safety-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--text-medium);
    margin-bottom: 12px;
}

.safety-list li .cad-icon {
    color: var(--green-dark);
    flex-shrink: 0;
}

.safety-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.safety-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 22px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(45, 90, 61, 0.1);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    color: var(--brand-color, var(--green-dark));
}

.safety-badge:hover {
    border-color: var(--brand-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.cad-safety-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 10px;
    color: inherit;
}

.safety-badge-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    margin-bottom: 10px;
    border-radius: 8px;
}

.association-logo-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    margin-bottom: 8px;
    border-radius: 8px;
}

.safety-badge span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-medium);
}

.hero-content {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--green-dark);
    background: var(--green-light);
    border-radius: 100px;
    margin-bottom: 24px;
}

/* Hero Title Wrapper */
.hero-title-wrapper {
    position: relative;
    height: 130px;
    margin-bottom: 16px;
}

.hero-title {
    font-size: clamp(28px, 4.5vw, 46px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-dark);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
    margin: 0;
}

.hero-title.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Subtitle Wrapper */
.hero-subtitle-wrapper {
    position: relative;
    height: 60px;
    margin-bottom: 32px;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--text-medium);
    max-width: 520px;
    margin: 0 auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.6s ease;
}

.hero-subtitle.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== STATS GRID ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 700px;
    margin: 0 auto;
}

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

.stat-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
    transition: all 0.2s ease;
}

.stat-card:hover {
    border-color: var(--green-dark);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 26px;
    font-weight: 800;
    color: var(--green-dark);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.stat-status {
    font-size: 12px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.stat-status--active {
    background: var(--green-light);
    color: var(--green-dark);
}

.stat-status--ready {
    color: var(--green-dark);
}

.stat-status--certified {
    color: var(--green-dark);
}

.status-dot {
    width: 6px;
    height: 6px;
    background: var(--green-accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ===== FUN ANIMATIONS ===== */

/* Floating effect for hero badge */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-badge {
    animation: float 3s ease-in-out infinite;
}

/* Shimmer effect on buttons */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    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;
}

.btn-primary:hover::after {
    left: 100%;
}

/* Card hover lift with glow */
.stat-card, .discipline-card, .service-card {
    position: relative;
}

.stat-card::before, .discipline-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: radial-gradient(circle at center, var(--green-light) 0%, transparent 70%);
    z-index: -1;
}

.stat-card:hover::before, .discipline-card:hover::before {
    opacity: 1;
}

/* Staggered animation for grid items */
.disciplines-grid .discipline-card:nth-child(1) { transition-delay: 0.05s; }
.disciplines-grid .discipline-card:nth-child(2) { transition-delay: 0.1s; }
.disciplines-grid .discipline-card:nth-child(3) { transition-delay: 0.15s; }
.disciplines-grid .discipline-card:nth-child(4) { transition-delay: 0.2s; }
.disciplines-grid .discipline-card:nth-child(5) { transition-delay: 0.25s; }
.disciplines-grid .discipline-card:nth-child(6) { transition-delay: 0.3s; }
.disciplines-grid .discipline-card:nth-child(7) { transition-delay: 0.35s; }
.disciplines-grid .discipline-card:nth-child(8) { transition-delay: 0.4s; }

/* Rotating gradient border on contact card */
.contact-card {
    position: relative;
    background: var(--green-dark);
}

.contact-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--green-accent), var(--green-dark), var(--green-medium), var(--green-accent));
    background-size: 400% 400%;
    border-radius: calc(var(--radius-xl) + 2px);
    z-index: -1;
    animation: gradientRotate 4s ease infinite;
}

@keyframes gradientRotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Bounce effect on industry icons */
.industry-card:hover .industry-icon {
    animation: bounce 0.5s ease;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Scale effect on region cards */
.region {
    transition: all 0.2s ease;
}

.region:hover {
    transform: scale(1.02);
    border-color: var(--green-dark);
}

/* Stat number count-up animation */
.stat-number {
    position: relative;
}

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-cream);
}

::-webkit-scrollbar-thumb {
    background: var(--green-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--green-medium);
}

/* Page load animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 0.8s ease forwards;
}

.stats-grid {
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

/* Magnetic button effect (enhanced in JS) */
.btn-primary {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Glowing focus states */
.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--green-light), 0 0 20px rgba(76, 175, 80, 0.4);
}

/* Nav link underline animation */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--green-dark);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: calc(100% - 32px);
}

/* ===== SECTIONS ===== */
.section {
    padding: 64px 0;
    position: relative;
}

/* Animated section backgrounds - GREEN BLUEPRINT with MOUNTAINS */
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    background: 
        /* Mountain silhouette at bottom */
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 200' preserveAspectRatio='none'%3E%3Cpath d='M0 200 L0 150 L80 120 L150 145 L220 90 L300 130 L380 70 L450 110 L520 50 L600 95 L680 40 L750 85 L820 55 L900 100 L980 60 L1050 90 L1120 70 L1200 110 L1200 200 Z' fill='rgba(45,90,61,0.04)' stroke='rgba(45,90,61,0.12)' stroke-width='1.5'/%3E%3Cpath d='M0 200 L0 160 L100 140 L180 155 L260 120 L340 150 L420 100 L500 135 L580 85 L660 120 L740 80 L820 115 L900 90 L980 125 L1060 95 L1140 120 L1200 100 L1200 200 Z' fill='rgba(45,90,61,0.03)' stroke='rgba(45,90,61,0.08)' stroke-width='1'/%3E%3C/svg%3E") bottom center/100% 200px no-repeat,
        /* AutoCAD-style grid */
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            transparent 29px,
            rgba(45, 90, 61, 0.08) 29px,
            rgba(45, 90, 61, 0.08) 30px
        ),
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 29px,
            rgba(45, 90, 61, 0.08) 29px,
            rgba(45, 90, 61, 0.08) 30px
        ),
        /* Green gradient base */
        linear-gradient(180deg, rgba(45, 90, 61, 0.03) 0%, rgba(45, 90, 61, 0.08) 100%);
}

.section-alt {
    background: rgba(255, 255, 255, 0.7);
}

.section-alt::before {
    background: 
        /* Different mountain pattern */
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 200' preserveAspectRatio='none'%3E%3Cpath d='M0 200 L0 140 L60 100 L120 130 L200 70 L280 110 L360 50 L440 90 L520 30 L600 80 L680 45 L760 100 L840 60 L920 95 L1000 55 L1080 85 L1140 65 L1200 100 L1200 200 Z' fill='rgba(45,90,61,0.035)' stroke='rgba(45,90,61,0.1)' stroke-width='1.5'/%3E%3C/svg%3E") bottom center/100% 180px no-repeat,
        /* Finer grid */
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            transparent 19px,
            rgba(45, 90, 61, 0.06) 19px,
            rgba(45, 90, 61, 0.06) 20px
        ),
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 19px,
            rgba(45, 90, 61, 0.06) 19px,
            rgba(45, 90, 61, 0.06) 20px
        ),
        linear-gradient(180deg, rgba(45, 90, 61, 0.02) 0%, rgba(45, 90, 61, 0.06) 100%);
}

/* Section floating decorations */
.section::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 150px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 150' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='60' y='120' width='80' height='8' fill='rgba(45,90,61,0.08)' stroke='rgba(45,90,61,0.12)' stroke-width='1'/%3E%3Cpath d='M85 118 L90 50 L110 50 L115 118' fill='rgba(45,90,61,0.05)' stroke='rgba(45,90,61,0.1)' stroke-width='1'/%3E%3Crect x='25' y='48' width='150' height='8' rx='2' fill='rgba(45,90,61,0.06)' stroke='rgba(45,90,61,0.1)' stroke-width='1'/%3E%3Crect x='155' y='40' width='25' height='25' rx='2' fill='rgba(45,90,61,0.07)' stroke='rgba(45,90,61,0.1)' stroke-width='1'/%3E%3C/svg%3E") no-repeat center;
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
    animation: floatSection 8s ease-in-out infinite;
}

#services::after { right: 5%; bottom: 10%; animation-delay: 0s; }
#disciplines::after { left: 3%; top: 15%; animation-delay: -2s; transform: scaleX(-1); }
#experience::after { right: 8%; top: 20%; animation-delay: -4s; }
#projects::after { left: 5%; bottom: 15%; animation-delay: -6s; transform: scaleX(-1); }

@keyframes floatSection {
    0%, 100% {
        transform: translateY(0) rotate(-2deg);
    }
    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-badge {
    display: inline-block;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--green-dark);
    background: var(--green-light);
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(24px, 3.5vw, 34px);
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 15px;
    color: var(--text-medium);
}

.section-cta {
    text-align: center;
    margin-top: 40px;
}

/* ===== DISCIPLINES GRID ===== */
.disciplines-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

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

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

.discipline-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.discipline-card--highlight {
    background: var(--green-light);
    border-color: var(--green-dark);
}

.discipline-card--highlight .discipline-code {
    font-size: 28px;
}

.discipline-card:hover {
    border-color: var(--green-dark);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Discipline CAD Icons */
.discipline-icon {
    margin-bottom: 12px;
}

.cad-discipline {
    width: 48px;
    height: 48px;
    color: var(--green-medium);
    transition: all 0.3s ease;
}

.discipline-card:hover .cad-discipline {
    color: var(--green-dark);
    transform: scale(1.1);
}

.discipline-code {
    font-size: 22px;
    font-weight: 800;
    color: var(--green-dark);
    margin-bottom: 4px;
}

.discipline-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.discipline-status {
    font-size: 12px;
    color: var(--green-dark);
}

/* ===== SERVICES GRID ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--bg-cream);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.2s ease;
}

.service-card:hover {
    border-color: var(--green-dark);
    box-shadow: var(--shadow-md);
}

.service-icon {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.service-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.service-desc {
    font-size: 13px;
    color: var(--text-medium);
    line-height: 1.6;
}

/* ===== INDUSTRIES GRID ===== */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

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

.industry-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 24px 16px;
    text-align: center;
    transition: all 0.2s ease;
}

.industry-card:hover {
    border-color: var(--green-dark);
    box-shadow: var(--shadow-md);
}

.industry-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.industry-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-medium);
}

/* ===== IMAGE SHOWCASE CAROUSEL ===== */
.image-showcase {
    width: 100%;
    overflow: hidden;
    margin-bottom: 40px;
    border-radius: var(--radius-xl);
    position: relative;
}

.image-showcase::before,
.image-showcase::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.image-showcase::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-cream) 0%, transparent 100%);
}

.image-showcase::after {
    right: 0;
    background: linear-gradient(-90deg, var(--bg-cream) 0%, transparent 100%);
}

.showcase-track {
    display: flex;
    gap: 20px;
    animation: scrollShowcase 30s linear infinite;
    width: max-content;
}

.showcase-track:hover {
    animation-play-state: paused;
}

@keyframes scrollShowcase {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-300px * 5 - 100px));
    }
}

.showcase-slide {
    flex-shrink: 0;
    width: 300px;
    height: 200px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.showcase-slide:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

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

.showcase-slide:hover img {
    transform: scale(1.1);
}

/* Overlay gradient on images */
.showcase-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.showcase-slide:hover::after {
    opacity: 1;
}

/* ===== ABOUT SECTION ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

.about-content .section-badge {
    display: inline-block;
}

.about-content .section-title {
    text-align: left;
}

.about-text {
    font-size: 16px;
    color: var(--text-medium);
    margin-bottom: 16px;
    line-height: 1.8;
}

/* Dark theme about text */
:root[data-theme="dark"] .about-text {
    color: #f0f0f0;
}

:root[data-theme="midnight"] .about-text {
    color: #e0e0ff;
}

:root[data-theme="oilers"] .about-text {
    color: #e0f0ff;
}

.about-certs {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.cert-badge {
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 700;
    color: var(--green-dark);
    background: var(--green-light);
    border-radius: var(--radius-sm);
}

.map-card {
    background: var(--bg-cream);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 24px;
}

.map-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.map-icon {
    font-size: 20px;
}

.map-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
}

.map-regions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.region {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius-md);
    background: var(--bg-white);
    border: 1px solid var(--border-light);
}

.region--active {
    border-color: var(--green-dark);
    background: var(--green-light);
}

.region-code {
    font-size: 14px;
    font-weight: 800;
    color: var(--green-dark);
}

.region-name {
    font-size: 13px;
    color: var(--text-medium);
}

.region-status {
    font-size: 12px;
    color: var(--green-dark);
    font-weight: 600;
}

/* ===== CONTACT SECTION ===== */
.contact-card {
    background: var(--green-dark);
    border-radius: var(--radius-xl);
    padding: 48px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
}

@media (max-width: 768px) {
    .contact-card {
        grid-template-columns: 1fr;
        padding: 40px 24px;
        text-align: center;
    }
}

.contact-card .section-badge {
    background: rgba(255,255,255,0.2);
    color: white;
}

.contact-card .section-title {
    color: white;
}

.contact-text {
    color: rgba(255,255,255,0.8);
    font-size: 16px;
    margin-bottom: 24px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.9);
    font-size: 14px;
}

@media (max-width: 768px) {
    .contact-item {
        justify-content: center;
    }
}

.contact-icon {
    font-size: 16px;
}

.contact-cta .btn {
    background: white;
    color: var(--green-dark);
}

.contact-cta .btn:hover {
    background: var(--green-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
    padding: 48px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand .logo-name {
    font-size: 14px;
}

.footer-brand .logo-sub {
    font-size: 9px;
}

.footer-tagline {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-medium);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--green-dark);
}

.footer-copy {
    font-size: 12px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ===== VALUES GRID ===== */
.values-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.value-item {
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.value-item:hover {
    border-color: var(--green-dark);
    background: var(--green-light);
}

/* ===== PROJECTS GRID ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 640px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

.project-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.3s ease;
}

.project-card:hover {
    border-color: var(--green-dark);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.project-icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 16px;
}

.project-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.project-desc {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.6;
}

/* ===== OIL FIELD BANNER ===== */
.oil-banner {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.oil-banner-bg {
    position: absolute;
    inset: 0;
}

.oil-banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.oil-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(45, 90, 61, 0.85) 0%, rgba(30, 60, 40, 0.9) 100%);
}

.oil-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 60px 20px;
}

.oil-banner-title {
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 800;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.oil-banner-text {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.oil-banner .btn {
    background: white;
    color: var(--green-dark);
    border: none;
}

.oil-banner .btn:hover {
    background: var(--green-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Animated oil drops */
.oil-drops {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.oil-drop {
    position: absolute;
    width: 8px;
    height: 12px;
    background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(30,30,30,0.8) 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: oilDrop 4s ease-in infinite;
    opacity: 0;
}

.oil-drop:nth-child(1) { left: 10%; animation-delay: 0s; }
.oil-drop:nth-child(2) { left: 25%; animation-delay: 0.8s; }
.oil-drop:nth-child(3) { left: 50%; animation-delay: 1.6s; }
.oil-drop:nth-child(4) { left: 70%; animation-delay: 2.4s; }
.oil-drop:nth-child(5) { left: 85%; animation-delay: 3.2s; }

@keyframes oilDrop {
    0% {
        top: -20px;
        opacity: 0;
        transform: scale(0.5);
    }
    10% {
        opacity: 0.7;
        transform: scale(1);
    }
    90% {
        opacity: 0.7;
    }
    100% {
        top: 100%;
        opacity: 0;
        transform: scale(0.8);
    }
}

/* Pumpjack animation hint */
.oil-banner::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--green-accent) 20%, 
        var(--green-accent) 80%, 
        transparent 100%
    );
    animation: flowLine 3s ease-in-out infinite;
    z-index: 3;
}

@keyframes flowLine {
    0%, 100% {
        opacity: 0.5;
        transform: scaleX(0.8);
    }
    50% {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* ===== COMPREHENSIVE MOBILE STYLES ===== */
@media (max-width: 768px) {
    /* Hero */
    .hero {
        padding: 100px 0 50px;
        min-height: auto;
    }
    
    /* HERO TEXT - readable on mobile */
    .hero-title {
        font-size: clamp(28px, 8vw, 38px) !important;
        text-shadow: 0 2px 8px rgba(255, 255, 255, 0.6);
    }
    
    .hero-title-wrapper {
        height: 100px;
    }
    
    .hero-subtitle {
        font-size: 14px;
        text-shadow: 0 1px 4px rgba(255, 255, 255, 0.5);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    /* HIDE ICONS IN BUTTONS ON MOBILE */
    .hero-buttons .btn .cad-icon,
    .hero-buttons .btn svg {
        display: none;
    }

    /* Make buttons SOLID on mobile - no ghost effect */
    .hero-buttons .btn-primary {
        background: var(--green-dark) !important;
        color: white !important;
        box-shadow: 0 4px 16px rgba(45, 90, 61, 0.5);
        font-size: 15px;
        padding: 16px 28px;
        border: none;
    }

    .hero-buttons .btn-secondary {
        background: rgba(255, 255, 255, 0.95) !important;
        color: var(--text-dark) !important;
        border: 2px solid var(--green-dark) !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
        font-size: 15px;
        padding: 16px 28px;
    }
    
    /* Pumpjacks smaller on mobile */
    .pumpjack-1 {
        width: 250px;
        height: 185px;
    }
    
    .pumpjack-2, .pumpjack-3 {
        display: none;
    }
    
    /* Stats */
    .stats-grid {
        gap: 12px;
    }
    
    .stat-card {
        padding: 16px 12px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    /* Clients */
    .clients-grid {
        gap: 16px 24px;
    }
    
    .client-logo {
        padding: 10px 14px;
    }
    
    .cad-icon-client {
        width: 140px;
        height: 50px;
    }
    
    /* Associations */
    .associations-grid {
        gap: 20px;
    }
    
    .association-card {
        padding: 20px 28px;
    }
    
    .cad-assoc-icon {
        width: 60px;
        height: 50px;
    }
    
    .association-name {
        font-size: 18px;
    }
    
    /* Safety */
    .safety-badges {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .safety-badge {
        padding: 20px 16px;
    }
    
    .cad-safety-icon {
        width: 55px;
        height: 55px;
    }
    
    /* Disciplines */
    .cad-discipline {
        width: 50px;
        height: 50px;
    }
    
    .discipline-code {
        font-size: 18px;
    }
    
    /* Section headers */
    .section-title {
        font-size: 26px;
    }
    
    /* Image showcase */
    .showcase-slide {
        width: 240px;
        height: 160px;
    }
    
    /* Oil banner */
    .oil-banner {
        min-height: 300px;
    }
    
    .oil-banner-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    /* Extra small screens */
    .hero-title {
        font-size: 28px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .disciplines-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .discipline-card {
        padding: 16px 12px;
    }
    
    .cad-discipline {
        width: 40px;
        height: 40px;
    }
    
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .safety-badges {
        grid-template-columns: 1fr;
    }
    
    .client-logo {
        padding: 8px 12px;
    }
    
    .cad-icon-client {
        width: 120px;
        height: 40px;
    }
    
    .association-card {
        padding: 16px 20px;
        width: 100%;
    }
    
    .associations-grid {
        flex-direction: column;
        align-items: center;
    }
}

/* ===== AUTOCAD THEME SWITCH ===== */
.theme-switch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.theme-track {
    display: flex;
    background: rgba(45, 90, 61, 0.1);
    border: 2px solid rgba(45, 90, 61, 0.2);
    border-radius: 8px;
    padding: 4px;
    gap: 2px;
}

.theme-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-medium);
    transition: all 0.3s ease;
}

.theme-btn svg {
    width: 18px;
    height: 18px;
}

.theme-btn:hover {
    background: rgba(45, 90, 61, 0.15);
    color: var(--green-dark);
}

.theme-btn.active {
    background: var(--green-dark);
    color: white;
    box-shadow: 0 2px 8px rgba(45, 90, 61, 0.3);
}

.theme-label {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Theme switch mobile handled in comprehensive mobile section at bottom */

/* ===== DARK MODE ===== */
[data-theme="dark"] {
    --bg-cream: #1a1a1a;
    --bg-white: #222222;
    --bg-alt: #2a2a2a;
    --text-dark: #f0f0f0;
    --text-medium: #b0b0b0;
    --text-light: #888888;
    --text-muted: #666666;
    --border-light: #333333;
    --border-medium: #444444;
    --green-light: rgba(76, 175, 80, 0.15);

    /* ABSA section variable aliases */
    --text-primary: #f0f0f0;
    --text-secondary: #b0b0b0;
    --card-bg: #2a2a2a;
    --border: #444444;
    --green-mid: #4CAF50;
}

[data-theme="dark"] .header {
    background: rgba(26, 26, 26, 0.95);
    border-color: #333;
}

[data-theme="dark"] .blueprint-img {
    filter: invert(1) hue-rotate(180deg);
    opacity: 0.2;
}

[data-theme="dark"] .blueprint-overlay {
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.5) 0%, rgba(26, 26, 26, 0.3) 40%, rgba(26, 26, 26, 0.85) 100%);
}

[data-theme="dark"] .stat-card,
[data-theme="dark"] .discipline-card,
[data-theme="dark"] .service-card,
[data-theme="dark"] .project-card,
[data-theme="dark"] .client-logo,
[data-theme="dark"] .association-card,
[data-theme="dark"] .safety-badge {
    background: #2a2a2a;
    border-color: #444;
}

[data-theme="dark"] .pumpjack {
    opacity: 0.5;
}

[data-theme="dark"] .pumpjack path,
[data-theme="dark"] .pumpjack rect,
[data-theme="dark"] .pumpjack line,
[data-theme="dark"] .pumpjack circle {
    stroke: rgba(76, 175, 80, 0.6);
    fill: rgba(76, 175, 80, 0.1);
}

/* ===== MIDNIGHT MODE ===== */
[data-theme="midnight"] {
    --bg-cream: #0a0a14;
    --bg-white: #12121c;
    --bg-alt: #1a1a28;
    --text-dark: #e0e0ff;
    --text-medium: #a0a0cc;
    --text-light: #7070aa;
    --text-muted: #505088;
    --border-light: #252538;
    --border-medium: #353550;
    --green-dark: #4a7c59;
    --green-medium: #5a9c6a;
    --green-accent: #6adc7a;
    --green-light: rgba(106, 220, 122, 0.15);

    /* ABSA section variable aliases */
    --text-primary: #e0e0ff;
    --text-secondary: #a0a0cc;
    --card-bg: #1a1a28;
    --border: #353550;
    --green-mid: #5a9c6a;
}

[data-theme="midnight"] .header {
    background: rgba(10, 10, 20, 0.95);
    border-color: #252538;
}

[data-theme="midnight"] .blueprint-img {
    filter: hue-rotate(200deg) saturate(0.5);
    opacity: 0.25;
}

[data-theme="midnight"] .blueprint-overlay {
    background: linear-gradient(180deg, rgba(10, 10, 20, 0.6) 0%, rgba(10, 10, 20, 0.3) 40%, rgba(10, 10, 20, 0.9) 100%);
}

[data-theme="midnight"] .stat-card,
[data-theme="midnight"] .discipline-card,
[data-theme="midnight"] .service-card,
[data-theme="midnight"] .project-card,
[data-theme="midnight"] .client-logo,
[data-theme="midnight"] .association-card,
[data-theme="midnight"] .safety-badge {
    background: #1a1a28;
    border-color: #353550;
}

[data-theme="midnight"] .particle {
    background: var(--green-accent);
}

[data-theme="midnight"] .energy-line,
[data-theme="midnight"] .energy-line-v {
    background: linear-gradient(90deg, transparent, var(--green-accent), transparent);
    opacity: 0.3;
}

[data-theme="midnight"] .pumpjack path,
[data-theme="midnight"] .pumpjack rect,
[data-theme="midnight"] .pumpjack line,
[data-theme="midnight"] .pumpjack circle {
    stroke: rgba(106, 220, 122, 0.5);
    fill: rgba(106, 220, 122, 0.08);
}

/* ===== OILERS MODE ===== */
[data-theme="oilers"] {
    --bg-cream: #041E42;
    --bg-white: #0a2850;
    --bg-alt: #0f3060;
    --text-dark: #ffffff;
    --text-medium: #c0d0e0;
    --text-light: #8090a0;
    --text-muted: #506070;
    --border-light: #1a3a5a;
    --border-medium: #2a4a6a;
    --green-dark: #FF4C00;
    --green-medium: #FF6620;
    --green-accent: #FF8844;
    --green-light: rgba(255, 76, 0, 0.2);

    /* ABSA section variable aliases */
    --text-primary: #ffffff;
    --text-secondary: #c0d0e0;
    --card-bg: #0a2850;
    --border: #1a3a5a;
    --green-mid: #FF6620;
}

[data-theme="oilers"] .header {
    background: rgba(4, 30, 66, 0.98);
    border-color: #FF4C00;
    border-bottom-width: 3px;
}

[data-theme="oilers"] .logo-name,
[data-theme="oilers"] .btn-primary {
    color: #FF4C00;
}

[data-theme="oilers"] .btn-primary {
    background: #FF4C00;
    color: white;
}

[data-theme="oilers"] .btn-primary:hover {
    background: #FF6620;
}

[data-theme="oilers"] .text-green {
    color: #FF4C00 !important;
}

[data-theme="oilers"] .blueprint-img {
    filter: hue-rotate(180deg) saturate(2);
    opacity: 0.15;
}

[data-theme="oilers"] .blueprint-overlay {
    background: linear-gradient(180deg, rgba(4, 30, 66, 0.7) 0%, rgba(4, 30, 66, 0.4) 40%, rgba(4, 30, 66, 0.95) 100%);
}

[data-theme="oilers"] .stat-card,
[data-theme="oilers"] .discipline-card,
[data-theme="oilers"] .service-card,
[data-theme="oilers"] .project-card,
[data-theme="oilers"] .client-logo,
[data-theme="oilers"] .association-card,
[data-theme="oilers"] .safety-badge {
    background: #0a2850;
    border-color: #1a3a5a;
}

[data-theme="oilers"] .stat-card:hover,
[data-theme="oilers"] .discipline-card:hover,
[data-theme="oilers"] .service-card:hover {
    border-color: #FF4C00;
}

[data-theme="oilers"] .section-badge {
    background: rgba(255, 76, 0, 0.2);
    border-color: rgba(255, 76, 0, 0.4);
    color: #FF4C00;
}

[data-theme="oilers"] .particle {
    background: #FF4C00;
}

[data-theme="oilers"] .energy-line,
[data-theme="oilers"] .energy-line-v {
    background: linear-gradient(90deg, transparent, #FF4C00, #FF8844, #FF4C00, transparent);
    box-shadow: 0 0 15px #FF4C00;
}

[data-theme="oilers"] .pumpjack path,
[data-theme="oilers"] .pumpjack rect,
[data-theme="oilers"] .pumpjack line,
[data-theme="oilers"] .pumpjack circle {
    stroke: rgba(255, 76, 0, 0.7);
    fill: rgba(255, 76, 0, 0.15);
}

[data-theme="oilers"] .cad-icon,
[data-theme="oilers"] .cad-icon-lg,
[data-theme="oilers"] .cad-icon-sm,
[data-theme="oilers"] .cad-discipline {
    color: #FF4C00;
}

[data-theme="oilers"] .discipline-code {
    color: #FF4C00;
}

[data-theme="oilers"] .oil-banner-overlay {
    background: linear-gradient(135deg, rgba(4, 30, 66, 0.95) 0%, rgba(255, 76, 0, 0.3) 100%);
}

[data-theme="oilers"] .theme-btn.active {
    background: #FF4C00;
}

/* Easter egg: Oilers logo pulse */
[data-theme="oilers"] .logo-icon {
    animation: oilersPulse 2s ease-in-out infinite;
}

@keyframes oilersPulse {
    0%, 100% {
        filter: drop-shadow(0 0 5px #FF4C00);
    }
    50% {
        filter: drop-shadow(0 0 20px #FF4C00);
    }
}

/* ===== FIX TEXT VISIBILITY IN DARK MODES ===== */
[data-theme="dark"] .about-text,
[data-theme="dark"] .service-desc,
[data-theme="dark"] .project-desc,
[data-theme="dark"] p,
[data-theme="midnight"] .about-text,
[data-theme="midnight"] .service-desc,
[data-theme="midnight"] .project-desc,
[data-theme="midnight"] p,
[data-theme="oilers"] .about-text,
[data-theme="oilers"] .service-desc,
[data-theme="oilers"] .project-desc,
[data-theme="oilers"] p {
    color: var(--text-medium) !important;
}

[data-theme="dark"] .section-title,
[data-theme="dark"] .service-title,
[data-theme="dark"] .project-title,
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3,
[data-theme="midnight"] .section-title,
[data-theme="midnight"] .service-title,
[data-theme="midnight"] .project-title,
[data-theme="midnight"] h1, [data-theme="midnight"] h2, [data-theme="midnight"] h3,
[data-theme="oilers"] .section-title,
[data-theme="oilers"] .service-title,
[data-theme="oilers"] .project-title,
[data-theme="oilers"] h1, [data-theme="oilers"] h2, [data-theme="oilers"] h3 {
    color: var(--text-dark) !important;
}

[data-theme="dark"] .value-item,
[data-theme="midnight"] .value-item,
[data-theme="oilers"] .value-item {
    background: var(--bg-alt);
    color: var(--text-dark);
    border-color: var(--border-medium);
}

[data-theme="dark"] .cert-badge,
[data-theme="midnight"] .cert-badge,
[data-theme="oilers"] .cert-badge {
    background: var(--bg-alt);
    color: var(--text-dark);
    border-color: var(--border-medium);
}

[data-theme="dark"] .region,
[data-theme="midnight"] .region,
[data-theme="oilers"] .region {
    background: var(--bg-alt);
    border-color: var(--border-medium);
}

[data-theme="dark"] .region-name,
[data-theme="midnight"] .region-name,
[data-theme="oilers"] .region-name {
    color: var(--text-medium);
}

[data-theme="dark"] .map-card,
[data-theme="midnight"] .map-card,
[data-theme="oilers"] .map-card {
    background: var(--bg-white);
    border-color: var(--border-medium);
}

[data-theme="dark"] .about-content,
[data-theme="midnight"] .about-content,
[data-theme="oilers"] .about-content {
    color: var(--text-medium);
}

[data-theme="dark"] .section-badge,
[data-theme="midnight"] .section-badge {
    background: rgba(76, 175, 80, 0.15);
    color: var(--green-accent);
    border-color: rgba(76, 175, 80, 0.3);
}

[data-theme="dark"] .industry-name,
[data-theme="midnight"] .industry-name,
[data-theme="oilers"] .industry-name {
    color: var(--text-dark);
}

[data-theme="dark"] .discipline-name,
[data-theme="midnight"] .discipline-name,
[data-theme="oilers"] .discipline-name {
    color: var(--text-dark);
}

[data-theme="dark"] .discipline-status,
[data-theme="midnight"] .discipline-status,
[data-theme="oilers"] .discipline-status {
    color: var(--green-accent);
}

/* ===== STRONGER TEXT CONTRAST FOR DARK MODES ===== */
[data-theme="dark"] {
    --text-dark: #ffffff;
    --text-medium: #d0d0d0;
}

[data-theme="midnight"] {
    --text-dark: #ffffff;
    --text-medium: #c0c0e0;
}

[data-theme="oilers"] {
    --text-dark: #ffffff;
    --text-medium: #d0e0f0;
}

[data-theme="dark"] .about-text,
[data-theme="midnight"] .about-text,
[data-theme="oilers"] .about-text {
    color: #cccccc !important;
}

[data-theme="dark"] .about-content p,
[data-theme="midnight"] .about-content p,
[data-theme="oilers"] .about-content p {
    color: #cccccc !important;
}

/* ===== ABOUT SECTION TEXT - HIGH VISIBILITY ALL MODES ===== */
.about-text {
    font-size: 16px !important;
    line-height: 1.8 !important;
}

/* Light mode - default */
.about-text {
    color: #333333 !important;
}

/* Dark mode */
[data-theme="dark"] .about-text {
    color: #e0e0e0 !important;
}

/* Midnight mode */
[data-theme="midnight"] .about-text {
    color: #d0d0ff !important;
}

/* Oilers mode */
[data-theme="oilers"] .about-text {
    color: #e8f0ff !important;
}

/* ===== FORCE WHITE TEXT IN DARK MODES ===== */
[data-theme="dark"] .about-text,
[data-theme="dark"] .about-content p,
[data-theme="dark"] #about p {
    color: #ffffff !important;
    opacity: 0.9 !important;
}

[data-theme="midnight"] .about-text,
[data-theme="midnight"] .about-content p,
[data-theme="midnight"] #about p {
    color: #ffffff !important;
    opacity: 0.9 !important;
}

[data-theme="oilers"] .about-text,
[data-theme="oilers"] .about-content p,
[data-theme="oilers"] #about p {
    color: #ffffff !important;
    opacity: 0.9 !important;
}

/* ===== NUCLEAR OPTION - FORCE ABOUT TEXT WHITE ===== */
html[data-theme="dark"] p.about-text,
html[data-theme="midnight"] p.about-text,
html[data-theme="oilers"] p.about-text,
body[data-theme="dark"] p.about-text,
body[data-theme="midnight"] p.about-text,
body[data-theme="oilers"] p.about-text,
[data-theme="dark"] section#about p.about-text,
[data-theme="midnight"] section#about p.about-text,
[data-theme="oilers"] section#about p.about-text {
    color: white !important;
}

/* ===== ANIMATED HEARTLAND H LOGO ===== */
.heartland-logo {
    width: 50px;
    height: 50px;
}

.logo-icon {
    width: 50px;
    height: 50px;
}

/* Draw animation for logo paths */
.logo-draw {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawLogo 2s ease forwards;
}

.logo-draw-1 { animation-delay: 0s; }
.logo-draw-2 { animation-delay: 0.2s; }
.logo-draw-3 { animation-delay: 0.4s; }
.logo-draw-4 { animation-delay: 0.6s; stroke-dasharray: 100; stroke-dashoffset: 100; }
.logo-draw-5 { animation-delay: 0.7s; stroke-dasharray: 100; stroke-dashoffset: 100; }
.logo-draw-6 { animation-delay: 0.3s; }

@keyframes drawLogo {
    to {
        stroke-dashoffset: 0;
    }
}

/* Swoosh pulse animation */
.logo-swoosh {
    animation: drawLogo 2s ease forwards, swooshPulse 3s ease-in-out infinite 2s;
}

@keyframes swooshPulse {
    0%, 100% {
        stroke-width: 4;
        filter: drop-shadow(0 0 2px var(--green-accent));
    }
    50% {
        stroke-width: 5;
        filter: drop-shadow(0 0 8px var(--green-accent));
    }
}

/* Glow animation */
.logo-glow {
    animation: drawLogo 2s ease forwards, glowPulse 3s ease-in-out infinite 2s;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.5;
    }
}

/* Construction lines fade */
.logo-construction {
    animation: fadeConstruction 3s ease forwards;
}

@keyframes fadeConstruction {
    0% { opacity: 0.5; }
    50% { opacity: 0.3; }
    100% { opacity: 0.1; }
}

/* Hover effect - redraw */
.logo:hover .logo-draw {
    animation: drawLogo 0.8s ease forwards;
}

.logo:hover .logo-swoosh {
    animation: drawLogo 0.8s ease forwards, swooshPulse 1s ease-in-out infinite 0.8s;
}

.logo:hover .logo-construction {
    opacity: 0.4;
}

/* Theme adaptations */
[data-theme="dark"] .heartland-logo,
[data-theme="midnight"] .heartland-logo {
    filter: drop-shadow(0 0 3px var(--green-accent));
}

[data-theme="oilers"] .logo-swoosh,
[data-theme="oilers"] .logo-glow {
    stroke: #FF4C00;
}

[data-theme="oilers"] .heartland-logo {
    filter: drop-shadow(0 0 3px #FF4C00);
}

/* ===== REAL HEARTLAND LOGO WITH ANIMATION ===== */
.logo-container {
    position: relative;
    width: 50px;
    height: 50px;
    overflow: hidden;
    border-radius: 8px;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Scanning line effect */
.logo-scan-line {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(76, 175, 80, 0.4) 50%,
        transparent 100%
    );
    animation: logoScan 3s ease-in-out infinite;
}

@keyframes logoScan {
    0% {
        left: -50%;
    }
    100% {
        left: 150%;
    }
}

/* Blueprint grid overlay */
.logo-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            transparent 9px,
            rgba(76, 175, 80, 0.15) 9px,
            rgba(76, 175, 80, 0.15) 10px
        ),
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 9px,
            rgba(76, 175, 80, 0.15) 9px,
            rgba(76, 175, 80, 0.15) 10px
        );
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

/* Show grid on hover */
.logo:hover .logo-grid-overlay {
    opacity: 1;
}

/* Speed up scan on hover */
.logo:hover .logo-scan-line {
    animation-duration: 1s;
}

/* Glow effect on hover */
.logo:hover .logo-container {
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.5);
}

/* Dark mode adaptations */
[data-theme="dark"] .logo-container,
[data-theme="midnight"] .logo-container {
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
}

[data-theme="dark"] .logo-scan-line,
[data-theme="midnight"] .logo-scan-line {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(76, 175, 80, 0.6) 50%,
        transparent 100%
    );
}

/* Oilers mode */
[data-theme="oilers"] .logo-scan-line {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 76, 0, 0.5) 50%,
        transparent 100%
    );
}

[data-theme="oilers"] .logo-grid-overlay {
    background: 
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            transparent 9px,
            rgba(255, 76, 0, 0.2) 9px,
            rgba(255, 76, 0, 0.2) 10px
        ),
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 9px,
            rgba(255, 76, 0, 0.2) 9px,
            rgba(255, 76, 0, 0.2) 10px
        );
}

[data-theme="oilers"] .logo:hover .logo-container {
    box-shadow: 0 0 20px rgba(255, 76, 0, 0.5);
}

/* ===== CORNER PUMPJACK - TOP RIGHT ===== */
.corner-pumpjack {
    position: fixed;
    top: 80px;
    right: 20px;
    width: 100px;
    height: 80px;
    z-index: 50;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.corner-pumpjack:hover {
    opacity: 1;
}

.pumpjack-svg {
    width: 100%;
    height: 100%;
    color: var(--green-dark);
}

/* Beam rocking animation */
.corner-pumpjack .pumpjack-beam {
    animation: rockBeam 3s ease-in-out infinite;
}

@keyframes rockBeam {
    0%, 100% {
        transform: rotate(-12deg);
    }
    50% {
        transform: rotate(12deg);
    }
}

/* Rod pumping animation */
.corner-pumpjack .pumpjack-rod {
    animation: pumpRod 3s ease-in-out infinite;
}

@keyframes pumpRod {
    0%, 100% {
        transform: translateY(-15px);
    }
    50% {
        transform: translateY(10px);
    }
}

/* Hide on mobile - too small */
@media (max-width: 768px) {
    .corner-pumpjack {
        display: none;
    }
}

/* Theme adaptations */
[data-theme="dark"] .corner-pumpjack,
[data-theme="midnight"] .corner-pumpjack {
    opacity: 0.4;
}

[data-theme="dark"] .corner-pumpjack:hover,
[data-theme="midnight"] .corner-pumpjack:hover {
    opacity: 0.8;
}

[data-theme="oilers"] .pumpjack-svg {
    color: #FF4C00;
}

[data-theme="oilers"] .corner-pumpjack .pumpjack-beam rect:last-of-type {
    fill: rgba(255, 76, 0, 0.3);
}

/* ===== MULTIPLE PUMPJACKS ===== */
.corner-pumpjack-tr {
    top: 80px;
    right: 20px;
}

.corner-pumpjack-bl {
    top: auto;
    bottom: 100px;
    left: 20px;
    right: auto;
}

/* ===== FLYING DRONES ===== */
.flying-drone {
    position: fixed;
    width: 60px;
    height: 30px;
    z-index: 40;
    pointer-events: none;
    opacity: 0.5;
}

.drone-svg {
    width: 100%;
    height: 100%;
    color: var(--green-dark);
}

/* Propeller spin */
.propeller {
    animation: spinPropeller 0.1s linear infinite;
    transform-origin: center;
}

@keyframes spinPropeller {
    to {
        transform: rotate(360deg);
    }
}

/* Drone 1 - flies left to right at top */
.drone-1 {
    top: 150px;
    animation: flyDrone1 25s linear infinite;
}

@keyframes flyDrone1 {
    0% {
        left: -80px;
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(10px) rotate(-3deg);
    }
    75% {
        transform: translateY(-15px) rotate(2deg);
    }
    100% {
        left: 110%;
        transform: translateY(0) rotate(0deg);
    }
}

/* Drone 2 - flies right to left in middle */
.drone-2 {
    top: 45%;
    animation: flyDrone2 30s linear infinite;
    animation-delay: 8s;
    opacity: 0.4;
}

@keyframes flyDrone2 {
    0% {
        right: -80px;
        left: auto;
        transform: scaleX(-1) translateY(0);
    }
    25% {
        transform: scaleX(-1) translateY(15px);
    }
    50% {
        transform: scaleX(-1) translateY(-10px);
    }
    75% {
        transform: scaleX(-1) translateY(20px);
    }
    100% {
        right: 110%;
        left: auto;
        transform: scaleX(-1) translateY(0);
    }
}

/* Drone 3 - flies diagonally */
.drone-3 {
    bottom: 200px;
    animation: flyDrone3 35s linear infinite;
    animation-delay: 15s;
    opacity: 0.35;
    width: 45px;
    height: 22px;
}

@keyframes flyDrone3 {
    0% {
        left: -60px;
        bottom: 200px;
    }
    100% {
        left: 110%;
        bottom: 500px;
    }
}

/* Hover effect on drones - slight bob */
.flying-drone:hover {
    opacity: 0.8;
}

/* Hide on mobile */
@media (max-width: 768px) {
    .flying-drone {
        display: none;
    }
    .corner-pumpjack-bl {
        display: none;
    }
}

/* Theme adaptations */
[data-theme="dark"] .flying-drone,
[data-theme="midnight"] .flying-drone {
    opacity: 0.3;
}

[data-theme="oilers"] .drone-svg {
    color: #FF4C00;
}

/* ===== MOBILE PUMPJACKS & DRONES ===== */
@media (max-width: 768px) {
    /* Show pumpjacks on mobile - smaller */
    .corner-pumpjack {
        display: block !important;
        width: 80px;
        height: 65px;
        opacity: 0.4;
    }
    
    .corner-pumpjack-tr {
        top: 70px;
        right: 10px;
    }
    
    .corner-pumpjack-bl {
        display: block !important;
        bottom: 80px;
        left: 10px;
    }
    
    /* Show 1 drone on mobile - smaller and slower */
    .flying-drone {
        display: none;
    }
    
    .drone-1 {
        display: block !important;
        width: 40px;
        height: 20px;
        top: 200px;
        opacity: 0.35;
        animation: flyDroneMobile 20s linear infinite;
    }
    
    @keyframes flyDroneMobile {
        0% {
            left: -50px;
            transform: translateY(0);
        }
        50% {
            transform: translateY(-15px);
        }
        100% {
            left: 110%;
            transform: translateY(0);
        }
    }
}

@media (max-width: 480px) {
    /* Even smaller on tiny screens */
    .corner-pumpjack {
        width: 60px;
        height: 50px;
        opacity: 0.3;
    }
    
    .corner-pumpjack-tr {
        top: 65px;
        right: 5px;
    }
    
    .corner-pumpjack-bl {
        bottom: 60px;
        left: 5px;
    }
    
    .drone-1 {
        width: 35px;
        height: 18px;
        opacity: 0.25;
    }
}

/* ===== MORE DRONES - DESKTOP ===== */
.drone-4 {
    top: 70%;
    animation: flyDrone4 28s linear infinite;
    animation-delay: 5s;
    opacity: 0.45;
    width: 55px;
    height: 28px;
}

@keyframes flyDrone4 {
    0% {
        left: -70px;
        transform: translateY(0) rotate(3deg);
    }
    30% {
        transform: translateY(-25px) rotate(-2deg);
    }
    60% {
        transform: translateY(15px) rotate(4deg);
    }
    100% {
        left: 110%;
        transform: translateY(-10px) rotate(0deg);
    }
}

.drone-5 {
    top: 25%;
    animation: flyDrone5 22s linear infinite;
    animation-delay: 12s;
    opacity: 0.4;
    width: 50px;
    height: 25px;
}

@keyframes flyDrone5 {
    0% {
        right: -60px;
        left: auto;
        transform: scaleX(-1) translateY(0);
    }
    40% {
        transform: scaleX(-1) translateY(20px);
    }
    70% {
        transform: scaleX(-1) translateY(-15px);
    }
    100% {
        right: 110%;
        left: auto;
        transform: scaleX(-1) translateY(5px);
    }
}

/* ===== MOBILE - ALL DRONES ===== */
@media (max-width: 768px) {
    .drone-1, .drone-2, .drone-3, .drone-4, .drone-5 {
        display: block !important;
    }
    
    .drone-1 {
        width: 35px;
        height: 18px;
        top: 180px;
        opacity: 0.4;
        animation: flyDroneMobile1 18s linear infinite;
    }
    
    .drone-2 {
        width: 30px;
        height: 15px;
        top: 350px;
        opacity: 0.35;
        animation: flyDroneMobile2 22s linear infinite;
        animation-delay: 4s;
    }
    
    .drone-3 {
        width: 28px;
        height: 14px;
        top: auto;
        bottom: 300px;
        opacity: 0.3;
        animation: flyDroneMobile3 25s linear infinite;
        animation-delay: 8s;
    }
    
    .drone-4 {
        width: 32px;
        height: 16px;
        top: 55%;
        opacity: 0.35;
        animation: flyDroneMobile4 20s linear infinite;
        animation-delay: 2s;
    }
    
    .drone-5 {
        width: 26px;
        height: 13px;
        top: 75%;
        opacity: 0.3;
        animation: flyDroneMobile5 28s linear infinite;
        animation-delay: 10s;
    }
    
    @keyframes flyDroneMobile1 {
        0% { left: -40px; transform: translateY(0); }
        50% { transform: translateY(-12px); }
        100% { left: 110%; transform: translateY(5px); }
    }
    
    @keyframes flyDroneMobile2 {
        0% { right: -40px; left: auto; transform: scaleX(-1); }
        50% { transform: scaleX(-1) translateY(10px); }
        100% { right: 110%; left: auto; transform: scaleX(-1) translateY(-5px); }
    }
    
    @keyframes flyDroneMobile3 {
        0% { left: -35px; transform: translateY(0); }
        100% { left: 110%; transform: translateY(-30px); }
    }
    
    @keyframes flyDroneMobile4 {
        0% { left: -40px; transform: translateY(0) rotate(2deg); }
        50% { transform: translateY(-15px) rotate(-2deg); }
        100% { left: 110%; transform: translateY(8px) rotate(0deg); }
    }
    
    @keyframes flyDroneMobile5 {
        0% { right: -35px; left: auto; transform: scaleX(-1); }
        100% { right: 110%; left: auto; transform: scaleX(-1) translateY(-20px); }
    }
}

/* ===== KROHNE-STYLE FLOATING CONTACT BUTTONS ===== */
.floating-contact {
    position: fixed;
    bottom: 110px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.float-btn {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.float-btn svg {
    width: 20px;
    height: 20px;
}

.float-email {
    background: var(--green-dark);
}

.float-email:hover {
    background: var(--green-medium);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(45, 90, 61, 0.4);
}

.float-phone {
    background: var(--green-accent);
}

.float-phone:hover {
    background: #5a9c6a;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

/* ===== KROHNE-STYLE UTILITY BAR ===== */
.utility-bar {
    background: var(--green-dark);
    color: white;
    padding: 8px 0;
    font-size: 13px;
}

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

.utility-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.utility-location {
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.9;
}

.utility-location svg {
    opacity: 0.8;
}

.utility-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.utility-link {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.utility-link:hover {
    opacity: 1;
}

.utility-phone {
    background: rgba(255,255,255,0.15);
    padding: 4px 12px;
    border-radius: 4px;
}

.utility-phone:hover {
    background: rgba(255,255,255,0.25);
}

/* Adjust header for utility bar */
.header {
    top: 37px;
}

/* Theme adaptations for utility bar */
[data-theme="dark"] .utility-bar,
[data-theme="midnight"] .utility-bar {
    background: #1a1a1a;
    border-bottom: 1px solid #333;
}

[data-theme="oilers"] .utility-bar {
    background: #041E42;
    border-bottom: 2px solid #FF4C00;
}

[data-theme="oilers"] .float-email {
    background: #FF4C00;
}

[data-theme="oilers"] .float-phone {
    background: #041E42;
    border: 2px solid #FF4C00;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .utility-bar {
        display: none;
    }
    
    .header {
        top: 0;
    }
    
    .floating-contact {
        bottom: 70px;
        right: 16px;
    }
    
    .float-btn {
        width: 40px;
        height: 40px;
    }
    
    .float-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* ===== KROHNE-STYLE MEGA FOOTER ===== */
.mega-footer {
    background: var(--bg-white);
    margin-top: 60px;
}

.footer-main {
    padding: 60px 0 40px;
    border-top: 1px solid var(--border-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
}

.footer-heading {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 10px;
}

.footer-list a {
    color: var(--text-medium);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-list a:hover {
    color: var(--green-dark);
}

.footer-address {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.8;
}

.footer-address strong {
    color: var(--text-dark);
}

.footer-phone a,
.footer-email a {
    color: var(--green-dark);
    text-decoration: none;
    font-weight: 500;
}

.footer-phone a:hover,
.footer-email a:hover {
    text-decoration: underline;
}

/* Footer Bottom Bar */
.footer-bottom {
    background: var(--green-dark);
    padding: 20px 0;
    color: white;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand-bottom {
    display: flex;
    flex-direction: column;
}

.footer-logo-text {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.footer-logo-sub {
    font-size: 10px;
    letter-spacing: 0.15em;
    opacity: 0.8;
}

.footer-legal {
    display: flex;
    gap: 20px;
    font-size: 13px;
    opacity: 0.9;
}

.footer-legal a {
    color: white;
    text-decoration: none;
}

.footer-legal a:hover {
    text-decoration: underline;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    color: white;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.social-link:hover {
    opacity: 1;
}

/* Dark theme footer */
[data-theme="dark"] .mega-footer,
[data-theme="midnight"] .mega-footer {
    background: var(--bg-alt);
}

[data-theme="dark"] .footer-bottom,
[data-theme="midnight"] .footer-bottom {
    background: #111;
}

[data-theme="oilers"] .footer-bottom {
    background: #041E42;
    border-top: 3px solid #FF4C00;
}

/* Mobile footer */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-contact {
        grid-column: span 2;
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-contact {
        grid-column: span 1;
    }
}

/* ===== KROHNE-STYLE TABS ===== */
.tab-container {
    margin-top: 40px;
}

.tab-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border-light);
    overflow-x: auto;
}

.tab-btn {
    padding: 16px 24px;
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-medium);
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
    white-space: nowrap;
}

.tab-btn:hover {
    color: var(--green-dark);
}

.tab-btn.active {
    color: var(--green-dark);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--green-dark);
}

.tab-content {
    display: none;
    padding: 40px 0;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Oilers theme tabs */
[data-theme="oilers"] .tab-btn.active {
    color: #FF4C00;
}

[data-theme="oilers"] .tab-btn.active::after {
    background: #FF4C00;
}

/* ===== BREADCRUMB NAVIGATION ===== */
.breadcrumb {
    padding: 15px 0;
    font-size: 13px;
    color: var(--text-muted);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: var(--green-dark);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    color: var(--text-muted);
}

/* ===== KROHNE-STYLE IMAGE CARDS ===== */
.image-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.image-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

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

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

.image-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    color: white;
}

.image-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.image-card-subtitle {
    font-size: 13px;
    opacity: 0.8;
}

.image-card-arrow {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: var(--green-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.image-card:hover .image-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

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

@media (max-width: 480px) {
    .image-card-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== VIDEO BACKGROUND ===== */
.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(232, 238, 228, 0.6) 0%,
        rgba(232, 238, 228, 0.4) 30%,
        rgba(232, 238, 228, 0.5) 70%,
        rgba(232, 238, 228, 0.75) 100%
    );
    z-index: 2;
}

/* Blueprint overlay on top of video */
.hero .blueprint-bg {
    z-index: 3;
    opacity: 0.25;
    mix-blend-mode: multiply;
}

/* Dark mode video overlay */
[data-theme="dark"] .video-overlay {
    background: linear-gradient(
        180deg,
        rgba(26, 26, 26, 0.8) 0%,
        rgba(26, 26, 26, 0.6) 30%,
        rgba(26, 26, 26, 0.7) 70%,
        rgba(26, 26, 26, 0.9) 100%
    );
}

[data-theme="midnight"] .video-overlay {
    background: linear-gradient(
        180deg,
        rgba(10, 10, 20, 0.85) 0%,
        rgba(10, 10, 20, 0.6) 30%,
        rgba(10, 10, 20, 0.7) 70%,
        rgba(10, 10, 20, 0.9) 100%
    );
}

[data-theme="oilers"] .video-overlay {
    background: linear-gradient(
        180deg,
        rgba(4, 30, 66, 0.85) 0%,
        rgba(4, 30, 66, 0.6) 30%,
        rgba(4, 30, 66, 0.7) 70%,
        rgba(4, 30, 66, 0.9) 100%
    );
}

/* Mobile - keep video but optimize */
@media (max-width: 768px) {
    .video-bg {
        display: block; /* Keep video on mobile */
    }

    .hero-video {
        /* Reduce quality impact on mobile */
        filter: brightness(0.9);
    }
    
    .hero .blueprint-bg {
        opacity: 0.2;
        mix-blend-mode: multiply;
    }

    /* Stronger overlay on mobile for text readability */
    .video-overlay {
        background: linear-gradient(
            180deg,
            rgba(232, 238, 228, 0.7) 0%,
            rgba(232, 238, 228, 0.5) 30%,
            rgba(232, 238, 228, 0.6) 70%,
            rgba(232, 238, 228, 0.85) 100%
        ) !important;
    }
}

/* Prefer reduced motion - pause video */
@media (prefers-reduced-motion: reduce) {
    .hero-video {
        animation: none;
    }
}

/* ===== PROBLEMS WE SOLVE SECTION ===== */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.problem-card {
    background: var(--bg-white, #fff);
    border: 1px solid var(--border-light, #e5e5e0);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--green-dark), var(--green-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.problem-card:hover {
    border-color: var(--green-dark, #2d5a3d);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

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

.problem-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.problem-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.problem-icon svg {
    width: 28px;
    height: 28px;
}

.problem-icon--red {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.problem-icon--orange {
    background: rgba(255, 152, 0, 0.1);
    color: #f57c00;
}

.problem-icon--green {
    background: rgba(45, 90, 61, 0.1);
    color: var(--green-dark, #2d5a3d);
}

.problem-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

.problem-tag--critical {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.problem-tag--high {
    background: rgba(255, 152, 0, 0.1);
    color: #f57c00;
}

.problem-tag--medium {
    background: rgba(45, 90, 61, 0.1);
    color: var(--green-dark, #2d5a3d);
}

.problem-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark, #1a1a1a);
    margin-bottom: 10px;
    line-height: 1.3;
}

.problem-desc {
    font-size: 14px;
    color: var(--text-medium, #4a4a4a);
    line-height: 1.6;
    margin-bottom: 20px;
}

.problem-solution {
    border-top: 1px solid var(--border-light, #e5e5e0);
    padding-top: 16px;
}

.solution-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--green-dark, #2d5a3d);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.solution-text {
    font-size: 13px;
    color: var(--text-medium, #4a4a4a);
    line-height: 1.6;
}

/* Problems CTA */
.problems-cta {
    margin-top: 48px;
}

.problems-cta-inner {
    background: linear-gradient(135deg, var(--green-dark, #2d5a3d), #1a3d28);
    border-radius: var(--radius-xl);
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    position: relative;
    overflow: hidden;
}

.problems-cta-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50%;
}

.problems-cta-inner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: 5%;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 50%;
}

.problems-cta-text h3 {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.problems-cta-text p {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
}

.problems-cta-buttons {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.problems-cta-buttons .btn-primary {
    background: #fff;
    color: var(--green-dark, #2d5a3d);
    border-color: #fff;
}

.problems-cta-buttons .btn-primary:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-2px);
}

/* Emergency Button Style */
.btn-emergency {
    background: #dc3545;
    color: #fff;
    border: 2px solid #dc3545;
    font-weight: 700;
    border-radius: var(--radius-md);
    padding: 14px 28px;
    cursor: pointer;
    font-family: var(--font);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: emergencyPulse 2s ease-in-out infinite;
}

.btn-emergency:hover {
    background: #c82333;
    border-color: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(220, 53, 69, 0.4);
    animation: none;
}

@keyframes emergencyPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(220, 53, 69, 0); }
}

/* Responsive Problems Grid */
@media (max-width: 1200px) {
    .problems-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .problems-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .problems-cta-inner {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }
    
    .problems-cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .problems-cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Dark theme support for problems */
[data-theme="dark"] .problem-card,
[data-theme="midnight"] .problem-card {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.1);
}

[data-theme="dark"] .problem-card:hover,
[data-theme="midnight"] .problem-card:hover {
    border-color: var(--green-accent);
    background: rgba(255,255,255,0.06);
}

[data-theme="dark"] .problem-title,
[data-theme="midnight"] .problem-title {
    color: #fff;
}

[data-theme="dark"] .problem-desc,
[data-theme="dark"] .solution-text,
[data-theme="midnight"] .problem-desc,
[data-theme="midnight"] .solution-text {
    color: rgba(255,255,255,0.7);
}

[data-theme="dark"] .problem-solution,
[data-theme="midnight"] .problem-solution {
    border-color: rgba(255,255,255,0.1);
}

[data-theme="oilers"] .problem-card {
    background: rgba(4, 30, 66, 0.05);
    border-color: rgba(4, 30, 66, 0.15);
}

[data-theme="oilers"] .problem-card:hover {
    border-color: #FF4C00;
}

[data-theme="oilers"] .problems-cta-inner {
    background: linear-gradient(135deg, #041E42, #0a2d5c);
}

[data-theme="oilers"] .solution-label {
    color: #FF4C00;
}

[data-theme="oilers"] .problem-card::before {
    background: linear-gradient(90deg, #041E42, #FF4C00);
}

/* ===== PROCESS TIMELINE ===== */
.process-timeline {
    position: relative;
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 40px;
}

.process-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.process-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green-dark, #2d5a3d), var(--green-medium, #3D7A4F));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 16px rgba(45, 90, 61, 0.3);
    transition: all 0.3s ease;
}

.process-step:hover .process-number {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(45, 90, 61, 0.4);
}

.process-number span {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
}

.process-connector {
    display: none;
}

.process-content {
    background: var(--bg-white, #fff);
    border: 1px solid var(--border-light, #e5e5e0);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    width: 100%;
    transition: all 0.3s ease;
    position: relative;
}

.process-content::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--bg-white, #fff);
    border-left: 1px solid var(--border-light, #e5e5e0);
    border-top: 1px solid var(--border-light, #e5e5e0);
    transform: translateX(-50%) rotate(45deg);
}

.process-step:hover .process-content {
    border-color: var(--green-dark, #2d5a3d);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.process-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    color: var(--green-dark, #2d5a3d);
}

.process-icon svg {
    width: 100%;
    height: 100%;
}

.process-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark, #1a1a1a);
    margin-bottom: 8px;
}

.process-desc {
    font-size: 14px;
    color: var(--text-medium, #4a4a4a);
    line-height: 1.6;
    margin-bottom: 16px;
}

.process-details {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.process-tag {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(45, 90, 61, 0.08);
    color: var(--green-dark, #2d5a3d);
    letter-spacing: 0.3px;
}

/* Process Timeline Responsive */
@media (max-width: 1024px) {
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Process Dark Theme */
[data-theme="dark"] .process-content,
[data-theme="midnight"] .process-content {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.1);
}

[data-theme="dark"] .process-content::before,
[data-theme="midnight"] .process-content::before {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.1);
}

[data-theme="dark"] .process-title,
[data-theme="midnight"] .process-title {
    color: #fff;
}

[data-theme="dark"] .process-desc,
[data-theme="midnight"] .process-desc {
    color: rgba(255,255,255,0.7);
}

[data-theme="dark"] .process-tag,
[data-theme="midnight"] .process-tag {
    background: rgba(255,255,255,0.08);
    color: var(--green-accent);
}

[data-theme="oilers"] .process-number {
    background: linear-gradient(135deg, #041E42, #0a3d6b);
}

[data-theme="oilers"] .process-tag {
    background: rgba(255, 76, 0, 0.1);
    color: #FF4C00;
}

/* ===== FAQ SECTION ===== */
.faq-grid {
    margin-top: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-white, #fff);
    border: 1px solid var(--border-light, #e5e5e0);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--green-dark, #2d5a3d);
}

.faq-item.active {
    border-color: var(--green-dark, #2d5a3d);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    font-family: var(--font);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark, #1a1a1a);
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
}

.faq-question:hover {
    color: var(--green-dark, #2d5a3d);
}

.faq-chevron {
    flex-shrink: 0;
    color: var(--text-light, #7a7a7a);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--green-dark, #2d5a3d);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-answer p {
    font-size: 15px;
    color: var(--text-medium, #4a4a4a);
    line-height: 1.7;
}

.faq-answer strong {
    color: var(--green-dark, #2d5a3d);
}

/* FAQ Dark Theme */
[data-theme="dark"] .faq-item,
[data-theme="midnight"] .faq-item {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.1);
}

[data-theme="dark"] .faq-question,
[data-theme="midnight"] .faq-question {
    color: #fff;
}

[data-theme="dark"] .faq-answer p,
[data-theme="midnight"] .faq-answer p {
    color: rgba(255,255,255,0.7);
}

[data-theme="dark"] .faq-answer strong,
[data-theme="midnight"] .faq-answer strong {
    color: var(--green-accent);
}

[data-theme="oilers"] .faq-item.active {
    border-color: #FF4C00;
}

[data-theme="oilers"] .faq-item.active .faq-chevron {
    color: #FF4C00;
}

/* ==========================================================================
   COMPREHENSIVE MOBILE RESPONSIVENESS
   All phone sizes: 320px (iPhone SE) → 480px → 768px (tablets)
   ========================================================================== */

/* --- GLOBAL MOBILE FIXES --- */
@media (max-width: 768px) {
    body {
        font-size: 15px;
        overflow-x: hidden;
    }

    .container {
        padding: 0 16px;
    }

    .section {
        padding: 48px 0;
    }

    .section-header {
        margin-bottom: 28px;
    }

    .section-title {
        font-size: 24px !important;
    }

    .section-subtitle {
        font-size: 14px !important;
    }
}

/* --- HEADER / NAV (Mobile) --- */
@media (max-width: 768px) {
    .header {
        padding: 8px 0;
    }

    .logo {
        gap: 8px;
    }

    .logo-container {
        width: 36px;
        height: 36px;
        border-radius: 6px;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
    }

    .logo-name {
        font-size: 13px;
        letter-spacing: 0.04em;
    }

    .logo-sub {
        font-size: 7px;
        letter-spacing: 0.12em;
    }

    /* Theme switcher: move to header on mobile instead of fixed bottom-right */
    .theme-switch {
        position: static !important;
        background: none !important;
        padding: 0 !important;
        box-shadow: none !important;
        flex-direction: row;
        gap: 4px;
    }

    .theme-label {
        display: none;
    }

    .theme-track {
        padding: 2px;
    }

    .theme-btn {
        width: 28px;
        height: 28px;
    }

    .theme-btn svg {
        width: 14px;
        height: 14px;
    }
}

/* --- HERO (Mobile) --- */
@media (max-width: 768px) {
    .hero {
        padding: 100px 0 50px;
        min-height: auto;
    }

    .hero-content {
        margin-bottom: 32px;
    }

    .hero-badge {
        font-size: 11px;
        padding: 6px 12px;
        margin-bottom: 16px;
    }

    .hero-title-wrapper {
        height: 100px;
        margin-bottom: 12px;
    }

    .hero-title {
        font-size: clamp(28px, 8vw, 42px) !important;
    }

    .hero-subtitle-wrapper {
        height: auto;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        position: relative !important;
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    /* Pumpjacks - scale down */
    .pumpjack-1 {
        width: 200px;
        height: 150px;
        left: -5%;
        bottom: -2%;
        opacity: 0.5;
    }

    .pumpjack-2 {
        width: 160px;
        height: 120px;
        right: -5%;
        opacity: 0.4;
    }

    .pumpjack-3 {
        display: none;
    }

    /* Hide energy lines on mobile for cleanliness */
    .energy-line,
    .energy-line-v {
        display: none;
    }

    /* Reduce particles */
    .particle:nth-child(n+6) {
        display: none;
    }
}

/* --- STATS (Mobile) --- */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .stat-card {
        padding: 14px 10px;
    }

    .stat-number {
        font-size: 20px;
    }

    .stat-label {
        font-size: 8px;
    }

    .stat-status {
        font-size: 10px;
        padding: 3px 8px;
    }
}

/* --- SERVICES (Mobile) --- */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .service-card {
        padding: 20px;
    }

    .service-title {
        font-size: 16px;
    }

    .service-desc {
        font-size: 13px;
    }
}

/* --- PROBLEMS WE SOLVE (Mobile) --- */
@media (max-width: 768px) {
    .problems-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }

    .problem-card {
        padding: 18px 14px;
    }

    .problem-card h3 {
        font-size: 14px;
    }

    .problem-card p {
        font-size: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

@media (max-width: 480px) {
    .problems-grid {
        grid-template-columns: 1fr !important;
    }
}

/* --- PROCESS TIMELINE (Mobile) --- */
@media (max-width: 768px) {
    .process-timeline {
        grid-template-columns: 1fr !important;
        gap: 20px;
        max-width: 100%;
    }

    .process-step {
        padding: 0 8px;
    }

    .process-number {
        width: 48px;
        height: 48px;
        margin-bottom: 12px;
    }

    .process-number span {
        font-size: 16px;
    }
}

/* --- DISCIPLINES (Mobile) --- */
@media (max-width: 480px) {
    .disciplines-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .discipline-card {
        padding: 16px 10px;
    }

    .cad-discipline {
        width: 40px;
        height: 40px;
    }

    .discipline-name {
        font-size: 12px;
    }

    .discipline-code {
        font-size: 16px;
    }

    .discipline-status {
        font-size: 10px;
    }
}

/* --- INDUSTRIES (Mobile) --- */
@media (max-width: 480px) {
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .industry-card {
        padding: 14px 8px;
    }

    .industry-name {
        font-size: 10px;
    }
}

/* --- PROJECTS (Mobile) --- */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
}

/* --- ABOUT (Mobile) --- */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }
}

/* --- SAFETY (Mobile) --- */
@media (max-width: 768px) {
    .safety-badges {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .safety-badge {
        padding: 18px 12px;
    }

    .cad-safety-icon {
        width: 48px;
        height: 48px;
    }

    .safety-badge-img {
        width: 48px;
        height: 48px;
    }

    .safety-title {
        font-size: 22px;
    }
}

/* --- ASSOCIATIONS (Mobile) - already flex-wrap, just tighten gap --- */
@media (max-width: 768px) {
    .associations-grid {
        gap: 20px;
    }

    .association-card {
        min-width: 120px;
    }
}

/* --- CLIENTS / TRUSTED BY (Mobile) --- */
@media (max-width: 768px) {
    .clients-grid {
        gap: 12px 20px;
    }

    .client-logo {
        padding: 8px 14px;
        font-size: 13px;
    }
}

/* --- OIL BANNER (Mobile) --- */
@media (max-width: 768px) {
    .oil-banner-section {
        padding: 40px 0 !important;
    }
}

/* --- FAQ (Mobile) --- */
@media (max-width: 768px) {
    .faq-list {
        gap: 8px;
    }

    .faq-question {
        padding: 16px;
        font-size: 14px;
        gap: 10px;
    }

    .faq-answer {
        padding: 0 16px;
    }

    .faq-item.active .faq-answer {
        padding: 0 16px 16px;
    }

    .faq-answer p {
        font-size: 13px;
    }
}

/* --- CONTACT SECTION (Mobile) --- */
@media (max-width: 768px) {
    .contact-section {
        padding: 48px 0;
    }

    .contact-card {
        padding: 28px 20px !important;
        border-radius: 16px;
    }

    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }
}

/* --- FLOATING BUTTONS (Mobile) --- */
@media (max-width: 768px) {
    /* Emergency FAB - make smaller on mobile */
    .emergency-fab {
        bottom: 140px;
        right: 16px;
        padding: 10px 16px;
        font-size: 0.8rem;
    }

    .emergency-fab svg {
        width: 16px;
        height: 16px;
    }

    /* Floating contact buttons */
    .floating-contact {
        right: 16px !important;
        bottom: 70px !important;
    }

    .floating-contact a {
        width: 40px !important;
        height: 40px !important;
    }

    .floating-contact svg {
        width: 18px !important;
        height: 18px !important;
    }

    /* Hide bottom-left corner pumpjack on mobile */
    .corner-pumpjack-bl {
        display: none !important;
    }
}

/* --- EMERGENCY MODAL (Mobile) --- */
@media (max-width: 768px) {
    .emergency-overlay {
        padding: 10px;
        align-items: flex-start;
        padding-top: 60px;
    }

    .emergency-card {
        max-height: 85vh;
        overflow-y: auto;
    }
}

/* --- CAROUSEL / SLIDESHOWS (Mobile) --- */
@media (max-width: 768px) {
    .carousel-track {
        gap: 12px;
    }
    
    .carousel-slide {
        min-width: 280px;
    }

    .carousel-slide img {
        height: 180px;
    }
}

/* ===== EXTRA SMALL PHONES (320px - iPhone SE) ===== */
@media (max-width: 380px) {
    .container {
        padding: 0 12px;
    }

    .hero-title {
        font-size: 26px !important;
    }

    .hero-subtitle {
        font-size: 13px;
    }

    .stats-grid {
        gap: 8px;
    }

    .stat-card {
        padding: 12px 8px;
    }

    .stat-number {
        font-size: 20px;
    }

    .disciplines-grid {
        gap: 6px;
    }

    .discipline-card {
        padding: 12px 6px;
    }

    .emergency-fab {
        padding: 8px 12px;
        font-size: 0.7rem;
        bottom: 150px;
    }

    .emergency-fab .emergency-fab-label {
        display: none;
    }
}

/* ===== TABLET LANDSCAPE (768px - 1024px) ===== */
@media (min-width: 769px) and (max-width: 1024px) {
    .problems-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

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

    .pumpjack-1 {
        width: 350px;
        height: 260px;
    }

    .pumpjack-2 {
        width: 280px;
        height: 210px;
    }

    .pumpjack-3 {
        width: 200px;
        height: 150px;
        opacity: 0.35;
    }
}

/* ═══════════════ COMMUNITY IMPACT SECTION ═══════════════ */
.community-impact-section {
    padding: 5rem 0;
    background: linear-gradient(170deg, #0f1a12 0%, #1a2b1e 40%, #0d1610 100%);
    position: relative;
    overflow: hidden;
}
.community-impact-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(43,85,44,0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 70%, rgba(43,85,44,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.community-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}
.community-header .section-badge {
    background: rgba(43,85,44,0.25);
    color: #7dca80;
    border: 1px solid rgba(43,85,44,0.4);
}
.community-title {
    font-size: 1.25rem;
    color: #a0b5a2;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 1rem;
}
.community-org-name {
    font-size: 2.2rem;
    font-weight: 700;
    color: #e8f5e9;
    margin-top: 0.5rem;
    letter-spacing: -0.02em;
}
.community-lead {
    max-width: 700px;
    margin: 1rem auto 0;
    color: #8fa891;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Info Cards */
.community-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}
.community-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 2rem;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.community-card:hover {
    transform: translateY(-4px);
    border-color: rgba(43,85,44,0.4);
}
.community-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(43,85,44,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7dca80;
    margin-bottom: 1rem;
}
.community-card h4 {
    color: #e0efe2;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.community-card p {
    color: #8fa891;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Training Program */
.community-training {
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}
.community-training-title {
    text-align: center;
    color: #c8deca;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.community-training-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.community-training-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.community-training-item:hover {
    transform: translateY(-2px);
    border-color: rgba(43,85,44,0.35);
}
.community-training-icon {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}
.community-training-item strong {
    display: block;
    color: #d4e8d6;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}
.community-training-item span {
    color: #7a9b7c;
    font-size: 0.82rem;
    line-height: 1.4;
}

/* Value Badges */
.community-values {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}
.community-value-badge {
    background: rgba(43,85,44,0.15);
    color: #7dca80;
    border: 1px solid rgba(43,85,44,0.3);
    padding: 0.5rem 1.1rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: background 0.2s, transform 0.2s;
}
.community-value-badge:hover {
    background: rgba(43,85,44,0.3);
    transform: scale(1.05);
}

/* CTA */
.community-cta {
    text-align: center;
    position: relative;
    z-index: 1;
}
.community-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    background: linear-gradient(135deg, #2b552c, #3d7a4f);
    color: #fff;
    border: none;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s;
    box-shadow: 0 4px 20px rgba(43,85,44,0.4);
}
.community-cta-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 28px rgba(43,85,44,0.55);
}
.community-partner-label {
    margin-top: 1rem;
    color: #6a8a6c;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.03em;
}

/* Responsive */
@media (max-width: 768px) {
    .community-cards {
        grid-template-columns: 1fr;
    }
    .community-training-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .community-org-name {
        font-size: 1.6rem;
    }
    .community-values {
        gap: 0.5rem;
    }
    .community-value-badge {
        font-size: 0.78rem;
        padding: 0.4rem 0.8rem;
    }
}
@media (max-width: 480px) {
    .community-training-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .header,
    .theme-switch,
    .emergency-fab,
    .floating-contact,
    .particles-container,
    .energy-line,
    .energy-line-v {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: 20px 0;
    }

    body {
        background: white;
        color: black;
    }
}
