/* ============================================================
   COSAT GROUP — Main Stylesheet
   CTO: Adam OSSENI | Version: 1.0.0
   ============================================================ */

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    color: var(--cosat-text);
    background: var(--cosat-white);
    line-height: 1.7;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cosat-navy); text-decoration: none; transition: color var(--transition-normal); }
a:hover { color: var(--cosat-cyan); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--cosat-navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
p  { margin-bottom: 1rem; }

/* ---- UTILITIES ---- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.container--narrow { max-width: 900px; }
.section { padding: var(--spacing-xl) 0; }
.section--sm { padding: var(--spacing-lg) 0; }
.section--grey { background: var(--cosat-grey-light); }
.section--navy { background: var(--cosat-navy); color: var(--cosat-white); }
.section--navy h1,.section--navy h2,.section--navy h3,.section--navy h4 { color: var(--cosat-white); }
.section--gradient { background: linear-gradient(135deg, var(--cosat-navy) 0%, var(--cosat-navy-mid) 100%); color: var(--cosat-white); }
.text-center { text-align: center; }
.text-white { color: var(--cosat-white) !important; }
.text-cyan { color: var(--cosat-cyan) !important; }
.text-gold { color: var(--cosat-gold) !important; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 2rem; } .mt-4 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 2rem; }
.flex { display: flex; } .flex-center { display: flex; align-items: center; justify-content: center; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ---- SECTION HEADER ---- */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header__tag {
    display: inline-block;
    background: var(--cosat-cyan-light);
    color: var(--cosat-cyan-dark);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}
.section--navy .section-header__tag { background: rgba(34,193,219,0.2); color: var(--cosat-cyan); }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--cosat-text-light); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.section--navy .section-header p { color: rgba(255,255,255,0.75); }
.section-divider {
    display: block;
    width: 60px; height: 4px;
    background: linear-gradient(90deg, var(--cosat-cyan), var(--cosat-gold));
    border-radius: var(--radius-full);
    margin: 1rem auto;
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    white-space: nowrap;
}
.btn--navy { background: var(--cosat-navy); color: #fff; }
.btn--navy:hover { background: var(--cosat-navy-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--cyan { background: var(--cosat-cyan); color: #fff; }
.btn--cyan:hover { background: var(--cosat-cyan-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 20px rgba(34,193,219,0.4); }
.btn--gold { background: var(--cosat-gold); color: var(--cosat-navy); }
.btn--gold:hover { background: var(--cosat-gold-dark); color: var(--cosat-navy); transform: translateY(-2px); box-shadow: 0 4px 20px rgba(245,166,35,0.4); }
.btn--outline { border-color: var(--cosat-navy); color: var(--cosat-navy); background: transparent; }
.btn--outline:hover { background: var(--cosat-navy); color: #fff; }
.btn--white-outline { border-color: #fff; color: #fff; background: transparent; }
.btn--white-outline:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn--lg { padding: 16px 40px; font-size: 1.1rem; }
.btn--sm { padding: 8px 18px; font-size: 0.85rem; }
.btn--full { width: 100%; justify-content: center; }
.btn i { font-size: 0.9em; }

/* ---- TOP BAR ---- */
.cosat-topbar {
    background: var(--cosat-navy-dark);
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
    padding: 8px 0;
}
.cosat-topbar .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 20px; }
.topbar__left a, .topbar__left span { color: rgba(255,255,255,0.85); display: flex; align-items: center; gap: 6px; }
.topbar__left a:hover { color: var(--cosat-cyan); }
.topbar__right a { color: rgba(255,255,255,0.85); width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,0.1); transition: all var(--transition-normal); }
.topbar__right a:hover { background: var(--cosat-cyan); color: #fff; }

/* ---- LANGUAGE SWITCHER ---- */
.cosat-lang-switcher { display: flex; align-items: center; gap: 4px; }
.lang-btn { color: rgba(255,255,255,0.75); font-size: 0.78rem; font-weight: 600; padding: 3px 8px; border-radius: var(--radius-sm); background: transparent; transition: all var(--transition-fast); cursor: pointer; }
.lang-btn.active { background: var(--cosat-cyan); color: #fff; }
.lang-btn:hover:not(.active) { background: rgba(255,255,255,0.15); color: #fff; }
.lang-sep { color: rgba(255,255,255,0.3); font-size: 0.7rem; }

/* ---- HEADER ---- */
.cosat-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-header);
    background: var(--cosat-white);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}
.cosat-header.scrolled { box-shadow: var(--shadow-md); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 16px 0; }

/* Logo */
.header__logo a { display: flex; align-items: center; }
.header__logo img { height: 55px; width: auto; }
.cosat-text-logo { display: flex; flex-direction: column; line-height: 1; }
.cosat-text-logo .logo-main { font-family: var(--font-heading); font-weight: 900; font-size: 1.8rem; color: var(--cosat-navy); letter-spacing: 2px; }
.cosat-text-logo .logo-sub { font-family: var(--font-heading); font-weight: 500; font-size: 0.7rem; color: var(--cosat-cyan); text-transform: uppercase; letter-spacing: 3px; }
.cosat-text-logo--light .logo-main { color: var(--cosat-white); }
.cosat-text-logo--light .logo-sub { color: var(--cosat-cyan); }

/* Navigation */
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
    display: flex; align-items: center; gap: 5px;
    padding: 8px 14px;
    border-radius: var(--radius-md);
    font-weight: 600; font-size: 0.88rem;
    color: var(--cosat-text);
    transition: all var(--transition-fast);
    white-space: nowrap;
}
.nav__link:hover, .nav__item.active .nav__link { color: var(--cosat-navy); background: var(--cosat-grey-light); }
.nav__link--academy { color: var(--cosat-cyan) !important; }
.nav__link--academy:hover { background: var(--cosat-cyan-light) !important; color: var(--cosat-cyan-dark) !important; }
.nav__link--contact { border-color: var(--cosat-navy); }
.nav__link i { font-size: 0.7rem; transition: transform var(--transition-fast); }

/* Dropdown */
.has-dropdown:hover .nav__dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.has-dropdown:hover .nav__link i { transform: rotate(-180deg); }
.nav__dropdown {
    position: absolute; top: calc(100% + 8px); left: 0;
    min-width: 260px;
    background: var(--cosat-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--cosat-grey);
    opacity: 0; visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
    z-index: var(--z-dropdown);
    padding: 8px 0;
}
.nav__dropdown li a {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 20px;
    font-size: 0.875rem; font-weight: 500;
    color: var(--cosat-text);
    transition: all var(--transition-fast);
}
.nav__dropdown li a i { color: var(--cosat-cyan); width: 18px; text-align: center; font-size: 0.85rem; }
.nav__dropdown li a:hover { background: var(--cosat-grey-light); color: var(--cosat-navy); padding-left: 26px; }

/* Cart */
.nav__link--cart { position: relative; padding: 8px 12px; }
.cart-count {
    position: absolute; top: 0; right: 0;
    background: var(--cosat-gold);
    color: var(--cosat-navy);
    font-size: 0.65rem; font-weight: 700;
    min-width: 18px; height: 18px;
    border-radius: var(--radius-full);
    display: flex; align-items: center; justify-content: center;
    transform: translate(4px, -4px);
}

/* Hamburger */
.header__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border-radius: var(--radius-sm);
}
.header__hamburger span {
    display: block; width: 24px; height: 2px;
    background: var(--cosat-navy);
    transition: all var(--transition-normal);
    border-radius: 2px;
}
.header__hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.header__hamburger.open span:nth-child(2) { opacity: 0; }
.header__hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 999; }

/* ---- HERO SECTION ---- */
.cosat-hero {
    min-height: 92vh;
    background: linear-gradient(135deg, var(--cosat-navy-dark) 0%, var(--cosat-navy) 50%, #1A2FA0 100%);
    display: flex; align-items: center;
    position: relative; overflow: hidden;
    padding: 80px 0;
}
.hero-bg-pattern {
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(34,193,219,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(245,166,35,0.06) 0%, transparent 40%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-floating-shapes { position: absolute; inset: 0; pointer-events: none; }
.hero-shape {
    position: absolute; border-radius: 50%;
    background: rgba(34,193,219,0.1);
    animation: float 6s ease-in-out infinite;
}
.hero-shape:nth-child(1) { width: 300px; height: 300px; right: -100px; top: -100px; animation-delay: 0s; }
.hero-shape:nth-child(2) { width: 200px; height: 200px; right: 200px; bottom: -50px; animation-delay: 2s; background: rgba(245,166,35,0.08); }
.hero-shape:nth-child(3) { width: 100px; height: 100px; left: 50px; top: 100px; animation-delay: 4s; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-20px) rotate(5deg); } }

.hero-content { position: relative; z-index: 1; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; }
.hero__tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(34,193,219,0.15);
    border: 1px solid rgba(34,193,219,0.3);
    color: var(--cosat-cyan);
    padding: 6px 16px; border-radius: var(--radius-full);
    font-size: 0.8rem; font-weight: 700; letter-spacing: 1px;
    text-transform: uppercase; margin-bottom: 24px;
}
.hero__tag i { animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
.hero__title { color: var(--cosat-white); margin-bottom: 20px; }
.hero__title span { color: var(--cosat-cyan); position: relative; }
.hero__title em { font-style: normal; color: var(--cosat-gold); }
.hero__subtitle { color: rgba(255,255,255,0.8); font-size: 1.15rem; margin-bottom: 32px; max-width: 500px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero__stats { display: flex; gap: 32px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat__number { font-family: var(--font-heading); font-size: 2rem; font-weight: 800; color: var(--cosat-white); line-height: 1; }
.hero-stat__number span { color: var(--cosat-gold); }
.hero-stat__label { font-size: 0.78rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }
.hero__visual { display: flex; justify-content: center; align-items: center; }
.hero-graphic {
    width: 100%; max-width: 480px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-xl);
    padding: 32px;
    backdrop-filter: blur(10px);
}
.hero-graphic__title { color: var(--cosat-cyan); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.hero-service-list { display: flex; flex-direction: column; gap: 12px; }
.hero-service-item {
    display: flex; align-items: center; gap: 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    transition: all var(--transition-normal);
}
.hero-service-item:hover { background: rgba(34,193,219,0.1); border-color: rgba(34,193,219,0.2); }
.hero-service-item i { font-size: 1.1rem; color: var(--cosat-cyan); width: 24px; text-align: center; }
.hero-service-item span { color: rgba(255,255,255,0.85); font-size: 0.9rem; font-weight: 500; }

/* ---- SERVICES CARDS ---- */
.service-card {
    background: var(--cosat-white);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--cosat-grey);
    transition: all var(--transition-normal);
    position: relative; overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--cosat-navy), var(--cosat-cyan));
    transform: scaleX(0); transform-origin: left;
    transition: transform var(--transition-normal);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--cosat-cyan); }
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, var(--cosat-cyan-light), rgba(34,193,219,0.1));
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem; color: var(--cosat-cyan);
}
.service-card__code {
    font-family: var(--font-mono);
    font-size: 0.7rem; font-weight: 600;
    color: var(--cosat-grey-mid);
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.service-card h3 { font-size: 1.1rem; margin-bottom: 12px; }
.service-card p { font-size: 0.9rem; color: var(--cosat-text-light); margin-bottom: 20px; line-height: 1.6; }
.service-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.service-tag {
    background: var(--cosat-grey-light);
    color: var(--cosat-text-light);
    font-size: 0.72rem; font-weight: 600;
    padding: 3px 10px; border-radius: var(--radius-full);
}
.service-card__link {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--cosat-navy); font-weight: 600; font-size: 0.875rem;
    transition: gap var(--transition-fast);
}
.service-card__link:hover { gap: 12px; color: var(--cosat-cyan); }

