/********** Template CSS **********/
:root {
  --primary: #2b91e6f2 !important ;
  --light: #1d5b8dab;
  --dark: #0d2b47;
}

.bg-nav {
  /* background:linear-gradient(115deg, #1d5b8dab, #0d2b47) !important; */
  background: white;
}
.fw-medium {
  font-weight: 600 !important;
}

.fw-semi-bold {
  font-weight: 700 !important;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

/*** 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 ***/
.btn {
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  transition: 0.5s;
}

/* .btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
} */

.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: 30px 0;
  color: #161515;
  font-size: 15px;
  text-transform: uppercase;
  outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: #1dbf9f !important;
}

@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: 50px;
  font-weight: bolder !important;
  font-size: large !important;
  border: 3px solid#8baecb !important;
  color: #111827 !important;
  border-radius: 10px;
  margin-right: 10px;
}

a.btn:hover {
  color: #0d2b47 !important;
  background-color: #8baecb;
}

.navbar-light .navbar-nav .nav-link {
  color: black !important;
  font-weight: bolder !important;
  font-size: large !important;
}

/* .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;
  }
}

/* new corousel */

.hero-banner {
  background-color: #0d1a1f;
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero-banner h1 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.4;
}

.hero-banner .highlight {
  color: #2dd4bf;
  font-weight: 700;
}

.hero-banner p {
  font-size: 1rem;
  margin-top: 15px;
  color: #cfd8dc;
}

.btn-get-started {
  display: inline-flex;
  align-items: center;
  background-color: #2dd4bf;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  padding: 12px 24px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-get-started:hover {
  background-color: #1aa58f;
}

.arrow {
  margin-left: 8px;
  font-size: 1.2rem;
}

.trusted {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 30px;
}

.trusted img {
  width: 30px;
  height: 30px;
}

.trusted p {
  margin: 0;
  font-size: 0.95rem;
  color: #dfe5e8;
}

/* Image Styling */
.banner-image {
  position: relative;
}

.banner-image .main-img {
  width: 100%;
  max-width: 320px;
  border-radius: 12px;
  object-fit: cover;
}

/* Stats Section */
.banner-stats {
  text-align: left;
}

.banner-stats .stat {
  margin-bottom: 25px;
}

.banner-stats h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
}

.banner-stats p {
  color: #b0bec5;
  font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-banner {
    text-align: center;
  }
  .banner-stats {
    margin-top: 40px;
    text-align: center;
  }
  .trusted {
    justify-content: center;
  }
}

/* Floating Skill Icons */
.banner-image {
  position: relative;
  display: inline-block;
}

.icon {
  position: absolute;
  width: 50px;
  height: 50px;
  animation: float 6s ease-in-out infinite;
  opacity: 0.9;
  filter: drop-shadow(0 0 8px rgba(45, 212, 191, 0.5));
}

/* Icon positions */
.icon-blender {
  top: -30px;
  left: -60px;
  animation-delay: 0s;
}
.icon-ae {
  top: -40px;
  right: -60px;
  animation-delay: 1s;
}
.icon-chatgpt {
  bottom: 20px;
  right: -50px;
  animation-delay: 2s;
}
.icon-figma {
  bottom: -30px;
  left: -50px;
  animation-delay: 1.5s;
}
.icon-python {
  top: 40%;
  left: -90px;
  animation-delay: 0.5s;
}
.icon-unreal {
  top: 45%;
  right: -90px;
  animation-delay: 2.5s;
}

/* Floating animation */
@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(5deg);
  }
}

/* Glow Pulse */
.icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(45, 212, 191, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.4;
  }
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
}

/* Adjust sizes for smaller screens */
@media (max-width: 768px) {
  .icon {
    width: 35px;
    height: 35px;
  }
}

