/* ==========================================
   MR. REDA "ANTIGRAVITY" PHYSICAL PLATFORM
   Main Stylesheet - Custom Vanilla CSS (RTL)
   ========================================== */

/* Color & Variable System */
:root {
    --primary-bg: #0A1F44;
    --primary-bg-darker: #05132c;
    --accent-gold: #C8A24A;
    --accent-gold-hover: #b48e36;
    --accent-gold-glow: rgba(200, 162, 74, 0.4);
    --text-white: #FFFFFF;
    --text-gray: #B0C4DE;
    --success-green: #2ecc71;
    --error-red: #e74c3c;
    --glass-bg: rgba(15, 32, 67, 0.65);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-gold: rgba(200, 162, 74, 0.25);
    --glass-blur: blur(16px);
    
    /* Typography */
    --font-cairo: 'Cairo', sans-serif;
    --font-tajawal: 'Tajawal', sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Reset & Base Rules */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-cairo);
    background-color: var(--primary-bg);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    direction: rtl;
    text-align: right;
}

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

ul {
    list-style: none;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--primary-bg-darker);
}
::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold-hover);
}

/* Global Grid Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.text-gold {
    color: var(--accent-gold);
}

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

.gold-text {
    color: var(--accent-gold) !important;
}

.mt-4 {
    margin-top: 1.5rem;
}

/* Buttons System */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font-cairo);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #E5C07B 100%);
    color: #000;
    border: none;
    box-shadow: 0 4px 15px rgba(200, 162, 74, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-gold-hover) 0%, var(--accent-gold) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 162, 74, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

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

.btn-glow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s ease-out;
    pointer-events: none;
}

.btn-glow:hover::after {
    transform: translate(-50%, -50%) scale(1.2);
}

/* Cosmic Animated Background */
.cosmic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #0c2756 0%, var(--primary-bg) 100%);
}

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(1px 1px at 20px 30px, #fff, rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 150px 100px, rgba(255,255,255,0.9), rgba(0,0,0,0)),
        radial-gradient(2px 2px at 400px 300px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 800px 600px, rgba(255,255,255,0.7), rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 1200px 80px, #fff, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 1500px 1500px;
    opacity: 0.35;
    animation: backgroundTwinkle 60s infinite linear;
}

.nebula-1, .nebula-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
    pointer-events: none;
}

.nebula-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #C8A24A 0%, rgba(200, 162, 74, 0) 70%);
    top: -200px;
    right: -100px;
    animation: nebulaMove 25s infinite ease-in-out alternate;
}

.nebula-2 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, #00f2fe 0%, rgba(0, 242, 254, 0) 70%);
    bottom: -300px;
    left: -200px;
    animation: nebulaMove 35s infinite ease-in-out alternate-reverse;
}

.physics-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 80px 80px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    opacity: 0.5;
}

/* Animations Keyframes */
@keyframes backgroundTwinkle {
    from { background-position: 0 0; }
    to { background-position: 1500px 3000px; }
}

@keyframes nebulaMove {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 50px) scale(1.15); }
}

@keyframes floatFormula {
    0% { transform: translateY(0) rotate(0deg); opacity: 0.15; }
    50% { transform: translateY(-15px) rotate(3deg); opacity: 0.35; }
    100% { transform: translateY(0) rotate(0deg); opacity: 0.15; }
}

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

@keyframes pulseGlow {
    0% { box-shadow: 0 0 10px rgba(200, 162, 74, 0.2); }
    50% { box-shadow: 0 0 25px rgba(200, 162, 74, 0.5); }
    100% { box-shadow: 0 0 10px rgba(200, 162, 74, 0.2); }
}

