/* 
  =========================================
  AUTO-ÉCOLE ALPHA - MAIN STYLESHEET
  =========================================
*/

:root {
    /* Premium Colors - Modern Trust & Elegance */
    --primary: #F5A623;
    /* Refined Golden Amber */
    --primary-dark: #D97706;
    --primary-light: #FBBF24;
    --gradient-primary: linear-gradient(135deg, #F5A623 0%, #FBBF24 100%);
    --gradient-primary-hover: linear-gradient(135deg, #FBBF24 0%, #F5A623 100%);

    --secondary: #0A192F;
    /* Rich Navy Blue */
    --secondary-light: #112240;
    --secondary-dark: #020C1B;
    --gradient-secondary: linear-gradient(135deg, #0A192F 0%, #112240 100%);

    --text-main: #1F2937;
    --text-muted: #4B5563;
    --text-light: #F9FAFB;

    --bg-main: #FFFFFF;
    --bg-light: #F3F4F6;
    --bg-dark: #0A192F;

    /* Typography */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Elegant Effects - Refined Apple-style subtle shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.02), 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.03), 0 10px 24px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.04), 0 20px 40px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 10px 25px rgba(245, 166, 35, 0.3);
    --transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    --radius-md: 12px;
    --radius-lg: 20px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Custom Selection */
::selection {
    background-color: var(--primary);
    color: var(--secondary-dark);
}

/* Glassmorphism utility */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

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

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

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

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

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

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--bg-dark);
}

.text-white {
    color: var(--text-light);
}

.text-primary {
    color: var(--primary);
}

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

/* ================== UTILITIES & COMPONENTS ================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    letter-spacing: 0.5px;
    position: relative;
    white-space: nowrap;
}

.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--secondary-dark);
    border: none;
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.2);
}

.btn-primary:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: var(--secondary);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--bg-light);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--gradient-primary);
    color: var(--secondary-dark);
    border-color: transparent;
    box-shadow: var(--shadow-glow);
    transform: translateY(-3px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

.section-title {
    margin-bottom: 50px;
}

.section-title .subtitle-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.section-title .subtitle-line {
    width: 40px;
    height: 2px;
    background: var(--primary);
    display: inline-block;
}

.section-title .subtitle {
    color: var(--primary);
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
}

.section-title p.center-text {
    margin: 0 auto;
}

/* ================== NAVIGATION ================== */
.navbar {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 96%;
    max-width: 1280px;
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(10, 25, 47, 0.1);
}

.navbar.scrolled {
    top: 10px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid #ffffff;
    box-shadow: 0 12px 35px rgba(10, 25, 47, 0.15);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
    height: auto;
    width: 100%;
    padding: 8px 24px;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    color: var(--secondary);
    position: relative;
    z-index: 1001;
    text-decoration: none;
    flex-shrink: 0;
    white-space: nowrap;
}

.logo i {
    color: var(--primary-dark);
    font-size: 1.8rem;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.25;
}

.logo-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--secondary);
    white-space: nowrap;
}

.logo-sub {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.logo > span {
    font-size: 0.95rem;
    font-weight: 800;
    max-width: 250px;
    line-height: 1.2;
    display: inline-block;
    white-space: normal;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    margin-inline-start: 20px;
    gap: 15px;
}

.nav-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

.nav-actions .btn {
    padding: 9px 20px;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    border-radius: 25px;
}

/* Navbar button styles for maximum contrast and elegance */
.nav-actions .btn-outline,
.navbar .btn-outline {
    background: rgba(10, 25, 47, 0.04);
    border: 2px solid var(--secondary);
    color: var(--secondary);
    font-weight: 700;
}

.nav-actions .btn-outline:hover,
.navbar .btn-outline:hover {
    background: var(--secondary);
    color: #ffffff;
    border-color: var(--secondary);
    box-shadow: 0 4px 15px rgba(10, 25, 47, 0.25);
    transform: translateY(-2px);
}

.nav-actions .btn-primary,
.navbar .btn-primary {
    background: var(--gradient-primary);
    color: var(--secondary-dark);
    font-weight: 700;
    border: none;
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.35);
}

.nav-actions .btn-primary:hover,
.navbar .btn-primary:hover {
    background: var(--gradient-primary-hover);
    color: var(--secondary-dark);
    box-shadow: 0 6px 20px rgba(245, 166, 35, 0.5);
    transform: translateY(-2px);
}

/* Language Switcher Dropdown Styling */
.lang-dropdown {
    border-radius: 14px !important;
    border: 1px solid rgba(10, 25, 47, 0.08) !important;
    box-shadow: 0 10px 30px rgba(10, 25, 47, 0.15) !important;
    background: #ffffff !important;
    padding: 6px 0 !important;
}

.lang-dropdown a {
    color: var(--secondary) !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    transition: var(--transition) !important;
}

.lang-dropdown a:hover {
    background: rgba(245, 166, 35, 0.12) !important;
    color: var(--primary-dark) !important;
}

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

.nav-links a {
    font-weight: 600;
    font-size: 0.93rem;
    color: var(--secondary);
    position: relative;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    inset-inline-start: 0;
    width: 0;
    height: 2.5px;
    background-color: var(--primary-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-dark);
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger {
    width: 28px;
    height: 22px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--secondary);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: left center;
}

.mobile-menu-btn.active .hamburger span:nth-child(1) {
    transform: rotate(45deg);
    width: 30px;
}

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

.mobile-menu-btn.active .hamburger span:nth-child(3) {
    transform: rotate(-45deg);
    width: 30px;
}

/* ================== HERO SECTION ================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    color: white;
    overflow: hidden;
    background: #080f1e;
}

/* Premium Glowing Orbs for Depth */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 1;
    opacity: 0.6;
    pointer-events: none;
    mix-blend-mode: screen;
}

.glow-1 {
    top: -15%;
    left: -10%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.35) 0%, transparent 65%);
}

.glow-2 {
    bottom: -15%;
    right: -10%;
    width: 750px;
    height: 750px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, transparent 65%);
}

.glow-3 {
    top: 35%;
    left: 45%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.18) 0%, transparent 70%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-student.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    animation: kenBurns 40s infinite alternate ease-in-out;
    z-index: 0;
    filter: brightness(0.65) contrast(1.15);
}

.hero-noise {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.05;
    z-index: 1;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(8, 15, 30, 0.98) 0%, rgba(12, 22, 44, 0.88) 50%, rgba(8, 15, 30, 0.96) 100%);
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1.5px, transparent 1.5px);
    background-size: 28px 28px;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
}

/* Hero Content (Left) */
.hero-content {
    max-width: 650px;
}

.hero-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 209, 102, 0.25);
    padding: 8px 22px 8px 12px;
    border-radius: 50px;
    margin-bottom: 25px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2), 0 0 15px rgba(245, 166, 35, 0.1);
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.hero-badge:hover {
    transform: translateY(-3px) scale(1.02);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(245, 166, 35, 0.5);
    box-shadow: 0 12px 30px rgba(245, 166, 35, 0.25);
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background-color: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10B981;
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 10px #10B981;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.7;
        box-shadow: 0 0 18px #10B981;
    }
}

.badge-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-20deg);
    animation: shine 5s infinite;
}

.badge-icon {
    background: linear-gradient(135deg, #FBBF24, #D97706);
    color: #0F172A;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    box-shadow: 0 0 12px rgba(245, 166, 35, 0.5);
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #F8FAFC;
}

.badge-tag {
    font-size: 0.78rem;
    font-weight: 700;
    color: #FBBF24;
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.3);
    padding: 3px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.badge-divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.22);
}

.badge-trend {
    color: #FBBF24;
    font-size: 0.9rem;
    filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.6));
}

.hero-title {
    color: white;
    font-size: clamp(2.5rem, 4.8vw, 4.2rem);
    line-height: 1.18;
    margin-bottom: 22px;
    font-weight: 800;
    letter-spacing: -1.2px;
    text-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.highlight-wrapper {
    position: relative;
    display: inline-block;
}

.hero-title .text-gradient {
    background: linear-gradient(135deg, #FFF1C5 0%, #FBBF24 35%, #F5A623 70%, #EA580C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 25px rgba(245, 166, 35, 0.35));
}

.title-underline {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 22px;
    z-index: 2;
    overflow: visible;
    pointer-events: none;
    filter: drop-shadow(0 2px 10px rgba(245, 166, 35, 0.6));
}

.title-underline path {
    stroke-dasharray: 800;
    stroke-dashoffset: 800;
    animation: drawUnderline 1.6s cubic-bezier(0.65, 0, 0.35, 1) forwards;
    animation-delay: 0.3s;
}

@keyframes drawUnderline {
    0% {
        stroke-dashoffset: 800;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

.hero-description {
    font-size: 1.18rem;
    margin-bottom: 25px;
    color: #CBD5E1;
    line-height: 1.75;
    font-weight: 400;
    max-width: 580px;
}

/* Feature Pills Bar */
.hero-features-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #E2E8F0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-pill i {
    color: #FBBF24;
    font-size: 0.95rem;
}

.feature-pill:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(245, 166, 35, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(245, 166, 35, 0.15);
}

.feature-pill.highlight-pill {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.18), rgba(234, 88, 12, 0.18));
    border-color: rgba(251, 191, 36, 0.45);
    color: #FDE68A;
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.18);
}

