/* Global */

body {
  font-family: 'TASA Explorer', 'BPG Venuri 2020 Caps', sans-serif;
  background-color: #173839;
  background-repeat: no-repeat, no-repeat;
  background-position: center top, center top;
  background-size: 120% 640px, cover;
  position: relative;
  isolation: isolate;
  --logo-pattern-offset: 0px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url(../images/logoprtn-optimized.png);
  background-repeat: repeat;
  background-position: center var(--logo-pattern-offset, 0px);
  opacity: 0.055;
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: -1;
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
  mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}
@media (max-width: 992px) {
  ::-webkit-scrollbar {
    display: none;
  }
}
html {
  filter: saturate(1.3) contrast(1.15) brightness(1.05) hue-rotate(-2deg);
}

/* Default scroll-margin-top = navbar height */
section {
  scroll-margin-top: 70px;
}

/* Homepage scroll-margin-top = 0 */
body.home section {
  scroll-margin-top: 0;
}
.tooltip {
    --bs-tooltip-bg: #ff0000;
    font-family: var(--sectionp);
    --bs-tooltip-border-radius: 2px;
}
a {
  text-decoration: none !important;
  outline: none !important;
}
img, video, svg {
  filter: none !important;
}
ul, li {
  list-style: none;
}
/*  scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #064d4d;
}
::-webkit-scrollbar-thumb {
  background: #ffc107; 
}
::-webkit-scrollbar-thumb:hover {
  background: #a5791d;
}

:root {
  --lang-bg: linear-gradient(135deg, #012b3b, #064d4d, #021d1d);
  --lang-collapse: linear-gradient(180deg, #012a3b, #064d4dd9, #021d1d, #000000d9);
  --navbar-bg: linear-gradient(145deg, #012b3b 0%, #064d4d 50%, #021d1d 100%);
  --tophead-bg :linear-gradient(-45deg, #0b0b0b, #111111, rgba(0, 0, 0, 0.79), #111111, #0b0b0b);
  --logoblock: linear-gradient(145deg, #012b3b 0%, #064d4d 50%, #021d1d 100%);
  --preloader: radial-gradient(circle at center, #064d4d 0%, #022020 100%);
  --preloaderautmn: radial-gradient(circle at center, #8f510b 0%, #1f0f02 100%);
  --sectiontitle: linear-gradient(180deg, #a67519 0%, #b8860b 20%, #e0c56c 50%, #b8860b 80%, #7b651f 100%);
  --sectionp: 'TASA Explorer', 'BPG Classic Medium';
}
  /* Preloader overlay */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--preloader);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  z-index: 9999;
  transition: opacity 1s ease, visibility 1s ease;
}
/* scrollbar დამალვა როცა preloader ჩართულია */
body.preloader-active {
  overflow: hidden;
}
#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.logo-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.logo-container .prelogo {
  width: 420px;
  height: auto;
  animation: logoPulse 2s ease-in-out infinite;
  z-index: 10;
  position: relative;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 26px;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(243, 217, 125, 0.8);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #053839;
  color: #f3d97d;
  box-shadow: 0 0 0 3px rgba(1, 43, 59, 0.82), 0 14px 28px rgba(0, 0, 0, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.94);
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.28s ease;
  z-index: 9996;
}

.back-to-top i {
  font-size: 1.12rem;
  transition: transform 0.2s ease;
}

.back-to-top:hover {
  border-color: #f3d97d;
  background: #f3d97d;
  color: #053839;
  transform: translateY(-2px) scale(1);
  box-shadow: 0 0 0 3px rgba(1, 43, 59, 0.82), 0 18px 30px rgba(0, 0, 0, 0.24);
}

.back-to-top:hover i {
  transform: translateY(-2px);
}

.back-to-top:focus-visible {
  outline: 2px solid #f3d97d;
  outline-offset: 4px;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

body.modal-open .fixed_L_S_B,
body.modal-open .section-navigation,
body.modal-open .back-to-top,
body.modal-open .back-to-top.is-visible,
body.modal-open .home-offer__floating-messenger {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

canvas {
  position:absolute;
  top:0; left:0;
  width:100%;
  height:100%;
  display:block;
}
/* Sectoions BG */
/* =============*/

.aboutus {
  padding: 70px 0;
  /*background-color: #021d1d; 
  background-image: url(../images/soft-kill.png); */
}
.whyus {
  margin-bottom: 70px;
  padding: 20px 0 120px;
}

.whyus-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}

.whyus-intro {
  max-width: 760px;
  margin: 0;
  text-align: left;
}

.whyus-intro .section_title,
.whyus-intro .section {
  text-align: left;
}

@media (min-width: 1024px) {
  .whyus-intro {
    position: sticky;
    top: 112px;
    min-height: min(64vh, 560px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 8vh;
  }
}

.whyus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(42px, 11vh, 120px);
}

.whyus-card {
  padding: 28px 24px;
  border-radius: 12px;
  text-align: left;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.10);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.72;
  transform: translate3d(0, 18px, 0);
  transition: opacity 0.45s ease, transform 0.45s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  will-change: transform, opacity;
}

.whyus-card.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.whyus-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.34);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.12);
}

@media (prefers-reduced-motion: reduce) {
  .whyus-card {
    opacity: 1;
    transform: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    will-change: auto;
  }
}

.whyus-icon {
  width: 68px;
  height: 68px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: linear-gradient(180deg, #f3d97d, #c89b2f);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #17302d;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.16);
}

.whyus-title {
  margin-bottom: 10px;
  font-size: 1.25rem;
  color: #f4dc8a;
  text-align: left;
}

.whyus-text {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.84);
  text-align: left;
  font-family: 'TASA Explorer', 'BPG Venuri 2020', sans-serif;
}

.howto {
  padding-bottom: 100px;
}

.howto-intro {
  max-width: 760px;
  margin: 0 auto 36px;
}

.howto-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.howto-card {
  min-height: 100%;
  padding: 28px 24px;
  border-radius: 12px;
  text-align: left;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.10);
  backdrop-filter: blur(10px);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.howto-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.34);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.12);
}

.howto-icon {
  width: 68px;
  height: 68px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: linear-gradient(180deg, #f3d97d, #c89b2f);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #17302d;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.16);
}

.howto-title {
  margin-bottom: 10px;
  font-size: 1.25rem;
  color: #f4dc8a;
  text-align: left;
}

.howto-text {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.84);
  text-align: left;
    font-family: 'TASA Explorer', 'BPG Venuri 2020', sans-serif;

}
.howto {
  /*background: #064d4d;
  background-image: url(../images/swirl.png); */
}
.featured-courses {
  background: #064d4d;
  background-image: url(../images/inspiration-geometry.png);
}
.maincourses {
  /* background-image: url(../images/skulls.png); */
}
.teachers {
  background: #064d4d;
  background-image: url(../images/swirl.png);
}
.testimonials {
  background: #064d4d;
  background-image: url(../images/cartographer.png);
}
.faq {
  background: #064d4d;
  background-image: url(../images/black-orchid.png);
}
/* =============*/

/* Section */
section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
 /*  min-height: 100dvh; */
}
.aboutus,
.whyus,
.maincourses,
.howto {
  --section-divider-spacing: clamp(48px, 6vw, 68px);
  padding-bottom: var(--section-divider-spacing);
  margin-bottom: var(--section-divider-spacing);
}

.aboutus::after,
.whyus::after,
.maincourses::after,
.howto::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(220px, 55%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.85), transparent);
}
/* section::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 6px;
  top: 0;
  left: 0;
  background-color: #003333;
} */
.section_title{
  font-family: "ALK Tommaso";
  background: var(--sectiontitle);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.103);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin: clamp(2rem, 6vw, 3.75rem) 0;

}
p.section {
  font-family:  var(--sectionp);
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: #ffc300;
  text-shadow: 0 0 3px #ffc107;
  line-height: 1.7;
  text-align: center;
  margin-bottom: clamp(0.5rem, 2vw, 1.5rem); /* responsive spacing */
}
.btn_box {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap; /* პატარა ეკრანებზე ავტომატურად გადავა ახალ ხაზზე */
  gap: 15px; /* ღილაკებს შორის დაშორება */
  width: 100%;
  margin-top: clamp(1.5rem, 4vw, 3rem); /* responsive ზღვარი */
  padding: 10px 0; /* მცირე შიდა დაშორება */
  min-height: 50px; /* საჭიროების შემთხვევაში გაიზრდება */
  font-family: 'TASA Explorer', 'BPG Venuri 2020 Caps';
}
.btn_box p {
  margin: 0 !important;
  padding: 0 15px;
}
.btn_start {
  background-color: #d4af37;
  border: 1px solid transparent;
  font-size: 18px;
  padding: 15px 20px;
  color: #fff;
  text-shadow: 0px 0px 3px black;
  border-radius: 50px;
  transition: 0.3s ease;
}
.btn_start:hover {
  background-color: transparent;
  border: 1px solid #d4af37;
  color: #d4af37;
}

