/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}


/* Body */
body,html{overflow-x: hidden;}
body {
  background: linear-gradient(180deg, #ffffff, #eaf3ff);
  color: #222;
  overflow-x: hidden;
  font-size: 1rem;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 4vw;
  background: linear-gradient(90deg, #1e90ff, #0077ff);
  box-shadow: 0 0.4rem 1.5rem rgba(0, 0, 0, 0.15);
  color: white;
  position: sticky;
  top: 0;
  z-index: 100;
  animation: slideDown 1s ease forwards;
}
@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}
.navbar .logo {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.1rem;
}
.navbar .logo span {
  color: #cce6ff;
  text-shadow: 0 0 0.75rem #ffffff;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}
.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}
.nav-links a:hover {
  color: #cce6ff;
  text-shadow: 0 0 0.6rem #ffffff;
  transform: scale(1.1);
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 10vh 5vw;
  background: radial-gradient(circle at top, #f4faff, #ffffff);
  animation: fadeIn 1.5s ease;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(2.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero h1 {
  font-size: 2.8rem;
  color: #0047ab;
  margin-bottom: 1rem;
}
.hero span {
  color: #0077ff;
  text-shadow: 0 0 1.2rem #99ccff;
}
.hero p {
  font-size: 1.2rem;
  color: #333;
}
.start-btn {
  margin-top: 2rem;
  padding: 0.8rem 2.2rem;
  background: linear-gradient(90deg, #0077ff, #009dff);
  text-decoration: none;
  color: white;
  border: none;
  border-radius: 0.6rem;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 0 1.2rem rgba(0, 119, 255, 0.4);
}
.start-btn:hover {
  background: linear-gradient(90deg, #005fcb, #0077ff);
  box-shadow: 0 0 1.8rem rgba(0, 119, 255, 0.9);
  transform: translateY(-0.3rem);
}



.showcase {
  width: 100%;
  padding: 60px 20px;
  background: linear-gradient(135deg, #0a1a33, #020b18);
  border-radius: 25px;
  box-shadow: 0 0 60px rgba(102,240,255,0.25);
  text-align: center;
}

/* text */
.showcase-content h1 {
  font-size: 2.5rem;
  color: #e6f7ff;
  text-shadow: 0 0 20px #66f0ff;
}

.showcase-content p {
  color: #9fdfff;
  margin-bottom: 40px;
  font-size: 1.1rem;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: #fcfdff;   /* أبيض مريح */
  color: #1a2a44;
  overflow-x: hidden;
}



.hero-section {
  width: 100%;
  padding: 60px 16px;
  display: flex;
  justify-content: center;
}
.hero-box {
  width: 100%;
  max-width: 1200px;
  padding: 56px 48px;

  background: #f8fbff;   /* فرق خفيف عن الأبيض */
  border-radius: 26px;

  box-shadow:
    0 20px 40px rgba(0, 60, 120, 0.08); /* شادو ناعم */

  overflow: hidden; /* يمنع أي خروج */
}

.hero-content {
  text-align: center;
  margin-bottom: 48px;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #1e2f55;
}

.hero-content p {
  font-size: 1.1rem;
  color: #5b6f95;
}


.hero-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hero-images img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;

  box-shadow: 0 10px 25px rgba(0, 60, 120, 0.12);
  transition: 0.3s ease;
}

.hero-images img:hover {
  transform: translateY(-6px);
}


@media (max-width: 900px) {
  .hero-images {
    grid-template-columns: 1fr 1fr;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }
}
@media (max-width: 600px) {
  .hero-box {
    padding: 36px 20px;
    border-radius: 20px;
  }

  .hero-images {
    grid-template-columns: 1fr;
  }

  .hero-images img {
    height: 180px;
  }
}


/* \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ */

/* Sections */
.subjects,
.programming {
  padding: 6rem 5vw;
  text-align: center;
}
.subjects h2,
.programming h2 {
  font-size: 2.2rem;
  margin-bottom: 2.5rem;
  text-shadow: 0 0 0.6rem #cce6ff;
}
.subjects h2 {
  color: #005fcb;
}
.programming h2 {
  color: #0047ab;
}
.subjects-container,
.path-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.5rem;
  max-width: 65rem;
  margin: 0 auto;
}
.subject-card,
.path-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(0.4rem);
  padding: 1.8rem;
  border-radius: 1rem;
  box-shadow: 0 0 1.2rem rgba(0, 119, 255, 0.25);
  transition: 0.4s ease;
}
.subject-card:hover,
.path-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 0 2rem rgba(0, 119, 255, 0.5);
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 0;
  background: linear-gradient(90deg, #0077ff, #1e90ff);
  color: white;
  font-weight: 500;
  box-shadow: 0 -0.3rem 0.8rem rgba(0, 0, 0, 0.1);
  animation: glowFooter 2s infinite alternate;
}
@keyframes glowFooter {
  from {
    text-shadow: 0 0 0.3rem #ffffff;
  }
  to {
    text-shadow: 0 0 1rem #cce6ff;
  }
}

/* Responsive Texts */
.questions-card {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.questions-link {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #ffffff, #e6f0ff);
  color: #003366;
  text-decoration: none;
  border-radius: 1rem;
  padding: 1.2rem 2rem;
  box-shadow: 0 0.4rem 1.2rem rgba(0, 80, 255, 0.15);
  transition: all 0.3s ease;
  width: 85%;
  max-width: 40rem;
}

.questions-link:hover {
  transform: scale(1.05);
  box-shadow: 0 0.6rem 1.5rem rgba(0, 80, 255, 0.25);
}

.icon {
  font-size: 2rem;
  margin-right: 1rem;
}

.text h3 {
  font-size: 1.3rem;
}

.text p {
  font-size: 0.95rem;
}

/* ✅ Responsive Media Queries */
@media (max-width: 1024px) {
  .navbar {
    padding: 1rem 3vw;
  }
  .navbar .logo {
    font-size: 1.4rem;
  }
  .hero h1 {
    font-size: 2.4rem;
  }
  .hero p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    gap: 1.2rem;
  }
  .hero {
    padding: 8vh 5vw;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 0.95rem;
  }
  .start-btn {
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
  }
  .subjects-container,
  .path-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .navbar {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }
  .nav-links {
    flex-direction: column;
    gap: 0.6rem;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
  .hero p {
    font-size: 0.9rem;
  }
  .subjects-container,
  .path-container {
    grid-template-columns: 1fr;
  }
  .questions-link {
    flex-direction: column;
    text-align: center;
  }
  .icon {
    margin: 0 0 0.5rem 0;
  }
}















/* ✨ تصميم اللينكات داخل .subject-card */
.subject-card {
  display: block;
  text-decoration: none; /* يشيل الخط */
  color: #0047ab; /* لون أزرق أنيق */
  background: rgba(255, 255, 255, 0.9);
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 0 15px rgba(0, 119, 255, 0.25);
  text-align: center;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* ✨ تأثير عند المرور بالماوس */
.subject-card:hover {
  transform: translateY(-8px);
  color: #00d0ff;
  box-shadow: 0 0 25px rgba(0, 180, 255, 0.6);
  text-shadow: 0 0 10px #00d0ff, 0 0 20px #00d0ff;
}

/* 💫 تأثير لمعة خفيفة مستمرة */
@keyframes glow {
  0% {
    text-shadow: 0 0 6px #00bfff, 0 0 10px #00bfff55;
  }
  50% {
    text-shadow: 0 0 15px #00bfff, 0 0 25px #00bfffaa;
  }
  100% {
    text-shadow: 0 0 6px #00bfff, 0 0 10px #00bfff55;
  }
}

.subject-card{
  animation: glow 2.5s infinite ease-in-out;
}










/* ✨ تصميم كروت الـ Path */
.path-card {
  display: block;
  text-decoration: none; /* يشيل الخط */
  color: #0047ab; /* أزرق أنيق */
  background: rgba(255, 255, 255, 0.95);
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 0 15px rgba(0, 119, 255, 0.25);
  text-align: center;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* 💫 تأثير لمعة متكررة */
@keyframes glow {
  0% {
    text-shadow: 0 0 6px #00bfff, 0 0 12px #00bfff55;
  }
  50% {
    text-shadow: 0 0 14px #00bfff, 0 0 25px #00bfffaa;
  }
  100% {
    text-shadow: 0 0 6px #00bfff, 0 0 12px #00bfff55;
  }
}

/* 🔥 تأثير دائم */
.path-card {
  animation: glow 2.5s infinite ease-in-out;
}

/* ⚡ تأثير عند المرور */
.path-card:hover {
  transform: translateY(-8px);
  color: #00d0ff;
  text-shadow: 0 0 15px #00d0ff, 0 0 25px #00d0ff;
  box-shadow: 0 0 30px rgba(0, 180, 255, 0.5);
}


/* 💎 أزرار بنفس لون كلمة Tshattoo (أزرق نيون سماوي) */
.mohamed {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(145deg, #5ca7ff, #9fd0ff);
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 0.8rem;
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 0 1.5rem rgba(92, 167, 255, 0.8), 0 0 3rem rgba(92, 167, 255, 0.5);
}

/* ⚡ عند المرور */
.mohamed:hover {
  background: linear-gradient(145deg, #6db7ff, #b4dcff);
  box-shadow: 0 0 2rem rgba(92, 167, 255, 1), 0 0 4rem rgba(92, 167, 255, 0.8);
  transform: translateY(-0.3rem);
}

/* 📱 تجاوب مع الشاشات الصغيرة */
@media (max-width: 600px) {
  .mohamed {
    font-size: 1.1rem;
    padding: 0.8rem 2rem;
    border-radius: 0.6rem;
  }
}