/* ---- STATS SECTION ---- */
.stats-section {
    background: linear-gradient(135deg, var(--cosat-navy) 0%, var(--cosat-navy-mid) 100%);
    padding: var(--spacing-lg) 0;
    position: relative; overflow: hidden;
}
.stats-section::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; position: relative; }
.stat-item {
    text-align: center; padding: 40px 24px;
    border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-item__number {
    font-family: var(--font-heading);
    font-size: 3rem; font-weight: 900;
    color: var(--cosat-white); line-height: 1;
    margin-bottom: 8px;
}
.stat-item__number .stat-accent { color: var(--cosat-gold); }
.stat-item__label { color: rgba(255,255,255,0.7); font-size: 0.875rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }
.stat-item__icon { font-size: 2rem; color: rgba(34,193,219,0.4); margin-bottom: 16px; }

/* ---- ACADEMY SECTION (HOME) ---- */
.academy-highlight {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.academy-highlight__img { position: relative; }
.academy-highlight__img img { border-radius: var(--radius-xl); }
.academy-badge {
    position: absolute; bottom: -20px; right: -20px;
    background: var(--cosat-navy);
    color: var(--cosat-white);
    border-radius: var(--radius-lg);
    padding: 20px 24px; text-align: center;
    box-shadow: var(--shadow-lg);
}
.academy-badge__number { font-size: 2rem; font-weight: 900; color: var(--cosat-cyan); }
.academy-badge__text { font-size: 0.8rem; color: rgba(255,255,255,0.8); margin-top: 4px; }
.academy-highlight__content { }
.academy-programs { display: flex; flex-direction: column; gap: 16px; margin: 24px 0; }
.academy-program-card {
    display: flex; align-items: flex-start; gap: 16px;
    background: var(--cosat-grey-light);
    border-radius: var(--radius-md);
    padding: 20px;
    border-left: 4px solid var(--cosat-cyan);
    transition: all var(--transition-normal);
}
.academy-program-card:hover { border-left-color: var(--cosat-gold); background: var(--cosat-cyan-light); }
.academy-program-card i { font-size: 1.5rem; color: var(--cosat-cyan); margin-top: 2px; flex-shrink: 0; }
.academy-program-card h4 { font-size: 1rem; margin-bottom: 4px; }
.academy-program-card p { font-size: 0.85rem; color: var(--cosat-text-light); margin: 0; }

/* ---- CERTIFICATION LOGOS ---- */
.cert-logos-strip {
    background: var(--cosat-grey-light);
    padding: 40px 0;
    border-top: 1px solid var(--cosat-grey);
    border-bottom: 1px solid var(--cosat-grey);
}
.cert-logos-label { text-align: center; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--cosat-grey-mid); margin-bottom: 24px; }
.cert-logos-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 32px 48px; }
.cert-logo-item {
    font-family: var(--font-heading); font-weight: 700; font-size: 0.85rem;
    color: var(--cosat-grey-mid);
    transition: color var(--transition-normal);
    opacity: 0.6;
    text-align: center;
}
.cert-logo-item:hover { color: var(--cosat-navy); opacity: 1; }

