/* =========================================================
   Whatski – Custom CSS for index/header page
   File: assets/css/custom-style.css
   Paste this code in custom-style.css after main.css
   ========================================================= */

:root {
  --primary: #25D366;
  --primary-dark: #128C7E;
  --primary-soft: #e9fff3;
  --dark: #0f172a;
  --text: #475569;
  --muted: #64748b;
  --border: #e2e8f0;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
}

body {
  color: var(--text);
  background: #ffffff;
}

/* Header */
.tg-header__top {
  background: var(--dark);
  color: #dbeafe;
  padding: 10px 0;
  font-size: 14px;
}

.tg-header__top a,
.tg-header__top span,
.tg-header__phone {
  color: #e2e8f0;
}

.tg-header__top a:hover,
.tg-header__top-social a:hover {
  color: var(--primary);
}

.tg-header__area {
  background: var(--white);
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.06);
  z-index: 99;
}

.tgmenu__nav {
  min-height: 82px;
}

.navigation > li > a {
  color: var(--dark);
  font-weight: 700;
  padding: 31px 18px;
}

.navigation > li.active > a,
.navigation > li:hover > a {
  color: var(--primary-dark);
}

.sub-menu,
.mega-menu {
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.sub-menu li a {
  font-weight: 600;
}

.sub-menu li a:hover {
  color: var(--primary-dark);
  background: var(--primary-soft);
}

.tg-badge,
.tg-badge-two {
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  color: #fff;
  background: var(--primary);
}

.tg-badge-two {
  background: #0ea5e9;
}

.header-btn.login-btn a,
.btn.arrow-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff !important;
  border-radius: 999px;
  padding: 14px 26px;
  font-weight: 800;
  border: 0;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.28);
  transition: 0.3s ease;
}

.header-btn.login-btn a:hover,
.btn.arrow-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(18, 140, 126, 0.35);
}

.tgmenu__search-form {
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  background: #f8fafc;
}

.tgmenu__search-form input,
.tgmenu__search-form select {
  background: transparent;
}

/* Banner */
.banner-area {
  position: relative;
  padding: 110px 0 95px;
  overflow: hidden;
  background-color: #f8fffb;
  background-size: cover;
  background-position: center;
}

.banner-area::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(37, 211, 102, 0.16), transparent 32%),
    radial-gradient(circle at 85% 35%, rgba(18, 140, 126, 0.12), transparent 30%);
  pointer-events: none;
}

.banner__content,
.banner__images {
  position: relative;
  z-index: 1;
}

.banner__content .sub-title,
.section__title .sub-title {
  display: inline-block;
  color: var(--primary-dark);
  background: var(--primary-soft);
  border: 1px solid rgba(37, 211, 102, 0.25);
  padding: 7px 15px;
  border-radius: 999px;
  font-weight: 800;
  margin-bottom: 16px;
}

.banner__content .title {
  color: var(--dark);
  font-size: clamp(36px, 5vw, 62px) !important;
  line-height: 1.08 !important;
  font-weight: 900;
  letter-spacing: -1px;
}

.banner__content p {
  max-width: 590px;
}

.price-badge p {
  display: inline-block;
  margin: 0;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 14px 18px;
}

.banner__btn-wrap {
  flex-wrap: wrap;
}

.banner__images .main-img {
  width: 100%;
  max-width: 520px;
  animation: floatY 4s ease-in-out infinite;
}

