/* ===== Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
/* ===== Navbar Base ===== */
.navbar {
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
  /* background-color:#1F3A5F; */
   background-color: rgba(255, 255, 255, 0.15); 
  backdrop-filter: blur(6px);
  height: 16vh;
}

/* .navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.15); 
  backdrop-filter: blur(6px);
} */

.navbar-brand {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 1.25rem;
  color: #1e3a8a  !important;

}
.navbar.scrolled .navbar-brand{
  color: #1e3a8a !important; /* navy blue */
}


.navbar.scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke='%231e3a8a' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/></svg>") !important;
  filter: none !important;
}


.navbar-brand img {
  height: 120px;
  margin-right: 8px;
}

.navbar-brand span {
  color: #1e3a8a ;
}

.nav-link {
  color: #1e3a8a ;
  font-weight: 500;
}

.nav-link:hover {
  color: #f4c542 !important;
}

/* Small margin for the Contact nav link (targets href="contact.html") */
.navbar .navbar-nav .nav-link[href$="contact.html"] {
  margin-left: 12px;
  padding-left: 6px;
}

/* ===== Responsive (mobile view) ===== */
@media (max-width: 992px) {
  .navbar-toggler {
    order: 3; /* burger menu on the right */
    border: none;
    margin-left: auto;
  }

  .navbar-toggler-icon {
    filter: invert(1);
  }

  .navbar-brand {
    position: absolute;
    left: 10px;
    transform: none;
  }

  .navbar-brand img {
    height: 120px;
    padding: 5px;
    border-radius: 8px;
  }

  .navbar-brand span {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
  }

  /* Offcanvas menu styling */
  .offcanvas {
    background-color: white;
    color: white;
    backdrop-filter: blur(6px);
    background-color: #002b5c;
    max-width: 70%;
    
  }
  
  .offcanvas .nav-link {
    color:white;
    font-size: 1.1rem;
    margin: 10px 0;
    margin-bottom: 5px;
    border-radius: 5px;
    transition: 0.3s ease;
  }

  .offcanvas .nav-link:hover {
    color: #f4c542 !important;
  }
 .offcanvas .btn-close {
  filter: invert(1) grayscale(1) !important;
}
}
#lang-btn {
 background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: white;
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

#lang-btn:hover {
  background: #ffcc00;
  color: #1e3a8a;
}


/* ===== Hero Section ===== */
.hero {
  background-image: url("/images/banner2.jpeg");
  background-size:cover;          /* عشان الصورة تملأ المساحة */
  background-position: center;     /* تبقى في النص */
  background-repeat: no-repeat;    /* متتكررش */
  height: 50vh;                    /* الطول النسبي */
  display: flex;                   
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin-top: 100px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35); 
  z-index: 0;
  padding: 12px;

}

 /* VISION AND MISSION */

.vision {
  padding: 70px 20px;
  text-align: center;
  background: #f7f9fc;
}

.vision h2 {
  margin-bottom: 30px;
  font-size: 32px;
  color: #0b1a3b;
}

.vision-box {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.vision-box div {
  flex: 1;
  min-width: 280px;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.vision-box div:hover {
  transform: translateY(-5px);
  background: #f0f4ff;
}
@media (max-width: 1040px) {
  .hero {
    padding: 90px 20px;
    text-align: center;
    display: flex;
    max-height: 50vh;
    margin-top: 100px;
    background-position: 0px;

  }

  .vision-box {
    flex-direction: column;
    gap: 30px;
  }

  .course-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .testimonial-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}
@media (max-width: 789px){
  .hero{
    padding:100px 20px;
    text-align: center;
    display: flex;
    margin-top: 100px;
    background-position: 0px;
    background-size: 100%;
    max-width: 100%;
    max-height: 40vh;
  }

}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    text-align: center;
    display: flex;
    max-height: 20vh;
    background-position: 0px 1px 1px 5px;
    margin-top: 100px;
  }

}
/* ===== For large screens (more than 1040px) ===== */
@media (min-width: 1041px) and (max-width: 2000px) {
  .hero {
    padding: 120px 60px;
    background-size: cover; /* الصورة متتمدش */
    background-position: center;
    background-position: 0px 1px 1px 5px;
    max-height: 100vh;
  }

  .vision-box {
    justify-content: space-around;
    gap: 50px;
  }

  .course-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .testimonial-container {
    display: flex;
    justify-content: center;
    gap: 40px;
  }

  .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
  }

  .footer-left, .footer-center, .footer-right {
    flex: 1;
    padding: 0 20px;
  }
}