/* ---- TESTIMONIALS ---- */
.testimonial-card {
    background: var(--cosat-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    position: absolute; top: 20px; right: 24px;
    font-size: 5rem; color: var(--cosat-cyan-light);
    font-family: Georgia, serif; line-height: 1;
}
.testimonial-card p { font-style: italic; color: var(--cosat-text); margin-bottom: 20px; line-height: 1.8; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--cosat-navy); display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 1.1rem; }
.testimonial-author h5 { font-size: 0.95rem; margin-bottom: 2px; }
.testimonial-author span { font-size: 0.8rem; color: var(--cosat-text-light); }
.testimonial-stars { color: var(--cosat-gold); font-size: 0.8rem; margin-bottom: 16px; }

/* ---- TEAM CARDS ---- */
.team-card {
    text-align: center;
    background: var(--cosat-white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--cosat-grey);
    transition: all var(--transition-normal);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-card__avatar {
    width: 100px; height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--cosat-navy), var(--cosat-cyan));
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: white; font-weight: 700;
    overflow: hidden;
}
.team-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h4 { font-size: 1rem; margin-bottom: 4px; }
.team-card__role { color: var(--cosat-cyan); font-size: 0.85rem; font-weight: 600; margin-bottom: 12px; }
.team-card__bio { font-size: 0.85rem; color: var(--cosat-text-light); }

