/*
Theme Name: OPA Energy
Theme URI: https://www.opacourses.com
Author: OPA Energy Development Team
Author URI: https://www.opacourses.com
Description: Premium corporate theme for OPA Energy (OPETCO) — Egyptian-based petroleum services company with international presence.
Version: 2.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: opa-energy
Tags: corporate, dark, petroleum, energy, premium, avant-garde
*/

/* ============ 1. TOKENS — "Molten Energy Editorial" ============ */
:root {
    --ink: #0A0B0E;
    --ink-2: #111318;
    --ink-3: #1A1D24;
    --cream: #F4F1EA;
    --cream-2: #EBE7DD;
    --flame: #FF4D00;
    --flame-rgb: 255, 77, 0;
    --ember: #FF8A00;
    --smoke: rgba(244, 241, 234, 0.55);
    --line-dark: rgba(244, 241, 234, 0.12);
    --line-light: rgba(10, 11, 14, 0.12);

    /* Legacy aliases — keep every template working */
    --navy: var(--ink);
    --navy-rgb: 10, 11, 14;
    --maroon: var(--flame);
    --maroon-rgb: var(--flame-rgb);
    --light-bg: var(--cream-2);
    --white: #FFFFFF;
    --charcoal: #15171C;
    --accent-blue: var(--flame);
    --gold: var(--ember);

    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-accent: 'Space Grotesk', sans-serif;
    --font-mono: 'Space Grotesk', monospace;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --transition: 0.4s var(--ease-out);

    --shadow-sm: 0 2px 8px rgba(10, 11, 14, 0.08);
    --shadow-md: 0 12px 40px rgba(10, 11, 14, 0.14);
    --shadow-lg: 0 30px 80px rgba(10, 11, 14, 0.22);
    --radius: 4px;
    --radius-sm: 2px;
    --radius-lg: 8px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Film grain over the whole site */
body::after {
    content: '';
    position: fixed;
    inset: -50%;
    width: 200%;
    height: 200%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
    background: var(--flame);
    color: var(--cream);
}

::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--ink-3);
    border-radius: 10px;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--ink);
}

h1 {
    font-size: clamp(2.75rem, 6vw, 4.5rem);
}

h2 {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
}

h3 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
}

/* ============ 3. LAYOUT UTILITIES ============ */
.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

.container-wide {
    width: min(1400px, 94%);
    margin: 0 auto;
}

.section {
    padding: clamp(90px, 12vw, 150px) 0;
    position: relative;
}

.section-white {
    background: var(--cream);
}

.section-light {
    background: var(--cream-2);
}

.section-dark {
    background: var(--ink);
    color: var(--cream);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6 {
    color: var(--cream);
}

/* Section header — editorial kicker */
.section-header {
    margin-bottom: clamp(40px, 6vw, 70px);
}

.slashes {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--flame);
    margin-bottom: 18px;
}

.slashes::after {
    content: '';
    display: block;
    width: 56px;
    height: 1px;
    background: currentColor;
    opacity: 0.5;
}

.section-header h2 {
    max-width: 18ch;
}

.section-dark .section-header h2 {
    color: var(--cream);
}

/* ============ 4. SCROLL REVEALS ============ */
.reveal,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
    will-change: opacity, transform;
}

.reveal {
    transform: translateY(48px);
}

.reveal-left {
    transform: translateX(-56px);
}

.reveal-right {
    transform: translateX(56px);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: none;
}

/* ============ 5. BUTTONS — sliding fill pills ============ */
.btn-primary,
.btn-outline,
.btn-white,
.btn-ghost {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 100px;
    border: 1px solid transparent;
    cursor: pointer;
    overflow: hidden;
    isolation: isolate;
    transition: color 0.45s var(--ease-out), border-color 0.45s var(--ease-out);
}

.btn-primary i,
.btn-outline i,
.btn-white i,
.btn-ghost i {
    transition: transform 0.45s var(--ease-out);
}

