/* ==========================================
   PFA LANDING PAGE - CUSTOM STYLING (CSS)
   Design System: Odoo Purple & Dark Slate luxury theme
   Author: COA Tech / Antigravity
   ========================================== */

/* Design Tokens & Variables */
:root {
    --primary: #0A3B5C;
    --primary-light: #125785;
    --primary-dark: #052033;
    --primary-rgb: 10, 59, 92;
    
    --accent: #E2231A;
    --accent-hover: #C11710;
    --accent-rgb: 226, 35, 26;
    
    --whatsapp: #25D366;
    --whatsapp-dark: #128C7E;
    
    --font-ar: 'Cairo', sans-serif;
    --font-en: 'Outfit', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius: 16px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    
    /* Default Light Theme Values */
    --secondary: #FFFFFF;
    --secondary-dark: #F8FAFC;
    --secondary-light: #F1F5F9;
    --secondary-rgb: 255, 255, 255;
    
    --text-light: #0F172A; /* main body text - dark in light theme */
    --text-muted: #475569; /* muted body text */
    --text-inverse: #FFFFFF; /* white text for buttons, badges, etc. */
    
    --card-bg: #FFFFFF;
    --card-border: rgba(var(--primary-rgb), 0.12);
    --card-glow: rgba(var(--primary-rgb), 0.04);
    
    --shadow-lg: 0 20px 25px -5px rgba(var(--primary-rgb), 0.08), 0 8px 10px -6px rgba(var(--primary-rgb), 0.08);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(var(--primary-rgb), 0.1);
}

body.dark-theme {
    /* Dark Theme Overrides */
    --secondary: #0F172A;
    --secondary-dark: #070B15;
    --secondary-light: #1E293B;
    --secondary-rgb: 15, 23, 42;
    
    --text-light: #F8FAFC; /* main body text - white in dark theme */
    --text-muted: #94A3B8; /* muted body text */
    --text-inverse: #FFFFFF; /* white text for buttons, badges, etc. */
    
    --card-bg: rgba(30, 41, 59, 0.45);
    --card-border: rgba(255, 255, 255, 0.06);
    --card-glow: rgba(var(--primary-rgb), 0.15);
    
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
    --glass-bg: rgba(15, 23, 42, 0.65);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

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

body {
    font-family: var(--font-ar);
    background-color: var(--secondary-dark);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
    text-align: right;
}

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

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

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

ul {
    list-style: none;
}

.lang-en {
    font-family: var(--font-en);
    direction: ltr;
    display: inline-block;
}

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

::-webkit-scrollbar-track {
    background: var(--secondary-dark);
}

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

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

/* Section Common Styles */
.section {
    padding: 100px 0;
    position: relative;
    z-index: 10;
}

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

.bg-dark-accent {
    background-color: var(--secondary);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.section-header {
    margin-bottom: 60px;
    max-width: 700px;
}

.section-header.text-center {
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 4px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--text-light);
    margin-bottom: 20px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Grids & Common Layout Utilities */
.grid {
    display: grid;
    gap: 30px;
}

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

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 12px 30px rgba(var(--primary-rgb), 0.15);
}

/* Button System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-inverse);
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-light);
    color: var(--text-light);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: var(--whatsapp);
    color: #FFF;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-dark);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    transform: translateY(-2px);
}

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

.btn-whatsapp-outline:hover {
    background-color: var(--whatsapp);
    color: #FFF;
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.15rem;
}

.btn-block {
    width: 100%;
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: rotate(45deg);
    transition: 0.5s;
    animation: shine 3s infinite;
}

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

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(var(--secondary-rgb), 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

.header-container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.logo-img {
    height: 52px;
    width: auto;
    border-radius: 8px;
    object-fit: contain;
    background-color: #FFFFFF;
    padding: 3px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.logo-link:hover .logo-img {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.15);
}

.nav-list {
    display: flex;
    gap: 20px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 8px 12px;
    position: relative;
}

.nav-link:hover {
    color: var(--text-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 2px;
    background-color: var(--primary);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: right;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.theme-toggle {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.theme-toggle:hover {
    background-color: var(--primary);
    color: #FFF;
    transform: rotate(360deg) scale(1.05);
}

body.dark-theme .theme-toggle {
    color: var(--accent);
}

body.dark-theme .theme-toggle:hover {
    background-color: var(--accent);
    color: var(--text-dark);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: 100px;
    overflow: hidden;
    position: relative;
}

/* Glow effects in Background */
.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.22;
    z-index: 1;
    pointer-events: none;
}