.feature-pill.highlight-pill i {
    color: #FBBF24;
    animation: flashIcon 2s infinite ease-in-out;
}

@keyframes flashIcon {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.18); }
}

.hero-action-group {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, #FBBF24 0%, #F5A623 60%, #D97706 100%);
    color: #0F172A;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(245, 166, 35, 0.35);
    border-radius: 50px;
    padding: 15px 34px;
    font-size: 1.08rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #FCD34D 0%, #FBBF24 60%, #F5A623 100%);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 14px 35px rgba(245, 166, 35, 0.5);
}

.btn-hover-animate {
    overflow: hidden;
}

.icon-animate {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.btn-hover-animate:hover .icon-animate {
    transform: translateX(6px);
}

/* Custom Play Button */
.btn-play {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 8px 24px 8px 10px;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    color: white;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: inline-flex;
    align-items: center;
}

.btn-play:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(245, 166, 35, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.play-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: white;
    color: var(--secondary);
    border-radius: 50%;
    margin-right: 16px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.btn-play:hover .play-icon-wrapper {
    background: var(--primary);
    color: var(--secondary-dark);
}

.play-icon-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: white;
    z-index: -1;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.btn-play:hover .play-icon-wrapper::before {
    background: var(--primary);
}

.btn-glow {
    position: relative;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: inherit;
    filter: blur(12px);
    opacity: 0;
    z-index: -1;
    border-radius: inherit;
    transition: opacity 0.3s ease;
}

.btn-glow:hover::after {
    opacity: 0.6;
}

/* Premium Trust Section */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 25px;
    padding-top: 15px;
    position: relative;
}

.trust-avatars {
    display: flex;
    align-items: center;
}

.trust-avatars img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 3px solid #080f1e;
    margin-left: -12px;
    object-fit: cover;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.trust-avatars img:hover {
    transform: translateY(-6px) scale(1.15);
    z-index: 5;
    border-color: #FBBF24;
}

.trust-avatars img:first-child {
    margin-left: 0;
}

.avatar-more {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    border: 3px solid #080f1e;
    margin-left: -12px;
    z-index: 1;
    transition: all 0.3s ease;
}

.avatar-more:hover {
    background: var(--primary);
    color: #0F172A;
}

.trust-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.trust-text .stars {
    color: #FBBF24;
    font-size: 1rem;
    display: flex;
    gap: 4px;
}

.trust-text span {
    font-size: 0.95rem;
    color: #CBD5E1;
    font-weight: 400;
}

.trust-text span strong {
    color: white;
    font-weight: 700;
}

.trust-acreditation {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(251, 191, 36, 0.28);
    padding: 8px 16px;
    border-radius: 30px;
    color: #F3F4F6;
    font-size: 0.86rem;
    font-weight: 600;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.trust-acreditation i {
    color: #FBBF24;
    font-size: 1.05rem;
}

/* Hero Visual (Right) */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    border-radius: 28px;
    z-index: 2;
    transform-style: preserve-3d;
    animation: wrapper-float 10s ease-in-out infinite;
}

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

.hero-image-backdrop {
    position: absolute;
    top: 25px;
    left: 35px;
    right: -35px;
    bottom: -25px;
    background: linear-gradient(135deg, #FBBF24, #C88D44);
    border-radius: 32px;
    z-index: -2;
    opacity: 0.95;
    filter: blur(2px);
    transition: transform 0.5s ease;
}

.ring-outer {
    position: absolute;
    top: -35px;
    right: -35px;
    width: 180px;
    height: 180px;
    border: 2px solid rgba(251, 191, 36, 0.3);
    border-radius: 50%;
    z-index: -1;
    animation: rotate 25s linear infinite;
}

.ring-inner {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 120px;
    height: 120px;
    border: 2px dashed rgba(56, 189, 248, 0.3);
    border-radius: 50%;
    z-index: -1;
    animation: rotateReverse 20s linear infinite;
}

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

.hero-image-pattern {
    position: absolute;
    top: -30px;
    left: -30px;
    width: 140px;
    height: 140px;
    background-image: radial-gradient(var(--primary) 2px, transparent 2px);
    background-size: 20px 20px;
    z-index: -1;
    opacity: 0.6;
}

.hero-image-wrapper:hover .hero-image-backdrop {
    transform: translate(6px, 6px);
}

.hero-main-img {
    width: 100%;
    height: auto;
    border-radius: 28px;
    object-fit: cover;
    aspect-ratio: 1 / 1.05;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Premium Glass Cards */
.floating-card {
    position: absolute;
    border-radius: 20px;
    padding: 16px 22px 16px 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 3;
    overflow: hidden;
}

.premium-glass {
    background: linear-gradient(135deg, rgba(22, 28, 45, 0.95), rgba(12, 16, 28, 0.98));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: skewX(-20deg);
    animation: card-shine 6s infinite;
}

.card-1 {
    top: 6%;
    left: -16%;
    animation: float 6s ease-in-out infinite;
}

.card-2 {
    bottom: 12%;
    right: -12%;
    animation: float 6s ease-in-out infinite 3s;
}

.card-3 {
    bottom: -6%;
    left: 8%;
    animation: float 6s ease-in-out infinite 1.5s;
}

.card-header-flex {
    display: flex;
    align-items: center;
    gap: 8px;
}

.trend-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34D399;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.card-icon.icon-gold {
    background: linear-gradient(135deg, #FBBF24, #D97706);
    color: #0F172A;
}

.card-icon.icon-emerald {
    background: linear-gradient(135deg, #10B981, #059669);
    color: #FFFFFF;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.card-info h4 {
    font-size: 1.35rem;
    margin-bottom: 2px;
    color: #ffffff;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.card-info p {
    font-size: 0.88rem;
    margin-bottom: 0;
    color: #CBD5E1;
    line-height: 1.2;
    font-weight: 500;
}

/* RTL Specific Overrides for Hero Section */
html[dir="rtl"] .hero-badge {
    padding: 8px 12px 8px 22px;
}

html[dir="rtl"] .hero-buttons .btn-primary .icon-animate {
    margin-left: 0;
    margin-right: 10px;
    transform: scaleX(-1);
}

html[dir="rtl"] .hero-buttons .btn-hover-animate:hover .icon-animate {
    transform: scaleX(-1) translateX(6px);
}

html[dir="rtl"] .play-icon-wrapper {
    margin-right: 0;
    margin-left: 16px;
}

html[dir="rtl"] .trust-avatars img {
    margin-left: 0;
    margin-right: -12px;
}

html[dir="rtl"] .trust-avatars img:first-child {
    margin-right: 0;
}

html[dir="rtl"] .avatar-more {
    margin-left: 0;
    margin-right: -12px;
}

html[dir="rtl"] .card-1 {
    left: auto;
    right: -16%;
}

html[dir="rtl"] .card-2 {
    right: auto;
    left: -12%;
}

html[dir="rtl"] .card-3 {
    left: auto;
    right: 8%;
}

/* Shape Divider */
.hero-shape-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
    transform: translateY(1px);
}

.hero-shape-bottom svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

/* Float Animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

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

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.05);
    }
}

/* ================== ABOUT SECTION ================== */
.about {
    position: relative;
    overflow: hidden;
    padding: 90px 0;
}

.about-bg-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.about-bg-decoration .glow-circle-1 {
    position: absolute;
    top: 20%;
    left: -120px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(50px);
}

.about-bg-decoration .glow-circle-2 {
    position: absolute;
    bottom: 10%;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(10, 25, 47, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(60px);
}

.about-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(10, 25, 47, 0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.6;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-image {
    position: relative;
    padding: 10px;
}

.about-image-glow {
    position: absolute;
    top: -30px;
    left: -30px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(50px);
    z-index: 0;
    pointer-events: none;
}

.image-wrapper {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    border-radius: 28px;
}

.image-frame-bg {
    position: absolute;
    top: 22px;
    left: -22px;
    bottom: -22px;
    right: 22px;
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.15) 0%, rgba(10, 25, 47, 0.08) 100%);
    border: 2px dashed rgba(245, 166, 35, 0.35);
    border-radius: 34px;
    z-index: -1;
    transition: var(--transition);
}

[dir="rtl"] .image-frame-bg {
    left: 22px;
    right: -22px;
}

.image-wrapper:hover .image-frame-bg {
    transform: translate(-6px, 6px);
    border-color: rgba(245, 166, 35, 0.6);
}

[dir="rtl"] .image-wrapper:hover .image-frame-bg {
    transform: translate(6px, 6px);
}

.rounded-shadow {
    border-radius: 26px;
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    box-shadow: 0 30px 60px -15px rgba(10, 25, 47, 0.25);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-wrapper:hover .rounded-shadow {
    transform: scale(1.02);
}

/* Trust Pill floating on Image */
.trust-pill {
    position: absolute;
    top: 24px;
    left: 24px;
    background: rgba(10, 25, 47, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    z-index: 3;
}

[dir="rtl"] .trust-pill {
    left: auto;
    right: 24px;
}

.status-pulse-dot {
    width: 9px;
    height: 9px;
    background-color: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10B981;
    animation: livePulse 1.8s infinite;
    flex-shrink: 0;
}

@keyframes livePulse {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.8); }
    70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.trust-pill i {
    color: var(--primary);
    font-size: 1.1rem;
}

.trust-pill-text {
    display: flex;
    flex-direction: column;
}

.trust-pill-text .main-text {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.2;
}

.trust-pill-text .sub-text {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Floating Students Badge */
.students-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 12px 20px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 15px 35px rgba(10, 25, 47, 0.12);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

[dir="rtl"] .students-badge {
    left: auto;
    right: 24px;
}

.students-badge:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(10, 25, 47, 0.18);
}

.students-badge .students-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.05) 100%);
    color: #059669;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.students-badge .students-content {
    display: flex;
    flex-direction: column;
}

.students-badge .number {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.1;
}

.students-badge .label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Experience Badge */
.experience-badge {
    position: absolute;
    bottom: -25px;
    right: -25px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 22px 28px;
    border-radius: 22px;
    border: 1.5px solid rgba(245, 166, 35, 0.35);
    box-shadow: 0 20px 45px rgba(10, 25, 47, 0.14);
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 18px;
    overflow: hidden;
    min-width: max-content;
    transition: var(--transition);
}

[dir="rtl"] .experience-badge {
    right: auto;
    left: -25px;
}

.experience-badge:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(10, 25, 47, 0.2);
    border-color: var(--primary);
}

.experience-badge .badge-icon {
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.22) 0%, rgba(251, 191, 36, 0.12) 100%);
    color: var(--primary-dark);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: inset 0 0 0 1px rgba(245, 166, 35, 0.3);
    flex-shrink: 0;
}