.btn-primary:hover i,
.btn-outline:hover i,
.btn-white:hover i,
.btn-ghost:hover i {
    transform: translateX(6px);
}

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

.btn-primary::before,
.btn-outline::before,
.btn-ghost::before,
.btn-white::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    transform: translateY(101%);
    transition: transform 0.5s var(--ease-out);
    z-index: -1;
}

.btn-primary::before {
    background: var(--ink);
}

.btn-primary:hover {
    color: var(--cream);
}

.btn-primary:hover::before {
    transform: translateY(0);
}

.btn-outline,
.btn-ghost {
    background: transparent;
    color: var(--cream);
    border-color: rgba(244, 241, 234, 0.35);
}

.btn-outline::before,
.btn-ghost::before {
    background: var(--cream);
}

.btn-outline:hover,
.btn-ghost:hover {
    color: var(--ink);
    border-color: var(--cream);
}

.btn-outline:hover::before,
.btn-ghost:hover::before {
    transform: translateY(0);
}

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

.btn-white::before {
    background: var(--flame);
}

.btn-white:hover {
    color: var(--cream);
}

.btn-white:hover::before {
    transform: translateY(0);
}

@keyframes btnPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 77, 0, 0.45);
    }

    70% {
        box-shadow: 0 0 0 18px rgba(255, 77, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 77, 0, 0);
    }
}

.pulse-btn {
    animation: btnPulse 2.4s ease-out infinite;
}

/* ============ 6. LOADING SCREEN ============ */
.loading-screen {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--ink);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    transition: opacity 0.8s var(--ease-out), visibility 0.8s;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-logo {
    width: 150px;
    opacity: 0.25;
    filter: drop-shadow(0 0 30px rgba(255, 77, 0, 0.35));
}

.loading-drops {
    display: flex;
    gap: 14px;
}

.loading-drop {
    width: 10px;
    height: 14px;
    background: var(--flame);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    transform: rotate(45deg);
}

.loading-bar {
    width: 200px;
    height: 2px;
    background: var(--line-dark);
    border-radius: 2px;
    overflow: hidden;
}

.loading-bar-fill {
    height: 100%;
    background: var(--flame);
}

/* ============ 7. HEADER ============ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1200;
    padding: 26px 0;
    transition: padding 0.4s var(--ease-out), background 0.4s var(--ease-out), box-shadow 0.4s;
}

.site-header.scrolled {
    padding: 12px 0;
    background: rgba(10, 11, 14, 0.75);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 1px 0 var(--line-dark);
}

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

.site-logo img {
    height: 90px;
    width: auto;
    opacity: 0.85;
    transition: transform 0.4s var(--ease-out);
}

.site-logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 38px;
    list-style: none;
}

.nav-links a {
    position: relative;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cream);
    padding: 6px 0;
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--flame);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.45s var(--ease-out);
}

.nav-links a:not(.nav-cta):hover::after,
.nav-links a.active:not(.nav-cta)::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-links a.active:not(.nav-cta) {
    color: var(--flame);
}

.nav-cta {
    padding: 12px 26px !important;
    border: 1px solid var(--flame);
    border-radius: 100px;
    color: var(--flame) !important;
    transition: background 0.4s var(--ease-out), color 0.4s;
}

.nav-cta:hover {
    background: var(--flame);
    color: var(--cream) !important;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1210;
    width: 44px;
    height: 44px;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--cream);
    transition: transform 0.4s var(--ease-out), opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile overlay */
.mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: circle(0% at calc(100% - 46px) 46px);
    transition: clip-path 0.7s var(--ease-out);
}

.mobile-overlay.active {
    clip-path: circle(150% at calc(100% - 46px) 46px);
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
}

