/* ============================================
   TTQ Diploma - Custom Styles
   ============================================ */

/* Bootstrap 5 custom ratio for vertical videos (9:16 shorts) */
.ratio-9x16 {
    --bs-aspect-ratio: 177.78%;
}

/* ---- CSS Variables ---- */
:root {
    --primary: #1a6b4a;
    --primary-light: #2d9a6e;
    --primary-dark: #0e4a32;
    --accent: #d4af37;
    --accent-light: #f0d060;
    --secondary: #1b2a4a;
    --secondary-light: #2a3f6e;
    --dark: #0d1117;
    --dark-card: #151c28;
    --dark-surface: #1a2332;
    --text: #e8edf5;
    --text-muted: #8b95a8;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, #e8c84a 100%);
    --gradient-dark: linear-gradient(180deg, var(--dark) 0%, var(--secondary) 100%);
    --gradient-hero: linear-gradient(135deg, #0d1117 0%, #122035 40%, #0e3a28 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.4);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 30px rgba(26,107,74,0.3);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --font-main: 'Alexandria', sans-serif;
    --font-amiri: 'Amiri', serif;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-main);
    background: var(--dark);
    color: var(--text);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--primary);
    color: white;
}

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

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

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--dark);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* ============================================
   LOADER
   ============================================ */
#loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
#loader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.loader-content {
    text-align: center;
}
.loader-logo-text {
    font-size: 4rem;
    font-weight: 900;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 4px;
    animation: loaderPulse 1.5s ease-in-out infinite;
}
.loader-sub {
    font-size: 1rem;
    color: var(--text-muted);
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-top: -5px;
}
.loader-spinner {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 24px;
}
.loader-spinner span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: loaderBounce 1s ease-in-out infinite;
}
.loader-spinner span:nth-child(2) { animation-delay: 0.2s; }
.loader-spinner span:nth-child(3) { animation-delay: 0.4s; }

@keyframes loaderPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
@keyframes loaderBounce {
    0%, 80%, 100% { transform: scale(0.5); opacity: 0.3; }
    40% { transform: scale(1.2); opacity: 1; }
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    padding: 12px 0;
    background: transparent;
    transition: var(--transition);
    z-index: 1000;
}
.navbar.scrolled {
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
    padding: 8px 0;
}
.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
}
.brand-ttq {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.brand-diploma {
    color: var(--text);
    font-weight: 400;
    font-size: 1rem;
}
.navbar-toggler {
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    padding: 4px 8px;
}
.navbar-toggler:focus {
    box-shadow: none;
}
.nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 16px !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.nav-link:hover,
.nav-link.active {
    color: var(--accent) !important;
    background: rgba(212, 175, 55, 0.08);
}
.btn-cta-nav {
    background: var(--gradient-primary);
    color: white !important;
    border: none;
    border-radius: var(--radius-xl);
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}
.btn-cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: white !important;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    background: var(--gradient-hero);
    overflow: hidden;
    min-height: 100vh;
    padding-top: 80px;
}
.hero-bg-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.hero-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
}
.hero-circle-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -100px;
    animation: floatSlow 15s ease-in-out infinite;
}
.hero-circle-2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: -100px;
    left: -100px;
    animation: floatSlow 12s ease-in-out infinite reverse;
}
.hero-circle-3 {
    width: 300px;
    height: 300px;
    background: var(--secondary-light);
    top: 50%;
    left: 50%;
    animation: floatSlow 18s ease-in-out infinite;
}
.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}
@keyframes floatSlow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: var(--accent);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease;
}
.hero-badge-pill i {
    font-size: 1rem;
}

.hero-main-title {
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.6;
    margin-bottom: 20px;
    animation: fadeInRight 0.8s ease 0.2s both;
}

.crossed-text {
    position: relative;
    display: inline-block;
    color: #ff6b6b;
    padding: 0 8px;
}
.x-mark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: #ff3333;
    font-weight: 900;
    opacity: 0.7;
    pointer-events: none;
    text-shadow: 0 0 20px rgba(255, 51, 51, 0.5);
    animation: xPulse 2s ease-in-out infinite;
}
@keyframes xPulse {
    0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}
.crossed-text::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -5px;
    right: -5px;
    height: 3px;
    background: #ff3333;
    transform: rotate(-5deg);
    border-radius: 2px;
}