.experience-badge .badge-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.experience-badge .years {
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1;
    font-family: var(--font-heading);
    margin-bottom: 3px;
    background: linear-gradient(135deg, var(--secondary) 0%, #1E3A8A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.experience-badge .text {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.experience-badge .badge-stars {
    display: flex;
    gap: 3px;
    color: #F59E0B;
    font-size: 0.75rem;
    margin-top: 4px;
}

.about-text .section-title {
    margin-bottom: 22px;
}

.badge-pro {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.14) 0%, rgba(251, 191, 36, 0.06) 100%);
    color: var(--primary-dark);
    border: 1.5px solid rgba(245, 166, 35, 0.35);
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.1);
    backdrop-filter: blur(8px);
}

.badge-pro .badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-dark);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 166, 35, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(245, 166, 35, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 166, 35, 0); }
}

.badge-pro i {
    font-size: 0.95rem;
    color: var(--primary-dark);
}

.about-heading {
    font-size: 2.85rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.22;
    font-family: var(--font-heading);
    margin-bottom: 0;
    letter-spacing: -0.02em;
}

.about-heading .text-gradient {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #F5A623 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.about-description {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 35px;
    padding-left: 18px;
    border-left: 3.5px solid var(--primary);
    background: linear-gradient(90deg, rgba(245, 166, 35, 0.05) 0%, transparent 100%);
    padding-top: 12px;
    padding-bottom: 12px;
    border-radius: 0 12px 12px 0;
}

[dir="rtl"] .about-description {
    padding-left: 0;
    padding-right: 18px;
    border-left: none;
    border-right: 3.5px solid var(--primary);
    background: linear-gradient(-90deg, rgba(245, 166, 35, 0.05) 0%, transparent 100%);
    border-radius: 12px 0 0 12px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: #ffffff;
    border: 1.5px solid rgba(10, 25, 47, 0.08);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 35px rgba(10, 25, 47, 0.09);
    border-color: rgba(245, 166, 35, 0.4);
}

.feature-index {
    font-size: 0.85rem;
    font-weight: 800;
    color: rgba(10, 25, 47, 0.25);
    font-family: var(--font-heading);
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.feature-item:hover .feature-index {
    color: var(--primary-dark);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.16) 0%, rgba(251, 191, 36, 0.08) 100%);
    border: 1.5px solid rgba(245, 166, 35, 0.3);
    color: var(--primary-dark);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-item:hover .feature-icon {
    background: var(--gradient-primary);
    color: var(--secondary-dark);
    border-color: transparent;
    transform: scale(1.1) rotate(-4deg);
    box-shadow: 0 8px 22px rgba(245, 166, 35, 0.4);
}

.feature-content {
    flex: 1;
}

.feature-content h4 {
    font-size: 1.22rem;
    margin-bottom: 4px;
    color: var(--secondary);
    font-weight: 800;
    font-family: var(--font-heading);
}

.feature-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.55;
}

.feature-check {
    margin-left: auto;
    font-size: 1.35rem;
    color: rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

[dir="rtl"] .feature-check {
    margin-left: 0;
    margin-right: auto;
}

.feature-item:hover .feature-check {
    color: #10B981;
    transform: scale(1.2);
    filter: drop-shadow(0 0 6px rgba(16, 185, 129, 0.4));
}

/* ================== SERVICES SECTION ================== */
.services.section-padding {
    position: relative;
    background-color: #F8FAFC;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(245, 166, 35, 0.06) 0%, transparent 45%),
        radial-gradient(circle at 90% 80%, rgba(10, 25, 47, 0.05) 0%, transparent 45%);
    overflow: hidden;
}

/* Category Filter Tabs */
.formation-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
    margin-bottom: 38px;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    border-radius: 50px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    color: #475569;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.filter-btn:hover {
    border-color: #F5A623;
    color: #0A192F;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(245, 166, 35, 0.15);
}

.filter-btn.active {
    background: linear-gradient(135deg, #0A192F 0%, #1E293B 100%);
    color: #F5A623;
    border-color: #0A192F;
    box-shadow: 0 8px 20px rgba(10, 25, 47, 0.25);
}

.filter-btn i {
    font-size: 0.95rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    align-items: stretch;
    padding-top: 10px;
    padding-bottom: 10px;
}

.card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.04), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(226, 232, 240, 0.9);
    z-index: 1;
}

.card.service-card {
    padding: 36px 30px;
    overflow: visible;
}

.service-tag-wrapper {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
}

[dir="rtl"] .service-tag-wrapper,
html[lang="ar"] .service-tag-wrapper {
    justify-content: flex-start;
}

.service-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: rgba(245, 166, 35, 0.12);
    color: #D97706;
    border: 1px solid rgba(245, 166, 35, 0.25);
    transition: all 0.3s ease;
}

.service-tag.tag-cyan {
    background: rgba(6, 182, 212, 0.12);
    color: #0891B2;
    border-color: rgba(6, 182, 212, 0.25);
}

.service-tag.tag-emerald {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    border-color: rgba(16, 185, 129, 0.25);
}

.service-tag.tag-purple {
    background: rgba(147, 51, 234, 0.12);
    color: #7C3AED;
    border-color: rgba(147, 51, 234, 0.25);
}

.service-tag.tag-indigo {
    background: rgba(99, 102, 241, 0.12);
    color: #4F46E5;
    border-color: rgba(99, 102, 241, 0.25);
}

.card.popular .service-tag {
    background: rgba(255, 255, 255, 0.1);
    color: #FBBF24;
    border-color: rgba(251, 191, 36, 0.3);
}

/* Custom Icon Gradient Variations */
.card-icon-cyan {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.12) 0%, rgba(6, 182, 212, 0.25) 100%) !important;
    color: #0891B2 !important;
}

.card-icon-emerald {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(16, 185, 129, 0.25) 100%) !important;
    color: #059669 !important;
}

.card-icon-purple {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.12) 0%, rgba(147, 51, 234, 0.25) 100%) !important;
    color: #7C3AED !important;
}

.card-icon-indigo {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(99, 102, 241, 0.25) 100%) !important;
    color: #4F46E5 !important;
}

/* Meta Pills */
.formation-meta-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    background: #F1F5F9;
    color: #475569;
    border: 1px solid #E2E8F0;
}

.card.popular .meta-pill {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.12);
}

.meta-pill.highlight {
    background: rgba(245, 166, 35, 0.15);
    color: #D97706;
    border-color: rgba(245, 166, 35, 0.3);
}

.card.popular .meta-pill.highlight {
    background: rgba(245, 166, 35, 0.25);
    color: #FBBF24;
    border-color: rgba(245, 166, 35, 0.4);
}

/* Detail Button */
.btn-link-details {
    background: none;
    border: none;
    color: #64748B;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin-top: 12px;
    padding: 6px;
    transition: all 0.2s ease;
}

.card.popular .btn-link-details {
    color: rgba(255, 255, 255, 0.7);
}

.btn-link-details:hover {
    color: #F5A623;
    text-decoration: underline;
}

/* Trust Stats Grid below Cards */
.formation-trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 50px;
    padding: 26px 30px;
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.trust-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.12) 0%, rgba(251, 191, 36, 0.25) 100%);
    color: #D97706;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.trust-content h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0A192F;
    margin: 0 0 3px 0;
}

.trust-content p {
    font-size: 0.82rem;
    color: #64748B;
    margin: 0;
    line-height: 1.3;
}

/* Help Banner */
.formation-help-banner {
    margin-top: 35px;
    background: linear-gradient(135deg, #0A192F 0%, #1E293B 100%);
    border-radius: 20px;
    padding: 30px 40px;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(10, 25, 47, 0.2);
    border: 1px solid rgba(245, 166, 35, 0.3);
}

.formation-help-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.help-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .help-banner-content {
        flex-direction: column;
        text-align: center;
    }
}

.help-banner-text h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 6px;
    color: #FFFFFF;
}

.help-banner-text p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Course Details Modal Overlay */
.formation-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 25, 47, 0.7);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: modalFade 0.3s ease;
}

.formation-modal-overlay.active {
    display: flex;
}

