* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

html {
  overflow-x: hidden;
}

.top-bar a {
  color: #fff;
  text-decoration: none;
}

.header-top {
  background: #dc3545 !important;
}
.offcanvas-header {
    background: #202C45 !important;
}
.top_bar li {
  padding: 3px 8px;
  margin: 0px;
}

.top_bar {
  list-style: none;
  margin: 0px;
}

.top-bar span {
  color: #fff;
  margin-right: 5px;
}

.call_box p {
  font-size: 16px;
  color: #000000;
}

.navbar-brand img {
  max-height: 50px;
}

.nav-link:hover {
  text-decoration: underline;
}

.offcanvas-end {
  width: 300px;
}

.top_bar_row span {
  color: #dc3545;
  font-weight: 700;
}

.top-bar {
  background: #dc3545;
  color: #fff;
  font-size: 14px;
}

.top-bar a {
  color: #fff;
  text-decoration: none;
  margin-right: 10px;
}

.site-header {
  background: #202C45;
  position: sticky;
  top: 0;
  z-index: 999;
}

.header-inner {
  max-width: 1200px;
  margin: auto;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  max-height: 55px;
}

.middle_box_header {
  padding: 20px 0px;
  background: #ffff !important;
}

.desktop-nav {
  display: flex;
  gap: 25px;
}

.desktop-nav a {
  color: #000000;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 2px solid transparent;
}

.desktop-nav a:hover {
  border-bottom: 2px solid #000000;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 4px 0;
  transition: 0.3s;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background: #fff;
  z-index: 1000;
  transition: right 0.4s ease;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-header {
  background: #0b5ed7;
  color: #fff;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-menu-header span {
  font-size: 18px;
}

.close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.mobile-menu ul {
  list-style: none;
  padding: 15px;
}

.mobile-menu ul li {
  border-bottom: 1px solid #eee;
}

.mobile-menu ul li a {
  display: block;
  padding: 14px 5px;
  color: #333;
  text-decoration: none;
  font-size: 16px;
}

.mobile-menu ul li a:hover {
  color: #0b5ed7;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
  display: none;
}

.menu-overlay.active {
  display: block;
}

a.nav-link {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

a.nav-link:hover {
  color: #dc3545;

}

.call_box a {
  color: #000000;
  font-size: 20px;
}



.email_box a {
  color: #000000;
  font-size: 20px;
}

.header_btn {
  background: #dc3545;
  padding: 12px 26px;
  border-radius: 70px;
  text-decoration: none;
  color: #fff;
}

.header_btn:hover {
  background: #ffffff;

}

.header_btn:hover a {
  text-decoration: none;
  color: #000000;
}

.header_btn a {
  text-decoration: none;
  color: #fff;
}

/*.carousel-item img {*/
/*  object-fit: cover !important;*/
/*}*/

.navbar-toggler-icon {
  filter: invert(1);
}

a {
  text-decoration: none;
}

.rs-courses-categories {
  padding: 70px 0px;
}

.card_box {
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  padding: 30px 20px;
  border: 1px solid #c4c4c4;
  border-radius: 10px;
}

.card_box:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.img-box {
  text-align: center;
  padding-bottom: 30px;
}

.img-box img {
  transition: transform 0.4s ease;
}

.courses-item:hover img {
  transform: scale(1.08);
}

.courses-title {
  font-size: 26px;
  color: #000000;
}

.courses-amount {
  font-size: 14px;
}

.img-box img {
  width: 50px;
}

.form_box {
  background: #ffffff;
  padding: 56px 57px;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  border-radius: 20px;
}

.form_box button {
  background: #dc3545 !important;
  width: 100%;
  padding: 13px 10px;
  border: 0px;
  border-radius: 36px;
  color: #fff;
  font-size: 18px;
}

.accademy_section {
  padding: 90px 0px;
  background: #dc354512;

}

.batch-section {
  text-align: center;
  background: #dc354512;
  background-image: url(../images/calender-bg.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 90px 0px;
}

.section-title {
  text-transform: uppercase;
  font-size: 20px;
  margin-bottom: 25px;
}

.section-title span {
  color: #e67e22;
}

.batch-card {
  margin-bottom: 35px;
  background: #fff;
  padding: 56px 57px;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  border-radius: 20px;
}

.batch-title {
  color: #dc3545;
  margin-bottom: 15px;
  font-size: 22px;
  font-weight: 600;
}

.batch-table {
  font-weight: bold;
  width: 100%;
  border-radius: 8px;
}

.batch-table td {
  padding: 12px;
  border: 1px solid #ddd;
}

.row-orange {
  background-color: #dc3545;
  ;
  color: #fff;
}

.row-white {
  background-color: #ffffff;
  color: #000000;
}

.batch-table tr:hover {
  opacity: 0.9;
  transition: 0.3s ease;
}


.courses-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.section-header h2 {
  text-align: center;
  text-transform: uppercase;
  font-size: 28px;
  margin-bottom: 40px;
}

.section-header span {
  display: block;
  color: #dc3545;
  font-weight: bold;
}


.course-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: rgb(231 231 231 / 20%) 0px 7px 29px 0px;
  transition: transform 0.3s ease;
  margin: 15px;
}

.course-card:hover {
  transform: translateY(-8px);
}

.course-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.course-content {
  padding: 20px;
  text-align: center;
}

.course-content h4 {
  margin-bottom: 10px;
  font-size: 22px;
}

.course-content p {
  font-size: 16px;
  color: #555;
  margin-bottom: 15px;
}

.course-content a {
  display: inline-block;
  padding: 8px 20px;
  background: #dc3545;
  color: #fff;
  border-radius: 25px;
  font-size: 13px;
  text-transform: uppercase;
  transition: background 0.3s;
}

.course-content a:hover {
  background: #e64a19;
}

.slick-slide {
  min-height: 414px !important;
}

.video-section {
  padding: 60px 0px;
  background: #f8f9fa;
}

.video-card:hover {
  transform: translateY(-8px);
}

.video-card iframe {
  width: 100%;
  height: 274px;
  border: none;
}

.counter-section {
  background: #ffff;
  position: relative;
  max-width: 1052px;
  width: 100%;
  margin: 0 auto;
  margin-top: -64px;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  padding: 20px;
  border-radius: 10px;
}

.counter-box_main {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.counter-card {
  text-align: center;
  padding: 13px 11px;
  border-radius: 16px;
  background: rgb(255 255 255);
  backdrop-filter: blur(6px);
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  transition: transform 0.3s ease;
}

.counter-card:hover {
  transform: translateY(-10px);
}

.counter-card img {
  width: 30px;
}

.counter-card i {
  font-size: 48px;
  color: #ff9800;
  margin-bottom: 15px;
}

.counter-card h2 {
  font-size: 32px;
  color: #000000;
  margin-bottom: 8px;
}

.counter-card p {
  font-size: 14px;
  letter-spacing: 1px;
  color: #000000;
  text-transform: uppercase;
  margin: 0px;
}


.popular-courses {
  padding: 60px 20px;
  background: #f5f5f5;
}

.popular-courses .section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 50px;
  color: #333;
  font-weight: 700;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(354px, 1fr));
  gap: 30px;
}

.popular-course-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 3px solid #dc3545;
}

