/*
Theme Name: Karmaprakashan
Author: Karmaprakashan
Description: Custom WordPress Theme
Version: 1.0
Text Domain: karmaprakashan
*/

:root {
  --font-family: "Plus Jakarta Sans", sans-serif;
  --primary: #003366;
  --primary-hover: #002244;
  --secondary: #f5f5f5;
  --yellow: #ffb604;
  --white: #ffffff;
  --black: #000;
  --dark: #000;
  --red-color: #c0392b;
  --red-border: #f1aeb5;
  --border-gray: #0000001a;
  --red-bg: #fff0f0;
  --shadow: rgba(0, 0, 0, 0.08);
  --success-border: #28a745;
  --success-color: #1a7f4b;

  /* Blues / navy */
  --primary-rgb: 0, 51, 102;
  --primary-focus: rgba(0, 51, 102, 0.1);
  --text-muted: #44556a;
  --border-light: #f0f2f7;
  --border-mid: #dde2f0;
  --bg-page: #f4f6fb;
  --bg-tag: #EBF2FF;
  --success-bg: #edfaf1;
  --success-dark: #155724;
  --warning-bg: #fff3cd;
  --warning-color: #856404;
  --error-bg-deep: #f8d7da;
  --error-dark: #721c24;
  --shadow-card: 0 8px 40px rgba(0, 0, 0, 0.07);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-btn: 0 4px 18px rgba(0, 51, 102, 0.25);
  --shadow-btn-hover: 0 6px 22px rgba(0, 51, 102, 0.35);
}

.added_to_cart.wc-forward {
  display: none !important;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
}

.container {
  max-width: 1300px;
  margin: 0 auto;
}

.top-header {
  background: var(--primary);
  padding: 8px 0;
}

.top-header .container {
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-text {
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.social-right,
.header-right-menu {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-right img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.site-header {
  position: relative;
  background: var(--white);
  z-index: 999;
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90px;
  position: relative;
  gap: 20px;
}

.header-logo {
  flex-shrink: 0;
}

.header-logo img {
  display: block;
  max-height: 70px;
  width: auto;
}

.main-navigation {
  flex: 1;
  margin-left: 30px;
}

.main-menu {
  display: flex;
  align-items: center;
  gap: 60px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-menu li {
  margin: 0;
  padding: 0;
}

.main-menu a {
  display: block;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
  color: var(--black);
}

.main-menu a:hover,
.main-menu .current-menu-item > a {
  color: var(--yellow);
}

/* DESKTOP SEARCH*/
.header-search form {
  width: 240px;
  height: 50px;
  display: flex;
  align-items: center;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
}

.search-btn {
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.search-icon {
  width: 18px;
  height: 18px;
  display: block;
  fill: var(--text-muted);
  opacity: 0.7;
  flex-shrink: 0;
}

.header-search input {
  flex: 1;
  height: 100%;
  border: 0;
  outline: 0;
  padding: 0 15px 0 0;
  font-size: 15px;
  font-family: inherit;
  background: transparent;
}

/* CART & ACTION CONTROLS */

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
}

/* Hide toggle buttons by default on desktop */
.search-toggle,
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 2px solid var(--primary);
  border-radius: 12px;
  background: var(--white);
  color: var(--primary);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-toggle:hover,
.menu-toggle:hover {
  background: var(--primary);
  color: var(--white);
}

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-family);
  padding: 40px 0 0;
}

/* Keep footer content above SVG */
.site-footer .container,
.footer-bottom {
  position: relative;
  z-index: 2;
}

/* Common */
.footer-wave {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
}

.footer-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Top Left */
.footer-wave-top {
  width: 500px;
  height: 420px;
  left: 20%;
  top: -120px;
}

/* Bottom Right */
.footer-wave-bottom {
  width: 312px;
  height: 325px;
  right: -65px;
  bottom: -30px;
}

.footer-logo img {
  width: 90px;
  height: 90px;
}

.footer-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  pointer-events: none;
}

.site-footer .container {
  position: relative;
  z-index: 2;
}

.footer-wrapper {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 20px;
  padding-bottom: 40px;
  overflow: hidden;
}

.footer-right-wrap {
  display: grid;
  grid-template-columns: 23.33% 43.33% 33.33%;
  gap: 20px;
}

.footer-wrapper .social-right img {
  width: 40px;
  height: 40px;
}

.footer-about h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
  margin-top: 6px;
}

.footer-about p {
  color: var(--white);
  line-height: 25px;
  max-width: 373px;
  opacity: 0.7;
}

.footer-col h4 {
  color: var(--yellow);
  font-size: 18px;
  margin-bottom: 25px;
  font-weight: 600;
}

.footer-menu,
.footer-contact,
.footer-hours {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li,
.footer-contact li,
.footer-hours li {
  margin-bottom: 18px;
}

.footer-menu a {
  color: var(--white);
  text-decoration: none;
  transition: 0.3s;
}

.footer-menu a:hover {
  color: var(--yellow);
}

.footer-contact li a,
.footer-hours li a {
  color: var(--white);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: var(--white);
  font-size: 14px;
  font-weight: 400;
}

.hero-section {
  position: relative;
  overflow: hidden;
  background: var(--secondary);
  padding: 35px 0;
}

.hero-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 70px;
  position: relative;
  z-index: 2;
}

.hero-image img {
  width: 100%;
  max-width: 560px;
  height: auto;
  display: block;
  margin: auto;
}

.hero-content {
  flex: 1;
  max-width: 580px;
}

.hero-subtitle {
  display: inline-block;
  font-size: 18px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 18px;
}

.yellow-title {
  color: var(--yellow);
}

.hero-title {
  font-family: var(--font-family);
  font-size: 48px;
  line-height: 1.15;
  margin-top: 0;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 22px;
}

.hero-title p {
  margin: 0;
}

.hero-title strong {
  color: var(--yellow);
}

.hero-description {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.hero-rating {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-image {
  width: 108px;
  height: auto;
  display: block;
  flex-shrink: 0;
}

.rating-content strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
  font-weight: 600;
}

.rating-content span {
  display: block;
  font-size: 12px;
}

.hero-wave {
  position: absolute;
  right: -133px;
  top: 50%;
  transform: translateY(-50%);
  width: 450px;
  height: 500px;
}

.hero-wave svg {
  width: 100%;
  height: 100%;
}

.pad-100 {
  padding: 90px 0;
}

.pb-100 {
  padding-bottom: 90px;
}

.pt-100 {
  padding-top: 90px;
}

.my-100 {
  margin: 90px 0;
}

.features-sec .sec-title {
  margin-bottom: 45px;
  position: relative;
}

.sec-title {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.sec-title h2 {
  padding-bottom: clamp(14px, 3vw, 20px);
  color: var(--primary);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 36px);
}

.sec-title h2,
.sec-title p {
  margin: 0;
}

.school-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 45px;
}

.school-item {
  border-radius: 20px;
  overflow: hidden;
}

.school-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: 0.3s;
}

.school-item:hover img {
  transform: scale(1.05);
}

.wlc-box-wrap {
  position: relative;
  overflow: hidden;
  background: var(--primary);
  border-radius: 30px;
  padding: 50px 80px;
  border: 2px solid #0b7dff;
}

.wlc-content {
  position: relative;
  z-index: 5;
  margin: auto;
  text-align: center;
}