.mobile-nav-links li {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.mobile-overlay.active .mobile-nav-links li {
    opacity: 1;
    transform: none;
}

.mobile-overlay.active .mobile-nav-links li:nth-child(1) {
    transition-delay: 0.15s;
}

.mobile-overlay.active .mobile-nav-links li:nth-child(2) {
    transition-delay: 0.22s;
}

.mobile-overlay.active .mobile-nav-links li:nth-child(3) {
    transition-delay: 0.29s;
}

.mobile-overlay.active .mobile-nav-links li:nth-child(4) {
    transition-delay: 0.36s;
}

.mobile-overlay.active .mobile-nav-links li:nth-child(5) {
    transition-delay: 0.43s;
}

.mobile-nav-links a:not(.nav-cta) {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 8vw, 3rem);
    font-weight: 600;
    color: var(--cream);
    padding: 10px 0;
    transition: color 0.3s, letter-spacing 0.3s;
}

.mobile-nav-links a:not(.nav-cta):hover {
    color: var(--flame);
    letter-spacing: 0.04em;
}

/* ============ 8. HERO ============ */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    background: var(--ink);
    color: var(--cream);
    overflow: hidden;
    padding: 140px 0 120px;
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-glow {
    position: absolute;
    width: 55vw;
    height: 55vw;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    pointer-events: none;
}

.hero-glow--a {
    top: -20%;
    right: -15%;
    background: radial-gradient(circle, rgba(255, 77, 0, 0.28), transparent 65%);
}

.hero-glow--b {
    bottom: -30%;
    left: -18%;
    background: radial-gradient(circle, rgba(255, 138, 0, 0.16), transparent 65%);
}

.hero-grid-lines {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(var(--line-dark) 1px, transparent 1px),
        linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
    background-size: 8.333vw 8.333vw;
    mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 30%, transparent 75%);
    opacity: 0.5;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: min(1400px, 94%);
}

.hero-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: clamp(30px, 5vw, 60px);
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--smoke);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--flame);
    flex-shrink: 0;
}

.hero-geo {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(244, 241, 234, 0.35);
}

/* Giant display title */
.hero-title {
    font-size: clamp(3.4rem, 11.5vw, 10.5rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: var(--cream);
    margin-left: -0.04em;
}

.hero-line {
    display: block;
    overflow: hidden;
    padding: 0.06em 0;
}

.hero-title em {
    font-style: italic;
    font-weight: 400;
    color: var(--flame);
}

.hero-outline {
    color: transparent;
    -webkit-text-stroke: 2px var(--cream);
}

.hero-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: clamp(36px, 5vw, 64px);
}

.hero-subtitle {
    max-width: 44ch;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    color: var(--smoke);
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero ticker */
.hero-ticker {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    border-top: 1px solid var(--line-dark);
    background: rgba(10, 11, 14, 0.4);
    backdrop-filter: blur(6px);
    overflow: hidden;
    padding: 16px 0;
}

.ticker-track {
    display: flex;
    align-items: center;
    gap: 48px;
    width: max-content;
    white-space: nowrap;
}

.ticker-track span {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    color: var(--smoke);
}

.ticker-track i {
    font-style: normal;
    color: var(--flame);
    font-size: 0.8rem;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 84px;
    right: clamp(20px, 4vw, 56px);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--smoke);
}

.scroll-indicator span {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
}

.scroll-indicator .chevron {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--flame), transparent);
}

/* Legacy hero classes (kept for safety) */
.hero-bg-overlay,
.hero-geometric,
.hero-slashes,
.hero-content {
    position: relative;
    z-index: 2;
}

/* ============ 9. ABOUT SNAPSHOT + MAP ============ */
.about-snapshot {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(40px, 6vw, 90px);
    align-items: center;
}

.about-text p {
    color: rgba(10, 11, 14, 0.72);
    font-size: 1.05rem;
}

.about-highlight {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-top: 32px;
    padding: 24px 28px;
    background: var(--ink);
    color: var(--cream);
    border-radius: var(--radius-lg);
    border-left: 3px solid var(--flame);
}

