/**********************************************/
/* LAYOUT */
/**********************************************/
.bg-primary {
  background: var(--primary-bg) !important;
}

.bg-secondary {
  background: var(--secondary-bg) !important;
}

.bg-card {
  background: var(--card-bg) !important;
}

.text-primary {
  color: var(--primary-color) !important;
}

.text-secondary {
  color: var(--secondary-color) !important;
}

.text-dark {
  color: var(--dark-color) !important;
}

.text-muted {
  color: var(--text-color-muted);
}

/* HEADER */
.header {
  display: flex;
  align-items: center;
  z-index: 1000;
  position: sticky;
  top: -70px;
  left: 0;
  width: 100%;
  border-color: #091121;
  transition: all 0.5s ease-in-out;
}

body.header-dark .header,
.header.on-scroll {
  /* background: #091121; */
  background: var(--card-bg);
  box-shadow: 0 0px 8px #9bb0d515;
  border-radius: 0 0 18px 18px;
  top: 0;
}

.header .logo img {
  max-width: 100%;
  height: 50px;
}

.header .wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
}

.header .toggleBtn,
.mobile_menu {
  display: none;
}

.desktop_menu {
  display: inline-flex;
  gap: 4px;
}

.desktop_menu li a {
  display: block;
  font-weight: 600;
  padding: 4px 12px;
  transition: all 0.3s ease;
}

.desktop_menu li a:hover {
  color: var(--secondary-color);
}

/* dropdownmenu menu */
.desktop_menu .dropdownmenu {
  position: relative;
}

.desktop_menu .dropdownmenu .drop_menu {
  position: absolute;
  left: 0;
  top: 100%;
  width: 180px;
  padding: 5px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  background: var(--theme-body);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
  border-bottom: 2px solid var(--primary-color);
}

.desktop_menu .dropdownmenu .drop_menu li {
  padding: 0 12px;
}

.desktop_menu .dropdownmenu .dropdownmenu > .drop_menu {
  top: 0;
  left: 100%;
}

