@import url("https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900");

:root {
  /*========== Colors ==========*/
  --white-color: #fff;
  --body-color: hsl(220, 100%, 97%);
  --red-hover-color: #d30808;
  /*========== Font and typography ==========*/

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-semi-bold: 600;
  /*========== z index ==========*/
  --z-fixed: 100;
  --danger: #db3a3a;
  --light: #F0FBFC;
}

/*========== Responsive typography ==========*/
/* @media screen and (min-width: 1024px) {
  :root {
    --normal-font-size: 1rem;
  }
} */

body {
  font-family: "Poppins", sans-serif;
  color: black;
  padding: 0;
  margin: 0;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 15px;
  bottom: 30px;
  z-index: 99;
  border-radius: 20px;
  background-image: linear-gradient(to right, #db3a3a, #d11b63, #b12488, #7b3ba3, #004aad);
  height: 42px;
}

.back-to-top i {
  color: white;
  height: auto;
}

.whatsapp {
  position: fixed;
  left: 10px;
  bottom: 20px;
  z-index: 50;
}

.whatsapp img {
  height: 100px;
  width: 100px;
}
@media screen and (max-width:900px) {
  .whatsapp {
    position: fixed;
    left: 10px;
    bottom: 10px;
  }
  
  .whatsapp img {
    height: 80px;
    width: 80px;
  }
  
}
/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease-out, visibility 0s linear .5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity .5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

.newsletter-section {
  background-color: #f9f9f9;
  padding: 30px 20px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 10px;
}

.news-form {
  width: 100%;
}

#news-form-main {
  margin: auto;
  width: 50%;
  border-radius: 10px;
}

#news-email {
  width: 69%;
  height: 40px;
  border: none;
  outline: none;
  border-radius: 10px;
  box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);

}

#news-email-btn {
  width: 30%;
  height: 40px;
  border: none;
  outline: none;
  border-radius: 10px;
  background-image: linear-gradient(to right, #db3a3a, #d11b63, #b12488, #7b3ba3, #004aad);
  color: white;

}

.news-marquee {
  color: white;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 20px;
  background-image: linear-gradient(to right, #db3a3a, #d11b63, #b12488, #7b3ba3,#004aad);
}

@media screen and (max-width: 1018px) {
  .news-marquee marquee {
    width: 100%;
    font-size: smaller;
  }

  #news-form-main {
    margin: auto;
    width: 100%;
    border-radius: 10px;
  }

  #news-email {
    width: 69%;
    height: 40px;
  }

  #news-email-btn {
    width: 30%;
    height: 40px;
  }
}

@media screen and (max-width: 515px) {
  .news-marquee marquee {
    width: 100%;
    font-size: smaller;
  }

  #news-form-main {
    margin: auto;
    width: 100%;
    border-radius: 10px;
  }

  #news-email {
    width: 100%;
    height: 40px;
  }

  #news-email-btn {
    margin-top: 10px;
    width: 100%;
    height: 40px;
  }
}


/*** Button ***/
.btn {
  font-weight: 600;
  transition: .5s;
  border-radius: 10px;
}

.btn.btn-danger,
.btn.btn-secondary {
  color: #FFFFFF;
  background-image: linear-gradient(to right, #db3a3a, #d11b63, #b12488, #7b3ba3, #004aad);
}

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

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  color: black;
}
.text-dark{
  color: black;
  font-weight: 550;
}
/*** Navbar ***/
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 100000;
  transition: all 0.3s ease-out;
}

header.sticky {
  box-shadow: 0 2px 16px hsla(220, 32%, 8%, .3);
  background-image: linear-gradient(to right, #db3a3a, #d11b63, #b12488, #7b3ba3, #004aad);
  transition: all 1s ease-in-out;
}

header.sticky .nav__link {
  color: white;
}

#logo {
  height: 4rem;
  width: auto;
}

#logo img {
  height: 4rem;
  width: auto;
}

/*=============== NAV ===============*/
.nav {
  height: var(--header-height);
}

.nav__data {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
}

.nav__toggle {
  position: relative;
  width: 32px;
  height: 32px;
}

.nav__burger,
.nav__close {
  position: absolute;
  width: max-content;
  height: max-content;
  inset: 0;
  margin: auto;
  margin-right: 15px;
  font-size: 25px;
  cursor: pointer;
  transition: opacity .1s, transform .4s;
  color: white;
  padding-right: 20px;

}

.nav__close {
  opacity: 0;

}

#sub-btn-data {
  width: 100%;
}

