/* ============================================================
   CALL ACADEMY CENTER - Modern Premium Redesign
   Complete Unified Stylesheet
   All pages: Index, Formations, Anglais, Alibaba, Cabinet, 404
   ============================================================ */

/* ----------------------------------------------------------
   1. CSS VARIABLES (ROOT)
   ---------------------------------------------------------- */
:root {
    --primary: #0D1B3E;
    --accent: #E31E24;
    --accent-dark: #C41A1F;
    --accent-light: #FEE2E2;
    --blue: #1A3C7A;
    --blue-dark: #0F2752;
    --blue-light: #2456A0;
    --blue-50: #EBF0F9;
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --whatsapp: #25D366;
    --font-display: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50px;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul,
ol {
    list-style: none;
}

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

/* Ensure Font Awesome icons render properly */
.fas, .fab, .far, .fal, .fad,
.fa-solid, .fa-brands, .fa-regular {
    display: inline-block !important;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    line-height: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

/* ----------------------------------------------------------
   3. UTILITIES
   ---------------------------------------------------------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    background: var(--accent-light);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
}

.section-badge.blue {
    color: var(--blue);
    background: var(--blue-50);
}

.gradient-text {
    background: linear-gradient(135deg, var(--blue), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ----------------------------------------------------------
   4. NAVIGATION
   ---------------------------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar .logo img {
    height: 50px;
    transition: height 0.3s ease;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-links a {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 60%;
}

.nav-links a.active {
    color: var(--white);
    font-weight: 700;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
}

.nav-links a.active::after {
    width: 60%;
    background: var(--white);
}

.nav-featured {
    font-weight: 600 !important;
}

.nav-cta {
    background: var(--accent) !important;
    color: var(--white) !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: var(--radius-full) !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(227, 30, 36, 0.3);
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--accent-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 30, 36, 0.4) !important;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    padding: 0.6rem 0;
}

.navbar.scrolled .nav-links a {
    color: var(--gray-600);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--blue);
}

.navbar.scrolled .nav-links a.active {
    color: var(--accent);
    background: rgba(227, 30, 36, 0.08);
}

.navbar.scrolled .nav-cta {
    color: var(--white) !important;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.navbar.scrolled .mobile-menu-btn span {
    background: var(--primary);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ----------------------------------------------------------
   5. HERO (Homepage)
   ---------------------------------------------------------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 60%, var(--primary) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(227, 30, 36, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(36, 86, 160, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-badge .pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero-text h1 {
    font-size: 3.75rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-text h1 .highlight {
    color: var(--accent);
    position: relative;
}

.hero-text h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
    opacity: 0.4;
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.featured-formation {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.featured-formation:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.featured-formation .formation-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.featured-formation .formation-text {
    flex: 1;
}

.featured-formation .formation-text strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

.featured-formation .formation-text span {
    font-size: 0.85rem;
    opacity: 0.8;
}

.featured-formation .formation-arrow {
    font-size: 1.25rem;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.featured-formation:hover .formation-arrow {
    opacity: 1;
    transform: translateX(5px);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    width: 100%;
    max-width: 380px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    padding: 0.5rem 1.25rem;
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    animation: float 6s ease-in-out infinite;
}

.floating-badge:nth-child(2) {
    top: -10px;
    right: -20px;
    animation-delay: 0s;
}

.floating-badge:nth-child(3) {
    bottom: -10px;
    left: -30px;
    animation-delay: 3s;
}

/* ----------------------------------------------------------
   6. BUTTONS
   ---------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    line-height: 1.4;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(227, 30, 36, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(227, 30, 36, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

.btn-blue {
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(26, 60, 122, 0.3);
}

.btn-blue:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 60, 122, 0.4);
}

.btn-whatsapp {
    background: linear-gradient(135deg, var(--whatsapp), #20BD5A);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--blue);
    border: 2px solid var(--blue);
}

.btn-outline:hover {
    background: var(--blue);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 60, 122, 0.3);
}

.btn-card {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(26, 60, 122, 0.2);
}

.btn-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 60, 122, 0.35);
}

.btn-full {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.btn-submit {
    width: 100%;
    margin-top: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(227, 30, 36, 0.3);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(227, 30, 36, 0.4);
}

/* ----------------------------------------------------------
   7. SECTIONS
   ---------------------------------------------------------- */
section {
    padding: 7rem 0;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 4rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--blue);
    margin-bottom: 1rem;
    line-height: 1.15;
}

.section-subtitle {
    color: var(--gray-500);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* ----------------------------------------------------------
   8. FORMATIONS GRID (Homepage)
   ---------------------------------------------------------- */
.formations {
    background: var(--gray-50);
}

.formations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.formation-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--gray-200);
}

