html[dir="rtl"] {
    direction: rtl;
}

html[dir="rtl"] .activity-card__info {
    text-align: right;
}

html[dir="rtl"] .activity-card__title {
    text-align: right;
}

html[dir="rtl"] .activity-card__desc {
    text-align: right;
}

[dir="rtl"] .progressbar .progressbar-text {
    left: 0 !important;
    right: auto !important;
}


.swiper-controls .swiper-navigation .swiper-button{
  background: #FFC200 !important;
  color: #fff !important;
}

.swiper-controls .swiper-navigation .swiper-button.swiper-button-prev{
  left: -2rem !important;
}

.swiper-controls .swiper-navigation .swiper-button.swiper-button-next{
  right: -2rem !important;
}

.btn, .lg-sub-html p, .nav-link, .nav-link p, .navbar .btn-sm{
  font-size: 22px !important;
}

.fs-15{
  font-size: 22px !important;
}
.text-dark{
  color: rgb(20, 33, 61) !important;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6, p, a{
  color: rgb(20, 33, 61) !important;
}

.navbar-expand-lg .navbar-collapse .nav-link.active{
  color: #FFC200 !important;
}

.hero-section {
    background: linear-gradient(135deg, #eaf2ff 0%, #f6faff 100%);
    min-height: 85vh;
    position: relative;
}

.hero-badge {
    background: #fff3d6;
    color: #1f2a56;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}

.hero-title {
    font-size: 56px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.02em;
    max-width: 560px;
}

.hero-desc {
    font-size: 22px;
    line-height: 1.65;
    max-width: 560px;
    opacity: 0.85;
}

.hero-btn-primary {
    background: #f6be00;
    border-color: #f6be00;
    color: #1f2a56 !important;
    border-radius: 14px;
    padding: 14px 28px;
    font-weight: 600;
    box-shadow: 0 12px 30px rgba(246, 190, 0, 0.25) !important;
}

.hero-btn-primary:hover {
    background: #e7b200;
    border-color: #e7b200;
    color: #1f2a56 !important;
}

.hero-btn-secondary {
   background: #ffffff !important;
    border: 2px solid #d8e3f8 !important;
    color: #1f2a56;
    border-radius: 14px;
    padding: 14px 28px;
    font-weight: 600;
    transition: 0.3s ease;
}

.hero-btn-secondary:hover {
    background: #f4f8ff;
    color: #1f2a56;
    border-color: #c7d7f7;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1f2a56;
    font-size: 16px;
    font-weight: 500;
}

.hero-image-wrapper {
    max-width: 760px;
}

.hero-shape {
    position: absolute;
    width: 320px;
    height: 320px;
    right: -30px;
    top: -30px;
    background: #ffe49c;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.85;
    z-index: 1;
}

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

.hero-main-image {
    width: 100%;
    border-radius: 32px;
    object-fit: cover;
    box-shadow: 0 24px 60px rgba(31, 42, 86, 0.14);
}

.hero-floating-card {
    position: absolute;
    left: -30px;
    bottom: 30px;
    z-index: 3;
    background: #ffffff;
    border-radius: 18px;
    padding: 16px 20px;
    box-shadow: 0 18px 40px rgba(31, 42, 86, 0.12);
    min-width: 200px;
    display: flex;
    flex-direction: row;
    align-items: end;
    gap: 4px;
}

.hero-floating-title {
    font-size: 16px;
    font-weight: 700;
    color: #1f2a56;
    line-height: 1.2;
    text-align: center;
}

.hero-floating-text {
    font-size: 15px;
    color: #5f6b8a;
    margin-top: 4px;
    line-height: 1.3;
    text-align: center;
}

.hero-wave {
    bottom: -1px;
    z-index: 2;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 130px;
    display: block;
}

[dir="rtl"] .hero-floating-card,
html[lang="ar"] .hero-floating-card {
    left: auto;
    right: -30px;
}

@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 48px;
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        min-height: auto;
    }

    .hero-title {
        font-size: 40px;
        max-width: 100%;
    }

    .hero-desc {
        font-size: 19px;
        max-width: 100%;
    }

    .hero-image-wrapper {
        max-width: 100%;
    }

    [dir="rtl"] .hero-floating-card,
    html[lang="ar"] .hero-floating-card {
        right: 20px;
        left: auto;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding-top: 10px;
    }

    .hero-title {
        font-size: 34px;
        line-height: 1.2;
    }

    .hero-desc {
        font-size: 17px;
        line-height: 1.7;
    }

    .hero-main-image {
        border-radius: 24px;
    }

    .hero-floating-card {
        bottom: -40px;
        left: -5px;
    }

    .hero-shape{
      width: 200px;
      height: 200px;
    }

    .hero-wave svg {
        height: 80px;
    }

    .swiper-controls .swiper-navigation .swiper-button{
      display: none !important;
}
}

  
  .btn-primary{
    background: #FFC200 !important;
  }

  .btn-yellow{
    background: #FFC200 !important;
    color: rgb(20, 33, 61)!important;
  }

  .text-primary{
    color: #FFC200 !important;
  }

  .bg-soft-yellow{
    background: #FFF7E7!important;;
  }

  .btn-red,
  .bg-red{
    background: #e4383b !important;
  }

  .btn-green,
  .bg-green{
    background: #0fa49c !important;
  }

  .btn-purple{
    background: #b086d5 !important;
  }

  .btn-orange{
    background: #f99746 !important;
  }

  .progressbar.red svg path:last-child{
    stroke: #e4383b !important;
  }

  .progressbar.green svg path:last-child{
    stroke: #0fa49c !important;
  }

  .progressbar.blue svg path:last-child{
    stroke: #3a85ff !important;
  }

  .hero-overlay::before{
    content: "";
    position: absolute;
    inset: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.6),
    rgba(255, 194, 0, 0.3)
  );
  z-index: -1;
}

  
    .bg-svg img{
      fill: #fff !important;
    }

    figure.bg-img img{
        width: 350px !important;
    }
    .offcanvas{
      background-color: #fff;
     
    }
    .navbar-expand-lg .navbar-collapse .nav-link {
      color: #1D2A4A !important;
    }
    .btn-close-white{
      color: rgb(246, 196, 67) !important;
    }
    .navbar-light .navbar-nav .nav-link:hover{
      color: rgb(246, 196, 67) !important;
    }


    .activity-card {
      width: 100%;
      max-width: 360px;
      position: relative;
      border-radius: 25px;
      overflow: hidden;
      transition: all .4s cubic-bezier(0.175, 0.885, 0, 1);
    }

    .teacher-card{
      width: 100%;
      max-width: 360px;
      position: relative;
      border-radius: 25px;
      overflow: hidden;
      transition: all .4s cubic-bezier(0.175, 0.885, 0, 1);
    }

    .activity-card:hover {
      transform: translateY(-10px) scale(1.03);
    }

    .teacher-card:hover {
      transform: translateY(-10px) scale(1.03);
    }

    .activity-card__img {
      visibility: hidden;
      width: 100%;
      height: 250px;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      border-top-left-radius: 25px;
      border-top-right-radius: 25px;
    }

    .teacher-card__img {
      visibility: hidden;
      width: 100%;
      height: 400px;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      border-radius: 25px;
      background-image: url('/assets/images/teach.jpg');
    }

    .teacher-card__img--hover {
      width: 100%;
      height: 400px;
      position: absolute;
      top: 0;
      left: 0;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      border-radius: 25px;
      transition: all 0.35s ease;
      background-image: url('/assets/images/teach.jpg');
    }

    .activity-card__img--hover {
      width: 100%;
      height: 250px;
      position: absolute;
      top: 0;
      left: 0;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      border-top-left-radius: 25px;
      border-top-right-radius: 25px;
      transition: all 0.35s ease;
    }

    .activity-card__info-hover {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      padding: 18px;
      opacity: 0;
      z-index: 3;
      transition: all 0.3s ease;
    }

    .activity-card__clock-info {
      display: inline-block;
      padding: 8px 14px;
      background: rgba(0,0,0,0.9);
      border-radius: 30px;
      backdrop-filter: blur(6px);
    }

    .activity-card__time {
      font-size: 12px;
      font-weight: 600;
      color: #000;
      letter-spacing: 0.4px;
    }

    .activity-card__link {
      display: block;
      text-decoration: none;
    }

    .activity-card__info {
      position: relative;
      z-index: 2;
      background: #fff;
      width: 90%;
      margin:0 auto;
      margin-top: -60px;
      padding: 22px 24px 24px;
      border-radius: 25px;
      transition: all 0.3s ease;
    }

    .activity-card__category {
      display: inline-block;
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1.6px;
      margin-bottom: 10px;
    }

    .activity-card__title {
      margin: 0 0 12px;
      font-size: 24px;
      line-height: 1.3;
    }

    .activity-card__title-link {
      color: #14213D;
      text-decoration: none;
      transition: 0.3s ease;
    }

    .activity-card__desc {
      margin: 0;
      font-size: 18px;
      line-height: 1.5;
      color: #14213D;
      opacity: 1;
      transform: translateY(0);
      transition: all 0.3s ease;
    }

    .activity-card:hover .activity-card__img--hover {
      height: 100%;
    }
    .activity-card:hover .teacher-card__img--hover {
      height: 100%;
    }

    .activity-card:hover .activity-card__info {
       transform: translateY(100px);
       width: 100%;
    }

    .activity-card:hover .teacher-card .activity-card__info {
       transform: translateY(50px);
       width: 100%;
    }

    .activity-card:hover .activity-card__info-hover {
      opacity: 1;
    }

    .activity-card:hover .activity-card__desc {
      opacity: 0;
      transform: translateY(10px);
      pointer-events: none;
    }

    @media (max-width: 768px) {
      .activity-card {
        max-width: 100%;
      }

      .activity-card__title {
        font-size: 20px;
      }

      .activity-card__desc {
        font-size: 14px;
      }
    }

    .event{
      width: 90%;
      margin: 0 auto;
      background: #fff;
      box-shadow: 0 0 0 .05rem rgba(8, 60, 130, .06), 0 0 1.25rem rgba(30, 34, 40, .04);
      border-radius: 25px;
      margin-top: -75px;
    }

    .event-card{
      background: transparent;
      box-shadow: none;
    }

    .event-card:hover {
      box-shadow: none !important;
    }

    .countdown-box {
      display: inline-block;
      margin-bottom: 10px;
    }

