  @import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;900&display=swap');
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
  --primary-color: #1e3f6c;         /* اللون المستخرج من الشعار */
  --secondary-color: #2a5298;      /* درجة أفتح قليلاً (موجودة بالفعل) */
  --accent-color: #4ab7f2;         /* أزرق سماوي حديث بديل عن الأخضر */
  --accent-dark: #0074d9;          /* درجة أزرق داكن للظل أو الهوفر */
  --text-dark: #1e3f6c;            /* نفس اللون الأساسي للنصوص */
  --text-light: #6c757d;
  --white: #ffffff;
  --light-bg: #f8f9fa;
  --shadow-light: rgba(0, 0, 0, 0.1);
  --shadow-medium: rgba(0, 0, 0, 0.15);
  --shadow-heavy: rgba(0, 0, 0, 0.3);
}


        body {
            font-family: 'Tajawal', sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            background-color: var(--light-bg);
            overflow-x: hidden;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        form * {
    pointer-events: auto !important;
    user-select: auto !important;
  }

  form input,
  form textarea,
  form button {
    background-color: #fff;
    color: #000;
    z-index: 1;
  }

  form button {
    cursor: pointer !important;
  }

        /* Loading Animation */
        .loading-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
background: linear-gradient(135deg, #ffffff 0%, #f4f4f4 100%);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 10000;
            animation: fadeOutLoading 2s ease-in-out 1s forwards;
        }

        .loading-logo {
             width: 250px;
          height: auto;
            color: var(--accent-color);
            animation: pulse 1s infinite;
        }

        @keyframes fadeOutLoading {
            to {
                opacity: 0;
                visibility: hidden;
            }
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.1); }
        }

        /* Floating particles background */
        .particles {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            pointer-events: none;
        }

        .particle {
            position: absolute;
            width: 4px;
            height: 4px;
            background: var(--accent-color);
            border-radius: 50%;
            opacity: 0.3;
            animation: float 20s infinite linear;
        }

        @keyframes float {
            0% {
                transform: translateY(100vh) rotate(0deg);
                opacity: 0;
            }
            10% {
                opacity: 0.3;
            }
            90% {
                opacity: 0.3;
            }
            100% {
                transform: translateY(-100vh) rotate(360deg);
                opacity: 0;
            }
        }

        /* Advanced Header */
        header {
            background: rgba(30, 60, 114, 0.95);
            backdrop-filter: blur(20px);
            color: var(--white);
            padding: 1rem 0;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            transition: all 0.3s ease;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        header.scrolled {
            background: rgba(30, 60, 114, 0.98);
            backdrop-filter: blur(25px);
            box-shadow: 0 8px 32px var(--shadow-medium);
            transform: translateY(0);
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
        }

        .logo {
            font-size: 2rem;
            font-weight: 900;
            color: var(--accent-color);
            position: relative;
            animation: logoGlow 3s ease-in-out infinite alternate;
        }

        @keyframes logoGlow {
            from { text-shadow: 0 0 10px var(--accent-color); }
            to { text-shadow: 0 0 20px var(--accent-color), 0 0 30px var(--accent-color); }
        }

        nav ul {
            display: flex;
            list-style: none;
            gap: 2.5rem;
            position: relative;
        }

        nav a {
            color: var(--white);
            text-decoration: none;
            font-weight: 500;
            font-size: 1.1rem;
            position: relative;
            transition: all 0.3s ease;
            padding: 0.5rem 1rem;
            border-radius: 25px;
        }

        nav a:hover {
            color: var(--accent-color);
            background: rgba(50, 205, 50, 0.1);
            transform: translateY(-2px);
        }

        nav a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 50%;
            width: 0;
            height: 2px;
            background: var(--accent-color);
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }

        nav a:hover::after {
            width: 100%;
        }

        .header-cta {
            background: linear-gradient(45deg, var(--accent-color), var(--accent-dark));
            color: var(--white);
            padding: 12px 30px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1.05rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(50, 205, 50, 0.3);
            position: relative;
            overflow: hidden;
        }

        .header-cta::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: left 0.5s;
        }

        .header-cta:hover::before {
            left: 100%;
        }

        .header-cta:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(50, 205, 50, 0.4);
        }



