/* ==========================================================================
   Variables & Theme Setup
   ========================================================================== */
:root {
    --bg-dark: #071B2C;
    --bg-card: #0B2438;
    --primary: #00D9FF;
    --secondary: #2563FF;
    --accent: #57FF6A;
    --text-main: #FFFFFF;
    --text-muted: #9DB7CC;
    --border-light: rgba(255, 255, 255, 0.08);
    
    --font-en: 'Space Grotesk', sans-serif;
    --font-ar: 'Cairo', sans-serif;
    
    --glow-primary: 0 0 20px rgba(0, 217, 255, 0.5);
    --glow-secondary: 0 0 20px rgba(37, 99, 255, 0.5);
    --glow-accent: 0 0 20px rgba(87, 255, 106, 0.4);
    
    --glass-bg: rgba(11, 36, 56, 0.6);
    --glass-blur: blur(16px);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

.arabic {
    font-family: var(--font-ar);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: 120px 0;
}
.navbar-light  {
    display :none;
}
.web-footer{
    display:none;
}

.h1, .h2, .h3, .h4, .h5, .h6, {
    color:#fff;
}

/* Background Effects */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
}

.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.4;
    animation: floatGlow 15s ease-in-out infinite alternate;
}

.bg-glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--secondary), transparent 70%);
    top: -100px;
    left: -100px;
}

.bg-glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary), transparent 70%);
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

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

/* Typography & Utils */
.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.glow-text {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(0,217,255,0.7);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color:var(--primary) !important;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: #fff;
    border: none;
    box-shadow: var(--glow-secondary);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: all 0.5s;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
}

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

.btn-secondary {
    background: #25D366; /* WhatsApp Green */
    color: #fff;
    border: none;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.4);
}

.btn-secondary:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-main);
    backdrop-filter: var(--glass-blur);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(0, 217, 255, 0.1);
}

/* ==========================================================================
   Navbar
   ========================================================================== */
nav {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 20px 0;
    z-index: 100;
    transition: all 0.4s ease;
}

nav.scrolled {
    padding: 12px 0;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-container {
    width: 45px;
    height: 45px;
    position: relative;
    cursor: pointer;
}

.animated-logo {
    width: 100%;
    height: 100%;
    transform-origin: center;
}

.outer-ring {
    transform-origin: 50px 50px;
    animation: spinSlow 15s linear infinite;
}

.inner-ring {
    transform-origin: 50px 50px;
    animation: spinSlowReverse 10s linear infinite;
}

.logo-container:hover .outer-ring {
    stroke: var(--accent);
    filter: drop-shadow(0 0 8px var(--accent));
}

.logo-container:hover .logo-letter {
    fill: var(--primary);
    filter: drop-shadow(0 0 5px var(--primary));
}

.pulse-dot {
    animation: pulseDot 2s infinite alternate;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0; width: 0%; height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

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

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

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.3);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.badge .dot {
    width: 8px; height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: var(--glow-primary);
    animation: blink 1.5s infinite;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
    color:white;
}

.hero-title .arabic {
    font-size: 2.8rem;
    display: block;
    margin-top: 10px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border-light);
    padding-top: 30px;
}

.stat-item {
    font-size: 1rem;
    color: var(--text-muted);
}

.stat-item span {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

/* Animated HTML/CSS Dashboard */
.hero-dashboard {
    position: relative;
    perspective: 1000px;
}

.dash-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.05);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.hero-dashboard:hover .dash-glass {
    transform: rotateY(0deg) rotateX(0deg);
}

.dash-header {
    height: 50px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    padding: 0 20px;
    justify-content: space-between;
    background: rgba(0,0,0,0.2);
}

.dash-circles {
    display: flex;
    gap: 6px;
}