/* Homepage offer hero */
.home-offer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(78px, 10vw, 132px) 0;
  background-color: #063f40;
  background-image:
    radial-gradient(circle at 15% 25%, rgba(255, 195, 0, 0.14), transparent 34%),
    radial-gradient(circle at 88% 75%, rgba(0, 132, 255, 0.14), transparent 30%),
    linear-gradient(135deg, rgba(1, 43, 59, 0.97), rgba(6, 77, 77, 0.94)),
    url(../images/inspiration-geometry.png);
  border-top: 1px solid rgba(243, 217, 125, 0.2);
  border-bottom: 1px solid rgba(243, 217, 125, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), inset 0 -40px 80px rgba(0, 0, 0, 0.12);
}

.home-offer::before {
  content: "";
  position: absolute;
  width: clamp(260px, 36vw, 520px);
  aspect-ratio: 1;
  top: 50%;
  right: clamp(-240px, -12vw, -90px);
  transform: translateY(-50%);
  border: 1px solid rgba(243, 217, 125, 0.16);
  border-radius: 50%;
  box-shadow:
    0 0 0 36px rgba(243, 217, 125, 0.025),
    0 0 0 72px rgba(243, 217, 125, 0.018);
  pointer-events: none;
  z-index: -1;
}

.home-offer > .container {
  position: relative;
  z-index: 1;
  max-width: 1240px;
}

.home-offer__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(38px, 6vw, 82px);
}

.home-offer__content {
  min-width: 0;
  text-align: left;
}

.home-offer .section_title {
  max-width: 720px;
  margin: 0 0 clamp(22px, 3vw, 34px);
  font-size: clamp(2.55rem, 4.2vw, 4.15rem);
  line-height: 1.1;
  text-wrap: balance;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.2));
}

.home-offer p.section {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: none;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  text-align: left;
  text-wrap: balance;
}

.home-offer__badges {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(24px, 4vw, 38px);
}

.home-offer__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid rgba(243, 217, 125, 0.45);
  border-radius: 999px;
  background: rgba(1, 43, 59, 0.62);
  color: #fff7d2;
  font-family: var(--sectionp);
  font-size: 0.96rem;
  line-height: 1.2;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.home-offer__badge i {
  color: #f3d97d;
  font-size: 0.92rem;
}

.home-offer .btn_box {
  justify-content: flex-start;
  margin-top: clamp(25px, 4vw, 42px);
  padding-left: 0;
  padding-right: 0;
}

.home-offer__media {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0;
  padding: 9px;
  border: 1px solid rgba(243, 217, 125, 0.62);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(243, 217, 125, 0.16), rgba(255, 255, 255, 0.04));
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.3), 0 0 0 5px rgba(243, 217, 125, 0.055);
}

.home-offer__media::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  pointer-events: none;
}

.home-offer__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 18px;
}

.home-offer__cta.btn_start {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 16px 26px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: linear-gradient(135deg, #0084ff, #0067d8);
  color: #fff;
  font-weight: 700;
  text-shadow: none;
  box-shadow: 0 14px 34px rgba(0, 107, 229, 0.34), 0 0 0 4px rgba(0, 132, 255, 0.1);
}

.home-offer__cta.btn_start:hover,
.home-offer__cta.btn_start:focus-visible {
  border-color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(135deg, #1790ff, #0873e8);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(0, 107, 229, 0.4), 0 0 0 5px rgba(0, 132, 255, 0.12);
}

.home-offer__cta.btn_start:focus-visible,
.home-offer__floating-messenger:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.home-offer__floating-messenger {
  position: fixed;
  right: 24px;
  bottom: 94px;
  z-index: 9995;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: linear-gradient(135deg, #0084ff, #0067d8);
  color: #fff;
  font-size: 1.45rem;
  box-shadow: 0 12px 28px rgba(0, 72, 160, 0.4), 0 0 0 4px rgba(0, 132, 255, 0.12);
  transition: transform 0.24s ease, box-shadow 0.24s ease, opacity 0.24s ease, visibility 0.24s ease;
}

.home-offer__floating-messenger:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 16px 32px rgba(0, 72, 160, 0.46), 0 0 0 5px rgba(0, 132, 255, 0.14);
}

@media (max-width: 900px) {
  .home-offer__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(36px, 7vw, 54px);
  }

  .home-offer__content {
    text-align: center;
  }

  .home-offer .section_title,
  .home-offer p.section {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .home-offer__badges,
  .home-offer .btn_box {
    justify-content: center;
  }

  .home-offer__media {
    max-width: 590px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .home-offer {
    padding: 72px 0 82px;
  }

  .home-offer .section_title {
    font-size: clamp(2.35rem, 12vw, 3.45rem);
  }

  .home-offer__badges {
    gap: 8px;
  }

  .home-offer__badge {
    min-height: 39px;
    padding: 8px 13px;
    font-size: 0.88rem;
  }

  .home-offer .btn_box {
    padding-inline: 4px;
  }

  .home-offer__cta.btn_start {
    width: min(100%, 370px);
    min-height: 56px;
    padding: 15px 18px;
    font-size: 1rem;
  }

  .home-offer__media {
    padding: 6px;
    border-radius: 20px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28), 0 0 0 4px rgba(243, 217, 125, 0.05);
  }

  .home-offer__media::after {
    inset: 6px;
    border-radius: 14px;
  }

  .home-offer__media img {
    border-radius: 14px;
  }

  .home-offer__floating-messenger {
    right: 17px;
    bottom: 84px;
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-offer__cta.btn_start,
  .home-offer__floating-messenger {
    transition: none;
  }
}

.btn_signup {
  border: 1px solid #d4af37;
  font-size: 18px;
  padding: 15px 20px;
  color: #d4af37;
  text-shadow: 0px 0px 3px black;
  border-radius: 3px;
  transition: 0.3s ease;
  background-color: transparent;
}
.btn_signup:hover {
  color: #fff;
  background-color: #d4af37;
  border: 1px solid transparent;
}

.steps-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 50px;
}

.step {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  padding: 45px 25px;
  width: 280px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
  overflow: hidden;
}

.step::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.step:hover::before {
  opacity: 1;
}

.step:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.icon-box {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  border-radius: 50%;
  background: linear-gradient(180deg, #f0c040, #b8860b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover .icon-box {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.step-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #ffc107;
}

.step-text {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  font-family: 'TASA Explorer', 'BPG Venuri 2020', sans-serif;
}

@media (max-width: 991px) {
  .whyus-layout {
    display: block;
  }

  .whyus-intro {
    max-width: 760px;
    margin: 0 auto 36px;
    text-align: center;
  }

  .whyus-intro .section_title,
  .whyus-intro .section {
    text-align: center;
  }

  .whyus-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .whyus-card {
    min-height: 100%;
    opacity: 1;
    padding: 24px 20px;
    transform: none;
    will-change: auto;
  }

  .howto-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .howto-card {
    padding: 24px 20px;
  }
}

@media (max-width: 767px) {
  .whyus {
    padding-bottom: var(--section-divider-spacing);
  }

  .whyus-intro {
    margin-bottom: 24px;
  }

  .whyus-grid {
    grid-template-columns: 1fr;
  }

  .whyus-card {
    min-height: 0;
    padding: 20px 18px;
    border-radius: 12px;
  }

  .whyus-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 14px;
    border-radius: 12px;
    font-size: 1.25rem;
  }

  .whyus-title,
  .whyus-text {
    text-align: center;
  }

  .howto {
    padding-bottom: var(--section-divider-spacing);
  }

  .howto-intro {
    margin-bottom: 24px;
  }

  .howto-card {
    padding: 20px 18px;
    border-radius: 12px;
  }

  .howto-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 14px;
    border-radius: 12px;
    font-size: 1.25rem;
  }

  .howto-title,
  .howto-text {
    text-align: center;
  }
}

/* CTA area */
.contact-cta {
  margin-top: 60px;
}

.cta-text {
  font-size: 1.1rem;
  color: #ffc107;
  font-family: 'TASA Explorer', 'BPG Venuri 2020 Caps' sans-serif;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.cta-btn {
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}
.cta-btn:hover {
  color: #fff;
}
.cta-btn.phone {
  background: transparent;
  border: 1px solid;
}
.cta-btn.messenger {
  background: linear-gradient(135deg, #00c6ff, #0072ff);
}
.cta-btn.whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
}
.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.howto .contact-cta {
  max-width: 840px;
  margin: 56px auto 0;
  padding: 24px 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.howto .cta-text {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  color: #f1d98a;
  text-shadow: none;
}

.howto .cta-buttons {
  gap: 14px;
  margin-top: 20px;
}

.howto .cta-btn {
  min-width: 180px;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.05);
  color: #f5f1e8;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
}

.howto .cta-btn i {
  font-size: 0.95rem;
}

.howto .cta-btn.phone {
  border-color: rgba(243, 217, 125, 0.35);
  background: linear-gradient(180deg, rgba(243, 217, 125, 0.16), rgba(243, 217, 125, 0.06));
  color: #f7df8a;
}

.howto .cta-btn.messenger {
  background: linear-gradient(180deg, rgba(104, 169, 255, 0.22), rgba(104, 169, 255, 0.10));
  border-color: rgba(104, 169, 255, 0.32);
  color: #dbe9ff;
}

.howto .cta-btn.whatsapp {
  background: linear-gradient(180deg, rgba(92, 201, 145, 0.20), rgba(92, 201, 145, 0.08));
  border-color: rgba(92, 201, 145, 0.30);
  color: #dff8ea;
}

.howto .cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(0,0,0,0.14);
  color: #fff;
}

@media (max-width: 767px) {
  .howto .contact-cta {
    margin-top: 36px;
    padding: 20px 0 0;
  }

  .howto .cta-buttons {
    gap: 10px;
  }

  .howto .cta-btn {
    width: 100%;
    min-width: 0;
    border-radius: 10px;
  }
}



/* Schedule */
.schedule-section {
  padding: 40px 0 110px;
}

.schedule-intro {
  max-width: 780px;
  margin: 0 auto 38px;
}

.schedule-intro .section_title {
  margin: 0 0 12px;
}

.schedule-intro .section {
  margin: 0;
}

.schedule-day-navigation {
  width: min(100%, 860px);
  margin: 0 auto 18px;
}

.schedule-day-navigation-list {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  backdrop-filter: blur(10px);
}

.schedule-day-navigation-item {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  height: 42px;
  padding: 6px 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.schedule-day-navigation-item:hover {
  color: #fff9e8;
  background: rgba(255, 255, 255, 0.06);
}

.schedule-day-navigation-item:focus-visible {
  outline: 2px solid #f3d97d;
  outline-offset: 2px;
}

.schedule-day-navigation-item.is-today:not(.is-active) {
  border-color: rgba(243, 217, 125, 0.42);
  color: #f3d97d;
}

.schedule-day-navigation-item.is-active {
  background: #f3d97d;
  border-color: #f3d97d;
  color: #173039;
}

.schedule-day-navigation-item.is-empty:not(.is-active) {
  color: rgba(255, 255, 255, 0.42);
}

.schedule-day-navigation-label {
  min-width: 0;
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
}

.schedule-day-navigation-count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.09);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
}

