/* login form */
html[dir="rtl"] .form-control {
  text-align: right;
}

html[dir="rtl"] .toggle-password {
  cursor: pointer;
  direction: ltr !important;
}

html[dir="rtl"] .position-absolute {
  direction: ltr !important;
}

.login-section {
  display: flex;
  height: 100vh;
  flex-wrap: wrap;
}

/* Left section */
.left-section {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.image-container {
  height: 100%;
  width: 100%;
  border-radius: 1rem;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  position: relative;
}

.bg-login {
  background-image: url('/assets/images/form/login.png');
}

.bg-register {
  background-image: url('/assets/images/form/signup.png');
}

.bg-forgot {
  background-image: url('/assets/images/form/forgotpw.png');
}

.bg-otp {
  background-image: url('/assets/images/form/otp.png');
}

.bg-changepassword {
  background-image: url('/assets/images/form/password.png');
}

.text-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 2rem;
  text-align: center;
  color: #fff;
}

.right-section {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  padding-top: 7rem;
}

.form-wrapper {
  width: 75%;
  max-width: 400px;
  align-self: flex-start;

}

.toggle-password {
  cursor: pointer;
}

.btn-icon {
  display: flex;
  align-items: center;
  gap: 8px;
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1rem 0;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #ffffff !important;
}

.divider:not(:empty)::before {
  margin-right: .75em;
}

.divider:not(:empty)::after {
  margin-left: .75em;
}

.btn-icon img {
  width: 20px;
  height: 20px;
}


/* OTP Form Styling */

.otp-box {
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  text-align: center;
  border-radius: 10px;
  border: 1px solid #ccc;
  outline: none;
  transition: all 0.3s ease;
}

.otp-box:focus {
  border-color: var(--primary, #0b2c47);
  box-shadow: 0 0 5px rgba(11, 44, 71, 0.3);
}

.btn-primary {
  background-color: #0b2c47;
  border: none;
}

.btn-primary:hover {
  background-color: #103a5e;
}

.no-caret::after {
  display: none !important;
  content: none !important;
}

/* about section css start */
.about-section {
  padding: 80px 0;
}

.image-container {
  position: relative;
}

.image-box {
  position: relative;
  width: 300px;
  height: 420px;
}

.main-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.main-img-wrap::before {
  content: "";
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: -40px;
  right: 20px;

  background: linear-gradient(360deg,
      #F2C33C 0%,
      #FFC45E 10.05%);

  filter: blur(90px);
  opacity: 0.5;
  border-radius: 50%;
  z-index: 0;
  animation: glowZoom 6s ease-in-out infinite;
}

@keyframes glowZoom {
  0% {
    transform: scale(1);
    opacity: 0.75;
  }

  50% {
    transform: scale(1);
    opacity: 0.9;
  }

  100% {
    transform: scale(1);
    opacity: 0.75;
  }
}

.main-img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  z-index: 1;
}

.overlay-img {
  position: absolute;
  width: 110px;
  height: 140px;
  object-fit: cover;
  border-radius: 14px;
  z-index: 2;
}

.top-left {
  top: -25px;
  left: -25px;
}

.bottom-left {
  bottom: -25px;
  left: -25px;
}

.small-title {
  color: #f5c97a;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
}

.main-title {
  font-size: 36px;
  margin: 10px 0;
}

.bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  border-radius: 20px;

}

.overlay {
  position: absolute;
  inset: 0;
  background: #110708E5;
  z-index: 2;
}

.work-bg>*:not(.bg-img):not(.overlay) {
  position: relative;
  z-index: 3;
}

.section-title {
  font-size: 38px;
  margin-bottom: 10px;
}

.section-desc {
  max-width: 520px;
  opacity: 0.85;
  margin-bottom: 40px;
}

.slider-container {
  margin-inline-start: 80px;
}

.workSwiper {
  overflow: hidden;
}

.workSwiper .swiper-wrapper {
  align-items: stretch;
}

.workSwiper .swiper-slide {
  min-height: 240px;
  border-radius: 16px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: all 0.4s ease;
  width: 100%;
}

.number-pagination {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 80px;
  margin-bottom: 40px;
  padding-inline: 40px;
}

.number-pagination span {
  opacity: 0.6;
  font-size: 16px;
  font-weight: 800;
}

.number-pagination .line {
  position: relative;
  width: 120px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  overflow: hidden;
}

/* FILL */
.number-pagination .line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  animation: fillLine 0.6s ease forwards;
}

.work-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.work-index {
  font-size: 120px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px #f5c26b;
  flex-shrink: 0;
}

.work-content {
  border-radius: 6px;
  max-width: 760px;
}

.work-content h3 {
  margin: 0 0 12px;
  font-size: 26px;
}

.work-content p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

.work-section {
  border-radius: 20px;
  padding: 50px;
}

.work-bg {
  position: relative;
  padding: 70px 15px;
  border-radius: 20px;
  overflow: hidden;
}

.relatedSwiper {
  overflow: visible;
}

.relatedSwiper img {
  transition: transform .5s ease;
}