/* ===== For extra large screens (more than 1600px) ===== */
@media (min-width: 1601px) {
  .hero {
    padding: 150px 100px;
    background-size: cover;
    background-position: center;
    max-height: 65vh;
  }
  .course-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
  }

  .testimonial-container {
    gap: 60px;
  }
}

/* ===== Stats Section (unchanged) ===== */
.stats-section {
  position: relative;
  overflow: hidden;
  color: white;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #004080, #002b5c);
}

.stats-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.15), transparent 70%);
  animation: moveLight 8s linear infinite;
  z-index: 0;
}

@keyframes moveLight {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  50% { transform: translate(0%, 0%) rotate(180deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.stats-section .container {
  position: relative;
  z-index: 1;
}

.section-subtitle {
  font-size: 18px;
  color: #ffcc00;
  margin-bottom: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.9;
}

.stats-section h2 {
  font-size: 32px;
  margin-bottom: 50px;
  font-weight: 700;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.stat-item h3 {
  font-size: 42px;
  margin-bottom: 10px;
  color: #ffcc00;
}

.stat-item p {
  font-size: 18px;
  margin: 0;
}

/* ===== Testimonials Section (unchanged) ===== */
.testimonials {
  text-align: center;
  background: linear-gradient(135deg, #062069, #0c1b3d);
  padding: 60px 20px;
  color: #fff;
}

.testimonials h2 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 40px;
}

.testimonial-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.testimonial {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  width: 300px;
  transition: transform 0.3s;
  backdrop-filter: blur(4px);
}

.testimonial:hover {
  transform: translateY(-5px);
}

.testimonial p {
  font-style: italic;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.6;
}

.testimonial h4 {
  color: #e0f2fe;
  font-weight: bold;
  margin-top: 10px;
}



/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
  .header {
    flex-direction: column;
    gap: 10px;
  }
  .hero{
    flex-direction: column;
    text-align: center;
    padding: 80px 30px;
  }

  .vision-box {
    flex-direction: column;
  }

  .course-grid {
    grid-template-columns: 1fr;
  }

  .testimonial {
    width: 90%;
  }
}

@media (max-width: 600px) {
  .header {
    padding: 10px 20px;
  }

  #lang-btn {
    margin-left: 10px;
  }

  .hero {
    padding: 80px 15px;
  }

  .vision, .courses {
    padding: 50px 15px;
  }

  .footer {
    font-size: 13px;
  }
}
@media (max-width: 420px) {
  .hero {
    width: 100%;       /* الصورة تاخد كامل عرض الشاشة */
    height: 50%;      /* يحافظ على النسب الصحيحة للصورة */
    object-fit: cover; /* لو في جزء من الصورة مش مهم يظهره */
    margin-bottom: 20px; /* مسافة تحت الصورة */
  }

}

/* ===== About Page ===== */
/* ABOUT US PAGE */
 /* owner pic */
 .about-owner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin: 50px auto;
  max-width: 1000px;
  flex-wrap: wrap;
}

.owner-img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.owner-info {
  max-width: 600px;
}

.owner-info h2 {
  color: #004080;
  margin-bottom: 10px;
}

.owner-info h4 {
  color: #666;
  margin-bottom: 15px;
}

.owner-info p {
  line-height: 1.6;
  color: #333;
}
/* Achievement&certifactes */
.achievements {
  text-align: center;
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.achievements h2 {
  color: #004080;
  margin-bottom: 15px;
  font-size: 28px;
}

.achievements p {
  max-width: 800px;
  margin: 0 auto 40px;
  color: #555;
  line-height: 1.6;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  justify-items: center;
}

.gallery-item img {
  width: 100%;
  max-width: 350px;
  height: 240px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
}
.about {
    padding: 50px;
    text-align: center;
    background: #eef2f7;
}

.about h2 {
    margin-bottom: 20px;
    font-size: 32px;
    color: #004080;
}

.about p {
    max-width: 800px;
    margin: 0 auto 15px;
    line-height: 1.6;
}

.about ul {
    list-style: disc;
    text-align: left;
    max-width: 600px;
    margin: 20px auto;
    padding-left: 20px;
}
.info-columns {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  flex-wrap: wrap; /* عشان يكون responsive على الموبايل */
  margin-top: 30px;
}

.info-columns .column {
  flex: 1;
  min-width: 300px;
  background-color:#0c1b3d;
  color: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  
}

.info-columns h3 {
  margin-bottom: 15px;
  color: white;
  font-size: 20px;
}

.info-columns ul {
  list-style-type: disc;
  padding-left: 20px;
}

.info-columns li {
  margin-bottom: 8px;
  line-height: 1.5;
}

/* ===== Courses Section ===== */

.courses {
  padding: 90px 20px;
  text-align: center;
  background: #fff;
}

.courses h2 {
  font-size: 32px;
  margin-bottom: 40px;
  color: #0b1a3b;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  align-items: stretch;
}

.course-card {
  background:#0c1b3d;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
  display:flex;
  flex-direction: column;
  justify-content: flex-start;
  max-height: 600px;
  gap: 3px;
}
.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.course-card img {
    width: 100%;
    height: 300px; /* خليه ثابت عشان الصور تبقى قد بعض */
    object-fit:fill; /* يخلي الصورة ما تتشوهش */
    border-radius: 8px;
    margin-bottom: 10px;
}

.course-card h3 {
  margin: 10px 0;
  color: #fff;
  font-size: 22px;

}
  
.course-card p {
  font-size: 15px;
  color: #fff;
  margin-bottom: 20px;
}
.course-card .btn {
    display:inline-flex;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    align-self:center; 
    justify-content: space-between;
    margin: 8px;
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;

}

.course-card .btn:hover {
   background: #ffcc00;
   color: #1e3a8a;
}
@media (max-width: 1040px) {
  .courses h2{
    padding: 21px;
  }
}


/* ===== CONTACT PAGE (Navy Gradient + White) ===== */
.contact {
  background: linear-gradient(135deg, #0a1e47, #163a80);
  color: white;
  padding: 40px 20px;
  box-sizing: border-box;
  margin-top: 15px;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  gap: 40px;
  max-width: 1200px;
  width: 100%;
}
.contact-info{
  margin-top: 60px;
}

/* ===== LEFT SIDE (INFO + FORM) ===== */
.contact-left {
  flex: 1 1 55%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-info h2 {
  font-size: 30px;
  margin-bottom: 15px;
  color: #fff;
}

.contact-info p {
  margin-bottom: 20px;
  line-height: 1.6;
  color: #e0eaff;
}

/* ===== INFO CARDS ===== */
.info-box {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;

}

.info-card {
  flex: 1 1 250px;
  background: rgba(255, 255, 255, 0.15);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s, background 0.3s;
}

.info-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.25);
}

.info-card i {
  font-size: 30px;
  color: #fff;
  margin-bottom: 10px;
}

.info-card p {
  color: #dbeafe;
  font-size: 16px;
  line-height: 1.4;
}

.info-card strong {
  color: #fff;
}

/* ===== CONTACT FORM ===== */
.contact-form {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  border-radius: 15px;
  padding: 50px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  margin-top: 50px;
  color: white;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #cdd8f3;
}

.contact-form button {
  background-color: #fff;
  color: #0a1e47;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background-color: #dbeafe;
}

/* ===== MAP SECTION (RIGHT SIDE) ===== */
.map {
  flex: 1 1 40%;
  display: flex;
  align-items: stretch;
  margin-top: 70px;
}

iframe {
  width: 100%;
  height: 100%;
  min-height: 600px;
  border: 0;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* ===== SOCIAL MEDIA SECTION ===== */
.social {
  text-align: center;
  background: linear-gradient(135deg, #163a80, #0a1e47);
  padding: 60px 20px;
  color: white;
  border-radius: 15px;
  margin-top: 60px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

.social h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.social p {
  font-size: 16px;
  color: #dbeafe;
  margin-bottom: 25px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 25px;
}

.social-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  font-size: 22px;
  color: white;
  background: rgba(255,255,255,0.15);
  transition: 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.3);
}

/* ===== Specific Colors for Each Platform ===== */
.facebook:hover {
  background: #1877f2;
}

.instagram:hover {
  background: #e1306c;
}

.linkedin:hover {
  background: #0a66c2;
}
/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .contact {
    padding: 60px 15px;
  }

  .contact-info h2 {
    font-size: 26px;
  }

  .contact-container {
    gap: 25px;
  }

  iframe {
    min-height: 500px;
  }
}

@media (max-width: 900px) {
  .contact-container {
    flex-direction: column;
    align-items: stretch;
  }
  .contact-left,
  .map {
    flex: 1 1 100%;
    width: 100%;
  }
  .map { margin-top: 20px; }
  .contact-form { padding: 30px; }
  iframe { height: 450px; min-height: 300px; }
}

/* Mobile optimizations */
@media (max-width: 600px) {
  .contact {
    padding: 28px 12px;
  }
  .contact-info h2 { font-size: 22px; }
  .contact-left { gap: 18px; }
  .contact-form {
    padding: 18px;
    margin-top: 20px;
  }
  .contact-form button {
    width: 100%;           /* make submit button easy to tap */
    padding: 12px;
  }
  iframe {
    height: 300px;
    min-height: 250px;
  }
}

/* Very small phones: tighten spacing */
@media (max-width: 420px) {
  .contact { padding: 20px 10px; }
  .contact-info h2 { font-size: 20px; }
  .contact-form { padding: 14px; }
  .contact-form input,
  .contact-form textarea { padding: 10px; }
}

/* ===== Courses Page ===== */
.courses h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color:#0c1b3d;
}

/* ===== Course Details Page ===== */
.course-details {
    padding: 80px 20px;
    background: #f8f8f8;
    max-width: 100%; 
    margin-top: 50px; 
    padding: 60px; 
    box-sizing: border-box; 
}

.course-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    justify-content: center;
    align-items: flex-start;
}

