@import url("mainstyle.css");

* {
  font-family: var(--primefont);
}

html {
  scroll-behavior: smooth;
}

section[id],
#home {
  scroll-margin-top: 88px;
}

a {
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
}

.brand-mark svg {
  width: 40px;
  height: 40px;
}

.brand-word {
  font-family: var(--secondfont);
  letter-spacing: 2px;
  font-size: 28px;
  line-height: 1;
  color: var(--nav-text);
  white-space: nowrap;
}

.brand-word span {
  color: var(--prime-text);
}

.footer-section .brand-word,
.offcanvas .brand-word {
  color: var(--nav-text);
}

.footer-section .brand-word {
  color: #ffffff;
}

.icon-bg {
  min-width: 35px;
  min-height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--icon-text);
}

.icon-xl {
  min-width: 60px !important;
  min-height: 60px !important;
}

header {
  transition: 0.2s ease;
  z-index: 999;
}

.nav-link {
  color: var(--nav-text);
  font-weight: 500;
}

.nav-item.active .nav-link,
.nav-item:hover .nav-link,
.nav-item .nav-link:focus,
.f-nav-item:hover .f-nav-link,
.f-nav-item .f-nav-link:focus {
  color: var(--prime-text) !important;
}

.theme-switch-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.head-content h2 {
  letter-spacing: 2px;
}

.hero-banner {
  background: linear-gradient(to right, rgb(41, 50, 60) 0%, rgba(0, 0, 0, 0.4) 100%),
    url("../../assets/images/banner.png") no-repeat top/cover;
  min-height: 700px;
  display: flex;
}

.banner-content {
  width: 750px;
  max-width: 100%;
  color: #fff;
}

@media (max-width: 992px) {
  .hero-banner {
    min-height: 450px;
  }

  .about-banner {
    min-height: 500px !important;
  }

  .banner-content {
    padding: 5px;
  }

  .banner-content h2 {
    font-size: 35px;
  }

  .banner-content p {
    font-weight: normal;
    font-size: 14px;
  }
}

@media (max-width: 992px) {
  .partner-gallery .seal {
    min-width: 110px;
  }

  .fs-10 {
    font-size: 28px !important;
  }
}

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

.partner-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.partner-gallery .seal {
  min-width: 150px;
  border: 1px solid var(--prime-border);
  color: #fff;
  padding: 10px 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}

.feature-list li {
  padding: 0.5rem 0;
  font-size: 1rem;
  color: var(--head-text);
}

.about-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card .card-body {
  flex: 1 1 auto;
}

.about-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.about-content-image img {
  height: 100%;
  min-height: 400px;
  max-height: 700px;
}

@media (min-width: 992px) and (max-width: 1200px) {
  .about-content-image img {
    height: 100%;
    min-height: 400px;
    max-height: 500px !important;
  }
}

.trainer-image-container {
  width: 100%;
  max-height: 350px;
  overflow: hidden;
}

.trainer-image-container img {
  transition: transform 0.4s ease;
  object-position: top;
}

.trainer-card:hover .trainer-image-container img {
  transform: scale(1.1);
}

.ribbon-wrapper {
  width: 150px;
  height: 150px;
  overflow: hidden;
  position: absolute;
  top: -10px;
  right: -10px;
  z-index: 10;
}

.ribbon {
  font-size: 14px;
  text-align: center;
  font-weight: bold;
  line-height: 20px;
  transform: rotate(45deg);
  position: absolute;
  display: block;
  width: 155px;
  padding: 10px 0;
  top: 30px;
  right: -30px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

.contact-banner {
  position: relative;
  min-height: 500px;
  background: linear-gradient(to bottom right, #121a13, #1b3321, #749e60, #3e5540, #0d1117);
  background-position: left top;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.form-control:focus,
.form-select:focus {
  box-shadow: none !important;
  border: 1px solid var(--prime-border) !important;
}

::placeholder {
  color: var(--white-text) !important;
  text-transform: capitalize;
  opacity: 0.6 !important;
}

.footer-section {
  background: linear-gradient(to right, rgb(20, 20, 20) 0%, rgba(0, 0, 0, 0.4) 100%),
    url("../../assets/images/footer-section.png") no-repeat;
  background-size: cover;
  background-position: center;
}

#backtotop {
  position: fixed;
  bottom: 60px;
  right: 30px;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  width: 50px !important;
  min-width: unset;
  height: 50px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#backtotop.show {
  opacity: 1;
  visibility: visible;
}

div.error {
  color: rgb(255, 50, 50);
  background-color: rgb(247, 247, 247);
  font-size: 14px;
  padding: 0 5px;
}

.about-banner {
  background: linear-gradient(to right, rgb(41, 50, 60) 0%, rgba(0, 0, 0, 0.4) 100%),
    url("../../assets/images/about-banner.png") no-repeat top/cover;
  min-height: 550px;
  display: flex;
}

.story-card {
  perspective: 1000px;
}

.story-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
}

.story-card:hover .icon {
  transform: rotateY(180deg);
}

.story-image,
.main-image {
  overflow: hidden;
}

.main-image img {
  transition: transform 0.6s ease;
}

.story-image img {
  max-height: 300px;
  width: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s ease;
}

.story-image:hover img,
.main-image:hover img {
  transform: scale(1.1);
}

.scope-form .form-control:focus,
.scope-form .form-select:focus {
  box-shadow: none !important;
  border: 1px solid var(--prime-border);
}

.scope-form .input-text::placeholder {
  color: var(--para-text) !important;
  text-transform: capitalize;
}

.scope-form .input-text {
  color: var(--para-text) !important;
}

.scope-result {
  display: none;
  margin: 0;
}

.low-price-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  border: 1px solid transparent;
}

.low-price-card:hover {
  transform: translateY(-10px);
  border-color: var(--prime-border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.catalog-form .form-control:focus {
  box-shadow: none !important;
  border: 1px solid var(--prime-border);
}
.catalog-form .input-text {
  color: var(--para-text) !important;
}
.catalog-form .input-text::placeholder {
  color: var(--para-text) !important;
  opacity: 0.6;
}

.location-map {
  min-height: 200px;
  background: linear-gradient(160deg, #1b3321, #29323c);
  border: 1px solid var(--prime-border);
  color: #fff;
  padding: 24px;
}

#about .row.g-2 > [class*="col-"] {
  display: flex;
}

#catalog .row.g-4 > [class*="col-"] {
  display: flex;
}

.class-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.class-card .card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.class-card .card-body p {
  flex: 1 1 auto;
}

.class-card .card-icon img,
.class-card .card-icon svg {
  height: 54px;
  width: 54px;
}

[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos].aos-show {
  opacity: 1;
  transform: none;
}

[data-aos="zoom-in"] {
  transform: scale(0.96);
}

[data-aos="zoom-in"].aos-show {
  transform: scale(1);
}

[data-aos="fade-right"] {
  transform: translateX(-24px);
}

[data-aos="fade-right"].aos-show {
  transform: none;
}

@media (max-width: 767.98px) {
  .navbar-toggler {
    min-width: 44px;
    min-height: 44px;
  }

  .offcanvas-body .nav-link {
    padding: 12px 0;
  }

  .partner-gallery {
    justify-content: center;
    margin-top: 16px;
  }

  .brand-mark svg {
    width: 32px;
    height: 32px;
  }

  .brand-word {
    font-size: 20px;
    letter-spacing: 1px;
  }

  .hero-banner h1,
  .about-banner h1 {
    font-size: 2.5rem;
  }

  .contact-banner h2 {
    color: #ffffff !important;
  }
}