.desktop_menu .dropdownmenu:hover > .drop_menu,
.desktop_menu .megamenu:hover .mega_box {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* mega menu */
.desktop_menu .mega_box {
  position: absolute;
  left: 0;
  top: 100%;
  padding: 0 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.desktop_menu .mega_box .content {
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: var(--theme-body);
  border-bottom: 2px solid var(--primary-color);
}

.desktop_menu .mega_box .content .row {
  width: 100%;
  flex: 1;
}

.desktop_menu .mega_box .content .row header {
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid var(--primary-color);
}

.desktop_menu .mega_box .content .row .mega_links li a {
  padding: 0px;
  display: block;
  font-size: 15px;
  font-weight: 400;
}

@media screen and (max-width: 768px) {
  .desktop_menu {
    display: none;
  }

  .header .toggleBtn {
    display: block;
  }

  .mobile_menu .mobile_menu_top {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 12px;
    background: #0000003d;
    border-bottom: 1px solid var(--card-bg);
  }

  .mobile_menu .mobile_menu_top .closeBtn {
    width: 20px;
    height: 20px;
    font-size: 20px;
    color: #747474;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid;
    border-radius: 50%;
  }

  .mobile_menu {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 250px;
    opacity: 0;
    transform: translateX(-100%);
    transition: all 0.3s ease-in-out;
    background: var(--theme-body);
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    overflow-y: auto;
  }

  .mobile_menu.active {
    opacity: 1;
    transform: translateX(0);
  }

  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.3s ease-in-out,
      visibility 0.3s ease-in-out;
  }

  .overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .mobile_menu ul li a {
    display: block;
    padding: 10px 15px;
    font-size: 17px;
    font-weight: normal;
    border-bottom: 1px solid #ffffff17;
    color: #aaa;
  }

  .mobile_menu .drop_menu,
  .mobile_menu .mega_box {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease-in-out;
  }

  .mobile_menu .drop_menu.show,
  .mobile_menu .mega_box.show {
    max-height: 400px;
    overflow-y: auto;
    opacity: 1;
    transition: all 0.4s ease-in-out;
  }

  .mobile_menu .drop_menu li {
    padding: 0 12px;
  }

  .mobile_menu .mega_box .content .row {
    padding: 0 12px;
  }

  .mobile_menu .mega_box .content .row header {
    font-size: 16px;
    font-weight: 500;
  }

  .mobile_menu .mega_box .content .row .mega_links li a {
    display: block;
    font-size: 15px;
    font-weight: 400;
  }

  .mobile_menu .mega_box .content .row img {
    width: 100%;
    padding: 0 12px;
  }
}

.header-icons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.header-search {
  position: relative;
}

.search_wrapper {
  position: relative;
}

.search_box_toggler button {
  font-size: 18px;
}

.search_dropdown {
  position: absolute;
  top: 120%;
  right: 0;
  width: 250px;
  background: #0b202d;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: 0.3s ease;
  z-index: 1000;
}

.search_dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search_input_box {
  position: relative;
  margin-bottom: 15px;
  color: #858585;
  font-size: 13px;
}

.search_input_box input {
  width: 100%;
  padding: 10px 35px;
  border-radius: 6px;
  border: 1px solid #adabab26;
  outline: none;
}

.search_input_box i {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.search_history .label {
  font-size: 13px;
  margin-bottom: 5px;
}

.history_item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  cursor: pointer;
}

.history_item i {
  font-size: 12px;
}

.separator {
  height: 1px;
  background: #464d60;
  margin: 8px 0;
}

.search_results {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.result_card {
  display: flex;
  gap: 8px;
  align-items: center;
  border-radius: 6px;
  cursor: pointer;
  background: #f1f1f10f;
  padding: 2px;
}

.result_card:hover h5 {
  color: var(--secondary-color);
}

.result_card img {
  width: 50px;
  height: 40px;
  object-fit: cover;
  border-radius: 5px;
}

.result_card h5 {
  font-size: 13px;
  font-weight: 500;
}

@media (max-width: 600px) {
  .search_dropdown {
    position: fixed;
    top: 70px;
    right: 13px;
  }
}

/* HEADING TITLE */
.heading_title {
  text-align: center;
  margin-top: 80px;
  margin-bottom: 50px;
}

.heading_title .short_title {
  color: var(--secondary-color);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.heading_title .main_title {
  font-size: 35px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .heading_title .main_title {
    font-size: 30px;
  }
}

@media (max-width: 600px) {
  .heading_title .main_title {
    font-size: 25px;
  }

  .heading_title .short_title {
    font-size: 16px;
    margin-bottom: 5px;
  }
}

/* HERO SECTION */
.hero_section {
  background-color: #1b2841;
  padding: 50px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero_section .hero_image,
.hero_section .hero_info {
  width: 100%;
}

.hero_section .hero_image img {
  transform: scaleX(-1);
}

.hero_section .subtitle {
  color: var(--secondary-color);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 13px;
}

.hero_section .title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero_section .hero_counter {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 40px;
  border-radius: 20px;
  margin: 20px 0;
}

.hero_section .hero_counter p {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  border-right: 2px solid var(--card-bg);
  padding-right: 12px;
}

.hero_section .hero_counter p:last-child {
  border-right: none;
  padding-right: 0;
}

.hero_section .hero_counter .counter {
  font-size: 30px;
  font-weight: 600;
}

@media (max-width: 1024px) {
  .hero_section {
    flex-direction: column;
    padding: 12px;
  }

  .hero_section .hero_counter {
    padding: 20px 30px;
  }

  .hero_section .hero_counter p {
    flex-direction: column;
  }
}

/**********************************************/
/* button */
.btn {
  border: none;
  padding: 0 25px;
  font-size: 16px;
  font-weight: 700;
  line-height: 40px;
  border-radius: 7px;
  text-align: center;
  transition: all 0.3s ease;
  color: var(--dark-color);
  background: var(--primary-bg);
  display: inline-block;
}

.btn-icon {
  width: 40px;
  padding: 0;
}

.btn.loading {
  animation: glowPulse 0.75s ease-in-out infinite;
}

@keyframes glowPulse {
  0%,
  100% {
    filter: brightness(1) saturate(1);
    transform: scale(1);
  }
  50% {
    filter: brightness(1.2) saturate(1.3);
    transform: scale(1.02);
  }
}

/* product card */
.product_card {
  display: block;
  --gap-action: 6px;
  --sz-action: 58px;
  --round-card: calc(var(--sz-action) / 2 + calc(var(--gap-action) / 2));
  width: 100%;
  height: auto;
  border-radius: 10px 10px var(--round-card) 10px;
  position: relative;
  padding: 15px;
  background: var(--card-bg);
  transition: all 0.3s ease;
}

.product_card .corner {
  position: absolute;
  right: 0;
  bottom: 0;
  background: var(--theme-body);
  z-index: 2;
  border-top-left-radius: var(--round-card);
  padding-top: var(--gap-action);
  padding-left: var(--gap-action);
  gap: var(--gap-action);
}

.product_card .corner i[data-corner="tl"] {
  bottom: 0;
  right: 100%;
}

.product_card .corner i[data-corner="br"] {
  right: 0;
  bottom: 100%;
}

.product_card .corner i[data-corner] {
  position: absolute;
  width: 13px;
  height: 13px;
  z-index: 2;
  background: var(--theme-body);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product_card .corner i[data-corner]::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-bottom-right-radius: var(--round-card);
  background: var(--card-bg);
  z-index: -1;
  transition: all 0.3s ease;
}

.product_card .corner .action {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  height: 50px;
  min-height: 50px;
  max-height: 50px;
  width: 50px;
  min-width: 50px;
  max-width: 50px;
  border: none;
  outline: none;
  transition: all 0.3s ease;
  color: var(--dark-color);
}

.product_card .box-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product_card .box-content .title {
  font-size: 18px;
  font-weight: 600;
}

.product_card .box-content .price {
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  color: var(--secondary-color);
  min-height: 35px;
}

.product_card .box-content .price span {
  text-decoration: line-through;
  font-size: 20px;
  font-weight: 500;
  color: var(--text-color-muted);
}

.productCardSwiper .swiper-button-next,
.productCardSwiper .swiper-button-prev {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1c335a;
  color: #fff;
}

.productCardSwiper .swiper-button-next:hover,
.productCardSwiper .swiper-button-prev:hover {
  background: var(--primary-color);
}

.productCardSwiper .swiper-button-next::after,
.productCardSwiper .swiper-button-prev::after {
  font-size: 14px;
}

@media (max-width: 900px) {
  .product_card {
    padding: 10px;
  }

  .product_card .box-content .title {
    font-size: 17px;
  }

  .product_card .box-content .price {
    font-size: 24px;
  }

  .product_card .box-content .price span {
    font-size: 17px;
  }
}

@media (max-width: 600px) {
  .product_card {
    padding: 7px;
  }

  .product_card .box-content .title {
    font-size: 16px;
  }

  .product_card .box-content .price {
    font-size: 20px;
  }

  .product_card .box-content .price span {
    font-size: 16px;
  }
}

@media (max-width: 399px) {
  .product_card .box-content .price {
    font-size: 20px;
  }

  .product_card .box-content .price span {
    display: block;
    font-size: 16px;
  }
}

/* team css */
.team_card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
}

.team_card .team_img {
  width: 200px;
  height: auto;
  margin: 0 auto 20px;
  border-radius: 50%;
}

.team_card .team_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--dark-card-bg);
}

.team_card .team-name {
  font-size: 20px;
  font-weight: 600;
}

.team_card .team-role {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 20px;
}

.team_card .social {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.team_card .social a {
  background: var(--primary-color);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--dark-color);
  transition: 0.3s;
}

.team_card .social a:hover {
  background: var(--secondary-color);
}

.teamSwiper .swiper-button-next,
.teamSwiper .swiper-button-prev {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1c335a;
  color: #fff;
}

.teamSwiper .swiper-button-next:hover,
.teamSwiper .swiper-button-prev:hover {
  background: var(--primary-color);
}

.teamSwiper .swiper-button-next::after,
.teamSwiper .swiper-button-prev::after {
  font-size: 14px;
}

/* testimonial_card */
.testimonial_card {
  --gap-action: 6px;
  --sz-action: 58px;
  --round-card: calc(var(--sz-action) / 2 + calc(var(--gap-action) / 2));
  width: 100%;
  height: auto;
  border-radius: 10px 10px var(--round-card) 10px;
  position: relative;
  padding: 20px;
  background: var(--card-bg);
  transition: all 0.3s ease;
}

.testimonial_card .corner {
  position: absolute;
  right: 0;
  bottom: 0;
  background: var(--theme-body);
  z-index: 2;
  border-top-left-radius: var(--round-card);
  padding-top: var(--gap-action);
  padding-left: var(--gap-action);
  gap: var(--gap-action);
}

.testimonial_card .corner i[data-corner="tl"] {
  bottom: 0;
  right: 100%;
}

.testimonial_card .corner i[data-corner="br"] {
  right: 0;
  bottom: 100%;
}

.testimonial_card .corner i[data-corner] {
  position: absolute;
  width: 13px;
  height: 13px;
  z-index: 2;
  background: var(--theme-body);
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial_card .corner i[data-corner]::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-bottom-right-radius: var(--round-card);
  background: var(--card-bg);
  z-index: -1;
  transition: all 0.3s ease;
}

.testimonial_card .corner .action {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  height: 50px;
  min-height: 50px;
  max-height: 50px;
  width: 50px;
  min-width: 50px;
  max-width: 50px;
  border: none;
  outline: none;
  transition: all 0.3s ease;
}

.testimonial_card .testimonial_user {
  color: #aaa;
  line-height: 1.1;
  min-height: 30px;
}

.testimonial_card .testimonial_user p {
  font-weight: 600;
}

.testimonial_card .box-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.testimonial_card .box-content .card_icon {
  display: flex;
  gap: 8px;
}

.testimonial_card .box-content .card_icon img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  background: var(--secondary-color);
  border-radius: 50px;
  padding: 2px;
}

