/* style.css */
body {
  font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    /* font-size: 1.3rem; */
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: #6c6a74;
    text-align: left;
    /* background-color: #f1f1f1; */
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
}
html, body{
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.hero-section {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
}

.statistics {
    background-color: #003366;
}

.footer {
    background-color: #002244;
}

.card h6 {
    margin-top: 10px;
    font-weight: bold;
}
 /* navbar css start */
.navbar-nav .nav-link {
    padding-right: 15px;
    padding-left: 15px;
    font-weight: 500;
}

@media (max-width: 767px) {
    .hero-section h1 {
        font-size: 1.75rem;
    }
    .hero-section p {
        font-size: 1rem;
    }
}
.logo {
    width: 270px;
}
.btn-custom {
  background-color: #012169;
  color: #fff;
  border: none;
}

.btn-custom:hover,
.btn-custom:focus {
  background-color: #af1000;
  color: #fff;
}


/* ==================== */

/* Welcome Banner Styling */
.welcome-banner {
    background: linear-gradient(to right, #012169, #a50f00);
    overflow: hidden;
    padding: 10px 0;
    color: white;
    font-weight: bold;
    position: relative;
    white-space: nowrap;
  }
  
  /* Outer wrapper for control */
  .scrolling-wrapper {
    display: inline-block;
    padding-left: 100%;
    animation: scrollText 15s linear infinite;
  }
  
  /* Text inside the animation */
  .scrolling-text {
    display: inline-block;
    font-size: 1rem;
    padding-right: 100%; /* Ensures continuous space */
  }
  
  @keyframes scrollText {
    0% {
      transform: translateX(0%);
    }
    100% {
      transform: translateX(-100%);
    }
  }
  
  
      /* Sliding welcome banner end */

    @keyframes slideIn {
        from {
            transform: translateX(-100%);
        }
        to {
            transform: translateX(0);
        }
    }

    /* Logo responsiveness */
    @media (min-width: 300px) and (max-width: 374px) {
        .logo {
            width: 203px;
        }
    }

    /* Navbar hover effect */
    
    .navbar-nav .nav-link {
        transition: color 0.3s ease;
        position: relative;
    }

    .navbar-nav .nav-link:hover {
        color: red;
    }

    .navbar-nav .nav-link::after {
        content: '';
        height: 2px;
        background: red;
        width: 0;
        position: absolute;
        bottom: 0;
        left: 0;
        transition: width 0.3s;
    }

    .navbar-nav .nav-link:hover::after {
        width: 100%;
    }

    /* Carousel image */
    .carousel-item img {
        height: 85vh;
        object-fit: cover;
    }
    /* Responsive carousel styles */
@media (max-width: 768px) {
    .carousel-caption {
      position: absolute;
      bottom: 10%;
      left: 5%;
      right: 5%;
      padding: 10px 15px;
      background: rgba(0, 0, 0, 0.4); /* subtle dark background */
      border-radius: 8px;
    }
  
    .carousel-caption h5 {
      font-size: 1rem;
      font-weight: 600;
    }
  
    .carousel-caption p {
      font-size: 0.85rem;
      margin-bottom: 0;
    }
  
    .carousel-item img {
      height: 60vh;
      object-fit: cover;
    }
  }
  
  @media (max-width: 576px) {
    .carousel-item img {
      height: 55vh;
      object-fit: cover;
    }
  }
  

    /* Popup modal form */
    .modal-content {
        border-radius: 10px;
        padding: 20px;
    }

    .form-control:focus {
        box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    }

    /* navbar end */

  /* About Us section start  */

.hero-section {
  padding: 80px 0;
  background: #ffffff;
}

.title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #002147;
}

.description {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.6;
}

.learn-more-btn {
  background: #d21f3c;
  color: white;
  font-weight: 600;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.learn-more-btn:hover {
  background-color: #a4182f;
  transform: scale(1.05);
}

.image-box {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  border: 2px solid transparent;
}

.image-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
  border: 3px solid #d21f3c;
}

/* Highlighted section */
.highlight-section {
  position: relative;
  margin-top: 40px;
  border-radius: 16px;
}

.highlight-section img {
  border-radius: 16px;
}

.info-box {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: #ffffff;
  padding: 20px 24px;
  border-radius: 12px;
  max-width: 400px;
  z-index: 10;
  border-left: 4px solid #0d6efd;
  transition: all 0.3s ease-in-out;
}

.school-logo {
  width: 50px;
  height: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .info-box {
    position: static;
    margin-top: 20px;
  }

  .title {
    font-size: 2rem;
  }

  .description {
    font-size: 1rem;
  }
}
/* Overlay Card Style */
.overlay-card {
  position: absolute;
  top: 20px;
  left: -320px;
  width: 260px;
  background-color: #ffffff;
  border-left: 4px solid #d21f3c;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.6s ease;
  z-index: 5;
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.image-box:hover .overlay-card {
  left: 20px;
  opacity: 1;
}

/* Overlay Content */
.overlay-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #002147;
  margin-top: 10px;
}

.overlay-text {
  font-size: 0.95rem;
  color: #333;
  margin-top: 6px;
}

.overlay-icon {
  width: 40px;
  height: auto;
}

/* Responsive for mobile */
@media (max-width: 768px) {
  .overlay-card {
    position: static;
    opacity: 1;
    margin-top: 20px;
    left: 0;
    width: 100%;
  }
}
/* Overlay Card Style */
.overlay-card {
    position: absolute;
    top: 20px;
    left: -320px;
    width: 260px;
    background-color: #ffffff;
    border-left: 4px solid #d21f3c;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.6s ease;
    z-index: 5;
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .image-box:hover .overlay-card {
    left: 20px;
    opacity: 1;
  }
  
  /* Overlay Content */
  .overlay-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #002147;
    margin-top: 10px;
  }
  
  .overlay-text {
    font-size: 0.95rem;
    color: #333;
    margin-top: 6px;
  }
  
  .overlay-icon {
    width: 40px;
    height: auto;
  }
  
  /* Responsive Styling */
  @media (max-width: 991.98px) {
    .overlay-card {
      width: 100%;
      position: static;
      opacity: 1;
      margin-top: 15px;
      border-left: 4px solid #d21f3c;
      display: block;
      box-shadow: none;
      transform: none;
    }
  
    .image-box:hover .overlay-card {
      left: 0;
      opacity: 1;
    }
  
    .overlay-icon {
      width: 112px;
    }
  
    .overlay-title {
      font-size: 1rem;
    }
  
    .overlay-text {
      font-size: 0.9rem;
    }
  }
  
  /* About Us section end  */

  /* why choose us start */


  .choose-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: #012169;
    position: relative;
    display: inline-block;
  }

  .heading-underline {
    width: 60px;
    height: 4px;
    background-color: #012169;
    border-radius: 2px;
    margin-top: 12px;
    animation: underlinePulse 2s ease-in-out infinite;
  }
  
  @keyframes underlinePulse {
    0%, 100% {
      width: 60px;
      background-color: #012169;
    }
    50% {
      width: 90px;
      background-color: #0056b3;
    }
  }
  
  @media (max-width: 768px) {
    .choose-heading {
      font-size: 1.75rem;
    }
    .heading-underline {
      width: 40px;
      height: 3px;
    }
  }
  
  .choose-heading {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlideUp 1s ease forwards;
  }
  
  @keyframes fadeSlideUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  

  .why-choose-us {
    padding: 60px 15px;
  }
  
  .choose-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: #012169;
    position: relative;
  }
  
  .heading-underline {
    width: 60px;
    height: 4px;
    background-color: #012169;
    margin-top: 10px;
    border-radius: 2px;
    animation: underlinePulse 2s infinite ease-in-out;
  }
  
  @keyframes underlinePulse {
    0%, 100% {
      width: 60px;
    }
    50% {
      width: 90px;
    }
  }
  .choose-box, .choose-box * {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  
  .choose-box {
    background: #fff;
    border-left: 6px solid #012169;
    border-radius: 10px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    margin-bottom: 12px;
    user-select: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  
  .choose-box:hover {
    transform: scale(1.03);
    background-color: #eaf1ff;
  }
  
  .choose-box i {
    font-size: 28px;
    color: #012169;
    margin-right: 15px;
    width: 40px;
    text-align: center;
    transition: transform 0.5s ease-in-out;
  }
  
  .choose-box:hover i:first-child {
    transform: rotate(360deg);
  }
  
  .choose-title {
    font-weight: 600;
    font-size: 1.05rem;
    color: #012169;
    flex-grow: 1;
    cursor: pointer;
  }
  
  .choose-arrow {
    color: #888;
    font-size: 14px;
    margin-left: 10px;
  }
  
  .details-box {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateY(20px);
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -1;
  }
  
  .details-box.active {
    opacity: 1;
    transform: translateY(0);
    z-index: 1;
  }
  
  .details-box h5 {
    font-weight: bold;
    color: #012169;
    margin-bottom: 12px;
  }
  
  .details-box p {
    color: #333;
    line-height: 1.6;
  }
  
  /* Responsive styles */
  @media (max-width: 768px) {
    .why-choose-us {
      padding: 30px 10px;
    }
  
    .details-box {
      position: relative;
      margin-top: 20px;
      padding: 20px;
      transform: none !important;
      opacity: 1 !important;
      z-index: auto !important;
      margin-top: 20%;
    }
  
    .choose-box {
      padding: 14px 16px;
      flex-direction: row;
      justify-content: flex-start;
    }
  
    .choose-title {
      font-size: 0.95rem;
    }
  
    .details-container {
      display: flex;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
    }
  
    .details-box {
      min-width: 100%;
      scroll-snap-align: start;
      flex: 0 0 100%;
    }
  }
  
    /* why choose us end */


    /* logo slider start */
    .partners-section {
        background-color: rgba(0, 0, 0, 0.08);
      }
      
      .partner-container {
        overflow: hidden;
        width: 100%;
      }
      
      .partner-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
      }
      
      .partner-slider {
        width: 100%;
        overflow: hidden;
        position: relative;
      }
      
      .partner-slide-track {
        display: flex;
        animation: scroll 7s linear infinite;
        gap: 20px;
        width: max-content;
      }
      
      .partner-slide {
        position: relative;
        flex: 0 0 auto;
        width: 200px;
        height: 150px;
      }
      
      .partner-slide img {
        width: 100%;
        height: 100%;
        /* object-fit: cover; */
        border-radius: 10px;
        border: 2px solid white;
        cursor: pointer;
      }
      

      
      @keyframes scroll {
        0% {
          transform: translateX(0);
        }
        100% {
          transform: translateX(-50%);
        }
      }
      
      /* Responsive */
      @media (max-width: 768px) {
        .partner-slide {
          width: 150px;
          height: 100px;
        }
      }
      
      /* Modal */
      .modal {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 9999;
        background-color: rgba(0, 0, 0, 0.8);
        align-items: center;
        justify-content: center;
      }
      
      .modal.open {
        display: flex;
      }
      
      .modal-content-logo {
        max-width: 50%;
        max-height: 50%;
        border: 3px solid #fff;
        border-radius: 10px;
        cursor: zoom-out;
      }
      
      
   /* logo slider end */

      
   /* courses card start */

/* Flip card core styling */
.programs-section {
  background-color: #f8f9fa;
  margin-bottom: 5rem; /* prevent merging */
}

.card img {
  height: 180px;
  object-fit: cover;
}

.card h6 {
  font-size: 0.95rem;
  line-height: 1.4;
}

.badge {
  font-size: 0.75rem;
}

/* Hover effect for card images */
.programs-section .card img {
  transition: transform 0.5s ease;
}

.programs-section .card:hover img {
  transform: scale(1.05);
}

/* Animated lightning border */
.programs-section .card {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.programs-section .card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  background: linear-gradient(45deg, #ff00cc, #3333ff, #00ffcc, #ffcc00, #ff00cc);
  background-size: 400% 400%;
  animation: borderRun 5s linear infinite;
  z-index: -1;
  border-radius: 1.25rem; /* Match your rounded-4 */
  filter: blur(2px);
}

.programs-section .card::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  background: #ffffff;
  border-radius: 1.25rem; /* Match your rounded-4 */
  z-index: -1;
}

/* Border animation keyframes */
@keyframes borderRun {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}



    /* courses card end */

    /* countdown section  start */
    .highlights-section {
      background: #002a5c url('./assests/img/statistics-section-bg.png') no-repeat center center;
      background-size: cover;
      position: relative;
      overflow: hidden;
    }
    
    .highlight-card {
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .highlight-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }
    
    .icon img {
      display: inline-block;
    }
    .highlight-card {
      transition: transform 0.3s ease;
    }
    
    .highlight-card:hover {
      transform: translateY(-5px);
    }
    
    .icon-wrapper {
      width: 70px;
      height: 70px;
      background-color: #fff;
      border: 2px solid #002c6a; /* Match your brand color */
      padding: 12px;
      border-radius: 50%;
    }
    
    .icon-circle {
      width: 70px;
      height: 70px;
      background-color: white;
      border: 2px solid #002c6a;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 10;
    }
    
    .highlight-card {
      margin-top: 40px; /* To make space for the icon overlap */
      transition: transform 0.3s ease;
    }
    
    .highlight-card:hover {
      transform: translateY(-5px);
    }
    
        /* countdown section  end */

/* testimonial start */


.testimonial-section {
  background: linear-gradient(to right, #004e92, #000428);
  background-image: url('./assests/images/blue-paperboard-texture.jpg');
  background-size: cover;
  background-repeat: repeat;
  color: white;
}

.section-title {
  color: white;
}

.testimonial-card {
  padding: 2rem;
  border-radius: 1rem;
  transition: transform 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-img img {
  width: 80px;
  height: 80px;
  object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
  color: white !important;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 1rem;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 18px;
  font-weight: bold;
}




 /* testimonial end */

 /* top us button start */
 #topBtn {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  background-color: #0d6efd; /* Bootstrap blue */
  color: white;
  border: none;
  outline: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

#topBtn:hover {
  background-color: #0b5ed7;
  transform: translateY(-3px);
}

 /* top us button end */


 /* Upcoming Batches Section start */
 .upcoming-section {
  padding: 60px 15px;
  background-color: #f8f9fa;
  text-align: center;
}

.upcoming-section h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 40px;
  color: #012169;
}

.batch-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.batch-card:hover {
  transform: translateY(-5px);
}

.batch-card img {
  width: 100%;
  height: auto;
  display: block;
}

.badge-location {
  position: absolute;
  top: 10px;
  right: 10px;
  background: crimson;
  color: white;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 4px;
}

.batch-content {
  padding: 15px;
  position: relative;
}

.date-label {
  display: inline-block;
  background: #eaf1ff;
  color: #003366;
  padding: 4px 10px;
  font-size: 0.75rem;
  border-radius: 6px;
  font-weight: 600;
  margin-bottom: 5px;
}

.batch-content {
  text-align: left;
  padding: 20px 15px;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.date-label {
  display: inline-block;
  padding: 5px 10px;
  background-color: #f2f5f8;
  color: #0a3b6f;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  margin-bottom: 10px;
}

.course-level {
  font-weight: 700;
  font-size: 1.4rem;
  color: #0a3b6f;
  margin-top: 10px;
  margin-bottom: 4px;
}

.course-title {
  font-size: 1.5rem;
  font-weight: 700;
  font-size: 1.4srem;
  color: #0d1b5e;
  margin-bottom: 6px;
}


.course-description {
  font-weight: 600;
  font-size: 1.2rem;
  color: #333;
  line-height: 1.4;
  margin-top: 8px;
}


.btn-group {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 15px;
  border-top: 1px solid #eee;
}

.btn-enroll, .btn-learn {
  flex: 1;
  padding: 10px;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
}

.btn-enroll {
  background: #002c6a;
  color: white;
}

.btn-learn {
  background: #d50000;
  color: white;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  position: relative;
}

.popup h6 {
  margin-top: 0;
  color: #0d1b5e;
  font-weight: 300;
  font-weight: bold;
}

  @media (max-width: 480px) {
    #popup-content {
      width: 95%;
      max-width: 90%;
      padding: 15px;
    }
    .popup h6 {
      margin-top: 0;
      color: #0d1b5e;
      font-weight: 300;
      font-weight: bold;
    }
  }

.popup p {
  font-size: 0.95rem;
  color: #333;
  font-weight: 300;
}

.popup form input,
.popup form textarea {
  width: 100%;
  padding: 10px;
  margin: 0.5rem 0;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.popup .close-popup {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.2rem;
  cursor: pointer;
  color: #d50000;
}


/* Upcoming Batches Section End */

/* global Section start */
.bg-upcoming{
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
}
/* global Section end */

.footer-section {
  background: #ffffff url(./assests/img/footer-bg.png) no-repeat right top;
  background-size: cover;
  color: #fff;
  padding-top: 60px;
  padding-bottom: 30px;
}

.footer-section a {
  color: #ffffff;
  text-decoration: none;
}

.footer-section a:hover {
  text-decoration: underline;
  color: #f8c471 !important;
}

.footer-section h5 {
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
}

@media (max-width: 768px) {
  .footer-section {
      text-align: center;
      background-position: center top;
  }

  .footer-section .row > div {
      margin-bottom: 30px;
  }

  .footer-section img {
      margin: 0 auto;
  }
}

/* auto popup end */

  .custom-modal {
    max-width: 480px;
    width: 90%;
    border-radius: 16px;
    overflow: hidden;
    margin: auto;
    max-height: 95vh;
    display: flex;
    flex-direction: column;
  }

  .modal-body-custom {
    overflow-y: auto;
    flex: 1;
    padding: 0 1.5rem 1rem 1.5rem;
  }

  .btn-blue {
    background-color: #004aad;
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    transition: background 0.3s ease;
  }

  .btn-blue:hover {
    background-color: #00327a;
  }

  @media (max-width: 576px) {
    .custom-modal {
      max-width: 95%;
      margin: 1rem;
      border-radius: 12px;
    }

    .modal-body-custom {
      padding: 0 1rem 1rem 1rem;
    }
  }

  body.modal-open {
    overflow: hidden !important;
  }
/* auto popup end */