.glow-text {
    background: linear-gradient(135deg, var(--accent-light), var(--accent), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-hours-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(26, 107, 74, 0.15);
    border: 1px solid rgba(26, 107, 74, 0.3);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    margin-bottom: 20px;
    animation: fadeInRight 0.8s ease 0.4s both;
}
.hours-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}
.hours-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent);
    margin-left: 4px;
}
.hours-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.hero-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 20px;
    animation: fadeInRight 0.8s ease 0.5s both;
}

.hero-stats-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    animation: fadeInRight 0.8s ease 0.6s both;
}
.hero-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}
.hero-stat i {
    color: var(--accent);
    font-size: 1.1rem;
}
.hero-stat-divider {
    width: 1px;
    height: 20px;
    background: rgba(255,255,255,0.15);
}

/* CTA Button */
.btn-cta-hero {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-accent);
    color: var(--dark) !important;
    border: none;
    border-radius: var(--radius-xl);
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 700;
    overflow: hidden;
    transition: var(--transition);
    animation: fadeInUp 0.8s ease 0.7s both;
}
.btn-cta-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.4);
    color: var(--dark) !important;
}
.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shine 3s ease-in-out infinite;
}
@keyframes shine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.pulse-animation {
    animation: pulseBtn 2s ease-in-out infinite;
}
@keyframes pulseBtn {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
}

/* Hero Trainer Card */
.hero-trainer-card {
    position: relative;
    text-align: center;
    animation: fadeInLeft 1s ease 0.3s both;
}
.trainer-photo-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 16px;
}
.trainer-photo {
    width: 260px;
    height: 260px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--accent);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
}
.photo-border-glow {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.2);
    animation: glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.03); }
}

.trainer-signature {
    margin-bottom: 16px;
}
.signature-text {
    font-family: var(--font-amiri);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.trainer-quick-creds {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    text-align: right;
    backdrop-filter: blur(10px);
}
.cred-item {
    font-size: 0.78rem;
    color: var(--text-muted);
    padding: 4px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.cred-item i {
    color: var(--primary-light);
    font-size: 0.85rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ============================================
   TRAINEES CAROUSEL
   ============================================ */
.trainees-section {
    background: var(--dark-surface);
    padding: 50px 0;
    overflow: hidden;
}
.trainees-title {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.trainees-title i {
    color: var(--accent);
}
.trainees-carousel-wrapper {
    overflow: hidden;
}
.traineesSwiper .swiper-wrapper {
    transition-timing-function: linear !important;
}
.trainee-avatar {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(212, 175, 55, 0.3);
    transition: var(--transition);
    margin: 0 auto;
}
.trainee-avatar:hover {
    border-color: var(--accent);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}
.trainee-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   OBSTACLES SECTION
   ============================================ */
.obstacles-section {
    padding: 100px 0;
    background: var(--dark);
    position: relative;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-title {
    font-size: clamp(1.4rem, 3.5vw, 2.2rem);
    font-weight: 800;
    line-height: 1.6;
    margin-bottom: 12px;
}
.highlight-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}
.section-desc {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 700px;
    margin: 0 auto;
}

.obstacles-stack {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}
.obstacle-card {
    background: var(--dark-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
    transform: translateY(40px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.obstacle-card.obstacle-visible {
    transform: translateY(0);
    opacity: 1;
}
.obstacle-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-accent);
    border-radius: 0 0 4px 4px;
}
.obstacle-card:hover {
    border-color: rgba(212, 175, 55, 0.2);
    transform: translateX(-5px);
    box-shadow: var(--shadow-md);
}
.obstacle-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
}
.obstacle-content h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text);
}
.obstacle-content p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}
.obstacle-number {
    position: absolute;
    top: 12px;
    left: 16px;
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(255,255,255,0.03);
    line-height: 1;
}

/* ============================================
   SOLUTION SECTION
   ============================================ */
.solution-section {
    padding: 100px 0;
    background: var(--gradient-dark);
    position: relative;
}
.solution-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}
.solution-main-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 16px;
}
.solution-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto 50px;
    font-size: 1rem;
    line-height: 1.9;
}
.outcomes-header {
    text-align: center;
    margin-bottom: 36px;
}
.outcomes-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent);
}
.outcome-card {
    background: var(--dark-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-md);
    padding: 22px 26px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
    height: 100%;
}
.outcome-card:hover {
    border-color: rgba(26, 107, 74, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(26, 107, 74, 0.15);
}
.outcome-check {
    flex-shrink: 0;
}
.outcome-check i {
    font-size: 1.6rem;
    color: var(--primary-light);
}
.outcome-card p {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.6;
}

.solution-cta-area {
    text-align: center;
    margin-top: 50px;
}
.cta-transform-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   REVIEWS SECTION
   ============================================ */
.reviews-section {
    padding: 100px 0;
    background: var(--dark);
}
.video-grid {
    margin-bottom: 20px;
}
.video-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 9/16;
    background: var(--dark-card);
    transition: var(--transition);
}
.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-muted);
    background: linear-gradient(135deg, var(--dark-card), var(--dark-surface));
}
.video-placeholder i {
    font-size: 2.5rem;
    color: var(--accent);
}
.video-placeholder span {
    font-size: 0.8rem;
}
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: rgba(212, 175, 55, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-size: 1.5rem;
    transition: var(--transition);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}
