/* ===== Top Header ===== */
.top-header {
  background-color: #000080;
  font-size: 0.95rem;
}

.top-header a {
  color: white;
  transition: 0.3s;
}

.top-header a:hover {
  color: #002147;
}

/* ===== Navbar ===== */
.navbar {
  transition: 0.3s ease;
}

.navbar .nav-link {
  color: #002147;
  font-weight: 500;
  transition: all 0.3s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #0d6efd;
}

.navbar-brand h5 {
  color: #002147;
}

.btn-download {
  background-color: skyblue;
  color: #fff;
  border-radius: 25px;
  padding: 8px 20px;
  transition: all 0.3s ease;
  font-weight: 600;
}

.btn-download:hover {
  background-color: #0d6efd;
  color: #fff;
}


/* ===== Top Header Responsive ===== */
.top-header {
  background-color: #002147; /* Bootstrap primary color */
  font-size: 14px;
}
.top-header span i {
  color: #fff;
  margin-right: 4px;
}

.top-header a {
  transition: color 0.3s;
}

.top-header a:hover {
  color: #ffcc00;
}

/* ===== Navbar Fixes ===== */
.navbar-nav .nav-link {
  font-weight: 500;
  color: #333 !important;
  transition: color 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #0d6efd !important;
}

/* ===== Responsive Tweaks ===== */
@media (max-width: 992px) {
  .navbar-brand img {
    width: 60px;
  }
  .navbar-brand small {
    font-size: 12px;
  }
  .top-header {
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .top-header .d-flex {
    flex-direction: column !important;
    gap: 4px;
  }
  .top-header span {
    display: block;
  }
  .navbar-brand img {
    width: 55px;
  }
  .navbar-brand h6 {
    font-size: 14px;
  }
}


/* ===== Responsive ===== */
@media (max-width: 992px) {
  .top-header {
    font-size: 0.85rem;
    text-align: center;
  }
  .navbar-brand img {
    width: 45px;
  }
  .navbar-collapse {
    background-color: #f8f9fa;
    padding: 10px;
  }
}

/* ===== Slider Section ===== */
.slider-section {
  position: relative;
  overflow: hidden;
}

.slider-bg {
  background-size: cover;
  background-position: center;
  height: 500px;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
}

.slider-text {
  max-width: 50%;
  z-index: 2;
}

.slider-text h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.slider-text p {
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.6;
}

.slider-circle {
  position: relative;
  width: 280px;
  height: 280px;
  overflow: hidden;
  border-radius: 50%;
  border: 8px solid white;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
}

.slider-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ===== Slider Section ===== */
.slider-section {
  position: relative;
  overflow: hidden;
}

.slider-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 80vh;
  display: flex;
  align-items: center;
}

.slider-text h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

.slider-text p {
  font-size: 1.1rem;
  margin-top: 10px;
}

.slider-circle img {
  width: 400px;
  max-width: 100%;
  height: auto;
  border-radius: 50%;
  transition: transform 0.5s ease;
}

.slider-circle img:hover {
  transform: scale(1.05);
}

/* ===== Responsive Tweaks ===== */
@media (max-width: 992px) {
  .slider-bg {
    height: 65vh;
    text-align: center;
  }

  .slider-text h1 {
    font-size: 2rem;
  }

  .slider-text p {
    font-size: 1rem;
  }

  .slider-circle img {
    width: 300px;
  }
}

/* Hide image on phones and limit width */
@media (max-width: 768px) {
  .slider-bg {
    height: 55vh;
    padding: 20px;
  }

  .slider-text h1 {
    font-size: 1.6rem;
  }

  .slider-text p {
    font-size: 0.95rem;
  }

  .slider-circle img {
    width: 220px;
    max-width: 220px;
  }

  /* Hide image completely on small screens */
  .slider-circle {
    display: none !important;
  }
}

@media (max-width: 576px) {
  .slider-bg {
    height: auto;
    padding: 40px 20px;
  }

  .slider-text h1 {
    font-size: 1.4rem;
  }

  .slider-text p {
    font-size: 0.9rem;
  }
}

