/********** Template CSS **********/
:root {
  --primary: #d02027;
  --light: #f0fbfc;
  --dark: #00384a;
  --text: #a1a1a1;
}
   html, body {
  overflow-x: hidden;
  width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--dark) !important;
}

.fw-medium {
  font-weight: 600 !important;
}

.text-primary {
  color: var(--primary) !important;
}

.text-white {
  color: var(--light) !important;
}

.text-para {
  color: var(--text);
}

.email-color {
  color: #333333 !important;
}

.email-color:hover {
  color: var(--primary) !important;
}

.footer-link {
  color: #fff !important;
}

.footer-link:hover {
  color: var(--text) !important;
}

.bg-blue {
  background-color: var(--dark);
}

.btn-primary {
  background-color: var(--primary);
  border: 0;
}

.btn-primary:hover {
  background-color: var(--dark);
}

.fw-semi-bold {
  font-weight: 700 !important;
}

.fsize-2 {
  font-size: 1.3rem;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

.py-6 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Button ***/
.text-btn {
  color: var(--primary) !important;
}

.btn-primary-border {
  background-color: none;
  border: 2px solid var(--light);
  letter-spacing: 1px;
  font-weight: 800 !important;
  font-size: 1.2rem;
}

.btn-primary-border:hover {
  background-color: var(--light);
  border: 2px solid var(--light);
  color: var(--dark) !important;
  letter-spacing: 1px;
  font-size: 1.2rem;
}

.text-btn:hover {
  color: var(--dark) !important;
}

.btn {
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-secondary {
  color: #ffffff;
}

.bg-red {
  background-color: var(--primary);
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 0px;
}

/*** Navbar ***/
.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
  margin-right: 30px;
  padding: 25px 0;
  color: #ffffff;
  font-size: 15px;
  text-transform: uppercase;
  outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--primary);
}

@media (max-width: 991.98px) {
  .navbar-light .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }

  .navbar-light .navbar-nav {
    border-top: 1px solid #eeeeee;
  }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
  height: 75px;
}

.navbar-light .navbar-nav .nav-link {
  color: var(--dark);
  font-weight: 500;
}

.navbar-light.sticky-top {
  top: -100px;
  transition: 0.5s;
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    margin-top: 0;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
  }

  .navbar .dropdown-menu.fade-down {
    top: 100%;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
  }

  .navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    transform: rotateX(0deg);
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}

/*** Header carousel ***/
@media (max-width: 768px) {
  .header-carousel .owl-carousel-item {
    position: relative;
    min-height: 500px;
  }

  .header-carousel .owl-carousel-item img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .navbar-light .navbar-brand {
    width: 230px;
  }
}

.header-carousel .owl-nav {
  position: absolute;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
  margin: 7px 0;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: transparent;
  border: 1px solid #ffffff;
  font-size: 22px;
  transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.page-header {
  background: linear-gradient(rgba(0, 57, 77, 0.7), rgba(0, 57, 77, 0.7)),
    url(../img/hero-banner.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.page-header-inner {
  background: rgba(0, 57, 77, 0.7);
}

.breadcrumb-item+.breadcrumb-item::before {
  color: var(--light);
}

/*** Section Title ***/
.section-title {
  position: relative;
  display: inline-block;
  text-transform: uppercase;
}

.service-title {
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  z-index: 3;
}

.spanbg {
  background-color: var(--dark);
  padding: 0 1rem;
  position: relative;
  color: var(--light);
  z-index: 5;
}

.section-title::before {
  position: absolute;
  content: "";
  width: calc(100% + 80px);
  height: 2px;
  top: 4px;
  left: -40px;
  background: var(--primary);
  z-index: -1;
}

.service-title::before {
  position: absolute;
  content: "";
  width: calc(100% + 80px);
  height: 2px;
  top: 4px;
  left: -40px;
  background: var(--light);
  z-index: 1;
}

.service-title::after {
  position: absolute;
  content: "";
  width: calc(100% + 120px);
  height: 2px;
  bottom: 5px;
  left: -60px;
  background: var(--light);
  z-index: 1;
}

.section-title::after {
  position: absolute;
  content: "";
  width: calc(100% + 120px);
  height: 2px;
  bottom: 5px;
  left: -60px;
  background: var(--primary);
  z-index: -1;
}

.section-title.text-start::before {
  width: calc(100% + 40px);
  left: 0;
}

.section-title.text-start::after {
  width: calc(100% + 60px);
  left: 0;
}

/*** Service ***/
#service {
  position: relative;
  background-color: var(--dark);
  opacity: 0.9;
}

#service::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;
  box-sizing: content-box;
  background-size: cover;
  background-image: url(../img/carousel-1.jpg);
  opacity: 0.3;
  z-index: -11;
}

.service-item {
  background: var(--light);
  transition: 0.5s;
}


.service-item:hover {
  margin-top: -10px;
  background: var(--primary);
}

.service-item * {
  transition: 0.5s;
}

.service-item:hover * {
  color: var(--light) !important;
}

/*** Categories & Courses ***/
.category img,
.course-item img {
  transition: 0.5s;
}

.category a:hover img,
.course-item:hover img {
  transform: scale(1.1);
}

/*** Team ***/
.team-item img {
  transition: 0.5s;
}

.team-item:hover img {
  transform: scale(1.1);
}

/*** Testimonial ***/
.testimonial-carousel::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0) 100%);
  z-index: 1;
}