.formation-modal-card {
    background: #FFFFFF;
    border-radius: 24px;
    width: 100%;
    max-width: 620px;
    padding: 32px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    border: 1px solid #E2E8F0;
    max-height: 90vh;
    overflow-y: auto;
}

.formation-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #F1F5F9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #64748B;
    cursor: pointer;
    transition: all 0.2s ease;
}

[dir="rtl"] .formation-modal-close,
html[lang="ar"] .formation-modal-close {
    right: auto;
    left: 20px;
}

.formation-modal-close:hover {
    background: #E2E8F0;
    color: #0A192F;
}

.formation-modal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #F1F5F9;
}

[dir="rtl"] .formation-modal-header,
html[lang="ar"] .formation-modal-header {
    text-align: right;
}

.modal-icon-badge {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.15) 0%, rgba(251, 191, 36, 0.3) 100%);
    color: #D97706;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.modal-category-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #D97706;
}

.formation-modal-header h3 {
    font-size: 1.4rem;
    color: #0A192F;
    margin: 2px 0 0 0;
}

.modal-course-desc {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

[dir="rtl"] .modal-course-desc,
html[lang="ar"] .modal-course-desc {
    text-align: right;
}

.modal-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

@media (max-width: 500px) {
    .modal-specs-grid {
        grid-template-columns: 1fr;
    }
}

.spec-box {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.spec-box i {
    color: #F5A623;
    font-size: 1.1rem;
}

.spec-label {
    display: block;
    font-size: 0.72rem;
    color: #64748B;
    text-transform: uppercase;
}

.spec-box strong {
    font-size: 0.88rem;
    color: #0A192F;
}

.modal-syllabus-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0A192F;
    margin-bottom: 12px;
}

[dir="rtl"] .modal-syllabus-title,
html[lang="ar"] .modal-syllabus-title {
    text-align: right;
}

.modal-syllabus-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-syllabus-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: #334155;
    line-height: 1.4;
}

[dir="rtl"] .modal-syllabus-list li,
html[lang="ar"] .modal-syllabus-list li {
    text-align: right;
}

.modal-syllabus-list li i {
    color: #10B981;
    font-size: 0.95rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.formation-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #F1F5F9;
}

.card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.04), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(226, 232, 240, 0.9);
    z-index: 1;
}

.card.service-card {
    padding: 36px 30px;
    overflow: visible;
}

.service-tag-wrapper {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
}

[dir="rtl"] .service-tag-wrapper,
html[lang="ar"] .service-tag-wrapper {
    justify-content: flex-start;
}

.service-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: rgba(245, 166, 35, 0.12);
    color: #D97706;
    border: 1px solid rgba(245, 166, 35, 0.25);
    transition: all 0.3s ease;
}

.card.popular .service-tag {
    background: rgba(255, 255, 255, 0.1);
    color: #FBBF24;
    border-color: rgba(251, 191, 36, 0.3);
}

.card.service-card .card-header {
    padding: 0 0 22px 0;
    text-align: left;
    border-bottom: 1px dashed rgba(226, 232, 240, 0.9);
}

[dir="rtl"] .card.service-card .card-header,
html[lang="ar"] .card.service-card .card-header {
    text-align: right;
}

.card.popular .card-header {
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

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

.card.service-card .card-footer {
    padding: 10px 0 0 0;
    margin-top: auto;
}

.card.service-card:not(.popular):hover {
    transform: translateY(-10px);
    border-color: rgba(245, 166, 35, 0.5);
    box-shadow: 0 20px 40px -10px rgba(245, 166, 35, 0.15), 0 10px 20px -5px rgba(0, 0, 0, 0.04);
}

/* Premium Dark Theme for Popular Card */
.card.popular {
    background: linear-gradient(155deg, #0A192F 0%, #112240 100%);
    border: 1px solid rgba(245, 166, 35, 0.4);
    box-shadow: 0 20px 50px -10px rgba(10, 25, 47, 0.3), 0 0 30px rgba(245, 166, 35, 0.15);
    z-index: 5;
}

@media (min-width: 992px) {
    .card.popular {
        transform: translateY(-8px) scale(1.03);
    }
}

.card.popular:hover {
    transform: translateY(-12px) scale(1.04);
    border-color: rgba(245, 166, 35, 0.7);
    box-shadow: 0 30px 60px -10px rgba(10, 25, 47, 0.45), 0 0 40px rgba(245, 166, 35, 0.3);
}

.popular-badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #F5A623 0%, #FBBF24 100%);
    color: #0A192F;
    padding: 7px 22px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 8px 20px rgba(245, 166, 35, 0.4), 0 0 0 4px #0A192F;
    z-index: 10;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    animation: badgePulse 3s infinite ease-in-out;
}

.badge-star {
    font-size: 0.82rem;
    color: #0A192F;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 8px 20px rgba(245, 166, 35, 0.4), 0 0 0 4px #0A192F;
    }
    50% {
        box-shadow: 0 12px 28px rgba(245, 166, 35, 0.65), 0 0 0 4px #0A192F;
    }
}

.card-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.12) 0%, rgba(251, 191, 36, 0.22) 100%);
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 20px rgba(245, 166, 35, 0.12);
}

.card.popular .card-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--secondary-dark);
    box-shadow: 0 10px 25px rgba(245, 166, 35, 0.35);
}

.card:hover .card-icon {
    background: var(--gradient-primary);
    color: var(--secondary-dark);
    box-shadow: var(--shadow-glow);
    transform: scale(1.1) rotate(5deg);
}

.card.popular:hover .card-icon {
    background: #FFFFFF;
    color: var(--primary-dark);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
    transform: scale(1.1) rotate(5deg);
}

.card h3 {
    font-size: 1.55rem;
    margin-bottom: 10px;
    color: var(--secondary);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.card.popular h3 {
    color: #FFFFFF;
}

.card p {
    color: var(--text-muted);
    margin-bottom: 0;
    font-size: 0.94rem;
    line-height: 1.6;
}

.card.popular p {
    color: rgba(255, 255, 255, 0.78);
}

.features-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.card.popular .features-label {
    color: rgba(255, 255, 255, 0.6);
}

.card-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.96rem;
    line-height: 1.5;
    transition: transform 0.2s ease;
}

.card.popular .card-features li {
    color: rgba(255, 255, 255, 0.92);
}

.check-icon {
    color: var(--primary-dark);
    background: rgba(245, 166, 35, 0.15);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.card.popular .check-icon {
    background: linear-gradient(135deg, #F5A623 0%, #FBBF24 100%);
    color: #0A192F;
}

.card:hover .check-icon {
    transform: scale(1.12);
}

.btn-full {
    width: 100%;
}

.btn-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.96rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.btn-card .btn-icon {
    font-size: 0.88rem;
    transition: transform 0.3s ease;
}

.btn-card:hover .btn-icon {
    transform: translateX(5px);
}

/* RTL support for buttons and icons */
html[lang="ar"] .btn-card:hover .btn-icon,
[dir="rtl"] .btn-card:hover .btn-icon {
    transform: translateX(-5px) scaleX(-1);
}

html[lang="ar"] .btn-card .btn-icon,
[dir="rtl"] .btn-card .btn-icon {
    transform: scaleX(-1);
}

/* ================== TESTIMONIALS SECTION ================== */
.testimonials {
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.07) 0%, transparent 65%);
    pointer-events: none;
}

.section-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: 9999px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: #D97706;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.section-badge-pill i {
    font-size: 0.85rem;
    color: #F59E0B;
}

.section-desc {
    max-width: 680px;
    margin: 12px auto 0;
    color: #64748B;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Trust Bar */
.testimonials-trust-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    background: #FFFFFF;
    border-radius: 24px;
    padding: 26px 36px;
    margin: 36px 0 44px;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05), 0 0 1px 1px rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.9);
    position: relative;
    z-index: 5;
}

.trust-score-card {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    cursor: pointer;
}

.google-trust-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    background: #FFFFFF;
    border-radius: 18px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    flex-shrink: 0;
}

.trust-score-card:hover .google-trust-logo {
    transform: scale(1.08) rotate(-4deg);
    border-color: rgba(66, 133, 244, 0.4);
    box-shadow: 0 8px 20px rgba(66, 133, 244, 0.15);
}

.google-g-icon {
    width: 30px;
    height: 30px;
}

.google-mini-icon {
    vertical-align: middle;
    margin-right: 4px;
}

[dir="rtl"] .google-mini-icon,
html[lang="ar"] .google-mini-icon {
    margin-right: 0;
    margin-left: 4px;
}

.trust-score-header {
    display: flex;
    align-items: center;
    gap: 6px;
}

.trust-score-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0F172A;
    line-height: 1;
}

.trust-score-max {
    font-size: 1.1rem;
    color: #64748B;
    font-weight: 700;
}

.google-verified-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #2563EB;
    background: #EFF6FF;
    border: 1px solid rgba(37, 99, 235, 0.2);
    padding: 3px 10px;
    border-radius: 9999px;
    margin-left: 6px;
    position: relative;
}

.chip-pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #10B981;
    border-radius: 50%;
    display: inline-block;
    animation: chipPulse 1.8s infinite ease-in-out;
}

@keyframes chipPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.6); opacity: 0.4; }
}

[dir="rtl"] .google-verified-chip,
html[lang="ar"] .google-verified-chip {
    margin-left: 0;
    margin-right: 6px;
}