/* ---- SESSION CARDS ---- */
.cosat-sessions-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.cosat-session-card {
    background: var(--cosat-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--cosat-grey);
    transition: all var(--transition-normal);
    display: flex; flex-direction: column;
}
.cosat-session-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--cosat-cyan); }
.session-card__header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px;
    background: var(--cosat-grey-light);
    border-bottom: 1px solid var(--cosat-grey);
}
.session-date { display: flex; flex-direction: column; align-items: center; }
.date-day { font-size: 1.8rem; font-weight: 800; color: var(--cosat-navy); line-height: 1; }
.date-month { font-size: 0.7rem; text-transform: uppercase; color: var(--cosat-grey-mid); font-weight: 600; letter-spacing: 1px; }
.session-badge {
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    padding: 4px 12px; border-radius: var(--radius-full);
}
.session-badge.présentiel { background: rgba(56,161,105,0.1); color: var(--cosat-success); }
.session-badge.en.ligne, .session-badge.online { background: var(--cosat-cyan-light); color: var(--cosat-cyan-dark); }
.session-badge.hybride { background: rgba(245,166,35,0.1); color: var(--cosat-gold-dark); }
.session-card__body { padding: 20px; flex: 1; }
.session-title { font-size: 1rem; margin-bottom: 12px; }
.session-meta { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.session-meta span { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--cosat-text-light); }
.session-meta i { color: var(--cosat-cyan); width: 14px; }
.session-price { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 800; color: var(--cosat-navy); }
.session-price small { font-size: 0.7rem; font-weight: 500; color: var(--cosat-grey-mid); }
.session-card__footer { display: flex; gap: 10px; padding: 16px 20px; border-top: 1px solid var(--cosat-grey); }