.testimonial-carousel::after {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(to left,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0) 100%);
  z-index: 1;
}

@media (min-width: 768px) {

  .testimonial-carousel::before,
  .testimonial-carousel::after {
    width: 200px;
  }
}

@media (min-width: 992px) {

  .testimonial-carousel::before,
  .testimonial-carousel::after {
    width: 300px;
  }
}

.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
  transition: 0.5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
  background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
  color: #ffffff !important;
}

.testimonial-carousel .owl-dots {
  margin-top: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.testimonial-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 15px;
  height: 15px;
  border: 1px solid #cccccc;
  border-radius: 50px;
  transition: 0.5s;
}

.testimonial-carousel .owl-dot.active {
  background: var(--primary);
  border-color: var(--primary);
}

/* categories */
/* .category img{
    opacity: 0.7;
}
.category img:hover{
    opacity: 1;
} */
.text-box {
  width: 100%;
  height: 100%;
  bottom: -900px;
  transition: all ease-in-out 1s;
  padding: 3rem 4rem;
  overflow: hidden;
}

.category .main:hover .text-box {
  bottom: 0;
  transition: all ease 1s;
}

.main:hover {
  -webkit-box-shadow: 0px 0px 30px 0px rgba(51, 51, 51, 0.15);
  -moz-box-shadow: 0px 0px 30px 0px rgba(51, 51, 51, 0.15);
  box-shadow: 0px 0px 30px 0px rgba(51, 51, 51, 0.15);
}

/*** Footer ***/
.footer .btn.btn-social {
  margin-right: 5px;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  font-weight: normal;
  border: 1px solid #ffffff;
  border-radius: 35px;
  transition: 0.3s;
}

.footer .btn.btn-social:hover {
  color: var(--primary);
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: #ffffff;
  font-size: 15px;
  font-weight: normal;
  text-transform: capitalize;
  transition: 0.3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  letter-spacing: 1px;
  box-shadow: none;
}

.footer .copyright {
  padding: 25px 0;
  font-size: 15px;
  border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
  color: var(--light);
}

.footer .footer-menu a {
  margin-right: 15px;
  padding-right: 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.foot-links:hover {
  color: var(--primary) !important;
}

.footer .footer-menu a:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: none;
}

/* Top baar */
.top-bar {
  background-color: #1e232b;
  color: white;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
}

.contact-info i {
  margin-right: 8px;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.social-icons a {
  color: white;
  margin-left: 15px;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #ccc;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 100px;
  right: 40px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  padding: 15px;
  font-size: 24px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: transform 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #1ebd5a;
}

/* Hide by default */
.mobile-contact-bar {
  display: none;
}

/* Show on screens smaller than 768px (typical mobile size) */
@media (max-width: 768px) {
  .mobile-contact-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    z-index: 9999;
    border-radius: 10px;
  }

  .top-bar,.whatsapp-float {
    display: none;
  }

  .contact-section {
    flex: 1;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
  }

  .phone {
    background-color: white;
  }

  .whatsapp {
    background-color: #05aa41;
    /* WhatsApp green */
  }
}

/* enroll now */

.enrollnow {
  border-radius: 20px;
}

/* Section Styling */
.courses-section {
  padding: 40px 20px;
  text-align: center;
  font-family: Arial, sans-serif;
}

/* Title */
.section-title {
  font-size: 24px;
  margin-bottom: 30px;
  font-weight: bold;
}

.section-title span {
  color: #D22027;
  border-bottom: 3px solid #D22027;
}

/* Grid */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Card */
.course-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px;
  text-align: left;
  transition: box-shadow 0.3s ease;
}

.course-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.course-card img {
  width: 100%;
  border-radius: 8px;
  height: 180px;
  object-fit: cover;
}

.course-card .tag {
  background-color: #04374A;
  color: #fff;
  padding: 4px 12px;
  display: inline-block;
  border-radius: 4px;
  font-size: 13px;
  margin: 10px 0;
}

.course-card h3 {
  font-size: 16px;
  margin: 0;
}

/* Button */
.btn-containerr {
  margin-top: 30px;
}

.view-btn {
  color: white;
  padding: 10px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
  background-color: #D22027;
}

.view-btn:hover {
  background-color: #044760;
  color: white;
}



/* company */


