/* ========== إعدادات أساسية ========== */
body {
  font-family: "Almarai", sans-serif;
  background-color: #f9fafc;
  color: #222;
  line-height: 1.8;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

h1, h2, h3, h4 {
  font-weight: 700;
  margin-bottom: 20px;
}

p {
  font-size: 1.1rem;
  color: #444;
}

/* ========== أزرار CTA ========== */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.cta-primary {
  background: linear-gradient(90deg, #007bff, #00b3ff);
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}
.cta-primary:hover {
  transform: translateY(-3px);
  background: linear-gradient(90deg, #0066dd, #00a2e6);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.5);
}

.cta-primaryy {
  background: linear-gradient(90deg, #00b09b, #96c93d);
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 176, 155, 0.3);
}
.cta-primaryy:hover {
  transform: translateY(-3px);
  background: linear-gradient(90deg, #00a589, #82b937);
}

/* ========== القسم الأول: الـ Hero Section ========== */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("https://images.unsplash.com/photo-1555066931-4365d14bab8c?auto=format&fit=crop&w=1400&q=60") center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 120px 0;
}
.hero h1 {
  font-size: 2.4rem;
  line-height: 1.5;
}
.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 20px auto;
  color: #ddd;
}

/* ========== القسم الثاني: About IT ========== */
.about-it {
  background: #ffffff url("https://www.transparenttextures.com/patterns/cubes.png");
}
.about-it h2 {
  color: #007bff;
}
.about-it p {
  max-width: 900px;
  margin: auto;
}

/* ========== القسم الثالث: IT Fields ========== */
.it-fields {
  background: linear-gradient(180deg, #f3f6ff, #e9f1ff);
}
.it-fields h2 {
  color: #004b9b;
}
.it-fields h3 {
  color: #333;
  margin-bottom: 40px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.card {
  background: #fff;
  border-radius: 15px;
  padding: 30px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  transition: 0.3s ease-in-out;
  border-top: 5px solid #007bff;
}
.card i {
  font-size: 2rem;
  color: #007bff;
  margin-bottom: 10px;
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* ========== القسم الرابع: Courses ========== */
.courses {
  background: #ffffff url("https://www.transparenttextures.com/patterns/cubes.png");
  color: #fff;
}
.courses h2, .courses h3 {
  color: #009c;
}
.courses p {
  color: ##004a79;
  max-width: 850px;
  margin: 20px auto;
}

/* ========== القسم الخامس: Support ========== */
.support {
  background: url("https://images.unsplash.com/photo-1581092588429-3a4d38a4f6a9?auto=format&fit=crop&w=1200&q=60") center/cover fixed;
  color: #fff;
  position: relative;
}
.support::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #0f2027, #203a43, #2c5364);
}
.support .container {
  position: relative;
  z-index: 2;
}
.support h2 {
  color: #00d2ff;
}
.support p {
  color: #e5e5e5;
  max-width: 800px;
  margin: auto;
}

/* ========== تأثيرات صغيرة ========== */
a i {
  margin-left: 8px;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  section {
    padding: 60px 20px;
  }
  .btn {
    padding: 12px 25px;
    font-size: 0.9rem;
  }
}