.video-card:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.6);
}

/* Screenshot carousel */
.screenshot-card {
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-md);
    transition: var(--transition);
    cursor: pointer;
}
.screenshot-card:hover {
    transform: scale(1.02);
}
.screenshotSwiper {
    padding-bottom: 50px;
}
.screenshotSwiper .swiper-pagination-bullet {
    background: var(--accent);
    opacity: 0.4;
}
.screenshotSwiper .swiper-pagination-bullet-active {
    opacity: 1;
    width: 24px;
    border-radius: 10px;
}

.reviews-cta-question {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--accent);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    padding: 100px 0;
    background: var(--dark-surface);
}
.about-photo-area {
    position: relative;
    text-align: center;
}
.about-trainer-img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 3px solid rgba(212, 175, 55, 0.3);
    box-shadow: var(--shadow-lg);
}
.about-name-card {
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    padding: 14px 24px;
    margin-top: -30px;
    position: relative;
    z-index: 2;
    display: inline-block;
}
.about-name-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2px;
}
.about-name-card p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    margin: 0;
}

.about-info {
    padding-right: 20px;
}
.about-role {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 16px;
    line-height: 1.6;
}
.about-bio {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.9;
    margin-bottom: 24px;
}
.about-credentials {
    margin-bottom: 24px;
}
.credential-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.88rem;
    color: var(--text);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.credential-item:last-child {
    border-bottom: none;
}
.credential-item i {
    color: var(--primary-light);
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.about-socials {
    display: flex;
    gap: 12px;
}
.social-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: var(--transition);
}
.social-circle:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(26, 107, 74, 0.3);
}

/* ============================================
   CURRICULUM SECTION
   ============================================ */
.curriculum-section {
    padding: 100px 0;
    background: var(--dark);
}
.curriculum-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}
.curriculum-timeline::before {
    content: '';
    position: absolute;
    right: 45px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent), var(--primary), transparent);
}
.curriculum-unit {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    position: relative;
}
.unit-badge {
    min-width: 90px;
    height: 36px;
    background: var(--gradient-accent);
    color: var(--dark);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    align-self: flex-start;
    margin-top: 16px;
}
.unit-card {
    flex: 1;
    background: var(--dark-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    transition: var(--transition);
}
.unit-card:hover {
    border-color: rgba(212, 175, 55, 0.2);
    transform: translateX(-4px);
    box-shadow: var(--shadow-md);
}
.unit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 8px;
}
.unit-header h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}
.unit-header h4 i {
    color: var(--accent);
}
.unit-days {
    font-size: 0.8rem;
    color: var(--accent);
    background: rgba(212, 175, 55, 0.1);
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 600;
}
.unit-topics {
    list-style: none;
    padding: 0;
    margin: 0;
}
.unit-topics li {
    position: relative;
    padding: 6px 0 6px 22px;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.unit-topics li::before {
    content: '▸';
    position: absolute;
    right: 0;
    color: var(--primary-light);
    font-size: 0.9rem;
}

/* Fix for RTL: bullets should be on the right */
.unit-topics li {
    padding: 6px 22px 6px 0;
}

/* ============================================
   ENROLLMENT SECTION
   ============================================ */
.enrollment-section {
    padding: 100px 0;
    background: var(--dark-surface);
}
.enrollment-steps {
    max-width: 800px;
    margin: 0 auto;
}
.enrollment-step {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    align-items: flex-start;
}
.step-number {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: var(--gradient-accent);
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 900;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}
.step-card {
    flex: 1;
    background: var(--dark-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-md);
    padding: 22px 26px;
    transition: var(--transition);
}
.step-card:hover {
    border-color: rgba(212, 175, 55, 0.2);
    transform: translateX(-4px);
}
.step-title-en {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
    font-family: 'Montserrat', var(--font-main);
}
.step-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.7;
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta-section {
    padding: 80px 0;
    background: var(--dark);
}
.final-cta-card {
    position: relative;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    text-align: center;
    overflow: hidden;
}
.cta-bg-deco {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 30px 30px;
}
.final-cta-card h2 {
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    font-weight: 800;
    position: relative;
    z-index: 2;
    margin-bottom: 12px;
}
.final-cta-card p {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    position: relative;
    z-index: 2;
    margin-bottom: 28px;
}
.final-cta-btn {
    position: relative;
    z-index: 2;
    background: white !important;
    color: var(--primary-dark) !important;
    border: none;
    border-radius: var(--radius-xl);
    padding: 14px 36px;
    font-weight: 700;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}
.final-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
    color: var(--primary-dark) !important;
}