/* 🌌 Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  padding: 180px 0 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* ✨ Glow Background Animation */
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1), transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(50, 205, 50, 0.05), transparent 50%);
  animation: backgroundShift 10s ease-in-out infinite;
  z-index: 0;
}

@keyframes backgroundShift {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.05) rotate(1deg); }
}

/* ✏️ Title Typewriter Animation */
.typewriter {
  overflow: hidden;
  white-space: nowrap;
  border-right: 3px solid var(--white);
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  width: 0;
  animation: typing 3.5s steps(40, end) forwards, blinkCursor 0.8s step-end infinite;
  background: linear-gradient(45deg, var(--white), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blinkCursor {
  from, to { border-color: transparent; }
  50% { border-color: var(--white); }
}

/* 📝 Subtext Animation */
.hero-subtext {
  font-size: 1.4rem;
  margin: 2rem auto 2.5rem;
  font-weight: 400;
  opacity: 0;
  animation: fadeInUp 1.5s ease-out 3.8s forwards;
  line-height: 1.6;
  max-width: 800px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  direction: rtl;
}

.hero h1 {
  font-size: 2.5rem; /* بدلاً من 4rem */
  
}






/* 🚀 CTA Button Animation */
.animate-cta {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out 4.5s forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 🌠 Falling Particles (Stars) */
.falling-particles {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.falling-particles span {
  position: absolute;
  display: block;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  opacity: 0.4;
  animation: fall linear infinite;
}

@keyframes fall {
  0% {
    transform: translateY(-10px);
    opacity: 0;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(110vh);
    opacity: 0;
  }
}

        .main-cta {
            display: inline-block;
            background: linear-gradient(45deg, var(--accent-color), var(--accent-dark));
            color: var(--white);
            padding: 20px 50px;
            border-radius: 50px;
            text-decoration: none;
            font-size: 1.3rem;
            font-weight: 600;
            transition: all 0.4s ease;
            box-shadow: 0 10px 30px rgba(50, 205, 50, 0.3);
            animation: heroCtaSlide 1.5s ease-out 0.6s both;
            position: relative;
            overflow: hidden;
        }

        .main-cta::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: left 0.5s;
        }

        .main-cta:hover::before {
            left: 100%;
        }

        @keyframes heroCtaSlide {
            from {
                opacity: 0;
                transform: translateY(20px) scale(0.9);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        .main-cta:hover {
            transform: translateY(-5px) scale(1.05);
            box-shadow: 0 15px 40px rgba(50, 205, 50, 0.4);
        }

        .hero-visual {
            margin-top: 4rem;
            animation: heroVisualSlide 1.5s ease-out 0.9s both;
        }

        @keyframes heroVisualSlide {
            from {
                opacity: 0;
                transform: translateY(40px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .hero-visual svg {
            width: 400px;
            height: 250px;
            animation: floatSvg 6s ease-in-out infinite;
        }

        @keyframes floatSvg {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-20px); }
        }

        /* Advanced Services Section */
        .services {
            padding: 120px 0;
            background: var(--white);
            position: relative;
        }

        .services::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 100px;
            background: linear-gradient(to bottom, rgba(102, 126, 234, 0.05), transparent);
        }

        .section-title {
            text-align: center;
            font-size: 3rem;
            font-weight: 800;
            color: var(--primary-color);
            margin-bottom: 4rem;
            position: relative;
            animation: titleFadeIn 1s ease-out;
        }

        .section-title::before {
            content: '';
            position: absolute;
            top: -20px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 4px;
            background: linear-gradient(45deg, var(--accent-color), var(--accent-dark));
            border-radius: 2px;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -20px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: linear-gradient(45deg, var(--accent-color), var(--accent-dark));
            border-radius: 2px;
        }

        @keyframes titleFadeIn {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 2.5rem;
            margin-top: 5rem;
        }

        .service-card {
            background: var(--white);
            padding: 3rem 2rem;
            border-radius: 20px;
            text-align: center;
            transition: all 0.4s ease;
            border: 1px solid rgba(0, 0, 0, 0.05);
            position: relative;
            overflow: hidden;
            box-shadow: 0 5px 20px var(--shadow-light);
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(45deg, var(--accent-color), var(--accent-dark));
            transform: scaleX(0);
            transition: transform 0.4s ease;
        }

        .service-card:hover::before {
            transform: scaleX(1);
        }

        .service-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(50, 205, 50, 0.05), transparent);
            transition: left 0.6s ease;
        }

        .service-card:hover::after {
            left: 100%;
        }

        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px var(--shadow-medium);
        }

        .service-icon {
            font-size: 4rem;
            margin-bottom: 1.5rem;
            display: inline-block;
            animation: iconBounce 2s ease-in-out infinite;
        }

        @keyframes iconBounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }

        .service-card h3 {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 1.5rem;
            transition: color 0.3s ease;
        }

        .service-card:hover h3 {
            color: var(--accent-color);
        }

        .service-card p {
            color: var(--text-light);
            font-size: 1.1rem;
            line-height: 1.6;
        }

        /* Advanced Why Us Section */
        .why-us {
            padding: 120px 0;
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: var(--white);
            position: relative;
            overflow: hidden;
        }

        .why-us::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(50, 205, 50, 0.1) 0%, transparent 70%);
            animation: rotateBackground 20s linear infinite;
        }

        @keyframes rotateBackground {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        .why-us-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2.5rem;
            margin-top: 5rem;
            position: relative;
            z-index: 2;
        }

        .why-card {
            background: rgba(255, 255, 255, 0.1);
            padding: 3rem 2rem;
            border-radius: 20px;
            text-align: center;
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
        }

        .why-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, rgba(50, 205, 50, 0.1), transparent);
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        .why-card:hover::before {
            opacity: 1;
        }

        .why-card:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
        }

        .why-icon {
            font-size: 3.5rem;
            color: var(--accent-color);
            margin-bottom: 1.5rem;
            display: inline-block;
            animation: iconPulse 3s ease-in-out infinite;
        }

        @keyframes iconPulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.1); }
        }

        .why-card h3 {
            font-size: 1.4rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            color: var(--white);
        }

        .why-card p {
            color: rgba(255, 255, 255, 0.9);
            font-size: 1.1rem;
            line-height: 1.6;
        }

        /* Advanced Testimonials */
        .testimonials {
            padding: 120px 0;
            background: var(--light-bg);
            position: relative;
        }

        .testimonials-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
            gap: 3rem;
            margin-top: 5rem;
        }

        .testimonial {
            background: var(--white);
            padding: 3rem;
            border-radius: 20px;
            position: relative;
            box-shadow: 0 10px 30px var(--shadow-light);
            transition: all 0.4s ease;
            border-left: 5px solid var(--accent-color);
            overflow: hidden;
        }

        .testimonial::before {
            content: '"';
            position: absolute;
            top: -10px;
            left: 30px;
            font-size: 6rem;
            color: var(--accent-color);
            opacity: 0.1;
            font-weight: 900;
        }

        .testimonial::after {
            content: '';
            position: absolute;
            top: 0;
            right: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(50, 205, 50, 0.05), transparent);
            transition: right 0.6s ease;
        }

        .testimonial:hover::after {
            right: 100%;
        }

        .testimonial:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px var(--shadow-medium);
        }

        .testimonial-text {
            font-style: italic;
            margin-bottom: 2rem;
            color: var(--text-light);
            font-size: 1.1rem;
            line-height: 1.8;
            position: relative;
            z-index: 2;
        }

        .testimonial-author {
            font-weight: 700;
            color: var(--primary-color);
            font-size: 1.1rem;
            position: relative;
            z-index: 2;
        }

        .testimonial-author::before {
            content: '';
            position: absolute;
            left: -20px;
            top: 50%;
            transform: translateY(-50%);
            width: 15px;
            height: 2px;
            background: var(--accent-color);
        }

        /* Advanced Contact Section */
        .contact {
            padding: 120px 0;
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: var(--white);
            position: relative;
            overflow: hidden;
        }

        .contact::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: 
                radial-gradient(circle at 30% 30%, rgba(50, 205, 50, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
            animation: contactBg 15s ease-in-out infinite;
        }

        @keyframes contactBg {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.1); }
        }

        .contact-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 3rem;
            margin-top: 5rem;
            position: relative;
            z-index: 2;
        }

        .contact-item {
            text-align: center;
            padding: 3rem 2rem;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
        }

        .contact-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, rgba(50, 205, 50, 0.1), transparent);
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        .contact-item:hover::before {
            opacity: 1;
        }

        .contact-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
        }

        .contact-icon {
            font-size: 3.5rem;
            color: var(--accent-color);
            margin-bottom: 1.5rem;
            display: inline-block;
            animation: contactIconFloat 4s ease-in-out infinite;
        }

        @keyframes contactIconFloat {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }

        .contact-item h3 {
            margin-bottom: 1.5rem;
            color: var(--accent-color);
            font-size: 1.4rem;
            font-weight: 700;
        }

        .contact-item a {
            color: var(--white);
            text-decoration: none;
            transition: all 0.3s ease;
            font-size: 1.1rem;
            position: relative;
        }

        .contact-item a:hover {
            color: var(--accent-color);
            transform: translateY(-2px);
        }

        .contact-item p {
            font-size: 1.1rem;
            line-height: 1.6;
        }

        /* Advanced Footer */
        footer {
            background: #1a1a1a;
            color: var(--white);
            padding: 4rem 0 2rem;
            position: relative;
            overflow: hidden;
        }

        footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 3rem;
            margin-bottom: 3rem;
        }

        .footer-section h3 {
            color: var(--accent-color);
            margin-bottom: 1.5rem;
            font-size: 1.3rem;
            font-weight: 700;
            position: relative;
        }

        .footer-section h3::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 50px;
            height: 2px;
            background: var(--accent-color);
        }

        .footer-section ul {
            list-style: none;
        }

        .footer-section ul li {
            margin-bottom: 0.8rem;
        }

        .footer-section a {
            color: #ccc;
            text-decoration: none;
            transition: all 0.3s ease;
            font-size: 1.05rem;
        }

        .footer-section a:hover {
            color: var(--accent-color);
            transform: translateX(5px);
        }

        .footer-section p {
            color: #ccc;
            line-height: 1.6;
            font-size: 1.05rem;
        }

        .footer-bottom {
            border-top: 1px solid #333;
            padding-top: 2rem;
            text-align: center;
            color: #999;
            font-size: 1.05rem;
        }

        /* Scroll to top button */
        .scroll-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: linear-gradient(45deg, var(--accent-color), var(--accent-dark));
            color: var(--white);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            cursor: pointer;
            transition: all 0.3s ease;
            opacity: 0;
            visibility: hidden;
            z-index: 1000;
        }

        .scroll-top.visible {
            opacity: 1;
            visibility: visible;
        }

        .scroll-top:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(50, 205, 50, 0.3);
        }


        /* Advanced scroll animations */
        .animate-on-scroll {
            opacity: 0;
            transform: translateY(50px);
            transition: all 0.8s ease;
        }

        .animate-on-scroll.animated {
            opacity: 1;
            transform: translateY(0);
        }

        .animate-on-scroll.slide-left {
            transform: translateX(-50px);
        }

        .animate-on-scroll.slide-left.animated {
            transform: translateX(0);
        }

        .animate-on-scroll.slide-right {
            transform: translateX(50px);
        }

        .animate-on-scroll.slide-right.animated {
            transform: translateX(0);
        }


 /* ========== الإعداد الافتراضي (ديسكتوب) ========== */