/*** Header carousel ***/
@media (max-width: 768px) {
  .header-carousel .owl-carousel-item {
    position: relative;
    min-height: 500px;
  }

  .header-carousel .owl-carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.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-next:hover {
  background: #3b82f6;
  border-color: var(--primary);
}
.header-carousel .owl-nav .owl-prev:hover {
  background: #22c55e;
  border-color: var(--primary);
}

.page-header {
  background: linear-gradient(rgb(24 29 56 / 50%), rgb(24 29 56 / 27%)),
    url(../img/i5.webp);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.page-header-inner {
  background: rgba(15, 23, 43, 0.7);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--light);
}

/*** Section Title ***/
.section-title {
  position: relative;
  display: inline-block;
  text-transform: uppercase;
}

.section-title::before {
  position: absolute;
  content: "";
  width: calc(100% + 80px);
  height: 2px;
  top: 4px;
  left: -40px;
  background: #3b82f6;
  z-index: -1;
}

.section-title::after {
  position: absolute;
  content: "";
  width: calc(100% + 120px);
  height: 2px;
  bottom: 5px;
  left: -60px;
  background: #3b82f6;
  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;
}

/* about */
.about {
  /* background:linear-gradient(88deg, #3f5c76, #809db6)!important; */
  background: #1d2630;
}

.img-about {
  max-height: 250px !important;
  object-fit: cover;

  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  border: 2px solid #22c55e !important;

  margin-top: 72px;
  transition: transform 0.4s ease;
  margin-right: 20px;
}
/* about */
/* course-card */
.course-card {
  position: relative;
  background: #1d2630;
  margin-top: 50px;
  color: #e5e7eb;
  transition: all 0.4s ease;
  padding-top: 80px; /* space for floating image */
  /* border-radius: top-left top-right bottom-right bottom-left */
  border-radius: 60px 10px 60px 10px;
  border-bottom: 4px solid #22c55e !important;
  border-top: 4px solid #3b82f6 !important;
}
.course-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}
.course-img-wrapper {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  max-height: 220px !important;
  border-radius: 15px;
  overflow: hidden;
  /* box-shadow: 0 10px 25px rgba(0,0,0,0.5); */
  transition: transform 0.4s ease;
}
.course-img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  transition: transform 0.6s ease;
}
.course-card:hover .course-img-wrapper {
  transform: translateX(-50%) scale(1.05);
}
.course-card:hover .course-img {
  transform: scale(1.1) rotateY(10deg);
}
.btn-success {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border: none;
  transition: transform 0.3s ease;
}
.btn-success:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #16a34a, #22c55e);
}
/* course-card */
@media (max-width: 991px) {
  .col-md-3 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 40px;
  }

  .course-img {
    width: 150px;
    height: 220px;
    object-fit: cover;
  }

  .course-card h4 {
    font-size: 1.1rem;
  }

  .course-card p {
    font-size: 0.9rem;
  }

  .course-card h5 {
    font-size: 1rem;
  }

  .course-card .btn {
    font-size: 0.9rem;
    padding: 8px 20px;
  }
  .course-img-wrapper {
    top: -60px;
    width: 60%;
  }
}

@media (max-width: 575px) {
  .col-md-3 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 40px;
  }

  .course-img {
    width: 150px;
    height: 220px;
    object-fit: cover;
  }

  .course-card h4 {
    font-size: 1.1rem;
  }

  .course-card p {
    font-size: 0.9rem;
  }

  .course-card h5 {
    font-size: 1rem;
  }

  .course-card .btn {
    font-size: 0.9rem;
    padding: 8px 20px;
  }
  .course-img-wrapper {
    top: -60px;
    width: 60%;
  }
}

/*** Service ***/
.service-item {
  background: #1d2630 !important;
  border: 2px solid #22c55e !important;

  transition: 0.5s;
  border-radius: 20px;
}
.service-item * {
  color: white;
}

.service-item:hover {
  margin-top: -10px;
  /* background: rgba(241, 248, 246, 0.971) !important; */
}
.service-item:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.service-item * {
  transition: 0.5s;
}

.service-item:hover * {
  /* color:  black!important; */
}

.how-it-works {
  background: #1d2630;
  color: #fff;
  border-radius: 20px;
}

.btn-how {
  background: transparent;
  border: 2px solid #fff;
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 14px;
  color: #fff;
}

.highlight {
  color: #00c897;
}

