/* =============================================
   DEUTSCH SPRACHE RWANDA — Premium Landing Page
   Colors: Black #22201e | Red #fb0d00 | Gold #f3b800
   ============================================= */

:root {
    --black: #22201e;
    --black-soft: #2d2b28;
    --black-light: #3d3a36;
    --red: #fb0d00;
    --red-dark: #c50a00;
    --gold: #f3b800;
    --gold-dark: #c99a00;
    --white: #ffffff;
    --off-white: #faf9f7;
    --gray-100: #f5f4f2;
    --gray-200: #e8e6e2;
    --gray-400: #a09890;
    --gray-600: #6b6460;

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;

    --shadow-sm: 0 2px 8px rgba(34, 32, 30, 0.08);
    --shadow-md: 0 8px 32px rgba(34, 32, 30, 0.12);
    --shadow-lg: 0 20px 60px rgba(34, 32, 30, 0.18);
    --shadow-xl: 0 32px 80px rgba(34, 32, 30, 0.24);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== TYPOGRAPHY HELPERS ===== */
.section-tag {
    display: inline-block;
    background: rgba(243, 184, 0, 0.15);
    color: var(--gold-dark);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    border: 1px solid rgba(243, 184, 0, 0.3);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--black);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
}

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

.highlight-red { color: var(--red); }
.highlight-gold { color: var(--gold-dark); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--red);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(251, 13, 0, 0.35);
}
.btn-primary:hover {
    background: var(--red-dark);
    box-shadow: 0 8px 32px rgba(251, 13, 0, 0.45);
    transform: translateY(-2px);
}

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

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 18px;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: top 0.4s ease;
}

.navbar.scrolled {
    top: 0;
    padding: 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 100px;
    padding: 0.85rem 1.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.navbar.scrolled .nav-container {
    background: rgba(255, 252, 245, 0.97);
    border-color: rgba(243, 184, 0, 0.25);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    border-radius: 0;
    max-width: 100%;
    margin: 0;
    padding: 0.75rem 2.5rem;
}

.navbar.scrolled .nav-links li a {
    color: var(--gold);
}

.navbar.scrolled .nav-links li a:hover {
    color: var(--black);
    background: rgba(243, 184, 0, 0.12);
}

.navbar.scrolled .logo-deutsch {
    color: var(--black);
}

.navbar.scrolled .logo-sub {
    color: var(--red);
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

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

.logo-main {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.logo-deutsch { color: var(--white); }
.logo-sprache { color: var(--gold); }

.logo-sub {
    font-size: 1rem;
    font-weight: 700;
    color: var(--red);
    letter-spacing: 0.01em;
    text-transform: none;
}

/* Nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-links li a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.85rem;
    padding: 8px 15px;
    border-radius: 100px;
    transition: var(--transition);
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.nav-links li a i {
    font-size: 0.75rem;
    opacity: 0.75;
}

.nav-links li a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
}

.nav-cta {
    background: var(--red) !important;
    color: var(--white) !important;
    padding: 9px 22px !important;
    border-radius: 100px !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    box-shadow: 0 4px 16px rgba(251, 13, 0, 0.4) !important;
    margin-left: 4px;
}
.nav-cta:hover {
    background: var(--red-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(251, 13, 0, 0.5) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px 10px;
    border-radius: 100px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
    height: 100vh;
    min-height: 600px;
    background: var(--black);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
    padding: 104px 80px 48px;
    position: relative;
    overflow: hidden;
}

/* --- Slider --- */
.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 50%;
    transform: translateX(100%);
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.hero-slide.active {
    transform: translateX(0);
    animation: zoomSlide 7s ease-in-out forwards;
}

.hero-slide.slide-exit {
    transform: translateX(-100%);
    animation: none;
}

.hero-slide.no-transition {
    transition: none !important;
    animation: none !important;
}

@keyframes zoomSlide {
    0%   { background-size: 100%; }
    100% { background-size: 110%; }
}

/* Dark overlay so text stays readable over any photo */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(105deg, rgba(18,15,13,0.93) 0%, rgba(18,15,13,0.75) 45%, rgba(18,15,13,0.35) 100%),
        linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, transparent 50%, rgba(0,0,0,0.5) 100%);
}

/* --- Slider navigation dots --- */
.slider-dots {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    border: none;
    cursor: pointer;
    transition: all 0.35s ease;
    padding: 0;
}

.slider-dot.active {
    width: 28px;
    border-radius: 4px;
    background: var(--gold);
}

.slider-dot:hover {
    background: rgba(255,255,255,0.7);
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(251, 13, 0, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(243, 184, 0, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.hero-flag-stripe {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    display: flex;
    flex-direction: column;
    z-index: 3;
}

.hero-flag-stripe .stripe {
    flex: 1;
}

/* ---- Hero Content ---- */
.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.85);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    padding: 7px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
    width: fit-content;
    backdrop-filter: blur(8px);
}

.hero-badge i { color: var(--gold); }

/* Title block */
.hero-title-wrap {
    margin-bottom: 20px;
}

.hero-eyebrow {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.hero-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.hero-title .highlight-red {
    color: var(--red);
    position: relative;
    display: inline-block;
}

.hero-title .highlight-red::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red), transparent);
    border-radius: 2px;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(243,184,0,0.85);
    letter-spacing: 0.04em;
}