nav ul {           /* شريط الروابط أفقي ظاهر دائمًا */
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.menu-toggle {     /* أيقونة البرغر مخفيّة على الديسكتوب */
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--white);
}
.logo-text {
  display: inline-block;
  text-align: center;
  font-family: 'Tajawal', sans-serif;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
  letter-spacing: 0.5px;
}

/* السطر الأول: UNI 2 CAREER */
.logo-line {
  font-size: 1.6rem;
  font-weight: 900;
  color: #ffffff;
  text-shadow:
    0 0 4px rgba(50, 205, 50, 0.2),
    0 0 6px rgba(0, 0, 0, 0.4);
}

/* الرقم 2 داخل الشعار */
.logo-line .logo-2 {
  color: #4ab7f2;
  text-shadow:
    0 0 6px rgba(50, 205, 50, 0.6),
    0 0 12px rgba(42, 82, 152, 0.4);
}

/* الكلمة السفليّة: STUDIO */
.logo-sub {
  font-size: 0.7rem;
  font-weight: 700;
  color: #7ec8f0;
  letter-spacing: 5px;
  display: block;
  margin-top: 2px;
}

.whatsapp-float {
  position: fixed;
  bottom: 25px;
left: 25px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 999;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #1ebea5;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.15); }
}

.whatsapp-float {
  animation: pulse 2s infinite ease-in-out;
}