.schedule-day-navigation-item.is-active .schedule-day-navigation-count {
  background: rgba(23, 48, 57, 0.14);
}

.schedule-day-navigation-item.is-empty .schedule-day-navigation-count {
  background: transparent;
}

.schedule-board {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  position: relative;
}

.schedule-day-card {
  width: min(100%, 860px);
  min-height: 100%;
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.schedule-day-card:hover {
  border-color: rgba(243, 217, 125, 0.28);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.12);
}

.schedule-day-card.is-today {
  border-color: rgba(243, 217, 125, 0.34);
}

.schedule-day-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 78px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.025);
}

.schedule-day-title,
.schedule-day-copy {
  display: flex;
  align-items: center;
}

.schedule-day-title {
  gap: 12px;
  min-width: 0;
}

.schedule-day-copy {
  gap: 9px;
  min-width: 0;
  flex-wrap: wrap;
}

.schedule-day-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 6px;
  color: #f3d97d;
  background: rgba(243, 217, 125, 0.1);
  border: 1px solid rgba(243, 217, 125, 0.22);
  font-size: 1rem;
}

.schedule-day-label {
  color: #fff9e8;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1;
}

.schedule-today-label {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 5px;
  background: #f3d97d;
  color: #173039;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
}

.schedule-day-meta {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
  white-space: nowrap;
}

.schedule-column-head,
.schedule-slot {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) minmax(135px, auto);
  align-items: center;
  column-gap: 18px;
}

.schedule-column-head {
  min-height: 42px;
  padding: 9px 20px;
  color: rgba(255, 255, 255, 0.47);
  background: rgba(255, 255, 255, 0.018);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.72rem;
  font-weight: 700;
}

.schedule-slots {
  margin: 0;
  padding: 0;
  list-style: none;
}

.schedule-slot {
  --schedule-accent: rgba(255, 255, 255, 0.18);
  position: relative;
  min-height: 70px;
  padding: 13px 20px;
  background: rgba(255, 255, 255, 0.012);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background-color 0.2s ease;
}

.schedule-slot:last-child {
  border-bottom: 0;
}

.schedule-slot:hover {
  background: rgba(255, 255, 255, 0.045);
}

.slot-subject {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #f4f0e6;
  font-size: 0.93rem;
  font-weight: 700;
}

.slot-subject i {
  width: 18px;
  flex: 0 0 auto;
  text-align: center;
}

.slot-subject span {
  min-width: 0;
  word-break: break-word;
}

.schedule-level-badge {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  max-width: 100%;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.25;
}

.schedule-level-empty {
  color: rgba(255, 255, 255, 0.35);
}

.slot-time {
  display: flex;
  align-items: center;
  align-self: stretch;
  position: relative;
  padding-left: 26px;
  color: #fff7df;
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
}

.slot-time::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  z-index: 1;
  width: 12px;
  height: 12px;
  border: 3px solid var(--schedule-accent);
  border-radius: 50%;
  background: rgba(7, 31, 40, 0.86);
  transform: translateY(-50%);
}

.slot-time::after {
  content: "";
  position: absolute;
  left: 5px;
  top: calc(50% + 7px);
  width: 2px;
  height: calc(100% + 12px);
  background: rgba(255, 255, 255, 0.14);
}

.schedule-slot:last-child .slot-time::after {
  display: none;
}

.schedule-slot.georgian .slot-subject i {
  color: #f3d97d;
}

.schedule-slot.english .slot-subject i {
  color: #8ab2f4;
}

.schedule-slot.math .slot-subject i {
  color: #8fd8ab;
}

.schedule-slot.level-intro {
  --schedule-accent: #d9c9a8;
}

.schedule-slot.level-intro .schedule-level-badge {
  background: #e6d5b4;
  border-color: rgba(0,0,0,0.12);
  color: #45311a;
}

.schedule-slot.level-beginner {
  --schedule-accent: #8fcf9c;
}

.schedule-slot.level-beginner .schedule-level-badge {
  background: #a8d9ab;
  border-color: rgba(0,0,0,0.12);
  color: #183824;
}

.schedule-slot.level-intermediate {
  --schedule-accent: #87a8d8;
}

.schedule-slot.level-intermediate .schedule-level-badge {
  background: #a9c4e5;
  border-color: rgba(0,0,0,0.12);
  color: #16324c;
}

.schedule-slot.level-advanced {
  --schedule-accent: #d7a6a6;
}

.schedule-slot.level-advanced .schedule-level-badge {
  background: #e2b4ae;
  border-color: rgba(0,0,0,0.12);
  color: #4a1f1f;
}

.schedule-slot.level-abiturient {
  --schedule-accent: #c9b4d8;
}

.schedule-slot.level-abiturient .schedule-level-badge {
  background: #d8c4e5;
  border-color: rgba(0,0,0,0.12);
  color: #372043;
}

.schedule-day-card--rest {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.schedule-rest {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 120px;
  margin: 20px;
  padding: 20px;
  border-radius: 6px;
  background: rgba(255,255,255,0.025);
  border: 1px dashed rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.76);
  line-height: 1.7;
}

.schedule-rest i {
  color: #f3d97d;
  font-size: 1.1rem;
}