/* ===== Carousel Controls ===== */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  padding: 20px;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .slider-bg {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .slider-text {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .slider-circle {
    width: 200px;
    height: 200px;
  }
}

/* ===== cources Section ===== */
.course-section {
      padding: 60px 0;
      background-color: #f8f9fa;
    }

    .course-heading {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      height: 100%;
      text-align: center;
    }

    .course-heading h5 {
      color: #0d6efd;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 2px;
      margin-bottom: 10px;
    }

    .course-heading h2 {
      font-weight: 700;
      font-size: 32px;
      position: relative;
      display: inline-block;
    }

    .course-heading h2::after {
      content: "→";
      color: #0d6efd;
      font-size: 28px;
      margin-left: 8px;
    }

    .course-box {
      background: #fff;
      border-radius: 15px;
      margin:5px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
      padding: 25px 15px;
      text-align: center;
      transition: all 0.3s ease;
    }

    .course-box:hover {
      transform: translateY(-8px);
      box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

    .course-box .circle-img {
      width: 100px;
      height: 100px;
      border-radius: 50%;
      overflow: hidden;
      margin: 0 auto 15px;
      border: 3px solid #0d6efd;
    }

    .course-box .circle-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .course-box h5 {
      font-size: 18px;
      font-weight: 600;
      margin-bottom: 10px;
    }

    .course-box button {
      border: none;
      background: #0d6efd;
      color: #fff;
      border-radius: 25px;
      padding: 8px 18px;
      transition: 0.3s;
    }

    .course-box button:hover {
      background: #084298;
    }

    /* ===== choose Section ===== */

     .choose-section {
      background-color: #f7fbff;
      padding: 60px 0;
    }

    .choose-image {
      position: relative;
      border-radius: 15px;
      overflow: hidden;
    }

    .choose-image img {
      width: 100%;
      border-radius: 15px;
    }

     .student-badge {
      position: absolute;
      top: 10px;
      left: 10px;
      background: #fff;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      border-radius: 12px;
      padding: 10px 10px;
    }

    .student-badge h5 {
      font-weight: 700;
      color: #000;
    }

    .feature-box {
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.05);
      padding: 25px;
      text-align: left;
      transition: all 0.3s ease-in-out;
      border-left: 5px solid #8b0000;
    }

    .feature-box:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }

    .feature-box i {
      color: #8b0000;
      font-size: 24px;
      margin-right: 8px;
    }

    .section-title {
      color: #1b1b1b;
      font-weight: 700;
    }

    .section-subtitle {
      color: #8b0000;
      font-size: 14px;
      text-transform: uppercase;
      letter-spacing: 1px;
      font-weight: 600;
    }


     .stats-section {
      background-color: #5b1305; /* maroon shade */
      color: #fff;
      border-radius: 25px;
      padding: 40px 20px;
      margin-top: -50px;
      position: relative;
      z-index: 10;
    }

    .stat-box {
      border-right: 1px solid rgba(255,255,255,0.2);
    }

    .stat-box:last-child {
      border-right: none;
    }

    .stat-number {
      font-size: 2rem;
      font-weight: 800;
    }

    .stat-label {
      font-size: 1rem;
      font-weight: 600;
      opacity: 0.9;
    }

    @media (max-width: 768px) {
      .stat-box {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        padding-bottom: 20px;
        margin-bottom: 20px;
      }
      .stat-box:last-child {
        border-bottom: none;
      }
    }

    /* ===== Footer Section ===== */

    footer {
      background-color: #f6f6f6;
      color: #151515;
      padding: 60px 0 20px;
      font-family: 'Poppins', sans-serif;
    }

    footer h5 {
      font-weight: 600;
      margin-bottom: 20px;
      color: #212121;
      text-transform: uppercase;
    }

    footer p, footer a {
      color: #202020;
      font-size: 14px;
      text-decoration: none;
    }

    footer a:hover {
      color: #282828;
      text-decoration: underline;
    }

    .social-icons a {
      display: inline-block;
      width: 38px;
      height: 38px;
      background-color: rgba(255,255,255,0.1);
      color: #232323;
      border-radius: 50%;
      line-height: 38px;
      text-align: center;
      margin-right: 10px;
      transition: all 0.3s ease-in-out;
    }

    .social-icons a:hover {
      background-color: rgba(255,255,255,0.25);
      transform: translateY(-3px);
    }

    .contact-info i {
      color: #151515;
      margin-right: 10px;
    }

    hr {
      border-color: rgba(255,255,255,0.2);
      margin-top: 40px;
    }

    .footer-bottom {
      text-align: center;
      color: #252525;
      font-size: 13px;
    }

/* ===== educations Section ===== */
    .education-section {
      padding: 80px 0;
      text-align: center;
    }
    .education-section h6 {
      color: #7b2c0e;
      font-weight: 600;
      letter-spacing: 1px;
    }
    .education-section h2 {
      font-weight: 700;
      color: #122340;
      margin-bottom: 50px;
    }
    .edu-card {
      border: 1px solid #e3e3e3;
      border-radius: 15px;
      padding: 30px 20px;
      transition: all 0.3s ease-in-out;
      box-shadow: 0 0 10px rgba(0,0,0,0.05);
      background-color: #fff;
    }
    .edu-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }
    .edu-icon {
      background-color: #611a00;
      width: 90px;
      height: 90px;
      margin: 0 auto 20px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .edu-icon i {
      color: #fff;
      font-size: 40px;
    }
    .edu-card h5 {
      font-weight: 700;
      color: #0e203b;
      margin-bottom: 15px;
    }
    .edu-card p {
      color: #555;
      font-size: 15px;
      line-height: 1.6;
    }