/* Main Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(10, 31, 68, 0.7);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    background: rgba(5, 19, 44, 0.9);
    padding: 10px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

.logo-area .logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    height: 64px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.2));
}

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

.brand-name {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.brand-tagline {
    font-size: 0.75rem;
    color: var(--text-gray);
    font-family: var(--font-tajawal);
}

.nav-menu ul {
    display: flex;
    gap: 25px;
}

.nav-link {
    font-family: var(--font-tajawal);
    font-weight: 500;
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-gray);
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-gold);
}

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

.header-actions .btn-primary,
.header-actions .btn-secondary {
    font-size: 0.85rem;
    padding: 8px 20px;
}

.mobile-toggle {
    display: none;
    background: rgba(200, 162, 74, 0.14);
    border: 1px solid var(--glass-border-gold);
    color: var(--text-white);
    font-size: 1.4rem;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    cursor: pointer;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    -webkit-tap-highlight-color: transparent;
}

.mobile-toggle:hover,
.mobile-toggle:focus-visible {
    background: rgba(200, 162, 74, 0.25);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    outline: none;
}

.mobile-toggle:active {
    transform: scale(0.94);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 160px 0 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.physics-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.formula {
    position: absolute;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    color: var(--text-gray);
    opacity: 0.2;
    animation: floatFormula 8s infinite ease-in-out;
}

.formula-1 { top: 20%; right: 10%; animation-delay: 0s; }
.formula-2 { top: 75%; right: 40%; animation-delay: 2s; }
.formula-3 { top: 40%; left: 5%; animation-delay: 4s; }
.formula-4 { bottom: 15%; right: 8%; animation-delay: 1s; }
.formula-5 { top: 15%; left: 45%; animation-delay: 3s; }

.tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200, 162, 74, 0.1);
    border: 1px solid var(--glass-border-gold);
    color: var(--accent-gold);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: var(--font-tajawal);
}

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

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 25px;
    font-family: var(--font-tajawal);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 35px;
    line-height: 1.8;
}

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

.hero-features-preview {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.preview-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-tajawal);
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* Graphic Area & Frame */
.hero-graphic-content {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
}

.image-frame-container {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1 / 1.15;
}

.background-radial-glow {
    position: absolute;
    width: 130%;
    height: 130%;
    background: radial-gradient(circle, rgba(200, 162, 74, 0.15) 0%, rgba(10, 31, 68, 0) 70%);
    top: -15%;
    left: -15%;
    z-index: -1;
    filter: blur(30px);
}

.cosmic-orbit {
    position: absolute;
    border: 1px dashed rgba(200, 162, 74, 0.2);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.orbit-1 {
    width: 110%;
    height: 110%;
    animation: orbitAnimation 40s infinite linear;
}

.orbit-2 {
    width: 125%;
    height: 125%;
    animation: orbitAnimation 60s infinite linear reverse;
}

.floating-atoms {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 3;
}

.atom-particle {
    position: absolute;
    color: var(--accent-gold);
    font-size: 1.5rem;
    filter: drop-shadow(0 0 8px var(--accent-gold));
    animation: floatFormula 6s infinite ease-in-out;
}

.atom-particle.p1 { top: 10%; left: 5%; animation-delay: 0s; }
.atom-particle.p2 { bottom: 20%; right: -5%; animation-delay: 2s; }
.atom-particle.p3 { top: 50%; right: -10%; animation-delay: 4s; }

.glass-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    background: var(--glass-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.glass-image-wrapper:hover .hero-banner-image {
    transform: scale(1.05);
}

.glass-card-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(10, 31, 68, 0.75);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    padding: 15px 20px;
    border-radius: 16px;
    z-index: 4;
}

.instructor-tag {
    display: inline-block;
    background: var(--accent-gold);
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 6px;
    font-family: var(--font-tajawal);
}

.glass-card-overlay h4 {
    font-size: 1.15rem;
    font-weight: 700;
}

.glass-card-overlay p {
    font-size: 0.8rem;
    color: var(--text-gray);
    font-family: var(--font-tajawal);
}

/* Stats Row */
.stats-row-section {
    padding: 30px 0;
    background: rgba(5, 19, 44, 0.5);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    position: relative;
    z-index: 5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    transition: var(--transition-smooth);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--glass-border-gold);
    transform: translateY(-3px);
}