.placement-section {
  background: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.placement-section h2 {
  font-size: 36px;
  margin-bottom: 40px;
  color: #D22027;
}

.carousel-container {
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  animation: scroll 25s linear infinite;
}

.carousel-track img {
  width: 140px;
  margin: 0 25px;
  object-fit: contain;
  /* filter: grayscale(100%); */
  transition: all 0.3s ease;
}

.carousel-track img:hover {
  filter: grayscale(0%);
  transform: scale(1.1);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .carousel-track img {
    width: 100px;
    margin: 0 15px;
  }

  .placement-section h2 {
    font-size: 28px;
  }
}

/* why choose us */
.containerOne {

  max-width: 1230px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;

}

.myHeading {
  font-size: 36px;
  margin-bottom: 40px;

}

.gridOur {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.boxOne {
  background-color: #ede6ffc9;
  flex: 1 1 calc(33.333% - 30px);
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.boxOne img {
  width: 60px;
  margin-bottom: 20px;
}

.boxOne h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.boxOne p {
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .boxOne {
    flex: 1 1 100%;
  }
}

/* courses caurosel */


.containerOnehai {
  max-width: 1100px;
  margin: 40px auto;
  background-color: #f4f4f4;
  border-radius: 15px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.text-section {
  max-width: 620px;
}

.text-section h1 {
  font-size: 2.5rem;
  color: #003b71;
  margin-bottom: 20px;
}

.text-section p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.6;
}

.arrow {
  position: absolute;
  right: 220px;
  top: 80px;
  width: 150px;
  transform: rotate(-15deg);
}

.btnOneHu {
  color: #fff;
  border: none;
  padding: 18px 40px;
  border-radius: 12px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s;
  background-color: #D22027;
}

.btnOneHu:hover {
  background-color: #00345c;
}

.btn-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 300px;
}

.decoration {
  position: absolute;
  font-size: 2rem;
  color: orange;
}

.decoration.left {
  left: -40px;
  bottom: -20px;
  transform: rotate(20deg);
}

.decoration.right {
  right: -40px;
  top: -20px;
  transform: rotate(-30deg);
}

/* contact us just before footer */


.containerOnehai {
  max-width: 1100px;
  margin: 40px auto;
  background-color: #f4f4f4;
  border-radius: 15px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.text-section {
  max-width: 620px;
}

.text-section h1 {
  font-size: 2.5rem;
  color: #003b71;
  margin-bottom: 20px;
}

.text-section p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.6;
}

.arrow {
  position: absolute;
  right: 220px;
  top: 80px;
  width: 150px;
  transform: rotate(-15deg);
}

.btnOneHu {
  color: #fff;
  border: none;
  padding: 18px 40px;
  border-radius: 12px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s;
  background-color: #D22027;
}

.btnOneHu:hover {
  background-color: #00345c;
}

.btn-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 300px;
}

.decoration {
  position: absolute;
  font-size: 2rem;
  color: orange;
}

.decoration.left {
  left: -40px;
  bottom: -20px;
  transform: rotate(20deg);
}

.decoration.right {
  right: -40px;
  top: -20px;
  transform: rotate(-30deg);
}

/* caurosel courses slider */

.oneh2ka {
  text-align: center;
  color: #333;
  margin-bottom: 30px;
}

.carousel-wrapper {
  position: relative;
  max-width: 1200px;
  margin: auto;
  overflow: hidden;
}

.carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px 40px;
  scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.course-card {
  min-width: 260px;
  max-width: 260px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.course-card:hover {
  transform: translateY(-6px);
}

.course-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.course-card h3 {
  font-size: 18px;
  margin: 12px;
  color: #222;
}

.course-card p {
  font-size: 14px;
  margin: 0 12px 16px;
  color: #555;
}

.course-card a {
  display: inline-block;
  margin: 0 12px 16px;
  padding: 8px 16px;
  background: #007BFF;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  color: #333;
  font-size: 28px;
  padding: 10px 14px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s ease;
  z-index: 100;
}

.nav-btn:hover {
  background-color: #007BFF;
  color: #fff;
}

.nav-left {
  left: 0;
}

.nav-right {
  right: 0;
}

@media (max-width: 768px) {
  .carousel {
    padding: 20px;
  }

  .course-card {
        min-width: 90%;
        margin: auto;  }

  .nav-btn {
    top: 90%;
    font-size: 24px;
    padding: 8px 12px;
  }

  .nav-left {
    left: 10px;
  }

  .nav-right {
    right: 10px;
  }
}


/*.....nEw With nAv Bar*/
/* Add by manraj */

.dropdown-submenu-1 .dropdown-menu-1 {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  z-index: 1000;
  background-color: #fff;
  min-width: 200px;
  padding: 0;
  border: 1px solid #ccc;
}

.dropdown-submenu-1 {
  position: relative;
}

/* Optional: caret for submenu items */
.dropdown-submenu-1>.dropdown-toggle::after {
  content: " \203A ";
   /*› */
  float: right;
  margin-left: 5px;
  font-weight: bold;
}


.dropdown-submenu-1:hover>.dropdown-menu-1 {
  display: block;
}


@media screen and (max-width : 992px) {
  .dropdown-submenu-1>.dropdown-toggle::after {
     border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
  }

  .dropdown-submenu-1 .dropdown-menu-1 {
    position: static;
    background-color: #e0b7dd78;
  }
 
}