.glow-1 {
    width: 400px;
    height: 400px;
    background-color: var(--primary);
    top: 10%;
    right: -5%;
}

.glow-2 {
    width: 350px;
    height: 350px;
    background-color: var(--accent);
    bottom: 10%;
    left: -5%;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(var(--primary-rgb), 0.15);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    color: var(--primary-light);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: var(--primary-light);
    position: relative;
    z-index: 1;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: rgba(var(--primary-rgb), 0.25);
    z-index: -1;
    border-radius: 4px;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 35px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 600;
}

.hero-feature-item i {
    color: var(--accent);
    font-size: 1.2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.hero-urgency {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(var(--accent-rgb), 0.08);
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    border-radius: var(--border-radius);
    padding: 12px 20px;
    font-size: 0.95rem;
    width: fit-content;
}

.hero-urgency i {
    color: var(--accent);
}

.mini-timer {
    direction: ltr;
    font-family: var(--font-en);
    display: flex;
    gap: 6px;
    font-weight: 700;
}

.mini-timer .time-part {
    color: #CBD5E1; /* light gray for labels */
    background: #0F172A; /* solid dark slate background */
    border: 1px solid rgba(var(--accent-rgb), 0.35); /* gold border */
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    gap: 4px;
    font-size: 0.85rem;
}

.mini-timer .time-part b {
    color: var(--accent); /* gold for numbers */
}

/* Hero Image Wrapper */
.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.instructor-hero-img {
    width: 100%;
    border-radius: 30px;
    border: 4px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.2), rgba(15, 23, 42, 0.8));
    object-fit: cover;
    aspect-ratio: 4/5;
}

/* Floating Card Component */
.floating-card {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 15px 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 20;
    animation: float 6s ease-in-out infinite;
}

.info-card {
    bottom: 30px;
    right: -40px;
}

.info-card-icon {
    width: 42px;
    height: 42px;
    background-color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 1.25rem;
}

.info-card-text h3 {
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 2px;
}

.info-card-text p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.stats-card {
    top: 50px;
    left: -40px;
    flex-direction: column;
    align-items: flex-start;
    animation-delay: 2s;
    padding: 15px 25px;
}

.stats-number {
    font-family: var(--font-en);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-light);
}

.stats-card p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Odoo Badge decoration */
.odoo-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--primary);
    border-radius: 8px;
    padding: 6px 12px;
    color: #FFF;
    font-weight: 800;
    font-family: var(--font-en);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    z-index: 25;
}

.odoo-text {
    font-size: 1.1rem;
    letter-spacing: -0.5px;
}

.odoo-sub {
    font-size: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
    opacity: 0.8;
}

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

/* Stats Bar */
.stats-bar {
    background-color: var(--secondary-light);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 35px 0;
    position: relative;
    z-index: 30;
}

.stats-bar-container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 180px;
}

.stat-num {
    font-family: var(--font-en);
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-light);
    line-height: 1.2;
    margin-bottom: 5px;
}

.stat-num::after {
    content: '+';
    color: var(--accent);
}

.stat-item:nth-child(5) .stat-num::after {
    content: '%';
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background-color: var(--glass-border);
}

/* Outcomes / Core features */
.outcomes {
    background-color: var(--secondary-dark);
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 1.6rem;
    margin-bottom: 24px;
    transition: var(--transition);
}

.outcome-card:hover .card-icon {
    background-color: var(--primary);
    color: var(--text-inverse);
    transform: scale(1.1) rotate(5deg);
}

