:root {
  --bg-white: #ffffff;
  --blue: #2696db;
  --text-grey: #777;
  --white-50: #ffffff80;

  --bs-primary: var(--blue);
  --bs-primary-rgb: 38, 150, 219;
  --bs-primary: #2696db;
}

@font-face {
  font-family: "OpenSans";
  src: url("../fonts/OpenSans-Regular.ttf") format("truetype");
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: OpenSans, sans-serif;
  overflow-x: hidden !important;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

:root {
  --bs-primary: #2f8ed9;
}

.btn-primary {
  --bs-btn-bg: #2f8ed9;
  --bs-btn-border-color: #2f8ed9;

  --bs-btn-hover-bg: #2678b8;
  --bs-btn-hover-border-color: #2678b8;

  --bs-btn-active-bg: #216aa3;
  --bs-btn-active-border-color: #216aa3;

  --bs-btn-disabled-bg: #2f8ed9;
  --bs-btn-disabled-border-color: #2f8ed9;
}

.mb-3 {
  margin-bottom: 12px !important;
}

.text-dark-opacity {
  color: #333;
}

.bg-blue-opacity {
  background-color: #2696db0d !important;
}

.bg-red-opacity {
  background-color: #d34e4e0d !important;
}

.bg-green-opacity {
  background-color: #4fca2d0d !important;
}

.bg-blue-10 {
  background-color: #2696db0d;
}

.bg-green {
  background-color: #4fca2d;
}

.bg-white-20 {
  background-color: #ffffff33;
}

.text-white-50 {
  color: #ffffff80 !important;
}

.bg-blurred {
  background: hsla(0, 0%, 100%, 0.08);
  backdrop-filter: blur(2px);
}

.bg-dark-opacity {
  background-color: #3131310d;
}

.bg-blue-5 {
  background-color: #2696db0d;
}

.container {
  max-width: 1592px !important;
}

@media (min-width: 576px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-image {
    width: 100%;
    object-fit: cover;
    display: block;
  }

  .enrollment-collage {
    gap: 10px;
  }
  .enrollment-shot {
    border-radius: 14px;
  }
  .enrollment-item p {
    font-size: 16px !important;
  }
}

@media (min-width: 768px) {
  .container {
    padding-left: 28px;
    padding-right: 28px;
  }
}

@media (min-width: 992px) {
  .container {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (min-width: 1200px) {
  .container {
    padding-left: 60px;
    padding-right: 60px;
  }
}

.text-truncate-signup {
  display: inline-block;
  max-width: 85px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}

.top-bar {
  width: 100%;
  background: #2f8ed9;
  color: #fff;
  font-size: 18px;
}

.top-bar__menu a {
  color: rgba(255, 255, 255, 0.95) !important;
  text-decoration: none;
  white-space: nowrap;
  font-size: 14px;
  position: relative;
  transition: color 0.2s ease;
}

.top-bar__menu a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: #ffffff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.top-bar__menu a:hover::after,
.top-bar__menu a.active::after {
  transform: scaleX(1);
}

.top-bar__search input {
  color: #ffffff !important;
}

.top-bar__search input::placeholder {
  color: rgba(255, 255, 255, 0.7) !important;
}

.top-bar__menu a.active {
  border-bottom: none !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.top-bar__search img {
  filter: none;
}

.main-section {
  margin-top: -80px;
}

@media (max-width: 575px) {
  .main-content p {
    font-size: 20px !important;
  }
}

.enrollment-list {
  display: grid;
  gap: 12px;
}

.enrollment-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.enrollment-shot {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
}

.enrollment-shot img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.enrollment-shot:hover img {
  transform: scale(1.06);
}

.enrollment-shot.s1 {
  grid-column: 1 / 3;
  aspect-ratio: 16 / 10;
}

.enrollment-shot.s2 {
  aspect-ratio: 16 / 11;
}

.enrollment-shot.s3 {
  aspect-ratio: 16 / 11;
}

@media (min-width: 1200px) {
  .enrollment-collage {
    position: sticky;
    top: 120px;
  }
}

@media (max-width: 1200px) {
  .profile-sidebar .list-group-item span {
    display: none !important;
  }
}

.lunch-row {
  background-color: #eeb8230d !important;
}

.swiper-button-prev,
.swiper-button-next {
  top: 10% !important;
  width: 50px !important;
  height: 50px !important;
  background-color: #4fca2d !important;
  border-radius: 50% !important;
  color: #fff;
  transition: 0.3s ease;
}

.swiper-button-prev {
  left: -4% !important;
}

.swiper-button-next {
  right: -4% !important;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  color: #fff;
  font-size: 22px !important;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  transform: scale(1.25);
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.9));
}

.main-section-btn-prev {
  top: 55% !important;
  left: 8% !important;
}

.main-section-btn-next {
  top: 55% !important;
  right: 8% !important;
}

.swiper-pagination {
  position: relative !important;
  margin-top: 40px !important;
  display: flex;
  flex-direction: row;
  gap: 15px;
  justify-content: center;
}

.swiper-pagination-bullet {
  width: 12px !important;
  height: 8px !important;
  border-radius: 100% !important;
  opacity: 1 !important;
  background-color: #4fca2d33 !important;
  border: none !important;
}

.swiper-pagination-bullet-active {
  width: 140px !important;
  height: 8px !important;
  background: #4fca2d !important;
  border-radius: 12px !important;
}

.gallery-tab.active {
  color: #0d6efd !important;
  font-weight: 700 !important;
}

.gallery-img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.footer-logo {
  max-width: 300px;
}
.footer-border-top {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

footer a {
  transition:
    color 0.3s ease,
    transform 0.25s ease;
  text-decoration: none;
}

footer a:hover {
  color: #2696db !important;
  text-decoration: underline;
}

footer address img {
  transition:
    transform 0.25s ease,
    filter 0.3s ease;
}

footer address:hover img {
  transform: scale(1.1);
  filter: brightness(0) saturate(100%) invert(43%) sepia(84%) saturate(1454%) hue-rotate(183deg) brightness(92%) contrast(92%);
}

#fontSlider {
  accent-color: #0d6efd;
}

.mobile-menu.offcanvas {
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 9999;
}

.mobile-menu__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: #111;
  font-size: 14px;
}

.mobile-menu__link:hover {
  background: rgba(0, 0, 0, 0.04);
}

.mobile-menu__link.active {
  background: rgba(38, 150, 219, 0.1);
  color: #0b4f7d;
}

#events .swiper-wrapper {
  align-items: stretch !important;
}