/* =========================================================
   ①   موبايل صغير جداً  —  الهواتف ≤ 480px
   ========================================================= */
@media (max-width: 480px) {

  /* مثال على تعديلات الهيرو */
  .hero         {padding: 3rem 1rem;}
  .hero h1      {font-size: 1.4rem; line-height: 1.5;}
  .hero p       {font-size: .95rem;}

  /* شبكة واحد‑عمود في كل الأقسام */
  .services-grid,
  .why-us-grid,
  .testimonials-grid,
  .contact-grid {grid-template-columns: 1fr;}

  /* بطاقـات أصغر */
  .service-card,
  .why-card,
  .testimonial,
  .contact-item {padding: 1.5rem;}

  /* الهيدر */
  .header-content {padding: 0 .75rem;}
}


/* =========================================================
   ②   موبايل عادي / فابلِت  —  481‑768px
   ========================================================= */
@media (min-width: 481px) and (max-width: 768px) {

  .hero         {padding: 4rem 1.5rem;}
  .hero h1      {font-size: 1.8rem;}
  .hero p       {font-size: 1.05rem;}

  /* الأزرار */
  .main-cta     {font-size: 1rem; padding: .9rem 1.8rem;}

  /* ما زلنا عمودًا واحدًا في الشبكات */
  .services-grid,
  .why-us-grid,
  .testimonials-grid,
  .contact-grid {grid-template-columns: 1fr;}
}