.stat-icon {
    font-size: 2rem;
    color: var(--accent-gold);
    width: 50px;
    height: 50px;
    background: rgba(200, 162, 74, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-info .stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.2;
}

.stat-info .stat-label {
    font-size: 0.85rem;
    color: var(--text-gray);
    font-family: var(--font-tajawal);
}

/* Section Header Base */
.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.3rem;
    font-weight: 800;
    margin-top: 10px;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
    font-family: var(--font-tajawal);
}

/* Why Choose Section */
.features-section {
    padding: 100px 0;
    position: relative;
    z-index: 5;
}

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

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: var(--glass-blur);
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(200, 162, 74, 0.1);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--accent-gold);
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(200, 162, 74, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
    font-family: var(--font-tajawal);
}

/* Curriculum Section */
.curriculum-section {
    padding: 100px 0;
    background: rgba(5, 19, 44, 0.3);
    position: relative;
    z-index: 5;
}

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

.curriculum-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 35px 30px;
    backdrop-filter: var(--glass-blur);
    transition: var(--transition-smooth);
    position: relative;
    display: flex;
    flex-direction: column;
}

.featured-curr-card {
    border: 1.5px solid var(--accent-gold);
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4), 0 0 20px rgba(200, 162, 74, 0.15);
}

.curriculum-card:hover {
    transform: translateY(-12px);
    border-color: var(--accent-gold);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 25px rgba(200, 162, 74, 0.2);
}

.curr-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.gold-badge {
    background: rgba(200, 162, 74, 0.15);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.curr-icon {
    font-size: 2.5rem;
    color: var(--text-white);
    margin-bottom: 25px;
    margin-top: 15px;
}

.curriculum-card h3 {
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.curr-description {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.6;
    font-family: var(--font-tajawal);
    min-height: 50px;
}

.curr-details {
    margin-bottom: 30px;
    flex-grow: 1;
}

.curr-details li {
    font-family: var(--font-tajawal);
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.curr-details li i {
    color: var(--accent-gold);
    font-size: 0.8rem;
}

.curr-action {
    margin-top: auto;
}

.curr-action .btn-primary {
    width: 100%;
}

/* About/Instructor Section */
.about-section {
    padding: 100px 0;
    position: relative;
    z-index: 5;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: center;
}

.about-image-wrap {
    position: relative;
    display: flex;
    justify-content: center;
}

.brand-identity-img {
    width: 100%;
    max-width: 380px;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    background: var(--glass-bg);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #E5C07B 100%);
    color: #000;
    padding: 15px 25px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(200, 162, 74, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.exp-num {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
}

.exp-text {
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-tajawal);
}

.about-text-wrap .about-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-top: 10px;
    margin-bottom: 20px;
}

.about-lead {
    font-size: 1.15rem;
    color: var(--text-white);
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.7;
}

.about-body {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.8;
    font-family: var(--font-tajawal);
}

.about-cta-container {
    margin-top: 30px;
}

/* Footer Section */
.main-footer {
    background: var(--primary-bg-darker);
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 20px;
    position: relative;
    z-index: 5;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 50px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand .footer-logo {
    height: 60px;
    margin-bottom: 15px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.footer-brand p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
    font-family: var(--font-tajawal);
}

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

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
}

.social-icon:hover {
    background: var(--accent-gold);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(200, 162, 74, 0.3);
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-gold);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--text-gray);
    font-family: var(--font-tajawal);
    font-size: 0.9rem;
}

.footer-links ul li a:hover {
    color: var(--accent-gold);
    padding-right: 5px;
}

.footer-contact p {
    color: var(--text-gray);
    font-family: var(--font-tajawal);
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    color: rgba(255,255,255,0.3);
    font-size: 0.8rem;
    font-family: var(--font-tajawal);
}

/* ==========================================
   REGISTRATION ONBOARDING MODAL STYLING
   ========================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 13, 28, 0.8);
    backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

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

.modal-card {
    background: rgba(10, 31, 68, 0.85);
    border: 1px solid var(--glass-border-gold);
    backdrop-filter: var(--glass-blur);
    width: 100%;
    max-width: 680px;
    border-radius: 28px;
    padding: 40px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.6), 0 0 30px rgba(200, 162, 74, 0.15);
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.open .modal-card {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 10;
}

.modal-close-btn:hover {
    background: var(--error-red);
    color: #fff;
    border-color: var(--error-red);
    transform: rotate(90deg);
}

/* Onboarding Stepper Header */
.modal-progress-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 35px;
    position: relative;
    padding: 0 10px;
}