.about-highlight .icon {
    font-size: 1.6rem;
    color: var(--flame);
    flex-shrink: 0;
}

.about-highlight p {
    color: var(--smoke);
    font-size: 0.95rem;
}

.world-map {
    position: relative;
    width: 100%;
}

.world-map-card {
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.world-map-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
}

.map-arcs-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.map-connection-arc {
    fill: none;
    stroke: var(--flame);
    stroke-width: 1.8px;
    stroke-dasharray: 6 6;
    animation: arcDash 20s linear infinite;
    opacity: 0.9;
}

@keyframes arcDash {
    to {
        stroke-dashoffset: -120;
    }
}

.map-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 5;
    cursor: pointer;
}

.pin-marker {
    position: relative;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.pin-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: rgba(255, 77, 0, 0.45);
    animation: mapPulse 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

.pin-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--flame);
    border: 2px solid var(--cream);
    box-shadow: 0 0 10px rgba(255, 77, 0, 0.8);
    position: relative;
    z-index: 2;
    transition: transform 0.3s var(--ease-out);
}

.pin-dot--hq {
    box-shadow: 0 0 14px var(--flame);
}

.map-pin:hover .pin-dot {
    transform: scale(1.4);
}

.pin-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(10, 11, 14, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 77, 0, 0.35);
    padding: 6px 12px;
    border-radius: 100px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
    transition: transform 0.3s var(--ease-out), border-color 0.3s, background-color 0.3s;
}

.map-pin:hover .pin-badge {
    border-color: var(--flame);
    z-index: 10;
}

.pin-badge--hq {
    border-color: var(--flame);
    background: rgba(255, 77, 0, 0.16);
}

.badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.badge-text strong {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--cream);
    text-transform: uppercase;
}

.badge-text small {
    font-size: 0.62rem;
    color: var(--smoke);
}

.pin-badge .flag {
    font-size: 0.95rem;
}

/* Offsets preventing badge overlaps */
.map-pin--usa .pin-badge {
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
}

.map-pin--egypt .pin-badge {
    bottom: 22px;
    right: -10px;
}

.map-pin--uae .pin-badge {
    top: 22px;
    left: -10px;
}

@keyframes mapPulse {
    0% {
        transform: scale(0.8);
        opacity: 0.9;
    }

    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

@media (max-width: 600px) {
    .world-map-card {
        padding: 16px 8px;
    }

    .pin-badge {
        padding: 4px 8px;
        gap: 4px;
    }

    .badge-text strong {
        font-size: 0.62rem;
    }

    .badge-text small {
        font-size: 0.52rem;
    }

    .pin-badge .flag {
        font-size: 0.8rem;
    }
}


/* ============ 10. STATS — giant index numbers ============ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line-dark);
    border-left: 1px solid var(--line-dark);
}

.stat-item {
    padding: clamp(28px, 3.5vw, 48px);
    border-right: 1px solid var(--line-dark);
    border-bottom: 1px solid var(--line-dark);
    transition: background 0.5s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.stat-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--flame);
    transform: translateY(101%);
    transition: transform 0.5s var(--ease-out);
    z-index: 0;
}

.stat-item:hover::after {
    transform: translateY(0);
}

.stat-item>* {
    position: relative;
    z-index: 1;
}

.stat-item:hover .stat-icon,
.stat-item:hover .stat-label {
    color: var(--ink);
}

.stat-icon {
    font-size: 1.5rem;
    color: var(--flame);
    margin-bottom: 18px;
    transition: color 0.4s;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 4.5vw, 4rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--cream);
}

.stat-label {
    margin-top: 10px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--smoke);
    transition: color 0.4s;
}

/* ============ 11. SERVICES — hover-invert cards ============ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--line-light);
}

.service-card {
    background: var(--cream);
    padding: clamp(30px, 3.5vw, 48px);
    transition: background 0.5s var(--ease-out), transform 0.3s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--flame);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out);
}

.service-card:hover {
    background: var(--ink);
}

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

.service-card:hover h3 {
    color: var(--cream);
}

.service-card:hover p {
    color: var(--smoke);
}

.service-card:hover .card-link {
    color: var(--flame);
}

.service-icon {
    position: relative;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    font-size: 1.6rem;
    color: var(--flame);
}

.service-icon .teardrop {
    position: absolute;
    inset: 0;
    border: 1px solid var(--flame);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    transition: transform 0.6s var(--ease-out), background 0.5s;
}

.service-card:hover .service-icon .teardrop {
    transform: rotate(315deg);
    background: rgba(255, 77, 0, 0.12);
}

.service-card h3 {
    margin-bottom: 14px;
    transition: color 0.4s;
}

.service-card p {
    font-size: 0.95rem;
    color: rgba(10, 11, 14, 0.68);
    margin-bottom: 24px;
    transition: color 0.4s;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink);
    transition: color 0.4s, gap 0.4s var(--ease-out);
}

.card-link:hover {
    gap: 14px;
}

/* ============ 12. VALUES ============ */
.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.value-card {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: clamp(26px, 3vw, 40px);
    background: var(--white);
    border: 1px solid var(--line-light);
    border-radius: var(--radius-lg);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--ink);
    color: var(--flame);
    font-size: 1.35rem;
}