.testimonial_card .box-content .testimonial_name {
  font-size: 18px;
  font-weight: 600;
}

.testimonial_card .box-content .rating {
  display: flex;
  align-items: center;
  gap: 2px;
}

.testimonial_card .box-content .rating i {
  color: #f5b301;
  font-size: 12px;
  margin-top: 4px;
}

/* ************************************************** */
/* *************** PRODUCT DETAILS CSS ************** */
/* ************************************************** */

/* about section */
.about_section {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 80px 0;
}

.about_section .about_image {
  flex: 1;
}

.about_section .about_image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.about_section .about_content {
  flex: 1;
}

.about_section .about_content h2 {
  font-size: 36px;
}

.about_section .about_content h4 {
  color: var(--primary-color);
  font-size: 24px;
  margin-bottom: 10px;
  font-weight: 500;
}

.about_section .social_icons {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.about_section .social_icons a {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: var(--dark-color);
  font-size: 16px;
  transition: 0.3s;
}

.about_section .social_icons a:hover {
  background: var(--secondary-color);
}

.about_section .about_content p {
  margin-bottom: 20px;
}

.contact_info h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.contact_info ul {
  list-style: none;
}

.contact_info strong {
  color: var(--primary-color);
}

@media (max-width: 992px) {
  .about_section {
    flex-direction: column;
    gap: 5px;
  }

  .about_image,
  .about_content {
    width: 100%;
  }
}

/* login form */
.form {
  padding: 30px;
  border-radius: 12px;
}

.form h2 {
  text-align: center;
  margin-bottom: 16px;
}

.form p {
  text-align: center;
  margin-bottom: 20px;
}

.form .input-group {
  margin-bottom: 20px;
}

/* faq */
.faq-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

/* mobile */
@media screen and (max-width: 768px) {
  .faq-container {
    flex-direction: column;
    align-items: center;
  }

  .faq-container .faq_img {
    width: 100%;
    max-width: 400px;
  }

  .faq-container .faq_data {
    width: 100%;
    max-width: 500px;
  }
}

.faq-container .faq_img {
  width: 420px;
  padding: 20px;
}

.faq-container .faq_data {
  flex: 1;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: 0.3s;
}

.faq-question .icon {
  width: 35px;
  height: 35px;
  background: #1c2f5a;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  font-size: 20px;
  transition: 0.3s;
}

.faq-item.active .faq-question {
  background: var(--primary-color);
  color: var(--dark-color);
}

.faq-item.active .icon {
  background: var(--secondary-color);
  color: var(--dark-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: #233766;
  transition: max-height 0.4s ease;
  padding: 0 20px;
}

.faq-item.active .faq-answer {
  padding: 20px;
  max-height: 400px;
}

/* ************************************************* */
/* ************ COMPONENTS ************ */
/* ************************************************* */
/* Drawer */
.drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: end;
  visibility: hidden;
  opacity: 0;
  background: rgba(0, 0, 0, 0.6);
  transition: all 0.4s ease;
}

.drawer.show {
  visibility: visible;
  opacity: 1;
}

.drawer.left {
  justify-content: flex-start;
}

.drawer.left > .content {
  transform: translateX(-100%);
}

.drawer > .content {
  width: 100%;
  height: 100vh;
  max-width: var(--drawer-width);
  box-shadow: var(--drawer-shadow);
  display: flex;
  flex-direction: column;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--drawer-scrollbar-color);
  transform: translateX(100%);
  transition: all 0.4s ease;
}