/* =========================================================
   ③   تابلِت / لابتوب صغير  —  769‑1024px
   ========================================================= */
@media (min-width: 769px) and (max-width: 1024px) {

  .hero         {padding: 6rem 2rem;}
  .hero h1      {font-size: 2.2rem;}
  .hero p       {font-size: 1.15rem;}

  /* شبكتان فى التابلت */
  .services-grid,
  .why-us-grid,
  .testimonials-grid,
  .contact-grid {grid-template-columns: repeat(2, 1fr);}

  .service-card,
  .why-card,
  .testimonial,
  .contact-item {padding: 2rem;}
}


/* =========================================================
   ④   لابتوب كبير / ديسكتوب  —  ≥ 1025px
   ========================================================= */
@media (min-width: 1025px) {

  .hero         {padding: 8rem 3rem;}
  .hero h1      {font-size: 3rem;}
  .hero p       {font-size: 1.25rem;}

  /* شبكات بثلاثة أعمدة (أو حسب تصميمك) */
  .services-grid,
  .why-us-grid,
  .testimonials-grid,
  .contact-grid {grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));}

  .service-card,
  .why-card,
  .testimonial,
  .contact-item {padding: 3rem 2rem;}
}


/* =========================================================
   تخصيص الهيدر والقائمة (يصلح مع أى مقاس)
   ========================================================= */
