html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f5f9ff;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 18px 50px;

  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border-bottom: 1px solid rgba(59, 130, 246, 0.15);

  position: sticky;
  top: 0;
  z-index: 1000;

  animation: slideDown 0.7s ease;
}

/* Logo */
.logo {
  color: #2563eb; /* أزرق أفتح */
  font-size: 24px;
  letter-spacing: 1px;
  font-weight: bold;

  text-shadow: 0 2px 10px rgba(37,99,235,0.15);
}

/* Links */
.links {
  display: flex;
  gap: 25px;
}

.links a {
  text-decoration: none;
  color: #334155; /* رمادي أزرق هادي */
  font-size: 16px;

  position: relative;
  transition: 0.3s ease;
}

/* Hover underline */
.links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;

  width: 0%;
  height: 2px;

  background: #3b82f6;
  transition: 0.3s ease;
  border-radius: 5px;
}

.links a:hover {
  color: #2563eb;
}

.links a:hover::after {
  width: 100%;
}

/* Animation */
@keyframes slideDown {
  from {
    transform: translateY(-40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 12px;
    padding: 15px 20px;
  }

  .links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
}
/* ---------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

.hero {
  height: 100vh;
  width: 100%;

  /* 🔥 حط صورتك هنا */
  background: url("Items/UNI.jpg") center/cover no-repeat;

  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Dark overlay عشان الكلام يظهر */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 60, 0.65);
}

/* Content */
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 800px;
  padding: 20px;

  animation: fadeUp 1s ease;
}

/* Title */
.hero-content h1 {
  font-size: 48px;
  color: #ffffff;
  margin-bottom: 20px;
}

/* Paragraph */
.hero-content p {
  font-size: 18px;
  color: #dbeafe;
  margin-bottom: 30px;
}

/* Button */
.btn {
  padding: 12px 25px;
  background: #3b82f6;
  color: white;
  text-decoration: none;
  border-radius: 8px;

  transition: 0.3s;
}

.btn:hover {
  background: #2563eb;
  transform: translateY(-3px);
}

/* Animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 16px;
  }
}
/* 33333333333333333333333333333333333333333333333333333333 */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f5f9ff;
}

/* Section */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;

  padding: 90px 50px;

  background: linear-gradient(135deg, #eef5ff, #ffffff);
}

/* Card */
.stat-box {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(37, 99, 235, 0.15);

  padding: 35px 20px;
  text-align: center;

  border-radius: 18px;

  box-shadow: 0 10px 25px rgba(0,0,0,0.05);

  transition: 0.4s ease;

  opacity: 0;
  transform: translateY(40px);
}

/* Hover */
.stat-box:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
}

/* Number */
.stat-box h2 {
  font-size: 42px;
  margin: 0;
  color: #2563eb;
}

/* Text */
.stat-box p {
  margin-top: 10px;
  color: #475569;
  font-size: 16px;
}

/* Animation class */
.stat-box.show {
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .stats {
    grid-template-columns: 1fr;
  }
}
/* About----------------------------------------------------------------------------------------- */
.about {
  padding: 100px 50px;
  background: #f5f9ff;
}

.about .about-content {
  display: flex;
  gap: 50px;
  align-items: center;
}

.about .img-card {
  width: 100%;
  height: 350px;
  border-radius: 15px;
  background: url("https://images.unsplash.com/photo-1523240795612-9a054b0db644") center/cover;
}

/* Text فقط داخل about */
.about .about-text h2 {
  color: #2563eb;
  font-size: 32px;
}

.about .about-text p {
  color: #475569;
  line-height: 1.7;
}

/* Features */
.about .features li {
  margin: 10px 0;
  padding: 10px;
  background: #eaf2ff;
  border-left: 4px solid #2563eb;
}
/*       ---------------- Faculty----------------- */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f5f9ff;
}

/* Section */
.faculties {
  padding: 100px 50px;
  text-align: center;
}

/* Title */
.section-title {
  font-size: 36px;
  color: #2563eb;
  margin-bottom: 50px;
}

/* Grid */
.grid-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Card */
.card {
  background: white;
  border-radius: 18px;
  overflow: hidden;

  box-shadow: 0 10px 25px rgba(0,0,0,0.08);

  transition: 0.4s ease;

  opacity: 0;
  transform: translateY(40px);
}

/* Image */
.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: 0.4s ease;
}

/* Text */
.card h3 {
  padding: 15px;
  color: #1e3a8a;
}

/* Hover effect */
.card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
}

.card:hover img {
  transform: scale(1.1);
}

/* Animation class */
.card.show {
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .grid-section {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid-section {
    grid-template-columns: 1fr;
  }
}
/* ----------------------------------------------------------------------Programs */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f5f9ff;
}

/* Section */
.programs {
  padding: 100px 50px;
  text-align: center;
}

/* Title */
.section-title {
  font-size: 36px;
  color: #2563eb;
  margin-bottom: 50px;
}

/* Grid */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Card */
.program {
  background: rgba(255,255,255,0.9);
  border-radius: 18px;
  padding: 40px 20px;

  box-shadow: 0 10px 25px rgba(0,0,0,0.08);

  transition: 0.4s ease;

  opacity: 0;
  transform: translateY(40px);

  border: 1px solid rgba(37, 99, 235, 0.15);
}

/* Icon */
.icon {
  font-size: 40px;
  margin-bottom: 15px;
}

/* Text */
.program h3 {
  color: #1e3a8a;
  margin-bottom: 10px;
}

.program p {
  color: #64748b;
  font-size: 14px;
}

/* Hover */
.program:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
  border-color: #2563eb;
}

/* Animation */
.program.show {
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .programs-grid {
    grid-template-columns: 1fr;
  }
}
/* ------------------------------------------------------------Contact------------------------- */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f5f9ff;
}

/* Section */
.contact {
  padding: 100px 20px;
  text-align: center;
}

/* Title */
.section-title {
  font-size: 36px;
  color: #2563eb;
  margin-bottom: 40px;
}

/* Form box */
.contact-box {
  width: 100%;
  max-width: 500px;
  margin: auto;

  background: rgba(255,255,255,0.9);
  padding: 30px;
  border-radius: 18px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.1);

  display: flex;
  flex-direction: column;
  gap: 15px;

  border: 1px solid rgba(37, 99, 235, 0.2);
}

/* Inputs */
.contact-box input,
.contact-box textarea {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  outline: none;
  transition: 0.3s;
  font-size: 14px;
}

.contact-box textarea {
  height: 120px;
  resize: none;
}

/* Focus */
.contact-box input:focus,
.contact-box textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 10px rgba(37,99,235,0.2);
}

/* Button */
.contact-box button {
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: #2563eb;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-box button:hover {
  background: #1e40af;
  transform: translateY(-2px);
}

/* Top button */
.topBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;

  width: 45px;
  height: 45px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #2563eb;
  color: white;
  text-decoration: none;

  border-radius: 50%;

  opacity: 0;
  visibility: hidden;

  transition: 0.3s;

  box-shadow: 0 10px 20px rgba(37,99,235,0.3);
}

.topBtn.show {
  opacity: 1;
  visibility: visible;
}

.topBtn:hover {
  background: #1e40af;
  transform: scale(1.1);
}

.copyright {
  margin: 20px;
  text-align: center;
  color: #475569dd;
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 900px) {
  .stats,
  .grid-section,
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-content {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .stats,
  .grid-section,
  .programs-grid {
    grid-template-columns: 1fr;
  }

  .navbar {
    flex-direction: column;
    gap: 10px;
    padding: 15px;
  }

  .hero-content h1 {
    font-size: 32px;
  }
}