.drawer.show .content {
  transform: translateX(0);
}

.drawer > .content > .head {
  padding: var(--drawer-padding);
  padding-right: 16px;
  background: var(--drawer-background);
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.drawer > .content > .footer {
  padding: var(--drawer-padding);
  background: var(--drawer-background);
  position: sticky;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 8px;
}

.drawer > .content.divider > .head {
  border-bottom: var(--drawer-border);
}

.drawer > .content.divider > .footer {
  border-top: var(--drawer-border);
}

.drawer > .content > .body {
  padding: 28px;
  background: var(--drawer-background);
  flex-grow: 1;
}

.drawer:has(> .content > .head) > .content.divider > .body {
  padding: var(--drawer-padding);
}

.drawer > .content > .head > .close {
  height: 24px;
  width: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: var(--modal-border);
  border-radius: 2px;
  font-size: 25px;
  cursor: pointer;
}

.drawer:has(> .content > .head) > .content > .body {
  padding: 0px 28px;
}

.drawer:has(> .content > .footer) > .content > .body {
  padding-bottom: 0;
}

.drawer:not(:has(> .content > .footer)) > .content > .body {
  padding-bottom: 28px;
}

.drawer > .content > .head h1,
.drawer > .content > .head h2,
.drawer > .content > .head h3,
.drawer > .content > .head h4,
.drawer > .content > .head h5,
.drawer > .content > .head h6 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* body:has(.drawer.show) {padding-right: 15px; overflow: hidden;} */

/* input field */
label {
  display: block;
  font-size: 95%;
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--input-text-color);
}