/* IMAGE */
.teacher-imgBox {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  border-radius: 25px;
  transition: 0.5s ease-in-out;
}

.teacher-imgBox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 25px;
}

/* CONTENT */
.teacher-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgb(246, 196, 67);
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: 0.5s ease-in-out;
  transform: translate(1.5rem, 3.5rem);
}


/* TEXT STYLE */
.teacher-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: #fff !important;
  margin-bottom: 0;
}

.teacher-content p {
  font-size: 18px;
  color: #fff;
  margin-bottom: -12px;
}

.custom-bubble {
  position: relative;
  
  width: 100%;
  min-height: 500px;
  overflow: visible;
  background: linear-gradient(
    to bottom,
    #eaf2ff 0%,
    #eaf2ff 70%,
    #c9dcff 70%,
    #c9dcff 100%
  );
   -webkit-mask: url('/assets/img/svgimages/Vector2.svg') no-repeat center;
  mask: url('/assets/img/svgimages/Vector2.svg') no-repeat center;
  mask-size: 100%;
}

.custom-bubble-2{
  background: linear-gradient(
    to bottom,
    #fff4d6 0%,
    #fff4d6 70%,
    #f6d48f 70%,
    #f6d48f 100%
  );
}

.custom-bubble-3{
  background: linear-gradient(
    to bottom,
    #eaf2ff 0%,
    #eaf2ff 70%,
    #c9dcff 70%,
    #c9dcff 100%
  );
}