.trust-score-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rating-stars {
    color: #F59E0B;
    font-size: 1rem;
    display: flex;
    gap: 3px;
}

.trust-score-text {
    font-size: 0.82rem;
    color: #64748B;
    font-weight: 600;
}

/* Google Ratings Breakdown Popover */
.google-rating-breakdown-popover {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    width: 270px;
    background: #FFFFFF;
    border-radius: 18px;
    padding: 18px 20px;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.15), 0 0 1px 1px rgba(15, 23, 42, 0.05);
    border: 1px solid #E2E8F0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 100;
    pointer-events: none;
}

[dir="rtl"] .google-rating-breakdown-popover,
html[lang="ar"] .google-rating-breakdown-popover {
    left: auto;
    right: 0;
}

.google-rating-breakdown-popover::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 32px;
    width: 12px;
    height: 12px;
    background: #FFFFFF;
    transform: rotate(45deg);
    border-top: 1px solid #E2E8F0;
    border-left: 1px solid #E2E8F0;
}

[dir="rtl"] .google-rating-breakdown-popover::before,
html[lang="ar"] .google-rating-breakdown-popover::before {
    left: auto;
    right: 32px;
    border-left: none;
    border-right: 1px solid #E2E8F0;
}

.trust-score-card:hover .google-rating-breakdown-popover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.breakdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #0F172A;
}

.breakdown-score {
    color: #D97706;
    font-size: 0.9rem;
}

.breakdown-rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.breakdown-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #0F172A;
}

.star-label {
    width: 26px;
    color: #64748B;
}

.breakdown-bar {
    flex-grow: 1;
    height: 6px;
    background: #E2E8F0;
    border-radius: 4px;
    overflow: hidden;
}

.breakdown-fill {
    height: 100%;
    background: linear-gradient(90deg, #F59E0B 0%, #D97706 100%);
    border-radius: 4px;
}

.star-pct {
    width: 32px;
    text-align: right;
    color: #64748B;
    font-size: 0.75rem;
}

[dir="rtl"] .star-pct,
html[lang="ar"] .star-pct {
    text-align: left;
}

.breakdown-footer {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    font-weight: 700;
    color: #059669;
    padding-top: 8px;
    border-top: 1px solid #F1F5F9;
}

.trust-divider {
    width: 1px;
    height: 48px;
    background: #E2E8F0;
}

.trust-stat-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.trust-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.trust-stat-icon.icon-trophy {
    background: rgba(245, 158, 11, 0.12);
    color: #D97706;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.trust-stat-icon.icon-grad {
    background: rgba(37, 99, 235, 0.12);
    color: #2563EB;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.trust-stat-icon.icon-bolt {
    background: rgba(16, 185, 129, 0.12);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.trust-stat-item:hover .trust-stat-icon {
    transform: translateY(-2px) scale(1.05);
}

.trust-stat-content {
    display: flex;
    flex-direction: column;
}

.trust-stat-value {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.2;
}

.trust-stat-label {
    font-size: 0.82rem;
    color: #64748B;
    font-weight: 600;
}

.btn-trust-review {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: #FFFFFF;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 11px 22px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}

.btn-trust-review:hover {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}

/* Testimonial Filters */
.testimonial-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 38px;
    position: relative;
    z-index: 2;
}

.filter-btn {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    padding: 10px 22px;
    border-radius: 9999px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.filter-count {
    background: #F1F5F9;
    color: #64748B;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.filter-btn i {
    color: #2563EB;
    transition: color 0.3s ease;
}

.filter-btn:hover {
    border-color: #CBD5E1;
    color: #0F172A;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.filter-btn.active {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: #FFFFFF;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

.filter-btn.active .filter-count {
    background: rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
}

.filter-btn.active i {
    color: #FFFFFF;
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    position: relative;
    z-index: 2;
}

@media (max-width: 991px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .trust-divider {
        display: none;
    }
    .testimonials-trust-bar {
        justify-content: center;
        text-align: center;
        padding: 24px 20px;
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

.testimonial-card {
    background: #FFFFFF;
    padding: 28px 24px 20px;
    border-radius: 22px;
    position: relative;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04), 0 2px 6px -1px rgba(0, 0, 0, 0.02);
    z-index: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.1), 0 8px 16px -4px rgba(0, 0, 0, 0.03);
    transform: translateY(-6px);
    border-color: rgba(37, 99, 235, 0.3);
}

.testimonial-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.rating {
    color: #F59E0B;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 3px;
}

.rating-num {
    font-size: 0.85rem;
    font-weight: 800;
    color: #0F172A;
    margin-left: 6px;
    background: rgba(245, 158, 11, 0.12);
    padding: 2px 8px;
    border-radius: 6px;
}

[dir="rtl"] .rating-num,
html[lang="ar"] .rating-num {
    margin-left: 0;
    margin-right: 6px;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #1D4ED8;
    background: #EFF6FF;
    padding: 4px 12px;
    border-radius: 9999px;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.testimonial-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.testimonial-result-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #1E40AF;
    background: #EFF6FF;
    padding: 5px 12px;
    border-radius: 8px;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.card-code .testimonial-result-tag {
    color: #6B21A8;
    background: #F3E8FF;
    border-color: rgba(147, 51, 234, 0.2);
}

.card-moto .testimonial-result-tag {
    color: #B45309;
    background: #FFFBEB;
    border-color: rgba(245, 158, 11, 0.2);
}

.card-acc .testimonial-result-tag {
    color: #065F46;
    background: #ECFDF5;
    border-color: rgba(16, 185, 129, 0.2);
}

.testimonial-highlight-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #0F766E;
    background: #F0FDFA;
    border: 1px solid rgba(20, 184, 166, 0.2);
    padding: 4px 10px;
    border-radius: 8px;
}

.testimonial-highlight-tag i {
    font-size: 0.78rem;
    color: #14B8A6;
}

.quote-icon {
    position: absolute;
    bottom: 50px;
    right: 20px;
    font-size: 5rem;
    color: #2563EB;
    opacity: 0.03;
    z-index: 0;
    line-height: 1;
    transition: transform 0.4s ease, opacity 0.4s ease;
    pointer-events: none;
}

[dir="rtl"] .quote-icon,
html[lang="ar"] .quote-icon {
    right: auto;
    left: 20px;
    transform: scaleX(-1);
}

.testimonial-card:hover .quote-icon {
    transform: scale(1.1) rotate(-5deg);
    opacity: 0.07;
}

[dir="rtl"] .testimonial-card:hover .quote-icon,
html[lang="ar"] .testimonial-card:hover .quote-icon {
    transform: scaleX(-1) scale(1.1) rotate(5deg);
}

.review {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #334155;
    margin-bottom: 20px;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    border-top: 1px solid #F1F5F9;
    padding-top: 14px;
    position: relative;
    z-index: 1;
}

.author-avatar-wrapper {
    position: relative;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
}

.author-img {
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #FFFFFF;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.author-status-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    background: #10B981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    border: 2px solid white;
}

[dir="rtl"] .author-status-badge,
html[lang="ar"] .author-status-badge {
    right: auto;
    left: -2px;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info h4 {
    margin-bottom: 2px;
    font-size: 0.95rem;
    color: #0F172A;
    font-weight: 700;
}

.author-course {
    color: #2563EB;
    font-size: 0.78rem;
    font-weight: 600;
}

.review-date-pill {
    margin-left: auto;
    font-size: 0.75rem;
    color: #64748B;
    font-weight: 600;
    background: #F8FAFC;
    border: 1px solid #F1F5F9;
    padding: 4px 10px;
    border-radius: 9999px;
    white-space: nowrap;
}

[dir="rtl"] .review-date-pill,
html[lang="ar"] .review-date-pill {
    margin-left: 0;
    margin-right: auto;
}

.testimonial-card-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px dashed #F1F5F9;
}

.review-like-btn {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    color: #64748B;
    padding: 5px 14px;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
}

.review-like-btn:hover {
    background: #EFF6FF;
    color: #2563EB;
    border-color: rgba(37, 99, 235, 0.3);
}

.review-like-btn.liked {
    background: #2563EB;
    color: #FFFFFF;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.review-like-btn.liked i {
    font-weight: 900;
    animation: thumbPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes thumbPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.35) rotate(-15deg); }
    100% { transform: scale(1); }
}

/* Testimonials CTA Box */
.testimonials-cta-box {
    background: linear-gradient(135deg, #0A192F 0%, #112240 100%);
    border-radius: 20px;
    padding: 32px 40px;
    margin-top: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    color: #FFFFFF;
    box-shadow: 0 20px 40px rgba(10, 25, 47, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.testimonials-cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.testimonials-cta-content {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 620px;
}

.testimonials-cta-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(245, 166, 35, 0.15);
    color: var(--primary);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(245, 166, 35, 0.3);
}

.testimonials-cta-text h3 {
    color: #FFFFFF;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.testimonials-cta-text p {
    color: #94A3B8;
    font-size: 0.92rem;
    line-height: 1.5;
    margin: 0;
}

.testimonials-cta-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-outline-google {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-google i {
    color: #4285F4;
    font-size: 1.1rem;
}

.btn-outline-google:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* ================== REVIEW MODAL STYLES ================== */
.review-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.65);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.review-modal.active {
    opacity: 1;
    visibility: visible;
}

.review-modal-content {
    background: #FFFFFF;
    width: 100%;
    max-width: 520px;
    border-radius: 24px;
    padding: 36px 32px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(10, 25, 47, 0.25);
    transform: translateY(20px) scale(0.96);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.review-modal.active .review-modal-content {
    transform: translateY(0) scale(1);
}

.review-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #F1F5F9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.4rem;
    color: #64748B;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

[dir="rtl"] .review-modal-close,
html[lang="ar"] .review-modal-close {
    right: auto;
    left: 20px;
}

.review-modal-close:hover {
    background: #E2E8F0;
    color: #0F172A;
}

.review-modal-icon {
    width: 56px;
    height: 56px;
    background: rgba(245, 166, 35, 0.12);
    color: var(--primary-dark);
    font-size: 1.6rem;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.review-modal-header h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 6px;
}

.review-modal-header p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.star-rating-input {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 1.8rem;
    color: #CBD5E1;
    margin: 8px 0 8px;
    cursor: pointer;
}

.star-rating-input i {
    transition: transform 0.2s ease, color 0.2s ease;
}

.star-rating-input i:hover,
.star-rating-input i.active {
    color: #F5A623;
    transform: scale(1.18);
}

.star-rating-feedback {
    margin-bottom: 16px;
}

.star-rating-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #D97706;
    background: #FEF3C7;
    border: 1px solid rgba(217, 119, 6, 0.2);
    padding: 4px 14px;
    border-radius: 20px;
    display: inline-block;
    transition: all 0.25s ease;
}

/* Avatar Selector */
.avatar-selector-grid {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 6px;
}

.avatar-radio-item {
    cursor: pointer;
}

.avatar-radio-item input {
    display: none;
}

.avatar-radio-preview {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #E2E8F0;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #F8FAFC;
}

.avatar-radio-preview img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-radio-item input:checked + .avatar-radio-preview {
    border-color: #2563EB;
    background: #EFF6FF;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
    transform: scale(1.12);
}

/* Live Review Card Preview Box */
.review-live-preview-box {
    background: #F8FAFC;
    border: 1.5px dashed #CBD5E1;
    border-radius: 18px;
    padding: 16px;
    margin: 18px 0 22px;
}

.preview-box-header {
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748B;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.preview-box-header i {
    color: #2563EB;
}

.live-card-preview {
    background: #FFFFFF !important;
    border: 1px solid rgba(10, 25, 47, 0.1) !important;
    border-radius: 16px !important;
    padding: 18px 16px !important;
    margin: 0 !important;
    pointer-events: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04) !important;
}

.review-form .form-group {
    margin-bottom: 18px;
}

.review-form .form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 6px;
}

.review-form .form-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    background: #F8FAFC;
    font-size: 0.92rem;
    color: var(--secondary);
    transition: all 0.25s ease;
    outline: none;
}

.review-form .form-input:focus {
    border-color: var(--primary);
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.15);
}

@media (max-width: 991px) {
    .testimonials-cta-box {
        padding: 28px 24px;
        flex-direction: column;
        align-items: flex-start;
    }
    .testimonials-cta-actions {
        width: 100%;
        margin-top: 10px;
    }
    .testimonials-cta-actions .btn {
        flex: 1;
        justify-content: center;
    }
}

/* ================== CONTACT SECTION ================== */
.contact {
    background: linear-gradient(180deg, #0A192F 0%, #060E1A 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.contact-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

.contact-bg-glow-1 {
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.15) 0%, rgba(245, 166, 35, 0) 70%);
}

.contact-bg-glow-2 {
    bottom: -100px;
    left: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, rgba(10, 25, 47, 0) 70%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* --- Contact Info Column --- */
.contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(245, 166, 35, 0.12);
    border: 1px solid rgba(245, 166, 35, 0.3);
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 22px;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.1);
}

