@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
/* @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap'); */

:root {
  --color-primary: #000000;
  --color-white: #ffffff;
  --color-gray: #898989;
  --color-dark-gray: #696969;
  --color-black: #000000;
  --color-bg-gray-dark: #f1f1f1;
  --color-text-dark: #272727;
  --color-txt-danger: #D73D3D;
  /* new  */
  --primary-color: #e9dc8b;
  --primary-dark: #d8cb7a;
  --secondary-color: #2c3e50;
  --light-bg: #f8f9fa;
  --dark-text: #2c3e50;
  --light-text: #7f8c8d;
  --accent-color: #555;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark-text);
}

a {
  text-decoration: none !important;
  outline: unset !important;
}
.link-primary-dark{
  color: var(--primary-dark);
}
.link-primary-dark:hover{
  color: var(--primary-dark);
  opacity: 0.8;
}

video{
    display: block;
}

h1,
h2,
h3,
h4,
h4,
h6,
p {
  margin-bottom: 5px;
}

p {
  font-weight: 300;
  font-size: 14px;
  line-height: 26px;
}

.white-space-nowrap{
  white-space: nowrap;
}

/* text color class  */

.txt-primary {
  color: var(--primary-color);
}

.color-bg-primary {
  background-color: var(--primary-color);
}

.txt-gray {
  color: #696969;
}

.text-muted {
  color: var(--color-gray) !important;
}

.txt-danger {
  color: var(--color-txt-danger);
}

.lead {
  color: var(--color-white);
}

/* font */

.fw-500 {
  font-weight: 500;
}

.fw-400 {
  font-weight: 400;
}

/* font size  inline */

.fs-10 {
  font-size: 10px;
}

.fs-12 {
  font-size: 12px;
}

.fs-13 {
  font-size: 13px;
}

.fs-14 {
  font-size: 14px;
}

.fs-15 {
  font-size: 15px;
}

.fs-16 {
  font-size: 15px;
}

.fs-18 {
  font-size: 18px;
}

.fs-20 {
  font-size: 20px;
}

.text-ellipsis-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
}

.text-ellipsis-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
}

.text-ellipsis-4 {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
}

/* padding  */

.ptb-80 {
  padding-top: 80px;
  padding-bottom: 80px;
}

.pt-80 {
  padding-top: 80px;
}

.pb-80 {
  padding-bottom: 80px;
}

.hw-45 {
  height: 45px;
  width: 45px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 3px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

/* card  */

.card {
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

/* form css  */

.form-control:focus {
  background-color: transparent;
  border-color: #DEE2F5;
  outline: 0;
  box-shadow: unset;
}

.form-control {
  border-radius: 5px;
  /* box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px; */
  /* box-shadow: rgba(62, 69, 69, 0.2) 0px 1px 2px -1px; */
  border-color: #e8e8e8;
  font-size: 13px;
  height: 45px;
}

.form-label {
  font-size: 12px !important;
  color: var(--color-black);
  font-weight: 500;
}

::placeholder {
  font-size: 12px !important;
  color: #878a99 !important;
  opacity: 0.6 !important;
  text-transform: capitalize;
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.form-check-input:focus {
  border-color: var(--primary-color);
  outline: 0;
  box-shadow: unset;
}

.form-check-label {
  font-size: 13px;
}

.error-msg {
  font-size: 12px !important;
}

/* button  */

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--secondary-color);
  font-weight: 600;
  padding: 12px 28px;
  font-size: 14px;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(233, 220, 139, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(233, 220, 139, 0.4);
}

.btn-check:checked+.btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check)+.btn:active {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--secondary-color);
  box-shadow: 0 6px 20px rgba(233, 220, 139, 0.4);
}

.btn-outline-primary {
  border-color: var(--primary-color);
  color: var(--secondary-color);
  font-weight: 600;
  padding: 12px 28px;
  font-size: 14px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--secondary-color);
}

/* modal css  */
.modal p {
  text-align: center;
  text-transform: capitalize;
  font-size: 16px;
  font-weight: 600;
}

.modal-footer button {
  border: 1px solid #696969;
  background: transparent;
  color: #696969;
  width: 100px;
  font-size: 13px;
}

.modal-header button {
  position: absolute;
  right: 20px;
  top: 20px;
}

.modal-footer {
  padding-top: 0;
}

.btn-close:focus {
  box-shadow: none;
}

.modal-header {
  border-bottom: none;
  padding-bottom: 0;
}

.modal-content {
  border-radius: 15px;
  overflow: hidden;
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* header  */

.navbar {
  background-color: white;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.1);
  /* transition: transform .5s; */
  height: 90px;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.98) !important;
  padding: 8px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-weight: 700;
  color: var(--secondary-color) !important;
  font-size: 1.8rem;
}

.navbar-brand span {
  color: var(--primary-color);
}

.header-wrapper .nav-link {
  color: var(--secondary-color) !important;
  font-weight: 500;
  margin: 0 8px;
  position: relative;
  padding: 8px 12px;
}