/* Adjust the nav-toggle position on small screens */
@media screen and (max-width: 1118px) {
  .nav__data {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav__toggle {
    margin-left: auto;
  }
}

/* Navigation for mobile devices */
@media screen and (max-width: 1118px) {
  .nav__menu {
    position: absolute;
    left: 0;
    top: 2.5rem;
    width: 100%;
    height: calc(100vh - 3.5rem);
    margin-top: 1%;
    overflow: auto;
    pointer-events: none;
    opacity: 0;
    transition: top .4s, opacity .3s;
  }

  .nav__menu::-webkit-scrollbar {
    width: 0;
  }

  .nav__list {
    background-image: linear-gradient(to right, #db3a3a, #d11b63, #b12488, #7b3ba3, #004aad);
    padding-top: 1rem;
  }
}

.nav__link {
  font-weight: var(--font-semi-bold);
  padding: 1.25rem 1.3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: .3s;
  color: white;
}

.nav__link:hover {
  color: white;
  transition: all .3s ease-in-out;
  transform: scale(1.1);
}

/* Adjust the Subscribe button */
.nav__link.btn {
  padding: 10px 20px;
  border-radius: 5px;
  background-color: #db3a3a;
  color: white;
  text-align: center;
  margin-left: auto;
  margin-right: 0;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
}

.nav__link.btn:hover {
  color: white;
}

.nav__link.btn i {
  margin-left: 8px;
}

@media screen and (max-width: 992px) {
  #sub-btn-data {
    width: 95%;
  }
}

.nav__link.btn:hover {
  background-image: linear-gradient(to right, #db3a3a, #d11b63, #b12488, #7b3ba3, #004aad);
}

@media screen and (max-width: 992px) {
  .nav__link.btn {
    width: 100%;
    text-align: center;
    margin: 10px 0;
  }
}

/* Show menu */
.show-menu {
  opacity: 1;
  top: 3.5rem;
  pointer-events: initial;
}

/* Show icon */
.show-icon .nav__burger {
  opacity: 0;
  transform: rotate(360deg);
}

.show-icon .nav__close {
  opacity: 1;
  transform: rotate(360deg);
}

/*=============== DROPDOWN ===============*/
.dropdown__item {
  cursor: pointer;
  margin-top: 0px;
}

.dropdown__arrow {
  font-size: 1.25rem;
  font-weight: initial;
  transition: transform .4s;
}

.dropdown__link,
.dropdown__sublink {
  color: white;
  background-image: linear-gradient(to right, #db3a3a, #d11b63, #b12488, #7b3ba3, #004aad);
  display: flex;
  align-items: center;
  column-gap: .5rem;
  font-weight: var(--font-semi-bold);
  transition: background-color .3s, color .3s;
  padding: 10px 20px;
  margin: 0;
  list-style: none;
}

.dropdown__link i,
.dropdown__sublink i {
  font-size: 1.25rem;
  font-weight: initial;
}

.dropdown__link:hover,
.dropdown__sublink:hover {
  background-image: linear-gradient(to right, #db3a3a, #d11b63, #b12488, #7b3ba3, #004aad);
  color: white;
  transition: all .3s ease-in-out;
  transform: scale(1.1);
}

.dropdown__menu,
.dropdown__submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease-out;
  background-image: linear-gradient(to right, #db3a3a, #d11b63, #b12488, #7b3ba3, #004aad);
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  margin: 0;
}

/* Show dropdown menu & submenu */
.dropdown__item:hover .dropdown__menu,
.dropdown__subitem:hover>.dropdown__submenu {
  max-height: 1000px;
  transition: max-height .4s ease-in;
  background-image: linear-gradient(to right, #db3a3a, #d11b63, #b12488, #7b3ba3, #004aad);
}

/* Rotate dropdown icon */
.dropdown__item:hover .dropdown__arrow {
  transform: rotate(180deg);
}

/*=============== DROPDOWN SUBMENU ===============*/
.dropdown__add {
  margin-left: auto;
}

.dropdown__sublink {
  background-image: linear-gradient(to right, #db3a3a, #d11b63, #b12488, #7b3ba3, #004aad);
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 340px) {
  /* .container {
    margin-inline: 1rem;
  } */

  .nav__link {
    padding-inline: 1rem;
  }
}

/* For large devices */
@media screen and (min-width: 1118px) {
  .container {
    margin-inline: auto;
  }

  .nav {
    height: calc(var(--header-height) + 2rem);
    display: flex;
    justify-content: space-between;
  }

  .nav__toggle {
    display: none;
  }

  .nav__list {
    height: 100%;
    display: flex;
    column-gap: 3rem;
  }

  .nav__link {
    height: 100%;
    padding: 0;
    justify-content: initial;
    column-gap: .25rem;
  }

  .nav__link:hover {
    background-color: transparent;
  }

  .dropdown__item,
  .dropdown__subitem {
    position: relative;
  }

  .dropdown__menu,
  .dropdown__submenu {
    max-height: initial;
    overflow: initial;
    position: absolute;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, top .3s;
    padding-left: 0;
    margin: 0;
    border-radius: 8px;
  }

  .dropdown__link,
  .dropdown__sublink {
    padding-inline: 1rem 3.5rem;
    padding-left: 10px;
    padding-right: 20px;
    margin: 0;
  }

  .dropdown__subitem .dropdown__link {
    padding-inline: 1rem;
  }

  .dropdown__submenu {
    position: absolute;
    left: 100%;
    top: .5rem;
  }

  /* Show dropdown menu */
  .dropdown__item:hover .dropdown__menu {
    opacity: 1;
    pointer-events: initial;
    transition: top .3s;
  }

  /* Show dropdown submenu */
  .dropdown__subitem:hover>.dropdown__submenu {
    opacity: 1;
    top: 0;
    pointer-events: initial;
    transition: top .3s;
  }
}

@media screen and (max-width: 992px) {
  .nav__toggle {
    display: block;
    justify-items: end;
  }
}

/* Navbar End */

/* Sidebar start */
#mySidenav {
  position: fixed;
  top: 35%;
  transform: translateY(-50%);
  right: 0;
  z-index: 1000;
  border-radius: 0 5px 5px 0;
}

#mySidenav a {
  position: absolute;
  right: -87px;
  transition: 0.3s;
  padding: 15px;
  width: 120px;
  text-decoration: none;
  font-size: 15px;
  color: white;
  border-radius: 10px 5px 5px 10px;
}

#mySidenav a:hover {
  right: 0;
}

#youtube {
  top: 20px;
  background: linear-gradient(90deg, #FF0000, #282828);
}

#telegram {
  top: 80px;
  background: linear-gradient(90deg, #0088CC, #FFFFFF);
}

#instagram {
  top: 140px;
  background: linear-gradient(45deg, #FCAF45, #E1306C, #833AB4, #405DE6);
}

#whatsapp {
  top: 200px;
  background: linear-gradient(90deg, #25D366, #128C7E);
}

/* Sidebar start */
#header-data{
  height: 700px;
  width: 100%;
}
#slide-img-1,#slide-img-2{
  width: 100%;
  height: 700px;
}
/*** Header carousel ***/
@media (max-width: 768px) {
  #header-data{
    height: auto;
    width: 100%;
  }
  #slide-img-1,#slide-img-2{
    width: 100%;
    height: 100%;
  }
  .header-carousel .owl-carousel-item {
    position: relative;
    min-height: 450px;
  }

  .header-carousel .owl-carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: auto;
  }
  
}
.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: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
  background: var(--danger);
  border-color: var(--danger);
}