.value-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.value-card p {
    font-size: 0.92rem;
    color: rgba(10, 11, 14, 0.62);
}

/* ============ 13. GALLERY ============ */
.gallery-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 12px 26px;
    background: transparent;
    border: 1px solid var(--line-light);
    border-radius: 100px;
    color: var(--ink);
    cursor: pointer;
    transition: all 0.35s var(--ease-out);
}

.filter-btn:hover {
    border-color: var(--ink);
}

.filter-btn.active {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--cream);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    transition: transform 0.5s var(--ease-out), opacity 0.4s, scale 0.4s;
}

.gallery-item.hidden {
    display: none;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out), filter 0.5s;
}

.gallery-item:hover {
    transform: translateY(-6px);
}

.gallery-item:hover img {
    transform: scale(1.08);
    filter: saturate(1.15);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    background: linear-gradient(to top, rgba(10, 11, 14, 0.9), transparent 55%);
    opacity: 0;
    transition: opacity 0.5s var(--ease-out);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    color: var(--cream);
    font-size: 1.05rem;
}

.gallery-overlay span {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--flame);
}

/* ============ 14. PARTNERS MARQUEE ============ */
.partners-marquee {
    overflow: hidden;
    padding: 10px 0;
}

.marquee-row {
    display: flex;
    align-items: center;
    gap: 48px;
    width: max-content;
}

/* ============ 15. CTA BANNER ============ */
.cta-banner {
    position: relative;
    padding: clamp(90px, 12vw, 150px) 0;
    background: var(--flame);
    color: var(--cream);
    text-align: center;
    overflow: hidden;
}

.cta-banner::before {
    content: 'OPA';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: 38vw;
    font-weight: 700;
    line-height: 1;
    color: rgba(10, 11, 14, 0.08);
    pointer-events: none;
    white-space: nowrap;
}

.cta-banner .container {
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    color: var(--cream);
    max-width: 20ch;
    margin: 0 auto 20px;
}

.cta-banner p {
    max-width: 52ch;
    margin: 0 auto 40px;
    color: rgba(244, 241, 234, 0.85);
}

.cta-banner .btn-white {
    border: none;
}

/* ============ 16. PAGE HERO (subpages) ============ */
.page-hero {
    position: relative;
    background: var(--ink);
    color: var(--cream);
    padding: 200px 0 100px;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 77, 0, 0.22), transparent 65%);
    filter: blur(100px);
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    color: var(--cream);
    font-size: clamp(3rem, 8vw, 6.5rem);
    text-transform: uppercase;
    letter-spacing: -0.03em;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--smoke);
    margin-bottom: 24px;
}