.formation-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--blue);
}

.formation-card.featured {
    border: 2px solid var(--accent);
    position: relative;
}

.formation-card-header {
    padding: 2rem;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.formation-card:nth-child(1) .formation-card-header {
    background: linear-gradient(135deg, #1A3C7A, #0F2752);
}

.formation-card:nth-child(2) .formation-card-header {
    background: linear-gradient(135deg, #1A3C7A, #2456A0);
}

.formation-card:nth-child(3) .formation-card-header {
    background: linear-gradient(135deg, #0F2752, #1A3C7A);
}

.formation-card:nth-child(4) .formation-card-header {
    background: linear-gradient(135deg, #2456A0, #1A3C7A);
}

.formation-card-header .card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.formation-card-header h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.formation-card-header p {
    font-size: 0.85rem;
    opacity: 0.85;
}

.formation-card-body {
    padding: 2rem;
}

.formation-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.formation-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.formation-features li i {
    color: var(--blue);
    margin-top: 3px;
    flex-shrink: 0;
    font-size: 0.8rem;
}

.formation-card-body .btn-card {
    display: inline-flex;
}

/* ----------------------------------------------------------
   9. WHY-US SECTION
   ---------------------------------------------------------- */
.why-us {
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.why-card {
    text-align: center;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    background: var(--white);
    border: 1px solid var(--gray-100);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.why-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: var(--blue-50);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--blue);
    margin: 0 auto 1.5rem;
    transition: all 0.4s ease;
}

.why-card:hover .why-icon {
    background: var(--accent);
    color: var(--white);
}

.why-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.why-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ----------------------------------------------------------
   10. CTA SECTION
   ---------------------------------------------------------- */
.cta-section {
    padding: 5rem 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    border-radius: var(--radius-xl);
    padding: 5rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(227, 30, 36, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-box::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(36, 86, 160, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-box h2 {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
    margin: 0 auto 2.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

/* ----------------------------------------------------------
   11. CONTACT SECTION
   ---------------------------------------------------------- */
.contact {
    background: var(--gray-50);
    padding: 7rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--blue);
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--gray-500);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--blue-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    flex-shrink: 0;
    font-size: 1.1rem;
}

.contact-item-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.contact-item-text p,
.contact-item-text a {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.5;
}

.contact-item-text a:hover {
    color: var(--blue);
}

.whatsapp-contact {
    margin-top: 2rem;
    background: rgba(37, 211, 102, 0.08);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--whatsapp);
}

.whatsapp-contact h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.whatsapp-contact p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.contact-form-container {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border-radius: var(--radius);
    border: 1.5px solid var(--gray-200);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--primary);
    background: var(--white);
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(26, 60, 122, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

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

.form-status {
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    display: none;
}

.form-status.active {
    display: block;
}

.form-status.success {
    display: block;
    background: #F0FDF4;
    color: #166534;
    border: 1px solid #86EFAC;
}

.form-status.error {
    display: block;
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FCA5A5;
}

/* ----------------------------------------------------------
   12. FLOATING BUTTONS
   ---------------------------------------------------------- */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    text-decoration: none;
}

.floating-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 70px;
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    transform: translateX(10px);
}

.floating-btn:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.floating-btn:hover {
    transform: scale(1.1) translateY(-3px);
}

.floating-btn.whatsapp {
    background: linear-gradient(135deg, var(--whatsapp), #20BD5A);
}

.floating-btn.share {
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
}

.floating-btn.call {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.share-menu {
    position: absolute;
    bottom: 65px;
    right: 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 0.75rem;
    box-shadow: var(--shadow-xl);
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 180px;
    border: 1px solid var(--gray-100);
}

.share-menu.active {
    display: flex;
}

.share-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 10px;
    color: var(--gray-600);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.share-menu a:hover {
    background: var(--gray-50);
    color: var(--accent);
}

.share-menu a i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
}

/* ----------------------------------------------------------
   13. FOOTER
   ---------------------------------------------------------- */
.footer {
    background: linear-gradient(135deg, var(--primary), var(--blue-dark));
    color: var(--white);
    padding: 5rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo img {
    height: 55px;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.footer-brand p,
.footer-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.footer-social a i {
    font-size: 1rem;
    line-height: 1;
}

.footer-column h4,
.footer-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--white);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

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

.footer-links li {
    display: flex;
    align-items: center;
}

.footer-links span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links span i {
    color: var(--accent);
    font-size: 0.75rem;
}

.footer-bottom {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--white);
}

/* ----------------------------------------------------------
   14. PAGE HERO (Sub-pages)
   ---------------------------------------------------------- */
.page-hero {
    padding: 10rem 0 5rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(227, 30, 36, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(36, 86, 160, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.page-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.page-hero-text h1 {
    font-size: 3.25rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.page-hero-text p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.page-hero-stats,
.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.hero-stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.hero-features {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.hero-feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-icon-box {
    width: 280px;
    height: 280px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.5);
    animation: float 6s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.08);
}



/* ----------------------------------------------------------
   15. FORMATION CARDS (Sub-pages)
   ---------------------------------------------------------- */
.formations-section {
    padding: 6rem 0;
}

.formations-grid-sub {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.formation-card-detail {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.formation-card-detail:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.formation-card-detail .card-header {
    padding: 2rem;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: var(--white);
    position: relative;
}

.formation-badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.formation-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.formation-card-detail .card-header h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.formation-card-detail .card-header p {
    font-size: 0.9rem;
    opacity: 0.85;
}

.formation-card-detail .card-body {
    padding: 2rem;
}

.formation-card-detail .formation-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.formation-card-detail .formation-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.formation-card-detail .formation-features li i {
    color: var(--blue);
    margin-top: 3px;
    flex-shrink: 0;
    font-size: 0.8rem;
}

.formation-duration {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-100);
    font-size: 0.9rem;
    color: var(--gray-500);
}

.formation-duration i {
    color: var(--blue);
}

/* ----------------------------------------------------------
   16. PROGRAMME SECTION
   ---------------------------------------------------------- */
.programme-section {
    background: var(--gray-50);
}

.programme-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.programme-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-100);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.programme-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.programme-card-number {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--blue-50);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.programme-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.programme-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ----------------------------------------------------------
   17. LEVELS SECTION (Anglais page)
   ---------------------------------------------------------- */
.levels-section {
    padding: 6rem 0;
}

.levels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.level-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.level-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 0;
    background: var(--accent);
    transition: width 0.4s ease;
    z-index: 3;
}

.level-card:hover::before {
    width: 100%;
}

.level-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.level-header {
    padding: 2rem;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: var(--white);
    text-align: center;
}

.level-badge {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
    color: var(--white);
}

.level-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.level-header p {
    font-size: 0.85rem;
    opacity: 0.8;
}

.level-body {
    padding: 2rem;
}

.level-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.level-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.level-features li i {
    color: var(--blue);
    margin-top: 3px;
    flex-shrink: 0;
    font-size: 0.8rem;
}

.level-body .btn {
    width: 100%;
    justify-content: center;
}

/* ----------------------------------------------------------
   18. WHY LEARN SECTION (Anglais page)
   ---------------------------------------------------------- */
.why-section {
    background: var(--gray-50);
}

.why-section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-visual {
    position: relative;
}

.why-image {
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    border-radius: var(--radius-xl);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.why-image::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -20%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(227, 30, 36, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 1rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.floating-card:nth-child(2) {
    top: 10%;
    right: -15%;
    animation-delay: 0s;
}

.floating-card:nth-child(3) {
    bottom: 10%;
    left: -10%;
    animation-delay: 3s;
}

.floating-card .card-stat {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--blue);
}

.floating-card .card-label {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.why-content {
    display: flex;
    flex-direction: column;
}

.why-content h2 {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--blue);
    margin-bottom: 1rem;
}

.why-content > p {
    color: var(--gray-500);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.why-item {
    display: flex;
    gap: 1rem;
}

.why-item-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--blue-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    flex-shrink: 0;
    font-size: 1.1rem;
}

.why-item h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--primary);
}

.why-item p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ----------------------------------------------------------
   19. TIMELINE (Alibaba page)
   ---------------------------------------------------------- */
.programme-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.programme-step {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-100);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.programme-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
}

.step-icon {
    font-size: 2.5rem;
    color: var(--blue);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.programme-step h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.programme-step p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ----------------------------------------------------------
   20. FEATURES GRID (Alibaba page)
   ---------------------------------------------------------- */
.features-section {
    background: var(--gray-50);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--white);
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--gray-100);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--blue-50);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--blue);
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    background: var(--blue);
    color: var(--white);
}

.feature-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 0.5rem;
    line-height: 1.5;
}

/* ----------------------------------------------------------
   21. TESTIMONIALS (Alibaba page)
   ---------------------------------------------------------- */
.testimonials-section {
    padding: 6rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-100);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.testimonial-stars {
    color: #F59E0B;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--gray-600);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.author-info .author-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary);
}

.author-info .author-role {
    font-size: 0.85rem;
    color: var(--gray-400);
}

/* ----------------------------------------------------------
   22. SERVICES (Cabinet page)
   ---------------------------------------------------------- */
.services-overview {
    background: var(--gray-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
}

.service-card-mini {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--gray-100);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.service-card-mini:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--blue);
}

.service-card-mini.active {
    border-color: var(--blue);
    box-shadow: var(--shadow);
}

.service-icon-mini {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--blue-50);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--blue);
    transition: all 0.4s ease;
}