.hero-tagline i { font-size: 0.78rem; }

.hero-subtitle {
    font-size: 0.88rem;
    font-weight: 400;
    color: rgba(255,255,255,0.55);
    line-height: 1.75;
    max-width: 440px;
    margin-bottom: 32px;
}

/* Buttons */
.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--red);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(251,13,0,0.35);
    border: none;
}
.btn-primary:hover {
    background: var(--red-dark);
    box-shadow: 0 8px 28px rgba(251,13,0,0.45);
    transform: translateY(-2px);
}

.btn-outline {
    background: rgba(255,255,255,0.08);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(8px);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

/* Stats */
.hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 14px 20px;
    backdrop-filter: blur(12px);
    width: fit-content;
}

.stat {
    display: flex;
    flex-direction: column;
    padding: 0 20px;
}

.stat:first-child { padding-left: 0; }
.stat:last-child  { padding-right: 0; }

.stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.62rem;
    color: rgba(255,255,255,0.45);
    font-weight: 500;
    margin-top: 3px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.12);
    flex-shrink: 0;
}

/* ---- Hero Visual ---- */
.hero-visual {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 360px;
}

/* Central card */
.hv-main-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 28px;
    padding: 36px 32px;
    text-align: center;
    color: var(--white);
    width: 280px;
    box-shadow:
        0 8px 32px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,255,255,0.12);
    animation: float-card 5s ease-in-out infinite;
}

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

.hv-main-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--red), #c50a00);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--white);
    margin: 0 auto 16px;
    box-shadow: 0 8px 20px rgba(251,13,0,0.4);
}

.hv-main-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.hv-main-card > p {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.45);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* Level row */
.hv-levels-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.hv-lv {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 5px 9px;
    border-radius: 8px;
    letter-spacing: 0.02em;
}