.wlc-content .sec-title {
  margin-bottom: 45px;
}

.wlc-content h2,
.team-sec h2 {
  color: var(--white);
}

.wlc-content > p {
  color: var(--white);
  font-size: 18px;
  line-height: 30px;
  opacity: 0.95;
}

.wlc-content > p + p {
  margin-top: 24px;
}

.wlc-wave {
  position: absolute;
  width: 260px;
  height: 260px;
  z-index: 1;
}

.wlc-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

.wlc-wave-left {
  left: 0;
  bottom: 0;
}

.wlc-wave-right {
  right: 0;
  top: 0;
}

.features-sec .container {
  position: relative;
  z-index: 2;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.why-card {
  background: #f5f5f5;
  border-radius: 20px;
  padding: 26px 32px;
  transition: 0.35s;
}

.why-icon {
  width: 90px;
  height: 90px;
  border-radius: 20px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  margin-bottom: 24px;
}

.why-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.why-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 16px;
}

.why-card p {
  margin: 0;
  font-size: 16px;
  line-height: 25px;
  font-weight: 500;
}

.trust-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
}

.trust-wrapper .sec-title {
  align-items: flex-start;
  text-align: left;
}

/* Left Side */
.trust-image {
  width: 48%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.trust-image img {
  width: 100%;
  max-width: 544px;
  display: block;
  position: relative;
  z-index: 1;
}

/* White Blur Fade */
.trust-image::after {
  content: "";
  position: absolute;
  left: -10%;
  bottom: -120px;
  width: 120%;
  height: 140px;
  background: var(--white);
  border-radius: 50%;
  filter: blur(70px);
  z-index: 2;
  pointer-events: none;
}

/* Smooth Gradient Fade */
.trust-image::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 240px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.12) 20%,
    rgba(255, 255, 255, 0.45) 40%,
    rgba(255, 255, 255, 0.82) 65%,
    var(--white) 100%
  );
  z-index: 3;
  pointer-events: none;
}

.trust-content {
  width: 52%;
}

/* Subtitle */
.trust-content h3 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 30px;
}

/* List */
.trust-content ul {
  margin: 0;
  padding-left: 24px;
}

.trust-content ul li {
  font-size: 16px;
  line-height: 30px;
  margin-bottom: 24px;
}

.trust-content ul li:last-child {
  margin-bottom: 0;
}

.team-sec {
  background-color: var(--primary);
  padding: 68px 0 68px;
  position: relative;
}

.sub-title-team {
  color: var(--white);
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 16px;
}

.team-sec .sec-title {
  align-items: start;
  margin-bottom: 45px;
}

.team-wrapper {
  width: 100%;
  background: var(--primary);
  z-index: 10;
  position: relative;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.team-card {
  text-align: center;
}

.team-image {
  width: 100%;
  max-height: 320px;
  border-radius: 20px;
  overflow: hidden;
  transition: 0.35s ease;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: 0.4s;
}

.team-card:hover .team-image img {
  transform: scale(1.05);
}

.team-content {
  margin-top: 18px;
}

.team-content h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}

.team-content span {
  display: block;
  margin-top: 14px;
  color: var(--yellow);
  font-size: 18px;
  font-weight: 600;
}

.mission-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: 70px;
  align-items: center;
}

.mission-wrapper .sec-title {
  align-items: start;
}

.mission-content {
  max-width: 620px;
}

.mission-desc {
  line-height: 30px;
  font-weight: 500;
  margin-bottom: 0;
}

.mission-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.stat-card {
  background: var(--secondary);
  border-radius: 20px;
  padding: 35px 10px;
  text-align: center;
  transition: 0.35s;
}

.stat-card:hover {
  transform: translateY(-8px);
}

.stat-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 700;
  color: var(--yellow);
}

.stat-card p {
  margin: 0;
  color: var(--primary);
  font-size: 16px;
  font-weight: 500;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1.4fr 1.1fr;
  gap: 60px;
  background: var(--secondary);
  border-radius: 35px;
  overflow: hidden;
  padding: 40px;
  align-items: center;
}

/* Left */

.contact-form-content {
  width: 100%;
}

.contact-head {
  margin-bottom: 32px;
}

.contact-head h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  margin: 0;
}

.sec-contact .contact-head h2 {
  font-size: clamp(24px, 3vw, 30px);
}

.sec-contact .contact-head p {
  font-size: 16px;
  line-height: 30px;
}

.contact-head p {
  font-size: 18px;
  line-height: 32px;
  max-width: 520px;
  font-weight: 500;
  margin: 10px 0;
}

/* Form */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 12px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: none;
  outline: none;
  background: var(--white);
  border-radius: 10px;
  padding: 21px 22px;
  font-weight: 500;
  font-size: 14px;
  transition: 0.3s;
  font-family: inherit;
}

.form-group textarea {
  max-height: 107px;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  box-shadow: 0 0 0 2px var(--primary);
}

.contact-btn {
  width: 220px !important;
  height: 70px !important;
  border: none !important;
  background: var(--primary) !important;
  color: var(--white) !important;
  border-radius: 15px !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: 0.35s !important;
}

.contact-btn:hover {
  background: #0b2f5c;
  transform: translateY(-2px);
}

/* Right */

.contact-map {
  background-color: var(--white);
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.section-title-container {
  width: 100%;
  background-color: var(--secondary);
  padding: 45px 30px;
  height: 190px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 28px;
}

/* Heading Styling */
.section-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 28px;
}

/* Custom Bullets/Dots */
.section-title::before,
.section-title::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: var(--primary);
  border-radius: 50%;
}

.trusted-university {
  position: relative;
  overflow: hidden;
  padding: 40px 0 0;
}

.trusted-university__inner {
  position: relative;
  z-index: 1;
}

.trusted-university__eyebrow p {
  text-align: center;
  margin: 40px 0 8px;
  font-size: 18px;
  font-weight: 500;
}

.trusted-university__eyebrow span {
  text-decoration: underline;
}

.trusted-university__slider,
.vid-achievement-sec,
.trust-section {
  position: relative;
}

.trusted-university__viewport {
  overflow: hidden;
}

.trusted-university__track {
  display: flex;
  gap: 20px;
  align-items: stretch;
  width: 100%;
  transition: transform 0.45s ease;
  will-change: transform;
}

.trusted-card {
  flex: 0 0 calc((100% - 60px) / 4);
  min-height: 178px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 24px;
  padding: 18px 18px 16px;
  text-align: center;
  scroll-snap-align: start;
}

.trusted-card__icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.trusted-card__icon img {
  width: 30px;
  height: 30px;
  display: block;
}

.trusted-card h4 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
}

.trusted-card p {
  margin: 0 auto 12px;
  font-size: 14px;
  line-height: 20px;
  opacity: 0.7;
  font-weight: 400;
  max-width: 250px;
  overflow-wrap: anywhere;
}

.trusted-card__toggle {
  appearance: none;
  border: 0;
  background: transparent;
  text-transform: uppercase;
  padding: 0;
  display: inline-block;
  color: var(--primary);
  font-size: 14px;
  text-decoration: underline;
  font-weight: 700;
  cursor: pointer;
}

.trusted-card__toggle:hover {
  color: var(--yellow);
}

.trusted-university__controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 35px;
}