/* ---- ACADEMY FORM ---- */
.academy-form-section {
    background: var(--cosat-navy);
    padding: var(--spacing-xl) 0;
    position: relative; overflow: hidden;
}
.academy-form-section::before {
    content: ''; position: absolute; top: -50%; right: -200px;
    width: 600px; height: 600px; border-radius: 50%;
    background: rgba(34,193,219,0.06);
}
.cosat-form {
    background: var(--cosat-white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-xl);
}
.cosat-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 0; }
.form-group--full { grid-column: 1 / -1; }
.form-label {
    display: block; margin-bottom: 6px;
    font-weight: 600; font-size: 0.85rem;
    color: var(--cosat-navy);
}
.form-label .required { color: var(--cosat-error); }
.form-control {
    width: 100%; padding: 12px 16px;
    border: 2px solid var(--cosat-grey);
    border-radius: var(--radius-md);
    font-size: 0.9rem; font-family: inherit;
    color: var(--cosat-text);
    background: var(--cosat-white);
    transition: all var(--transition-fast);
    outline: none;
}
.form-control:focus { border-color: var(--cosat-cyan); box-shadow: 0 0 0 3px rgba(34,193,219,0.15); }
.form-control::placeholder { color: var(--cosat-grey-mid); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23718096' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.form-submit-area { margin-top: 24px; display: flex; align-items: center; gap: 16px; }
.form-note { font-size: 0.78rem; color: var(--cosat-text-light); }
.form-message {
    margin-top: 16px; padding: 12px 16px;
    border-radius: var(--radius-md); font-size: 0.9rem; font-weight: 500;
    display: none;
}
.form-message.success { background: rgba(56,161,105,0.1); color: var(--cosat-success); border: 1px solid rgba(56,161,105,0.2); display: block; }
.form-message.error { background: rgba(229,62,62,0.1); color: var(--cosat-error); border: 1px solid rgba(229,62,62,0.2); display: block; }

/* ---- FOOTER ---- */
.footer-cta {
    background: var(--cosat-gold);
    padding: 48px 0;
}
.footer-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-cta__text h3 { color: var(--cosat-navy); font-size: 1.5rem; margin-bottom: 8px; }
.footer-cta__text p { color: rgba(13,32,128,0.75); margin: 0; }
.footer-cta__actions { display: flex; gap: 16px; flex-shrink: 0; flex-wrap: wrap; }
.footer-cta .btn--navy { background: var(--cosat-navy); }
.footer-cta .btn--white-outline { border-color: var(--cosat-navy); color: var(--cosat-navy); }
.footer-cta .btn--white-outline:hover { background: var(--cosat-navy); color: var(--cosat-gold); }

.footer-main { background: #05103D; padding: 64px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; }
.footer-tagline { color: var(--cosat-cyan); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; margin: 12px 0; }
.footer-desc { color: rgba(255,255,255,0.6); font-size: 0.875rem; line-height: 1.7; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.social-link {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem;
    transition: all var(--transition-normal);
}
.social-link:hover { background: var(--cosat-cyan); color: white; transform: translateY(-2px); }
.footer-col__title {
    color: var(--cosat-white); font-size: 0.95rem; font-weight: 700;
    margin-bottom: 20px; padding-bottom: 10px;
    border-bottom: 2px solid rgba(255,255,255,0.1);
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    display: flex; align-items: center; gap: 8px;
    color: rgba(255,255,255,0.6); font-size: 0.875rem;
    transition: all var(--transition-fast);
}
.footer-links a i { font-size: 0.6rem; color: var(--cosat-cyan); }
.footer-links a:hover { color: var(--cosat-cyan); padding-left: 4px; }
.footer-contact-list { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-list li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,0.6); font-size: 0.875rem; }
.footer-contact-list i { color: var(--cosat-cyan); margin-top: 3px; width: 16px; text-align: center; flex-shrink: 0; }
.footer-contact-list a { color: rgba(255,255,255,0.6); }
.footer-contact-list a:hover { color: var(--cosat-cyan); }
.footer-bottom { background: #030D30; padding: 20px 0; }
.footer-bottom__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { color: rgba(255,255,255,0.5); font-size: 0.8rem; margin: 0; }
.footer-bottom__links { display: flex; gap: 20px; }
.footer-bottom__links a { color: rgba(255,255,255,0.5); font-size: 0.78rem; }
.footer-bottom__links a:hover { color: var(--cosat-cyan); }
.footer-credit { color: rgba(255,255,255,0.3); font-size: 0.75rem; margin: 0; }

/* ---- SCROLL TO TOP ---- */
.scroll-top {
    position: fixed; bottom: 30px; right: 30px;
    width: 44px; height: 44px;
    background: var(--cosat-navy);
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
    opacity: 0; visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 500;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--cosat-cyan); transform: translateY(-3px); }

/* ---- PAGE BANNERS ---- */
.page-banner {
    background: linear-gradient(135deg, var(--cosat-navy-dark) 0%, var(--cosat-navy) 100%);
    padding: 80px 0;
    position: relative; overflow: hidden;
    text-align: center;
}
.page-banner::after {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner__tag { display: inline-flex; align-items: center; gap: 8px; background: rgba(34,193,219,0.15); color: var(--cosat-cyan); padding: 6px 16px; border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; }
.page-banner h1 { color: white; margin-bottom: 16px; }
.page-banner p { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 600px; margin: 0 auto 24px; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: var(--cosat-cyan); }
.breadcrumb span:not(:last-child)::after { content: '/'; margin-left: 8px; }

/* ---- ACCORDION (FAQ) ---- */
.cosat-accordion { border: 1px solid var(--cosat-grey); border-radius: var(--radius-md); overflow: hidden; }
.accordion-item { border-bottom: 1px solid var(--cosat-grey); }
.accordion-item:last-child { border-bottom: none; }
.accordion-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 24px; cursor: pointer;
    background: var(--cosat-white); transition: background var(--transition-fast);
}
.accordion-header:hover { background: var(--cosat-grey-light); }
.accordion-header h4 { font-size: 1rem; margin: 0; }
.accordion-header i { transition: transform var(--transition-normal); color: var(--cosat-cyan); font-size: 0.9rem; flex-shrink: 0; }
.accordion-item.open .accordion-header i { transform: rotate(180deg); }
.accordion-body { padding: 0 24px; max-height: 0; overflow: hidden; transition: all var(--transition-normal); }
.accordion-item.open .accordion-body { padding: 16px 24px 24px; max-height: 500px; }
.accordion-body p { margin: 0; color: var(--cosat-text-light); font-size: 0.9rem; }

/* ---- BADGES / TAGS ---- */
.badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 4px 12px; border-radius: var(--radius-full);
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}
.badge--navy { background: var(--cosat-navy); color: white; }
.badge--cyan { background: var(--cosat-cyan); color: white; }
.badge--gold { background: var(--cosat-gold); color: var(--cosat-navy); }
.badge--success { background: rgba(56,161,105,0.1); color: var(--cosat-success); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1200px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
}
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 48px; }
    .hero__visual { display: none; }
    .academy-highlight { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .header__nav { display: none; }
    .header__hamburger { display: flex; }
}
@media (max-width: 768px) {
    .container { padding: 0 1rem; }
    .cosat-topbar { display: none; }
    .section { padding: var(--spacing-md) 0; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .cosat-form .form-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-cta__inner { flex-direction: column; text-align: center; }
    .footer-cta__actions { justify-content: center; }
    .footer-bottom__inner { flex-direction: column; text-align: center; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .hero__actions { justify-content: center; }
    .hero__stats { justify-content: center; }
    .header__hamburger { display: flex; }
}
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .hero { min-height: auto; padding: 60px 0; }
    .cosat-sessions-grid { grid-template-columns: 1fr; }
}

/* ---- MOBILE NAV ---- */
@media (max-width: 1024px) {
    .cosat-header.nav-open .header__nav {
        display: flex; flex-direction: column;
        position: fixed; top: 0; right: 0;
        width: 300px; height: 100vh;
        background: var(--cosat-white);
        padding: 80px 24px 32px;
        box-shadow: var(--shadow-xl);
        overflow-y: auto;
        z-index: var(--z-dropdown);
        animation: slideInRight 0.3s ease;
    }
    @keyframes slideInRight { from { transform: translateX(100%); } to { transform: translateX(0); } }
    .nav__list { flex-direction: column; gap: 4px; width: 100%; }
    .nav__dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: var(--cosat-grey-light); border-radius: var(--radius-md); display: none; margin-top: 4px; }
    .nav__item.open .nav__dropdown { display: block; }
    .nav-overlay { display: block; }
}

/* ---- LANG TEXT VISIBILITY ---- */
body.lang-fr .en-text { display: none; }
body.lang-en .fr-text { display: none; }
body:not(.lang-en) .en-text { display: none; }

/* ---- ANIMATIONS ---- */
[data-aos] { transition-property: transform, opacity !important; }
.loading-btn { position: relative; pointer-events: none; }
.loading-btn::after {
    content: ''; position: absolute; right: 16px;
    width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.4);
    border-top-color: white; border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- PRINT ---- */
@media print {
    .cosat-topbar, .cosat-header, .cosat-footer, .scroll-top { display: none; }
}