@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .schedule-section.schedule-story--enhanced {
    padding: 0;
  }

  .schedule-story.is-schedule-story-enhanced {
    min-height: var(--schedule-story-height, 492vh);
    scroll-margin-top: 106px;
  }

  .schedule-story.is-schedule-story-enhanced .schedule-story-sticky {
    position: sticky;
    top: 106px;
    min-height: calc(100vh - 106px);
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    align-content: start;
    gap: clamp(16px, 2.5vh, 24px);
    padding: clamp(12px, 2vh, 20px) 0;
  }

  .schedule-story.is-schedule-story-enhanced .schedule-intro {
    margin: 0 auto;
  }

  .schedule-story.is-schedule-story-enhanced .schedule-day-navigation {
    margin: 0 auto;
  }

  .schedule-story.is-schedule-story-enhanced .schedule-board {
    display: grid;
    grid-template-columns: minmax(0, 860px);
    grid-template-rows: minmax(0, 1fr);
    align-items: center;
    justify-content: center;
    width: 100%;
    height: min(50vh, 460px);
    min-height: 0;
    gap: 0;
  }

  .schedule-story.is-schedule-story-enhanced .schedule-day-card {
    grid-area: 1 / 1;
    width: 100%;
    min-height: 0;
    max-height: 100%;
    margin: 0;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(0, 28px, 0) scale(0.98);
    transition: opacity 0.32s ease, transform 0.32s ease, visibility 0s linear 0.32s;
  }

  .schedule-story.is-schedule-story-enhanced .schedule-day-card.is-schedule-active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) scale(1);
    transition-delay: 0s;
  }

  .schedule-story.is-schedule-story-enhanced .schedule-day-card.is-schedule-active:hover {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

/* მასწავლებლების სექცია */
@media (max-width: 991px) {
  .schedule-board {
    align-items: center;
  }
}

@media (max-width: 767px) {
  .schedule-section {
    padding: 20px 0 90px;
  }

  .schedule-intro {
    margin-bottom: 26px;
  }

  .schedule-day-navigation {
    margin-bottom: 16px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .schedule-day-navigation::-webkit-scrollbar {
    display: none;
  }

  .schedule-day-navigation-list {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 64px;
    width: max-content;
    min-width: 100%;
  }

  .schedule-day-navigation-item {
    height: 40px;
    padding-inline: 6px;
  }

  .schedule-board {
    gap: 16px;
  }

  .schedule-day-card {
    border-radius: 8px;
  }

  .schedule-day-head {
    min-height: 70px;
    padding: 13px 14px;
    gap: 10px;
  }

  .schedule-day-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

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

  .schedule-column-head {
    display: none;
  }

  .schedule-slot {
    grid-template-columns: 112px minmax(0, 1fr);
    grid-template-areas:
      "time course"
      "time level";
    align-items: center;
    column-gap: 14px;
    row-gap: 7px;
    min-height: 82px;
    padding: 13px 14px;
  }

  .slot-time {
    grid-area: time;
    padding-left: 22px;
    white-space: normal;
    line-height: 1.45;
  }

  .slot-time::before {
    width: 11px;
    height: 11px;
  }

  .slot-time::after {
    left: 4px;
  }

  .slot-subject {
    grid-area: course;
  }

  .schedule-level-badge,
  .schedule-level-empty {
    grid-area: level;
  }

  .schedule-rest {
    min-height: 104px;
    margin: 14px;
  }
}

@media (max-width: 420px) {
  .schedule-day-meta {
    font-size: 0.74rem;
  }

  .schedule-slot {
    grid-template-columns: 96px minmax(0, 1fr);
    column-gap: 11px;
  }

  .slot-time {
    font-size: 0.78rem;
  }
}

#teachers {
  background: rgba(255,255,255,0.02);
}
#teachers h2 {
  font-family: 'Londrina Solid', sans-serif;
  font-size: 2.5rem;
  color: #f7e98c;
}
#teachers .text-muted {
  color: rgba(255,255,255,0.7);
}

/* ბარათები */
.teacher-card {
  background: linear-gradient(135deg, rgba(1,43,59,0.85) 0%, rgba(2,29,29,0.85) 100%);
  border-radius: 12px;
  color: #fff;
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative;
  overflow: hidden;
}
.teacher-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -5px rgba(212,175,55,0.5);
}
.teacher-card .card-title {
  font-weight: 600;
}
.teacher-card .text-warning {
  font-weight: 500;
}
.teacher-card .card-text {
  font-size: 0.9rem;
  margin-top: 6px;
  color: rgba(255,255,255,0.85);
}

/* ფოტო გარშემო */
.teacher-photo img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border: 3px solid rgba(240,192,64,0.8);
  box-shadow: 0 0 12px rgba(212,175,55,0.6);
}

/* ღილაკი */
.teacher-card .btn-outline-light {
  border-color: #f0c040;
  color: #f0c040;
  transition: background .25s ease, color .25s ease;
}
.teacher-card .btn-outline-light:hover {
  background: #f0c040;
  color: #111;
}
/* ფასების სექცია */
#pricing {
  background: rgba(255,255,255,0.01);
}
#pricing h2 {
  font-family: 'Londrina Solid', sans-serif;
  font-size: 2.5rem;
  color: #f7e98c;
}
#pricing .text-muted {
  color: rgba(255,255,255,0.7);
}
.pricing-card {
  background: linear-gradient(135deg, rgba(1,43,59,0.85), rgba(2,29,29,0.85));
  border-radius: 14px;
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 1px; /* იმიტომ რომ შიდა ბორდერი გამოიყურებოდეს სუფთად */
  transition: transform .3s ease, box-shadow .3s ease;
}
.pricing-card .card-body {
  background: #0f1f2b;
  border-radius: 12px;
}
.pricing-card .price {
  font-weight: 700;
  color: #f0c040;
}
.pricing-card ul li {
  margin-bottom: 6px;
}
.pricing-card a {
  border-radius: 6px;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 45px -5px rgba(212,175,55,0.4);
}

/* ყველაზე პოპულარული */
.pricing-card.popular {
  box-shadow: 0 20px 60px -5px rgba(212,175,55,0.5);
}
.badge-popular {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f7e98c, #d4af37);
  color: #111;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}
.btn-outline-light {
  border: 1px solid #f0c040;
  color: #f0c040;
  background: transparent;
  transition: background .25s ease, color .25s ease;
}
.btn-outline-light:hover {
  background: #f0c040;
  color: #111;
}


/* Refreshed Pricing / Teachers / Contact */
.pricing-section {
  padding: 40px 0 110px;
}

.pricing-intro,
.teachers-intro,
.contact-intro {
  max-width: 780px;
  margin: 0 auto 38px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.pricing-plan {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(10px);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  overflow: hidden;
}

.pricing-plan::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.14), transparent 52%);
  pointer-events: none;
}

.pricing-plan:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.34);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.16);
}

.pricing-plan--featured {
  border-color: rgba(243, 217, 125, 0.28);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.18);
}

.pricing-plan--starter {
  background: linear-gradient(180deg, rgba(24, 44, 34, 0.84), rgba(16, 30, 24, 0.9));
}

.pricing-plan--standard {
  background: linear-gradient(180deg, rgba(18, 35, 47, 0.88), rgba(12, 24, 35, 0.92));
}

.pricing-plan--premium {
  background: linear-gradient(180deg, rgba(44, 26, 34, 0.88), rgba(26, 16, 22, 0.92));
}

.pricing-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f3d97d, #c99831);
  color: #17302d;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 10px 18px rgba(0,0,0,0.18);
}

.pricing-plan-head,
.pricing-price-wrap,
.pricing-features,
.pricing-action {
  position: relative;
  z-index: 1;
}

.pricing-plan-head {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.pricing-icon {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  color: #17302d;
  background: linear-gradient(180deg, #f3d97d, #c89b2f);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.16);
}

.pricing-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.56);
}

.pricing-name {
  margin: 0;
  color: #f4dc8a;
  font-size: 1.45rem;
  line-height: 1.25;
}

.pricing-price-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.pricing-price {
  display: inline-flex;
  align-items: flex-start;
  gap: 4px;
  color: #f6df8b;
  text-shadow: 0 0 10px rgba(255, 195, 0, 0.18);
}

.pricing-currency {
  font-size: 1.2rem;
  line-height: 1;
  transform: translateY(8px);
}

.pricing-amount {
  font-size: clamp(2rem, 4vw, 2.6rem);
  line-height: 0.95;
  font-weight: 700;
}

.pricing-period {
  color: rgba(255,255,255,0.64);
  font-size: 0.88rem;
  white-space: nowrap;
}

.pricing-features {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.88);
  line-height: 1.55;
}

.pricing-feature i {
  margin-top: 4px;
  color: #f3d97d;
  font-size: 0.82rem;
}

.pricing-feature.is-muted {
  color: rgba(255,255,255,0.56);
  background: rgba(255,255,255,0.025);
  border-style: dashed;
}

.pricing-feature.is-muted i {
  color: rgba(255,255,255,0.34);
}

.pricing-action {
  margin-top: auto;
  padding-top: 22px;
}

.pricing-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 12px;
  border: 1px solid rgba(243, 217, 125, 0.34);
  background: linear-gradient(180deg, rgba(243, 217, 125, 0.18), rgba(243, 217, 125, 0.08));
  color: #f7df8a !important;
  font-weight: 700;
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease, background 0.26s ease;
}