.outcome-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.outcome-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Syllabus Accordion */
.syllabus-accordion-wrapper {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    background-color: var(--secondary-dark);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.accordion-header {
    width: 100%;
    background: transparent;
    border: none;
    padding: 24px 30px;
    text-align: right;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.accordion-header:hover {
    background-color: rgba(255,255,255,0.02);
}

.accordion-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
}

.accordion-icon {
    font-size: 1.1rem;
    color: var(--primary-light);
    transition: transform 0.3s ease;
    margin-right: 15px;
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: rgba(15, 23, 42, 0.3);
}

.accordion-list {
    padding: 0 30px 24px 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accordion-list li {
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
    padding-right: 20px;
}

.accordion-list li::before {
    content: '←';
    position: absolute;
    right: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Accordion Active States */
.accordion-item.active {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.1);
}

.accordion-item.active .accordion-header {
    background-color: rgba(var(--primary-rgb), 0.05);
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
    color: var(--accent);
}

.accordion-item.active .accordion-body {
    max-height: 500px; /* arbitrary height to slide smoothly */
}

/* Instructor Bio */
.instructor-wrapper {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.instructor-img-box {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.instructor-main-img {
    width: 100%;
    border-radius: 30px;
    border: 4px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.2), rgba(15, 23, 42, 0.8));
}

.visual-badge {
    position: absolute;
    bottom: -15px;
    left: 20px;
    background-color: var(--accent);
    color: #FFF;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-md);
}

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

.instructor-bio {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.instructor-message {
    font-size: 1rem;
    color: var(--text-muted);
    font-style: italic;
    border-right: 4px solid var(--primary);
    padding-right: 20px;
    margin-bottom: 30px;
    line-height: 1.8;
}

.social-links-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-links-wrapper span {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-muted);
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--secondary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    border: 1px solid var(--glass-border);
}

.social-icon:hover {
    color: #FFF;
    transform: translateY(-3px);
}

.social-icon.fb:hover { background-color: #3b5998; border-color: #3b5998; }
.social-icon.ln:hover { background-color: #0077b5; border-color: #0077b5; }

/* Testimonials Carousel */
.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 0;
}

.testimonial-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-slide.active {
    display: block;
    opacity: 1;
}

.testimonial-content {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.rating {
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 25px;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 4px;
}

.testimonial-author p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--secondary-light);
    border: 1px solid var(--glass-border);
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    z-index: 10;
    transition: var(--transition);
}

.carousel-control:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

.carousel-control.prev { right: -60px; }
.carousel-control.next { left: -60px; }

/* Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    width: 28px;
    border-radius: 10px;
    background-color: var(--primary-light);
}

/* Pricing & Discount Urgency */
.pricing-container {
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(15, 23, 42, 0.4) 100%);
    border: 2px solid var(--primary);
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(var(--primary-rgb), 0.15);
    position: relative;
    overflow: hidden;
}

.offer-badge {
    position: absolute;
    top: 20px;
    right: -40px;
    transform: rotate(45deg);
    background-color: var(--accent);
    color: var(--text-dark);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 6px 40px;
    width: 180px;
    box-shadow: var(--shadow-sm);
}

.pricing-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 25px;
}

.price-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.old-price {
    font-family: var(--font-en);
    font-size: 1.6rem;
    color: var(--text-muted);
    text-decoration: line-through;
    opacity: 0.7;
}

.current-price {
    font-family: var(--font-en);
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    text-shadow: 0 0 15px rgba(var(--accent-rgb), 0.3);
}

.current-price .currency {
    font-family: var(--font-ar);
    font-size: 1.25rem;
    font-weight: 700;
    margin-right: 5px;
}

.pricing-description {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 550px;
    margin: 0 auto 35px auto;
}

/* Countdown Timer */
.countdown-wrapper {
    background-color: #0F172A; /* solid dark slate wrapper */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 35px;
}

.countdown-wrapper h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #F8FAFC; /* always white for contrast */
    margin-bottom: 15px;
}

.countdown {
    direction: ltr;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 75px;
    background: #1E293B; /* solid slate box */
    border: 1px solid rgba(var(--accent-rgb), 0.25); /* gold border */
    border-radius: 12px;
    padding: 10px;
}

.countdown-item .number {
    font-family: var(--font-en);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent); /* always gold numbers */
}

.countdown-item .label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #94A3B8; /* light gray labels */
    margin-top: 2px;
}

/* Payment Methods Grid */
.payment-methods {
    margin-bottom: 40px;
    text-align: right;
}

.payment-methods h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.payment-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: rgba(255,255,255,0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 12px 18px;
    font-size: 0.9rem;
    font-weight: 600;
}

.payment-item i {
    color: var(--primary-light);
    font-size: 1.15rem;
}

.pricing-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 450px;
    margin: 0 auto;
}

/* Booking Form */
.booking-container {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: center;
}

.booking-header {
    display: flex;
    flex-direction: column;
}

.contact-card {
    background-color: rgba(var(--primary-rgb), 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.25);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-top: 35px;
}

.contact-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.phone-link {
    font-family: var(--font-en);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-light);
    display: flex;
    align-items: center;
    gap: 15px;
}

.phone-link:hover {
    color: var(--accent);
}

.booking-form-box {
    background-color: var(--secondary-light);
    border: 1px solid var(--glass-border);
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-light);
}

.form-group label .required {
    color: #EF4444;
}

.form-group input,
.form-group select {
    background-color: var(--secondary-dark);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--text-light);
    font-family: var(--font-ar);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.25);
}

.form-group input::placeholder,
.form-group select::placeholder {
    color: var(--text-muted);
    opacity: 0.4;
}