#events .swiper-slide {
  height: auto !important;
  display: flex !important;
  flex-direction: column;
  align-self: stretch !important;
}

#events .swiper-slide > img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
}

#events .swiper-slide > .p-3.shadow.rounded {
  display: flex;
  flex-direction: column;
  flex: 1;
}

#events .swiper-slide > .p-3.shadow.rounded > div:last-child {
  margin-top: auto;
}

.schedule-filters {
  position: relative;
  padding-bottom: 18px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.schedule-label {
  font-size: 11px;
  color: #94a3b8;
  margin-bottom: 6px;
  display: block;
}

.schedule-select {
  height: 42px;
  font-size: 13px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 6px;
  background: #fff;
  box-shadow: none !important;
}

.schedule-select:focus {
  border-color: rgba(38, 150, 219, 0.35);
  box-shadow: 0 0 0 0.2rem rgba(38, 150, 219, 0.1) !important;
}

.schedule-reset {
  position: absolute;
  right: 0;
  top: 2px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: #111827;
  font-weight: 600;
  font-size: 12px;
  padding: 8px 0;
  opacity: 0.85;
}

.schedule-reset:hover {
  opacity: 1;
}

.schedule-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 12px;
}

.schedule-arrow {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid rgba(38, 150, 219, 0.25);
  background: #fff;
  color: #2696db;
  font-size: 18px;
  line-height: 1;
}