.trusted-university__btn {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  border: 1px solid var(--border-gray);
  background: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.trusted-university__btn:hover,
.trusted-university__btn:focus {
  background: var(--primary);
  color: var(--white);
}

.trusted-university__btn:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.trusted-university__btn svg {
  display: block;
}

.trusted-university__btn svg path {
  fill: currentColor;
  transition: fill 0.3s ease;
}

.about-program-wrapper {
  padding-top: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.about-prakashan-section {
  position: relative;
  overflow: hidden;
}

.about-program-image {
  flex: 0 0 49%;
}

.about-program-image img {
  width: 100%;
  display: block;
  border-radius: 28px;
  object-fit: cover;
}

.about-program-content {
  flex: 0 0 48%;
}

.about-program-desc {
  margin-bottom: 20px;
  font-size: 18px;
  line-height: 27px;
  font-weight: 500;
}

.program-vision-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.program-vision-box {
  border: 1px solid var(--border-gray);
  border-radius: 20px;
  padding: 20px;
  transition: 0.3s;
}

.program-vision-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.icon-box {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

.icon-box img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.program-vision-box h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.program-vision-box p {
  font-size: 14px;
  opacity: 0.6;
  font-weight: 400;
  line-height: 22px;
  margin-bottom: 0;
}

.about-program-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 261px;
  height: 70px;
  padding: 0 35px;
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
  border-radius: 16px;
  font-size: 18px;
  font-weight: 600;
  transition: 0.3s;
}

.about-program-btn:hover {
  background: #082f59;
}

.achievement-wrapper {
  background: var(--primary);
  border-radius: 30px;
  padding: 30px 40px;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  align-items: center;
}

.achievement-box {
  display: flex;
  align-items: center;
  gap: 18px;
}

.icon-wrap {
  width: 90px;
  height: 90px;
  min-width: 90px;
  border-radius: 20px;
  background: #335c85;
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon-wrap img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.content-achievement {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.achievement-number {
  color: var(--white);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1;
}

.achievement-title {
  color: var(--white);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
}

.vid-sec {
  margin-top: 45px;
}

.vid-sec {
  width: 100%;
  overflow: hidden;
  border-radius: 30px;
}

.full-video {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 580px;
  object-fit: cover;
}

.achievement-sec {
  z-index: 10;
  position: relative;
}

.contact-form-sec,
.features-sec {
  position: relative;
  overflow: hidden;
}

.contact-btn-wrapper {
  display: flex;
  align-items: center;
}

.sec-contact .contact-form-wrapper {
  margin-top: 45px;
}

.contact-form-wrapper .form-group label {
  margin-bottom: 15px;
}

.contact-form-wrapper .contact-form {
  gap: 26px;
}

.contact-form-wrapper {
  display: grid;
  grid-template-columns: 1.55fr 1.14fr;
  gap: 35px;
  align-items: center;
}

.contact-form-wrapper .contact-form-content {
  background: var(--secondary);
  border-radius: 35px;
  padding: 48px 40px;
  overflow: hidden;
}

.contact-form-wrapper .contact-map {
  background-color: var(--secondary);
}

.wpcf7-spinner {
  margin: 0;
}

.kp-single-product {
  display: flex;
  gap: 40px;
  margin: 30px 0 70px;
  align-items: flex-start;
}

.review-section {
  margin: 90px 0;
}

.kp-gallery {
  display: flex;
  gap: 24px;
  width: 58%;
  align-items: flex-start;
}

.kp-gallery-thumbs {
  width: 130px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  height: 570px;
  overflow-y: scroll;
  /* instead of auto */
  overflow-x: hidden;
  flex: 0 0 130px;
}

.kp-gallery-thumbs::-webkit-scrollbar {
  width: 0px;
  display: none;
}

.kp-thumb {
  flex: 0 0 auto;
  width: 130px;
  height: 120px;
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  border-radius: 8px;
  transition: 0.3s;
  background: var(--white);
}

.kp-thumb.active {
  border-color: #0d3d77;
}

.kp-thumb img {
  width: 100%;
  /* height: 100%;
  object-fit: cover; */
  display: block;
}

.kp-gallery-image {
  flex: 1;
  background: var(--secondary);
  min-height: 570px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
}

.kp-gallery-image img {
  max-width: 100%;
  max-height: 450px;
  object-fit: contain;
  transition: 0.35s;
}

.kp-gallery-image:hover img {
  transform: scale(1.05);
}

.kp-gallery-zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 10px;
  background: var(--white);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
}

.kp-gallery-zoom:hover {
  transform: translateY(-2px) scale(1.03);
  background: #062f60;
}

.kp-gallery-zoom:hover .kp-gallery-zoom-icon svg path {
  fill: var(--white);
}

.kp-gallery-zoom-icon {
  font-size: 28px;
  line-height: 1;
  font-weight: 300;
}

.kp-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.kp-gallery-modal[hidden] {
  display: none;
}

.kp-gallery-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
}

.kp-gallery-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 960px);
  max-height: 90vh;
  padding: 18px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.kp-gallery-modal__image {
  display: block;
  width: 100%;
  max-height: calc(90vh - 36px);
  object-fit: contain;
}

.kp-gallery-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

body.kp-gallery-modal-open {
  overflow: hidden;
}

.kp-product-content {
  width: 42%;
}

.kp-product-content h1 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  line-height: clamp(28px, 3vw, 40px);
  margin: 0 0 20px 0;
}

.kp-rating-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.kp-rating-wrapper .star-rating {
  margin: 0;
  font-size: 20px;
  color: var(--yellow);
}

.kp-review-count-card-product {
  font-size: 20px;
  font-weight: 500;
  opacity: 0.7;
}

.woocommerce .star-rating {
  font-family: WooCommerce;
  font-size: clamp(19px, 2vw, 25px);
  letter-spacing: clamp(2px, 0.5vw, 8px);
  width: clamp(110px, 15vw, 170px);
}

.woocommerce .star-rating::before {
  content: "\53\53\53\53\53";
  color: #cacaca;
}

.woocommerce .star-rating span::before {
  content: "\53\53\53\53\53";
  color: #f7cf08;
}

.kp-price .price {
  font-size: 24px;
  font-weight: 600;
  display: flex;
  margin-bottom: 15px;
}

.kp-price .price ins {
  text-decoration: none;
  order: 1;
}

.kp-price .price del {
  order: 2;
  opacity: 0.6;
  display: flex;
  align-items: end;
  font-size: 15px;
  margin-left: 8px;
}

.kp-tax-text {
  font-size: 16px;
  font-weight: 400;
}

.kp-tax-text a {
  color: var(--primary);
  text-decoration: underline;
}

.kp-qty-title {
  font-size: 18px;
  font-weight: 600;
  margin: 18px 0;
}