.form-group select option {
    background-color: var(--secondary);
    color: var(--text-light);
}

/* FAQ Section */
.faq-accordion-wrapper {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background-color: var(--secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.faq-header {
    width: 100%;
    background: transparent;
    border: none;
    padding: 22px 25px;
    text-align: right;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--text-light);
    font-size: 1.05rem;
    font-weight: 700;
}

.faq-header:hover {
    background-color: rgba(255,255,255,0.02);
}

.faq-icon {
    font-size: 1rem;
    color: var(--primary-light);
    transition: transform 0.3s ease;
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: rgba(7, 11, 21, 0.25);
}

.faq-body p {
    padding: 0 25px 22px 25px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* FAQ Active States */
.faq-item.active {
    border-color: var(--primary);
}

.faq-item.active .faq-header {
    background-color: rgba(var(--primary-rgb), 0.05);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--accent);
}

.faq-item.active .faq-body {
    max-height: 300px;
}

/* Footer Section */
.footer {
    background-color: var(--secondary-dark);
    border-top: 1px solid var(--glass-border);
    padding-top: 80px;
    font-size: 0.95rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

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

.footer-logo-link {
    margin-bottom: 20px;
    display: inline-block;
}

.footer-desc {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    background-color: var(--secondary-light);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.footer-socials a:hover {
    color: #FFF;
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-light);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-right: 5px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact p {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact p i {
    color: var(--primary-light);
}

.footer-contact a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding: 25px 0;
    color: var(--text-muted);
    font-size: 0.85rem;
    opacity: 0.85;
}

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

.developer-credit a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.developer-credit a:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* Floating WhatsApp Widget */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--whatsapp);
    color: #FFF;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.floating-whatsapp::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--whatsapp);
    z-index: -1;
    animation: pulse 2s infinite;
}

.floating-whatsapp:hover {
    background-color: var(--whatsapp-dark);
    transform: scale(1.08);
}

.floating-text {
    position: absolute;
    right: 70px;
    background-color: var(--secondary-light);
    border: 1px solid var(--glass-border);
    color: var(--text-light);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
    pointer-events: none;
    box-shadow: var(--shadow-sm);
}

.floating-whatsapp:hover .floating-text {
    opacity: 1;
    transform: translateX(0);
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Success Modal Popup */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(7, 11, 21, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--secondary);
    border: 2px solid var(--primary);
    border-radius: 24px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: var(--transition);
}

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

.modal-close {
    position: absolute;
    top: 15px;
    left: 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--text-light);
}

.modal-icon {
    font-size: 4rem;
    color: var(--whatsapp);
    margin-bottom: 20px;
}

.modal h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.modal p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

/* Responsive Design System (Mobile-First / Adaptability) */

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-urgency {
        justify-content: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .instructor-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .instructor-img-box {
        max-width: 320px;
    }
    
    .booking-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .carousel-control.prev { right: -15px; }
    .carousel-control.next { left: -15px; }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .section {
        padding: 70px 0;
    }
    
    .hero {
        padding-top: 110px;
        padding-bottom: 50px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-urgency {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
        width: 100%;
        padding: 15px;
    }
    
    .logo-img {
        height: 44px;
    }
    
    .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .payment-grid {
        grid-template-columns: 1fr;
    }
    
    /* Navigation drawer for Mobile */
    .menu-toggle {
        display: block;
    }
    
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--secondary-dark);
        border-bottom: 1px solid var(--glass-border);
        padding: 0 24px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
        z-index: 999;
    }
    
    .nav.active {
        max-height: 400px;
        padding: 30px 24px;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-cta {
        display: none; /* Hide top CTA inside nav to avoid clutter */
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .stats-bar-container {
        flex-direction: column;
        gap: 25px;
    }
    
    .stats-number {
        font-size: 1.5rem;
    }
    
    .floating-card {
        padding: 10px 15px;
    }
    
    .stats-card {
        top: 30px;
        left: -15px;
        bottom: auto;
    }
    
    .info-card {
        bottom: 20px;
        right: -15px;
    }
    
    .pricing-card {
        padding: 40px 20px;
    }
    
    .current-price {
        font-size: 2.75rem;
    }
    
    .countdown-item {
        min-width: 60px;
        padding: 6px;
    }
    
    .countdown-item .number {
        font-size: 1.4rem;
    }
    
    .phone-link {
        font-size: 1.5rem;
    }
    
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.85rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .countdown {
        gap: 8px;
    }
    
    .countdown-item {
        min-width: 50px;
    }
}