.schedule-month span {
  color: #94a3b8;
  font-weight: 600;
}

.schedule-view {
  display: flex;
  gap: 10px;
  font-size: 12px;
}

.schedule-view-btn {
  border: 0;
  background: transparent;
  color: #111827;
  font-weight: 700;
  padding: 4px 0;
  opacity: 0.7;
}

.schedule-view-btn.active {
  opacity: 1;
  color: #2696db;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.time-cell {
  min-width: 120px !important;
}

.time-main {
  font-weight: 700;
  color: #111827;
}

.time-sub {
  font-size: 10px;
  color: #94a3b8;
}

.grade {
  display: block;
  font-size: 10px;
  color: #94a3b8;
  margin-top: 2px;
  font-weight: 600;
}

.class-cell {
  color: #111827;
}

.tag {
  display: block;
  font-size: 10px;
  margin-top: 2px;
  font-weight: 700;
  text-transform: lowercase;
}

.tag-green {
  color: #22c55e;
}

.tag-pink {
  color: #ec4899;
}

.lunch-row td {
  background: #fff7e6 !important;
  padding: 8px 0 !important;
}

.lunch-link {
  font-size: 12px;
  color: #2696db;
  text-decoration: none;
}

.lunch-link:hover {
  text-decoration: underline;
}

@media (max-width: 991px) {
  .schedule-reset {
    position: static;
    margin-top: 10px;
    padding: 0;
  }
}

.blue-icon {
  filter: brightness(0) saturate(100%) invert(43%) sepia(84%) saturate(1454%) hue-rotate(183deg) brightness(92%) contrast(92%);
}

.icon-filter-muted {
  filter: brightness(0) saturate(100%) invert(69%) sepia(8%) saturate(364%) hue-rotate(182deg) brightness(92%) contrast(87%);
}

.black-icon {
  filter: brightness(0);
}

.svg-white {
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

.icon-btn {
  transition: all 0.25s ease;
  border-radius: 4px;
}

.icon-btn:hover {
  transform: scale(1.05) translateY(-1px);
  background-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn[class*="btn-outline"] img {
  transition: 0.2s ease;
}

.btn[class*="btn-outline"]:hover img {
  filter: brightness(0) invert(1);
}

.top-bar__search input:focus {
  outline: none !important;
  box-shadow: none !important;
}

.btn:hover img {
  transform: scale(1.12);
}

.contact-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 14px 14px;
}

.contact-card__title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px;
}

.contact-card__desc {
  margin: 0 0 12px;
  color: #6c757d;
  font-size: 13px;
}

.contact-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 8px;
  font-size: 14px;
}

.contact-line i {
  color: #0d6efd;
  margin-top: 2px;
}

.contact-line a {
  color: #0d6efd;
  text-decoration: none;
}

.contact-line a:hover {
  text-decoration: underline;
}