/* ============================================
   FOOTER
   ============================================ */
.footer-section {
    background: #080b10;
    padding: 60px 0 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-logo {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 12px;
}
.footer-logo .brand-ttq {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.footer-brand p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
}
.footer-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 10px;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 8px;
}
.footer-links a {
    color: var(--text-muted);
    font-size: 0.88rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.footer-links a::before {
    content: '◂';
    font-size: 0.7rem;
    color: var(--accent);
}
.footer-links a:hover {
    color: var(--accent);
    transform: translateX(-4px);
}

.footer-socials {
    display: flex;
    gap: 10px;
}
.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1rem;
    transition: var(--transition);
}
.footer-socials a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-3px);
}
.footer-contact {
    color: var(--text-muted);
    font-size: 0.88rem;
}
.footer-contact i {
    color: var(--accent);
    margin-left: 6px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
}
.footer-bottom p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* ============================================
   FIXED CTA
   ============================================ */
.fixed-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 12px 20px;
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-align: center;
}
.fixed-cta.show {
    transform: translateY(0);
}
.btn-cta-fixed {
    background: var(--gradient-accent);
    color: var(--dark) !important;
    border: none;
    border-radius: var(--radius-xl);
    padding: 12px 28px;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.btn-cta-fixed:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
    color: var(--dark) !important;
}

/* ============================================
   ANIMATIONS
   ============================================ */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
    .hero-section {
        text-align: center;
    }
    .hero-stats-row {
        justify-content: center;
    }
    .hero-hours-badge {
        flex-direction: column;
        text-align: center;
    }
    .trainer-photo {
        width: 200px;
        height: 200px;
    }
    .trainer-quick-creds {
        text-align: center;
    }
    .cred-item {
        justify-content: center;
    }
    .about-info {
        padding-right: 0;
    }
    .curriculum-timeline::before {
        display: none;
    }
    .curriculum-unit {
        flex-direction: column;
        gap: 8px;
    }
    .unit-badge {
        align-self: center;
    }
    .about-photo-area {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .hero-main-title {
        font-size: 1.4rem;
    }
    .x-mark {
        font-size: 2rem;
    }
    .hero-badge-pill {
        font-size: 0.75rem;
    }
    .hero-stats-row {
        gap: 8px;
    }
    .hero-stat {
        font-size: 0.75rem;
    }
    .section-title {
        font-size: 1.3rem;
    }
    .obstacle-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .obstacle-card::before {
        top: 0;
        right: 0;
        width: 100%;
        height: 3px;
    }
    .obstacle-number {
        top: auto;
        bottom: 8px;
    }
    .enrollment-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .about-trainer-img {
        width: 220px;
        height: 220px;
    }
    .final-cta-card {
        padding: 40px 20px;
    }
    .btn-cta-hero {
        font-size: 0.88rem;
        padding: 12px 24px;
    }
}

/* ============================================
   MODAL STYLES
   ============================================ */
.modal-content {
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.modal-header {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    padding: 12px;
}

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

.float-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: none;
    outline: none;
    cursor: pointer;
    text-decoration: none;
}

.float-btn:hover {
    transform: translateY(-5px) scale(1.05);
    color: white;
}

.float-scroll-top {
    background: var(--gradient-accent);
    color: var(--dark) !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.float-scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.float-scroll-top:hover {
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
    color: var(--dark) !important;
}

@media (max-width: 767px) {
    .floating-actions {
        bottom: 20px;
        right: 20px;
    }
    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}