.relatedSwiper a:hover img {
  transform: scale(1.08);
}

html[dir="rtl"] .number-pagination .line::after {
  transform-origin: right;
}

@keyframes fillLine {
  to {
    transform: scaleX(1);
  }
}

.program-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.program-image-wrap img {
  height: 100%;
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.content-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bg-image-row {
  min-height: 220px;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.payment-methods {
  width: 70%;
  margin: auto;
}

.payment-tabs .nav-link {
  border: 1px solid #dee2e6;
  margin-right: 8px;
  border-radius: 8px;
}

.payment-tabs .nav-link.active {
  background-color: transparent !important;
  border-color: var(--secondary);
  color: var(--white) !important;
}

.payment-box {
  border-radius: 10px;
  margin-top: 30px;
}

.check-icon {
  width: 18px;
  height: 18px;
  background: var(--secondary);
  color: var(--white);
  border-radius: 50%;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.video-box {
  position: relative;
  width: 80%;
  margin: auto;
  aspect-ratio: 16/7;
  background: #000;
  overflow: hidden;
  border-radius: 12px;
}

.video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.video-player {
  width: 100%;
  height: 100%;
  display: none;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255);
  color: #000000;
  font-size: 25px;
  cursor: pointer;
  z-index: 2;
}

.ask-ai-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #1c1c1c;
  box-shadow: 0px 0px 4px 3px #FAC35240;
}

.ask-ai-circle img {
  width: 30px;
}

.ask-ai-text {
  font-size: 15px;
  font-weight: 600;
}

.half-video-box {
  position: relative;
  max-width: 100%;
  height: 420px;
  margin: auto;
}

.half-video-box::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 35%;
  height: 100%;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.7), transparent);
  pointer-events: none;
  border-radius: 22px;
}

.half-video-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  background: #000;
}

.bar-conatiner {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(171, 171, 171, 0.06) 100%);
  border: 0.1px solid #FFC45E;
  border-radius: 14px;
}

.progress {
  height: 6px;
  background: #333;
}

.progress-bar {
  background: linear-gradient(90deg, #ff8a00, #ffcc00);
}

#progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffcc00;
  border: 2px solid #fff;
  box-shadow: 0 0 10px #ff8a00;
}

.icon-btn-clean {
  background: none;
  border: none;
  padding: 0;
  line-height: 1;
  cursor: pointer;
  font-size: 2rem;
  color: #F8C34D;

}

.control-btn {
  font-size: 2rem;
}

.bottom-img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.custom-tabs {
  border-bottom: 1px solid rgba(245, 195, 70, .3);
  gap: 28px;
}

.custom-tabs .nav-link {
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.02),
      rgba(255, 255, 255, 0));
  color: #ccc;
  padding: 10px 18px;
  border-radius: 10px;
  border: 0.1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  transition: all .3s ease;
}

.custom-tabs .nav-link:hover {
  color: #f5c346;
}

.custom-tabs .nav-link.active {
  color: #f5c346;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.02),
      rgba(255, 255, 255, 0));
  border: 0.1px solid transparent;
}

.custom-tabs .nav-link.active::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  padding: 0.6px;
  background: linear-gradient(360deg, #F2C33C 0%, #FFC45E 104%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.grad-box {
  background-color: #1A1112;
}

.grad-text {
  background-image: linear-gradient(360deg, #F2C33C 0%, #FFC45E 104.05%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 500;
}

.bottom-book-img {
  width: 100px;
  height: auto;
  flex-shrink: 0;
}

.image-box-conatiner {
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-wrap {
  width: 100%;
  height: 350px;
}

.image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 18px;
}

.mg-top {
  margin-top: -70px;
}

.about-about-content-wrap {
  width: 100%;
}

.image-outer {
  width: 100%;
  max-height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.image-outer img {
  max-width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
}

.image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 10px;
  margin-bottom: 15px;
  font-weight: 600;
}

.cart-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
}

.cart-item img {
  width: 80px;
  border-radius: 6px;
}

.product-title {
  color: #f5c346;
  font-size: 20px;
}

.remove-link {
  color: #FF2828;
  font-size: 14px;
  text-decoration: none;
}

.qty-input {
  width: 50px;
  text-align: center;
  background: #1c1c1c;
  color: white;
  border: 1px solid #555;
}

.subtotal-box {
  padding-top: 15px;
  font-weight: bold;
  text-align: right;
}

@media (min-width: 992px) {
  .explore-grid-col {
    display: grid;
    grid-template-rows: 1fr 1fr;
    align-items: start;
    row-gap: 180px;
  }

  .bg-image-row {
    min-height: 220px;
  }
}

@media (max-width: 992px) {
  .mg-top {
    margin-top: 10px;
  }
}

@media (max-width: 768px) {
  .image-box {
    width: 260px;
    height: 360px;
  }

  .overlay-img {
    width: 90px;
    height: 120px;
  }

  .top-left,
  .bottom-left {
    left: -15px;
  }

  .payment-methods {
    width: 90%;
    margin: auto;
  }

}