.map-wrap {
  height: 100%;
  min-height: 320px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.map-iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

@media (min-width: 992px) {
  .map-wrap {
    min-height: 420px;
  }
  .map-iframe {
    min-height: 420px;
  }
}

.contact-hero {
  min-height: 420px;
  background-image: url("../images/main.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.contact-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

.contact-hero__card {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  background: #fff;
  border-radius: 8px;
  padding: 26px 28px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
}

.contact-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.contact-hero__input {
  width: 100%;
  height: 38px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 4px;
  padding: 8px 10px;
  font-size: 13px;
  outline: none;
}

.contact-hero__input:focus,
.contact-hero__textarea:focus {
  border-color: rgba(13, 110, 253, 0.6);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.contact-hero__textarea {
  width: 100%;
  min-height: 136px;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 4px;
  padding: 10px;
  font-size: 13px;
  outline: none;
  resize: none;
}

@media (max-width: 767px) {
  .contact-hero {
    padding: 40px 0;
  }

  .contact-hero__card {
    padding: 18px 16px;
  }

  .contact-hero__grid {
    grid-template-columns: 1fr;
  }

  .contact-hero__textarea {
    min-height: 120px;
  }
}

.files-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

.files-card__head {
  padding: 12px 16px;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.files-tree {
  padding: 10px;
  background: #fff;
}

.files-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 12px 12px;
  margin-bottom: 10px;

  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #f6fbff;
}

.files-row:hover {
  background: #eef7ff;
}

.files-row--doc {
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #f6fbff;
  text-align: left;
  cursor: pointer;
}

.files-row--doc:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.12);
}

.files-toggle {
  width: 26px;
  height: 26px;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0d6efd;
  flex: 0 0 auto;
}

.files-toggle--spacer {
  width: 26px;
  height: 26px;
}

.files-row img {
  width: 20px;
  height: 20px;
}

.files-title {
  border: 0;
  background: transparent;
  padding: 0;
  font-weight: 600;
  color: #212529;
}

.files-dl {
  border: 0;
  background: transparent;
  color: #0d6efd;
  font-size: 18px;
  padding: 0;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.files-row.is-active {
  border-color: rgba(13, 110, 253, 0.35);
  background: #eaf5ff;
}

.collapse .files-row {
  margin-top: 10px;
}

.files-row--nested .files-title,
.files-row--nested .files-ico,
.files-row--nested .files-toggle {
  margin-left: 22px;
}

.files-row--nested-2 .files-title,
.files-row--nested-2 .files-ico,
.files-row--nested-2 .files-toggle {
  margin-left: 44px;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(13, 110, 253, 0.06);
  color: #0d6efd;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  object-fit: cover;
  flex: 0 0 auto;
}
.avatar-sm {
  width: 36px;
  height: 36px;
}

.reply {
  border-color: rgba(0, 0, 0, 0.1) !important;
}

.voice .wave {
  height: 26px;
  border-radius: 10px;
  background: repeating-linear-gradient(90deg, rgba(13, 110, 253, 0.22), rgba(13, 110, 253, 0.22) 3px, rgba(13, 110, 253, 0.05) 3px, rgba(13, 110, 253, 0.05) 7px);
  opacity: 0.9;
}

.search-input-mobile {
  position: relative;
  bottom: 22px;
}

.h-40 {
  height: 40px !important;
}

.login-dropdown {
  width: 360px;
}

@media (max-width: 420px) {
  .login-dropdown {
    width: min(360px, 92vw);
  }
}

@media (max-width: 500px) {
  .nav-logo img {
    width: 250px;
  }
}

.top-bar__menu a.active {
  font-weight: 700;
  opacity: 1;
  box-shadow: inset 0 -3px 0 rgba(255, 255, 255, 0.95);
  padding-bottom: 6px;
}

.announce-card {
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.announce-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.1) !important;
}

#menu .menu-card {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

#menu .menu-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1) !important;
}

#menu .badge {
  font-weight: 500;
}

#sport .sport-card,
#sport .sport-hero {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

#sport .sport-card:hover,
#sport .sport-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1) !important;
}

#sport .sport-cal-grid {
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

#sport .sport-cal-dow {
  font-size: 12px;
  text-align: center;
  padding: 4px 0;
}

#sport .sport-day {
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
  border-radius: 10px;
  height: 34px;
  font-size: 13px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

#sport .sport-day:hover {
  transform: translateY(-1px);
  border-color: rgba(13, 110, 253, 0.35);
  background: rgba(13, 110, 253, 0.06);
}

#sport .sport-day.is-muted {
  color: #9aa3af;
  background: #fafafa;
}

#sport .sport-day.is-active {
  border-color: rgba(13, 110, 253, 0.55);
  background: rgba(13, 110, 253, 0.12);
  color: #0d6efd;
  font-weight: 600;
}

#sport .sport-cal-btn:hover {
  border-color: rgba(13, 110, 253, 0.35) !important;
  background: rgba(13, 110, 253, 0.06) !important;
}

#sport .sport-hero {
  position: relative;
}

#sport .sport-hero__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.72) 100%);
}