.breadcrumb a:hover {
    color: var(--flame);
}

.breadcrumb .sep {
    color: var(--flame);
}

.tagline {
    color: var(--smoke);
    max-width: 56ch;
    font-size: 1.1rem;
    margin-top: 20px;
}

.badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--flame);
    border: 1px solid var(--flame);
    border-radius: 100px;
    padding: 8px 18px;
    margin-bottom: 16px;
}

/* ============ 17. SERVICES PAGE COMPONENTS ============ */
.capability-list {
    list-style: none;
    margin-top: 24px;
}

.capability-list li {
    position: relative;
    padding: 14px 0 14px 34px;
    border-bottom: 1px solid var(--line-light);
    font-size: 0.95rem;
}

.capability-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--flame);
    font-weight: 600;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--line-dark);
}

.dash-card {
    background: var(--ink-2);
    padding: 36px 30px;
    transition: background 0.4s var(--ease-out);
}

.dash-card:hover {
    background: var(--ink-3);
}

.dash-card i {
    font-size: 1.6rem;
    color: var(--flame);
    display: block;
    margin-bottom: 16px;
}

.dash-value {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--cream);
    letter-spacing: -0.02em;
}

.dash-label {
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--smoke);
    margin-top: 6px;
}

/* Solution tabs */
.solution-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.solution-tab {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 14px 30px;
    background: transparent;
    border: 1px solid var(--line-light);
    border-radius: 100px;
    cursor: pointer;
    color: var(--ink);
    transition: all 0.35s var(--ease-out);
}

.solution-tab:hover {
    border-color: var(--ink);
}

.solution-tab.active {
    background: var(--flame);
    border-color: var(--flame);
    color: var(--cream);
}

.solution-panel {
    display: none;
}

.solution-panel.active {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(40px, 5vw, 70px);
    align-items: center;
    animation: fadeInUp 0.7s var(--ease-out);
}

.solution-content h3 {
    font-size: 1.8rem;
    margin-bottom: 18px;
}

.solution-content p {
    color: rgba(10, 11, 14, 0.7);
    margin-bottom: 16px;
}

.solution-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.solution-image img {
    border-radius: var(--radius-lg);
}

.key-advantage {
    margin-top: 28px;
    padding: 22px 26px;
    background: var(--ink);
    color: var(--cream);
    border-left: 3px solid var(--flame);
    border-radius: var(--radius-lg);
    font-size: 0.95rem;
}

/* Tech & safety grids */
.tech-grid,
.safety-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tech-card,
.safety-item {
    background: var(--white);
    border: 1px solid var(--line-light);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}

.tech-card:hover,
.safety-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.tech-icon,
.safety-item i {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--ink);
    color: var(--flame);
    font-size: 1.35rem;
    margin-bottom: 20px;
}

.tech-card h3,
.safety-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.tech-card p,
.safety-item p {
    font-size: 0.92rem;
    color: rgba(10, 11, 14, 0.62);
}

/* ============ 18. ABOUT PAGE COMPONENTS ============ */
.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.mission-card,
.vision-card {
    padding: clamp(36px, 4vw, 56px);
    border-radius: var(--radius-lg);
}

.mission-card {
    background: var(--ink);
    color: var(--cream);
}

.mission-card h3 {
    color: var(--cream);
}

.mission-card p {
    color: var(--smoke);
}

.vision-card {
    background: var(--white);
    border: 1px solid var(--line-light);
}

.vision-card p {
    color: rgba(10, 11, 14, 0.68);
}

.vision-card .icon,
.mission-card .icon {
    font-size: 2rem;
    color: var(--flame);
    margin-bottom: 20px;
}

.vision-tagline {
    font-family: var(--font-accent);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--flame);
    margin-top: 16px;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--line-light);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 48px 56px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    position: absolute;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--flame);
    box-shadow: 0 0 0 6px rgba(255, 77, 0, 0.18);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -7px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -7px;
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--flame);
    letter-spacing: -0.02em;
}