label.require::after {
  content: " *";
  color: var(--label-require-color);
}

input,
textarea {
  width: 100%;
  font-size: 100%;
  padding: var(--input-padding);
  border-radius: var(--input-border-radius);
  color: var(--input-text-color);
  background: var(--input-background);
  border: var(--input-border);
  outline: none;
  resize: vertical;
  transition: border 0.2s ease-in-out;
  font-family: "Roboto", sans-serif;
}

input::placeholder,
textarea::placeholder {
  color: var(--input-placeholder-color);
}

input:focus,
textarea:focus {
  border: var(--input-focus-border);
}

input[type="file"] {
  padding: 0;
}

input[type="file"]::file-selector-button {
  color: var(--input-text-color);
  background: transparent;
  border: none;
  border-right: var(--input-border);
  padding: var(--input-file-padding);
}

input[type="checkbox"],
input[type="radio"] {
  max-width: fit-content;
}

.radio,
.checkbox {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 100%;
  font-weight: normal;
  max-width: fit-content;
}

.input-group {
  display: flex;
  align-items: center;
  width: 100%;
  border-radius: var(--input-border-radius);
  border: var(--input-border);
  overflow: hidden;
  transition: border 0.2s ease-in-out;
}

.input-group:focus-within {
  border: var(--input-focus-border);
}

.input-group > span {
  font-weight: 500;
  padding: var(--input-padding);
  color: var(--input-text-color);
  background: var(--input-background);
}

.input-group input,
.input-group input:focus {
  border: none;
  border-radius: 0;
}

.select {
  width: 100%;
  position: relative;
  border: var(--input-border);
  background: var(--input-background);
  border-radius: var(--input-border-radius);
}

.select:focus-within {
  border: var(--input-focus-border);
}

.select svg {
  fill: var(--input-text-color);
}

.selected {
  cursor: pointer;
  padding: var(--input-padding);
  color: var(--input-text-color);
  display: flex;
  align-items: center;
}