.hv-lv-a1 { background: rgba(34,197,94,0.18);  color: #4ade80; }
.hv-lv-a2 { background: rgba(34,197,94,0.12);  color: #86efac; }
.hv-lv-b1 { background: rgba(251,13,0,0.25);   color: #fca5a5; border: 1px solid rgba(251,13,0,0.4); }
.hv-lv-b2 { background: rgba(167,139,250,0.15); color: #c4b5fd; }
.hv-lv-c1 { background: rgba(243,184,0,0.18);  color: var(--gold); }

.hv-sep {
    font-size: 0.5rem;
    color: rgba(255,255,255,0.2);
}

/* Floating badges */
.hv-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 16px;
    padding: 12px 16px;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    white-space: nowrap;
}

.hv-badge-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

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

.hv-badge-text strong {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
}

.hv-badge-text span {
    font-size: 0.6rem;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hv-badge-1 {
    top: 20px;
    right: 0px;
    animation: float 4s ease-in-out infinite;
}
.hv-badge-1 .hv-badge-icon { background: rgba(251,13,0,0.2); color: #fca5a5; }

.hv-badge-2 {
    bottom: 30px;
    left: -10px;
    animation: float 4s ease-in-out infinite 1.5s;
}
.hv-badge-2 .hv-badge-icon { background: rgba(243,184,0,0.2); color: var(--gold); }

.hv-badge-3 {
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    animation: float 4s ease-in-out infinite 3s;
}
.hv-badge-3 .hv-badge-icon { background: rgba(99,102,241,0.2); color: #a5b4fc; }

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

.hv-badge-3 {
    animation-name: float-mid;
}

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

.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.4);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid rgba(255,255,255,0.3);
    border-bottom: 2px solid rgba(255,255,255,0.3);
    transform: rotate(45deg);
    animation: bounce-arrow 2s infinite;
}

@keyframes bounce-arrow {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(4px); }
}

/* ===== STRIPE HELPERS ===== */
.stripe { display: block; }
.stripe-black { background: #22201e; }
.stripe-red   { background: #fb0d00; }
.stripe-gold  { background: #f3b800; }

/* ===== ABOUT ===== */
.about {
    padding: 100px 0;
    background: var(--off-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.about-visual {
    position: relative;
    padding-top: 24px;
}

/* Main visual card */
.about-card-main {
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    background: var(--black);
    box-shadow: 0 32px 72px rgba(34,32,30,0.24);
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.about-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(34,32,30,0.72) 0%, rgba(34,32,30,0.15) 55%, transparent 100%);
    pointer-events: none;
}

/* Stats bar */
.about-stats-row {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    background: rgba(34,32,30,0.55);
    border-top: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 22px 36px;
}

.about-stat {
    flex: 1;
    text-align: center;
}

.about-stat-num {
    display: block;
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 5px;
}

.about-stat-label {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.about-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.15);
}

/* Est. chip */
.about-since-chip {
    position: absolute;
    top: 0;
    right: 20px;
    background: var(--gold);
    color: var(--black);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 7px;
    box-shadow: 0 4px 18px rgba(243,184,0,0.4);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* Content side */
.about-desc {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 32px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    background: var(--white);
    border-radius: 16px;
    padding: 18px 16px;
    box-shadow: 0 2px 12px rgba(34,32,30,0.06);
    border: 1px solid rgba(34,32,30,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(34,32,30,0.1);
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.feat-gold { background: rgba(243,184,0,0.13); color: #c49200; }
.feat-red  { background: rgba(251,13,0,0.08);  color: var(--red); }
.feat-dark { background: rgba(34,32,30,0.07);  color: var(--black); }

.feature-item h4 {
    font-weight: 600;
    font-size: 0.87rem;
    color: var(--black);
    margin-bottom: 3px;
    line-height: 1.3;
}

.feature-item p {
    font-size: 0.77rem;
    color: var(--gray-500);
    line-height: 1.45;
}

/* ===== SERVICES ===== */
.services {
    padding: 110px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

/* Decorative soft blobs */
.svc-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(90px);
}
.svc-blob-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(251,13,0,0.07) 0%, transparent 70%);
    top: -160px; left: -120px;
}
.svc-blob-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(243,184,0,0.08) 0%, transparent 70%);
    bottom: -100px; right: -80px;
}

/* Header */
.svc-header { position: relative; z-index: 1; }
.svc-tag { background: rgba(251,13,0,0.07); color: var(--red); border-color: rgba(251,13,0,0.18); }
.svc-title { color: var(--black); }
.svc-subtitle { color: var(--gray-600); }

/* Grid — 2 × 2 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

/* Image card */
.service-card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(34,32,30,0.14);
    transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94), box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 28px 64px rgba(34,32,30,0.22);
}

/* Full-bleed image */
.svc-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}

.service-card:hover .svc-card-img {
    transform: scale(1.07);
}

/* Gradient overlay — heavy at bottom for text legibility */
.svc-card-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top,
            rgba(10, 8, 7, 0.95) 0%,
            rgba(10, 8, 7, 0.65) 45%,
            rgba(10, 8, 7, 0.15) 75%,
            transparent 100%);
    transition: background 0.4s ease;
}

.service-card:hover .svc-card-overlay {
    background:
        linear-gradient(to top,
            rgba(10, 8, 7, 0.98) 0%,
            rgba(10, 8, 7, 0.72) 50%,
            rgba(10, 8, 7, 0.2) 80%,
            transparent 100%);
}

/* Content layer */
.svc-card-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px 28px 32px;
}

/* Top row: chip + number */
.svc-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.svc-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(251,13,0,0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 100px;
    letter-spacing: 0.03em;
    border: 1px solid rgba(255,255,255,0.15);
}

.svc-chip-gold {
    background: rgba(180,134,0,0.85);
}

.svc-num {
    font-size: 1rem;
    font-weight: 800;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.06em;
}

/* Text */
.svc-body { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 18px; }

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.25;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.75;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
}

.service-card:hover p {
    max-height: 120px;
    opacity: 1;
}