.badge-pulse-dot {
    width: 9px;
    height: 9px;
    background-color: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.contact-info .section-title h2 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.text-gradient {
    background: linear-gradient(135deg, #F5A623 0%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-info .section-title p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
    margin-bottom: 35px;
    max-width: 520px;
}

/* --- Contact Cards --- */
.contact-cards-container {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 35px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: rgba(17, 34, 64, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-card:hover {
    background: rgba(22, 45, 84, 0.85);
    border-color: rgba(245, 166, 35, 0.35);
    transform: translateY(-4px) translateX(4px);
    box-shadow: 0 16px 35px -10px rgba(0, 0, 0, 0.5), 0 0 25px rgba(245, 166, 35, 0.12);
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-card-icon {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.18) 0%, rgba(245, 166, 35, 0.05) 100%);
    border: 1px solid rgba(245, 166, 35, 0.25);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    flex-shrink: 0;
    transition: all 0.35s ease;
}

.contact-card:hover .contact-card-icon {
    background: var(--gradient-primary);
    color: #0A192F;
    border-color: transparent;
    transform: scale(1.08) rotate(-4deg);
    box-shadow: 0 8px 20px rgba(245, 166, 35, 0.35);
}

.contact-card-content {
    flex-grow: 1;
}

.contact-card-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 4px;
}

.contact-card-content h4 {
    color: #FFFFFF;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
}

.card-action-tag {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(245, 166, 35, 0.12);
    padding: 3px 10px;
    border-radius: 12px;
    border: 1px solid rgba(245, 166, 35, 0.2);
    transition: all 0.3s ease;
}

.contact-card:hover .card-action-tag {
    background: var(--primary);
    color: #0A192F;
}

.contact-card-content p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.94rem;
    line-height: 1.5;
    margin: 0;
}

.contact-highlight-value {
    color: #FFFFFF !important;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.contact-card-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.contact-card:hover .contact-card-arrow {
    background: rgba(245, 166, 35, 0.2);
    border-color: rgba(245, 166, 35, 0.4);
    color: var(--primary);
    transform: translateX(3px);
}

/* --- Features Strip (Working Hours & Response Time) --- */
.contact-features-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 18px 22px;
    background: rgba(17, 34, 64, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.feature-badge-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.feature-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(245, 166, 35, 0.1);
    border: 1px solid rgba(245, 166, 35, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.feature-icon-box.pulse-feature {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.25);
    color: #10B981;
}

.feature-label {
    display: block;
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.feature-value {
    font-size: 0.9rem;
    color: #FFFFFF;
    font-weight: 700;
}

/* --- Contact Form Container --- */
.contact-form-container {
    position: relative;
}

.contact-form {
    background: rgba(15, 28, 52, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 42px 40px;
    border-radius: 26px;
    color: white;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.65), 0 0 40px rgba(245, 166, 35, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.form-top-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, #FFD700 50%, #10B981 100%);
}

.form-header {
    margin-bottom: 28px;
}

.contact-form h3 {
    margin-bottom: 8px;
    font-size: 1.85rem;
    color: white;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.form-subtitle {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
    margin: 0;
}

/* --- Input Groups with Icons & Labels --- */
.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-input-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 18px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 1rem;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 2;
}

.textarea-icon {
    top: 18px;
}

.input-valid-check {
    position: absolute;
    right: 18px;
    color: #10B981;
    font-size: 0.9rem;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

.input-with-icon input:valid:not(:placeholder-shown) ~ .input-valid-check {
    opacity: 1;
    transform: scale(1);
}

.input-with-icon input,
.input-with-icon select,
.input-with-icon textarea {
    width: 100%;
    padding: 15px 20px 15px 48px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: rgba(10, 25, 47, 0.65);
    color: white;
    outline: none;
}

.input-with-icon textarea {
    padding-top: 15px;
    resize: vertical;
    min-height: 100px;
}

.input-with-icon input::placeholder,
.input-with-icon textarea::placeholder {
    color: rgba(255, 255, 255, 0.38);
}

.input-with-icon select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.select-chevron {
    position: absolute;
    right: 18px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
    pointer-events: none;
    transition: transform 0.3s ease, color 0.3s ease;
}

.input-with-icon select:focus + .select-chevron,
.input-with-icon:focus-within .select-chevron {
    transform: rotate(180deg);
    color: var(--primary);
}

.form-group select option {
    background: #0A192F;
    color: white;
    padding: 12px;
}

.input-with-icon input:focus,
.input-with-icon select:focus,
.input-with-icon textarea:focus {
    border-color: var(--primary);
    background: rgba(10, 25, 47, 0.92);
    box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.18), 0 8px 20px rgba(0, 0, 0, 0.3);
}

.input-with-icon:focus-within .input-icon {
    color: var(--primary);
}

/* Submit Button & Shimmer */
.contact-form .btn-submit-premium {
    width: 100%;
    padding: 16px 28px;
    background: linear-gradient(135deg, #F5A623 0%, #FFC107 100%);
    color: #0A192F;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 25px rgba(245, 166, 35, 0.35);
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.contact-form .btn-submit-premium::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(25deg);
    transition: all 0.6s ease;
}

.contact-form .btn-submit-premium:hover::after {
    left: 120%;
}

.contact-form .btn-submit-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 32px rgba(245, 166, 35, 0.5);
    background: linear-gradient(135deg, #FFC107 0%, #F5A623 100%);
}

.contact-form .btn-submit-premium:active {
    transform: translateY(1px);
    box-shadow: 0 6px 15px rgba(245, 166, 35, 0.3);
}

.contact-form .btn-submit-premium .btn-icon {
    transition: transform 0.3s ease;
}

.contact-form .btn-submit-premium:hover .btn-icon {
    transform: translateX(4px) translateY(-3px) rotate(10deg);
}

/* Security Trust Badge */
.form-security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
}

.text-emerald {
    color: #10B981 !important;
}

/* --- RTL Support for Contact Section --- */
[dir="rtl"] .contact-badge {
    direction: rtl;
}

[dir="rtl"] .contact-card {
    direction: rtl;
}

[dir="rtl"] .contact-card::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .contact-card:hover {
    transform: translateY(-4px) translateX(-4px);
}

[dir="rtl"] .contact-card-arrow {
    transform: scaleX(-1);
}

[dir="rtl"] .contact-card:hover .contact-card-arrow {
    transform: scaleX(-1) translateX(-3px);
}

[dir="rtl"] .input-icon {
    left: auto;
    right: 18px;
}

[dir="rtl"] .input-valid-check {
    right: auto;
    left: 18px;
}

[dir="rtl"] .input-with-icon input,
[dir="rtl"] .input-with-icon select,
[dir="rtl"] .input-with-icon textarea {
    padding: 15px 48px 15px 20px;
}

[dir="rtl"] .select-chevron {
    right: auto;
    left: 18px;
}

[dir="rtl"] .contact-form .btn-submit-premium:hover .btn-icon {
    transform: translateX(-4px) translateY(-3px) rotate(-10deg) scaleX(-1);
}

[dir="rtl"] .contact-form .btn-submit-premium .btn-icon {
    transform: scaleX(-1);
}

/* ================== FOOTER ================== */
/* ================== FOOTER ================== */
.footer {
    background: #0B1120;
    /* Very deep premium blue */
    color: rgba(255, 255, 255, 0.7);
    padding-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 166, 35, 0.5), transparent);
}

/* Subtle background glow for premium feel */
.footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.footer-col.brand-col .logo {
    font-size: 1.3rem;
    margin-bottom: 25px;
    display: inline-flex;
    align-items: center;
    color: white; /* Fix: Overrides dark secondary color */
    text-decoration: none;
    line-height: 1.3;
}

.footer-col.brand-col .logo i {
    filter: drop-shadow(0 2px 10px rgba(245, 166, 35, 0.3));
}

.footer-col h4 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 35px;
    font-weight: 700;
    position: relative;
    display: inline-block;
    letter-spacing: 0.5px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.footer-col:hover h4::after {
    width: 60px;
}

.brand-col p {
    margin: 0 0 30px;
    max-width: 380px;
    line-height: 1.8;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.65);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-links a:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(245, 166, 35, 0.25);
    color: var(--secondary-dark);
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 16px;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.65);
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    font-size: 1.05rem;
}