.progress-line {
    position: absolute;
    top: 20px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
    transition: var(--transition-smooth);
}

.progress-line::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background: var(--accent-gold);
    transition: var(--transition-smooth);
}

.modal-progress-bar.step2-active .progress-line::before {
    width: 100%;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
    position: relative;
}

.step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-bg-darker);
    border: 2px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-gray);
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.step-label {
    font-size: 0.8rem;
    color: var(--text-gray);
    font-weight: 600;
    font-family: var(--font-tajawal);
    transition: var(--transition-smooth);
}

.progress-step.active .step-num {
    background: var(--accent-gold);
    color: #000;
    border-color: var(--accent-gold);
    box-shadow: 0 0 15px rgba(200,162,74,0.4);
}

.progress-step.active .step-label {
    color: var(--accent-gold);
}

.progress-step.completed .step-num {
    background: var(--success-green);
    color: #fff;
    border-color: var(--success-green);
}

/* Step Layout Content transitions */
.form-step-content {
    display: none;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.form-step-content.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.step-header {
    margin-bottom: 25px;
}

.step-header h2 {
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-header p {
    font-size: 0.85rem;
    color: var(--text-gray);
    font-family: var(--font-tajawal);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

/* Full width for Governorates & Name fields on small devices, handled via grid */
.form-grid .form-group:nth-child(1) {
    grid-column: span 2;
}

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

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

.form-group label .required {
    color: var(--error-red);
}

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

.input-wrapper input, .input-wrapper select {
    width: 100%;
    background: rgba(5, 13, 28, 0.4);
    border: 1px solid var(--glass-border);
    padding: 12px 45px 12px 15px; /* RTL inputs need icon on right */
    border-radius: 12px;
    color: var(--text-white);
    font-family: var(--font-cairo);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    outline: none;
}

.input-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23C8A24A'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 12px center;
    background-size: 20px;
}

.input-wrapper input:focus, .input-wrapper select:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 12px rgba(200, 162, 74, 0.25);
    background: rgba(5, 13, 28, 0.6);
}

.input-icon {
    position: absolute;
    right: 15px;
    color: var(--text-gray);
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.input-wrapper input:focus + .input-icon,
.input-wrapper select:focus + .input-icon {
    color: var(--accent-gold);
}

.input-helper {
    font-size: 0.75rem;
    color: var(--text-gray);
    font-family: var(--font-tajawal);
}

.error-msg {
    font-size: 0.78rem;
    color: var(--error-red);
    font-weight: 600;
    min-height: 18px;
    display: block;
    margin-top: 2px;
}

/* Validation Indicator Badges */
.val-container {
    position: relative;
}

.val-badge {
    position: absolute;
    right: 15px; /* Validation badge goes to right of input, replacing gold icon */
    top: 50%;
    transform: translateY(-50%) scale(0.6);
    font-size: 1.1rem;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.success-badge {
    color: var(--success-green);
}

.error-badge {
    color: var(--error-red);
}

.val-container.valid .input-icon,
.val-container.invalid .input-icon {
    opacity: 0 !important;
}

.val-container.valid input {
    border-color: var(--success-green);
    background: rgba(46, 204, 113, 0.03);
}

.val-container.valid .success-badge {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.val-container.invalid input {
    border-color: var(--error-red);
    background: rgba(231, 76, 60, 0.03);
}

.val-container.invalid .error-badge {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.form-navigation-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
    margin-top: 10px;
}

.form-navigation-actions .btn-primary,
.form-navigation-actions .btn-secondary {
    padding: 10px 24px;
}

.form-navigation-actions button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Step 2: Curriculum Cards Inside Modal */
.grade-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 10px;
}

.grade-card {
    background: rgba(5, 13, 28, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 20px 15px;
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition-smooth);
}

.grade-card .card-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(200, 162, 74, 0.15) 0%, transparent 70%);
    top: -75px;
    left: -75px;
    border-radius: 50%;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.grade-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 2px 10px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 700;
    margin-bottom: 12px;
    font-family: var(--font-tajawal);
}

.grade-icon {
    font-size: 1.8rem;
    color: var(--text-gray);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    margin-bottom: 12px;
    transition: var(--transition-smooth);
}

.grade-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.grade-subtitle {
    font-size: 0.72rem;
    color: var(--text-gray);
    margin-bottom: 15px;
    font-family: var(--font-tajawal);
}

.grade-topics {
    width: 100%;
    margin-bottom: auto;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 10px;
    display: none; /* Hide topic lists on modal cards to save height space, or show condensed version */
}

.select-indicator {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: var(--accent-gold);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    opacity: 0;
    transition: var(--transition-smooth);
}

/* Grade Selected State */
.grade-card.selected {
    border-color: var(--accent-gold);
    background: rgba(200, 162, 74, 0.06);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.grade-card.selected .grade-icon {
    color: var(--accent-gold);
    background: rgba(200, 162, 74, 0.1);
    transform: scale(1.1);
}

.grade-card.selected .select-indicator {
    bottom: 10px;
    opacity: 1;
}

/* Submit state spinner loader */
.spinner-loader {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-top-color: #000;
    border-radius: 50%;
    display: inline-block;
    animation: rotateLoading 0.8s infinite linear;
    display: none;
}

.btn-primary.loading .spinner-loader {
    display: inline-block;
}

.btn-primary.loading i {
    display: none;
}

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

/* Success Message Container */
.registration-success-message {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0;
    animation: successFadeIn 0.5s ease-out forwards;
}

@keyframes successFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.success-icon-wrap {
    position: relative;
    width: 80px;
    height: 80px;
    background: var(--success-green);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 25px;
    box-shadow: 0 8px 20px rgba(46, 204, 113, 0.3);
}

.success-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--success-green);
    border-radius: 50%;
    animation: successRingPulse 1.8s infinite ease-out;
}

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