/* CTA link */
.svc-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.02em;
    transition: gap 0.25s ease, color 0.25s ease;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 16px;
    width: 100%;
}

.svc-link:hover {
    gap: 14px;
    color: var(--white);
}

/* ===== ONLINE BANNER ===== */
@keyframes imgDrift {
    0%   { transform: scale(1.08) translate(0, 0); }
    25%  { transform: scale(1.1)  translate(-1.5%, -1%); }
    50%  { transform: scale(1.09) translate(1%, -1.5%); }
    75%  { transform: scale(1.1)  translate(-0.5%, 0.5%); }
    100% { transform: scale(1.08) translate(0, 0); }
}

@keyframes tagGlow {
    0%, 100% { box-shadow: 0 0 8px rgba(243,184,0,0.4), 0 0 20px rgba(243,184,0,0.2); }
    50%       { box-shadow: 0 0 18px rgba(243,184,0,0.8), 0 0 40px rgba(243,184,0,0.4), 0 0 60px rgba(243,184,0,0.15); }
}

.online-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 520px;
}

.online-img-wrap {
    position: relative;
    overflow: hidden;
}

.online-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    animation: imgDrift 12s ease-in-out infinite;
    will-change: transform;
}

.online-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 55%, rgba(0,0,0,0.25) 100%);
}

.online-content {
    background: #0a0806;
    padding: 72px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.online-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(243,184,0,0.12);
    color: var(--gold);
    border: 1px solid rgba(243,184,0,0.45);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 100px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    width: fit-content;
    animation: tagGlow 2.8s ease-in-out infinite;
}

.online-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

.online-content p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    max-width: 480px;
}

.online-perks {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    margin: 4px 0;
}

.online-perks li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

.online-perks li i {
    color: var(--gold);
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* ===== COURSES ===== */
.courses {
    padding: 70px 0;
    background: #f0eeec;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 36px;
}

/* ---- Flip card wrapper ---- */
.course-card {
    perspective: 1200px;
    height: 420px;
}

.course-card-featured {
    height: 450px;
}

.course-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.75s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.course-card:hover .course-card-inner {
    transform: rotateY(180deg);
}

.course-card-front,
.course-card-back {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    overflow: hidden;
}

/* ---- Front face ---- */
.course-card-front {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 32px 20px 48px;
    text-align: center;
    position: relative;
}

.cc-front-level {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255,255,255,0.92);
    line-height: 1;
    letter-spacing: -0.03em;
}

.cc-front-icon {
    font-size: 2rem;
    color: rgba(255,255,255,0.45);
}

.cc-front-info h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 5px;
}

.cc-front-info p {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
}

.cc-popular-badge {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(6px);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 100px;
    white-space: nowrap;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255,255,255,0.25);
}

.cc-flip-hint {
    position: absolute;
    bottom: 18px;
    font-size: 0.68rem;
    color: rgba(255,255,255,0.35);
    display: flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.02em;
}

/* ---- Back face ---- */
.course-card-back {
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    padding: 28px 22px 24px;
    gap: 12px;
}

.cc-back-header {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.cc-back-level {
    font-size: 1.6rem;
    font-weight: 900;
    color: rgba(255,255,255,0.95);
    letter-spacing: -0.02em;
    line-height: 1;
}

.cc-back-name {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.cc-highlights {
    list-style: none;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.cc-highlights li {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.75);
    padding-left: 16px;
    position: relative;
    line-height: 1.4;
}

.cc-highlights li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: rgba(255,255,255,0.35);
    font-size: 0.7rem;
}

.cc-price {
    display: flex;
    align-items: baseline;
    gap: 5px;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 12px;
}

.cc-price-amt {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
}

.cc-price-cur {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.55);
    font-weight: 600;
    letter-spacing: 0.06em;
}

.cc-enroll {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 11px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: background 0.2s ease, gap 0.2s ease;
}

.cc-enroll:hover {
    background: rgba(255,255,255,0.25);
    gap: 12px;
}

.cc-enroll-featured {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.35);
}