form.cart {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.quantity {
  display: flex;
  align-items: center;
}

.quantity .minus {
  border-radius: 10px 0 0 10px;
}

.quantity .plus {
  border-radius: 0 10px 10px 0;
}

.quantity .minus,
.quantity .plus {
  width: 60px;
  height: 60px;
  border: none;
  background: var(--primary);
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
}

.quantity input.qty {
  width: 60px !important;
  height: 60px !important;
  border: none;
  background: var(--bg-tag);
  text-align: center;
  font-size: 22px;
}

.quantity input.qty:focus {
  outline: none;
  box-shadow: none;
}

.single_add_to_cart_button {
  width: 100%;
  height: 70px;
  border: none;
  background: var(--primary) !important;
  color: var(--white) !important;
  border-radius: 8px;
  font-size: 22px;
  font-weight: 600;
}

.single_add_to_cart_button:hover {
  background: #072d57 !important;
}

.kp-buy-now {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 70px;
  color: var(--black);
  border: 2px solid var(--primary);
  border-radius: 8px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  margin-top: 18px;
  transition: 0.3s;
}

.kp-cart-wrapper .single_add_to_cart_button {
  border-radius: 10px !important;
  font-family: inherit !important;
  font-size: 18px !important;
  font-weight: 600 !important;
}

.kp-buy-now:hover {
  background: #0b3d78;
  color: var(--white);
}

/* Whatsapp */

.kp-whatsapp {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  color: #2db742;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
}

.kp-whatsapp svg {
  width: 25px;
  height: 25px;
}

.kp-product-description {
  font-family: inherit;
  color: var(--text);
  line-height: 1.8;
  font-size: 16px;
}

.kp-product-description h2 {
  padding-bottom: 15px;
  margin: 0;
  line-height: 1;
  font-weight: 700;
  font-size: clamp(24px, 3vw, 36px);
}

/* Section Titles */
.kp-product-description h3 {
  margin: 24px 0 8px;
  font-size: 22px;
  font-weight: 600;
  line-height: 30px;
  color: var(--primary);
  line-height: 30px;
}

/* Paragraph */
.kp-product-description p {
  margin: 0;
  font-weight: 500;
  line-height: 30px;
  font-size: 16px;
}

/* List */
.kp-product-description ul {
  margin: 0;
  padding-left: 0;
  list-style-type: none;
}

.student-help-ul {
  margin-top: 30px;
}

.student-help-ul ul {
  margin: 0;
  padding-left: 0;
  list-style-type: disc;
  padding-left: 30px;
}

.kp-product-description li {
  font-size: 16px;
  font-weight: 500;
}

.kp-review-top {
  display: grid;
  grid-template-columns: 31% 38% 31%;
  align-items: center;
  /* gap: 40px; */
  padding: 45px 0;
}

.kp-review-summary,
.kp-review-breakdown,
.kp-review-btn {
  position: relative;
}

.kp-review-summary {
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.kp-review-stars {
  display: flex;
  align-items: center;
}

.kp-review-summary p {
  margin: 0;
}

.kp-review-count {
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.kp-review-count span {
  font-size: 18px;
  font-weight: 500;
}

.kp-review-breakdown {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0 clamp(14px, 3vw, 40px);
}

/* Left Line */
.kp-review-breakdown::before,
.kp-review-breakdown::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 85%;
  background: rgba(0, 0, 0, 0.2);
}

/* Left */
.kp-review-breakdown::before {
  left: 0;
}

/* Right */
.kp-review-breakdown::after {
  right: 0;
}

.kp-review-row {
  display: grid;
  grid-template-columns: max-content 1fr max-content;
  align-items: center;
  gap: 5px;
}

.kp-stars {
  white-space: nowrap;
}

.kp-total {
  min-width: 2ch;
  text-align: right;
  white-space: nowrap;
  font-weight: 600;
}

.kp-progress {
  height: 15px;
  background: var(--bg-tag);
  overflow: hidden;
}

.kp-progress span {
  display: block;
  height: 100%;
  background: var(--primary);
}

.kp-total {
  font-size: 20px;
  font-weight: 600;
}

.kp-review-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.kp-review-btn #kp-btn {
  width: 100%;
  max-width: 290px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  border-radius: 10px;
  text-decoration: none;
  font-size: 18px;
}

.kp-review-btn a:hover {
  background: #062f5e;
}

.review-section .sec-title {
  align-items: center;
}

.woocommerce-Reviews-title {
  display: none;
}

.kp-review-wrapper {
  width: 100%;
}

.kp-review-box {
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  padding: 25px 0;
}

.kp-review-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.kp-review-rating {
  display: flex;
  gap: 8px;
}

.kp-star {
  font-family: star;
  font-size: 18px;
  line-height: 1;
  font-size: clamp(18px, 2vw, 25px);
}

.kp-star::before {
  content: "\73";
  color: #cacaca;
}

.kp-review-rating .star-rating::before {
  color: #cacaca;
}

.kp-star.active::before {
  content: "\53";
  color: #f7cf08;
}

.kp-review-date {
  font-size: 18px;
  font-weight: 500;
}

.kp-review-user {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}

.kp-review-avatar img {
  width: 70px;
  height: 70px;
}

.kp-review-name {
  font-size: 18px;
  font-weight: 500;
}

.kp-review-text {
  line-height: 32px;
  font-size: 16px;
  font-weight: 500;
}

.kp-review-text p {
  margin: 0 0 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kp-review-hidden {
  display: none;
}

.kp-review-btn-wrap {
  width: 100%;
  text-align: center;
  margin-top: 15px;
}

.kp-review-toggle {
  display: inline-block;
  color: var(--primary);
  font-size: 18px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  transition: 0.3s;
}

.kp-review-toggle:hover {
  opacity: 0.8;
}

.kp-standard-filter {
  display: flex;
  gap: 14px;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
}

.kp-shop-page__body {
  padding-top: 35px;
}

.book-title {
  padding: 90px 0 45px;
}

.kp-standard-filter::-webkit-scrollbar {
  display: none;
}

.kp-standard-filter__item {
  width: 210px;
  height: 160px;
  flex: 0 0 auto;
  border-radius: 25px;
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
  padding: 16px 14px 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 3.5vw, 20px);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.kp-standard-filter__item:hover,
.kp-standard-filter__item:focus-visible,
.kp-standard-filter__item.is-active {
  background: var(--primary);
  color: #ffb604;
}

.kp-standard-filter__label {
  font-size: clamp(12px, 3.5vw, 20px);
  line-height: 1.1;
  font-weight: 700;
}

.kp-standard-filter__value {
  font-size: clamp(17px, 4vw, 30px);
  line-height: 1.1;
  font-weight: 700;
  color: var(--yellow);
}

.kp-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 6px 0 35px;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}

.kp-filter-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--black);
  font-family: inherit;
  font-size: 20px;
  font-weight: 600;
}

.kp-filter-label svg {
  width: 25px;
  height: 24px;
  flex-shrink: 0;
}

.kp-filter-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 70px;
  border: 0;
  font-family: inherit;
  font-size: 20px;
  background: var(--white);
  padding: 14px 0;
  font-weight: 600;
  cursor: pointer;
}

.kp-subject-dropdown-menu {
  position: absolute;
  left: 0;
  width: 240px;
  background: var(--white);
  border: 1px solid 0000001a;
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
  padding: 16px;
  display: none;
  flex-direction: column;
  gap: 8px;
  z-index: 20;
}

.kp-filter-dropdown.is-open .kp-subject-dropdown-menu {
  display: flex;
}

.kp-subject-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid transparent;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
  cursor: pointer;
}

.kp-subject-option:hover,
.kp-subject-option.is-active {
  background: rgba(13, 64, 119, 0.05);
  border-color: 0000001a;
}

.kp-subject-option input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #0d4077;
  -webkit-appearance: radio;
  appearance: radio;
  background: transparent;
}

.kp-subject-option span {
  font-size: 16px;
}