.registration-success-message h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.registration-success-message p {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 25px;
    font-family: var(--font-tajawal);
}

.registered-details-box {
    width: 100%;
    max-width: 380px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: right;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95rem;
    font-family: var(--font-tajawal);
}

.detail-row:last-child {
    margin-bottom: 0;
}

.detail-row strong {
    color: var(--text-gray);
}

.success-status-note {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-family: var(--font-tajawal);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ==========================================
   RESPONSIVE LAYOUT MEDIA QUERIES
   ========================================== */

/* Tablets & Small Laptops */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .hero-text-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .curriculum-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .featured-curr-card {
        transform: none;
    }
    
    .curriculum-card:hover {
        transform: translateY(-5px);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .about-text-wrap {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .footer-links h4::after, .footer-contact h4::after {
        right: 50%;
        transform: translateX(50%);
    }
    
    .footer-socials {
        justify-content: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    .main-header {
        padding: 5px 0;
    }
    
    .nav-menu {
        display: none; /* Mobile menu drawer toggle */
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: rgba(5, 19, 44, 0.98);
        border-top: 1px solid var(--glass-border-gold);
        border-bottom: 1px solid var(--glass-border);
        padding: 10px 16px 20px;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
        z-index: 200;
    }
    
    .nav-menu.open {
        display: block;
        animation: navDropIn 0.25s ease;
    }
    
    @keyframes navDropIn {
        from { opacity: 0; transform: translateY(-8px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 2px;
    }
    
    .nav-menu ul li a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 13px 16px;
        border-radius: 10px;
        font-size: 0.95rem;
        font-weight: 600;
    }
    
    .nav-menu ul li + li {
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }
    
    .nav-menu ul li a:hover,
    .nav-menu ul li a.active {
        background: rgba(200, 162, 74, 0.12);
        color: var(--accent-gold);
    }
    
    .header-actions {
        display: none; /* Hide header buttons on mobile, or move inside drawer */
    }
    
    .mobile-toggle {
        display: inline-flex;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-grid .form-group:nth-child(1) {
        grid-column: span 1;
    }
    
    .grade-cards-container {
        grid-template-columns: 1fr;
    }
    
    .modal-card {
        padding: 30px 20px;
    }
    
    .modal-progress-bar {
        margin-bottom: 25px;
    }
    
    .step-label {
        font-size: 0.7rem;
    }
}

/* ==========================================
   Centers & Booking Additions
   ========================================== */

/* Hero Alert Banner */
.booking-alert-banner {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(200, 162, 74, 0.08);
    border: 1px dashed var(--accent-gold-glow);
    border-radius: 12px;
    padding: 12px 20px;
    margin-bottom: 25px;
    font-size: 0.95rem;
    color: var(--text-white);
    animation: alertBorderGlow 3s infinite alternate;
}

.alert-icon-pulse {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gold);
    color: #000;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 0.9rem;
    animation: alertIconPulse 2s infinite;
}

.gold-text-highlight {
    color: var(--accent-gold);
    font-weight: 800;
    text-shadow: 0 0 10px var(--accent-gold-glow);
}

@keyframes alertBorderGlow {
    0% {
        border-color: rgba(200, 162, 74, 0.2);
        box-shadow: 0 0 5px rgba(200, 162, 74, 0.05);
    }
    100% {
        border-color: rgba(200, 162, 74, 0.6);
        box-shadow: 0 0 15px rgba(200, 162, 74, 0.15);
    }
}

@keyframes alertIconPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(200, 162, 74, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(200, 162, 74, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(200, 162, 74, 0);
    }
}

/* Centers Section */
.centers-section {
    padding: 80px 0;
    position: relative;
}

.centers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.center-card {
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: var(--glass-blur);
    transition: var(--transition-smooth);
    overflow: hidden;
}

.center-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(200,162,74,0.05) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
    transition: var(--transition-smooth);
}

.center-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-gold);
    box-shadow: 0 15px 35px rgba(200, 162, 74, 0.15);
}

.center-card:hover .center-card-glow {
    background: radial-gradient(circle, rgba(200,162,74,0.1) 0%, rgba(0,0,0,0) 60%);
}

.center-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 20px;
}