.course-container img {
    max-width: 450px;
    width: 100%;
    height: 750px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    object-fit: cover;
    display: block;
      
}
.course-info {
    flex: 1 1 400px;
    min-width: 300px;
}

.course-info h1 {
    color: #004080;
    margin-bottom: 15px;
}

.course-info p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.course-info ul {
    margin-bottom: 20px;
    padding-left: 20px;
    list-style: disc;
}


.course-info li {
    margin-bottom: 10px;
}
.course-info-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap; /* عشان لو الشاشة صغيرة يرجعوا تحت بعض */
  margin-top: 20px;
}

.course-info-flex .topics,
.course-info-flex .details {
  flex: 1 1 45%; /* كل واحدة تاخد نص تقريبا */
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.course-info-flex h3 {
  color: #1e3a8a;
  margin-bottom: 15px;
}

.course-info-flex ul {
  list-style: disc;
  padding-left: 20px;
  color: #333;
  line-height: 1.6;
}
.course-container > img,
.course-container .course-info {
  flex: 1 1 380px;
  min-width: 280px;
}

/* Responsive */
/* On medium screens, reduce image max-height */
@media (max-width: 1200px) {
  .course-container {
    flex-direction: column;
    padding: 18px;
  }
  .course-container img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 420px;
  }
  .course-info {
     width: 100%; 
    }
   
}
@media (max-width: 768px) {
  .course-info-flex {
    flex-direction: column;
  }
}
/* Stack vertically on small screens */
@media (max-width: 900px) {
  .course-container {
    flex-direction: column;
    padding: 18px;
    margin-top: 25px;
  }
  .course-container img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 420px;
  }
  .course-info {
     width: 100%; 
    }

}
/* Phones: tighter spacing, full-width action buttons */
@media (max-width: 576px) {
  .course-details {
     padding: 28px 12px; 
    }
  .course-container {
     gap: 18px; 
    }
  .course-container img {
     max-height: 280px; 
    }
  .course-info h1 { 
    font-size: 20px;
   }
  .course-info .btn {
     width: 100%;
      box-sizing: border-box;
     }
}