.kp-books-filter-dropdown-toggle {
  min-width: 240px;
  min-height: 70px;
  border: 1px solid var(--border-gray);
  border-radius: 20px;
  background: var(--white);
  padding: 10px 20px 10px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: inherit;
  font-size: 20px;
  font-weight: 500;
  color: var(--black);
  cursor: pointer;
}

.kp-books-filter-arrow {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}

.kp-books-filter-dropdown.is-open .kp-books-filter-arrow {
  transform: translateY(2px) rotate(225deg);
}

.kp-books-filter-dropdown-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 242px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 8px 12px;
  display: none;
  flex-direction: column;
  gap: 4px;
}

.kp-books-filter-dropdown.is-open .kp-books-filter-dropdown-menu {
  display: flex;
}

.kp-books-filter-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  color: #24384f;
  padding: 11px 12px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.kp-books-filter-option:hover,
.kp-books-filter-option:focus-visible,
.kp-books-filter-option.is-active {
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
}

.kp-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.kp-product-card {
  position: relative;
  background: var(--white);
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  font-family: "Poppins", sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.kp-product-card__image-wrap {
  position: relative;
  background: var(--secondary);
  padding: 18px 18px 14px;
  min-height: clamp(230px, 24vw, 350px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.kp-product-card__image-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.kp-product-card__image {
  width: auto;
  max-width: 100%;
  max-height: clamp(178px, 20vw, 310px);
  object-fit: contain;
  display: block;
}

.kp-product-card__content {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-gray);
  gap: 11px;
  border-radius: 0 0 20px 20px;
  padding: 18px;
  border-top: 0;
  flex: 1;
}

.kp-product-card__title {
  color: var(--black);
  text-decoration: none;
  font-size: clamp(13px, 3vw, 22px);
  line-height: 1.4;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: calc(1.35em * 2);
}

.kp-product-card__title:hover,
.kp-product-card__title:focus-visible {
  color: var(--primary);
}

.kp-product-card__price {
  font-size: 20px;
  font-weight: 600;
  display: flex;
  align-items: end;
  gap: 16px;
}

.kp-product-card__price del {
  opacity: 0.7;
  order: 1;
  font-size: 18px;
  font-weight: 500;
  margin-right: 8px;
}

.kp-product-card__price ins {
  text-decoration: none;
}

.kp-product-card__actions {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 10px;
  margin-top: auto;
  margin-top: 5px;
}

.kp-product-card__cart-button,
.kp-product-card__buy-now {
  min-height: 70px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.kp-product-card__cart-button {
  border: 1px solid var(--primary);
  color: var(--primary);
  background: var(--white);
}

.kp-product-card__cart-button svg {
  width: 26px;
  height: 26px;
}

.kp-product-card__buy-now {
  background: var(--primary);
  color: var(--white);
  font-size: 18px;
  font-weight: 500;
  padding: 0 16px;
}

.kp-product-card__cart-button:hover,
.kp-product-card__buy-now:hover,
.kp-product-card__cart-button:focus-visible,
.kp-product-card__buy-now:focus-visible {
  transform: translateY(-1px);
}

.kp-products__empty {
  grid-column: 1 / -1;
  padding: 40px 0;
  text-align: center;
  font-size: 16px;
}

.kp-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 44px 0 0;
  flex-wrap: wrap;
}

.kp-pagination .page-numbers {
  color: #a8a8a8;
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  min-width: 24px;
}

.next.page-numbers {
  color: var(--primary);
}

.kp-pagination .page-numbers.current {
  color: var(--yellow);
}

.kp-pagination .page-numbers.dots {
  color: var(--black);
  opacity: 0.5;
  letter-spacing: 4px;
}

.kp-pagination__next {
  color: var(--primary) !important;
}

.shop-desc .sec-title {
  align-items: start;
  text-align: start;
  margin-bottom: 20px;
}

.shop-desc .sec-title h2 {
  color: var(--black);
}

.shop-desc p {
  margin: 0;
  font-size: 16px;
  line-height: 30px;
  font-weight: 500;
}

/* --- Review Modal Popup Styling --- */
.kp-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.kp-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.kp-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 51, 102, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.kp-modal-content {
  position: relative;
  background: var(--white);
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 40px;
  z-index: 10001;
  overflow-y: auto;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.kp-modal.is-open .kp-modal-content {
  transform: scale(1);
}

.kp-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--secondary);
  border: none;
  font-size: 24px;
  line-height: 36px;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    color 0.2s;
  padding: 0;
}

.kp-modal-close:hover {
  background: var(--primary);
  color: var(--white);
}

body.kp-modal-lock {
  overflow: hidden !important;
}

/* --- Review Form Styling --- */
#kp-review-modal #comments {
  display: none !important;
}

#kp-review-modal #review_form_wrapper {
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
}

#kp-review-modal #reply-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
  display: block;
}

#kp-review-modal #reply-title small {
  display: none;
}

#kp-review-modal .comment-form-rating label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  opacity: 0.8;
  margin-bottom: 8px;
}

#kp-review-modal p.stars a {
  position: relative;
  height: 24px;
  width: 24px;
  text-indent: -999em;
  display: inline-block;
  text-decoration: none;
  font-size: 24px;
  margin-right: 6px;
}

#kp-review-modal p.stars a::before {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  text-indent: 0;
  content: "★";
  color: #f7cf08;
  line-height: 1;
}

#kp-review-modal p.stars:hover a::before {
  color: var(--yellow);
}

#kp-review-modal p.stars a:hover ~ a::before {
  color: #d1d5db;
}

#kp-review-modal p.stars.selected a::before {
  color: var(--yellow);
}

#kp-review-modal p.stars.selected a.active ~ a::before {
  color: #d1d5db;
}

#kp-review-modal .comment-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#kp-review-modal .comment-form p {
  margin: 0;
}

#kp-review-modal .comment-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

#kp-review-modal .comment-form input[type="text"],
#kp-review-modal .comment-form input[type="email"],
#kp-review-modal .comment-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-family: var(--font-family);
  font-size: 15px;
  color: #1f2937;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  background-color: var(--white);
}

#kp-review-modal .comment-form input[type="text"]:focus,
#kp-review-modal .comment-form input[type="email"]:focus,
#kp-review-modal .comment-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.15);
}

#kp-review-modal .comment-form textarea {
  height: 120px;
  resize: vertical;
}

#kp-review-modal .comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 4px;
}

#kp-review-modal .comment-form-cookies-consent input[type="checkbox"] {
  margin-top: 4px;
  cursor: pointer;
}

#kp-review-modal .comment-form-cookies-consent label {
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  line-height: 1.4;
  cursor: pointer;
  margin: 0;
}

#kp-review-modal .form-submit {
  margin-top: 10px;
}

#kp-review-modal .form-submit input[type="submit"] {
  width: 100%;
  padding: 14px 24px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 0.2s,
    transform 0.1s;
}

#kp-review-modal .form-submit input[type="submit"]:hover {
  background: var(--primary-hover);
}

#kp-review-modal .form-submit input[type="submit"]:active {
  transform: scale(0.98);
}

.related-product .sec-title {
  padding-bottom: 45px;
}

.scrollbar-kp-product {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.kp-product-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.kp-product-slider::-webkit-scrollbar {
  display: none;
}

.kp-product-card {
  flex-shrink: 0;
  scroll-snap-align: start;
  transition: transform 0.35s ease;
}

.kp-product-slider > .kp-product-card {
  flex: 0 0 calc(25% - 15px);
}

/* Navigation */

.kp-slider-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 25px;
}