.center-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200, 162, 74, 0.1);
    color: var(--accent-gold);
    width: 55px;
    height: 55px;
    border-radius: 15px;
    font-size: 1.5rem;
    border: 1px solid var(--glass-border-gold);
    transition: var(--transition-smooth);
}

.center-card:hover .center-icon {
    background: var(--accent-gold);
    color: #000;
    transform: scale(1.1) rotate(5deg);
}

.center-card-header h3 {
    font-family: var(--font-tajawal);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-white);
}

.center-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.detail-item i {
    font-size: 1.2rem;
    margin-top: 4px;
}

.detail-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 3px;
}

.detail-val {
    font-size: 1.05rem;
    color: var(--text-white);
    font-weight: 600;
}

/* Dates Banner / Timeline */
.dates-banner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: rgba(10, 31, 68, 0.5);
    border: 1px solid var(--glass-border-gold);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: var(--glass-blur);
    margin: 50px auto 0 auto;
    max-width: 900px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.date-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.date-item i {
    font-size: 2.2rem;
}

.date-text {
    display: flex;
    flex-direction: column;
}

.date-label {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.date-val {
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-tajawal);
    line-height: 1;
    margin-top: 5px;
}

.date-separator {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--accent-gold);
    font-size: 1.5rem;
    opacity: 0.6;
}