.page-header {
  background: linear-gradient(rgba(24, 29, 56, .7), rgba(24, 29, 56, .7)), url('https://khushifoundationacademy.com/assets/images/1.png');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 450px;
  display: flex;
  align-items: center;
}

.page-header .container {
  padding-top: 80px; /* Adjust this value as needed */
}

.breadcrumb {
  background: none;
  padding: 0;
  margin: 10px 0 0 0;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: #fff;
}

#btn-read1,
#btn-read2 {
  background-image: linear-gradient(to right, #db3a3a, #d11b63, #b12488, #7b3ba3, #004aad);
  color: white;
}

#btn-pdf1,
#btn-pdf2 {
  color: black;
  background-color: white;
}

#btn-read1:hover,
#btn-read2:hover {
  color: black;
  background-image: linear-gradient(to right, #ffffff, #ffffff, #ffffff, #ffffff, #ffffff);
}

#btn-pdf1:hover,
#btn-pdf2:hover {
  background-image: linear-gradient(to right, #db3a3a, #d11b63, #b12488, #7b3ba3, #004aad);
  color: white;
}

/*** Header carousel ***/

/*** 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: var(--danger);
  z-index: -1;
}

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

.service-item:hover {
  margin-top: -10px;
  background: var(--danger);
  color: black;
}

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

.service-item i {
  background: linear-gradient(to right, #db3a3a, #d11b63, #b12488, #7b3ba3, #004aad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card {
  border-radius: 10px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 10px 5px 5px rgb(151, 147, 147);
}

.quiz-card:hover,
.card:hover {
  transform: scale(1.05);
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3);
}

/*** Service ***/