.profile-sidebar .list-group-item .blue-icon {
  transition: 0.2s ease;
}

.profile-sidebar .list-group-item.active {
  background-color: #2696db;
  color: #fff;
  border-color: #2696db;
}

.profile-sidebar .list-group-item.active .blue-icon {
  filter: brightness(0) invert(1);
}

.certificates-scroll {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.grade-tab {
  border: none !important;
  background: transparent !important;
  color: #333 !important;
  padding: 0 0 8px 0 !important;
  position: relative;
}

.grade-tab.active {
  color: var(--bs-primary) !important;
}

.grade-tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--bs-primary);
}

.lesson-tab.active {
  background-color: var(--bs-primary) !important;
  color: white !important;
}

.lesson-tab.active .blue-icon {
  filter: brightness(0) invert(1);
}

#lessons .form-check-input {
  width: 2rem;
  height: 1rem;
  cursor: pointer;
  box-shadow: none !important;
}

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

#lessons .btn:focus,
#lessons a:focus {
  box-shadow: none !important;
}

.lesson-details {
  background: #fff;
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 0 0 1px #edf0f2;
}

.lesson-toggle i {
  transition: transform 0.3s ease;
}

.lesson-toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.view-mode-btn img {
  width: 20px;
  transition: 0.2s;
  opacity: 0.6;
}

.view-mode-btn.active img {
  filter: invert(43%) sepia(92%) saturate(1853%) hue-rotate(181deg) brightness(92%) contrast(91%);
  opacity: 1;
}

textarea.form-control:focus,
select.form-select:focus {
  box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.15);
}

.text-truncate-signup {
  display: inline-block;
  max-width: 85px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}

.header {
  width: 100%;
  height: 130px;
  position: relative;
  overflow: hidden;
}

.header__top {
  width: 100%;
  height: 50px;
  background: var(--bg-blue);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.header__bottom {
  width: calc(100%);
  height: 70px;
  background: var(--bg-blue);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 30px;
  border-bottom-left-radius: 90px;
  border-bottom-right-radius: 90px;
  box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.25);
}

.header__bottom::before {
  content: "";
  position: absolute;
  top: 20px;
  left: calc(29px * -1);
  width: 50px;
  height: 40px;
  transform: rotateZ(270deg);
  background: radial-gradient(circle at 0% 0%, transparent 70%, var(--bg-white) 71%);
}

.header__bottom::after {
  content: "";
  position: absolute;
  top: 20px;
  right: calc(29px * -1);
  width: 50px;
  height: 40px;
  transform: rotateZ(-270deg);
  background: radial-gradient(circle at 100% 0%, transparent 70%, var(--bg-white) 71%);
}

.header_items {
  width: 100%;
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
}

@media (max-width: 400px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .header_items {
    width: 77%;
    position: absolute;
    left: 50%;
    top: 40%;
    transform: translate(-50%, -50%);
  }
}

.tool {
  height: 43px;
}

@media (max-width: 768px) {
  .header__bottom {
    height: 65px;
  }
}

.header_items a {
  text-decoration: none;
  color: #333;
  position: relative;
  transition: 0.2s;
}

.header_items a.active {
  color: #2696db;
  font-weight: 600;
}

.header_items a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: #2696db;
  border-radius: 2px;
}