.footer-col ul a::before {
    content: '\f105';
    /* FontAwesome right arrow */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: -18px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    color: var(--primary);
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.footer-col ul a:hover {
    color: white;
    transform: translateX(18px);
}

.footer-col ul a:hover::before {
    opacity: 1;
}

.footer-bottom {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 1;
}

/* ================== ANIMATIONS ================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

/* Scroll Reveal Classes */
.reveal,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal {
    transform: translateY(50px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0, 0);
}

/* ================== RESPONSIVE DESIGN ================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 100px;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-action-group {
        align-items: center;
    }

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

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

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

    .hero-title {
        font-size: 3rem;
    }

    .about-container {
        gap: 40px;
    }

    .about-heading {
        font-size: 2.2rem;
    }
}

@media (max-width: 1150px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0;
        padding-top: 60px;
        gap: 40px;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 35px;
        margin: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
        font-weight: 700;
    }

    .nav-actions {
        flex-direction: column;
        width: 80%;
        max-width: 300px;
        gap: 20px;
    }

    .nav-actions .btn {
        width: 100%;
        text-align: center;
        display: flex;
        justify-content: center;
        font-size: 1.1rem;
        padding: 14px 24px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .about-image {
        margin-bottom: 50px;
        padding-right: 0;
    }

    .experience-badge {
        right: 0px;
        bottom: -25px;
        transform: scale(0.9);
        transform-origin: bottom right;
    }

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

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    .hero-badge {
        padding: 6px 18px 6px 8px;
        margin-bottom: 20px;
    }

    .badge-text {
        font-size: 0.75rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 30px;
        line-height: 1.5;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .floating-card {
        display: none;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        padding-top: 30px;
        border-top: none;
    }

    .stat h3 {
        font-size: 2rem;
    }

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

    .section-padding {
        padding: 50px 0;
    }

    .card {
        padding: 30px 25px;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .contact-form h3 {
        font-size: 1.5rem;
    }

    .experience-badge {
        width: auto;
        height: auto;
        bottom: -25px;
        right: 15px;
        padding: 15px 25px 15px 20px;
        gap: 15px;
        transform: scale(0.9);
    }

    .experience-badge .badge-icon {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }

    .experience-badge .years {
        font-size: 2.2rem;
    }
    
    .experience-badge .text {
        font-size: 0.75rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ================== HERO — PROFESSIONAL REFINEMENT ================== */
.hero {
    min-height: 880px;
    padding: 125px 0 95px;
    isolation: isolate;
    background: #07111f;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 18%, rgba(245, 166, 35, 0.15), transparent 32%),
        radial-gradient(circle at 88% 72%, rgba(37, 99, 235, 0.14), transparent 35%);
}

.hero-bg {
    inset: 0 0 0 auto;
    width: 54%;
    height: 100%;
    background-position: center;
    background-attachment: scroll;
    filter: grayscale(0.18) contrast(1.08);
    opacity: 0.12;
    animation: none;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 32%);
    mask-image: linear-gradient(to right, transparent, #000 32%);
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(7, 17, 31, 0.99) 0%, rgba(7, 17, 31, 0.94) 48%, rgba(7, 17, 31, 0.72) 100%),
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: auto, 72px 72px, 72px 72px;
}

.hero-noise {
    opacity: 0.025;
}

.hero-glow {
    filter: blur(120px);
    mix-blend-mode: normal;
    opacity: 0.34;
}

.glow-1 {
    top: -22%;
    left: -14%;
    width: 580px;
    height: 580px;
}

.glow-2 {
    right: -15%;
    bottom: -24%;
    width: 620px;
    height: 620px;
}

.glow-3 {
    top: 28%;
    left: 48%;
    width: 340px;
    height: 340px;
    opacity: 0.2;
}

.hero-container {
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
    gap: clamp(55px, 7vw, 100px);
    width: min(90%, 1240px);
    padding: 35px 0 25px;
}

.hero-content {
    max-width: 690px;
}

.hero-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(251, 191, 36, 0.35);
    border-radius: 50px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transition: all 0.3s ease;
}

.hero-badge:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(251, 191, 36, 0.6);
    box-shadow: 0 14px 32px rgba(245, 166, 35, 0.2);
}

.badge-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-20deg);
    animation: badgeShine 6s infinite;
}

@keyframes badgeShine {
    0% { left: -100%; }
    20%, 100% { left: 200%; }
}

.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbbf24, #d97706);
    color: #0f172a;
    font-size: 0.75rem;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.4);
}

.badge-text {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #f8fafc;
    text-transform: uppercase;
}

.badge-trend {
    padding-inline-start: 10px;
    border-inline-start: 1px solid rgba(255, 255, 255, 0.18);
    color: #fbbf24;
    font-size: 0.8rem;
}