.steps .step {
  background: transparent;
  border: 2px solid #1dbf9f;
  padding: 12px 18px;
  border-radius: 12px;
  margin-bottom: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.steps .step:hover {
  background: #1dbf9f;
  color: #fff;
}

.steps .step.active {
  background: #1dbf9f;
  color: #fff;
  border-color: #1dbf9f;
}

.info-box {
  background: #0f172a;
  border-radius: 12px;
  padding: 20px;
  color: #fff;
  font-size: 15px;
  line-height: 1.6;
  display: none;
  transition: all 0.3s ease;
}

.info-box.active {
  display: block;
}

/* .icon color */
/* .service-item i {
    color: #22c55e;
}
.service-item:hover i {
    color: #3b82f6; 
/* } */
/*** 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: #1dbf9f !important;
  border-radius: 10px !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
  color: white;
}
.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 #0b0b0b;
  transition: 0.5s;
}

.testimonial-carousel .owl-dot.active {
  background: #1dbf9f !important;
  border-color: var(--primary);
}

/*** 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);
}

.footer .footer-menu a:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: none;
}
/* course-page */

.course-header {
  background: linear-gradient(88deg, #3f5c76, #809db6);
  color: white;
  padding: 60px 0;
  text-align: center;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  margin-bottom: 50px;
}
.course-header h1 {
  font-weight: 700;
}
.course-info {
  background: #515e7a;
  color: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
  margin-top: 100px;
}
.btn-enroll {
  background: #22c55e;
  border: none;
  padding: 12px 30px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s ease;
}
.btn-enroll:hover {
  background: #16a34a;
  transform: scale(1.05);
}
.module-card {
  background: #1e293b;
  border-radius: 15px;
  padding: 20px;
  transition: all 0.3s ease;
  text-align: center;
}
.module-card img {
  max-height: 150px;
  border-radius: 12px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
  object-fit: cover;
  width: 100%;
}
.module-card:hover {
  background: #3b82f6;
  color: white;
  transform: translateY(-5px);
}
.module-card:hover img {
  transform: scale(1.05);
}

/*slider k liye css*/

.hero-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 80px 61px 0px;
  background: #0b1727;
}

.hero-content {
  max-width: 100%;
}

.hero-content h1 {
  font-size: 38px;
  font-weight: 600;
  line-height: 1.4;
}

.hero-content h1 span {
  color: #00bfa6;
}

.hero-content h1 {
  color: #fff;
}

.hero-content p {
  color: #cbd5e1;
  font-size: 16px;
  margin-top: 15px;
  margin-bottom: 30px;
  line-height: 1.7;
}

.btn-started {
  background-color: #00bfa6;
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-started:hover {
  background-color: #00a28b;
}

.trust-info {
  display: flex;
  align-items: center;
  margin-top: 35px;
  font-size: 15px;
  color: #cbd5e1;
}

.trust-info img {
  width: 22px;
  margin-right: 10px;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  border-radius: 10px;
  z-index: 2;
  position: relative;
  left: -30px;
}

.bg-shape {
  position: absolute;
  top: 40px;
  left: 20px;
  width: 400px;
  height: 480px;
  border-radius: 25px;
  z-index: 1;
}

.stats {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 25px;
  margin-left: 60px;
}

.stats h2 {
  font-size: 28px;
  margin: 0;
  color: #00bfa6;
}

.stats p {
  font-size: 14px;
  color: #cbd5e1;
  margin: 0;
}

.bottom-stat {
  margin-top: 40px;
}

@media (max-width: 992px) {
  .hero-section {
    flex-direction: column;
    padding: 60px 40px;
    text-align: center;
  }

  .hero-content,
  .hero-image,
  .stats {
    margin: 20px 0;
  }

  .stats {
    flex-direction: row;
    justify-content: space-around;
  }
}

@media (max-width: 768px) {
  section {
    flex-direction: column;
    text-align: center;
  }
  section div {
    max-width: 100% !important;
  }
  section img {
    margin-top: 20px;
  }
}
/*faq section*/
.faq-section {
  max-width: 800px;
  margin: 80px auto;
  text-align: center;
}

.faq-section h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 40px;
}

.faq-container {
  border-radius: 10px;
  overflow: hidden;
}

.faq-item.active .faq-question {
  background: #d8ebe7;
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
}

.faq-question:hover {
  background: #f2f2f2;
}

.faq-answer {
  display: none;
  padding: 0 20px 20px 20px;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  display: block;
}
/*Footer*/
.footer-section {
  background: linear-gradient(180deg, #0a0f1a 0%, #0f172a 100%);
  color: #cbd5e1;
  font-family: "Teko", sans-serif;
}

.footer-title {
  color: #00bfa6;
  font-size: 22px;
  letter-spacing: 0.5px;
}

.footer-link {
  display: block;
  color: #cbd5e1;
  text-decoration: none;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: #00bfa6;
  padding-left: 5px;
}

.footer-text {
  font-size: 15px;
  margin-bottom: 8px;
}

.text-teal {
  color: #00bfa6 !important;
}

.btn-social {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: transparent;
  border: 1px solid #00bfa6;
  color: #00bfa6;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  transition: 0.3s;
}

.btn-social:hover {
  background-color: #00bfa6;
  color: #fff;
  transform: translateY(-3px);
}

.footer-img {
  border-radius: 8px;
  border: 1px solid #00bfa6;
  transition: 0.3s;
}

.footer-img:hover {
  transform: scale(1.05);
}

.footer-input {
  background: #1e293b;
  color: white;
  border: none;
  border-radius: 8px;
}

.footer-input::placeholder {
  color: #94a3b8;
}

.btn-teal {
  background-color: #00bfa6;
  color: white;
  border-radius: 8px;
  transition: 0.3s;
}

.btn-teal:hover {
  background-color: #01947f;
}

.footer-menu a {
  color: #94a3b8;
  margin-left: 15px;
  text-decoration: none;
  transition: 0.3s;
}

.footer-menu a:hover {
  color: #00bfa6;
}