.service-card-mini:hover .service-icon-mini {
    background: var(--blue);
    color: var(--white);
}

.service-card-mini h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--blue);
}

.service-detail {
    padding: 5rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.service-detail:nth-child(even) {
    background: var(--gray-50);
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.service-detail:nth-child(even) .service-detail-content {
    direction: rtl;
}

.service-detail:nth-child(even) .service-detail-content > * {
    direction: ltr;
}

.service-detail-visual {
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    border-radius: var(--radius-xl);
    padding: 3rem;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.service-detail-visual::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.service-detail-icon {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.5);
}

.service-detail-text h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--blue);
    margin-bottom: 1rem;
}

.service-detail-text > p {
    color: var(--gray-500);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.service-feature {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--white);
    border-radius: 10px;
    transition: all 0.3s ease;
    align-items: flex-start;
}

.service-detail:nth-child(even) .service-feature {
    background: var(--gray-50);
}

.service-feature:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

.service-feature i {
    color: var(--accent);
    margin-top: 3px;
    flex-shrink: 0;
}

.service-feature span {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.5;
}

/* ----------------------------------------------------------
   23. ERROR PAGE (404)
   ---------------------------------------------------------- */
.error-page {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.error-code {
    font-family: var(--font-display);
    font-size: 8rem;
    font-weight: 900;
    color: var(--blue);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.error-page h1 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--blue);
}

