/* ====================== Dark Mode ====================== */
body.dark {
  background: #1b1b2f;
  color: #eee;
  transition: background 0.3s, color 0.3s;
}

/* ====== Header / Navbar ====== */
body.dark header {
  background: #1305d4;
  color: #fff;
  transition: background 0.3s, color 0.3s;
}

body.dark .nav-links a {
  color: #fff;
}

body.dark header nav ul li a:hover {
  color: #f9d342;
}

body.dark #toggleTheme {
  background: #ffffff;
  color: #1305d4;
  border-radius: 5px;
  transition: background 0.3s, color 0.3s;
}

body.dark #toggleTheme:hover {
  background: #1b1b2f;
  color: #f9d342;
}

body.dark #toggleTheme i {
  color: inherit;
  transition: color 0.3s;
}

/* ====== Home / Slider ====== */
body.dark .home {
  background: #2b2b45;
  color: #eee;
}

body.dark .slide-content h2 {
  color: #ffffff;
}

body.dark .slide-content p {
  color: #ccc;
}

/* ====== About Section ====== */
body.dark .about {
  background: linear-gradient(135deg, #1b1b2f, #2b2b45);
}

body.dark .about::before {
  background: rgba(79, 129, 255, 0.5);
}

body.dark .bubbles span {
  background: rgba(79, 129, 255, 0.4);
}

body.dark .about h2 {
  color: #f9d342;
}

body.dark .about h2::after {
  background: #f9d342;
}

body.dark .about p {
  color: #ccc;
}

body.dark .about .about-image {
  filter: brightness(0.8);
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
}

/* ====== Projects Section (Dark Mode) ====== */
body.dark .projects-section {
  background: #1b1b2f; /* خلفية القسم */
  color: #eee;
  padding: 80px 20px;
  transition: background 0.3s, color 0.3s;
}

body.dark .projects-section h2 {
  color: #f9d342; /* لون العنوان */
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

body.dark .projects-section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #f9d342;
  margin: 12px auto 0;
  border-radius: 2px;
}

body.dark .project-card {
  background: #2b2b45;
  color: #eee;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.dark .project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

body.dark .project-card img {
  width: 100%;
  border-bottom: 3px solid #f9d342;
  object-fit: cover;
}

body.dark .project-content h3 {
  color: #f9d342;
  margin: 15px 0 10px;
}

body.dark .project-content p {
  color: #ccc;
  line-height: 1.6;
}


/* ====== Events Section (Dark Mode) ====== */
body.dark .events {
  background: #1b1b2f; /* خلفية داكنة */
  color: #eee;
  padding: 80px 20px;
  transition: background 0.3s, color 0.3s;
}

body.dark .events h2 {
  color: #f9d342; /* لون العنوان */
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

body.dark .events h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #f9d342;
  margin: 12px auto 0;
  border-radius: 2px;
}

body.dark .event-card {
  background: #2b2b45;
  color: #eee;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.6);
  margin-bottom: 30px;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.dark .event-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

body.dark .event-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
  border: 2px solid #f9d342;
  object-fit: cover;
}

body.dark .event-card h3 {
  color: #f9d342;
  margin: 10px 0;
}

body.dark .event-card p {
  color: #ccc;
  line-height: 1.6;
  font-size: 0.95rem;
}


/* ====== Vision & Mission Section (Dark Mode) ====== */
body.dark .vision-mission {
  background: #1b1b2f; /* خلفية داكنة */
  color: #eee;
  padding: 80px 20px;
  transition: background 0.3s, color 0.3s;
  text-align: center;
}

body.dark .vision-mission h2 {
  color: #f9d342; /* لون العنوان الرئيسي */
  margin-bottom: 50px;
  position: relative;
}

body.dark .vision-mission h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #f9d342;
  margin: 12px auto 0;
  border-radius: 2px;
}

body.dark .vision-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

body.dark .vision-item {
  background: #2b2b45;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.dark .vision-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

body.dark .vision-item .icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 15px;
}

body.dark .vision-item h3 {
  color: #f9d342;
  margin-bottom: 12px;
}

body.dark .vision-item p,
body.dark .vision-item li {
  color: #ccc;
  line-height: 1.6;
  font-size: 0.95rem;
}

body.dark .vision-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

body.dark .vision-item ul li::before {
  content: "✔️";
  margin-left: 8px;
  color: #f9d342;
}


/* ====== Academics Section (Dark Mode) ====== */
body.dark .academics-section {
  background: #1b1b2f;
  color: #eee;
  padding: 80px 20px;
  text-align: center;
}

body.dark .academics-section h2 {
  color: #f9d342;
  margin-bottom: 50px;
}

body.dark .academics-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

body.dark .academic-card {
  background: #2b2b45;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.6);
  transition: transform 0.3s, box-shadow 0.3s;
}

body.dark .academic-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

body.dark .academic-card h3 {
  color: #f9d342;
  margin: 12px 0;
}

body.dark .academic-card p {
  color: #ccc;
  line-height: 1.6;
}


/* ====== Teachers Section (Dark Mode) ====== */
body.dark .teachers-section {
  background: #1b1b2f;
  color: #eee;
  padding: 80px 20px;
  text-align: center;
}

body.dark .teachers-section h2 {
  color: #f9d342;
  margin-bottom: 50px;
}

body.dark .teacher-circle {
  background: #2b2b45;
  border-radius: 50%;
  padding: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.6);
  transition: transform 0.3s, box-shadow 0.3s;
}

