@font-face {
  font-family: "Outfit";
  src: url(../fonts/Outfit-VariableFont_wght.ttf);
  font-display: swap;
}
@font-face {
  font-family: "Lora Italic";
  src: url(../fonts/Lora-Italic-VariableFont_wght.ttf);
  font-display: swap;
  font-style: italic;
}
:root {
  --fistudy-font: 'Outfit', sans-serif;
  --fistudy-font-two: 'Lora Italic', serif;
  --fistudy-gray: #6B778B;
  --fistudy-base: #687EFF;
  --fistudy-black: #052143;
  --fistudy-primary: #F87A53;
  --fistudy-white: #ffffff;
  --fistudy-bdr-color: #D1E3FB;
  --fistudy-base-rgb: 104, 126, 255;
}

body {
  font-family: var(--fistudy-font);
  color: var(--fistudy-gray);
  font-size: 18px;
  line-height: 1.6;
  background: #fff;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--fistudy-black);
  font-weight: 600;
  margin: 0;
}

a {
  text-decoration: none;
  transition: all 0.3s;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
/* ==============================================
           STICKY HEADER (based on main-menu)
           ============================================== */
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  z-index: 999;
  padding: 15px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-info-text {
  font-size: 14px;
  color: var(--fistudy-gray);
  font-style: italic;
}
a.logo {
  display: flex;
}

/* ==============================================
           BUTTONS (thm-btn style)
           ============================================== */
.thm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--fistudy-base);
  color: white;
  font-weight: 500;
  padding: 12px 30px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  gap: 8px;
}

.thm-btn i {
  font-size: 14px;
}

.thm-btn:hover {
  background: var(--fistudy-black);
  color: white;
}

.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: white;
}

/* ==============================================
           SECTION TITLES (from section-title)
           ============================================== */
.section-title {
  margin-bottom: 40px;
}

.section-tagline {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fistudy-base);
  font-family: var(--fistudy-font-two);
  font-style: italic;
  font-weight: 500;
  margin-bottom: 10px;
}

.section-title__title {
  font-size: 40px;
  line-height: 1.2;
  color: var(--fistudy-black);
}

/* ==============================================
           HERO / START BLOCK (banner style)
           ============================================== */
.hero-section {
  position: relative;
  background: url(../images/bg.webp) no-repeat center / cover;
  padding: 180px 0 120px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.hero-section::before {
  position: absolute;
  content: "";
  background-color: var(--fistudy-black);
  width: 100%;
  height: 100%;
  display: block;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  opacity: 0.7;
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 56px;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 20px;
}
.hero-section h2 {
  color: var(--fistudy-base);
  font-family: var(--fistudy-font-two);
}

.hero-text {
  font-size: 18px;
  color: #fff;
  max-width: 600px;
  margin-bottom: 30px;
}

/* ==============================================
           ABOUT / BLOCK 1 (skill-one style)
           ============================================== */
.about-block {
  padding: 100px 0;
  background: linear-gradient(97.94deg, #ECF2FF -1.74%, #FEFFF4 49.13%, #F6F8FF 100%);
  position: relative;
}

.exp-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background: white;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  padding: 15px 25px;
  border-radius: 45px;
  max-width: 250px;
}

.exp-box img {
  width: 40px;
}

.exp-number {
  font-size: 24px;
  font-weight: 600;
  color: var(--fistudy-base);
}

.img-radius {
  border-radius: 30px;
  width: 100%;
  border: 6px solid white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.about-block img {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* ==============================================
           CATEGORY / BLOCK 2 (category-two)
           ============================================== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.category-item {
  background: #FCFCFF;
  border: 1px solid var(--fistudy-bdr-color);
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  font-weight: 500;
  color: var(--fistudy-black);
  transition: 0.2s;
}

/* ==============================================
           PRODUCT CARDS (courses-one style)
           ============================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  background: white;
  border: 1px solid var(--fistudy-bdr-color);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-img {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
  background: #eef2f6;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b778b;
}

.product-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
}

.product-price {
  font-size: 20px;
  font-weight: 600;
  color: var(--fistudy-primary);
  margin-bottom: 16px;
}
.product-card a {
  justify-self: flex-end;
  margin-top: auto !important;
}

/* ==============================================
           FEATURES / BLOCK 4 (why-choose)
           ============================================== */
.features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.row {
  row-gap: 20px;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(104, 126, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fistudy-base);
  font-size: 24px;
}

/* ==============================================
           CONTACT FORM (contact-three style)
           ============================================== */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid var(--fistudy-bdr-color);
  border-radius: 12px;
  font-family: inherit;
  margin-bottom: 20px;
  outline: none;
}

.contact-form button {
  width: 100%;
  padding: 16px;
  font-size: 18px;
}

/* ==============================================
           FOOTER (site-footer style)
           ============================================== */
.site-footer {
  background: var(--fistudy-black);
  color: #fff;
  padding: 60px 0 30px;
}

.footer-disclaimer {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.6;
  margin: 25px 0;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: var(--fistudy-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 50px;
  padding-top: 30px;
  display: flex;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
}
.feature-item img {
  margin: 0;
}
@media (max-width: 992px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-list {
    grid-template-columns: 1fr;
  }
}
.contact-form .row {
  row-gap: 0;
}
footer img {
  margin: 0;
}
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    text-align: center;
    row-gap: 10px;
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-title {
    font-size: 48px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  .container h3 {
    text-align: center;
  }
}
@media screen and (max-width: 576px) {
  .exp-box {
    flex-direction: column;
    font-size: 14px;
    gap: 0;
  }
    .exp-box div {
      display: flex;
      align-items: center;
      text-align: center;
    }
}
#cookPopup {
  display: none;
  justify-content: space-between;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  position: fixed;
  bottom: 15px;
  left: 50%;
  width: 900px;
  max-width: 90%;
  transform: translateX(-50%);
  padding: 25px;
  background-color: white;
  border-radius: 20px;
  box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.4);
  z-index: 9999
}
#cookPopup p {
  margin: 0;
  text-align: center
}
@media(min-width:576px) {
  #cookPopup.show {
    display: flex;
    align-items: center
  }
}
@media(max-width:575px) {
  #cookPopup.show {
    display: block;
    text-align: left
  }
  .cookPopup_btn {
    margin: 10px 0 0 0
  }
}
.cookPopup_title {
  font-size: 16px;
  font-weight: 700
}
.cookPopup_desc {
  font-size: 16px
}
.show {
  display: flex !important
}
.thanks {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  padding: 200px 0 150px;
}
.thanks .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 10px;
}
.thanks img {
  width: 100px;
  height: auto;
  margin-bottom: 10px;
}
.thanks p {
  text-align: center;
  font-size: 18px;
  color: var(--second-color);
}
.thanks p.thanks-text {
  font-family: var(--fistudy-font-two);
  font-weight: 700;
  font-style: italic;
}
.docs {
  word-break: break-word;
  padding: 120px 0 80px;
}
.docs h1 {
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}
.docs h2 {
  margin-bottom: 10px;
  font-size: 32px;
}
.docs h3 {
  margin-bottom: 10px;
  font-size: 26px;
}
.docs li,
.docs p {
  color: inherit;
  line-height: 1.929;
}
.docs a {
  text-decoration: none !important;
  color: var(--fistudy-base);
  transition: 0.3s;
}
.docs a:hover {
  color: var(--fistudy-primary);
}
@media screen and (max-width: 767.98px) {
  .docs {
      padding: 160px 0 80px;
    }
        .hero-section {
          padding-top: 200px;
        }
}