/* ---- Level colour themes ---- */
.cc-a1 { background: linear-gradient(155deg, #14532d 0%, #166534 60%, #15803d 100%); }
.cc-a2 { background: linear-gradient(155deg, #0c4a6e 0%, #0369a1 60%, #0284c7 100%); }
.cc-b1 { background: linear-gradient(155deg, #451a03 0%, #92400e 55%, #b45309 100%); }
.cc-b2 { background: linear-gradient(155deg, #1e1b4b 0%, #3730a3 55%, #4f46e5 100%); }
.cc-c1 { background: linear-gradient(155deg, #450a0a 0%, #991b1b 55%, #b91c1c 100%); }

/* ---- Info note ---- */
.courses-note {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--white);
    border-radius: 20px;
    padding: 16px 24px;
    border: 1px solid rgba(34,32,30,0.07);
    box-shadow: 0 2px 8px rgba(34,32,30,0.05);
    font-size: 0.78rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.courses-note i {
    color: var(--gold);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ===== WHY US ===== */
.why-us {
    padding: 110px 0;
    background: #0f0d0b;
    position: relative;
    overflow: hidden;
}

/* Giant typographic watermark */
.why-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20vw;
    font-weight: 900;
    color: rgba(255,255,255,0.02);
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: -0.04em;
    user-select: none;
    line-height: 1;
}

/* Ambient glows */
.why-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(100px);
}
.why-glow-1 {
    width: 480px; height: 480px;
    background: radial-gradient(circle, rgba(251,13,0,0.1) 0%, transparent 70%);
    top: -120px; left: -80px;
}
.why-glow-2 {
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(243,184,0,0.08) 0%, transparent 70%);
    bottom: -80px; right: -60px;
}

/* Header */
.why-header { position: relative; z-index: 1; }
.why-tag { background: rgba(243,184,0,0.1); color: var(--gold); border-color: rgba(243,184,0,0.25); }
.why-title { color: var(--white); }
.why-sub { color: rgba(255,255,255,0.4); }

/* Bento grid */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

/* Base card */
.why-card {
    background-color: var(--white);
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    padding: 34px 30px 32px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(34,32,30,0.06);
}

/* White overlay — image shows through moderately */
.why-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.78);
    border-radius: inherit;
    z-index: 0;
}

/* Dark cards get a dark overlay instead */
.why-card-dark::before {
    background: rgba(10, 8, 6, 0.74);
}

/* All direct children sit above the overlay */
.why-card > * {
    position: relative;
    z-index: 1;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 52px rgba(0,0,0,0.22);
}

/* Wide card — spans 2 columns */
.why-card-wide {
    grid-column: span 2;
}

/* Dark card variant */
.why-card-dark {
    background: var(--black);
    border-color: transparent;
}

.why-card-dark h3 { color: var(--white); }
.why-card-dark p  { color: rgba(255,255,255,0.5); }
.why-card-dark .why-num { color: rgba(255,255,255,0.04); }

/* Tag chip inside dark card */
.why-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.08);
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 100px;
    border: 1px solid rgba(243,184,0,0.2);
    letter-spacing: 0.04em;
    width: fit-content;
    margin-top: auto;
}

/* Stat card big number */
.why-card-stat { justify-content: space-between; }

.why-big-stat {
    font-size: 3rem;
    font-weight: 900;
    color: var(--black);
    letter-spacing: -0.04em;
    line-height: 1;
}

.why-big-stat span {
    font-size: 1.8rem;
    color: var(--red);
}

/* Number watermark */
.why-num {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 3.8rem;
    font-weight: 900;
    color: rgba(34,32,30,0.05);
    line-height: 1;
    letter-spacing: -0.03em;
    user-select: none;
}

/* Icon */
.why-icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.why-icon-red  { background: rgba(251,13,0,0.12);  color: #ff5e5e; }
.why-icon-gold { background: rgba(243,184,0,0.14); color: var(--gold); }

.why-card-dark .why-icon-red  { background: rgba(251,13,0,0.18); }
.why-card-dark .why-icon-gold { background: rgba(243,184,0,0.18); }

/* Text block */
.why-card-text { flex: 1; }

.why-card h3 {
    font-size: 1.03rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 8px;
    line-height: 1.3;
}

.why-card p {
    font-size: 0.84rem;
    color: var(--gray-600);
    line-height: 1.75;
}

/* Bottom accent line */
.why-card-line {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(to right, var(--red), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}

.why-card:hover .why-card-line {
    transform: scaleX(1);
}

/* ===== INSTRUCTORS ===== */
.instructors {
    padding: 100px 0;
    background: var(--off-white);
}

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

.instructor-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition);
}

.instructor-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.instructor-card-featured {
    border-color: var(--red);
    box-shadow: var(--shadow-md);
}

.instructor-avatar {
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
}

.avatar-placeholder {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 auto;
}

.av1 { background: linear-gradient(135deg, #fb0d00, #c50a00); }
.av2 { background: linear-gradient(135deg, #22201e, #3d3a36); }
.av3 { background: linear-gradient(135deg, #f3b800, #c99a00); }

.instructor-flag {
    position: absolute;
    bottom: -4px;
    right: -4px;
    font-size: 1.2rem;
    background: var(--white);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.instructor-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 6px;
}

.instructor-role {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 14px;
}

.instructor-card p {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 20px;
}

.instructor-levels {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.level-tag {
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    letter-spacing: 0.05em;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 100px 0;
    background: var(--white);
}

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

.testimonial-card {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    transition: var(--transition);
}

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

.testimonial-card-highlight {
    background: linear-gradient(135deg, var(--black) 0%, var(--black-soft) 100%);
    border-color: transparent;
}

.testimonial-card-highlight p,
.testimonial-card-highlight .testimonial-author strong,
.testimonial-card-highlight .testimonial-author span {
    color: rgba(255,255,255,0.9) !important;
}

.testimonial-stars {
    color: var(--gold);
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.testimonial-card-highlight .testimonial-stars { color: var(--gold); }

.testimonial-card > p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.75;
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red), var(--gold-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--white);
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 0.875rem;
    color: var(--black);
    font-weight: 600;
}

.testimonial-author span {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-top: 2px;
}

/* ===== ENROLL ===== */
.enroll {
    padding: 110px 0;
    background: #0f0d0b;
    position: relative;
    overflow: hidden;
}

/* Background image with overlay */
.enroll-bg {
    position: absolute;
    inset: 0;
    background-image: url('img/hero_image_1.png');
    background-size: cover;
    background-position: center;
    opacity: 0.12;
    pointer-events: none;
}

.enroll-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.45fr;
    gap: 72px;
    align-items: start;
    position: relative;
    z-index: 1;
}

/* === Left info panel === */
.enroll-info { display: flex; flex-direction: column; gap: 28px; }

.enroll-tag {
    background: rgba(243,184,0,0.12);
    color: var(--gold);
    border-color: rgba(243,184,0,0.28);
    width: fit-content;
}

.enroll-title {
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.18;
}

.enroll-desc {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.8;
}

/* Contact items */
.enroll-contacts { display: flex; flex-direction: column; gap: 14px; }

.enroll-contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 14px 18px;
    backdrop-filter: blur(8px);
    transition: background 0.25s ease;
}

.enroll-contact-item:hover { background: rgba(255,255,255,0.09); }

.enroll-contact-icon {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: rgba(251,13,0,0.15);
    color: #ff6b6b;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.enroll-contact-text { display: flex; flex-direction: column; gap: 2px; }
.enroll-contact-label { font-size: 0.68rem; color: rgba(255,255,255,0.38); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.enroll-contact-val   { font-size: 0.88rem; color: rgba(255,255,255,0.85); font-weight: 500; }

/* Trust stats row */
.enroll-trust-row {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 20px 24px;
}

.enroll-trust-stat { flex: 1; text-align: center; }

.etrust-num {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 4px;
}

.etrust-label {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.45);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.enroll-trust-div {
    width: 1px; height: 36px;
    background: rgba(255,255,255,0.12);
}

/* === Form card === */
.enroll-form-wrapper {
    background: var(--white);
    border-radius: 28px;
    box-shadow: 0 32px 80px rgba(0,0,0,0.4);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
}

.enroll-form-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 36px;
    background: var(--black);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.enroll-form-header-icon {
    width: 44px; height: 44px;
    border-radius: 14px;
    background: rgba(243,184,0,0.15);
    color: var(--gold);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.enroll-form-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2px;
}

.enroll-form-header p {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
}

.enroll-form {
    padding: 32px 36px 36px;
}

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

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

/* Label */
.form-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(34,32,30,0.55);
    margin-bottom: 7px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.form-group label i {
    font-size: 0.68rem;
    color: var(--red);
    opacity: 0.7;
}

.req { color: var(--red); font-size: 0.85rem; }
.opt { font-weight: 500; text-transform: none; letter-spacing: 0; font-size: 0.75rem; color: rgba(34,32,30,0.35); }

/* Input wrapper */
.input-wrap { position: relative; }

/* Inputs & selects */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    background: #f6f4f2;
    border: 2px solid transparent;
    border-radius: 14px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--black);
    transition: all 0.25s ease;
    outline: none;
    appearance: none;
}

.form-group input:hover,
.form-group select:hover {
    background: #f0eeeb;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background: var(--white);
    border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(251,13,0,0.07);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(34,32,30,0.28);
}

/* Select chevron */
.form-group select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23fb0d00' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px;
    padding-right: 38px;
    cursor: pointer;
}

/* Textarea */
.form-group textarea {
    resize: none;
    min-height: 82px;
    border-radius: 14px;
}

/* Checkbox */
.form-terms { margin-bottom: 20px; }

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.8rem;
    color: var(--gray-600);
    line-height: 1.55;
    background: #f6f4f2;
    padding: 14px 16px;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.checkbox-label:has(input:checked) {
    border-color: rgba(22,163,74,0.35);
    background: rgba(22,163,74,0.04);
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 1px;
    accent-color: #16a34a;
    flex-shrink: 0;
    cursor: pointer;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #fb0d00 0%, #c40a00 100%);
    color: var(--white);
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.95rem;
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 28px rgba(251,13,0,0.35);
    letter-spacing: 0.03em;
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(251,13,0,0.45);
}

.btn-submit:active { transform: translateY(0); }

.btn-submit svg {
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.btn-submit:hover svg { transform: translateX(5px); }

/* Note */
.form-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-align: center;
    font-size: 0.78rem;
    color: rgba(34,32,30,0.45);
    margin-top: 14px;
}

.form-note i { color: #16a34a; font-size: 0.82rem; }

/* ===== FOOTER ===== */
.footer {
    background: #080706;
    color: var(--white);
}

/* CTA Strip */
.footer-cta-strip {
    background: linear-gradient(135deg, rgba(243,184,0,0.10) 0%, rgba(251,13,0,0.07) 100%);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 28px 0;
}

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

.footer-cta-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-cta-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(243,184,0,0.14);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.footer-cta-heading {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 3px;
}

.footer-cta-sub {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.45);
}

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 30px;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    color: var(--white);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.88rem;
    white-space: nowrap;
    transition: all 0.25s ease;
    box-shadow: 0 6px 24px rgba(251,13,0,0.28);
}

.footer-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(251,13,0,0.4);
}

.footer-cta-btn i { transition: transform 0.25s ease; }
.footer-cta-btn:hover i { transform: translateX(4px); }

/* German flag stripe */
.footer-flag {
    display: flex;
    height: 3px;
}

.footer-flag .stripe { flex: 1; }

/* Main body */
.footer-body { padding: 72px 0 56px; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
    gap: 52px;
    align-items: start;
}

/* Brand column */
.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    text-decoration: none;
}

.footer-logo-img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.footer-logo-name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.01em;
}

.footer-logo-sub {
    font-size: 0.68rem;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-brand-desc {
    font-size: 0.83rem;
    color: rgba(255,255,255,0.42);
    line-height: 1.8;
    max-width: 270px;
    margin-bottom: 22px;
}

/* Social icons */
.footer-socials {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.fsoc {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.09);
    transition: all 0.22s ease;
}

.fsoc:hover { transform: translateY(-3px); }
.fsoc-fb:hover  { background: #1877f2; border-color: #1877f2; color: #fff; }
.fsoc-ig:hover  { background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af); border-color: transparent; color: #fff; }
.fsoc-x:hover   { background: #000; border-color: #333; color: #fff; }
.fsoc-wa:hover  { background: #25d366; border-color: #25d366; color: #fff; }

/* Location chip */
.footer-location-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.45);
}

.footer-location-chip i { color: var(--red); font-size: 0.72rem; }

/* Column titles */
.footer-col-title {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* Footer links */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-links li a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 0.84rem;
    color: rgba(255,255,255,0.48);
    transition: all 0.2s ease;
}

.footer-links li a:hover {
    background: rgba(255,255,255,0.05);
    color: var(--gold);
    padding-left: 14px;
}

.footer-links li a i {
    font-size: 0.7rem;
    opacity: 0.5;
    width: 14px;
    flex-shrink: 0;
}

/* Course level tags */
.flevel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 18px;
    background: rgba(255,255,255,0.07);
    border-radius: 5px;
    font-size: 0.62rem;
    font-weight: 800;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.flevel-hot {
    background: rgba(243,184,0,0.16);
    color: var(--gold);
}

/* Contact list */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.65;
}

.footer-contact-list li a {
    color: rgba(255,255,255,0.45);
    transition: color 0.2s ease;
}

.footer-contact-list li a:hover { color: var(--gold); }

.fcontact-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Bottom bar */
.footer-bottom {
    background: rgba(0,0,0,0.35);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 20px 0;
}

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

.footer-copy {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.25);
}

/* Mini flag in bottom bar */
.footer-bottom-flag {
    display: flex;
    height: 16px;
    width: 36px;
    border-radius: 3px;
    overflow: hidden;
    flex-shrink: 0;
}

.fbs { flex: 1; }
.fbs-black { background: #1a1a1a; }
.fbs-red   { background: var(--red); }
.fbs-gold  { background: var(--gold); }

.footer-tag {
    font-size: 0.78rem;
    font-style: italic;
    color: rgba(243,184,0,0.45);
}

/* ===== ENROLLMENT MODAL ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(10, 8, 6, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: var(--white);
    border-radius: 28px;
    width: 100%;
    max-width: 660px;
    max-height: 92vh;
    overflow-y: auto;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255,255,255,0.06);
    transform: scale(0.93) translateY(28px);
    transition: transform 0.38s cubic-bezier(0.34, 1.46, 0.64, 1);
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: rgba(34,32,30,0.15) transparent;
}

.modal-overlay.open .modal-box {
    transform: scale(1) translateY(0);
}

.modal-box::-webkit-scrollbar { width: 5px; }
.modal-box::-webkit-scrollbar-track { background: transparent; }
.modal-box::-webkit-scrollbar-thumb { background: rgba(34,32,30,0.15); border-radius: 99px; }

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 30px;
    background: var(--black);
    border-radius: 28px 28px 0 0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.modal-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.modal-header-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(243, 184, 0, 0.15);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.modal-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2px;
}

.modal-header p {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.4);
}

.modal-close {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.modal-close:hover {
    background: rgba(251, 13, 0, 0.22);
    border-color: rgba(251, 13, 0, 0.35);
    color: #ff6b6b;
    transform: scale(1.08);
}

.modal-body {
    padding: 32px 30px 36px;
}

@media (max-width: 640px) {
    .modal-box { border-radius: 20px; }
    .modal-header { border-radius: 20px 20px 0 0; padding: 20px; }
    .modal-body { padding: 24px 20px 28px; }
}

/* ===== ANIMATIONS ON SCROLL ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero {
        padding: 100px 40px 40px;
        gap: 32px;
    }
}

@media (max-width: 900px) {
    .hero {
        height: auto;
        min-height: 100vh;
        grid-template-columns: 1fr;
        padding: 100px 24px 48px;
        text-align: center;
    }

    .hero-visual { display: none; }
    .hero-stats { width: 100%; justify-content: center; }
    .hero-title-wrap { text-align: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }

    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-scroll-hint { display: none; }

    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .why-card-wide { grid-column: span 2; }
    .online-banner { grid-template-columns: 1fr; }
    .online-img-wrap { min-height: 280px; }
    .online-content { padding: 48px 32px; }
    .online-content h2 { font-size: 1.7rem; }
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-features { grid-template-columns: 1fr; }
    .about-card-headline { font-size: 1.25rem; }
    .services-grid { grid-template-columns: 1fr; gap: 16px; }
    .about-since-chip { font-size: 0.72rem; }

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

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

    .enroll-wrapper { grid-template-columns: 1fr; gap: 48px; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .footer-cta-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 640px) {
    .services-grid { grid-template-columns: 1fr; }
    .navbar .nav-links { display: none; }
    .navbar .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        align-items: center;
        justify-content: center;
        gap: 28px;
        z-index: 999;
    }
    .navbar .nav-links.open li a {
        font-size: 1.4rem;
        color: var(--black);
        font-weight: 600;
        padding: 12px 32px;
        border-radius: 14px;
    }
    .navbar .nav-links.open li a:hover {
        background: rgba(34,32,30,0.06);
    }
    .nav-toggle { display: flex; z-index: 1000; }

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

    .courses-grid { grid-template-columns: 1fr; }
    .course-card-featured { transform: none; }

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

    .enroll-form { padding: 28px 20px; }
    .form-row { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom-inner { flex-direction: column; text-align: center; gap: 12px; }
    .footer-brand-desc { max-width: 100%; }
}