.error-page p {
    color: var(--gray-500);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    max-width: 450px;
    line-height: 1.7;
}

/* ----------------------------------------------------------
   24. ANIMATIONS
   ---------------------------------------------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ----------------------------------------------------------
   25. RESPONSIVE - 1024px
   ---------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        display: none;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .featured-formation {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 2rem;
    }

    .page-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .page-hero-visual {
        display: none;
    }

    .page-hero-stats,
    .hero-stats {
        justify-content: center;
    }

    .hero-features {
        justify-content: center;
    }

    .formations-grid,
    .formations-grid-sub {
        grid-template-columns: 1fr;
    }

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

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

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

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

    .service-detail-content {
        grid-template-columns: 1fr;
    }

    .service-detail:nth-child(even) .service-detail-content {
        direction: ltr;
    }

    .service-detail-visual {
        display: none;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
    }

    .why-section-grid {
        grid-template-columns: 1fr;
    }

    .why-visual {
        order: -1;
    }
}

/* ----------------------------------------------------------
   26. RESPONSIVE - 768px
   ---------------------------------------------------------- */
@media (max-width: 768px) {
    /* Navbar becomes a two-row layout: logo on top, links below */
    .navbar .container {
        flex-wrap: wrap;
        padding: 0 0.75rem;
    }

    .navbar {
        padding: 0.5rem 0 0;
    }

    .navbar.scrolled {
        padding: 0.4rem 0 0;
    }

    /* Nav links as horizontal scrollable bar */
    .nav-links {
        order: 3;
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0.5rem 0;
        margin: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar.scrolled .nav-links {
        border-top: 1px solid rgba(0, 0, 0, 0.06);
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-links li {
        flex-shrink: 0;
    }

    .nav-links a {
        font-size: 0.75rem;
        padding: 0.35rem 0.65rem;
        white-space: nowrap;
    }

    .nav-links a::after {
        bottom: -2px;
    }

    .nav-cta {
        padding: 0.35rem 0.85rem !important;
        font-size: 0.75rem !important;
    }

    /* Hide hamburger button - no longer needed */
    .mobile-menu-btn {
        display: none !important;
    }

    .hero h1,
    .hero-text h1 {
        font-size: 2.5rem;
    }

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

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

    section {
        padding: 4rem 0;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-hero {
        padding: 9rem 0 4rem;
    }

    .page-hero-text h1 {
        font-size: 2.25rem;
    }

    .hero-features {
        justify-content: center;
    }

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

    .programme-grid,
    .programme-timeline {
        grid-template-columns: 1fr;
    }

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

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

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

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

    .service-features {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links a {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .floating-btn::before {
        display: none;
    }

    .cta-box {
        padding: 3rem 1.5rem;
    }

    .cta-box h2 {
        font-size: 1.75rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

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

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

    .contact-form-container {
        padding: 1.5rem;
    }

    .page-hero-stats,
    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .hero-stat-number {
        font-size: 2rem;
    }

    .why-image {
        min-height: 280px;
        font-size: 5rem;
    }

    .floating-card {
        display: none;
    }

    .share-menu {
        right: auto;
        left: -130px;
    }
}

/* ----------------------------------------------------------
   27. RESPONSIVE - 480px
   ---------------------------------------------------------- */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero h1,
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .page-hero-text h1 {
        font-size: 1.85rem;
    }

    .page-hero-text p {
        font-size: 1rem;
    }

    .hero-stats,
    .page-hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

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

    .service-card-mini {
        padding: 1rem;
    }

    .service-card-mini h3 {
        font-size: 0.8rem;
    }

    .service-icon-mini {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }

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

    .feature-card {
        padding: 1.25rem;
    }

    .cta-box {
        padding: 2.5rem 1.25rem;
    }

    .cta-box h2 {
        font-size: 1.5rem;
    }

    .cta-box p {
        font-size: 0.95rem;
    }

    .contact-info h2 {
        font-size: 1.75rem;
    }

    .error-code {
        font-size: 5rem;
    }

    .error-page h1 {
        font-size: 1.5rem;
    }

    .floating-buttons {
        bottom: 20px;
        right: 15px;
        gap: 10px;
    }

    .floating-btn {
        width: 46px;
        height: 46px;
        font-size: 1.1rem;
    }

    .formation-card-header {
        padding: 1.5rem;
        min-height: 150px;
    }

    .formation-card-body {
        padding: 1.5rem;
    }

    .why-card {
        padding: 1.75rem;
    }

    .programme-card {
        padding: 1.5rem;
    }

    .programme-step {
        padding: 1.5rem;
    }

    .level-header {
        padding: 1.5rem;
    }

    .level-body {
        padding: 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .navbar .logo img {
        height: 40px;
    }

    .hero-badge {
        font-size: 0.8rem;
    }

    .btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.9rem;
    }

    .btn-card {
        padding: 0.65rem 1.25rem;
        font-size: 0.825rem;
    }

    .nav-links a {
        font-size: 0.7rem !important;
        padding: 0.3rem 0.5rem;
    }

    .nav-cta {
        padding: 0.3rem 0.7rem !important;
        font-size: 0.7rem !important;
    }
}

/* ----------------------------------------------------------
   28. PRINT STYLES
   ---------------------------------------------------------- */
@media print {
    .navbar,
    .floating-buttons,
    .cta-section,
    .footer {
        display: none;
    }

    .hero,
    .page-hero {
        min-height: auto;
        padding: 2rem 0;
        background: var(--white) !important;
        color: var(--primary) !important;
    }

    .hero-text h1,
    .page-hero-text h1 {
        color: var(--primary) !important;
    }

    section {
        padding: 2rem 0;
    }

    body {
        font-size: 12pt;
    }
}