.header-wrapper .nav-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 6px;
  left: 12px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.header-wrapper .nav-link:hover:after {
  width: calc(100% - 24px);
}

.header-wrapper .nav-link:hover {
  color: var(--primary-color);
}
.nav-item.active .nav-link:after{
  width: calc(100% - 24px);
}

.navbar-toggler:focus{
  box-shadow: none;
}
.navbar-toggler{
  padding: 0;
  border: 0;
}
.offcanvas.offcanvas-start{
  width: 300px !important;
}

/* hero section  */

.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 120px 0;
  background-attachment: fixed;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: 1;
}

.feature-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  background: rgba(233, 220, 139, 0.2);
  width: 80px;
  height: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.hw-60 {
  height: 60px;
  width: 60px;
  line-height: 60px;
}

.apart-card{
    border: 1px dashed var(--primary-color);
    text-align: center;
    box-shadow: none;
}
.apart-card p{
    line-height: 23px;
}

/* course section  */

.course-card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition: transform 0.3s ease;
  background: white;
  height: 100%;
}

.course-img {
  height: 200px;
  object-fit: cover;
}

.course-img {
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.course-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--accent-color);
  color: white;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* price card   */

.pricing-card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  padding: 15px;
  /* margin-bottom: 30px; */
  background: white;
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
  border-top: 4px solid var(--primary-color);
  position: relative;
}

.featured-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 10px 15px 3px;
  border-radius: 0 0 12px 12px;
  font-weight: 600;
  font-size: 0.9rem;
}

.pricing-header {
  background-color: var(--light-bg);
  padding: 30px;
  border-bottom: 1px solid #eee;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.price small {
  font-size: 1rem;
  font-weight: 400;
  color: var(--light-text);
}

/* footer   */

.footer {
  background-color: var(--secondary-color);
  color: white;
  padding: 70px 0 30px;
  position: relative;
  color: #bdc3c7;
}

.footer a {
  color: #bdc3c7;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer ul li {
  font-size: 15px;
}

footer p {
  color: #bdc3c7;
  line-height: 26px;
}

.footer a:hover {
  color: var(--primary-color);
}

.social-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-3px);
}

.footer a:hover.social-icon i {
  color: var(--color-black);
}