.timeline-content h3 {
    font-size: 1.15rem;
    margin: 8px 0;
}

.timeline-content p {
    font-size: 0.94rem;
    color: rgba(10, 11, 14, 0.65);
}

/* Learning blocks */
.learning-section .container {
    display: grid;
    gap: 24px;
}

.learning-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 5vw, 70px);
    align-items: center;
    padding: clamp(30px, 4vw, 50px);
    background: var(--white);
    border: 1px solid var(--line-light);
    border-radius: var(--radius-lg);
}

.learning-block h3 {
    font-size: 1.5rem;
    margin-bottom: 14px;
}

.learning-block p {
    color: rgba(10, 11, 14, 0.68);
}

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

.learning-list li {
    padding: 10px 0 10px 30px;
    position: relative;
    border-bottom: 1px solid var(--line-light);
}

.learning-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--flame);
}

/* Global map section */
.global-map-section {
    text-align: center;
}

.country-flag,
.flag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Partners full grid */
.partners-full-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.partner-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    padding: 32px 20px;
    background: var(--white);
    border: 1px solid var(--line-light);
    border-radius: var(--radius-lg);
    transition: transform 0.4s var(--ease-out), border-color 0.4s;
}

.partner-card:hover {
    transform: translateY(-6px);
    border-color: var(--flame);
}

.partner-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--cream-2);
    color: var(--ink);
    font-size: 1.25rem;
    transition: background 0.4s, color 0.4s;
}

.partner-card:hover .partner-icon {
    background: var(--flame);
    color: var(--cream);
}

.partner-card span {
    font-size: 0.82rem;
    font-weight: 500;
}

.map-embed {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.map-embed iframe {
    width: 100%;
    border: 0;
    display: block;
    filter: grayscale(0.4) contrast(1.05);
}

/* ============ 19. CONTACT PAGE ============ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(40px, 5vw, 70px);
    align-items: start;
}

.contact-info-block {
    padding: 28px 0;
    border-bottom: 1px solid var(--line-light);
}

.contact-info-block:first-child {
    padding-top: 0;
}

.contact-info-block i {
    color: var(--flame);
    font-size: 1.3rem;
    margin-right: 12px;
}

.contact-info-block strong {
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
}

.contact-form {
    background: var(--ink);
    color: var(--cream);
    padding: clamp(34px, 4vw, 54px);
    border-radius: var(--radius-lg);
}

.contact-form h3 {
    color: var(--cream);
}

.form-subtitle {
    color: var(--smoke);
    font-size: 0.92rem;
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--smoke);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 18px;
    background: var(--ink-2);
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--flame);
    box-shadow: 0 0 0 3px rgba(255, 77, 0, 0.18);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-submit {
    margin-top: 8px;
}

.contact-cta {
    margin-top: 60px;
    text-align: center;
}

/* Offices */
.office-cards,
.offices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.office-card,
.office-detail-card {
    background: var(--white);
    border: 1px solid var(--line-light);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}

.office-card:hover,
.office-detail-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.office-card i,
.office-detail-card i {
    font-size: 1.6rem;
    color: var(--flame);
    display: block;
    margin-bottom: 16px;
}

.office-card h3,
.office-detail-card h3 {
    margin-bottom: 10px;
}

.office-card p,
.office-detail-card p {
    font-size: 0.92rem;
    color: rgba(10, 11, 14, 0.62);
}

/* ============ 20. 404 ============ */
.page-404 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--ink);
    color: var(--cream);
    padding: 120px 5%;
}