body.dark .teacher-circle:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

body.dark .teacher-info h3 {
  color: #f9d342;
  margin: 10px 0 5px;
}

body.dark .teacher-info p {
  color: #ccc;
}


/* ====== Gallery Section (Dark Mode) ====== */
body.dark .gallery-section {
  background: #1b1b2f;
  color: #eee;
  padding: 80px 20px;
  text-align: center;
}

body.dark .gallery-section h2 {
  color: #f9d342;
  margin-bottom: 50px;
}

body.dark .gallery-item img {
  border-radius: 12px;
  border: 3px solid #2b2b45;
  transition: transform 0.3s;
}

body.dark .gallery-item img:hover {
  transform: scale(1.05);
  border-color: #f9d342;
}

body.dark .lightbox {
  background: rgba(0, 0, 0, 0.95);
}

body.dark .lightbox-img {
  border: 3px solid #f9d342;
}


/* ====== Admission Section (Dark Mode) ====== */
body.dark .admission-section {
  background: #1b1b2f;
  color: #eee;
  padding: 80px 20px;
  text-align: center;
}

body.dark .admission-section h2 {
  color: #f9d342;
  margin-bottom: 20px;
}

body.dark .admission-section p {
  color: #ccc;
  margin-bottom: 20px;
}

body.dark .admission-btn {
  background: #f9d342;
  color: #1b1b2f;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
}

body.dark .admission-btn:hover {
  background: #ffd65a;
}


/* ====== Contact Section (Dark Mode) ====== */
body.dark .contact-section {
  background: #1b1b2f;
  color: #eee;
  padding: 80px 20px;
  text-align: center;
}

body.dark .contact-section h2 {
  color: #f9d342;
  margin-bottom: 30px;
}

body.dark .contact-form input,
body.dark .contact-form textarea {
  background: #2b2b45;
  color: #eee;
  border: 1px solid #444;
  padding: 12px;
  border-radius: 8px;
  width: 100%;
  margin-bottom: 15px;
}

body.dark .contact-form input::placeholder,
body.dark .contact-form textarea::placeholder {
  color: #bbb;
}

body.dark .contact-form button {
  background: #f9d342;
  color: #1b1b2f;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

body.dark .contact-form button:hover {
  background: #ffd65a;
}

body.dark .contact-info p {
  color: #ccc;
  margin: 10px 0;
}

body.dark .map-container iframe {
  border: 2px solid #f9d342;
  border-radius: 10px;
}


/* ====== Footer (Dark Mode) ====== */
body.dark .site-footer {
  background: #0f0f1a;
  color: #ccc;
  padding: 60px 20px 30px;
}

body.dark .footer-logo h3,
body.dark .footer-links h4,
body.dark .footer-contact h4 {
  color: #f9d342;
}

body.dark .footer-links ul li a {
  color: #ccc;
  transition: color 0.3s;
}

body.dark .footer-links ul li a:hover {
  color: #f9d342;
}

body.dark .footer-social a {
  color: #ccc;
  font-size: 1.2rem;
  margin-right: 10px;
  transition: color 0.3s;
}

body.dark .footer-social a:hover {
  color: #1305d4;
  background: #ffffff;
}

body.dark .footer-newsletter input {
  background: #2b2b45;
  color: #eee;
  border: 1px solid #444;
  padding: 10px;
  border-radius: 6px;
}

body.dark .footer-newsletter button {
  background: #f9d342;
  color: #1b1b2f;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

body.dark .footer-newsletter button:hover {
  background: #ffd65a;
}

body.dark .footer-bottom {
  border-top: 1px solid #333;
  margin-top: 30px;
  padding-top: 15px;
  font-size: 0.9rem;
  color: #999;
}

/* ====== Swiper ====== */
body.dark .swiper-button-next,
body.dark .swiper-button-prev {
  color: #fff;
}

body.dark .swiper-pagination-bullet {
  background: #fff;
}

body.dark .swiper-pagination-bullet-active {
  background: #f9d342;
}

/* ====== Scroll to Top ====== */
body.dark #scrollTopBtn {
  background-color: #3a3a6e;
  color: #fff;
}

body.dark #scrollTopBtn:hover {
  background-color: #5050a0;
}

/* ====== Links ====== */
body.dark a {
  color: #80c0ff;
}