.pricing-btn:hover {
  transform: translateY(-2px);
  color: #fff !important;
  border-color: rgba(243, 217, 125, 0.5);
  background: linear-gradient(180deg, rgba(243, 217, 125, 0.24), rgba(243, 217, 125, 0.12));
  box-shadow: 0 10px 18px rgba(0,0,0,0.14);
}

.teachers {
  padding: 40px 0 110px;
}

.teachers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.teachers-grid--single {
  max-width: 980px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr);
}

.teachers-grid--pair {
  max-width: 960px;
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.teacher-profile-card {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(8, 70, 69, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.18);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.teacher-profile-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2;
  height: 3px;
  background: #f3d97d;
}

.teachers-grid--single .teacher-profile-card {
  display: grid;
  min-height: 540px;
  grid-template-columns: minmax(330px, 0.9fr) minmax(0, 1.1fr);
}

.teacher-profile-card:hover {
  transform: translateY(-4px);
  border-color: rgba(243, 217, 125, 0.42);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.22);
}

.teacher-profile-media {
  display: block;
  position: relative;
  overflow: hidden;
  min-height: 0;
  aspect-ratio: 4 / 4.65;
  background: rgba(255, 255, 255, 0.05);
}

.teachers-grid--single .teacher-profile-media {
  height: 100%;
  aspect-ratio: auto;
}

.teacher-profile-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(1, 43, 59, 0.42));
  pointer-events: none;
}

.teacher-profile-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.teacher-profile-card:hover .teacher-profile-photo {
  transform: scale(1.03);
}

.teacher-profile-index {
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  color: #f8e6a2;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
}

.teacher-profile-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 22px;
  padding: 26px;
  text-align: left;
}

.teachers-grid--single .teacher-profile-body {
  justify-content: center;
  padding: clamp(32px, 5vw, 54px);
}

.teacher-profile-heading {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.teacher-role {
  display: flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  color: #f3d97d;
  font-size: 0.76rem;
  font-weight: 700;
}

.teacher-role::after {
  content: "";
  width: 42px;
  height: 1px;
  background: rgba(243, 217, 125, 0.52);
}

.teacher-profile-name {
  margin: 2px 0 0;
  font-size: 1.55rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.teacher-profile-name a {
  color: #f8e6a2;
  transition: color 0.2s ease;
}

.teacher-profile-name a:hover {
  color: #fff;
}

.teachers-grid--single .teacher-profile-name {
  font-size: 2.25rem;
}

.teacher-profile-position {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  line-height: 1.55;
}

.teacher-education {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.teacher-education__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(243, 217, 125, 0.24);
  border-radius: 50%;
  background: rgba(243, 217, 125, 0.08);
  color: #f3d97d;
}

.teacher-education__content {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.teacher-education__content small {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.74rem;
}

.teacher-education__content strong {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.teacher-teaching-block {
  display: grid;
  gap: 10px;
}

.teacher-teaching-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  font-weight: 700;
}

.teacher-teaching-label i {
  color: #f3d97d;
}

.teacher-course-list {
  display: grid;
  gap: 8px;
}

.teacher-course-chip {
  display: grid;
  min-width: 0;
  gap: 3px;
  padding: 11px 13px;
  border-left: 2px solid rgba(243, 217, 125, 0.72);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.045);
  color: #f4f1e8;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.teacher-course-chip:hover {
  border-left-color: #f3d97d;
  background: rgba(243, 217, 125, 0.09);
  color: #fff;
  transform: translateX(2px);
}

.teacher-course-chip strong {
  color: inherit;
  font-size: 0.9rem;
  line-height: 1.35;
}

.teacher-course-chip small {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.76rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.teacher-course-chip--muted {
  color: rgba(255,255,255,0.56);
}

.teacher-profile-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 4px;
}

.teacher-profile-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(243, 217, 125, 0.34);
  border-radius: 5px;
  background: rgba(243, 217, 125, 0.1);
  color: #f8e6a2;
  font-size: 0.86rem;
  font-weight: 700;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.teacher-profile-link i {
  font-size: 0.78rem;
  transition: transform 0.2s ease;
}

.teacher-profile-link:hover {
  border-color: rgba(243, 217, 125, 0.62);
  background: rgba(243, 217, 125, 0.16);
  color: #fff;
  transform: translateY(-2px);
}

.teacher-profile-link:hover i {
  transform: translateX(3px);
}

.teacher-contact-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.teacher-contact-actions a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.82) !important;
  transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.teacher-contact-actions a:hover {
  transform: translateY(-2px);
  border-color: rgba(243, 217, 125, 0.48);
  background: rgba(243, 217, 125, 0.1);
  color: #f8e6a2 !important;
}

.teachers-empty {
  max-width: 520px;
  margin: 0 auto;
  padding: 28px 24px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.82);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.14);
}

.teachers-empty i {
  display: inline-flex;
  width: 68px;
  height: 68px;
  margin-bottom: 18px;
  border-radius: 4px;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  color: #17302d;
  background: linear-gradient(180deg, #f3d97d, #c89b2f);
}

.contact {
  padding: 40px 0 110px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 22px;
  align-items: stretch;
}

.contact-copy-card,
.contact-info-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(10px);
}

.contact-copy-card {
  min-height: 100%;
  padding: 28px 24px;
  border-radius: 6px;
  text-align: left;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.contact-copy-card:hover,
.contact-info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.34);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.16);
}

.contact-tag {
  display: inline-flex;
  padding: 8px 12px;
  background: linear-gradient(180deg, rgba(243, 217, 125, 0.18), rgba(243, 217, 125, 0.08));
  border: 1px solid rgba(243, 217, 125, 0.28);
  color: #f7df8a;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.contact-card-title {
  margin: 0 0 14px;
  color: #f4dc8a;
  font-size: 1.6rem;
  line-height: 1.24;
}

.contact-card-text {
  margin: 0;
  color: rgba(255,255,255,0.84);
  line-height: 1.75;
}

.contact-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: #f1efe9;
  font-size: 0.86rem;
}

.contact-pill i {
  color: #f3d97d;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.contact-action {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 16px;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.08);
  color: #f5f1e8 !important;
  font-weight: 600;
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.contact-action i {
  font-size: 0.95rem;
}

.contact-action--phone {
  background: linear-gradient(180deg, rgba(243, 217, 125, 0.18), rgba(243, 217, 125, 0.08));
  border-color: rgba(243, 217, 125, 0.32);
  color: #f7df8a !important;
}

.contact-action--messenger {
  background: linear-gradient(180deg, rgba(104, 169, 255, 0.20), rgba(104, 169, 255, 0.08));
  border-color: rgba(104, 169, 255, 0.30);
}

.contact-action--whatsapp {
  background: linear-gradient(180deg, rgba(92, 201, 145, 0.18), rgba(92, 201, 145, 0.08));
  border-color: rgba(92, 201, 145, 0.30);
}

.contact-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(0,0,0,0.14);
}

.contact-info-stack {
  display: grid;
  gap: 16px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 18px;
  border-radius: 6px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.contact-info-icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: #17302d;
  background: linear-gradient(180deg, #f3d97d, #c89b2f);
  box-shadow: 0 10px 18px rgba(0,0,0,0.14);
}

.contact-info-content {
  display: grid;
  gap: 6px;
  text-align: left;
}

.contact-info-label {
  color: rgba(255,255,255,0.56);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-info-value {
  color: #f4f0e6 !important;
  line-height: 1.5;
  word-break: break-word;
}

/* Shared Modal System */
.modal-backdrop.show {
  opacity: 1;
  background: rgba(3, 20, 24, 0.78);
  backdrop-filter: blur(6px);
}

.tg-modal .modal-dialog {
  max-width: 480px;
  margin: 1rem auto;
}

.tg-modal.fade .modal-dialog {
  transform: translateY(18px) scale(0.98);
}

.tg-modal.show .modal-dialog {
  transform: translateY(0) scale(1);
}

.tg-modal .modal-content {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(10, 55, 60, 0.96), rgba(4, 27, 31, 0.98));
  color: #f4f0e6;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(16px);
}

.tg-modal .modal-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), transparent 28%);
  pointer-events: none;
}

.tg-modal .modal-header,
.tg-modal .modal-body {
  position: relative;
  z-index: 1;
}