.custom-bubble-4{
  background: linear-gradient(
    to bottom,
    #fff4d6 0%,
    #fff4d6 70%,
    #f6d48f 70%,
    #f6d48f 100%
  );
}

.avatar-test {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    
    font-weight: 700;
    font-size: 18px;
    
    color: #1f2a56; /* dark blue text */
}

.testimonial-message {
    height: 260px;
    overflow-y: auto;
    padding-right: 8px;
    line-height: 1.7;
    flex: 1;
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

.testimonial-message::-webkit-scrollbar {
    width: 4px;
}

.testimonial-message::-webkit-scrollbar-thumb {
    background: rgba(31, 42, 86, 0.25);
    border-radius: 10px;
}

.classCard{
  box-shadow: none  !important;
  transition: all 0.4s ease;
  cursor: pointer;
}

.card{
    box-shadow: none  !important;
}

.classCard figure{
  transition: transform 0.4s ease;
}

.classCard:hover figure{
  transform: translateY(-20px);
  box-shadow: 
     0 25px 50px rgba(0, 0, 0, 0.08),
     0 10px 25px rgba(247, 183, 88, 0.25);
}

.classCard:hover .classCard-content{
  animation: float 2.5s ease-in-out infinite;
  box-shadow: 
     0 25px 50px rgba(0, 0, 0, 0.08),
    0 10px 25px rgba(247, 183, 88, 0.25);
}

.classCard:hover .classCard-more{
  opacity: 1;
  animation: float 2.5s ease-in-out infinite;
}

.classCard:hover .classCard-but{
  animation: float 2.5s ease-in-out infinite;
}


.classCard-content{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
   -webkit-mask: url('/assets/img/svgimages/Vector-cloud.svg') no-repeat center;
  mask: url('/assets/img/svgimages/Vector-cloud.svg') no-repeat center;
  mask-size: 90%;
  width: 90%;
  margin: 0px auto;
  height: 350px;
  margin-top: -150px;
  transition: all 0.4s ease;
  padding:2.75rem 1.75rem 1rem 1.75rem !important
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(1deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

.classCard-more{
  opacity: 0;
  transition: all 0.4s ease;
  
}

.classCard-but{
  display: flex;
  justify-content: center;
  align-items: center;
  
}

.bg-cover{
  background: #fdebcd;
}

/*.bg-cover::before{
  z-index: -1;
  background-size: 700px; background-position: 85% 30%;
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/assets/img/Artboard\ 12.svg');
  background-repeat: no-repeat;
}*/

.hero-section{
    background: #d8e6fe;
}

.footer-section{
    background: #14213D;
}

.boat{
    position: absolute;
    width: 700px;
    top: 0;
    right: 70px;
    z-index: 1;
    animation: boatFloat 4s ease-in-out infinite;
    animation-delay: 0.5s;
}


@keyframes boatFloat {
  0%, 100% {
    transform: translateX(0) translateY(0) rotate(0deg);
  }

  50% {
    transform: translateX(-12px) translateY(-5px) rotate(0.5deg);
  }
}

.parrak{
    left: 40%;
    animation: spin 3s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  40% {
    transform: rotate(180deg); /* aylanib bo‘ldi */
  }

  60% {
    transform: rotate(180deg); /* shu yerda to‘xtab turadi */
  }

  100% {
    transform: rotate(360deg); /* yana aylanadi */
  }
}

.balloons-wrap { 
    position: absolute; 
    right: 30px;
    top: 30px;
    z-index: 4; 
} 

.balloons-wrap img {
  width: 400px;
  height: auto;
  display: block;
}

.progressbar.red svg path:last-child{
    stroke: #fab758 !important;
    opacity: 1;
}

.progressbar.yellow svg path:last-child{
    stroke: #2f4f6f !important;
    opacity: 1;
}

.progressbar.green svg path:last-child{
    stroke: #fab758 !important;
    opacity: 0.7;
}

.progressbar.blue svg path:last-child{
    stroke: #2f4f6f !important;
    opacity: 0.5;
}