.hero-title {
    max-width: 700px;
    margin-bottom: 24px;
    font-size: clamp(3.15rem, 5.25vw, 5rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
    text-wrap: balance;
    text-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.hero-title .text-gradient {
    background: linear-gradient(110deg, #fff1c5 0%, #fbbf24 48%, #f59e0b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(245, 166, 35, 0.25));
}

.title-underline {
    position: absolute;
    bottom: -13px;
    left: 0;
    width: 100%;
    height: 18px;
    opacity: 0.9;
    filter: drop-shadow(0 2px 8px rgba(245, 166, 35, 0.5));
}

.hero-description {
    max-width: 625px;
    margin-bottom: 27px;
    color: #b9c6d8;
    font-size: clamp(1rem, 1.3vw, 1.14rem);
    line-height: 1.8;
}

.hero-features-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    color: #dce5f1;
    font-size: 0.86rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-pill i {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 50%;
    background: rgba(245, 166, 35, 0.12);
    color: #fbbf24;
    font-size: 0.78rem;
}

.feature-pill:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(251, 191, 36, 0.45);
    transform: translateY(-2px);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.hero-action-group {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-buttons .btn-primary,
.hero-buttons .btn-play {
    min-height: 56px;
}

.hero-buttons .btn-primary {
    padding: 14px 30px;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 14px 32px rgba(245, 166, 35, 0.28);
    font-weight: 700;
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(245, 166, 35, 0.42);
}

.hero-buttons .btn-play {
    padding: 7px 20px 7px 7px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.16);
    cursor: pointer;
    color: white;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-buttons .btn-play:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(251, 191, 36, 0.4);
    transform: translateY(-2px);
}

.play-icon-wrapper {
    width: 42px;
    height: 42px;
    margin-right: 12px;
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    color: #0f172a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.btn-play:hover .play-icon-wrapper {
    background: #fbbf24;
    color: #0f172a;
    transform: scale(1.05);
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(12px);
    width: fit-content;
    flex-wrap: wrap;
}

.trust-avatars {
    display: flex;
    align-items: center;
}

.trust-avatars img,
.avatar-more {
    width: 42px;
    height: 42px;
    border-width: 2px;
    border-style: solid;
    border-color: #07111f;
    border-radius: 50%;
}

.trust-text .stars {
    display: flex;
    gap: 3px;
    color: #fbbf24;
    font-size: 0.85rem;
}

.trust-text span {
    font-size: 0.85rem;
    color: #cbd5e1;
}

.trust-accreditation {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 20px;
    color: #34d399;
    font-size: 0.8rem;
    font-weight: 600;
}

.trust-accreditation i {
    font-size: 0.9rem;
}

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

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 36px;
    background: rgba(255, 255, 255, 0.045);
    box-shadow: 0 38px 90px rgba(0, 0, 0, 0.45);
    transition: transform 0.5s ease-out;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 10px;
    z-index: 3;
    pointer-events: none;
    border-radius: 26px;
    background: linear-gradient(180deg, transparent 50%, rgba(4, 10, 20, 0.72) 100%);
}

.hero-image-backdrop {
    position: absolute;
    inset: 28px -18px -18px 32px;
    border-radius: 36px;
    background: linear-gradient(145deg, rgba(251, 191, 36, 0.85), rgba(37, 99, 235, 0.35));
    opacity: 0.62;
    filter: blur(2px);
    z-index: -2;
}

.ring-outer {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 160px;
    height: 160px;
    border: 2px solid rgba(251, 191, 36, 0.25);
    border-radius: 50%;
    z-index: -1;
    animation: rotate 30s linear infinite;
}

.ring-inner {
    position: absolute;
    bottom: -25px;
    left: -25px;
    width: 110px;
    height: 110px;
    border: 2px dashed rgba(56, 189, 248, 0.25);
    border-radius: 50%;
    z-index: -1;
    animation: rotateReverse 25s linear infinite;
}

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

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

.hero-image-pattern {
    position: absolute;
    top: -36px;
    left: -35px;
    width: 135px;
    height: 135px;
    background-image: radial-gradient(var(--primary) 2px, transparent 2px);
    background-size: 17px 17px;
    opacity: 0.34;
    z-index: -1;
}

.hero-main-img {
    width: 100%;
    aspect-ratio: 0.94 / 1;
    border-radius: 26px;
    object-fit: cover;
    display: block;
}

.hero-photo-label {
    position: absolute;
    inset-inline-start: 34px;
    bottom: 32px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.photo-label-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(8, 15, 30, 0.75);
    color: #fbbf24;
    backdrop-filter: blur(10px);
}

.hero-photo-label span:last-child {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.hero-photo-label small {
    color: #cbd5e1;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-photo-label strong {
    font-family: var(--font-heading);
    font-size: 0.98rem;
}

/* Floating Glass Cards */
.floating-card {
    position: absolute;
    min-width: 185px;
    padding: 13px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 18px;
    z-index: 5;
    overflow: hidden;
}

.premium-glass {
    background: rgba(10, 20, 35, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
}

.card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: skewX(-20deg);
    animation: cardShine 7s infinite;
}

@keyframes cardShine {
    0% { left: -100%; }
    30%, 100% { left: 200%; }
}

.card-1 {
    top: 10%;
    left: -50px;
    animation: floatCard1 7s ease-in-out infinite;
}

.card-2 {
    right: -42px;
    bottom: 24%;
    animation: floatCard2 7s ease-in-out infinite 1.8s;
}

.card-3 {
    left: 10px;
    bottom: -22px;
    animation: floatCard3 7s ease-in-out infinite 3.5s;
}

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

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

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

.card-icon {
    width: 43px;
    height: 43px;
    border-radius: 12px;
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.card-icon.icon-gold {
    background: linear-gradient(135deg, #fbbf24, #d97706);
    color: #0f172a;
}

.card-icon.icon-emerald {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.card-info h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: white;
    margin: 0;
    line-height: 1.1;
}

.card-info p {
    font-size: 0.78rem;
    color: #cbd5e1;
    margin: 0;
}

.trend-badge {
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    font-weight: 700;
}

/* Quick Stats Ticker Bar at Bottom of Hero */
.hero-stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 45px;
    padding: 22px 30px;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 5;
    position: relative;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 166, 35, 0.05));
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: #fbbf24;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.15);
}

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

.stat-number {
    font-size: 1.65rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.stat-label {
    font-size: 0.84rem;
    color: #94a3b8;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 38px;
    background: rgba(255, 255, 255, 0.12);
    align-self: center;
}

/* Presentation Video Modal */
.modal-presentation-glass {
    background: rgba(12, 18, 32, 0.96);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    max-width: 620px;
    width: 92%;
    padding: 32px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
    position: relative;
    color: white;
    animation: modalPop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes modalPop {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-header-presentation {
    text-align: center;
    margin-bottom: 22px;
}

.modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: #fbbf24;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 5px 15px;
    border-radius: 30px;
    margin-bottom: 12px;
}

.modal-header-presentation h3 {
    font-size: 1.75rem;
    color: white;
    font-weight: 800;
    margin-bottom: 6px;
}

.modal-header-presentation p {
    color: #94a3b8;
    font-size: 0.92rem;
    margin: 0;
}

.video-preview-card {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
}

.video-backdrop-img {
    position: relative;
    width: 100%;
    height: 230px;
    overflow: hidden;
}

.video-backdrop-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.65);
}

.video-play-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: #fbbf24;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 0 30px rgba(251, 191, 36, 0.6);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-play-pulse:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-highlights {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.v-highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e2e8f0;
    font-size: 0.92rem;
    font-weight: 500;
}

.v-highlight-item i {
    color: #10b981;
    font-size: 1.1rem;
}

.modal-footer-presentation {
    margin-top: 22px;
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    inset-inline-end: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.3s ease;
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.hero-shape-bottom svg {
    height: 55px;
}

/* RTL Adjustments */
html[dir="rtl"] .hero-bg {
    right: auto;
    left: 0;
    -webkit-mask-image: linear-gradient(to left, transparent, #000 32%);
    mask-image: linear-gradient(to left, transparent, #000 32%);
}

html[dir="rtl"] .hero-overlay {
    background:
        linear-gradient(-90deg, rgba(7, 17, 31, 0.99) 0%, rgba(7, 17, 31, 0.94) 48%, rgba(7, 17, 31, 0.72) 100%),
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: auto, 72px 72px, 72px 72px;
}

html[dir="rtl"] .hero-badge {
    padding: 8px 16px;
}

html[dir="rtl"] .hero-buttons .btn-play {
    padding: 7px 7px 7px 20px;
}

html[dir="rtl"] .play-icon-wrapper {
    margin-right: 0;
    margin-left: 12px;
}

html[dir="rtl"] .card-1 {
    right: -50px;
    left: auto;
}

html[dir="rtl"] .card-2 {
    right: auto;
    left: -42px;
}

html[dir="rtl"] .card-3 {
    right: 10px;
    left: auto;
}

html[dir="rtl"] .hero-stats-strip {
    direction: rtl;
}

@media (max-width: 1024px) {
    .hero {
        min-height: auto;
        padding: 130px 0 95px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 75px;
        padding: 40px 0 20px;
    }

    .hero-content {
        max-width: 760px;
    }

    .hero-title {
        max-width: 760px;
        font-size: clamp(3.25rem, 7.8vw, 4.6rem);
    }

    .hero-features-bar,
    .hero-buttons {
        justify-content: center;
    }

    .hero-image-wrapper {
        width: min(78vw, 510px);
    }

    .hero-stats-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 20px;
    }

    .stat-divider {
        display: none;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 105px 0 72px;
    }

    .hero-container {
        width: min(91%, 540px);
        gap: 45px;
        padding: 28px 0 25px;
    }

    .hero-badge {
        margin-bottom: 20px;
        padding: 7px 14px;
    }

    .badge-text {
        font-size: 0.72rem;
        letter-spacing: 0.06em;
    }

    .hero-title {
        font-size: clamp(2.25rem, 10vw, 3.15rem);
        line-height: 1.12;
        letter-spacing: -0.04em;
    }

    .hero-description {
        margin-bottom: 24px;
        font-size: 0.96rem;
        line-height: 1.72;
    }

    .hero-features-bar {
        justify-content: center;
        gap: 10px;
        margin-bottom: 28px;
    }

    .hero-buttons {
        gap: 12px;
        flex-direction: column;
        width: 100%;
    }

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

    .hero-trust {
        width: 100%;
        justify-content: center;
        gap: 14px;
        padding: 15px 10px;
    }

    .trust-avatars img,
    .avatar-more {
        width: 36px;
        height: 36px;
    }

    .hero-image-wrapper {
        width: calc(100% - 20px);
        padding: 7px;
        border-radius: 28px;
    }

    .hero-image-wrapper::before {
        inset: 7px;
        border-radius: 21px;
    }

    .hero-main-img {
        border-radius: 21px;
    }

    .hero-image-backdrop {
        inset: 18px -10px -12px 18px;
        border-radius: 28px;
    }

    .hero-image-pattern {
        top: -25px;
        left: -20px;
        width: 90px;
        height: 90px;
    }

    .hero-photo-label {
        inset-inline-start: 24px;
        bottom: 23px;
    }

    .floating-card {
        display: none;
    }

    .hero-stats-strip {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 16px 20px;
    }

    .hero-shape-bottom svg {
        height: 35px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero *,
    .hero *::before,
    .hero *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