@media (min-width: 1620px) {
  .top-bar__menu a {
    font-size: 1.05rem;
  }

  #schedule h2 {
    font-size: 2rem;
  }

  .schedule-label {
    font-size: 1rem;
  }

  .schedule-select {
    font-size: 1rem;
    padding: 10px 12px;
  }

  .time-main {
    font-size: 1.05rem;
    font-weight: 600;
  }

  .time-sub {
    font-size: 0.9rem;
  }
  .grade {
    font-size: 0.85rem;
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.gallery-img {
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
  cursor: zoom-in;
}

.gallery-img {
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.gallery-img:hover {
  transform: scale(1.03);
}

.btn-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: none;
  background: transparent;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-action i {
  transition: transform 0.2s ease;
}

.btn-action-danger {
  color: #dc3545;
}

.btn-action-danger:hover {
  background-color: rgba(220, 53, 69, 0.08);
  color: #dc3545;
  transform: translateY(-1px);
}

.btn-action-danger:hover i {
  transform: scale(1.15);
}

.btn-action-danger:active {
  transform: scale(0.96);
}

.btn-action-primary {
  color: #0d6efd;
}

.btn-action-primary:hover {
  background-color: rgba(13, 110, 253, 0.08);
  transform: translateY(-1px);
}

.btn-action-primary:hover i {
  transform: scale(1.15);
}

.btn-action-primary:active {
  transform: scale(0.96);
}

.cursor-pointer {
  cursor: pointer;
}

.fp-hidden {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  height: 1px;
  width: 1px;
}

.student-avatar {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 50%;
}

.header-date {
  font-size: 0.875rem;
  font-weight: 500;
}

.action-btn {
  font-size: 0.8rem;
  padding: 4px 10px;
}

.scale-btn {
  width: 38px;
  height: 38px;
  font-size: 1.4rem;
  line-height: 1;
}

.scale-control {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.scale-control input[type="range"] {
  width: 120px;
  flex-shrink: 0;
}

.scale-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-banner {
  background: linear-gradient(135deg, #8b4cff, #ff4d94);
  color: white;
}

.hero-suitcase-img {
  max-height: 420px;
  object-fit: contain;
}

.product-card {
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.size-badge {
  background: #f1f3f5;
  color: #333;
  border: 1px solid #dee2e6;
  font-weight: 500;
  margin-right: 4px;
}

.size-badge.active {
  background: #212529;
  color: white;
  border-color: #212529;
}

.price {
  color: #212529;
}

.top-3 {
  top: 0.75rem !important;
}

.start-3 {
  left: 0.75rem !important;
}

.wave-bar {
  width: 3px;
  background: linear-gradient(180deg, #0d6efd, #3b82f6);
  border-radius: 50px;
  animation: waveform 1.2s infinite ease-in-out;
}

@keyframes waveform {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

.audio-waveform.playing .wave-bar {
  animation-play-state: running;
}

.event-swiper-btn {
  top: 50% !important;
}

.hero-image {
  max-height: 900px !important;
  object-fit: fill !important;
}

@media (max-width: 991.98px) {
  .header__top {
    height: 25px;
  }

  .header__bottom {
    top: 5px;
  }

  .header_items {
    top: 34%;
  }

  .header {
    height: 110px;
  }

  .main-section {
    margin-top: 20px;
  }

  .breadcrumb-container {
    padding-top: 160px !important;
  }
}

.product-main-img {
  border-radius: 12px;
  overflow: hidden;
}

.thumbnail-img {
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s;
}

.thumbnail-img.active {
  border-color: #000;
}

.color-swatch {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px #ddd;
}

.size-badge {
  padding: 10px 18px;
  border: 1px solid #ddd;
  border-radius: 50px;
  cursor: pointer;
}

.size-badge.active {
  background: #000;
  color: white;
  border-color: #000;
}

.img-hover-lightbox {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.img-hover-lightbox a {
  display: block;
  position: relative;
}

.img-hover-lightbox img {
  width: 100%;
  display: block;
  transition: transform 0.7s ease;
}

.img-hover-lightbox .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.35s ease;
}

.img-hover-lightbox i {
  color: #fff;
  font-size: 30px;

  transform: scale(0.6);
  opacity: 0;
  transition: 0.35s ease;
  z-index: 2;
}

.frame {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.frame .top {
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  height: 2px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: 0.5s ease;
}

.frame .bottom {
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  height: 2px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: right;
  transition: 0.5s ease;
}

.frame .left {
  position: absolute;
  top: 15px;
  bottom: 15px;
  left: 15px;
  width: 2px;
  background: #fff;
  transform: scaleY(0);
  transform-origin: top;
  transition: 0.5s ease;
}

.frame .right {
  position: absolute;
  top: 15px;
  bottom: 15px;
  right: 15px;
  width: 2px;
  background: #fff;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: 0.5s ease;
}

.img-hover-lightbox:hover img {
  transform: scale(1.12);
}

.img-hover-lightbox:hover .overlay {
  opacity: 1;
}

.img-hover-lightbox:hover i {
  opacity: 1;
  transform: scale(1);
}

.img-hover-lightbox:hover .top,
.img-hover-lightbox:hover .bottom {
  transform: scaleX(1);
}

.img-hover-lightbox:hover .left,
.img-hover-lightbox:hover .right {
  transform: scaleY(1);
}

@media (max-width: 767.98px) {
  #loginDropdown {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25) !important;
    z-index: 1055 !important;
  }

  .dropdown.show #loginDropdown::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: -1;
    border-radius: 0;
  }
}

@media (max-width: 991px) {
  header.sticky-top {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999 !important;
  }
}

#news .swiper-button-prev,
#news .swiper-button-next,
#events .swiper-button-prev,
#events .swiper-button-next {
  top: 28% !important;
  transform: translateY(-50%);
}

#about-school .swiper-button-prev,
#about-school .swiper-button-next {
  top: 33% !important;
  transform: translateY(-50%);
}

.nav-link-custom {
  position: relative;
  transition: all 0.3s ease;
  color: #212529;
  text-decoration: none;
}

.nav-link-custom::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #2696db;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  border-radius: 2px;
}

.nav-link-custom:hover::after {
  transform: scaleX(1);
}

.nav-link-custom.active::after {
  transform: scaleX(1);
}

.nav-link-custom.active {
  color: #0d6efd;
  font-weight: 600;
}

.nav-link-custom.active img {
  filter: brightness(0) saturate(100%) invert(43%) sepia(84%) saturate(1454%) hue-rotate(183deg) brightness(92%) contrast(92%) !important;
}

.nav-link-custom:hover img {
  filter: brightness(0.7);
  transition: filter 0.3s ease;
}

.section-title {
  border-bottom: 3px solid #2696db;
  padding-bottom: 8px;
}

footer a {
  position: relative;
  color: #212529;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;
  padding-bottom: 3px;
}

footer a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #2f8ed9;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

footer a:hover::after {
  transform: scaleX(1);
}

footer a.active {
  color: #2f8ed9;
  font-weight: 600;
}

footer a.active::after {
  transform: scaleX(1);
  background-color: #2f8ed9;
}

footer a:hover {
  color: #2f8ed9;
}

#subjectDropdown {
  box-shadow: none !important;
  outline: none !important;
}

#subjectDropdown:focus,
#subjectDropdown:active,
#subjectDropdown.show {
  box-shadow: none !important;
  outline: none !important;
}

.dropdown .form-select:focus {
  box-shadow: none !important;
  border-color: #ced4da;
}

.dropdown-menu .dropdown-item {
  transition: 0.2s ease;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #2696db !important;
  color: #fff !important;
}

.side-btn {
  position: fixed;
  right: -58px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  background-color: #249fdd;
  color: white;
  padding: 10px 20px;
  font-weight: 500;
  z-index: 2000;
  border: none;
  white-space: nowrap;
  border-radius: 8px 8px 0 0;
}

.side-btn i {
  transform: rotate(0deg);
  display: inline-block;
}

.chat-window {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 420px;
  z-index: 3000;
  border-radius: 12px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.25s ease;
}

.chat-window.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 600px) {
  .chat-window {
    right: 50% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 90% !important;
    max-width: none !important;
    bottom: 20px !important;
    display: flex;
    flex-direction: column;
  }
}