/*** Categories & Courses ***/
.category img,
.course-item img {
  transition: .5s;
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.category a:hover img,
.course-item:hover img {
  transform: scale(1.1);
}

.container-xxl .img-fluid {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .container-xxl .img-fluid {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 576px) {
  .container-xxl .img-fluid {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

/*** Testimonial ***/
.carousel-container {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.8s ease-in-out;
}

.carousel-container:hover {
  transform: scale(1.06);
}

.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial {
  flex: 0 0 100%;
  display: flex;
  padding: 35px;
  width: auto;
}

.testimonial-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-right: 20px;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  position: relative;
  margin-bottom: 20px;
}

.testimonial-text::before {
  content: "";
  background-image: url("https://khushifoundationacademy.com/assets/images/qte.png");
  background-size: contain;
  background-repeat: no-repeat;
  width: 28px;
  height: 28px;
  position: absolute;
  left: -35px;
  top: -10px;
}

.testimonial-info {
  margin-top: auto;
}

.testimonial-author {
  font-weight: bold;
  color: #db3a3a;
}

.testimonial-college {
  color: #666;
  margin-bottom: 5px;
}

.testimonial-rewards {
  font-style: italic;
  color: #666;
}

.testimonial-right {
  flex: 0 0 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-image {
  width: 250px;
  height: 250px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 55% 45% 67% 33% / 30% 34% 66% 70%;
  box-shadow: 10px 5px 5px #db3a3a;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.carousel-indicator {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: transform 0.3s ease;
  overflow: hidden;
}

.carousel-indicator img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-indicator.active {
  transform: scale(1.2);
  border: 2px solid #db3a3a
}

@media (max-width: 768px) {
  .testimonial {
    flex-direction: column-reverse;

  }

  .testimonial-left {
    padding-right: 0;
    margin-bottom: 20px;
  }

  .testimonial-right {
    flex: 0 0 auto;
    width: 100%;
    max-width: 200px;
    align-self: center;
  }

  .testimonial-text::before {
    width: 20px;
    height: 20px;
    left: -15px;
  }
}

@media (max-width: 480px) {
  .testimonial {
    padding: 20px;
  }

  .testimonial-text {
    font-size: 14px;
  }

  .carousel-indicator {
    width: 30px;
    height: 30px;
  }

  .testimonial-image {
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
  }
}


/* team  */


.team {
  padding: 60px 0;
}

.team .member {
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0px 2px 15px rgba(16, 110, 234, 0.15);
}

.team .member .member-img {
  position: relative;
  overflow: hidden;
}

.team .member .social {
  position: absolute;
  left: 0;
  bottom: 30px;
  right: 0;
  opacity: 0;
  transition: ease-in-out 0.3s;
  text-align: center;
}

.team .member .social a {
  transition: color 0.3s;
  color: #222222;
  margin: 0 3px;
  padding-top: 7px;
  border-radius: 4px;
  width: 36px;
  height: 36px;
  background: #db3a3a;
  display: inline-block;
  transition: ease-in-out 0.3s;
  color: #fff;
}

.team .member .social a:hover {
  background: #004aad;
}

.team .member .social i {
  font-size: 18px;
}

.team .member .member-info {
  padding: 25px 15px;
}

.team .member .member-info h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 18px;
  color: #004aad
}

.team .member .member-info span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #004aad;
}

.team .member .member-info p {
  font-style: italic;
  font-size: 14px;
  line-height: 26px;
  color: #777777;
}

.team .member:hover .social {
  opacity: 1;
  bottom: 15px;
}



/*** Footer ***/
#footer {
  background-image: linear-gradient(to right, #db3a3a, #d11b63, #b12488, #7b3ba3, #004aad);
}

.footer .btn.btn-social {
  margin-right: 5px;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border: 1px solid #FFFFFF;
  border-radius: 35px;
  transition: .3s;
}

.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: .3s;
}
#submit-btn:hover {
  background-image: linear-gradient(to right, #db3a3a, #d11b63, #b12488, #7b3ba3, #004aad);
}

.footer .btn.btn-link::before {
  position: relative;
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  letter-spacing: 1px;
  background: none;
}

#instagram2:hover {
  background: linear-gradient(45deg, #FCAF45, #E1306C, #833AB4, #405DE6);
}

#whatsapp2:hover {
  background: linear-gradient(90deg, #25D366, #128C7E);
}

#telegram2:hover {
  background: linear-gradient(90deg, #0088CC, #FFFFFF);
}

#youtube2:hover {
  background: linear-gradient(90deg, #FF0000, #282828);
}
/* @media (max-width: 575.98px) and (min-width: 400px) {
  .col-xs-6 {
      width: 40%;
  }
} */

.footer .copyright {
  padding: 25px 0;
  font-size: 15px;
  border-top: 1px solid rgba(256, 256, 256, .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, .1);
}

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

/* accordion */
.accordion-button {
  color: black;
  background-color: #f8f9fa;
}

.accordion-button:hover {
  color: black;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-body {
  font-family: inherit;
  text-align: start;
}

.btn-danger {
  background-color: var(--danger) !important;
}

.text-danger {
  color: var(--light) !important;
}

.danger {
  color: var(--danger) !important;
}