.selected-text {
  flex-grow: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.selected-arrow {
  margin-left: 8px;
  display: flex;
  align-items: center;
}

.options {
  position: absolute;
  left: 0;
  right: 0;
  opacity: 0;
  overflow-y: auto;
  transform: scaleY(0);
  transform-origin: top;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  z-index: 2000;
  border-radius: var(--input-border-radius);
  background: var(--selected-options-background);
  scrollbar-width: thin;
  scrollbar-color: var(--selected-scrollbar-color);
}

.options.show {
  opacity: 1;
  transform: scaleY(1);
}

.options.above {
  top: auto;
  bottom: 100%;
  transform-origin: bottom;
}

.options.below {
  top: 100%;
  bottom: auto;
  transform-origin: top;
}

.option {
  cursor: pointer;
  padding: var(--input-padding);
  border-bottom: var(--input-border);
}

.option:hover,
.option.selected-option {
  background: var(--selected-options-hover);
}

.optgroup-label {
  cursor: default;
  font-weight: 500;
  color: var(--optgroup-label-color);
  padding: var(--optgroup-label-padding);
  background: var(--optgroup-label-background);
}

.optgroup-label ~ .option {
  padding: var(--optgroup-option-padding);
}

.selectSearch {
  display: flex;
  align-items: center;
  background: var(--selected-options-background);
  border-bottom: var(--input-border);
  position: sticky;
  top: 0;
}

.selectSearch .sSearch {
  flex: 1;
  width: 100%;
  padding: var(--input-padding);
  border-radius: 0;
  outline: none;
  border: none;
}

.selectSearch .sicon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 12px;
}

.dropdown > button {
  border: none;
  cursor: pointer;
  padding: var(--dropdown-btn-padding);
  background: var(--dropdown-btn-background);
  border-radius: var(--dropdown-border-radius);
}

.dropdown > ul {
  display: none;
  position: fixed;
  width: max-content;
  overflow: hidden;
  z-index: 2000;
  min-width: var(--dropdown-opt-width);
  background: var(--dropdown-opt-background);
  border: var(--dropdown-opt-border);
  border-radius: var(--dropdown-border-radius);
  box-shadow: var(--dropdown-opt-shadow);
}

.dropdown > ul li {
  cursor: pointer;
  text-align: var(--dropdown-opt-text);
  padding: var(--dropdown-opt-padding);
  border-bottom: var(--dropdown-opt-border);
}

.dropdown > ul li:last-child {
  border-bottom: none;
}

.dropdown > ul li:hover {
  background: var(--dropdown-opt-hover);
}

/* modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  padding: 12px;
  background: rgba(0, 0, 0, 0.6);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.modal.show {
  visibility: visible;
  opacity: 1;
}

.modal > .content {
  width: 100%;
  max-width: var(--modal-width);
  max-height: var(--modal-height);
  border: var(--modal-border);
  border-radius: var(--modal-border-radius);
  box-shadow: var(--modal-shadow);
  display: flex;
  flex-direction: column;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--modal-scrollbar-color);
  transform: translateY(-25px);
  transition: transform 0.3s ease;
}

.modal.show .content {
  transform: translateY(0);
}

.modal > .content > .head {
  padding: var(--modal-padding);
  padding-right: 16px;
  background: var(--modal-background);
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.modal > .content > .footer {
  padding: var(--modal-padding);
  background: var(--modal-background);
  position: sticky;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 8px;
}

.modal > .content.divider > .head {
  border-bottom: var(--modal-border);
}

.modal > .content.divider > .footer {
  border-top: var(--modal-border);
}

.modal:has(> .content > .head) > .content.divider > .body {
  padding: var(--modal-padding);
}

.modal > .content > .head > .close {
  height: 24px;
  width: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: var(--modal-border);
  border-radius: 2px;
  font-size: 25px;
  cursor: pointer;
}

.modal > .content > .body {
  padding: 28px;
  background: var(--modal-background);
  flex-grow: 1;
}

.modal:has(> .content > .head) > .content > .body {
  padding: 0px 28px;
}

.modal:has(> .content > .footer) > .content > .body {
  padding-bottom: 0;
}

.modal:not(:has(> .content > .footer)) > .content > .body {
  padding-bottom: 28px;
}

.modal > .content > .head h1,
.modal > .content > .head h2,
.modal > .content > .head h3,
.modal > .content > .head h4,
.modal > .content > .head h5,
.modal > .content > .head h6 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

th,
td {
  padding: 12px 15px;
  border: 1px solid #ddd;
  text-align: left;
}

/* course details */
.course_grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  align-items: start;
}