.tg-modal .modal-header {
  align-items: center;
  padding: 20px 22px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tg-modal .modal-title {
  margin: 0;
  font-family: "ALK Tommaso";
  font-size: 2rem;
  line-height: 1.05;
  background: linear-gradient(180deg, #a67519 0%, #b8860b 20%, #e0c56c 50%, #b8860b 80%, #7b651f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tg-modal .btn-close {
  opacity: 1;
  filter: invert(1) grayscale(1);
  background-size: 0.95rem;
  padding: 0.65rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  transition: transform 0.24s ease, background-color 0.24s ease, box-shadow 0.24s ease;
}

.tg-modal .btn-close:hover {
  transform: rotate(90deg);
  background-color: rgba(243, 217, 125, 0.18);
  box-shadow: 0 8px 18px rgba(0,0,0,0.14);
}

.tg-modal .modal-body {
  padding: 22px;
}

.tg-modal .modal-body.text-center {
  text-align: left !important;
}

.tg-modal form {
  display: grid;
  gap: 14px;
}

.tg-modal .form-label {
  margin-bottom: 8px;
  color: rgba(255,255,255,0.72);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tg-modal .form-control {
  min-height: 52px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: #f4f0e6;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.tg-modal .form-control::placeholder {
  color: rgba(255,255,255,0.42);
}

.tg-modal .form-control:focus {
  color: #fff;
  background: rgba(255,255,255,0.07);
  border-color: rgba(243, 217, 125, 0.42);
  box-shadow: 0 0 0 0.2rem rgba(243, 217, 125, 0.12);
}

.tg-legal-consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  line-height: 1.55;
  text-transform: none;
  cursor: pointer;
}

.tg-legal-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #f3d97d;
  cursor: pointer;
}

.tg-legal-consent a {
  color: #f7df8a;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

.tg-legal-consent a:hover,
.tg-legal-consent a:focus-visible {
  color: #fff;
}

.tg-modal .input-icon {
  position: relative;
}

.tg-modal .input-icon > i {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: rgba(243, 217, 125, 0.9);
  font-size: 0.92rem;
  pointer-events: none;
}

.tg-modal .input-icon .form-control {
  padding-left: 42px;
}

.tg-modal .forgot-pass-link {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f3d97d !important;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.tg-modal .forgot-pass-link:hover {
  transform: translateY(-50%) scale(1.05);
  border-color: rgba(243, 217, 125, 0.34);
  box-shadow: 0 8px 18px rgba(0,0,0,0.14);
}

.tg-modal .btn {
  min-height: 50px;
  border-radius: 6px;
  border-width: 1px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.tg-modal .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(0,0,0,0.14);
}

.tg-modal .btn-warning {
  border-color: rgba(243, 217, 125, 0.34);
  background: linear-gradient(180deg, rgba(243, 217, 125, 0.22), rgba(243, 217, 125, 0.1));
  color: #f7df8a;
}

.tg-modal .btn-warning:hover,
.tg-modal .btn-warning:focus {
  border-color: rgba(243, 217, 125, 0.52);
  background: linear-gradient(180deg, rgba(243, 217, 125, 0.28), rgba(243, 217, 125, 0.14));
  color: #fff;
}

.tg-modal .btn-outline-light {
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: #f5f1e8;
}

.tg-modal .btn-outline-light:hover,
.tg-modal .btn-outline-light:focus {
  border-color: rgba(243, 217, 125, 0.34);
  background: rgba(255,255,255,0.07);
  color: #fff;
}

.tg-modal .btn-primary,
.tg-modal .btn-secondary,
.tg-modal .btn-success,
.tg-modal .btn-dark,
.tg-modal .btn-danger {
  border-color: rgba(255,255,255,0.12);
  color: #f5f1e8;
}

.tg-modal .btn-primary {
  background: linear-gradient(180deg, rgba(243, 217, 125, 0.22), rgba(243, 217, 125, 0.1));
  border-color: rgba(243, 217, 125, 0.34);
  color: #f7df8a;
}

.tg-modal .btn-secondary {
  background: linear-gradient(180deg, rgba(104, 169, 255, 0.2), rgba(104, 169, 255, 0.08));
  border-color: rgba(104, 169, 255, 0.28);
}

.tg-modal .btn-success {
  background: linear-gradient(180deg, rgba(92, 201, 145, 0.18), rgba(92, 201, 145, 0.08));
  border-color: rgba(92, 201, 145, 0.28);
}

.tg-modal .btn-dark {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border-color: rgba(255,255,255,0.12);
}

.tg-modal .btn-danger {
  background: linear-gradient(180deg, rgba(215, 166, 166, 0.2), rgba(215, 166, 166, 0.08));
  border-color: rgba(215, 166, 166, 0.28);
}

.tg-modal #register-feedback,
.tg-modal #modalLoginError {
  padding: 12px 14px;
  border-radius: 4px;
  margin-bottom: 2px !important;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255, 255, 255, 0);
  line-height: 1.55;
}

.tg-modal #modalLoginError {
  color: #f2c3c3 !important;
  background: rgba(215, 166, 166, 0.1);
  border-color: rgba(215, 166, 166, 0.2);
}

.tg-modal .alert-success {
  color: #dff8ea;
  background: rgba(92, 201, 145, 0.12) !important;
  border-color: rgba(92, 201, 145, 0.2) !important;
}

.tg-modal .alert-danger {
  color: #f2c3c3;
  background: rgba(215, 166, 166, 0.12) !important;
  border-color: rgba(215, 166, 166, 0.2) !important;
}
.tg-modal #modalLoginError:empty {
    display: none;
}
@media (max-width: 991px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .teachers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .teachers-grid--single {
    grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
  }

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

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

@media (max-width: 767px) {
  .tg-modal .modal-dialog {
    max-width: calc(100% - 1rem);
    margin: 0.75rem auto;
  }

  .tg-modal .modal-header {
    padding: 18px 18px 12px;
  }

  .tg-modal .modal-title {
    font-size: 1.7rem;
  }

  .tg-modal .modal-body {
    padding: 18px;
  }

  .tg-modal .btn {
    min-height: 48px;
    border-radius: 12px;
  }

  .pricing-section,
  .teachers,
  .contact {
    padding: 20px 0 90px;
  }

  .pricing-intro,
  .teachers-intro,
  .contact-intro {
    margin-bottom: 26px;
  }

  .pricing-plan,
  .teacher-profile-body,
  .contact-copy-card,
  .contact-info-card {
    padding: 20px 18px;
  }

  .pricing-price-wrap {
    padding: 14px 16px;
  }

  .teachers-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .teachers-grid--single .teacher-profile-card {
    display: flex;
    min-height: 0;
  }

  .teacher-profile-media,
  .teachers-grid--single .teacher-profile-media {
    height: auto;
    aspect-ratio: 4 / 4.1;
  }

  .teachers-grid--single .teacher-profile-body {
    justify-content: flex-start;
    padding: 22px 18px;
  }

  .teachers-grid--single .teacher-profile-name {
    font-size: 1.8rem;
  }

  .teacher-profile-footer {
    flex-wrap: wrap;
  }

  .teacher-profile-link {
    flex: 1 1 auto;
  }

  .teacher-contact-actions {
    flex-wrap: wrap;
  }

  .contact-pill-row {
    gap: 8px;
  }

  .contact-pill {
    width: 100%;
    justify-content: center;
  }
}

/* Footer */
.site-footer {
  background: linear-gradient(145deg, #021d1d 0%, #064d4d 70%);
  color: rgba(255,255,255,0.92);
  font-size: 0.95rem;
  padding: 60px 0 30px;
}
.site-footer a {
  color: rgba(255, 204, 70, 0.95);
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}
.site-footer a:hover {
  color: #ffffff;
}
.footer-brand .logo-subtext {
  font-size: 1.65rem;
  font-weight:100;
  letter-spacing: 0.08em;
  color: #ffd56c;
  text-transform: uppercase;
}
.footerLogo {
  display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.footer-logo-link {
}
.footer-logo {
  max-width: 160px;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.18));
}
.footer-title {
    font-family: 'BPG Classic Medium';
    font-size: 1.48rem;
    color: #ffc300;
    margin-bottom: 1rem;
}
.footer-desc {
    line-height: 1.8;
    color: #ffc107;
    max-width: 440px;
    font-family: 'BPG Classic Medium';
}
.footer-contact {
  line-height: 2;
  color: rgba(255,255,255,0.86);
}
.footer-links li {
  margin-bottom: 0.85rem;
}
.footer-links a {
  color: rgba(255,255,255,0.82);
  display: inline-block;
}
.footer-links a:hover {
  transform: translateX(2px);
}
.social-footer a {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  color: #f0c040;
}
.social-footer a:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.18);
  color: #ffffff;
}
.footer-divider {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin: 32px 0 24px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  text-align: center;
  color: rgba(255,255,255,0.73);
}
.footer-copy {
  margin: 0;
}
.footer-actions {
  flex-wrap: wrap;
  gap: 16px;
}
.footer-link {
  color: rgba(255,255,255,0.78);
}
.footer-link:hover {
  color: #ffffff;
  text-decoration: underline;
}
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}
.footer-legal-links a {
  color: rgba(255,255,255,0.72);
  font-size: 0.82rem;
}
.footer-legal-links a:hover {
  color: #f7df8a;
}
@media (max-width: 767px) {
  .site-footer {
    padding: 40px 0 24px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-legal-links {
    justify-content: center;
  }
}

/*   COurse */ 
/* english course */
/* FULL PAGE CONTAINER */
.course-fullpage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px; /* spacing between sections */
  padding: 50px 20px;
  background: linear-gradient(180deg, #021d1d, #003333); /* subtle gradient */
  color: #fff;
  font-family: "ALK Tommaso", sans-serif;
}

/* COURSE TITLE */
.course-title-section {
  text-align: center;
}
.course-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  background: linear-gradient(90deg, #ffc300, #ff6b00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
  margin-bottom: 20px;
}
.course-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: #ffc107;
  text-shadow: 0 0 3px #00000050;
}
/* LEVEL SECTION */
.levels-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 60px;
}