.shape,
.line-shape {
  pointer-events: none;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* Section title */
.section-py-120 {
  padding-top: 100px;
  padding-bottom: 100px;
}

.section__title .title {
  color: var(--dark);
  font-weight: 900;
  line-height: 1.2;
}

.section__title .desc,
.about__content .desc {
  color: var(--muted);
  line-height: 1.75;
}

/* Categories / Services */
.categories-area {
  background: #ffffff;
}

.categories__wrap {
  position: relative;
}

.categories__item a {
  display: block;
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 34px 22px;
  min-height: 175px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
  transition: 0.3s ease;
}

.categories__item a:hover {
  transform: translateY(-8px);
  border-color: rgba(37, 211, 102, 0.45);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.categories__item .icon {
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 22px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  font-size: 34px;
}

.categories__item .name {
  display: block;
  color: var(--dark);
  font-size: 17px;
  font-weight: 800;
}

.categories__nav button {
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #fff;
  transition: 0.3s ease;
}

.categories__nav button:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.categories__nav button:hover path {
  stroke: #fff;
}

/* About */
.about-area {
  background: #f8fafc;
  position: relative;
  overflow: hidden;
}

.about__images {
  position: relative;
}

.about__images .main-img {
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.popup-video {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 74px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  box-shadow: 0 14px 35px rgba(18, 140, 126, 0.35);
}

.about__enrolled {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: #fff;
  border-radius: 18px;
  padding: 14px 18px;
  box-shadow: var(--shadow);
}

.about__enrolled .title {
  margin: 0 0 8px;
  color: var(--dark);
  font-weight: 800;
}

.about__enrolled .title span {
  color: var(--primary-dark);
}

.about__info-list {
  margin: 28px 0 34px;
  padding: 0;
}

.about__info-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 13px;
  color: var(--dark);
  font-weight: 700;
}

.about__info-list-item i {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: var(--primary-dark);
  border-radius: 50%;
}

/* Facts */
.fact__area {
  padding: 70px 0;
  background: linear-gradient(135deg, var(--primary-dark), #075e54);
}

.fact__inner-wrap {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  padding: 35px 20px;
}

.fact__item {
  text-align: center;
  padding: 16px;
}

.fact__item .count {
  color: #fff;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
  margin-bottom: 6px;
}

.fact__item p {
  margin: 0;
  color: #d9fff0;
  font-weight: 700;
}

/* Testimonials */
.testimonial__area-two {
  background-size: cover;
  background-position: center;
  position: relative;
}

.testimonial__item-two {
  height: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.testimonial__content-two .title {
  color: var(--dark);
  font-weight: 900;
}

.rating i {
  color: #f59e0b;
}

.testimonial__content-two p {
  color: var(--muted);
  line-height: 1.75;
}

.testimonial__author-two {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

.testimonial__author-thumb-two img {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial__author-content-two .title {
  margin: 0;
  color: var(--dark);
  font-size: 18px;
  font-weight: 900;
}

.testimonial__author-content-two span {
  color: var(--primary-dark);
  font-weight: 700;
}

/* Mobile menu */
.mobile-nav-toggler {
  color: var(--dark);
  font-size: 28px;
}

.tgmobile__menu-box {
  background: #fff;
}

.tgmobile__search input {
  border: 1px solid var(--border);
  border-radius: 12px;
}

/* Scroll top */
.scroll__top {
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
}

/* Responsive */
@media (max-width: 1199px) {
  .tgmenu__nav {
    min-height: 74px;
  }

  .banner-area {
    padding: 85px 0 75px;
  }
}

@media (max-width: 991px) {
  .tg-header__top {
    display: none;
  }

  .banner__content {
    text-align: center;
    margin-bottom: 50px;
  }

  .banner__content p,
  .banner__btn-wrap {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  .banner__images {
    text-align: center;
  }

  .about__content {
    margin-top: 45px;
  }

  .section-py-120 {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

@media (max-width: 767px) {
  .banner-area {
    padding: 65px 0;
  }

  .banner__content .title {
    font-size: 34px !important;
  }

  .price-badge p {
    font-size: 17px !important;
  }

  .banner__btn-wrap {
    gap: 12px !important;
  }

  .btn.arrow-btn,
  .header-btn.login-btn a {
    padding: 13px 22px;
  }

  .categories__item a {
    min-height: auto;
    padding: 28px 18px;
  }

  .about__enrolled {
    position: static;
    margin-top: 18px;
  }

  .fact__inner-wrap {
    padding: 22px 8px;
  }

  .testimonial__item-two {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .banner__content .title {
    font-size: 30px !important;
  }

  .banner__btn-wrap {
    flex-direction: column;
  }

  .section__title .title {
    font-size: 28px;
  }
}