.pulse-line {
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, rgba(200,162,74,0) 0%, var(--accent-gold) 50%, rgba(200,162,74,0) 100%);
    animation: linePulse 2s infinite alternate;
}

@keyframes linePulse {
    0% {
        opacity: 0.3;
        transform: scaleX(0.8);
    }
    100% {
        opacity: 1;
        transform: scaleX(1.2);
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .centers-grid {
        grid-template-columns: 1fr;
    }
    
    .dates-banner {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .date-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .date-separator {
        transform: rotate(90deg);
        margin: 10px 0;
    }
    
    .pulse-line {
        width: 40px;
    }
}

@media (max-width: 576px) {
    .booking-alert-banner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .center-card {
        padding: 25px;
    }
}

/* ==========================================
   3-Step Progress Bar & Payments CSS
   ========================================== */

/* Override original absolute positioning of progress line to support flex layout */
.modal-progress-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-progress-bar .progress-line {
    position: relative;
    flex-grow: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.15);
    top: -12px; /* Align with center of the 40px circle */
    margin: 0 15px;
    z-index: 1;
    left: auto;
    right: auto;
}

.modal-progress-bar .progress-line::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background: var(--success-green);
    transition: var(--transition-smooth);
}

.modal-progress-bar.step2-active #pLine1::before {
    width: 100%;
}

.modal-progress-bar.step3-active #pLine1::before,
.modal-progress-bar.step3-active #pLine2::before {
    width: 100%;
}

/* Payment Cards Styles */
.payment-methods-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.payment-card {
    background: rgba(5, 13, 28, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 25px 15px;
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition-smooth);
}

.payment-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-gold-glow);
}

.payment-card-icon {
    font-size: 2rem;
    color: var(--text-gray);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    margin-bottom: 15px;
    transition: var(--transition-smooth);
}

.payment-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: var(--font-cairo);
}

.payment-card p {
    font-size: 0.75rem;
    color: var(--text-gray);
    font-family: var(--font-tajawal);
    line-height: 1.4;
}

/* Payment Selected State */
.payment-card.selected {
    border-color: var(--accent-gold);
    background: rgba(200, 162, 74, 0.06);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.payment-card.selected .payment-card-icon {
    color: var(--accent-gold);
    background: rgba(200, 162, 74, 0.1);
    transform: scale(1.1);
}

.payment-card.selected .select-indicator {
    bottom: 10px;
    opacity: 1;
}

/* Payment Instruction Box */
.payment-instructions-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px;
    margin-top: 25px;
    font-family: var(--font-tajawal);
    font-size: 0.9rem;
    line-height: 1.6;
}

.payment-instructions-box p {
    margin-bottom: 5px;
}
.payment-instructions-box p:last-child {
    margin-bottom: 0;
}

/* Screenshot File Upload Styling */
.file-upload-wrapper {
    position: relative;
    width: 100%;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload-trigger {
    background: rgba(5, 13, 28, 0.4);
    border: 1px dashed var(--glass-border-gold);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
}

.file-upload-wrapper:hover .file-upload-trigger {
    border-color: var(--accent-gold);
    background: rgba(5, 13, 28, 0.6);
}

.file-upload-trigger i {
    font-size: 2.2rem;
    transition: var(--transition-smooth);
}

.file-upload-wrapper:hover .file-upload-trigger i {
    transform: translateY(-3px);
}

.file-upload-trigger span {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-family: var(--font-tajawal);
}

.val-container.valid .file-upload-trigger {
    border-color: var(--success-green);
    background: rgba(46, 204, 113, 0.03);
}

.val-container.invalid .file-upload-trigger {
    border-color: var(--error-red);
    background: rgba(231, 76, 60, 0.03);
}

/* Adjust Responsive for Payment Cards */
@media (max-width: 768px) {
    .payment-methods-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}