.kp-scroll-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-gray);
  border-radius: 50%;
  background: var(--white);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  transition: all 0.3s ease;
}

.kp-scroll-btn:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.kp-scroll-btn:active {
  transform: scale(0.92);
}

.kp-scroll-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.fatures-flc-wave {
  position: absolute;
  top: 15%;
  right: -5%;
}

.fatures-flc-wave-left {
  position: absolute;
  top: -45%;
  left: -5%;
}

.team-wave-left {
  position: absolute;
  top: 0;
  right: 0;
}

.about-first-flc-wave {
  position: absolute;
  top: 18%;
  right: -5%;
}

.achievement-sec-wave {
  position: absolute;
  top: 8%;
  left: -1%;
}

.contact-sec-wave {
  position: absolute;
  top: -8%;
  right: -20px;
  z-index: -1;
}

.contact-sec-wave-bottom {
  position: absolute;
  bottom: 10%;
  left: -20px;
  z-index: -1;
}

.kp-product-flc-wave {
  position: absolute;
  top: 18%;
  right: -5%;
}

.books-sec-wave {
  position: absolute;
  top: 15%;
  right: 0;
}

.books-sec-top-wave {
  position: absolute;
  top: -12%;
  left: -5%;
  z-index: -1;
}

.kp-product-down-flc-wave {
  position: absolute;
  bottom: 28%;
  left: -3%;
}

.books-sec-bottom-wave {
  position: absolute;
  bottom: 23%;
  right: 0%;
}

.achievement-sec-wave svg,
.contact-sec-wave svg,
.contact-sec-wave-bottom svg,
.books-sec-top-wave svg {
  width: 300px;
  height: 378px;
}

.books-sec-wave svg {
  width: 210px;
  height: 340px;
}

.about-first-flc-wave svg,
.fatures-flc-wave-left svg,
.fatures-flc-wave svg,
.team-wave-left svg,
.kp-product-flc-wave svg,
.kp-product-down-flc-wave svg,
.books-sec-bottom-wave svg {
  width: 364px;
  height: 378px;
}

.single-product-page,
.product-description {
  position: relative;
  overflow: hidden;
}

.section-product-container,
.shop-desc {
  position: relative;
}

@media (max-width: 1440px) {
  .kp-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1310px) {
  .container {
    padding: 0 16px;
  }

  .pad-100 {
    padding: 70px 0;
  }

  .pb-100 {
    padding-bottom: 70px;
  }

  .pt-100 {
    padding-top: 70px;
  }

  .my-100 {
    margin: 70px 0;
  }
}

@media (max-width: 1200px) {
  .hero-title {
    font-size: 38px;
  }

  .hero-wave {
    width: 380px;
    height: 380px;
    right: -90px;
  }

  .fatures-flc-wave {
    top: 5%;
  }

  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .team-wave-left svg {
    width: 300px;
    height: 328px;
  }

  .mission-wrapper {
    gap: 40px;
  }

  .mission-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 1.4fr;
  }

  .trusted-card {
    flex-basis: calc((100% - 36px) / 3);
  }

  .kp-review-btn #kp-btn {
    width: 100%;
    max-width: 80%;
  }

  .book-title {
    padding: 70px 0 35px;
  }

  .kp-product-card__cart-button,
  .kp-product-card__buy-now {
    min-height: 54px;
    border-radius: 8px;
  }

  .kp-product-card__buy-now {
    font-size: 16px;
  }

  .kp-product-card__actions {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .kp-product-card__cart-button svg {
    width: 20px;
    height: 20px;
  }

  .kp-standard-filter__item {
    width: 170px;
    height: 130px;
  }

  .kp-product-slider > .kp-product-card {
    flex: 0 0 calc(33.333% - 14px);
  }
}

@media (max-width: 1050px) {
  .footer-wrapper {
    grid-template-columns: 100%;
  }

  .footer-about {
    display: flex;
    text-align: center;
    flex-direction: column;
    align-items: center;
  }

  .footer-right-wrap {
    display: flex;
    gap: 50px;
    justify-content: center;
    text-align: center;
  }

  .footer-right-wrap .footer-col:nth-child(2) {
    width: 50%;
  }

  .pad-100 {
    padding: 50px 0;
  }

  .pb-100 {
    padding-bottom: 50px;
  }

  .pt-100 {
    padding-top: 50px;
  }

  .my-100 {
    margin: 50px 0;
  }

  .books-sec-wave {
    top: 6%;
    right: 0;
  }

  .books-sec-top-wave {
    top: -10%;
    left: -7%;
  }

  .books-sec-wave svg {
    width: 190px;
    height: 320px;
  }

  .books-sec-top-wave svg,
  .books-sec-bottom-wave svg {
    width: 300px;
    height: 310px;
  }
}