.no-caret::after {
  display: none !important;
}

header {
  position: relative;
}

.header-search-overlay {
  position: absolute;
  inset: 0;
  background: white;
  display: none;
  align-items: center;
  z-index: 9999;
}

.header-search-overlay.active {
  display: flex;
}

.header-search-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 96%;
  height: 60px;
  background: white;
  display: none;
  align-items: center;
  z-index: 9999;
  left: 50%;
  transform: translateX(-50%);
  top: 7px;
}

.header-search-overlay.active {
  display: flex;
}

.header-search-overlay .container {
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-tabs {
  border-bottom: 2px solid #f1f6f9;
  gap: 10px;
}

.nav-tabs .nav-link {
  border: none !important;
  background: none !important;
  color: #6c757d;
  padding: 10px 15px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-tabs .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #007bff;
  transform: scaleX(0);
  transform-origin: bottom left;
  transition: transform 0.3s ease-out;
}

.nav-tabs .nav-link:hover {
  color: #007bff;
}

.nav-tabs .nav-link:hover::after {
  transform: scaleX(1);
}

.nav-tabs .nav-link.active {
  color: #007bff !important;
  font-weight: 500;
}

.nav-tabs .nav-link.active::after {
  transform: scaleX(1);
}

@media (max-width: 1000px) {
  .nav-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    border-bottom: 1px solid #dee2e6;
    -webkit-overflow-scrolling: touch;
  }

  .nav-tabs .nav-item {
    flex: 0 0 auto;
  }

  .nav-tabs::-webkit-scrollbar {
    display: none;
  }

  .nav-tabs {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .breadcrumb-container {
    padding-top: 160px;
  }
}

.breadcrumb-container {
  padding-top: 0px;
}

.pagination-wrapper {
  padding: 10px 0;
}

.pagination-modern {
  gap: 8px;
}

.pagination-btn {
  list-style: none;
}

.pagination-link {
  border: none;
  min-width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-weight: 500;
  font-size: 15px;
  color: #2b2b2b;
  background: #f5f6f8;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.pagination-link:hover {
  background: #e9efff;
  color: #1f4bff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(31, 75, 255, 0.15);
}

.pagination-link.active {
  background: #2696db;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(31, 75, 255, 0.25);
}

.pagination-btn.disabled .pagination-link {
  opacity: 0.4;
  pointer-events: none;
}

.notification-window {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 320px;
  background: #fff;
  border-radius: 16px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.25s ease;
}

.notification-window.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.notification-item:hover {
  background-color: #f5f9ff;
}

@media (max-width: 768) {
  .notification-window {
    position: fixed;
    top: 50%;
    left: 50%;
    right: auto;
    width: calc(100% - 32px);
    max-width: 400px;
    transform: translate(-50%, -45%);
  }

  .notification-window.active {
    transform: translate(-50%, -50%);
  }
}
#chatList .list-group-item {
  background: #fff;
  color: #000;
}