@media (max-width: 1024px) {            /* إظهار أيقونة الـBurger */
  .menu-toggle {display: block;}
  .header-cta  {display: none;}
  nav ul       {display: none; flex-direction: column; gap: 2rem; margin-top: 1rem;}
  nav ul.show  {display: flex;}
}

@media (min-width: 1025px) {            /* قائمة أفقية على الديسكتوب */
  .menu-toggle {display: none;}
  nav ul       {display: flex !important; gap: 2.5rem;}
}



/* =========================================================
   HERO  (أسلوب حديث متجاوب لكل المقاسات)
   ========================================================= */
.hero{
  /* مراكز المحتوى عموديًّا وأفقيًّا */
  display:flex;
  justify-content:center;
  align-items:center;

  /* ارتفاع يملأ الشاشة بالكامل حتى على الموبايل (يدعم iOS 15+) */
  min-height:100dvh;

  /* حشوة مرنة: تتغير آليًا حسب العرض */
  padding:clamp(3rem, 7vw, 8rem) 1.25rem;
  text-align:center;
  position:relative;
  overflow:hidden;
}

/* ==== المحتوى الداخلى ==== */
.hero-content{
  max-width:900px;
  width:100%;
  margin-inline:auto;   /* توسيط أفقى */
  direction:rtl;
  z-index:2;            /* فوق النجوم */
}

/* ==== العنوان بخط متجاوب (بدون تقطيع) ==== */
.typewriter{
  /* خط متغيّر يستجيب تلقائياً:  1.4rem ↔︎ 3rem */
  font-size:clamp(1.4rem, 4vw + .5rem, 3rem);
  font-weight:900;
  margin-bottom:1.5rem;

  /* تأثير الكتابة على الشاشات المتوسطة وما فوق */
  overflow:hidden;
  border-right:3px solid var(--white);
  white-space:nowrap;
  width:0;
  background:linear-gradient(45deg, var(--white), var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color:transparent;
  animation:typing 4s steps(45,end) forwards,
            blinkCursor .8s step-end infinite;
}

/* الفقرة */
.hero-subtext{
  font-size:clamp(1rem, 2.2vw + .6rem, 1.3rem);
  line-height:1.7;
  max-width:800px;
  margin:0 auto 2.5rem;
  opacity:0;
  animation:fadeInUp 1.5s ease-out 4.2s forwards;
}

/* الزر */
.main-cta{
  font-size:clamp(.9rem, 1vw + .7rem, 1.2rem);
  padding:.85rem 2rem;
}

/* ==== إيقاف تأثير الكتابة على الشاشات الصغيرة جدًا ==== */
@media (max-width:600px){
  .typewriter{
    animation:none;                 /* يوقف الكتابة */
    border:none;
    white-space:normal;             /* يسمح بكسر السطر */
    width:auto;
  }
}

/* ==== مفاتيح الأنيميشن ==== */
@keyframes typing   {from{width:0} to{width:100%}}
@keyframes blinkCursor{from,to{border-color:transparent} 50%{border-color:var(--white)}}
@keyframes fadeInUp {
  from{opacity:0;transform:translateY(30px)}
  to  {opacity:1;transform:translateY(0)}
}