@media (max-width: 1024px) {
  .footer-wave-top {
    width: 320px;
    height: 320px;
    left: -70px;
    top: -70px;
  }

  .contact-sec-wave-bottom {
    display: none;
  }

  .footer-wave-bottom {
    width: 280px;
    height: 280px;
    right: -60px;
    bottom: -40px;
  }

  .hero-image img {
    max-width: 450px;
  }

  .hero-title {
    font-size: 32px;
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .team-wave-left svg {
    width: 250px;
    height: 270px;
  }

  .team-sec {
    padding: 40px 0;
  }

  .mission-wrapper {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .mission-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-map {
    height: 420px;
    order: 2;
  }

  .contact-form-content {
    order: 1;
  }

  .about-first-flc-wave {
    top: 12%;
    right: -8%;
  }

  .about-program-wrapper {
    flex-direction: column;
  }

  .about-program-image {
    flex: 0 0 100%;
    width: 75%;
  }

  .about-program-content {
    flex: 0 0 100%;
    width: 90%;
  }

  .about-program-desc {
    font-size: 16px;
  }

  .achievement-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .trusted-university__track {
    gap: 16px;
  }

  .contact-form-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper .contact-form-content {
    padding: 35px 30px;
  }
}

@media (max-width: 992px) {
  .main-menu {
    gap: 20px;
  }

  .main-menu a {
    font-size: 14px;
  }

  .header-search form {
    width: 200px;
  }

  .hero-wrapper {
    gap: 40px;
  }

  .hero-content {
    max-width: 100%;
  }

  .reviewer-image {
    width: 120px;
  }

  .hero-description {
    font-size: 18px;
  }

  .hero-wave {
    right: -121px;
  }

  .wlc-box-wrap {
    padding: 50px 30px;
  }

  .wlc-content > p {
    font-size: 16px;
  }

  .wlc-wave {
    width: 220px;
    height: 220px;
  }

  .school-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-icon {
    width: 70px;
    height: 70px;
  }

  .trust-image img {
    max-width: 400px;
  }

  .trust-wrapper {
    flex-direction: column;
    gap: 50px;
  }

  .trust-image,
  .trust-content {
    width: 100%;
  }

  .trust-content ul {
    text-align: left;
  }

  .trust-content h3 {
    font-size: 24px;
  }

  .trusted-university__track {
    gap: 18px;
  }

  .trusted-card {
    flex-basis: calc((100% - 18px) / 2);
  }

  .achievement-sec-wave {
    top: 28%;
    left: -10%;
  }

  .achievement-sec-wave svg {
    width: 280px;
    height: 320px;
  }

  .kp-single-product {
    flex-direction: column;
  }

  .kp-gallery {
    width: 100%;
    max-width: 100%;
  }

  .kp-product-content {
    width: 100%;
  }

  .kp-review-top {
    grid-template-columns: 100%;
    gap: 28px;
  }

  .kp-review-btn #kp-btn {
    max-width: 290px;
  }

  .kp-review-breakdown {
    width: 50%;
    margin: 0 auto;
  }

  .kp-review-breakdown::before,
  .kp-review-breakdown::after {
    display: none;
  }

  .kp-review-summary p {
    width: 100%;
  }

  .review-section {
    margin: 60px 0;
  }

  .kp-review-avatar img {
    width: 50px;
    height: 50px;
  }

  .kp-product-flc-wave {
    top: 32%;
    right: -15%;
  }

  .kp-product-flc-wave svg {
    width: 340px;
    height: 290px;
  }

  .kp-product-down-flc-wave svg {
    width: 300px;
    height: 290px;
  }

  .kp-product-slider > .kp-product-card {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 768px) {
  .footer-about p {
    margin: auto;
  }

  .footer-right-wrap .footer-col:nth-child(2) {
    width: 40%;
  }

  .footer-about .social-right {
    padding-top: 20px;
  }

  .mobile-text {
    font-size: 12px;
  }

  .social-right img,
  .top-header .social-right a {
    width: 22px;
    height: 22px;
  }

  .social-right {
    gap: 6px;
  }

  .header-wrapper {
    min-height: 70px;
  }

  .search-toggle,
  .menu-toggle {
    display: flex;
  }

  .main-navigation {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin-left: 0;
    background: var(--white);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-in-out;
    z-index: 99;
  }

  .main-navigation.is-open {
    max-height: 400px;
  }

  .main-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 20px;
  }

  .main-menu li {
    width: 100%;
    border-bottom: 1px solid #eee;
  }

  .main-menu li:last-child {
    border-bottom: none;
  }

  .main-menu a {
    padding: 12px 0;
  }

  /* Mobile Search Bar Overlay */
  .header-search {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    max-height: 0;
    overflow: hidden;
    transition:
      max-height 0.35s ease-in-out,
      opacity 0.3s ease;
    opacity: 0;
    z-index: 100;
  }

  .header-search.is-open {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 100vh;
    opacity: 1;
    overflow: visible;
    padding: 12px 0 18px;
  }

  .header-search form {
    width: calc(100% - 30px);
    margin: 15px auto 0;
  }

  .header-search.is-open .kp-search-suggestions {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    width: auto !important;
    max-height: calc(100vh - 130px) !important;
  }

  .cart-button svg,
  .cart-button,
  .search-toggle,
  .menu-toggle {
    width: 45px;
    height: 45px;
  }

  .hero-image img {
    max-width: 370px;
  }

  .hero-title {
    font-size: 34px;
  }

  .hero-wave {
    right: -100px;
  }

  .trust-wrapper {
    gap: 35px;
  }

  .trust-image img {
    max-width: 360px;
  }

  .trust-content h3 {
    font-size: 24px;
  }

  .trust-content ul li {
    margin-bottom: 18px;
  }

  .fatures-flc-wave-left {
    top: -17%;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-content h3 {
    font-size: 20px;
  }

  .team-content span {
    font-size: 16px;
  }

  .team-wave-left svg {
    width: 250px;
    height: 250px;
  }

  .team-image {
    aspect-ratio: 1 / 1;
  }

  .footer-wave-top {
    top: -26px;
  }

  .contact-wrapper {
    padding: 25px;
    border-radius: 25px;
    gap: 30px;
  }

  .contact-head p {
    font-size: 16px;
    line-height: 26px;
  }

  .form-group label {
    font-size: 16px;
  }

  .form-group input,
  .form-group textarea {
    padding: 15px 18px;
    font-size: 15px;
  }

  .contact-map {
    height: 320px;
    border-radius: 20px;
  }

  .contact-btn {
    height: 56px !important;
    font-size: 16px !important;
  }

  .trusted-university {
    padding: 30px 0 0;
  }

  .trusted-university__eyebrow {
    font-size: 16px;
    margin: 28px 0 8px;
  }

  .trusted-university__track {
    gap: 16px;
  }

  .trusted-university__controls {
    margin-top: 22px;
  }

  .about-first-flc-wave {
    top: 15%;
    right: -20%;
  }

  .about-program-image,
  .about-program-content {
    width: 100%;
  }

  .achievement-box {
    flex-direction: column;
    text-align: center;
  }

  .icon-wrap {
    width: 70px;
    height: 70px;
    min-width: 70px;
  }

  .icon-wrap img {
    width: 35px;
    height: 35px;
  }

  .contact-form-wrapper .contact-form-content {
    padding: 35px 20px;
    border-radius: 20px;
  }

  .contact-sec-wave {
    top: -5%;
  }

  .contact-sec-wave svg,
  .books-sec-top-wave svg,
  .books-sec-bottom-wave svg {
    width: 250px;
    height: 300px;
  }

  .books-sec-bottom-wave {
    bottom: 15%;
  }

  .kp-standard-filter__item {
    width: clamp(100px, 19vw, 183px);
    height: clamp(80px, 15vw, 110px);
    border-radius: 15px;
  }

  .kp-standard-filter__value {
    font-size: clamp(16px, 4vw, 24px);
  }

  .kp-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .kp-product-card__content {
    padding: 14px 14px 14px;
  }

  .kp-pagination {
    gap: 16px;
    margin-top: 34px;
  }

  .kp-pagination .page-numbers,
  .kp-pagination__next,
  .kp-product-card__price {
    font-size: 18px;
  }

  .kp-filter-dropdown-toggle {
    height: 40px;
  }

  .kp-books-filter-dropdown-toggle {
    min-width: 160px;
    min-height: 40px;
    font-size: 16px;
    border-radius: 12px;
  }

  .kp-filter-label,
  .kp-product-card__price del {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .kp-gallery {
    flex-direction: column-reverse;
    gap: 16px;
  }

  .kp-gallery-thumbs {
    width: 100%;
    flex-direction: row;
    flex: 0 0 auto;
    overflow-x: auto;
    overflow-y: hidden;
    max-height: none;
    height: auto;
    gap: 12px;
    padding-right: 0;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .kp-thumb {
    flex: 0 0 80px;
    min-width: 80px;
    height: 100px;
    scroll-snap-align: start;
  }

  .kp-gallery-image {
    min-height: 420px;
    width: 100%;
  }

  .kp-gallery-zoom {
    width: 42px;
    height: 42px;
    right: 12px;
    bottom: 12px;
  }

  .kp-gallery-modal {
    padding: 14px;
  }

  .kp-gallery-modal__dialog {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
  }

  .kp-review-count,
  .kp-review-count-card-product,
  .kp-cart-wrapper .single_add_to_cart_button,
  .kp-buy-now,
  .kp-whatsapp {
    font-size: 15px !important;
  }

  .quantity input.qty {
    width: 48px !important;
    height: 48px !important;
  }

  .quantity .minus,
  .quantity .plus {
    width: 48px;
    height: 48px;
  }

  .single_add_to_cart_button,
  .kp-buy-now {
    height: 58px;
  }

  .kp-product-description h3 {
    font-size: 20px;
  }

  .kp-review-date {
    font-size: 16px;
  }

  .kp-review-head {
    margin-bottom: 16px;
  }

  .kp-review-box {
    padding: 15px 0;
  }
}

@media (max-width: 700px) {
  .hero-wrapper {
    flex-direction: column;
  }

  .hero-content {
    max-width: 500px;
  }

  .fatures-flc-wave-left {
    display: none;
  }

  .about-first-flc-wave svg {
    width: 250px;
    height: 278px;
  }

  .achievement-sec-wave {
    top: 30%;
    left: -12%;
  }

  .section-title-container {
    height: 150px;
  }
}

@media (max-width: 650px) {
  .footer-right-wrap {
    flex-direction: column;
    gap: 20px;
  }

  .footer-right-wrap .footer-col:nth-child(2) {
    width: 100%;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-card {
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .why-icon {
    margin-bottom: 18px;
  }

  .why-card h3 {
    font-size: 20px;
  }

  .mission-desc {
    font-size: 15px;
  }

  .mission-stats {
    grid-template-columns: 1fr;
  }

  .stat-card {
    padding: 35px 20px;
  }

  .achievement-wrapper {
    padding: 25px;
    gap: 26px;
  }

  .icon-wrap {
    width: 60px;
    height: 60px;
    min-width: 60px;
  }

  .icon-wrap img {
    width: 35px;
    height: 35px;
  }

  .kp-review-breakdown {
    width: 100%;
  }

  .kp-review-btn #kp-btn {
    width: auto;
    height: 50px;
    font-size: 16px;
    padding: 20px;
  }

  .kp-total {
    font-size: 16px;
  }

  .kp-modal-content {
    padding: 24px;
    width: 95%;
  }

  #kp-review-modal #reply-title {
    font-size: 20px;
    margin-bottom: 16px;
  }
}

@media (max-width: 576px) {
  .school-gallery {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .school-item img {
    height: 180px;
  }

  .wlc-box-wrap {
    padding: 40px 20px;
    border-radius: 20px;
  }

  .wlc-content > p {
    font-size: 15px;
    line-height: 1.7;
  }

  .wlc-wave {
    width: 140px;
    height: 140px;
  }

  .fatures-flc-wave {
    top: 2%;
  }

  .fatures-flc-wave-left svg {
    width: 274px;
    height: 250px;
  }

  .fatures-flc-wave-left {
    top: -10%;
  }

  .trusted-card {
    flex-basis: 100%;
    border-radius: 20px;
    padding: 16px 14px 14px;
  }

  .about-program-wrapper {
    padding-top: 50px;
  }

  .program-vision-wrap {
    grid-template-columns: 1fr;
  }

  .program-vision-box {
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .program-vision-box p,
  .icon-box {
    margin: 0;
  }

  .about-program-btn {
    width: 100%;
    font-size: 16px;
  }

  .vid-sec {
    border-radius: 20px;
  }

  .trusted-university__btn {
    width: 40px;
    height: 40px;
  }

  .kp-product-card__cart-button svg {
    width: 14px;
    height: 14px;
  }

  .kp-product-card__actions {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .kp-product-card__cart-button,
  .kp-product-card__buy-now {
    min-height: 40px;
  }

  .kp-product-card__price del {
    font-size: 14px;
  }

  .kp-product-card__price,
  .kp-product-card__content {
    gap: 9px;
  }

  .kp-product-card__price {
    font-size: 16px;
  }

  .book-title {
    padding: 50px 0 25px;
  }

  .books-sec-bottom-wave {
    bottom: 20%;
  }

  .kp-filter-label svg {
    width: 18px;
    height: 16px;
  }

  .books-sec-wave svg {
    width: 136px;
    height: 290px;
  }

  .books-sec-top-wave {
    top: -5%;
    left: -13%;
  }

  .kp-books-filter-dropdown-menu {
    min-width: 200px;
  }

  .kp-books-filter-option,
  .kp-subject-option span {
    font-size: 12px;
  }

  .kp-product-card__content {
    border-radius: 0 0 12px 12px;
  }

  .kp-product-card {
    border-radius: 12px 12px 0 0;
  }

  .kp-product-card__buy-now {
    font-size: 12px;
  }

  .kp-product-card__image-wrap {
    min-height: clamp(180px, 44vw, 250px);
  }

  .kp-product-card__image {
    max-height: clamp(145px, 35vw, 166px);
  }
}

@media (max-width: 480px) {
  .header-logo img {
    max-height: 52px;
  }

  .cart-button svg,
  .cart-button,
  .search-toggle,
  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-description {
    font-size: 15px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    padding: 20px 16px;
  }

  .contact-map {
    height: 260px;
  }

  .achievement-wrapper {
    grid-template-columns: 1fr;
  }

  .achievement-number {
    margin-bottom: 0px;
    font-size: 18px;
  }

  .achievement-sec-wave {
    top: 51%;
    left: -18%;
  }

  .kp-product-down-flc-wave {
    bottom: 26%;
  }

  .kp-product-down-flc-wave svg {
    width: 250px;
    height: 270px;
  }

  .shop-desc p {
    font-size: 14px;
    line-height: 25px;
  }
}

@media (max-width: 400px) {
  .kp-product-flc-wave {
    top: 28%;
  }

  .kp-review-btn #kp-btn {
    font-size: 14px;
  }

  .kp-books-filter-dropdown-toggle {
    padding: 10px 12px;
    font-size: 12px;
  }

  .kp-filter-label {
    font-size: 12px;
    gap: 10px;
  }

  .kp-product-slider {
    gap: 12px;
  }

  .kp-product-slider > .kp-product-card {
    flex: 0 0 calc(50% - 7px);
  }
}

@media (max-width: 370px) {
  .kp-products {
    grid-template-columns: 1fr;
  }

  .kp-product-slider > .kp-product-card {
    flex: 0 0 100%;
  }
}

@media (min-width: 1541px) {
  .container {
    min-width: 1400px;
  }
}

@media (min-width: 1700px) {
  .container {
    min-width: 1600px;
  }
}

/* ── Page loader ─────────────────────────────────────────────────────────────
   Injected via wp_footer. Hides on window.load (.kp-loader-hidden via JS).
   ── */
#kp-page-loader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}

#kp-page-loader::after {
  content: "";
  width: 46px;
  height: 46px;
  border: 4px solid var(--border-mid);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: kp-page-spin 0.7s linear infinite;
}

@keyframes kp-page-spin {
  to {
    transform: rotate(360deg);
  }
}

#kp-page-loader.kp-loader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ── Page loader ────────────────────────────────────────────────────────────
   Injected via wp_footer hook (functions.php).
   pointer-events: none  — never blocks clicks at any state.
   Hides on window.load via custom.js (.kp-loader-hidden class).
   ── */
#kp-page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  /* never intercepts clicks */
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}

#kp-page-loader::after {
  content: "";
  width: 44px;
  height: 44px;
  border: 4px solid rgba(0, 51, 102, 0.15);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: kp-spin 0.7s linear infinite;
}

@keyframes kp-spin {
  to {
    transform: rotate(360deg);
  }
}

#kp-page-loader.kp-loader-hidden {
  opacity: 0;
  visibility: hidden;
}