.dash-circles span {
    width: 10px; height: 10px; border-radius: 50%;
    background: #ff5f56;
}
.dash-circles span:nth-child(2) { background: #ffbd2e; }
.dash-circles span:nth-child(3) { background: #27c93f; }

.dash-search {
    width: 200px; height: 24px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.dash-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bell-shake {
    color: var(--text-muted);
    animation: shake 4s infinite;
}

.avatar {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.dash-body {
    display: flex;
    height: 400px;
}

.dash-sidebar {
    width: 60px;
    border-right: 1px solid var(--border-light);
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background: rgba(0,0,0,0.1);
}

.dash-nav-item {
    width: 30px; height: 30px;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    transition: all 0.3s;
}

.dash-nav-item.active {
    background: var(--primary);
    box-shadow: var(--glow-primary);
}

.dash-main {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dash-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.dash-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.dash-card::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    animation: shine 4s infinite;
}

.card-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(0, 217, 255, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 15px;
}

.card-info {
    flex: 1;
}

.card-title {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.card-value {
    font-size: 1.2rem;
    font-weight: 700;
}

.card-chart {
    width: 60px;
}

.sparkline {
    width: 100%; height: 100%;
    overflow: visible;
}

.dash-middle {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
    flex: 1;
}

.dash-chart-panel, .dash-ring-panel {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.panel-head {
    font-size: 0.85rem;
    margin-bottom: 15px;
    color: var(--primary) !important;
    text-shadow: var(--glow-primary);
    font-weight: 600;
    letter-spacing: 1px;
}

.bar-chart {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
}

.bar-col {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: flex-end;
    background: rgba(255,255,255,0.02);
    border-radius: 4px;
}

.bar {
    width: 100%;
    background: linear-gradient(0deg, var(--secondary), var(--primary));
    border-radius: 4px;
    height: 0; /* Animated by JS/CSS */
    animation: growBar 1.5s ease-out forwards;
}

.dash-ring-panel {
    align-items: center;
}

.progress-ring {
    width: 80px; height: 48px;
    transform: rotate(-90deg);
}

.ring-bg {
    fill: none; stroke: rgba(255,255,255,0.05); stroke-width: 8;
}

.ring-fill {
    fill: none; stroke: var(--accent); stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dashoffset 1.5s ease-out;
    animation: ringProgress 2s ease-out forwards;
}

.ring-text {
    fill: #fff; font-size: 24px; font-weight: 700; font-family: var(--font-en);
    transform: rotate(90deg) translate(0px, -50px);
    transform-origin: center;
    text-anchor: middle;
}

.dash-list {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    padding: 8px;
    border-radius: 6px;
    background: rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.list-item:hover {
    transform: translateX(5px);
    background: rgba(255,255,255,0.05);
}

.list-dot {
    width: 8px; height: 8px; border-radius: 50%;
}

.list-text {
    flex: 1;
    color: var(--text-muted);
}

.list-status {
    padding: 2px 8px;
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    font-size: 0.7rem;
}

/* ==========================================================================
   Statistics
   ========================================================================== */
.statistics {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
    text-shadow: var(--glow-primary);
}

.stat-label {
    color: var(--text-muted);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--border-light), transparent);
}

/* ==========================================================================
   Features
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.glass-card {
    background: rgba(11, 36, 56, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.glass-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0, 217, 255, 0.3);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4), inset 0 0 20px rgba(0, 217, 255, 0.05);
}

.feature-icon {
    width: 60px; height: 60px;
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 25px;
    transition: all 0.4s;
}

.glass-card:hover .feature-icon {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--glow-primary);
    transform: rotateY(180deg);
}

.glass-card h3 {
    background: linear-gradient(135deg, var(--text-main) 30%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    text-shadow: 0 0 15px rgba(0, 217, 255, 0.15);
    transition: text-shadow 0.3s ease;
    /*font-size: 1.4rem;*/
    /*margin-bottom: 15px;*/
}
.glass-card:hover h3 {
    background: linear-gradient(90deg, var(--text-main), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(0, 217, 255, 0.4);
}
.glass-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

.card-glow {
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(0,217,255,0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.glass-card:hover .card-glow {
    opacity: 1;
}

/* ==========================================================================
   Workflow / Timeline
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%; top: 0;
    width: 2px; height: 100%;
    background: rgba(255,255,255,0.05);
    transform: translateX(-50%);
}

.timeline-progress {
    width: 100%; height: 0%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    box-shadow: var(--glow-primary);
    transition: height 0.5s ease;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 30px 40px;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 50px;
    width: 20px; height: 20px;
    background: var(--bg-dark);
    border: 4px solid var(--primary);
    border-radius: 50%;
    z-index: 2;
    transition: all 0.3s;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item.right .timeline-dot {
    left: -10px;
}

.timeline-item:hover .timeline-dot {
    background: var(--primary);
    box-shadow: var(--glow-primary);
    transform: scale(1.3);
}

.timeline-content {
    padding: 30px;
}

.step-num {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255,255,255,0.05);
    position: absolute;
    top: 10px; right: 20px;
    transition: color 0.3s;
}

.timeline-item.right .step-num {
    right: auto; left: 20px;
}

.timeline-item:hover .step-num {
    color: rgba(0, 217, 255, 0.2);
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.timeline-content .arabic {
    color: var(--primary);
    font-size: 1.2rem;
}

/* ==========================================================================
   Industries
   ========================================================================== */
.industries-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.ind-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-light);
    padding: 20px 30px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
}

.ind-item i {
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: color 0.3s;
}

.ind-item:hover {
    background: rgba(0, 217, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 217, 255, 0.1);
}

.ind-item:hover i {
    color: var(--primary);
    text-shadow: var(--glow-primary);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: rgba(0,0,0,0.3);
    border-top: 1px solid var(--border-light);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand h2 {
    font-size: 2rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color:var(--primary);
    font-weight: 600;
    letter-spacing: 11px;
    text-shadow: 0 0 10px rgba(162 162 196 / 93%);
}

.footer-brand p {
    color: var(--text-muted);
    margin-bottom: 25px;
    max-width: 300px;
}

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

.social-links a {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--glow-primary);
    transform: translateY(-3px);
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: #fff;
}

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

.footer-links a {
    color: var(--text-muted);
    transition: color 0.3s, padding-left 0.3s;
}

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

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

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

.footer-bottom {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px; height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s;
}

.floating-wa:hover {
    transform: scale(1.1);
}

.pulse-wa::before, .pulse-wa::after {
    content: '';
    position: absolute;
    width: 100%; height: 100%;
    background: #25D366;
    border-radius: 50%;
    z-index: -1;
    opacity: 0.7;
    animation: waPulse 2s infinite;
}
.pulse-wa::after {
    animation-delay: 1s;
}

@keyframes waPulse {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* ==========================================================================
   Animations & Reveals
   ========================================================================== */
@keyframes spinSlow { 100% { transform: rotate(360deg); } }
@keyframes spinSlowReverse { 100% { transform: rotate(-360deg); } }
@keyframes pulseDot { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(1.5); opacity: 1; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes shake { 0%, 100% { transform: rotate(0); } 5%, 15% { transform: rotate(10deg); } 10%, 20% { transform: rotate(-10deg); } 25% { transform: rotate(0); } }
@keyframes shine { 100% { left: 100%; } }
@keyframes growBar { 0% { height: 0; } 100% { height: var(--h); } }
@keyframes ringProgress { 100% { stroke-dashoffset: 60; } } /* from 251 to 60 */

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}
.slide-right { transform: translateX(-50px); }
.slide-left { transform: translateX(50px); }
.fade-up { transform: translateY(50px); }
.fade-right { transform: translateX(-50px); }
.fade-left { transform: translateX(50px); }
.scale-up { transform: scale(0.9); }
.pop-in { transform: scale(0.8); opacity: 0; transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275); }

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1200px) {
    .hero-title { font-size: 3rem; }
    .hero-title .arabic { font-size: 2.4rem; }
    .hero-container { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-content { display: flex; flex-direction: column; align-items: center; }
    .hero-stats { justify-content: center; }
    .glass-panel { flex-wrap: wrap; gap: 30px; justify-content: center; }
    .stat-divider { display: none; }
}

@media (max-width: 992px) {
    .nav-links { display: none; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-brand p { margin: 0 auto 25px auto; }
    .social-links { justify-content: center; }
    .footer-contact ul { align-items: center; }
    .timeline::before { left: 30px; }
    .timeline-line { left: 30px; }
    .timeline-item { width: 100%; padding-left: 80px; text-align: left; }
    .timeline-item:nth-child(odd) { left: 0; text-align: left; }
    .timeline-item.right { left: 0; }
    .timeline-dot { left: 20px !important; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .hero-title .arabic { font-size: 2rem; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .dash-middle { grid-template-columns: 1fr; }
    .dash-cards { grid-template-columns: 1fr; }
    .section-padding { padding: 80px 0; }
}