.course-info .btn {
  display: inline-block;
  background: linear-gradient(135deg, #1e3a8a, #2563eb); /* Navy → Royal Blue */
  color: #fff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  margin: 10px 6px;
  transition: all 0.3s ease;
  min-width: 150px;
  text-align: center;
  border: none;
  position: relative;
  overflow: hidden;
}



.course-info .btn:hover {
    background: #ffcc00;
    color: #004080;
}
.back-btn {
    background: #777;
    margin-left: 10px;
    background: linear-gradient(135deg, #fff, #e0e7ff);
    color: #1e3a8a;
    border: 2px solid #1e3a8a;
}

.back-btn:hover {
    background: #1e3a8a;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}
/* ===== Subtle glow animation ===== */
.course-info .btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.25);
  transition: all 0.5s ease;
}

.course-info .btn:hover::after {
  left: 100%;
}

@media (max-width: 768px) {
  .course-info .btn {
    width: auto;
  }
}


@media (max-width: 320px) {
  .course-info h1 {
    font-size: 22px;
  }
  .course-info .btn {
    font-size: 14px;
    padding: 10px;
  }
}
.course-breakdown {
  padding: 40px;
  background: #f0f4f9;
  margin: 40px auto;
  border-radius: 8px;
  max-width: 1000px;
}

.course-breakdown h2 {
  color: #004080;
  margin-bottom: 20px;
}

.course-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.course-table th, .course-table td {
  border: 1px solid #ccc;
  padding: 12px 15px;
  text-align: left;
}

.course-table th {
  background-color: #004080;
  color: #fff;
}

.course-table tr:nth-child(even) {
  background-color: #f9f9f9;
}
.accordion {
  background-color: #004080;
  color: #fff;
  cursor: pointer;
  padding: 15px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 16px;
  transition: 0.3s;
  margin-top: 5px;
  border-radius: 5px;
}

.accordion:hover {
  background-color: #003060;
}

.panel {
  padding: 0 15px;
  display: none;
  background-color: #f9f9f9;
  overflow: hidden;
  border-left: 3px solid #004080;
  border-right: 3px solid #004080;
  border-bottom: 3px solid #004080;
  margin-bottom: 10px;
}
/* INFO PAGE */
.info {
  margin: 50px auto;
  padding: 30px;
  background: linear-gradient(135deg, #0a1e47, #163a80);  /* زي Contact Page */
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.course-card .btn:first-of-type {
  margin-top: auto;
}
/* Form */
.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--primary-200);
  border-radius: 8px;
  background-color: var(--bg-100);
  color: white;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
  outline: none;
  border-color:white;
}

/* Button */
.inquiry-form button {
  background-color: white;
  color: navy;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

.inquiry-form button:hover {
  background-color: transparent;
  color: var(--bg-100);
}


/* ===== SERVICES PAGE ===== */
.services-page {
  background: #fff;
  color: #0a1e47;
  padding: 90px 20px;
  margin-top: 15px;
}

.services-page .container {
  max-width: 1100px;
  margin: 0 auto;
  
}

.page-title {
  text-align: center;
  font-size: 36px;
  color: #0a1e47;
  margin-bottom: 20px;
}

.intro-text {
  text-align: center;
  font-size: 18px;
  color: #333;
  margin-bottom: 40px;
  line-height: 1.6;
}

.service-section {
  background: #f9f9ff;
  border-left: 5px solid #0a1e47;
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 40px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.service-section h2 {
  color: #0a1e47;
  margin-bottom: 15px;
}

.service-section p {
  color: #333;
  line-height: 1.7;
}

.service-list {
  margin-top: 10px;
  margin-bottom: 20px;
  padding-left: 20px;
}

.service-list li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.service-section .btn {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: #fff;
  padding: 10px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.service-section .btn:hover {
  background: #ffcc00;
  color: #0a1e47;
}

/* Responsive */
@media (max-width: 768px) {
  .page-title {
    font-size: 28px;
  }
  .service-section {
    padding: 20px;
  }

}

/* ===== CLIENTS & PARTNERS SECTION ===== */
.clients {
  background: #f8faff;
  padding: 70px 20px;
  text-align: center;
}

.clients h2 {
  color: #0a1e47;
  font-size: 30px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.clients h2 i {
  color: #2563eb;
}

.clients p {
  color: #333;
  font-size: 16px;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.client-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.client-logos img {
  width: 140px;
  height: auto;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.client-logos img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .client-logos img {
    width: 100px;
  }
}


/* END OF INDEX PAGE */
/* ===== Footer ===== */
.footer {
  background: linear-gradient(135deg, #0b1a3b, #1e3a8a);
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  margin-top: 40px;
  font-size: 15px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: auto;
}

.footer h3, .footer h4 {
    margin-bottom: 15px;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: white;
    text-decoration: none;
}

.footer ul li a:hover {
    text-decoration: underline;
}

.footer .social-icons a {
    color: white;
    margin-right: 10px;
    font-size: 1.2rem;
}

.footer .footer-bottom {
    text-align: center;
    margin-top: 10px;
    border-top: 1px solid #444;
    padding-top: 15px;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-right, .footer-center, .footer-left {
        margin-bottom: 20px;
    }
}