.course_left {
  order: 1;
  color: #dddddd;
}

.course_right {
  padding: 20px;
  border-radius: 12px;
  /* position: sticky; */
  /* top: 105px; */
  order: 2;
}

.course_image {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.course_stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat {
  display: flex;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px dashed #ddd;
}

.course_price {
  font-size: 28px;
  font-weight: 600;
  color: var(--secondary-color);
}

.course_price span {
  font-size: 20px;
  font-weight: 400;
  color: var(--text-color-muted);
  text-decoration: line-through;
}

.teacher_wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  /* grid-template-columns: repeat(2, 1fr); */
  gap: 16px;
}

.teacher_wrapper .teacher {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 2px;
  border-radius: 10px;
  background: var(--card-bg);
  padding: 16px;
}

.teacher_wrapper .teacher img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 15px;
}

.teacher_wrapper .teacher .name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-color);
}

.teacher_wrapper .teacher .title {
  font-size: 14px;
  color: var(--text-color-muted);
}

/* ACCORDION */
.course_details_accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.course_details_accordion .accordion_body .course_data {
  border: 1px solid rgb(52, 63, 95);
  margin-bottom: 6px;
}

.course_details_accordion .accordion_body .course_data p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid rgb(52, 63, 95);
}

.course_details_info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.accordion_item {
  border-radius: 8px;
  overflow: hidden;
  background: #1b2841;
}

.accordion_btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  color: #fff;
  line-height: 1.2;
}

.accordion_body {
  height: 0;
  overflow: hidden;
  transition: height 0.4s ease;
  padding: 0 16px;
  border-top: 2px solid rgb(52, 63, 95);
}

.class_routine {
  background: #1b2841;
  padding: 12px;
  border-radius: 12px;
  overflow: hidden;
}

.class_routine img {
  display: block;
  width: 100%;
}

.course_ext_data,
.course_sm_btn_wrapper {
  display: none;
}

.exclusive_wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.tab_buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.tab_btn {
  padding: 6px 20px;
  border: none;
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  cursor: pointer;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.3s;
}

.tab_btn.active {
  background: #1b2841;
  color: #fff;
}

.tab_content {
  display: none;
  padding: 20px;
  border-radius: 8px;
}

.tab_content.active {
  display: block;
}

.tab_content .tab_content_image img {
  width: 100%;
  display: block;
}

.promo_section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.promo_card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-radius: 12px;
  color: #fff;
}

.promo_text h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.promo_btn {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
  color: #fff;
}

.promo_icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: rgba(255, 255, 255, 0.2);
}