.popular-course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.course-thumb {
  position: relative;
}

.course-thumb img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}


.course-content_box {
  padding: 20px;
}

.course-content_box h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #222;
}

.course-content p {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}

.course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.course-footer strong {
  color: #dc3545;
  font-size: 16px;
}

.course-footer a {
  padding: 8px 18px;
  background: #dc3545;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
}

.course-footer a:hover {
  background: #dc3545;
}

.online-test-series {
  padding: 60px 20px;
  background: #dc354512;
}

.online-test-series .section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 50px;
  color: #1a237e;
  font-weight: 700;
}

.test-series-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.test-series-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  padding-top: 40px;
}

.test-series-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.test-series-card img {
  width: 150px;
}

.test-content {
  padding: 20px;
}

.test-content h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #dc3545;
}

.test-content p {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}

.test-content strong {
  display: block;
  font-size: 16px;
  margin-bottom: 15px;
  color: #000000;
}

.test-content a {
  padding: 10px 20px;
  background: #dc3545;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
}

.test-content a:hover {
  background: #0d174d;
}


.academy-info-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.academy-info-section .section-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1a237e;
}

.academy-info-section .section-header .subtitle {
  font-size: 16px;
  color: #555;
  margin-top: 10px;
}

.video-box {
  position: relative;
  cursor: pointer;
}

.video-box img {
  border-radius: 10px;
  width: 100%;
  display: block;
}

.video-box .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(26, 35, 126, 0.8);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-box .play-btn i {
  color: #fff;
  font-size: 24px;
}

.contact-thumb {
  width: 100%;

  object-fit: cover;
}

.contact-link {
  color: #1a237e;
  font-weight: 600;
  text-decoration: none;
}

.contact-link:hover {
  text-decoration: underline;
}

.accordion-button {
  background: #ffffff;
  color: #000000;
  border-radius: 6px;
  margin-bottom: 10px;
  font-weight: 600;
  margin-top: 10px;
}

.accordion-button:not(.collapsed) {
  background: #dc3545;
  color: #fff;
}

.accordion-item {
  border: 0 !important;
}

.accordion-body {
  background: #fff;
  border-radius: 6px;
  padding: 15px;
  font-size: 14px;
  color: #555;
}

.accordion-button:focus {
  border-color: transparent;
  outline: 0;
  box-shadow: unset;
}

.section-title {
  text-align: center;
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 50px;
}

.testimonial-section {
  padding: 70px 0px;
  background: #dc354512;
}

.section-title {
  text-align: center;
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 50px;
}