/* CARD */
.level-card {
  position: relative;
  width: 320px;
  padding: 25px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(0,51,51,0.8), rgba(2,29,29,0.95));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  color: #fff;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  overflow: hidden;
}

/* glow line */
.level-card::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  top: 0;
  left: 0;
  background: linear-gradient(90deg,#d4af37,#ffc300,#d4af37);
}

/* hover effect */
.level-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* TITLE */
.level-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 10px;
}



/* SCHEDULE LIST */
.level-schedule {
  list-style: none;
  margin: 0;
}

/* ITEM */
.schedule-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  padding: 6px 10px;
  margin: 4px;
  border-radius: 50px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* hover chip */
.schedule-item:hover {
  background: rgba(255,195,0,0.2);
  border-color: #ffc300;
}

/* ICON */
.schedule-icon {
  font-size: 0.9rem;
}

/* NO SCHEDULE */
.no-schedule {
  color: #aaa;
  font-size: 0.9rem;
  margin-top: 10px;
}
/* No schedule */
.no-schedule {
  color: #ffcc66;
  font-style: italic;
}
.teacher-card {
  background: linear-gradient(135deg,#021d1d,#003333);
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  text-align: center;
  color: #fff;
  max-width: 350px;
  margin: 15px auto;
  transition: transform 0.3s ease;
}
.teacher-card:hover {
  transform: translateY(-5px);
}
.teacher-photo-wrap {
  width: 120px;
  height: 120px;
  margin: 0 auto 15px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #d4af37;
}
.teacher-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.teacher-names {
  font-size: 1.5rem;
  margin-bottom: 8px;
  font-weight: 700;
}
.teacher-bio {
  font-size: 1rem;
  color: #ffd700;
  margin-bottom: 15px;
}
.teacher-info p {
  font-size: 0.95rem;
  margin: 3px 0;
}
.teacher-courses p {
  font-size: 0.9rem;
  margin: 10px 0;
}
.teacher-socials a {
  display: inline-block;
  margin: 5px 8px;
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}
.teacher-socials a:hover {
  color: #d4af37;
}
/* 📱 Mobile only */
/* ----------------------- */
@media (min-width: 769px) {
  .fixed_L_S_B {
    display: none !important;
  }
}
@media (max-width: 768px) {
.fixed_L_S_B {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
}

.fixed_L_S_B .containerBox {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 12px 22px;

  background: rgba(0, 51, 51, 0.75);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);

  border-radius: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.fixed_L_S_B a {
  color: #ffffffcc;
  font-size: 20px;
  position: relative;
  transition: transform 0.25s ease, color 0.25s ease;
}

/* hover / tap */
.fixed_L_S_B a:hover {
  color: #00ffff;
  transform: translateY(-2px);
}

.fixed_L_S_B a:active {
  transform: scale(0.9);
}

/* 🔥 active icon */
.fixed_L_S_B a.active {
  color: #00ffff;
}

/* პატარა glow active-ზე */
.fixed_L_S_B a.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  background: #00ffff;
  border-radius: 50%;
}
}
.mobile_user {
width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-bottom: -120px;
      background-color: #021d1d; /* შენი ორიგინალური ფერი */
  background-image: url(../images/black-thread-light.png);
    gap: 150px; 
}
.user_title {
  font-size: 40px;
  color: #fff;
}
.user-icon-panel {
    max-width: 290px;
    width: 100%;
    background: #064d4d;
    border-radius: 3px;
    padding: 25px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        transform: translateY(-100px);
}
.user-icon-panel .icon-btn {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #003333;
    color: #fff;
    border-radius: 3px;
    font-size: 34px;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
}
/* LANG DROPDOWN */
.fixed_L_S_B .lang-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.fixed_L_S_B .lang-btn {
  width: 26px;
  height: 26px;
  margin: 0;
}

/* DROPDOWN MENU */
.fixed_L_S_B .lang-menu {
  flex-direction: column-reverse;
  gap: 16px;
  border-radius: 50px;
  transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
}

/* SHOW */
.fixed_L_S_B .lang-menu.show {
  transform: translateX(-50%) translateY(-150%);
}

/* FLAGS */
.fixed_L_S_B .lang-menu img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  transition: 0.2s;
}

.fixed_L_S_B .lang-menu img:hover {
  transform: scale(1.15);
}
/* -------------------------*/
  @media (max-width: 992px) {
    /* Preloader */
    .logo-container .prelogo {
      width: 150px;
    }

    .back-to-top {
      right: 18px;
      bottom: 22px;
      width: 48px;
      height: 48px;
    }
    .top-head .social {
        display: none !important; 
    }

  .login-form {
    display: none !important;
  }
 
  
  /* Carousel */
  .carousel-control-next {
    right: 10px;
  } 
  .carousel-control-prev {
    left: 10px;
  }
  .carousel-control-next-icon, .carousel-control-prev-icon{
    background-color: #064d4dc2;
  }
    /* Section */

  .btn_start, .btn_signup {
    font-size: 15px;
  }
  .btn_box p {
    padding: 5px;
  }


}

/* How To pinned layout, matching Why Us */
.howto-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}

.howto-intro {
  max-width: 760px;
  margin: 0;
  text-align: left;
}

.howto-intro .section_title,
.howto-intro .cta-text {
  text-align: left;
}

.howto .contact-cta {
  margin-top: 22px;
}

.howto .cta-buttons {
  justify-content: flex-start;
}

.howto-grid {
  grid-template-columns: 1fr;
  gap: clamp(42px, 11vh, 120px);
}

.howto-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.72;
  transform: translate3d(0, 18px, 0);
  transition: opacity 0.45s ease, transform 0.45s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  will-change: transform, opacity;
}