.error-code {
    font-family: var(--font-heading);
    font-size: clamp(7rem, 22vw, 16rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    color: transparent;
    -webkit-text-stroke: 2px var(--flame);
}

.page-404 h1 {
    color: var(--cream);
    margin: 20px 0 14px;
}

.page-404 p {
    color: var(--smoke);
    max-width: 46ch;
    margin: 0 auto 36px;
}

/* ============ 21. FOOTER ============ */
.site-footer {
    background: var(--ink);
    color: var(--smoke);
    padding: clamp(70px, 8vw, 110px) 0 0;
    border-top: 1px solid var(--line-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr;
    gap: clamp(40px, 5vw, 80px);
    padding-bottom: 60px;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 20px;
}

.footer-tagline {
    font-family: var(--font-accent);
    font-style: italic;
    color: var(--flame);
    margin-bottom: 14px;
}

.footer-about p {
    font-size: 0.92rem;
}

.footer-col h4 {
    color: var(--cream);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 6px;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.92rem;
    padding: 4px 0;
    transition: color 0.3s, transform 0.3s var(--ease-out);
}

.footer-links a i {
    color: var(--flame);
    font-size: 0.8rem;
}

.footer-links a:hover {
    color: var(--flame);
    transform: translateX(6px);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line-dark);
    border-radius: 50%;
    color: var(--cream);
    font-size: 1.1rem;
    transition: all 0.35s var(--ease-out);
}

.social-link:hover {
    background: var(--flame);
    border-color: var(--flame);
    transform: translateY(-4px);
}

.footer-contact-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 18px;
    font-size: 0.9rem;
}

.footer-contact-item i {
    color: var(--flame);
    font-size: 1.15rem;
    margin-top: 3px;
}

.footer-contact-item strong {
    color: var(--cream);
    font-family: var(--font-heading);
    font-weight: 600;
}

.footer-contact-item a:hover {
    color: var(--flame);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 26px 0;
    border-top: 1px solid var(--line-dark);
    font-size: 0.82rem;
}

.footer-bottom a {
    color: var(--flame);
    font-family: var(--font-heading);
    letter-spacing: 0.1em;
}

/* ============ 22. LIGHTBOX ============ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10001;
    background: rgba(10, 11, 14, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease-out), visibility 0.4s;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 86vw;
    max-height: 80vh;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.lightbox-close {
    position: absolute;
    top: 28px;
    right: 36px;
    background: none;
    border: none;
    color: var(--cream);
    font-size: 2.6rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s, transform 0.3s;
}

.lightbox-close:hover {
    color: var(--flame);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--line-dark);
    border-radius: 50%;
    color: var(--cream);
    font-size: 1.6rem;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.lightbox-nav:hover {
    background: var(--flame);
    border-color: var(--flame);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-caption {
    position: absolute;
    bottom: 34px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--smoke);
}

/* ============ 23. RESPONSIVE ============ */
@media (max-width: 1024px) {

    .services-grid,
    .stats-grid,
    .tech-grid,
    .safety-grid,
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 820px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .about-snapshot,
    .mission-vision,
    .contact-grid,
    .learning-block,
    .solution-panel.active {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .hero-geo {
        display: none;
    }

    .hero-title {
        font-size: clamp(2.9rem, 13vw, 6rem);
    }

    .hero-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .scroll-indicator {
        display: none;
    }

    .timeline::before {
        left: 7px;
    }

    .timeline-item,
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        width: 100%;
        left: 0;
        text-align: left;
        padding: 0 0 48px 40px;
    }

    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 0;
        right: auto;
    }

    .office-cards,
    .offices-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {

    .services-grid,
    .stats-grid,
    .tech-grid,
    .safety-grid,
    .dashboard-grid,
    .gallery-grid,
    .partners-full-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-ctas .btn-primary,
    .hero-ctas .btn-ghost {
        width: 100%;
        justify-content: center;
    }

    .page-hero {
        padding: 160px 0 70px;
    }
}

/* Contact details column */
.contact-details h3 {
    font-size: 1.4rem;
    margin-bottom: 24px;
}

.contact-details>p {
    color: rgba(10, 11, 14, 0.68);
    margin-bottom: 20px;
}