/* Trust badges */
.trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.trust-badge {
  height: 40px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.trust-badge:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Video preview */
.video-preview {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transform: perspective(1000px) rotateX(5deg) rotateY(0deg) rotateZ(0deg);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-preview:hover {
  transform: perspective(1000px) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-color: rgba(233, 220, 139, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  font-size: 2rem;
  transition: all 0.3s ease;
}

.play-button:hover {
  background-color: var(--primary-color);
  transform: translate(-50%, -50%) scale(1.1);
}

/* testimonial  */

.testimonial-card {
  background-color: white;
  border-radius: 12px;
  padding: 30px;
  margin: 20px 0;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  border-top: 4px solid var(--primary-color);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid var(--primary-color);
}

/* auth  */

.password-custom .input-group-text {
  border-left: unset !important;
  background-color: transparent !important;
}

.password-custom .input-group-text i {
  color: #878a99;
}

.password-custom .form-control {
  border-right: unset !important;
}

/* faq  */

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

.accordion-button::after {
  display: none;
}

.iti {
  width: 100%;
}

.accordion-button:not(.collapsed) {
  background-color: transparent;
}

/* user profile  */

.nav-pills .nav-link.active {
  background-color: var(--primary-color) !important;
  color: var(--color-primary) !important;
  border-left: 3px solid #000;
}

.nav-pills .nav-link {
  color: #333;
  border-radius: 0;
  text-align: left;
  transition: all 0.2s;
}

.nav-pills .nav-link:hover:not(.active) {
  background-color: #f8f9fa;
}

.profile-avatar {
  border: 3px solid var(--primary-color);
}

.avatar-upload {
  position: relative;
  max-width: 150px;
  margin: 0 auto 30px;
}

.avatar-upload .avatar-edit {
  position: absolute;
  right: 6px;
  z-index: 1;
  top: 10px;
}

.avatar-upload .avatar-edit input {
  display: none;
}

.avatar-upload .avatar-edit input+label {
  display: inline-block;
  width: 34px;
  height: 34px;
  margin-bottom: 0;
  border-radius: 100%;
  background: #FFFFFF;
  border: 0px solid transparent;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  font-weight: normal;
  transition: all 0.2s ease-in-out;
  background-image: url(../images/user.png);
}

.avatar-upload .avatar-edit input+label:hover {
  background: #f1f1f1;
  border-color: #d6d6d6;
}

.avatar-upload .avatar-edit input+label:after {
  content: "\f040";
  font-family: 'FontAwesome';
  color: #757575;
  position: absolute;
  top: 4px;
  left: 4px;
  right: 0;
  text-align: center;
}

.avatar-upload .avatar-preview {
  width: 150px;
  height: 150px;
  position: relative;
  border-radius: 100%;
  border: 6px solid #F8F8F8;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
}

.avatar-upload .avatar-preview>div {
  width: 100%;
  height: 100%;
  border-radius: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.history-table th {
  font-weight: 600;
  font-size: 14px;
}

.history-table td {
  padding: 15px 10px;
}

.swal-custom-title {
    font-size: 22px;
    padding-bottom: 20px;
    line-height: 30px;
}

.btn.disabled, .btn:disabled, fieldset:disabled .btn {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--secondary-color);
    pointer-events: none;
    opacity: var(--bs-btn-disabled-opacity);
}

/* payment failed  */

.payment-failed-card {
  background: white;
  border-top: 4px solid #f44336;
}

.failed-animation {
  margin: 0 auto;
  width: 100px;
  height: 100px;
}

.crossmark {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: block;
  stroke-width: 4;
  stroke: #f44336;
  stroke-miterlimit: 10;
  animation: scale .3s ease-in-out .9s both;
}

.crossmark__circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 4;
  stroke-miterlimit: 10;
  stroke: #f44336;
  fill: none;
  animation: stroke .6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.crossmark__cross {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke .3s cubic-bezier(0.65, 0, 0.45, 1) .8s forwards;
}

@keyframes stroke {
  100% { stroke-dashoffset: 0; }
}

@keyframes scale {
  0%, 100% { transform: none; }
  50% { transform: scale3d(1.1, 1.1, 1); }
}


/* success  */

.payment-success-card {
  background: white;
  border-top: 4px solid #4CAF50;
}

.success-animation {
  margin: 0 auto;
  width: 100px;
  height: 100px;
}

.checkmark {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: block;
  stroke-width: 4;
  stroke: #4CAF50;
  stroke-miterlimit: 10;
  animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark__circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 4;
  stroke-miterlimit: 10;
  stroke: #4CAF50;
  fill: none;
  animation: stroke .6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke .3s cubic-bezier(0.65, 0, 0.45, 1) .8s forwards;
}

@keyframes stroke {
  100% {
      stroke-dashoffset: 0;
  }
}

@keyframes scale {

  0%,
  100% {
      transform: none;
  }

  50% {
      transform: scale3d(1.1, 1.1, 1);
  }
}

@keyframes fill {
  100% {
      box-shadow: inset 0 0 0 100px rgba(76, 175, 80, 0);
  }
}

/* warning  */


.payment-warning-card {
    background: white;
    border-top: 4px solid #FF9800;
}

.warning-animation {
    margin: 0 auto;
    width: 100px;
    height: 100px;
}

.warningmark {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: block;
    stroke-width: 4;
    stroke: #FF9800;
    stroke-miterlimit: 10;
    animation: pulse 2s infinite;
}

.warningmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 4;
    stroke-miterlimit: 10;
    stroke: #FF9800;
    fill: none;
    animation: stroke .6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.warningmark__symbol {
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke .3s cubic-bezier(0.65, 0, 0.45, 1) .8s forwards;
}

@keyframes stroke {
    100% { stroke-dashoffset: 0; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.country-select-dropdown .dropdown-menu {
    min-width: auto;
    padding: 10px 10px;
}

.dropdown-item.active, .dropdown-item:active {
    color: var(--primary-color);
    text-decoration: none;
    background-color: var(--primary-color);
}
.country-select-dropdown .dropdown-item{
  padding: 0;
  height: 17px;
  width: 25px;
}
.country-select-dropdown .dropdown-item img{
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.country-select-dropdown .dropdown-toggle  {
  display: flex;
  align-items: center;
}
.country-select-dropdown button div  {
  height: 18px;
  width: 25px;
}

.country-select-dropdown .dropdown-toggle img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  margin-top: -6px;
}

.iti--inline-dropdown .iti__country-list{
  position: relative;
  overflow: hidden auto !important;
}
.toast-content {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
}
.video-package .card-img-top {
    aspect-ratio: 2 / 1.5;
    object-fit: cover;
    object-position: top;
}

.h-100dvh{
    height: 100dvh;
}

.clamp-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
}
.clamp-text.expanded {
    -webkit-line-clamp: unset;
    display: block;
}
.read-more-toggle {
    cursor: pointer;
    font-size: 14px;
    display: inline-block;
    text-decoration: underline !important;
    text-decoration-color: var(--primary-color) !important;
}


/* Start Quiz Details */
.question-s1card label{
  padding: 8px;
  border: 1px dashed #e8e8e8;
  display: flex;
  border-radius: 6px;
  gap: 8px;
  cursor: pointer;
}
.question-s1card .question-s1card-radio:checked + label{
  border: 1px dashed var(--primary-color);
}
.question-s1card label .question-s1card-optionicon{
  background: rgba(233, 220, 139, 0.2);
  color: var(--primary-color);
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  font-size: 18px;
}
.question-s1card .question-s1card-radio:checked + label .question-s1card-optionicon{
  background: var(--primary-color);
  color: white;
}
.question-s1card label .question-s1card-optiontext{
  align-content: center;
}
/* End Quiz Details */