.howto-card.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (min-width: 1024px) {
  .howto-intro {
    position: sticky;
    top: 112px;
    min-height: min(64vh, 560px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 8vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .howto-card {
    opacity: 1;
    transform: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    will-change: auto;
  }
}

@media (max-width: 991px) {
  .howto-layout {
    display: block;
  }

  .howto-intro {
    max-width: 760px;
    margin: 0 auto 36px;
    text-align: center;
  }

  .howto-intro .section_title,
  .howto-intro .cta-text {
    text-align: center;
  }

  .howto .cta-buttons {
    justify-content: center;
  }

  .howto-card {
    min-height: 100%;
    opacity: 1;
    transform: none;
    will-change: auto;
  }
}

@media (max-width: 767px) {
  .howto-intro {
    margin-bottom: 24px;
  }

  .howto-card {
    min-height: 0;
  }
}

/* Course application selections */
.tg-course-application-selections {
  display: grid;
  gap: 12px;
}

.tg-course-application-selection {
  min-width: 0;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.tg-course-application-selection .form-label {
  margin-bottom: 7px;
}

.tg-course-application-remove {
  width: 38px;
  height: 38px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tg-course-application-summary {
  display: grid;
  gap: 6px;
}

.tg-course-application-summary ul {
  color: rgba(255, 255, 255, 0.86);
}

/* Administrator-only shortcuts, independent of the scrolled login bar. */
.tg-admin-navigation {
  position: fixed;
  top: 50%;
  left: 16px;
  z-index: 1030;
  display: grid;
  gap: 8px;
  transform: translateY(-50%);
}

.tg-admin-navigation__link {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #fff6d7;
  border: 1px solid rgba(243, 217, 125, 0.35);
  border-radius: 50%;
  background: #053839;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
  text-align: center;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.tg-admin-navigation__icon {
  display: grid;
  place-items: center;
  color: #f3d97d;
  font-size: 21px;
}

.tg-admin-navigation__link:hover,
.tg-admin-navigation__link:focus-visible,
.tg-admin-navigation__link.is-current {
  color: #053839;
  border-color: #f3d97d;
  background: #f3d97d;
}

.tg-admin-navigation__link:hover .tg-admin-navigation__icon,
.tg-admin-navigation__link:focus-visible .tg-admin-navigation__icon,
.tg-admin-navigation__link.is-current .tg-admin-navigation__icon {
  color: inherit;
}

.tg-admin-navigation__link:focus-visible {
  outline: 2px solid #ffffff !important;
  outline-offset: 3px;
}

body.modal-open .tg-admin-navigation {
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 782px) {
  .tg-admin-navigation {
    left: 8px;
  }

  .tg-admin-navigation__link {
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tg-admin-navigation__link {
    transition: none;
  }
}

@media print {
  .tg-admin-navigation {
    display: none;
  }
}

/* Fixed section navigation */
.section-navigation {
  --section-navigation-progress: 0;
  --section-navigation-top: 110px;
  --section-navigation-bottom: 96px;
  position: fixed;
  top: var(--section-navigation-top);
  right: 26px;
  bottom: var(--section-navigation-bottom);
  z-index: 850;
  display: flex;
  width: 42px;
}

.section-navigation__items {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  list-style: none;
}

.section-navigation__track,
.section-navigation__progress {
  position: absolute;
  left: 20px;
  width: 2px;
  border-radius: 1px;
}

.section-navigation__track {
  top: 21px;
  bottom: 21px;
  background: rgba(255, 255, 255, 0.2);
}

.section-navigation__progress {
  left: 0;
  top: 0;
  bottom: 0;
  background: #f3d97d;
  transform: scaleY(var(--section-navigation-progress));
  transform-origin: top;
  transition: transform 0.22s ease;
}

.section-navigation__button {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
}

.section-navigation__icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: #053839;
  box-shadow: 0 0 0 3px rgba(1, 43, 59, 0.82);
  color: #f4f0e6;
  font-size: 0.94rem;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.section-navigation__button:hover .section-navigation__icon {
  border-color: #f3d97d;
  transform: scale(1.08);
}

.section-navigation__button.is-active .section-navigation__icon {
  border-color: #f3d97d;
  background: #f3d97d;
  color: #053839;
  transform: scale(1.2);
}

.section-navigation__label {
  position: absolute;
  right: 52px;
  width: max-content;
  max-width: 180px;
  padding: 6px 9px;
  border: 1px solid rgba(243, 217, 125, 0.25);
  border-radius: 6px;
  background: rgba(1, 43, 59, 0.96);
  color: #f4f0e6;
  font-size: 0.84rem;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transform: translateX(6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.section-navigation__button:hover .section-navigation__label,
.section-navigation__button:focus-visible .section-navigation__label {
  opacity: 1;
  transform: translateX(0);
}

.section-navigation__button:focus-visible {
  outline: 2px solid #f3d97d;
  outline-offset: 4px;
  border-radius: 50%;
}

@media (max-width: 1023px), (prefers-reduced-motion: reduce) {
  .section-navigation {
    display: none;
  }
}

/* Teacher public profile */
.teacher-profile-page {
  min-height: 100vh;
  overflow: hidden;
  color: #f5f2e9;
  background: rgba(4, 40, 42, 0.42);
}

.teacher-profile-hero {
  padding: 54px 0 78px;
}

.teacher-profile-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.94rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.teacher-profile-back:hover {
  color: #f3d97d;
  transform: translateX(-3px);
}

.teacher-profile-hero__grid {
  display: grid;
  grid-template-columns: minmax(280px, 460px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(42px, 7vw, 96px);
}

.teacher-profile-portrait {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(243, 217, 125, 0.28);
  border-radius: 8px;
  background: #d8d4c8;
  box-shadow: 24px 24px 0 rgba(243, 217, 125, 0.07), 0 26px 56px rgba(0, 0, 0, 0.24);
}

.teacher-profile-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 8px solid rgba(255, 255, 255, 0.035);
  pointer-events: none;
}

.teacher-profile-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.teacher-profile-summary {
  min-width: 0;
  max-width: 720px;
}

.teacher-profile-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #f3d97d;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.teacher-profile-eyebrow::after {
  content: "";
  width: 54px;
  height: 1px;
  background: rgba(243, 217, 125, 0.54);
}

.teacher-profile-summary h1 {
  max-width: 100%;
  margin: 0;
  color: #f8e6a2;
  font-size: 4.2rem;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.teacher-profile-position {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.16rem;
  line-height: 1.5;
}

.teacher-profile-about {
  max-width: 650px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.teacher-profile-about h2 {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  font-weight: 700;
}

.teacher-profile-about p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.03rem;
  line-height: 1.75;
}

.teacher-profile-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
}

.teacher-profile-action,
.teacher-profile-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.9);
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.teacher-profile-action {
  gap: 9px;
  max-width: 100%;
  padding: 10px 15px;
}

.teacher-profile-action span {
  overflow-wrap: anywhere;
}

.teacher-profile-action--primary {
  border-color: rgba(243, 217, 125, 0.44);
  color: #f8e6a2;
}

.teacher-profile-social {
  width: 44px;
  padding: 0;
  font-size: 1.05rem;
}

.teacher-profile-action:hover,
.teacher-profile-social:hover {
  border-color: rgba(243, 217, 125, 0.58);
  background: rgba(243, 217, 125, 0.12);
  color: #f8e6a2;
  transform: translateY(-2px);
}

.teacher-profile-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 30px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.teacher-profile-fact {
  min-width: 0;
  padding: 18px 20px 18px 0;
}

.teacher-profile-fact + .teacher-profile-fact {
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.teacher-profile-fact dt {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 7px;
  color: #f3d97d;
  font-size: 0.82rem;
  font-weight: 700;
}

.teacher-profile-fact dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.teacher-profile-courses-band {
  padding: 64px 0 88px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.11);
}

.teacher-profile-section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.teacher-profile-section-heading i {
  color: #f3d97d;
}

.teacher-profile-section-heading h2 {
  margin: 0;
  color: #f8e6a2;
  font-size: 1.55rem;
}

.teacher-profile-course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.teacher-profile-course {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 13px;
  min-height: 92px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: #f5f2e9;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.teacher-profile-course:hover {
  border-color: rgba(243, 217, 125, 0.46);
  background: rgba(243, 217, 125, 0.08);
  color: #fff;
  transform: translateY(-2px);
}

.teacher-profile-course__icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: rgba(243, 217, 125, 0.13);
  color: #f3d97d;
}

.teacher-profile-course__content {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.teacher-profile-course__content strong {
  color: inherit;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.teacher-profile-course__content small {
  color: rgba(255, 255, 255, 0.58);
}

.teacher-profile-course__levels {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.teacher-profile-course__arrow {
  color: #f3d97d;
  transition: transform 0.2s ease;
}

.teacher-profile-course:hover .teacher-profile-course__arrow {
  transform: translateX(3px);
}

.teacher-profile-empty {
  margin: 0;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 991px) {
  .teacher-profile-hero {
    padding-top: 40px;
  }

  .teacher-profile-hero__grid {
    grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
    gap: 38px;
  }

  .teacher-profile-summary h1 {
    font-size: 2.8rem;
  }

  .teacher-profile-course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .teacher-profile-hero {
    padding: 28px 0 52px;
  }

  .teacher-profile-back {
    margin-bottom: 22px;
  }

  .teacher-profile-hero__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .teacher-profile-portrait {
    max-width: none;
    aspect-ratio: 4 / 4.8;
    box-shadow: 14px 14px 0 rgba(243, 217, 125, 0.06), 0 20px 42px rgba(0, 0, 0, 0.2);
  }

  .teacher-profile-summary h1 {
    font-size: 2.35rem;
  }

  .teacher-profile-about {
    margin-top: 26px;
    padding-top: 20px;
  }

  .teacher-profile-actions {
    align-items: stretch;
    margin-top: 24px;
  }

  .teacher-profile-action {
    width: 100%;
    justify-content: flex-start;
  }

  .teacher-profile-facts {
    grid-template-columns: 1fr;
  }

  .teacher-profile-fact {
    padding: 16px 0;
  }

  .teacher-profile-fact + .teacher-profile-fact {
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 0;
  }

  .teacher-profile-courses-band {
    padding: 48px 0 64px;
  }

  .teacher-profile-course-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .teacher-profile-back,
  .teacher-profile-action,
  .teacher-profile-social,
  .teacher-profile-course,
  .teacher-profile-course__arrow {
    transition: none;
  }
}