.testimonial-card {
  background: #fff;
  border-radius: 15px;
  padding: 30px;
}

.testimonial-text {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 25px;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-user img {
  width: 60px !important;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-user h5 {
  margin: 0;
  font-size: 20px;
  color: #dc3545;
}

.testimonial-user span {
  font-size: 13px;
  color: #777;
}

.testimonial-carousel .owl-dots {
  text-align: center;
  margin-top: 30px;
}

.testimonial-carousel .owl-dot span {
  width: 12px;
  height: 12px;
  background: #8b8b8b;
  opacity: 0.4;
  border-radius: 50%;
  margin: 0 5px;
  display: inline-block;
}

.testimonial-carousel .owl-dot.active span {
  opacity: 1;
  background: #ffca28;
}

.marquee {
  width: 100%;
  overflow: hidden;
  background: #fff;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll 20s linear infinite;
  gap: 20px;
}

.marquee-track img {
  width: 200px;
  height: auto;
  margin: 0;
}


.contact-form {
  max-width: 600px;
  margin: auto;
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
  margin-bottom: 5px;
  font-size: 26px;
}

.contact-form p {
  margin-bottom: 30px;
  color: #666;
}

.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.input-group {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
}

.form-row .input-group {
  flex: 1;
}

.input-group i {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: #999;
}

.input-group textarea+i,
.input-group.textarea i {
  top: 20px;
  transform: none;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 14px 15px 14px 45px;
  border: 1px solid #ddd;
  border-radius: 8px;
  outline: none;
  font-size: 15px;
  transition: 0.3s;
}

.input-group textarea {
  resize: none;
}

.input-group input:focus,
.input-group textarea:focus {
  border-color: #dc3545;
}

.contact-form button {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 8px;
  background: #dc3545;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #dc3545;
}

.contactus_box img {
  height: 510px;
  object-fit: cover;
  width: 100%;
  border-radius: 10px;
}


.footer-overlay {
  background: #000000;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  padding: 60px 0;
}

img.footer-logo {
  width: 240px;
}

.footer-col h4 {
  margin-bottom: 15px;
  color: #dc3545;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col a {
  color: #ffffff;
  text-decoration: none;
}

.footer-col a:hover {
  color: #dc3545;
}

.footer-social {
  display: flex;
  gap: 5px;
}

.footer-social a {
  background: #363636;
  border-radius: 117px;
  font-size: 13px;
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  line-height: 44px;
  text-align: center;
  color: #fff;
  transition: all .3s ease 0s;
  background: rgba(255, 255, 255, 0.15);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding: 20px;
  text-align: center;
  font-size: 14px;
}

.call-back-1 {
  position: fixed;
  bottom: 50px;
  left: 15px;
  z-index: 9999;
  animation: mover1 1s infinite alternate;
}

.call-back-1 img {
  width: 50px;
  display: block;
  margin-bottom: 8px;
  cursor: pointer;
}

.footer-col a {
  font-size: 16px;
  color: #ffff;
}

.address_box p {
  color: #ffff;
  font-size: 16px;
}



@keyframes mover1 {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-10px);
  }
}


@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}


@media (max-width: 576px) {}



/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {
  .desktop-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

@media screen and (max-width: 768px) {

  .test-series-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .course-grid {
    grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
  }

  .logo_card {
    text-align: center;
  }

  .course-footer {
    flex-direction: column;
    gap: 10px;
  }

  .video-card iframe {
    height: 200px;
  }

  .counter-section {
    margin-top: 50px;
    max-width: auto;
  }

  .card_box {
    margin: 10px;
  }

  .video-card {
    margin-bottom: 20px;
  }

  .contactus_box img {
    height: 230px;
    margin-bottom: 20px;
  }

  .margin_zero {
    margin: 0px;
  }

  .batch-card {
    padding: 30px 20px;
  }

  .batch-section {
    padding: 36px 10px;
  }

  .accademy_section {
    padding: 50px 10px;
  }

  .header_btn {
    padding: 8px 13px;
  }

  .top_bar {
    justify-content: space-around;
  }

  .header_btn {
    display: none;
  }

  .counter-section {
    display: none;
  }
.testimonial-section {
  padding: 30px 10px;
}
.courses-section {
  padding: 60px 10px;
}
.video-section {
  padding: 60px 10px;
}
}

@media screen and (max-width: 576px) {

  .form-row {
    flex-direction: column;
  }

  .email_box a {
    font-size: 17px;
  }

  .call_box a {
    font-size: 17px;
  }

  .form_box {
    padding: 56px 20px;
  }

  .course-thumb img {
    height: 250px;
  }

  .contact-form {
    padding: 40px 22px;
  }

  .top_bar {
    list-style: none;
    margin: 0px;
    width: 307px;
    margin: 0 auto;
  }

  .footer-col a {
    font-size: 14px;
  }

  .address_box p {
    font-size: 14px;
  }
}