.promo_card.youtube {
  background: linear-gradient(90deg, #6d1a14, #b32a1f);
}

.promo_card.youtube .promo_btn {
  background: #ff3b30;
}

.promo_card.facebook {
  background: linear-gradient(90deg, #0b3a63, #1e5c96);
}

.promo_card.facebook .promo_btn {
  background: #1877f2;
}

.promo_card.whatsapp {
  background: linear-gradient(90deg, #0b6321, #1e9628);
}

.promo_card.whatsapp .promo_btn {
  background: #03bf13;
}

.countdown-card {
  border-radius: 12px;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  color: #555;
  transition: all 0.2s;
}

.content {
  padding: 28px 24px 32px;
  text-align: center;
}

.timer {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}

.time-unit {
  background: var(--secondary-bg);
  color: var(--dark-color);
  width: 75px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: relative;
  padding: 10px 0;
  line-height: 0.9;
}

.time-unit strong {
  font-size: 40px;
  font-weight: 700;
}

.time-unit span.label {
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.95;
  letter-spacing: 0.5px;
}

.course_ext_data {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 8px;
}
@media (min-width: 600px) {
  .course_ext_data {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .course_ext_data {
    grid-template-columns: repeat(1, 1fr);
  }
}

.course_ext_data .course_ext_data_card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 10px;
  border-radius: 12px;
  background: var(--theme-body);
}
.course_ext_data .course_ext_data_card .icon {
  width: 50px;
  height: 50px;
}

.course_ext_data .course_ext_data_card .text {
  text-align: left;
  width: 100%;
  padding-left: 15px;
}
.course_ext_data .course_ext_data_card .text .title {
  color: #818b9f;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 5px;
}
.course_ext_data .course_ext_data_card .text .value {
  font-size: 15px;
  margin-bottom: 0;
}

@media (max-width: 480px) {
  .time-unit {
    width: 62px;
    height: 74px;
    font-size: 1.9rem;
  }

  .promo-code-box {
    font-size: 1.2rem;
  }

  .action-btn {
    padding: 14px 40px;
    font-size: 1.1rem;
  }
}

@media (max-width: 600px) {
  .course_details_accordion {
    grid-template-columns: repeat(1, 1fr);
    gap: 6px;
  }

  .exclusive_wrapper {
    grid-template-columns: repeat(1, 1fr);
    gap: 8px;
  }

  .promo_section {
    grid-template-columns: repeat(1, 1fr);
    gap: 8px;
  }
}

@media (max-width: 900px) {
  .course_grid {
    grid-template-columns: 1fr;
  }

  .course_right {
    position: static;
    order: 1;
  }

  .course_left {
    order: 2;
  }

  .course_right .course_image {
    margin-bottom: 0;
  }

  .course_right .course_stats,
  .course_right .course_price,
  .course_right button {
    display: none;
  }

  .course_sm_btn_wrapper {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 15px;
    background: var(--card-bg);
    box-shadow: 0 0px 8px #9bb0d515;
    border-radius: 18px 18px 0 0;
  }

  .course_sm_btn {
    background: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .course_sm_btn.btn {
    padding: 4px;
    line-height: 1.3;
  }

  .course_sm_btn .course_price {
    color: var(--secondary-color);
    font-size: 15px;
  }

  .course_sm_btn .course_price span {
    color: #eee;
    font-size: 12px;
    text-decoration: line-through;
  }
}

/* OVERRIDES */
.corner i[data-corner],
.corner i[data-corner]::before {
  border-radius: 50% 0 0 0;
}

/* ALERTS */

.alert {
  margin-top: 10px;
  padding: 12px 16px;
  border-radius: 4px;
  margin-bottom: 15px;
  font-size: 14px;
  line-height: 1.4;
}

/* success */
.alert-success {
  color: #00c51a;
  background: #00ff0a1c;
}

/* danger */
.alert-danger {
  color: #d30014;
  background: #ff001729;
}

/* warning */
.alert-warning {
  color: #bfb200;
  background: #fff9001c;
}

/* info */
.alert-info {
  color: #8d2df1;
  background: #d500e11c;
}

/* primary */
.alert-primary {
  color: #0e62ff;
  background: #0035ff1c;
}

/* light */
.alert-light {
  color: #a2bdeb;
  background: #263c654a;
}

/* errnotediv */
.errnotediv {
  color: #d91111;
  font-size: 13px;
}

@media (max-width: 380px) {
  .dashboardBtn_wrapper i {
    display: none;
  }
  .dashboardBtn_wrapper {
    padding: 0 10px;
  }
}

/* purchase */
.purchase_card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 15px;
}
.promodiv {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 15px;
}

.gradient-text {
  font-weight: 800;
  letter-spacing: 2px;

  background: linear-gradient(90deg, red, orange, yellow, green, blue);

  background-size: 300% auto;

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;

  animation:
    shine 6s linear infinite,
    floatText 3s ease-in-out infinite;

  filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.25))
    drop-shadow(0 0 30px rgba(129, 140, 248, 0.18));
}

@keyframes shine {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 300% center;
  }
}

@keyframes floatText {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}

.ramadan-btn {
  padding: 10px 40px;
  font-size: 22px;
  font-weight: bold;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  color: white;
  text-shadow: 0 0 5px rgb(0 0 0 / 70%);

  background: linear-gradient(90deg, red, orange, yellow, green, blue);

  background-size: 300% 300%;

  animation: ramadanGlow 6s ease infinite;

  transition: transform 0.3s;
}

.ramadan-btn:hover {
  transform: scale(1.05);
}

@keyframes ramadanGlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* fb button */
.fb-group-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  width: 100%;
}

/* Facebook blue button */
.fb-blue {
  background-color: #1877f2;
  color: white;
}

.fb-blue:hover {
  background-color: #166fe5;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(24, 119, 242, 0.3);
}

#promo_code_coupon {
  font-size: 18px;
  font-weight: 900;
  color: #e5a019;
}
