﻿@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* ── Splash Intro Screen ── */
.no-splash #qmicsSplash { display: none !important; }
#qmicsSplash {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: #060d20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}
#qmicsSplash.sp-exit {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.sp-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}
.sp-logo-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}
.sp-logo-glow {
    position: absolute;
    width: 240px; height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(0,100,210,0.6) 0%,
        rgba(0,60,160,0.3) 40%,
        transparent 70%);
    animation: spGlowPulse 2.8s ease-in-out infinite;
}
@keyframes spGlowPulse {
    0%,100% { transform: scale(0.92); opacity: 0.8; }
    50%      { transform: scale(1.08); opacity: 1;   }
}
.sp-logo {
    position: relative;
    z-index: 2;
    width: 170px;
    height: auto;
    animation: spLogoIn 1.1s cubic-bezier(0.175,0.885,0.32,1.275) 0.2s both;
}
@keyframes spLogoIn {
    0%   { opacity: 0; transform: scale(0.25); }
    60%  { opacity: 1; transform: scale(1.07); }
    80%  { transform: scale(0.97); }
    100% { opacity: 1; transform: scale(1);    }
}
.sp-name {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 10px;
    color: #ffffff;
    text-transform: uppercase;
    animation: spSlideUp 0.7s ease 1.2s both;
}
.sp-tag {
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3.5px;
    color: #fab814;
    text-transform: uppercase;
    animation: spSlideUp 0.7s ease 1.5s both;
}
.sp-line {
    width: 55px;
    height: 2px;
    background: #fab814;
    border-radius: 2px;
    animation: spSlideUp 0.7s ease 1.7s both;
}
@keyframes spSlideUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0);     }
}

/* Brand Design Tokens */
:root {
    --color-primary: #1b4d61;        /* QMICS Deep Slate Teal */
    --color-primary-dark: #0f2c38;   /* Deep Slate Dark */
    --color-primary-bg: #091b22;     /* Ultra Dark Navy for Hero */
    --color-accent: #fab814;         /* QMICS Radiant Golden Yellow */
    --color-accent-hover: #e2a50a;   /* Hover gold */
    --color-accent-rgb: 250, 184, 20;
    --color-light-bg: #f4f8fa;       /* Soft light blue gray */
    --color-white: #ffffff;
    --color-text-main: #2b3940;      /* Dark charcoal slate */
    --color-text-muted: #62757d;     /* Muted gray-teal */
    --color-border: #e2ecf0;         /* Soft borders */
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 4px 6px -1px rgba(27, 77, 97, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(27, 77, 97, 0.08);
    --shadow-lg: 0 20px 40px -15px rgba(27, 77, 97, 0.15);
    
    --border-radius: 12px;
}

/* Base resets & styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

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

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

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

button, input, textarea {
    font-family: inherit;
    border: none;
    outline: none;
    background: none;
}

/* Highlight style for 'TRAINING' */
.highlight-training {
    color: var(--color-accent);
    position: relative;
    display: inline-block;
    font-weight: 800;
}

.highlight-training::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-accent);
    border-radius: 2px;
    transform: scaleX(1);
    transform-origin: left;
    box-shadow: 0 2px 10px rgba(var(--color-accent-rgb), 0.5);
    animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
    0% { opacity: 0.7; box-shadow: 0 2px 4px rgba(var(--color-accent-rgb), 0.3); }
    100% { opacity: 1; box-shadow: 0 2px 12px rgba(var(--color-accent-rgb), 0.7); }
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-smooth);
    gap: 8px;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-primary-dark);
    box-shadow: 0 4px 15px rgba(var(--color-accent-rgb), 0.35);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--color-accent-rgb), 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(var(--color-accent-rgb), 0.2);
}

.btn-secondary {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(27, 77, 97, 0.25);
}

.btn-secondary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 77, 97, 0.4);
}

/* ── 2-Row Site Header ── */
:root {
    --qmics-blue: #052049;
    --qmics-gold: #fab814;
    --navy-bg:    #0D1B2A;
}

.site-header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--navy-bg);
    box-shadow: 0 4px 30px rgba(5,32,73,0.25);
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.header-container {
    display: flex;
    align-items: center;
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 28px;
    height: 88px;
}

.logo-wrap {
    display: flex;
    align-items: center;
    padding: 4px 0;
    margin-right: 24px;
    flex-shrink: 0;
    height: 100%;
    text-decoration: none;
}

.logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: brightness(1.15) contrast(1.1) saturate(1.2);
}

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

.header-right {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    height: 100%;
    justify-content: space-between;
}

/* TOP ROW */
.header-top-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 10px;
    flex: 1;
}
.header-top-row .contact-links {
    margin-right: auto;
}
.header-group-badges {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-left: 0;
}
.group-badge {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #fab814;
    border: 1.5px solid #fab814;
    border-radius: 4px;
    padding: 3px 10px;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s, color .2s, box-shadow .2s;
}
.group-badge:hover {
    background: #fab814;
    color: #0D1B2A;
    box-shadow: 0 0 10px rgba(250,184,20,0.5);
}

.contact-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,0.85);
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
}

.contact-link i { color: var(--qmics-gold); font-size: 13px; }
.contact-link:hover { color: var(--qmics-gold); }

.social-links { display: flex; align-items: center; gap: 8px; }
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px; height: 30px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.28);
    color: rgba(255,255,255,0.78);
    font-size: 12.5px;
    text-decoration: none;
    transition: color 0.2s, border-color 0.2s, transform 0.2s, background 0.2s;
}
.social-links a:hover {
    color: var(--qmics-gold);
    border-color: var(--qmics-gold);
    background: rgba(250,184,20,0.08);
    transform: translateY(-2px);
}

/* GOLD DIVIDER */
.header-gold-line {
    height: 2px;
    background: var(--qmics-gold);
    width: 100%;
    flex-shrink: 0;
}

/* BOTTOM ROW: nav */
.header-bottom-row {
    display: flex;
    align-items: center;
    padding-bottom: 10px;
    flex: 1;
}

.navbar { display: flex; align-items: center; width: 100%; }

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 6px;
    flex-grow: 1;
    padding: 0; margin: 0;
}

.nav-item { position: relative; }

.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(255,255,255,0.88);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.25px;
    padding: 7px 18px;
    text-transform: uppercase;
    white-space: nowrap;
    text-decoration: none;
    position: relative;
    transition: color 0.2s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 18px; right: 18px;
    height: 2px;
    background: var(--qmics-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-link:hover, .nav-link.active { color: var(--qmics-gold); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-icon { font-size: 11px; }
.arrow    { font-size: 9px;  }

/* Mobile menu contact block — hidden on desktop/tablet */
.mob-menu-contact { display: none; }

/* CONTACT US pill */
.nav-contact-btn { margin-left: auto; }
.nav-contact-link {
    background: var(--qmics-gold) !important;
    color: #052049 !important;
    padding: 7px 18px !important;
    border-radius: 50px !important;
    font-weight: 800 !important;
    box-shadow: 0 3px 12px rgba(250,184,20,0.38);
}
.nav-contact-link:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(250,184,20,0.55) !important;
    color: #052049 !important;
}
.nav-contact-link::after { display: none !important; }

/* ── HOVER DROPDOWNS (simple) ── */
.simple-dropdown {
    position: absolute;
    top: 100%; left: 18px;
    min-width: 210px;
    background: #ffffff;
    border: 1.5px solid #E2E8F0;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.13);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
    z-index: 9999;
    overflow: hidden;
    list-style: none;
    padding: 4px 0;
}

.nav-item:hover .simple-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.simple-dropdown li a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 18px;
    color: #052049;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, padding-left 0.2s;
}

.simple-dropdown li a i {
    color: var(--qmics-gold);
    font-size: 13px;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.simple-dropdown li a:hover { background: #F0F7FD; padding-left: 22px; }

/* ── MEGA PANEL (Compliance Consulting) ── */
.mega-panel {
    position: fixed;
    top: 0; left: 0;
    transform: translateY(6px);
    min-width: 720px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 16px 40px rgba(5,32,73,0.22);
    border-top: 3px solid var(--qmics-gold);
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: all 0.28s cubic-bezier(0.4,0,0.2,1);
    pointer-events: none;
    overflow: hidden;
    background-color: #ffffff;
}

/* Background image slides — hidden for clean look */
.mega-bg-slides { display: none; }

.nav-item:hover .mega-panel,
.nav-item.mega-open .mega-panel {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.mega-header {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 28px;
    background: linear-gradient(135deg, #052049 0%, #1a3770 100%);
    border-bottom: 3px solid var(--qmics-gold);
}

.mega-header-icon {
    font-size: 28px;
    color: var(--qmics-gold);
    flex-shrink: 0;
}

.mega-header h3 {
    font-size: 17px; font-weight: 800;
    color: #ffffff; margin: 0 0 4px;
    line-height: 1.2;
}

.mega-header p { font-size: 12px; color: rgba(255,255,255,0.7); margin: 0; }

.mega-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    padding: 16px 20px;
    background: #ffffff;
}

.mega-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 12px 14px;
    border-radius: 6px;
    background: transparent;
    border: none;
    text-decoration: none;
    transition: background 0.18s ease;
}

.mega-item:hover {
    background: #eef4ff;
}

.mega-item-icon {
    font-size: 18px;
    color: #1e3a6e;
    flex-shrink: 0;
    margin-top: 2px;
}

.mega-item strong {
    display: block;
    font-size: 13px; font-weight: 700;
    color: #0d1e3a; margin-bottom: 2px;
}

.mega-item small { font-size: 11px; color: #607090; line-height: 1.4; }


/* ── HAMBURGER (mobile only) ── */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none; border: none;
    cursor: pointer; padding: 5px;
    margin-right: 12px;
}

.hamburger span {
    display: block;
    width: 22px; height: 2.5px;
    background: rgba(255,255,255,0.88);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ── Hero Background Slideshow ── */
.hero-slides-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    opacity: 0;
    will-change: opacity;
    transition: opacity 0.8s ease-in-out;
    animation: heroKenBurns 14s ease-in-out infinite alternate;
    filter: brightness(0.45);
}

.hero-slide.active { opacity: 1; }

@keyframes heroKenBurns {
    0%   { transform: scale(1.06) translate(0, 0); }
    33%  { transform: scale(1.10) translate(-6px, -4px); }
    66%  { transform: scale(1.08) translate(5px, -2px); }
    100% { transform: scale(1.06) translate(0, 3px); }
}

.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: -3s; }
.hero-slide:nth-child(3) { animation-delay: -6s; }
.hero-slide:nth-child(4) { animation-delay: -9s; }
.hero-slide:nth-child(5) { animation-delay: -2s; }
.hero-slide:nth-child(6) { animation-delay: -5s; }

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(135deg, rgba(3,8,22,0.72) 0%, rgba(5,15,45,0.45) 50%, rgba(3,8,22,0.60) 100%),
        linear-gradient(to top, rgba(3,8,22,0.90) 0%, rgba(3,8,22,0.40) 35%, transparent 65%),
        linear-gradient(to right, rgba(3,8,22,0.70) 0%, transparent 55%);
}

/* Full-Bleed Sliding Hero Section */
.hero {
    min-height: 100vh;
    padding: 108px 0 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-color: var(--color-primary-bg);
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5) contrast(1.1) saturate(0.85);
    transform-origin: center center;
}

/* Each slide gets its own Ken Burns direction */
.hero-slide:nth-child(1) img { animation: kenBurns1 3s ease-in-out forwards; }
.hero-slide:nth-child(2) img { animation: kenBurns2 3s ease-in-out forwards; }
.hero-slide:nth-child(3) img { animation: kenBurns3 3s ease-in-out forwards; }
.hero-slide:nth-child(4) img { animation: kenBurns4 3s ease-in-out forwards; }
.hero-slide:nth-child(5) img { animation: kenBurns5 3s ease-in-out forwards; }
.hero-slide:nth-child(6) img { animation: kenBurns6 3s ease-in-out forwards; }