#chatList .list-group-item h6 {
  color: #000;
}

#chatList .list-group-item p {
  color: #6c757d;
}

#chatList .list-group-item small {
  color: #6c757d;
}

#chatList .list-group-item:hover {
  background: #f5f7fa;
}

#chatList .list-group-item.active {
  background: #2f8ed9 !important;
  color: #fff;
}

#chatList .list-group-item.active h6,
#chatList .list-group-item.active p,
#chatList .list-group-item.active small {
  color: #fff !important;
}

#chatList .list-group-item.active .badge {
  background: #fff;
  color: #2f8ed9;
}

.chat-input .btn {
  width: 44px;
  height: 44px;
  padding: 0;
}

.chat-input .btn:hover {
  background-color: #fff;
  color: inherit;
  border-color: #dee2e6;
}
.chat-input .btn img {
  filter: none !important;
  transition: none;
}

.breadcrumb-link {
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.breadcrumb-link:hover {
  color: #0d6efd !important;
  opacity: 0.85;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: #adb5bd;
  font-weight: 600;
}

.icon-transform:hover {
  transform: scale(1.15);
}

.route-map-section {
  position: relative;
  width: 100%;
  height: 650px;
  overflow: hidden;
}

.route-map-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.route-map-section .container {
  position: relative;
  height: 100%;
}

.route-info {
  max-height: 360px;
  overflow-y: auto;
}

.route-stops li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2ecc71;
}