@keyframes kenBurns1 {
    0%   { transform: scale(1.0)  translate(0px,   0px); }
    100% { transform: scale(1.12) translate(-18px, -8px); }
}
@keyframes kenBurns2 {
    0%   { transform: scale(1.08) translate(15px,  -10px); }
    100% { transform: scale(1.18) translate(-10px,  8px); }
}
@keyframes kenBurns3 {
    0%   { transform: scale(1.15) translate(-12px,  5px); }
    100% { transform: scale(1.05) translate( 12px, -5px); }
}
@keyframes kenBurns4 {
    0%   { transform: scale(1.0)  translate(10px,  10px); }
    100% { transform: scale(1.14) translate(-8px,  -12px); }
}
@keyframes kenBurns5 {
    0%   { transform: scale(1.1)  translate(-15px, 0px); }
    100% { transform: scale(1.2)  translate( 10px, -10px); }
}
@keyframes kenBurns6 {
    0%   { transform: scale(1.18) translate(8px, -8px); }
    100% { transform: scale(1.06) translate(-14px, 6px); }
}


@keyframes floatHUD {
    0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); }
    50% { transform: translateY(-16px) rotate(3deg) scale(1.02); }
}

/* Two-column hero layout */
.hero-container {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero-left-col {
    text-align: left;
}

.hero-right-col {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Training Level Pyramid (clean, perfect slope) ── */
.training-pyramid {
    position: relative;
    width: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 16px 0 80px;
    background: transparent;
    overflow: visible;
}

.pyr-bg-grid { display: none; }

.pyr-level {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 1;
    cursor: default;
    transition: filter 0.28s ease;
    animation-play-state: paused !important;
}

.pyr-go .pyr-level:not(.pyr-mastery) {
    animation-play-state: running !important;
}
.pyr-mastery-go .pyr-mastery {
    animation-play-state: running !important;
}
.pyr-level:hover { filter: brightness(1.3); }

.pyr-icon { font-size: 27px; line-height: 1; }

.pyr-level span {
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Perfect pyramid slope:
   mastery-bottom → 30%/70%
   advanced-bottom → 21%/79%
   intermediate-bottom → 12%/88%
   foundation-bottom → 3%/97%
*/

/* MASTERY — triangle */
.pyr-mastery {
    clip-path: polygon(50% 0%, 70% 100%, 30% 100%);
    background: linear-gradient(175deg, #080a10 0%, #12100a 55%, #1c1500 100%);
    color: #f4b000;
    height: 162px;
    justify-content: flex-end;
    padding-bottom: 16px;
    animation: pyrSlideIn 0.3s cubic-bezier(0.22,1,0.36,1) both 0s,
               pyrBreath 4s ease-in-out infinite 0.4s;
}

/* ADVANCED */
.pyr-advanced {
    clip-path: polygon(30% 0%, 70% 0%, 79% 100%, 21% 100%);
    background: linear-gradient(180deg, #061614 0%, #0b2420 55%, #061614 100%);
    color: #00d4c8;
    height: 72px;
    animation: pyrSlideIn 0.6s cubic-bezier(0.22,1,0.36,1) both 0.9s,
               pyrBreath 4s ease-in-out infinite 1.6s;
}

/* INTERMEDIATE */
.pyr-intermediate {
    clip-path: polygon(21% 0%, 79% 0%, 88% 100%, 12% 100%);
    background: linear-gradient(180deg, #090618 0%, #130c28 55%, #090618 100%);
    color: #9966ff;
    height: 72px;
    animation: pyrSlideIn 0.6s cubic-bezier(0.22,1,0.36,1) both 0.5s,
               pyrBreath 4s ease-in-out infinite 1.2s;
}

/* FOUNDATION */
.pyr-foundation {
    clip-path: polygon(12% 0%, 88% 0%, 97% 100%, 3% 100%);
    background: linear-gradient(180deg, #050e18 0%, #091a28 55%, #050e18 100%);
    color: #00c8e8;
    height: 75px;
    animation: pyrSlideIn 0.6s cubic-bezier(0.22,1,0.36,1) both 0.1s,
               pyrBreath 4s ease-in-out infinite 0.8s;
}

@keyframes pyrSlideIn {
    0%   { opacity: 0; transform: translateY(18px); filter: brightness(0.2); }
    100% { opacity: 1; transform: translateY(0);    filter: brightness(1);   }
}

/* ── Pyramid blast zone ── */
.pyr-blast-zone {
    position: absolute;
    top: 95px;
    left: 50%;
    width: 0; height: 0;
    z-index: 20;
    pointer-events: none;
}

/* Flash burst */
.pyr-flash {
    position: absolute;
    width: 90px; height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(250,184,20,0.85) 35%, transparent 70%);
    left: 0; top: 0;
    transform: translate(-50%, -50%) scale(0);
    animation: pyrFlashAnim 0.4s ease-out both;
    pointer-events: none;
}

@keyframes pyrFlashAnim {
    0%   { transform: translate(-50%,-50%) scale(0);   opacity: 1; }
    55%  { transform: translate(-50%,-50%) scale(2.8); opacity: 0.9; }
    100% { transform: translate(-50%,-50%) scale(4);   opacity: 0; }
}

/* Individual sparkle particle */
.pyr-spark {
    position: absolute;
    border-radius: 50%;
    background: var(--color);
    box-shadow: 0 0 6px var(--color), 0 0 12px var(--color);
    left: 0; top: 0;
    animation: pyrSparkFly 0.7s ease-out var(--delay) both;
}

@keyframes pyrSparkFly {
    0%   { opacity: 1; transform: translate(-50%,-50%) translate(0,0) scale(1); }
    80%  { opacity: 0.8; }
    100% { opacity: 0;   transform: translate(-50%,-50%) translate(var(--end-x), var(--end-y)) scale(0.2); }
}

/* Star-shaped sparkle variant */
.pyr-spark-star {
    border-radius: 0;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* Confetti rain container — covers full pyramid */
.pyr-confetti-wrap {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 15;
}

/* Single confetti paper piece */
.pyr-paper {
    position: absolute;
    top: -20px;
    width: var(--pw, 14px);
    height: var(--ph, 28px);
    left: var(--lx, 50%);
    background: var(--color, #f4b000);
    border-radius: 2px;
    opacity: 1;
    animation: pyrPaperFall var(--dur, 2s) ease-in var(--delay, 0s) forwards;
    pointer-events: none;
}

@keyframes pyrPaperFall {
    0%   { opacity: 1;   transform: translateY(0)          translateX(0)           rotate(0deg)   scaleX(1); }
    25%  { opacity: 1;   transform: translateY(var(--d25))  translateX(var(--x25))  rotate(90deg)  scaleX(0.3); }
    50%  { opacity: 1;   transform: translateY(var(--d50))  translateX(var(--x50))  rotate(180deg) scaleX(1); }
    75%  { opacity: 0.8; transform: translateY(var(--d75))  translateX(var(--x75))  rotate(270deg) scaleX(0.3); }
    100% { opacity: 0;   transform: translateY(var(--d100)) translateX(var(--x100)) rotate(var(--rot, 400deg)) scaleX(1); }
}

/* ── Foundation rotating rings ── */
.pyr-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    pointer-events: none;
}

.pyr-ring-1 {
    width: 180px; height: 180px;
    border: 1.5px solid transparent;
    border-top-color: rgba(0,210,235,0.9);
    border-right-color: rgba(0,210,235,0.3);
    box-shadow: 0 0 14px rgba(0,200,230,0.4), inset 0 0 10px rgba(0,200,230,0.1);
    transform: translate(-50%, -50%) rotate(0deg);
    animation: pyrSpin 4s linear infinite;
}

.pyr-ring-2 {
    width: 125px; height: 125px;
    border: 1.5px dashed rgba(0,185,215,0.55);
    box-shadow: 0 0 10px rgba(0,185,215,0.25);
    transform: translate(-50%, -50%) rotate(0deg);
    animation: pyrSpin 3s linear infinite reverse;
}

.pyr-ring-3 {
    width: 72px; height: 72px;
    border: 2px solid transparent;
    border-bottom-color: rgba(0,220,245,0.95);
    border-left-color: rgba(0,220,245,0.4);
    box-shadow: 0 0 12px rgba(0,210,240,0.5);
    transform: translate(-50%, -50%) rotate(0deg);
    animation: pyrSpin 2s linear infinite;
}

@keyframes pyrSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 3D base ellipses below Foundation */
.pyr-base-wrap {
    position: relative;
    width: 100%;
    height: 110px;
    margin-top: 2px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pyr-base-outer {
    position: absolute;
    width: 88%;
    height: 110px;
    border-radius: 50%;
    border: 1.5px solid rgba(0,200,224,0.2);
    border-top-color: rgba(0,210,235,0.95);
    border-right-color: rgba(0,210,235,0.5);
    background: radial-gradient(ellipse at center, rgba(0,30,55,0.5) 0%, rgba(0,10,25,0.65) 100%);
    box-shadow: 0 0 22px rgba(0,180,220,0.2), inset 0 0 40px rgba(0,10,30,0.5);
}

.pyr-base-inner {
    position: absolute;
    width: 60%;
    height: 72px;
    border-radius: 50%;
    border: 1.5px solid rgba(0,190,215,0.15);
    border-bottom-color: rgba(0,220,245,0.9);
    border-left-color: rgba(0,220,245,0.45);
    box-shadow: 0 0 14px rgba(0,200,230,0.18);
}

@keyframes pyrBreath {
    0%, 100% { filter: brightness(1);    transform: translateY(0px); }
    50%       { filter: brightness(1.3); transform: translateY(-10px); }
}

@keyframes pyrBaseSpinOuter {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes pyrBaseSpinInner {
    from { transform: rotate(0deg); }
    to   { transform: rotate(-360deg); }
}

/* Training image wrapper */
.training-img-wrap {
    position: relative;
    width: 100%;
    max-width: 500px;
    flex-shrink: 0;
}
.training-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    filter: contrast(1.05) saturate(1.1) brightness(1.02);
}
.training-img-wrap .tc-overlay {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 460px; height: 460px;
    right: auto;
    opacity: 1;
}

.hero-tagline {
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: inline-block;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-title {
    color: var(--color-white);
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
}

.hero-title::after {
    content: '';
    display: none;
}
.hero-hl {
    color: #f4b000;
}
.hero-cursor {
    display: inline-block;
    color: #f4b000;
    font-weight: 300;
    margin-left: 2px;
    animation: cursorBlink 0.65s step-end infinite;
}
@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

.hero-title.typing-active::after {
    content: '|';
    display: inline-block;
    color: #f4b000;
    margin-left: 2px;
    animation: cursor-blink 0.75s step-end infinite;
}

.hero-title.typing-done::after {
    display: none;
}

@keyframes cursor-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.2rem;
    margin-bottom: 40px;
    line-height: 1.7;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

/* ══════════════════════════════════════════
   ORBITING TRAINING CIRCLES OVERLAY
   ══════════════════════════════════════════ */
.tc-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 3;
    pointer-events: none;
}

/* Rings */
.tc-ring {
    position: absolute;
    top: 50%; left: 50%;
    border-radius: 50%;
}
.tc-ring-outer {
    width: 440px; height: 440px;
    margin: -220px 0 0 -220px;
    border: 1.5px dashed rgba(26,111,255,0.5);
    animation: tcSpin 18s linear infinite;
}
.tc-ring-inner {
    width: 280px; height: 280px;
    margin: -140px 0 0 -140px;
    border: 1.5px dashed rgba(244,176,0,0.45);
    animation: tcSpin 12s linear infinite reverse;
}

/* Icon nodes positioned on ring circumference */
.tc-node {
    position: absolute;
    top: 50%; left: 50%;
    width: 54px; height: 54px;
    margin: -27px 0 0 -27px;
    transform: rotate(var(--a)) translateX(220px);
}
.tc-ring-inner .tc-node {
    width: 44px; height: 44px;
    margin: -22px 0 0 -22px;
    transform: rotate(var(--a)) translateX(140px);
}

/* Icon circles */
.tc-icon {
    width: 54px; height: 54px;
    border-radius: 50%;
    background: rgba(10,30,80,0.75);
    border: 1.5px solid rgba(26,111,255,0.7);
    display: flex; align-items: center; justify-content: center;
    color: #5b9fff;
    font-size: 20px;
    box-shadow: 0 0 18px rgba(26,111,255,0.4), inset 0 0 12px rgba(26,111,255,0.1);
    animation: tcSpin 18s linear infinite reverse; /* counter-rotate to stay upright */
}
.tc-icon-sm {
    width: 44px; height: 44px;
    font-size: 15px;
    background: rgba(30,20,5,0.75);
    border-color: rgba(244,176,0,0.65);
    color: #f4b000;
    box-shadow: 0 0 18px rgba(244,176,0,0.3), inset 0 0 10px rgba(244,176,0,0.1);
    animation: tcSpin 12s linear infinite; /* reverse of inner ring = stays upright */
}

/* Center glow pulse */
.tc-center-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 120px; height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26,111,255,0.35) 0%, rgba(26,111,255,0.1) 50%, transparent 70%);
    box-shadow: 0 0 40px rgba(26,111,255,0.5);
    animation: tcGlow 3s ease-in-out infinite;
}
@keyframes tcGlow {
    0%,100% { transform: translate(-50%,-50%) scale(1);   opacity: 0.7; }
    50%      { transform: translate(-50%,-50%) scale(1.3); opacity: 1; }
}
@keyframes tcSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ══════════════════════════════════════════
   BOMB BLAST — "TRAINING" TEXT
   ══════════════════════════════════════════ */
.tb-wrap {
    position: relative;
    display: inline-block;
}
.tb-word {
    display: inline-block;
    color: #f4b000;
    text-shadow: 0 0 30px rgba(244,176,0,0.8);
    animation: tbBlast 0.9s cubic-bezier(0.22,1,0.36,1) 0.8s both;
}
@keyframes tbBlast {
    0%   { transform: scale(5) translateY(-20px); opacity: 0; filter: blur(30px); letter-spacing: 50px; }
    35%  { transform: scale(0.88); opacity: 1; filter: blur(4px); letter-spacing: 4px; }
    55%  { transform: scale(1.12); filter: blur(1px); }
    75%  { transform: scale(0.97); filter: blur(0); }
    100% { transform: scale(1); letter-spacing: normal; filter: blur(0); }
}

/* Sparks */
.tb-spark {
    position: absolute;
    top: 50%; left: 50%;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #f4b000;
    box-shadow: 0 0 10px #f4b000, 0 0 20px rgba(244,176,0,0.6);
    animation: tbSparkFly 0.65s ease-out calc(0.8s + var(--del, 0s)) both;
}
@keyframes tbSparkFly {
    0%   { transform: translate(-50%,-50%) scale(1.2); opacity: 1; }
    100% { transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(0); opacity: 0; }
}

/* Shock ring */
.tb-shock {
    position: absolute;
    top: 50%; left: 50%;
    width: 24px; height: 24px;
    border-radius: 50%;
    border: 3px solid rgba(244,176,0,0.95);
    box-shadow: 0 0 20px rgba(244,176,0,0.7);
    animation: tbShock 0.75s ease-out 0.8s both;
}
@keyframes tbShock {
    0%   { transform: translate(-50%,-50%) scale(0.4); opacity: 1; }
    100% { transform: translate(-50%,-50%) scale(9);   opacity: 0; }
}

/* Flash burst */
.tb-flash {
    position: absolute;
    inset: -15px -50px;
    background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(244,176,0,0.45), transparent 70%);
    border-radius: 12px;
    pointer-events: none;
    animation: tbFlash 0.5s ease-out 0.8s both;
}
@keyframes tbFlash {
    0%   { opacity: 1; }
    100% { opacity: 0; }
}

.hero-training-gold {
    color: #f4b000;
    text-shadow: 0 0 24px rgba(244,176,0,0.5);
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 36px;
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 18px 32px;
    backdrop-filter: blur(10px);
    width: fit-content;
    margin-left: 0;
    margin-right: auto;
}
.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 0 28px;
}
.hero-stat-num {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
}
.hero-stat-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.15);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

/* Slider indicators/pagination dots absolute centered at the bottom of hero */
.slider-dots {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    display: flex;
    gap: 14px;
}

.slider-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.slider-dot.active {
    background-color: var(--color-accent);
    transform: scale(1.3);
    box-shadow: 0 0 12px var(--color-accent);
}


/* ── About Section (stacked rows) ── */
.about-section {
    background: linear-gradient(135deg, #05101a 0%, #0a1a26 100%);
    padding: 20px 0;
}

.about-row {
    display: flex;
    align-items: center;
    padding: 80px 8%;
    gap: 60px;
    box-sizing: border-box;
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.22,1,0.36,1);
}

.about-row[data-dir="right"] {
    transform: translateX(60px);
}

.about-row.abt-visible {
    opacity: 1;
    transform: translateX(0);
}

/* ── Global Scroll Reveal ── */
[data-reveal] {
    opacity: 0;
    transition: opacity 1s ease, transform 1s cubic-bezier(0.22,1,0.36,1);
}
[data-reveal="up"]    { transform: translateY(60px); }
[data-reveal="left"]  { transform: translateX(-70px); }
[data-reveal="right"] { transform: translateX(70px); }
[data-reveal="scale"] { transform: scale(0.88); }

[data-reveal].revealed {
    opacity: 1;
    transform: none;
}

.abt-row-reverse {
    flex-direction: row-reverse;
}

/* ── WHO WE ARE — Coursera-style ── */
.wwa-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 70px 60px;
    background: linear-gradient(135deg, #080e1c 0%, #0d1628 100%);
    border-radius: 24px;
    margin: 20px;
    position: relative;
    overflow: hidden;
}
.wwa-section::before {
    content: '';
    position: absolute;
    top: -100px; left: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(244,176,0,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.wwa-icon-box {
    width: 66px;
    height: 66px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0077aa 0%, #00c8e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: 0 0 22px rgba(0,200,232,0.55), 0 0 50px rgba(0,200,232,0.2);
}
.wwa-icon-box i {
    font-size: 1.9rem;
    color: #fff;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
    animation: wwa-icon-shine 2.8s ease-in-out infinite;
}
@keyframes wwa-icon-shine {
    0%,100%{opacity:1;transform:scale(1);filter:brightness(1) drop-shadow(0 0 3px rgba(0,200,232,0.6))}
    45%{opacity:1;transform:scale(1.22);filter:brightness(2.2) drop-shadow(0 0 16px #00c8e8) drop-shadow(0 0 30px rgba(0,200,232,0.5))}
    55%{opacity:1;transform:scale(1.16);filter:brightness(1.8) drop-shadow(0 0 10px #00c8e8)}
}

.wwa-title {
    font-size: 2.6rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}
.wwa-gold { color: #f4b000; }

.wwa-desc {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

.wwa-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 30px;
}
.wwa-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.wwa-feat-icon {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(244,176,0,0.12);
    border: 1px solid rgba(244,176,0,0.3);
    display: flex; align-items: center; justify-content: center;
    color: #f4b000;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.wwa-features li strong { display: block; color: #fff; font-size: 0.88rem; margin-bottom: 2px; }
.wwa-features li small  { color: rgba(255,255,255,0.5); font-size: 0.78rem; }

.wwa-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}
.wwa-btn {
    background: #f4b000;
    color: #000;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 13px 32px;
    border-radius: 8px;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(244,176,0,0.3);
}
.wwa-btn:hover {
    background: #ffc929;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(244,176,0,0.5);
}
.wwa-btn-outline {
    border: 2px solid rgba(255,255,255,0.3);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 11px 28px;
    border-radius: 8px;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}
.wwa-btn-outline:hover {
    border-color: #f4b000;
    color: #f4b000;
}

.wwa-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.wwa-stat { text-align: center; }
.wwa-stat .abt-num { font-size: 1.8rem; font-weight: 900; color: #f4b000; line-height: 1; }
.wwa-stat-sfx { font-size: 1.3rem; font-weight: 900; color: #f4b000; }
.wwa-stat-label { display: block; font-size: 0.72rem; color: rgba(255,255,255,0.5); margin-top: 3px; }
.wwa-stat-div { width: 1px; height: 36px; background: rgba(255,255,255,0.1); }

/* Right: Image Mosaic */
.wwa-right {
    display: flex;
    flex-direction: row;
    gap: 12px;
    height: 420px;
}
.wwa-img-tall {
    position: relative;
    border-radius: 16px;
    flex: 1.3;
    min-height: 0;
    perspective: 900px;
}
.wwa-img-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    min-height: 0;
}
.wwa-img-sm {
    position: relative;
    border-radius: 16px;
    flex: 1;
    min-height: 0;
    perspective: 900px;
}

/* ── Flip card inner — gentle tilt, not full rotation ── */
.wwa-flip-inner {
    width: 100%;
    height: 100%;
    position: relative;
    animation: wwa-card-tilt 5s ease-in-out infinite;
    will-change: transform;
}
.wwa-img-tall .wwa-flip-inner           { animation-delay: 0s; }
.wwa-img-sm:nth-child(1) .wwa-flip-inner { animation-delay: 1.7s; }
.wwa-img-sm:nth-child(2) .wwa-flip-inner { animation-delay: 3.4s; }

.wwa-img-tall:hover .wwa-flip-inner,
.wwa-img-sm:hover .wwa-flip-inner {
    animation-play-state: paused;
}

@keyframes wwa-card-tilt {
    0%, 10%   { transform: perspective(700px) rotateY(0deg); }
    25%       { transform: perspective(700px) rotateY(-45deg); }
    40%, 60%  { transform: perspective(700px) rotateY(0deg); }
    75%       { transform: perspective(700px) rotateY(45deg); }
    90%, 100% { transform: perspective(700px) rotateY(0deg); }
}

/* ── Faces ── */
.wwa-flip-front,
.wwa-flip-back {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    overflow: hidden;
}

/* Info overlay — fades in when card tilts, synced to tilt animation */
.wwa-flip-back {
    animation: wwa-info-fade 5s ease-in-out infinite;
    opacity: 0;
    background: linear-gradient(150deg, rgba(6,15,30,0.93) 0%, rgba(11,32,64,0.95) 55%, rgba(6,23,46,0.93) 100%);
    border: 1px solid rgba(244,176,0,0.28);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 22px 20px;
    text-align: center;
    gap: 0;
}
.wwa-img-tall .wwa-flip-back           { animation-delay: 0s; }
.wwa-img-sm:nth-child(1) .wwa-flip-back { animation-delay: 1.7s; }
.wwa-img-sm:nth-child(2) .wwa-flip-back { animation-delay: 3.4s; }

.wwa-img-tall:hover .wwa-flip-back,
.wwa-img-sm:hover .wwa-flip-back {
    animation-play-state: paused;
    opacity: 1 !important;
    transition: opacity 0.3s ease;
}

@keyframes wwa-info-fade {
    0%, 15%   { opacity: 0; }
    23%, 30%  { opacity: 0.45; }
    37%, 63%  { opacity: 0; }
    70%, 80%  { opacity: 0.45; }
    88%, 100% { opacity: 0; }
}

.wfb-icon {
    font-size: 2.1rem;
    color: #f4b000;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 12px rgba(244,176,0,0.65));
}
.wfb-title {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin: 0 0 8px;
}
.wfb-desc {
    color: rgba(255,255,255,0.66);
    font-size: 0.75rem;
    line-height: 1.6;
    margin: 0 0 12px;
}
.wfb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: left;
}
.wfb-list li {
    color: rgba(255,255,255,0.82);
    font-size: 0.73rem;
    padding: 3px 0;
    display: flex;
    align-items: center;
    gap: 7px;
}
.wfb-list li i {
    color: #f4b000;
    font-size: 0.6rem;
    flex-shrink: 0;
}

/* Image zoom on scroll (img is inside .wwa-flip-front) */
.wwa-img-tall img,
.wwa-img-sm img {
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1.15);
    opacity: 0;
    transition: transform 1.4s cubic-bezier(0.22,1,0.36,1), opacity 1.1s ease;
}

/* Trigger when wwa-section becomes abt-visible */
.wwa-section.abt-visible .wwa-img-tall img {
    transform: scale(1);
    opacity: 1;
    transition-delay: 0.15s;
}
.wwa-section.abt-visible .wwa-img-sm:nth-child(1) img {
    transform: scale(1);
    opacity: 1;
    transition-delay: 0.35s;
}
.wwa-section.abt-visible .wwa-img-sm:nth-child(2) img {
    transform: scale(1);
    opacity: 1;
    transition-delay: 0.55s;
}

.wwa-img-badge {
    position: absolute;
    bottom: 14px; left: 14px;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(244,176,0,0.4);
    display: flex; align-items: center; gap: 6px;
}
.wwa-img-badge i { color: #f4b000; }
.wwa-badge-sm { font-size: 0.7rem; padding: 5px 10px; }

@media (max-width: 900px) {
    .wwa-section { grid-template-columns: 1fr; padding: 40px 24px; }
    .wwa-right { height: 280px; }
    .wwa-title { font-size: 2rem; }
    .wwa-features { grid-template-columns: 1fr; }
}

.abt-divider {
    width: 80%;
    margin: 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}

/* Content & visual columns */
.about-row-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-row-visual {
    flex: 0 0 300px;
    position: relative;
    height: 300px;
    display: flex; align-items: center; justify-content: center;
}

/* Left: text content */
.about-slide-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-slide-icon {
    width: 66px; height: 66px;
    border-radius: 18px;
    background: linear-gradient(135deg, #b8860b, #f4b000);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
    font-size: 1.9rem; color: #fff;
    box-shadow: 0 0 22px rgba(244,176,0,0.55), 0 0 50px rgba(244,176,0,0.2);
}
.about-slide-icon i {
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}

.about-slide-tag {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: #f4b000;
    border: 1px solid rgba(244,176,0,0.3);
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    width: fit-content;
}

.about-slide-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
    margin: 0;
    line-height: 1.1;
}

.about-slide-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.72);
    margin: 0;
}

/* Stats row */
.about-slide-stats {
    display: flex;
    gap: 32px;
    margin: 4px 0;
}
.abt-stat { display: flex; flex-direction: column; gap: 2px; }
.abt-num  { font-size: 1.9rem; font-weight: 800; color: #f4b000; line-height: 1; }
.abt-label{ font-size: 0.78rem; color: rgba(255,255,255,0.55); letter-spacing: 0.5px; }

/* Tag chips */
.about-slide-tags-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0; }
.abt-tag-chip {
    background: rgba(244,176,0,0.1);
    border: 1px solid rgba(244,176,0,0.3);
    color: #f4b000;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

/* Steps row */
.abt-steps { display: flex; align-items: center; gap: 12px; margin: 4px 0; flex-wrap: wrap; }
.abt-step  { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.abt-step-num   { font-size: 1.4rem; font-weight: 800; color: #a78bfa; line-height: 1; }
.abt-step-label { font-size: 0.78rem; color: rgba(255,255,255,0.6); }
.abt-step-arrow { color: rgba(255,255,255,0.3); font-size: 1rem; }

/* Right: visual */
.about-slide-visual {
    flex: 0 0 320px;
    position: relative;
    height: 320px;
    display: flex; align-items: center; justify-content: center;
}

/* ── WHO WE ARE visual ── */
.about-row-visual {
    position: relative;
    display: flex; align-items: center; justify-content: center;
}

.abt-visual-circle {
    width: 180px; height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d1f0d, #1b3a1b);
    border: 2px solid rgba(244,176,0,0.6);
    display: flex; align-items: center; justify-content: center;
    font-size: 4rem;
    color: #f4b000;
    position: relative; z-index: 2;
    animation: abtCirclePulse 3s ease-in-out infinite;
}

@keyframes abtCirclePulse {
    0%, 100% {
        box-shadow: 0 0 30px rgba(244,176,0,0.3), 0 0 60px rgba(244,176,0,0.15), inset 0 0 30px rgba(244,176,0,0.05);
    }
    50% {
        box-shadow: 0 0 60px rgba(244,176,0,0.6), 0 0 120px rgba(244,176,0,0.3), inset 0 0 40px rgba(244,176,0,0.1);
    }
}

.abt-visual-circle i {
    animation: abtIconShine 3s ease-in-out infinite;
}

@keyframes abtIconShine {
    0%, 100% { filter: drop-shadow(0 0 6px #f4b000) drop-shadow(0 0 12px #f4b000); }
    50%       { filter: drop-shadow(0 0 16px #fff) drop-shadow(0 0 30px #f4b000) drop-shadow(0 0 50px #f4b000); }
}

/* Halo glow behind circle */
.abt-visual-circle::before {
    content: '';
    position: absolute;
    width: 220px; height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244,176,0,0.12) 0%, transparent 70%);
    z-index: -1;
    animation: abtHalo 3s ease-in-out infinite;
}
@keyframes abtHalo {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50%       { transform: scale(1.3); opacity: 1; }
}

/* Orbital rings */
.abt-visual-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid transparent;
    border-top-color: #f4b000;
    border-right-color: rgba(244,176,0,0.4);
    border-bottom-color: transparent;
    border-left-color: rgba(244,176,0,0.15);
    animation: abtRingSpin 4s linear infinite;
}
.abt-ring-1 {
    width: 240px; height: 240px;
    box-shadow: 0 0 14px rgba(244,176,0,0.25);
}
.abt-ring-2 {
    width: 310px; height: 310px;
    border-top-color: rgba(0,200,232,0.6);
    border-right-color: transparent;
    border-bottom-color: rgba(0,200,232,0.2);
    border-left-color: transparent;
    box-shadow: 0 0 14px rgba(0,200,232,0.2);
    animation: abtRingSpin 9s linear infinite reverse;
}
.abt-ring-3 {
    width: 380px; height: 380px;
    border-top-color: transparent;
    border-right-color: rgba(244,176,0,0.15);
    border-bottom-color: rgba(244,176,0,0.3);
    border-left-color: transparent;
    animation: abtRingSpin 14s linear infinite;
}

/* Orbiting dot on ring-2 */
.abt-ring-2::before {
    content: '';
    position: absolute;
    width: 8px; height: 8px;
    background: #00c8e8;
    border-radius: 50%;
    top: -4px; left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px #00c8e8, 0 0 20px #00c8e8;
}
.abt-ring-1::before {
    content: '';
    position: absolute;
    width: 10px; height: 10px;
    background: #f4b000;
    border-radius: 50%;
    top: -5px; left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 12px #f4b000, 0 0 24px #f4b000;
}

@keyframes abtRingSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Floating badges */
.abt-float-badge {
    position: absolute;
    background: linear-gradient(135deg, rgba(244,176,0,0.15), rgba(244,176,0,0.05));
    border: 1px solid rgba(244,176,0,0.5);
    color: #f4b000;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 30px;
    display: flex; align-items: center; gap: 7px;
    white-space: nowrap;
    z-index: 5;
    animation: abtBadgeFloat 3s ease-in-out infinite alternate;
    box-shadow: 0 0 12px rgba(244,176,0,0.2), inset 0 0 10px rgba(244,176,0,0.05);
}
.abt-float-badge::before {
    content: '';
    position: absolute;
    inset: 0; border-radius: 30px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.08) 50%, transparent 100%);
    animation: badgeShine 3s ease-in-out infinite;
}
@keyframes badgeShine {
    0%   { transform: translateX(-100%); }
    60%, 100% { transform: translateX(200%); }
}
.abt-badge-1 { top: 10px;  right: -10px; animation-delay: 0s; }
.abt-badge-2 { bottom: 10px; left: -10px; animation-delay: 1.5s; }

@keyframes abtBadgeFloat {
    from { transform: translateY(0px);   box-shadow: 0 0 12px rgba(244,176,0,0.2); }
    to   { transform: translateY(-12px); box-shadow: 0 0 24px rgba(244,176,0,0.5); }
}

/* Stats count-up highlight */
.abt-num {
    display: inline-block;
    transition: transform 0.3s ease;
}
.abt-stat:hover .abt-num {
    transform: scale(1.15);
    text-shadow: 0 0 20px rgba(244,176,0,0.8);
}

/* ── Captain Compass Visual (How We Train) ── */
.captain-visual {
    position: relative;
    width: 320px; height: 320px;
    display: flex; align-items: center; justify-content: center;
}

/* Outer compass ring — rotates slowly */
.cap-compass-ring {
    position: absolute;
    width: 280px; height: 280px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: #a78bfa;
    border-right-color: rgba(167,139,250,0.4);
    border-bottom-color: rgba(167,139,250,0.15);
    border-left-color: rgba(167,139,250,0.4);
    box-shadow: 0 0 18px rgba(124,58,237,0.3), inset 0 0 18px rgba(124,58,237,0.08);
    animation: capRingSpin 10s linear infinite;
}

/* N/S/E/W direction labels on the ring */
.cap-dir {
    position: absolute;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #a78bfa;
}
.cap-n { top: -10px;  left: 50%; transform: translateX(-50%); }
.cap-e { right: -10px; top: 50%; transform: translateY(-50%); }
.cap-s { bottom: -10px; left: 50%; transform: translateX(-50%); }
.cap-w { left: -10px; top: 50%; transform: translateY(-50%); }

/* Middle dashed ring — counter rotates */
.cap-mid-ring {
    position: absolute;
    width: 210px; height: 210px;
    border-radius: 50%;
    border: 1.5px dashed rgba(167,139,250,0.4);
    animation: capRingSpin 6s linear infinite reverse;
}

/* Center circle */
.cap-center {
    position: relative;
    width: 130px; height: 130px;
    border-radius: 50%;
    background: radial-gradient(circle, #1e0a3c 0%, #2d1060 60%, #1a0a2e 100%);
    border: 2px solid rgba(167,139,250,0.5);
    box-shadow: 0 0 40px rgba(124,58,237,0.4), inset 0 0 20px rgba(124,58,237,0.15);
    display: flex; align-items: center; justify-content: center;
    z-index: 3;
}

/* Compass icon — pulses */
.cap-compass-icon {
    font-size: 3rem;
    color: #a78bfa;
    animation: capIconPulse 2s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 10px rgba(167,139,250,0.8));
}

@keyframes capIconPulse {
    from { filter: drop-shadow(0 0 6px rgba(167,139,250,0.5));  color: #a78bfa; }
    to   { filter: drop-shadow(0 0 18px rgba(167,139,250,1));   color: #d4b9ff; }
}

/* Spinning needle */
.cap-needle-wrap {
    position: absolute;
    width: 130px; height: 130px;
    animation: capRingSpin 3s linear infinite;
    z-index: 4;
}
.cap-needle {
    position: absolute;
    left: 50%; top: 8px;
    transform: translateX(-50%);
    width: 4px; height: 45px;
    background: linear-gradient(180deg, #f4b000 0%, rgba(244,176,0,0.2) 100%);
    border-radius: 4px;
    box-shadow: 0 0 8px #f4b000;
}

/* Background glow */
.cap-glow {
    position: absolute;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124,58,237,0.18) 0%, transparent 70%);
    animation: capGlowPulse 3s ease-in-out infinite alternate;
}

@keyframes capGlowPulse {
    from { transform: scale(0.9); opacity: 0.6; }
    to   { transform: scale(1.2); opacity: 1; }
}

@keyframes capRingSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Trophy drop-in animation */
.trophy-drop {
    animation: trophyDrop 0.9s cubic-bezier(0.22, 1, 0.36, 1) both,
               trophyFloat 3s ease-in-out 1s infinite alternate;
}

@keyframes trophyDrop {
    0%   { opacity: 0;   transform: translateX(-320px) translateY(20px) scale(0.4) rotate(-15deg); }
    50%  { opacity: 1;   transform: translateX(-60px)  translateY(-30px) scale(0.85) rotate(5deg); }
    75%  { opacity: 1;   transform: translateX(14px)   translateY(8px)   scale(1.08) rotate(-3deg); }
    90%  { transform: translateX(-6px)  translateY(-4px)  scale(0.97) rotate(1deg); }
    100% { opacity: 1;   transform: translateX(0)      translateY(0)     scale(1)    rotate(0deg); }
}

@keyframes trophyFloat {
    from { transform: translateY(0); }
    to   { transform: translateY(-12px); }
}

/* Navigation arrows */
.about-nav {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 46px; height: 46px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    border: 1.5px solid rgba(255,255,255,0.15);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s, border-color 0.2s;
    z-index: 10;
}
.about-nav:hover { background: rgba(244,176,0,0.18); border-color: #f4b000; color: #f4b000; }
.about-nav-prev { left: 20px; }
.about-nav-next { right: 20px; }

/* Dots */
.about-dots {
    position: absolute;
    bottom: 22px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 10px; z-index: 10;
}
.about-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,0.25);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}
.about-dot.active { background: #f4b000; transform: scale(1.35); }

/* General Layouts (Our Services Header) */
.section-header {
    text-align: center;
    padding: 80px 24px 40px;
    max-width: 800px;
    margin: 0 auto;
}

.section-tag {
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 12px;
    display: inline-block;
}

.section-tag-gold {
    color: var(--color-accent);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    color: var(--color-text-muted);
    font-size: 1.05rem;
}

/* Grid Feature Blocks (System Engineering & Physics Based Modeling) */
.feature-grid-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    min-height: 480px;
}

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

/* Scroll-reveal base states */
.feature-image-pane {
    opacity: 0;
    transform: translateX(-80px);
    transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.22,1,0.36,1);
}
.feature-info-pane {
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 0.85s ease 0.15s, transform 0.85s cubic-bezier(0.22,1,0.36,1) 0.15s;
}
.feature-grid-row-reverse .feature-image-pane {
    transform: translateX(80px);
}
.feature-grid-row-reverse .feature-info-pane {
    transform: translateX(-80px);
}
.feature-grid-row.fgr-visible .feature-image-pane,
.feature-grid-row.fgr-visible .feature-info-pane {
    opacity: 1;
    transform: translateX(0);
}

.feature-info-pane {
    padding: 80px 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--color-white);
}

.feature-gradient-pane {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
}

.feature-gradient-pane h2 {
    color: var(--color-white);
}

.feature-gradient-pane p {
    color: rgba(255, 255, 255, 0.75);
}

.feature-tag {
    color: var(--color-accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 12px;
    letter-spacing: 1.5px;
}

.feature-title {
    font-size: 2.2rem;
    margin-bottom: 24px;
    line-height: 1.25;
}

.feature-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Feature Bullets (Collaboration, Accountability, Feedback - styled exactly as reference image) */
.feature-bullets {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bullet-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.bullet-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(27, 77, 97, 0.08);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.bullet-item:hover .bullet-icon {
    background-color: var(--color-accent);
    color: var(--color-primary-dark);
    transform: scale(1.08);
}

.bullet-content h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.bullet-content p {
    font-size: 0.92rem;
    color: var(--color-text-muted);
}

/* Picture/Graphic Panes */
.feature-image-pane {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e5edf0;
}

.feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 6s ease;
}

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

/* High-tech overlays on images */
.image-hud-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(27, 77, 97, 0.1), rgba(9, 27, 34, 0.4));
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-hud-overlay svg {
    width: 40%;
    opacity: 0.4;
}

/* ── Professional Training Cards Section ── */
.pro-cards-section {
    background: #07111c;
    padding: 60px 5% 100px;
}

/* ── Training Banner ── */
.tb-banner {
    display: flex;
    align-items: center;
    gap: 70px;
    background: linear-gradient(120deg, #060f1e 0%, #0a1c34 40%, #071220 100%);
    border-radius: 32px;
    padding: 55px 70px 55px 55px;
    margin-bottom: 70px;
    border: 1px solid rgba(244,176,0,0.2);
    overflow: visible;
    position: relative;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
}
/* Top-left gold accent bar */
.tb-banner::after {
    content: '';
    position: absolute;
    top: 0; left: 40px;
    width: 80px; height: 4px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, #f4b000, #00c8e8);
}
/* Subtle radial glow */
.tb-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 32px;
    background: radial-gradient(ellipse at 22% 50%, rgba(0,200,232,0.08) 0%, transparent 55%),
                radial-gradient(ellipse at 80% 80%, rgba(244,176,0,0.04) 0%, transparent 50%);
    pointer-events: none;
}

/* Left visual */
.tb-visual {
    position: relative;
    flex: 0 0 300px;
    height: 400px;
}
/* Aura glow behind person */
.tb-visual::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,200,232,0.35) 0%, rgba(244,176,0,0.15) 50%, transparent 70%);
    filter: blur(28px);
    z-index: 0;
}
.tb-person {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.07);
    position: relative;
    z-index: 1;
    animation: tb-person-drop 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}
@keyframes tb-person-drop {
    0%   { clip-path: inset(0 0 100% 0 round 22px); opacity: 0.4; }
    100% { clip-path: inset(0 0 0% 0 round 22px);   opacity: 1; }
}

/* Floating icons */
.tb-float-icon {
    position: absolute;
    width: 54px; height: 54px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    z-index: 2;
    opacity: 0;
    will-change: transform, opacity;
}
/* Each icon: pop-in after image drops, then continuous bob */
/* Top row */
.tb-fi-1  { top:-27px; left:15px;   background:linear-gradient(135deg,#f4b000,#d48000); box-shadow:0 8px 24px rgba(244,176,0,0.6);  animation:tb-icon-pop .45s cubic-bezier(.34,1.56,.64,1) .95s both, tb-bob 3.5s ease-in-out 1.4s infinite; }
.tb-fi-2  { top:-27px; left:120px;  background:linear-gradient(135deg,#00c8e8,#006fa8); box-shadow:0 8px 24px rgba(0,200,232,0.6);  animation:tb-icon-pop .45s cubic-bezier(.34,1.56,.64,1) 1.1s both,  tb-bob 3.5s ease-in-out 1.55s infinite; }
.tb-fi-3  { top:-27px; right:15px;  background:linear-gradient(135deg,#8b5cf6,#5b21b6); box-shadow:0 8px 24px rgba(139,92,246,0.6); animation:tb-icon-pop .45s cubic-bezier(.34,1.56,.64,1) 1.25s both, tb-bob 3.5s ease-in-out 1.7s infinite; }
/* Left side */
.tb-fi-4  { top:40px;  left:-27px;  background:linear-gradient(135deg,#10b981,#047857); box-shadow:0 8px 24px rgba(16,185,129,0.6); animation:tb-icon-pop .45s cubic-bezier(.34,1.56,.64,1) 1.4s both,  tb-bob 3.5s ease-in-out 1.85s infinite; }
.tb-fi-5  { top:170px; left:-27px;  background:linear-gradient(135deg,#f97316,#c2410c); box-shadow:0 8px 24px rgba(249,115,22,0.6); animation:tb-icon-pop .45s cubic-bezier(.34,1.56,.64,1) 1.55s both, tb-bob 3.5s ease-in-out 2s infinite; }
.tb-fi-6  { bottom:40px; left:-27px; background:linear-gradient(135deg,#ec4899,#9d174d); box-shadow:0 8px 24px rgba(236,72,153,0.6); animation:tb-icon-pop .45s cubic-bezier(.34,1.56,.64,1) 1.7s both, tb-bob 3.5s ease-in-out 2.15s infinite; }
/* Right side */
.tb-fi-7  { top:40px;  right:-27px; background:linear-gradient(135deg,#06b6d4,#0e7490); box-shadow:0 8px 24px rgba(6,182,212,0.6);  animation:tb-icon-pop .45s cubic-bezier(.34,1.56,.64,1) 1.85s both, tb-bob 3.5s ease-in-out 2.3s infinite; }
.tb-fi-8  { top:170px; right:-27px; background:linear-gradient(135deg,#6366f1,#4338ca); box-shadow:0 8px 24px rgba(99,102,241,0.6); animation:tb-icon-pop .45s cubic-bezier(.34,1.56,.64,1) 2s both,   tb-bob 3.5s ease-in-out 2.45s infinite; }
.tb-fi-9  { bottom:40px; right:-27px; background:linear-gradient(135deg,#14b8a6,#0f766e); box-shadow:0 8px 24px rgba(20,184,166,0.6); animation:tb-icon-pop .45s cubic-bezier(.34,1.56,.64,1) 2.15s both, tb-bob 3.5s ease-in-out 2.6s infinite; }
/* Bottom row */
.tb-fi-10 { bottom:-27px; left:15px;  background:linear-gradient(135deg,#84cc16,#4d7c0f); box-shadow:0 8px 24px rgba(132,204,22,0.6); animation:tb-icon-pop .45s cubic-bezier(.34,1.56,.64,1) 2.3s both,  tb-bob 3.5s ease-in-out 2.75s infinite; }
.tb-fi-11 { bottom:-27px; left:120px; background:linear-gradient(135deg,#ef4444,#b91c1c); box-shadow:0 8px 24px rgba(239,68,68,0.6);  animation:tb-icon-pop .45s cubic-bezier(.34,1.56,.64,1) 2.45s both, tb-bob 3.5s ease-in-out 2.9s infinite; }
.tb-fi-12 { bottom:-27px; right:15px; background:linear-gradient(135deg,#eab308,#a16207); box-shadow:0 8px 24px rgba(234,179,8,0.6);  animation:tb-icon-pop .45s cubic-bezier(.34,1.56,.64,1) 2.6s both,  tb-bob 3.5s ease-in-out 3.05s infinite; }

@keyframes tb-icon-pop {
    0%   { opacity: 0; transform: scale(0) rotate(-30deg); }
    55%  { opacity: 1; transform: scale(1.35) rotate(8deg); }
    75%  { transform: scale(0.88) rotate(-4deg); }
    100% { opacity: 1; transform: scale(1) rotate(0deg); }
}
@keyframes tb-bob {
    0%,100% { transform: translateY(0px) rotate(0deg); }
    40%      { transform: translateY(-11px) rotate(-4deg); }
    60%      { transform: translateY(-8px) rotate(4deg); }
}

/* Right content */
.tb-content {
    flex: 1;
    padding-left: 10px;
}
.tb-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(244,176,0,0.1);
    border: 1px solid rgba(244,176,0,0.3);
    border-radius: 30px;
    padding: 6px 16px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #f4b000;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.tb-eyebrow i { font-size: 0.75rem; }

.tb-title {
    font-size: 3.2rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.05;
    margin: 0 0 20px;
    letter-spacing: 1.5px;
}
.tb-highlight {
    color: #f4b000;
    position: relative;
    display: inline-block;
}
.tb-highlight::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 100%; height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, #f4b000, #00c8e8);
}

.tb-desc {
    color: rgba(255,255,255,0.55);
    font-size: 0.92rem;
    line-height: 1.75;
    margin-bottom: 30px;
    max-width: 460px;
    border-left: 3px solid rgba(0,200,232,0.4);
    padding-left: 14px;
}

.tb-stats {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 16px 24px;
    width: fit-content;
}
.tb-stat { text-align: center; padding: 0 20px; }
.tb-stat strong { display: block; font-size: 1.8rem; font-weight: 900; color: #f4b000; line-height: 1; }
.tb-stat span   { font-size: 0.68rem; color: rgba(255,255,255,0.45); letter-spacing: 1.5px; text-transform: uppercase; margin-top: 4px; display: block; }
.tb-stat-div    { width: 1px; height: 40px; background: rgba(255,255,255,0.1); flex-shrink: 0; }

.pro-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}

.pro-card {
    background: linear-gradient(160deg, #0d1f2e 0%, #091628 100%);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    min-height: 280px;
}
.pro-card:nth-child(even) { flex-direction: row-reverse; }

.pro-card-img {
    flex: 0 0 360px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-80px);
    will-change: transform, opacity;
}
.pro-card:nth-child(even) .pro-card-img {
    transform: translateX(80px);
}
.pro-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}
.pro-card:hover .pro-card-img img { transform: scale(1.06); }

/* Step 1: image slides in */
.pro-card.card-visible .pro-card-img {
    animation: imgSlideLeft 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.pro-card:nth-child(even).card-visible .pro-card-img {
    animation: imgSlideRight 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes imgSlideLeft {
    from { opacity: 0; transform: translateX(-80px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes imgSlideRight {
    from { opacity: 0; transform: translateX(80px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* Step 2: content grows from center — starts after image (0.55s delay) */
.pro-card-body {
    flex: 1;
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    transform: scale(0.5);
    transform-origin: center center;
    will-change: transform, opacity;
}
.pro-card.card-visible .pro-card-body {
    animation: contentGrow 0.4s cubic-bezier(0.34, 1.4, 0.64, 1) 0.35s forwards;
}
@keyframes contentGrow {
    0%   { opacity: 0; transform: scale(0.5); }
    65%  { opacity: 1; transform: scale(1.04); }
    100% { opacity: 1; transform: scale(1); }
}

.pro-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0,200,232,0.3);
    box-shadow: 0 24px 55px rgba(0,0,0,0.5);
}

.pro-card-featured {
    border-color: rgba(244,176,0,0.25);
    background: linear-gradient(160deg, #141208 0%, #0e0d06 100%);
    box-shadow: 0 0 30px rgba(244,176,0,0.08);
}

.pro-card-icon {
    font-size: 2.8rem;
    line-height: 1;
    animation: icon-neon-shine 2.4s ease-in-out infinite;
}

.pro-card-featured .pro-card-icon {
    animation: icon-neon-shine-gold 2.4s ease-in-out infinite;
}

@keyframes icon-neon-shine {
    0%, 100% {
        filter:
            drop-shadow(0 0 3px currentColor)
            drop-shadow(0 0 8px currentColor);
    }
    45% {
        filter:
            brightness(1.5)
            drop-shadow(0 0 6px #fff)
            drop-shadow(0 0 18px currentColor)
            drop-shadow(0 0 40px currentColor);
    }
    50% {
        filter:
            brightness(2.5)
            drop-shadow(0 0 12px #fff)
            drop-shadow(0 0 28px #fff)
            drop-shadow(0 0 60px currentColor)
            drop-shadow(0 0 100px currentColor);
    }
    55% {
        filter:
            brightness(1.5)
            drop-shadow(0 0 6px #fff)
            drop-shadow(0 0 18px currentColor)
            drop-shadow(0 0 40px currentColor);
    }
}

@keyframes icon-neon-shine-gold {
    0%, 100% {
        filter:
            drop-shadow(0 0 3px #f4b000)
            drop-shadow(0 0 8px #f4b000);
    }
    45% {
        filter:
            brightness(1.5)
            drop-shadow(0 0 6px #fff)
            drop-shadow(0 0 18px #f4b000)
            drop-shadow(0 0 40px #f4b000);
    }
    50% {
        filter:
            brightness(2.5)
            drop-shadow(0 0 12px #fff)
            drop-shadow(0 0 28px #ffe066)
            drop-shadow(0 0 60px #f4b000)
            drop-shadow(0 0 100px #f4b000);
    }
    55% {
        filter:
            brightness(1.5)
            drop-shadow(0 0 6px #fff)
            drop-shadow(0 0 18px #f4b000)
            drop-shadow(0 0 40px #f4b000);
    }
}

.pro-card-divider {
    width: 40px;
    height: 2px;
    background: #00c8e8;
    border-radius: 2px;
    margin: 2px 0;
}

.pro-card-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1.2;
}

.pro-card-sub {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0;
}

.pro-card-desc {
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.58);
    margin: 0;
}

.pro-card-focus-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.35);
    margin: 4px 0 0;
}

.pro-card-list {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex: 1;
}

.pro-card-list li {
    font-size: 0.87rem;
    color: rgba(255,255,255,0.72);
    padding-left: 16px;
    position: relative;
}

.pro-card-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #00c8e8;
    font-size: 1rem;
    line-height: 1.3;
}

.pro-card-btn {
    display: inline-block;
    margin-top: 6px;
    padding: 9px 22px;
    border: 1.5px solid #00c8e8;
    color: #00c8e8;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    width: fit-content;
}

.pro-card-btn:hover {
    background: rgba(0,200,232,0.12);
}

/* Trainings / Programs Cards Section */
.trainings-section {
    background-color: var(--color-light-bg);
    padding-bottom: 100px;
}

.cards-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.course-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(27, 77, 97, 0.15);
}

.card-img-wrapper {
    position: relative;
    height: 200px;
    background-color: var(--color-primary-dark);
    overflow: hidden;
}

.card-img-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: var(--color-accent);
    color: var(--color-primary-dark);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-date {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    transition: var(--transition-smooth);
}

.course-card:hover .card-title {
    color: var(--color-primary);
}

.card-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
}

.card-duration {
    font-size: 0.85rem;
    color: var(--color-primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-cta {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-accent);
    background-color: var(--color-primary-dark);
    padding: 6px 12px;
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.course-card:hover .card-cta {
    background-color: var(--color-accent);
    color: var(--color-primary-dark);
}

/* Premium Footer */
.footer {
    background-color: var(--color-primary-bg);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px;
    border-top: 4px solid var(--color-accent);
}

.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 60px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    height: 90px;
    width: auto;
    align-self: flex-start;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
    animation: social-shine 3s ease-in-out infinite;
}

/* Stagger shine timing per platform */
.si-linkedin  { animation-delay: 0s; }
.si-twitter   { animation-delay: 0.4s; }
.si-facebook  { animation-delay: 0.8s; }
.si-youtube   { animation-delay: 1.2s; }
.si-instagram { animation-delay: 1.6s; }

@keyframes social-shine {
    0%, 100% {
        box-shadow: 0 0 4px rgba(255,255,255,0.1);
        color: rgba(255,255,255,0.75);
        border-color: rgba(255,255,255,0.08);
    }
    50% {
        box-shadow:
            0 0 8px #f4b000,
            0 0 22px #f4b000,
            0 0 45px #f4b000;
        color: #f4b000;
        border-color: #f4b000;
    }
}

.social-icon {
    position: relative;
    overflow: visible;
}

.social-icon:hover {
    transform: translateY(-4px) scale(1.15);
    background-color: #f4b000;
    box-shadow: 0 0 16px #f4b000, 0 0 40px #f4b000;
    color: #000;
    border-color: #f4b000;
    animation: none;
}

/* Spark particles */
.spark-particle {
    position: fixed;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    animation: spark-burst 0.7s ease-out forwards;
}

@keyframes spark-burst {
    0%   { opacity: 1; transform: translate(0, 0) scale(1); }
    100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0); }
}

.footer-heading {
    color: var(--color-white);
    font-size: 1.2rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-accent);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    font-size: 0.92rem;
    transition: var(--transition-smooth);
}

.footer-link:hover {
    color: var(--color-accent);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.92rem;
}

.footer-contact-item i {
    color: var(--color-accent);
    margin-top: 4px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

/* Enrollment Premium Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(9, 27, 34, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 520px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.3s ease;
    border: 1px solid var(--color-border);
}

.modal-overlay.active .modal-box {
    transform: translateY(0);
}

.modal-header {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: var(--color-white);
    font-size: 1.4rem;
}

.modal-close {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    color: var(--color-accent);
}

.modal-body {
    padding: 32px;
}

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

.form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    background-color: var(--color-light-bg);
    transition: var(--transition-smooth);
}

.form-control:focus {
    border-color: var(--color-primary);
    background-color: var(--color-white);
    box-shadow: 0 0 0 3px rgba(27, 77, 97, 0.1);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--color-text-muted);
}

.form-checkbox input {
    margin-top: 4px;
}

/* Success notification inside modal */
.success-msg {
    text-align: center;
    padding: 40px 20px;
    display: none;
}

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: rgba(250, 184, 20, 0.1);
    color: var(--color-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
    animation: successPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes successPop {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.success-msg h4 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.success-msg p {
    color: var(--color-text-muted);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding-top: 40px;
    }
    
    .hero-subtitle {
        margin: 0 auto 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .split-section {
        grid-template-columns: 1fr;
    }
    
    .split-card {
        padding: 60px 8%;
    }
    
    .feature-grid-row, .feature-grid-row-reverse {
        grid-template-columns: 1fr;
    }
    
    .feature-grid-row-reverse .feature-image-pane {
        order: -1;
    }
    
    .cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

/* ── Small desktop ≤1200px ── */
@media (max-width: 1200px) {
    .header-container { padding: 0 24px; }
    .contact-link { font-size: 11.5px; }
    .contact-links { gap: 15px; }
    .header-top-row { gap: 12px; }
}

/* ── Tablet ≤1024px: compact top bar + hamburger nav ── */
@media (max-width: 1024px) {
    .header-container { height: 88px; padding: 0 28px; }
    .logo-img { height: 80px; }
    .header-top-row { padding-top: 10px; gap: 10px; }

    /* hide 2nd email and location to save space */
    .contact-link { font-size: 13px; }
    .contact-links { gap: 24px; }
    .contact-links a:nth-child(3) { display: none; }
    .contact-links span.contact-link { display: none; }
    .header-group-badges { display: none; }

    /* social icons match sub page size */
    .social-links { gap: 5px; flex-shrink: 0; }
    .social-links a { width: 30px; height: 30px; font-size: 12.5px; }
    .contact-links { flex-shrink: 1; min-width: 0; overflow: hidden; }

    /* show hamburger */
    .hamburger { display: flex !important; }

    /* sidebar nav */
    .nav-links {
        position: fixed !important;
        top: 88px !important; right: -100% !important;
        width: 78% !important; max-width: 290px !important;
        height: calc(100vh - 88px) !important;
        background: #0D1B2A !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0 !important;
        overflow-y: auto !important;
        transition: right 0.3s ease !important;
        box-shadow: -10px 0 30px rgba(0,0,0,0.4) !important;
        padding: 12px 0 !important;
        z-index: 999 !important;
    }
    .nav-links.open { right: 0 !important; }
    .nav-item { width: 100%; }
    .nav-link {
        font-size: 12px;
        padding: 13px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        width: 100%;
    }
    .nav-contact-btn { margin-left: 0; }
    .nav-contact-link { border-radius: 0 !important; margin-top: 8px; }
    .simple-dropdown { display: none; }
    .mega-panel { min-width: unset !important; width: 100% !important; left: 0 !important; border-radius: 0 0 12px 12px !important; max-height: calc(100vh - 88px) !important; overflow-y: auto !important; }
    .mega-grid { grid-template-columns: 1fr 1fr !important; }
    .nav-item:hover .simple-dropdown { display: block; }
    .simple-dropdown li a { color: rgba(255,255,255,0.75); padding: 10px 28px; }
    .simple-dropdown li a:hover { background: rgba(250,184,20,0.1); padding-left: 32px; }
    .header-bottom-row { padding-bottom: 6px; }
    .hero { padding-top: 96px; align-items: flex-start; }

    /* Content sections — tablet */
    .hero-container { padding: 0 24px; gap: 40px; width: 100%; max-width: 100%; }
    .hero-title { font-size: 2.1rem; }
    .hero-tagline { font-size: 0.85rem; }
    .training-pyramid { width: 100% !important; max-width: 420px !important; }
    .tb-float-icon { display: none !important; }
    .tb-banner { padding: 40px 32px; gap: 40px; }
    .tb-title { font-size: 2.4rem; }
    .about-row { padding: 50px 24px !important; gap: 36px; }
    .feature-info-pane { padding: 50px 24px !important; }
    .pro-card { flex-direction: column !important; min-height: auto !important; }
    .pro-card:nth-child(even) { flex-direction: column !important; }
    .pro-card-img { flex: none !important; width: 100% !important; height: 240px !important; transform: none !important; opacity: 1 !important; }
    .pro-card.card-visible .pro-card-img { animation: none !important; }
    .pro-card-body { padding: 28px 32px !important; }
    .page-hero { padding: 100px 24px 50px !important; text-align: center !important; }
    .page-hero p { margin: 0 auto 28px; }
    .section-title, .section-sub, .section-subtitle, .section-label { text-align: center !important; }
    .enroll-cta { padding: 50px 24px !important; }
    .iso-standards-section { padding: 50px 24px 120px !important; overflow: visible !important; }
    .iso-node-layout { flex-direction: column; align-items: center; gap: 32px; overflow: visible !important; }
    .iso-node-title-panel { width: 100% !important; max-width: 600px; height: auto !important; padding: 32px 28px; }
    .iso-node-diagram { width: 100%; height: 560px !important; overflow: visible !important; }

    /* Grids → 2 columns on tablet */
    .cards-container { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .wwa-section { grid-template-columns: 1fr; padding: 50px 28px; margin: 10px; gap: 32px; }
    .wwa-features { grid-template-columns: 1fr; }
    .feature-grid-row, .feature-grid-row-reverse { grid-template-columns: 1fr !important; min-height: auto; }
    .feature-image-pane { transform: none !important; opacity: 1 !important; }
}

@media (max-width: 768px) {
    html { font-size: 15px; }

    /* Mobile header — two-row: badges+socials on top, logo+hamburger on bottom */
    .header-container { height: 88px !important; padding: 0 16px !important; }
    .logo-img { height: 52px !important; }
    .header-top-row { display: flex !important; justify-content: flex-end !important; align-items: center !important; gap: 6px !important; padding: 4px 0 !important; overflow: hidden !important; }
    .header-top-row .contact-links { display: none !important; }
    .header-group-badges { display: flex !important; gap: 4px !important; flex-shrink: 1 !important; }
    .group-badge { font-size: 8px !important; padding: 3px 6px !important; letter-spacing: 0.3px !important; }
    .social-links { display: flex !important; gap: 4px !important; flex-shrink: 0 !important; }
    .social-links a { width: 22px !important; height: 22px !important; font-size: 11px !important; }
    .header-gold-line { display: none !important; }
    .header-bottom-row { padding-bottom: 0 !important; }

    .header-right { justify-content: center !important; }
    .hamburger { display: flex !important; }

    .nav-links {
        position: fixed !important;
        top: 88px !important; right: -100% !important;
        width: 80% !important; max-width: 300px !important;
        height: calc(100vh - 88px) !important;
        background: #0D1B2A !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0 !important;
        overflow-y: auto !important;
        transition: right 0.3s ease !important;
        box-shadow: -10px 0 30px rgba(0,0,0,0.4) !important;
        padding: 12px 0 !important;
    }

    .nav-links.open { right: 0 !important; }

    .nav-item { width: 100%; }

    .nav-link {
        font-size: 12px;
        padding: 13px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        width: 100%;
    }

    .nav-contact-btn { margin-left: 0; }
    .nav-contact-link {
        border-radius: 0 !important;
        margin-top: 8px;
    }

    /* Mobile menu contact block */
    .mob-menu-contact {
        display: block;
        padding: 14px 20px 12px;
        border-bottom: 1px solid rgba(250,184,20,0.25);
        background: rgba(0,0,0,0.25);
        width: 100%;
    }
    .mob-contact-list {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 12px;
    }
    .mob-contact-list a,
    .mob-contact-list span {
        display: flex;
        align-items: center;
        gap: 8px;
        color: rgba(255,255,255,0.85);
        font-size: 12px;
        font-weight: 600;
        text-decoration: none;
    }
    .mob-contact-list i { color: #fab814; font-size: 12px; width: 14px; text-align: center; }
    .mob-social-row {
        display: flex;
        gap: 8px;
    }
    .mob-social-row a {
        width: 30px; height: 30px;
        border-radius: 50%;
        border: 1.5px solid rgba(255,255,255,0.28);
        display: flex;
        align-items: center;
        justify-content: center;
        color: rgba(255,255,255,0.78);
        font-size: 12px;
        text-decoration: none;
        transition: color 0.2s, border-color 0.2s;
    }
    .mob-social-row a:hover { color: #fab814; border-color: #fab814; }

    .simple-dropdown { display: none; }
    .mega-grid { grid-template-columns: 1fr !important; }
    .mega-item { padding: 10px 14px !important; }
    .nav-item:hover .simple-dropdown { display: block; }
    .simple-dropdown li a { color: rgba(255,255,255,0.75); padding: 10px 28px; }
    .simple-dropdown li a:hover { background: rgba(250,184,20,0.1); padding-left: 32px; }

    /* Prevent text overflow */
    h1, h2, h3, h4, h5, h6, p, span, li, a {
        overflow-wrap: break-word;
        word-break: break-word;
        max-width: 100%;
    }
    img, video, iframe { max-width: 100% !important; height: auto; }

    /* Hero */
    .hero { padding: 108px 16px 60px; overflow: visible; }
    .hero-container { grid-template-columns: 1fr; gap: 32px; padding: 0; text-align: center; width: 100%; max-width: 100%; }
    .hero-left-col { text-align: center; min-width: 0; width: 100%; padding: 0; display: flex; flex-direction: column; align-items: center; }
    .hero-right-col { justify-content: center; align-items: center; min-width: 0; width: 100%; display: flex; }
    .hero-tagline { text-align: center; width: 100%; display: block; font-size: 0.78rem; }
    .hero-title { font-size: 1.9rem; text-align: center; width: 100%; }
    .hero-subtitle { text-align: center; margin: 0 0 24px; width: 100%; font-size: 0.95rem; }
    .training-pyramid { width: 100% !important; max-width: 260px !important; padding-bottom: 50px !important; }

    /* Training banner */
    .tb-banner { flex-direction: column !important; padding: 32px 16px !important; gap: 24px; }
    .tb-float-icon { display: none !important; }
    .tb-title { font-size: 2rem !important; }

    /* About / feature sections */
    .about-row { padding: 44px 16px !important; flex-direction: column !important; }
    .feature-info-pane { padding: 36px 16px !important; }

    /* Pro cards */
    .pro-card { flex-direction: column !important; min-height: auto !important; }
    .pro-card:nth-child(even) { flex-direction: column !important; }
    .pro-card-img { flex: none !important; width: 100% !important; height: 220px !important; transform: none !important; opacity: 1 !important; }
    .pro-card-body { padding: 24px 20px !important; }

    /* About visual */
    .wwa-right { height: auto !important; min-height: 180px; }
    .abt-float-badge { white-space: normal !important; max-width: 140px; font-size: 0.72rem; }

    /* Page hero (sub-pages) */
    .page-hero { padding: 90px 20px 40px !important; text-align: center !important; }
    .page-hero h1 { font-size: 1.75rem !important; text-align: center; }
    .page-hero p { text-align: center; margin: 0 auto 24px; font-size: 0.9rem !important; }

    /* Section text centering */
    .section-title, .section-sub, .section-subtitle, .section-label, .section-header-center { text-align: center !important; }

    /* Enroll CTA */
    .enroll-cta { padding: 44px 20px !important; }

    /* ISO section — animation visible, footer below */
    .iso-standards-section { padding: 36px 0 120px !important; overflow: visible !important; }
    .iso-node-layout { flex-direction: column !important; align-items: center !important; min-width: unset !important; width: 100% !important; overflow: visible !important; padding: 0 !important; gap: 24px !important; }
    .iso-node-title-panel { width: calc(100% - 32px) !important; max-width: 100% !important; border-radius: 16px !important; padding: 24px 20px !important; height: auto !important; }
    .iso-node-diagram { width: 100% !important; min-width: unset !important; height: 600px !important; flex: none !important; overflow: visible !important; }
    .iso-cert-card { width: 65px !important; height: 65px !important; }
    .iso-cert-logo .fa-globe-americas { font-size: 16px !important; }
    .icl-iso { font-size: 9px !important; }
    .icl-num { font-size: 7px !important; }
    .iso-cert-name { font-size: 7px !important; margin: 2px 3px 0 !important; }

    /* Who we are section */
    .wwa-section { grid-template-columns: 1fr !important; padding: 40px 16px !important; margin: 8px !important; gap: 28px !important; }
    .wwa-features { grid-template-columns: 1fr !important; }

    /* Feature grid rows */
    .feature-grid-row, .feature-grid-row-reverse { grid-template-columns: 1fr !important; min-height: auto; }
    .feature-image-pane { transform: none !important; opacity: 1 !important; min-height: 220px; }
    .feature-info-pane { transform: none !important; opacity: 1 !important; }

    /* Cards / footer */
    .cards-container { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
}

/* ── Small phones ≤480px ── */
@media (max-width: 480px) {
    html { font-size: 14px; }
    .hero-title { font-size: 1.65rem !important; }
    .hero-subtitle { font-size: 0.88rem !important; }
    .page-hero h1 { font-size: 1.5rem !important; }
    .page-hero { padding: 80px 14px 36px !important; }
    .hero { padding: 104px 14px 50px; }
    .hero-container { gap: 24px; }
    .training-pyramid { max-width: 220px !important; }
    .section-title { font-size: 1.5rem !important; }
    .tb-banner { padding: 28px 14px !important; }
    .about-row { padding: 36px 14px !important; }
    .feature-info-pane { padding: 28px 14px !important; }
    .pro-card-body { padding: 20px 16px !important; }
    .cards-container { grid-template-columns: 1fr; gap: 18px; }
    .wwa-section { padding: 36px 14px !important; margin: 6px !important; }
    .wwa-features { grid-template-columns: 1fr !important; }
    .enroll-cta { padding: 36px 14px !important; }
    .iso-standards-section { padding: 28px 0 100px !important; }
    .footer-top { gap: 28px; }
    .btn { padding: 11px 22px; font-size: 0.88rem; }
    .info-bar { padding: 14px 16px; }
}

/* ── Sub-page Hero Slideshow ── */
.hero-bg-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.hero-bg-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
    animation: hero-zoom-ken 8s ease-in-out infinite alternate;
    will-change: transform, opacity;
}
.hero-bg-slide.active { opacity: 1; }
@keyframes hero-zoom-ken {
    from { transform: scale(1);    }
    to   { transform: scale(1.12); }
}
.hero-bg-slides::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(13,27,42,0.78) 0%, rgba(5,32,73,0.86) 100%);
    z-index: 1;
}

/* ── ISO Standards Node Diagram Section ── */
.iso-standards-section {
    background: linear-gradient(135deg, #0a0f1e 0%, #0D1B2A 50%, #0a1628 100%);
    padding: 70px 40px;
    overflow: hidden;
}
.iso-node-layout {
    display: flex;
    align-items: center;
    gap: 0;
    max-width: 1300px;
    margin: 0 auto;
}
.iso-node-title-panel {
    flex-shrink: 0;
    width: 260px;
    height: 340px;
    background: linear-gradient(160deg, #fab814 0%, #e09000 100%);
    border-radius: 24px;
    padding: 36px 28px;
    transform: none;
    box-shadow: 0 0 40px rgba(250,184,20,0.5), 0 8px 32px rgba(0,0,0,0.4);
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.iso-node-title-panel .iso-std-eyebrow {
    background: rgba(255,255,255,0.25);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
    margin-bottom: 18px;
    font-size: 10px;
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 2px;
    font-weight: 700;
    text-transform: uppercase;
}
.iso-node-title-panel .iso-std-title-main {
    font-size: 26px;
    font-weight: 900;
    color: #0D1B2A;
    line-height: 1.2;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.iso-node-title-panel .iso-gold { color: #fff; }
.iso-node-title-panel .iso-std-subtitle {
    font-size: 12px;
    color: rgba(13,27,42,0.75);
    line-height: 1.6;
}
.iso-node-diagram {
    flex: 1;
    position: relative;
    height: 780px;
    overflow: visible;
}
.iso-standards-section {
    overflow: visible;
    padding-bottom: 100px;
}
.iso-node-layout {
    overflow: visible;
}
/* Flowing line animation */
@keyframes iso-line-flow {
    from { stroke-dashoffset: 0; }
    to   { stroke-dashoffset: -22; }
}
/* Hub spin ring */
@keyframes iso-hub-spin {
    from { transform: rotate(0deg); transform-origin: var(--hx) var(--hy); }
    to   { transform: rotate(360deg); transform-origin: var(--hx) var(--hy); }
}
.iso-hub-ring { animation: iso-hub-spin 6s linear infinite; transform-box: fill-box; transform-origin: center; }

.iso-node-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}
.iso-std-header {
    text-align: center;
    margin-bottom: 50px;
}
.iso-std-eyebrow {
    display: inline-block;
    background: rgba(244,176,0,0.12);
    color: #f4b000;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(244,176,0,0.3);
    margin-bottom: 16px;
}
.iso-std-title-main {
    font-size: 38px;
    font-weight: 800;
    color: #0d1e3a;
    letter-spacing: 1px;
    margin: 0 0 14px 0;
    text-transform: uppercase;
}
.iso-gold { color: #fab814; }
.iso-std-subtitle {
    font-size: 15px;
    color: #64748b;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ISO Cert — Node circles (absolute positioned by JS) */
.iso-cert-grid {
    position: absolute;
    inset: 0;
}
.iso-cert-card {
    position: absolute;
    width: 108px;
    height: 108px;
    border-radius: 50%;
    padding: 0;
    transform: translate(-50%, -50%) scale(0.7);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.34,1.4,0.64,1),
                box-shadow 0.3s ease, opacity 0.4s ease;
    cursor: default;
    border: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.iso-cert-card.iso-card-in {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    animation: iso-node-float 3.5s ease-in-out infinite;
}
.iso-cert-card:hover {
    transform: translate(-50%, -50%) scale(1.22) !important;
    z-index: 10;
    animation: none !important;
}

/* Float up-down per card with stagger */
@keyframes iso-node-float {
    0%,100% { transform: translate(-50%, -50%) scale(1); }
    50%      { transform: translate(-50%, calc(-50% - 9px)) scale(1); }
}
.iso-cert-card:nth-child(1)  { animation-delay: 0s; }
.iso-cert-card:nth-child(2)  { animation-delay: 0.3s; }
.iso-cert-card:nth-child(3)  { animation-delay: 0.6s; }
.iso-cert-card:nth-child(4)  { animation-delay: 0.9s; }
.iso-cert-card:nth-child(5)  { animation-delay: 1.2s; }
.iso-cert-card:nth-child(6)  { animation-delay: 1.5s; }
.iso-cert-card:nth-child(7)  { animation-delay: 1.8s; }
.iso-cert-card:nth-child(8)  { animation-delay: 2.1s; }
.iso-cert-card:nth-child(9)  { animation-delay: 2.4s; }
.iso-cert-card:nth-child(10) { animation-delay: 2.7s; }
.iso-cert-card:nth-child(11) { animation-delay: 3.0s; }
.iso-cert-card:nth-child(12) { animation-delay: 3.3s; }
.iso-cert-card:nth-child(13) { animation-delay: 3.6s; }
.iso-cert-card:nth-child(14) { animation-delay: 3.9s; }
.iso-cert-card:nth-child(15) { animation-delay: 4.2s; }
.iso-cert-card:nth-child(16) { animation-delay: 4.5s; }

/* Pulse ring on each node */
.iso-cert-card::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid currentColor;
    opacity: 0;
    animation: iso-node-pulse-ring 3.5s ease-out infinite;
    pointer-events: none;
    display: block;
}
.iso-cert-card:nth-child(8n+1)::before { color: #fab814; animation-delay: 0s; }
.iso-cert-card:nth-child(8n+2)::before { color: #0D1B2A; animation-delay: 0.4s; }
.iso-cert-card:nth-child(8n+3)::before { color: #fab814; animation-delay: 0.8s; }
.iso-cert-card:nth-child(8n+4)::before { color: #0D1B2A; animation-delay: 1.2s; }
.iso-cert-card:nth-child(8n+5)::before { color: #fab814; animation-delay: 1.6s; }
.iso-cert-card:nth-child(8n+6)::before { color: #0D1B2A; animation-delay: 2.0s; }
.iso-cert-card:nth-child(8n+7)::before { color: #fab814; animation-delay: 2.4s; }
.iso-cert-card:nth-child(8n+8)::before { color: #0D1B2A; animation-delay: 2.8s; }

@keyframes iso-node-pulse-ring {
    0%   { opacity: 0.9; transform: scale(1); }
    80%  { opacity: 0;   transform: scale(1.7); }
    100% { opacity: 0;   transform: scale(1.7); }
}
.iso-cert-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    margin: 0;
    padding: 0;
    border-bottom: none;
}
.iso-cert-logo::after { display: none; }
.iso-cert-logo .fa-globe-americas {
    font-size: 22px;
    margin-bottom: 2px;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.25));
    position: relative; z-index: 1;
}
.icl-iso  { font-size: 11px; font-weight: 900; letter-spacing: 1px; color: #fff; line-height: 1; z-index:1; position:relative; }
.icl-num  { font-size: 9px;  font-weight: 700; color: rgba(255,255,255,0.85); line-height: 1; z-index:1; position:relative; }
.iso-cert-name {
    font-size: 9px;
    font-weight: 700;
    margin: 4px 4px 0;
    color: #fff;
    line-height: 1.2;
    text-align: center;
    z-index: 1;
    position: relative;
    animation: none;
}
.iso-cert-desc { display: none; }
/* ── ISO Cert Cards — coloured header + white body ── */
.iso-cert-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 0;
    text-align: center;
    overflow: hidden;
    cursor: default;
    box-shadow: 0 4px 20px rgba(0,0,0,0.09);
    opacity: 0;
    transform: translateY(32px);
    transition: transform 0.45s cubic-bezier(0.34,1.4,0.64,1),
                box-shadow 0.3s ease, opacity 0.4s ease;
    border: 1.5px solid rgba(0,0,0,0.05);
}
.iso-cert-card.iso-card-in { opacity: 1; transform: translateY(0); }
.iso-cert-card:hover { transform: translateY(-8px) scale(1.02); }
.iso-cert-card::before { display: none; }

/* Coloured gradient header (logo area) */
.iso-cert-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 26px 16px 18px;
    margin-bottom: 0;
    border-bottom: none;
    position: relative;
}
/* Full card gradient — logo colour removed separately */
.iso-cert-card:nth-child(8n+1) { background: linear-gradient(135deg,#fab814,#fcd34d,#e09000,#fab814,#fff3a0,#fab814); background-size: 500% 500%; animation: iso-card-swim-gold 6s ease-in-out infinite; }
.iso-cert-card:nth-child(8n+2) { background: linear-gradient(135deg,#0D1B2A,#1e3a8a,#0a2a50,#0D1B2A,#1a4a7a,#0D1B2A); background-size: 500% 500%; animation: iso-card-swim-navy 6s ease-in-out infinite; }
.iso-cert-card:nth-child(8n+3) { background: linear-gradient(135deg,#b47800,#fab814,#fcd34d,#b47800,#e09000,#fab814); background-size: 500% 500%; animation: iso-card-swim-gold 6s ease-in-out infinite 1s; }
.iso-cert-card:nth-child(8n+4) { background: linear-gradient(135deg,#052049,#0a1e4a,#1a3a5c,#052049,#0D1B2A,#052049); background-size: 500% 500%; animation: iso-card-swim-navy 6s ease-in-out infinite 1s; }
.iso-cert-card:nth-child(8n+5) { background: linear-gradient(135deg,#fab814,#e09000,#fcd34d,#fab814,#fff3a0,#fab814); background-size: 500% 500%; animation: iso-card-swim-gold 6s ease-in-out infinite 2s; }
.iso-cert-card:nth-child(8n+6) { background: linear-gradient(135deg,#0D1B2A,#052049,#1a3a5c,#0D1B2A,#0a2a50,#0D1B2A); background-size: 500% 500%; animation: iso-card-swim-navy 6s ease-in-out infinite 2s; }
.iso-cert-card:nth-child(8n+7) { background: linear-gradient(135deg,#fcd34d,#fab814,#e09000,#fcd34d,#fff3a0,#fcd34d); background-size: 500% 500%; animation: iso-card-swim-gold 6s ease-in-out infinite 3s; }
.iso-cert-card:nth-child(8n+8) { background: linear-gradient(135deg,#1e3a8a,#0D1B2A,#052049,#1e3a8a,#1a4a7a,#0D1B2A); background-size: 500% 500%; animation: iso-card-swim-navy 6s ease-in-out infinite 3s; }
@keyframes iso-card-swim-gold {
    0%   { background-position: 0% 0%; }
    25%  { background-position: 100% 0%; }
    50%  { background-position: 100% 100%; }
    75%  { background-position: 0% 100%; }
    100% { background-position: 0% 0%; }
}
@keyframes iso-card-swim-navy {
    0%   { background-position: 0% 100%; }
    25%  { background-position: 100% 100%; }
    50%  { background-position: 100% 0%; }
    75%  { background-position: 0% 0%; }
    100% { background-position: 0% 100%; }
}

/* Logo area = transparent (full card is coloured) */
.iso-cert-logo { background: transparent !important; }
.iso-cert-logo::after { display: none !important; }

/* Hover glow per card */
.iso-cert-card:nth-child(8n+1):hover { box-shadow: 0 20px 44px rgba(250,184,20,0.5); }
.iso-cert-card:nth-child(8n+2):hover { box-shadow: 0 20px 44px rgba(13,27,42,0.5); }
.iso-cert-card:nth-child(8n+3):hover { box-shadow: 0 20px 44px rgba(250,184,20,0.5); }
.iso-cert-card:nth-child(8n+4):hover { box-shadow: 0 20px 44px rgba(13,27,42,0.5); }
.iso-cert-card:nth-child(8n+5):hover { box-shadow: 0 20px 44px rgba(250,184,20,0.5); }
.iso-cert-card:nth-child(8n+6):hover { box-shadow: 0 20px 44px rgba(13,27,42,0.5); }
.iso-cert-card:nth-child(8n+7):hover { box-shadow: 0 20px 44px rgba(250,184,20,0.5); }
.iso-cert-card:nth-child(8n+8):hover { box-shadow: 0 20px 44px rgba(13,27,42,0.5); }

/* Wave divider at bottom of header */
.iso-cert-logo::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 18px;
    background: #ffffff;
    clip-path: ellipse(55% 100% at 50% 100%);
}

/* All icons + text in header = white */
.iso-cert-logo .fa-globe-americas {
    font-size: 34px;
    color: rgba(255,255,255,0.95);
    margin-bottom: 6px;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25));
    position: relative;
    z-index: 1;
}
.icl-iso {
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 1.5px;
    color: #ffffff;
    line-height: 1;
    position: relative; z-index: 1;
}
.icl-num {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.85);
    line-height: 1;
    position: relative; z-index: 1;
}

/* White body — name + desc */
.iso-cert-name {
    font-size: 14px;
    font-weight: 700;
    margin: 14px 12px 5px;
    letter-spacing: 0.2px;
}
/* Gold cards → dark text, Navy cards → white text */
.iso-cert-card:nth-child(8n+1) .iso-cert-name,
.iso-cert-card:nth-child(8n+3) .iso-cert-name,
.iso-cert-card:nth-child(8n+5) .iso-cert-name,
.iso-cert-card:nth-child(8n+7) .iso-cert-name { color: #0D1B2A; }

.iso-cert-card:nth-child(8n+2) .iso-cert-name,
.iso-cert-card:nth-child(8n+4) .iso-cert-name,
.iso-cert-card:nth-child(8n+6) .iso-cert-name,
.iso-cert-card:nth-child(8n+8) .iso-cert-name { color: #fab814; }

/* Gold cards → dark icl text */
.iso-cert-card:nth-child(8n+1) .icl-iso,
.iso-cert-card:nth-child(8n+1) .icl-num,
.iso-cert-card:nth-child(8n+3) .icl-iso,
.iso-cert-card:nth-child(8n+3) .icl-num,
.iso-cert-card:nth-child(8n+5) .icl-iso,
.iso-cert-card:nth-child(8n+5) .icl-num,
.iso-cert-card:nth-child(8n+7) .icl-iso,
.iso-cert-card:nth-child(8n+7) .icl-num { color: #0D1B2A; }

/* Globe icon shining animation */
.iso-cert-logo .fa-globe-americas {
    animation: globe-shine 2.2s ease-in-out infinite;
}
.iso-cert-card:nth-child(odd) .fa-globe-americas  { animation-delay: 0s; }
.iso-cert-card:nth-child(even) .fa-globe-americas { animation-delay: 1.1s; }

@keyframes globe-shine {
    0%,100% {
        filter: drop-shadow(0 0 3px rgba(255,255,255,0.3));
        transform: scale(1) rotate(0deg);
    }
    40% {
        filter: drop-shadow(0 0 14px rgba(255,255,255,1))
                drop-shadow(0 0 28px rgba(255,255,255,0.6));
        transform: scale(1.2) rotate(8deg);
    }
    60% {
        filter: drop-shadow(0 0 14px rgba(255,255,255,1))
                drop-shadow(0 0 28px rgba(255,255,255,0.6));
        transform: scale(1.2) rotate(-8deg);
    }
}

.iso-cert-desc {
    font-size: 11.5px;
    color: #64748b;
    margin: 0 12px 20px;
    line-height: 1.5;
}

/* Respect user motion preferences */
@media(prefers-reduced-motion:reduce){
    *,*::before,*::after{
        animation-duration:.01ms !important;
        animation-iteration-count:1 !important;
        transition-duration:.01ms !important;
    }
}