@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Noto+Sans+Georgian:wght@700&display=swap");

:root {
  --violet: #2563EB;
  --heading-ink: #000000;
  --lagoon: #000000;
  --gold: #C4B5FD;
  --alabaster: #FFFFFF;
  --moss: #475569;
  --white: #ffffff;
  --ink: #000000;
  --lagoon-900: #11344d;
  --surface-cream: rgba(255, 255, 255, 0.9);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --shadow-soft: 0 14px 30px rgba(0, 0, 0, 0.12);
  --shadow-lift: 0 20px 38px rgba(0, 0, 0, 0.2);
  --border-soft: 1px solid rgba(93, 115, 124, 0.26);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body#home {
  margin: 0;
  min-height: 100%;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background:
    radial-gradient(circle at 8% 8%, rgba(37, 99, 235, 0.18), transparent 48%),
    radial-gradient(circle at 88% 16%, rgba(196, 181, 253, 0.2), transparent 40%),
    linear-gradient(165deg, #FFFFFF 0%, var(--alabaster) 46%, #FFFFFF 100%);
  overflow-x: hidden;
}

body#home main#app {
  position: relative;
  z-index: 1;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
}

a,
button,
input,
textarea {
  font-family: inherit;
}

#start-section {
  height: 2px;
}

/* Header */
.sq-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 245, 235, 0.95));
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.sq-header-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.sq-header-container>* {
  min-width: 0;
}

.sq-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.sq-logo span {
  font-family: "Noto Sans Georgian", sans-serif;
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--lagoon);
}

.sq-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.sq-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  color: var(--lagoon);
  font-size: 0.95rem;
  font-weight: 700;
  transition: all 0.28s ease;
}

.sq-link i {
  color: rgba(196, 181, 253, 0.92);
  font-size: 0.95rem;
}

.sq-link:hover,
.sq-link.active {
  border-color: rgba(196, 181, 253, 0.42);
  background: rgba(196, 181, 253, 0.14);
  color: var(--gold);
  transform: translateY(-1px);
}

.sq-link:hover i,
.sq-link.active i {
  color: var(--gold);
}

.sq-nav-item {
  position: relative;
  z-index: 1100;
}

.sq-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  padding: 8px;
  border-radius: var(--radius-sm);
  border: var(--border-soft);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: all 0.22s ease;
  z-index: 1101;
}

.sq-dropdown.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sq-dropdown a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--lagoon);
  text-decoration: none;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.92rem;
  font-weight: 600;
}

.sq-dropdown a:hover {
  background: rgba(196, 181, 253, 0.14);
  color: var(--gold);
}

.sq-user-id {
  display: block;
  margin: 2px 6px 8px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px dashed rgba(93, 115, 124, 0.35);
  background: rgba(255, 255, 255, 0.7);
  color: var(--moss);
  font-size: 0.79rem;
  font-weight: 700;
}

.sq-auth {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sq-auth button {
  border: none;
  border-radius: 999px;
  min-height: 44px;
  padding: 10px 18px;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.1;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  max-width: 100%;
  min-width: 0;
}

.sq-login-btn,
.sq-register-btn,
.sq-profile-btn {
  border: 1px solid rgba(196, 181, 253, 0.42);
}

.sq-login-btn {
  background: linear-gradient(135deg, #000000, #295f84);
  color: var(--alabaster);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.24);
}

.sq-register-btn,
.sq-profile-btn {
  background: linear-gradient(135deg, #fbc466, var(--gold));
  color: #3a2a00;
  box-shadow: 0 8px 16px rgba(196, 181, 253, 0.28);
}

.sq-login-btn:hover,
.sq-login-btn:focus-visible {
  background: linear-gradient(135deg, #245b7f, #33709a);
  color: var(--alabaster);
  border-color: rgba(196, 181, 253, 0.52) !important;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.sq-register-btn:hover,
.sq-register-btn:focus-visible,
.sq-profile-btn:hover,
.sq-profile-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(196, 181, 253, 0.34);
}

.sq-profile-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sq-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.24);
}

.sq-user-name {
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sq-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: rgba(255, 255, 255, 0.98);
  color: var(--lagoon);
  font-size: 1.25rem;
  line-height: 1;
  place-items: center;
  cursor: pointer;
}

/* Banner */
.edu-banner {
  position: relative;
  min-height: clamp(460px, 76vh, 720px);
  padding: clamp(80px, 12vh, 130px) 22px 56px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.edu-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
  filter: grayscale(1) saturate(0.45) contrast(0.95);
  transform: scale(1.07);
}

.edu-banner-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 14%, rgba(37, 99, 235, 0.22), transparent 50%),
    radial-gradient(circle at 85% 86%, rgba(196, 181, 253, 0.22), transparent 45%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.88) 100%);
}

.edu-banner-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  text-align: center;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 249, 232, 0.84));
  border: 1px solid rgba(93, 115, 124, 0.22);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 48px);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(5px);
  animation: section-rise 0.8s ease-out both;
}

.edu-banner-title {
  margin: 0;
  font-family: "Noto Sans Georgian", sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--heading-ink);
  font-size: clamp(2rem, 1.3rem + 2.4vw, 3.35rem);
}

.edu-banner-title i {
  margin-right: 12px;
  color: var(--gold);
}

.edu-banner-subtitle {
  margin: 18px auto 28px;
  max-width: 620px;
  font-size: clamp(1rem, 0.9rem + 0.46vw, 1.22rem);
  color: var(--moss);
}

.edu-banner-btn {
  border: none;
  border-radius: 999px;
  min-height: 48px;
  padding: 12px 24px;
  background: linear-gradient(130deg, #fbc466, var(--gold));
  color: #3a2a00;
  font-weight: 800;
  font-size: 0.96rem;
  letter-spacing: 0.02em;
  line-height: 1.1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 12px 22px rgba(196, 181, 253, 0.32);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.edu-banner-btn i {
  margin-right: 8px;
}

.edu-banner-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 26px rgba(196, 181, 253, 0.38);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.home-search-section {
  width: min(1180px, calc(100% - 34px));
  margin: 20px auto 0;
}

.home-search-card {
  padding: clamp(20px, 3vw, 28px);
  border-radius: 28px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.14), transparent 28%),
    radial-gradient(circle at bottom left, rgba(196, 181, 253, 0.12), transparent 26%),
    linear-gradient(148deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9));
  box-shadow: 0 20px 34px rgba(13, 38, 55, 0.1);
}

.home-search-title {
  margin: 10px 0 8px;
  color: var(--heading-ink);
  font-family: "Noto Sans Georgian", sans-serif;
  font-size: clamp(1.45rem, 1.1rem + 1vw, 2rem);
  line-height: 1.2;
}

.home-search-text {
  margin: 0;
  max-width: 760px;
  color: var(--moss);
}

.home-search-form {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.home-search-input-shell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.46);
}

.home-search-input-shell i {
  color: var(--lagoon);
  font-size: 1rem;
}

.home-search-input-shell input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
}

.home-search-input-shell input::placeholder {
  color: rgba(93, 115, 124, 0.9);
}

.home-search-btn {
  min-height: 56px;
  white-space: nowrap;
}

.home-search-status {
  margin: 14px 0 0;
  color: var(--moss);
  font-size: 0.94rem;
  font-weight: 700;
}

.home-search-results {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.home-search-result-card,
.home-search-empty {
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 24px rgba(13, 38, 55, 0.08);
  padding: 16px;
}

.home-search-result-card {
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.home-search-result-card:hover {
  transform: translateY(-2px);
  border-color: rgba(196, 181, 253, 0.34);
  box-shadow: 0 16px 28px rgba(13, 38, 55, 0.12);
}

.home-search-result-type {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  color: var(--lagoon);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-search-result-card strong,
.home-search-empty strong {
  display: block;
  color: var(--lagoon);
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.home-search-result-card p,
.home-search-empty p {
  margin: 8px 0 0;
  color: var(--moss);
  overflow-wrap: anywhere;
}

.home-search-result-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 800;
}

/* Ticker */
.ticker-container {
  max-width: 1140px;
  margin: 24px auto 12px;
  padding: 0;
  border-radius: 999px;
  overflow: hidden;
  border: var(--border-soft);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.09);
}

.ticker-text {
  margin: 0;
  white-space: nowrap;
  display: inline-block;
  padding: 12px 0;
  color: var(--lagoon);
  font-weight: 700;
  font-size: clamp(0.9rem, 0.8rem + 0.3vw, 1rem);
  animation: ticker-move 18s linear infinite;
}

.scroll-icon {
  margin: 0 10px 0 16px;
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--violet);
  color: var(--white);
  font-size: 0.78rem;
}



/* Sections */
.categories,
.edu-testimonials,
.partner-with-us-wrapper,
.edu-feedback {
  width: min(1180px, calc(100% - 34px));
  margin: 0 auto;
}

.categories {
  padding: 62px 0 10px;
}

.categories h3,
.edu-testimonials-title,
.partner-benefits h2,
.partner-with-us-header h2,
.feedback-box h2 {
  margin: 0;
  font-family: "Noto Sans Georgian", sans-serif;
  font-weight: 700;
  color: var(--heading-ink);
  letter-spacing: 0.01em;
}

.categories h3 {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-size: clamp(1.55rem, 1.15rem + 1vw, 2.2rem);
}

.categories h3 i,
.edu-testimonials-title i,
.partner-benefits h2 i,
.feedback-box h2 i {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  font-size: 1.1rem;
  color: var(--white);
  background: linear-gradient(160deg, var(--lagoon), #2d6f98);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.24);
}

.category-list {
  display: grid;
  gap: 18px;
}

.category-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-item {
  position: relative;
  height: 224px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.18);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transform: translateY(18px);
  opacity: 0;
  animation: card-enter 0.7s ease forwards;
  transition: transform 0.38s ease, box-shadow 0.38s ease;
}

.category-item:nth-child(2) {
  animation-delay: 0.08s;
}

.category-item:nth-child(3) {
  animation-delay: 0.16s;
}

.category-item:nth-child(4) {
  animation-delay: 0.24s;
}

.category-item:nth-child(5) {
  animation-delay: 0.32s;
}

.category-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.35));
  opacity: 0.6;
  z-index: 1;
}

.category-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease, filter 0.65s ease;
  filter: saturate(0.75) contrast(0.95);
}

.category-overlay {
  position: absolute;
  z-index: 2;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: var(--white);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 10px 12px;
  font-weight: 700;
  line-height: 1.3;
}

.category-icon {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.2);
  color: var(--gold);
}

.category-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift);
}

.category-item:hover img {
  transform: scale(1.08);
  filter: saturate(0.92) contrast(1.02);
}

/* Testimonials */
.edu-testimonials {
  margin-top: 38px;
  padding: 58px 0;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 15% 14%, rgba(37, 99, 235, 0.12), transparent 45%),
    radial-gradient(circle at 82% 83%, rgba(196, 181, 253, 0.12), transparent 42%),
    rgba(255, 255, 255, 0.78);
  border: var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.edu-testimonials-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  text-align: center;
  font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.35rem);
  margin-bottom: 30px;
}

.edu-carousel-container {
  overflow: hidden;
}

.edu-carousel {
  display: flex;
  transition: transform 0.6s ease;
}

.edu-testimonial-card {
  flex: 0 0 100%;
  padding: 0 20px;
}

.edu-card-inner {
  max-width: 740px;
  margin: 0 auto;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.94));
  border: 1px solid rgba(0, 0, 0, 0.16);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.11);
  padding: clamp(22px, 3.6vw, 34px);
  transition: transform 0.28s ease;
}

.edu-card-inner:hover {
  transform: translateY(-4px);
}

.edu-testimonial-text {
  margin: 0 0 22px;
  font-size: clamp(1rem, 0.95rem + 0.45vw, 1.2rem);
  color: var(--lagoon-900);
  font-weight: 600;
}

.edu-testimonial-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.edu-testimonial-user img {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(37, 99, 235, 0.4);
}

.edu-user-info h4 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--lagoon);
}

.edu-user-info span {
  font-size: 0.9rem;
  color: var(--moss);
}

.edu-nav-buttons {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.edu-nav-buttons button {
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fbc466, var(--gold));
  color: #3a2a00;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.24s ease, background 0.24s ease;
}

.edu-nav-buttons button:hover {
  background: linear-gradient(135deg, #f7b73f, #ffcb63);
  transform: translateY(-2px);
}

/* Partner */
.partner-with-us-wrapper {
  margin-top: 42px;
  padding: 20px 0 8px;
}

.partner-with-us-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  padding: clamp(24px, 4vw, 38px);
  border-radius: var(--radius-lg);
  background: linear-gradient(130deg, rgba(0, 0, 0, 0.9), #255c82 60%, #2f6f95 100%);
  box-shadow: var(--shadow-soft);
}

.partner-with-us-hero-text h1 {
  margin: 0 0 12px;
  color: var(--white);
  font-family: "Noto Sans Georgian", sans-serif;
  font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.65rem);
  line-height: 1.2;
}

.partner-with-us-hero-text h1 i {
  margin-right: 12px;
  color: var(--gold);
}

.partner-with-us-hero-text p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.92);
  max-width: 550px;
}

.partner-with-us-btn {
  border: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 800;
  color: #3a2a00;
  background: linear-gradient(140deg, #fbc466, var(--gold));
  box-shadow: 0 10px 22px rgba(196, 181, 253, 0.35);
  cursor: pointer;
  transition: all 0.24s ease;
}

.partner-with-us-btn i {
  margin-right: 8px;
}

.partner-with-us-btn:hover {
  transform: translateY(-2px);
}

.partner-with-us-hero-image {
  display: grid;
  place-items: center;
  padding: 10px;
}

.partner-with-us-hero-image img {
  max-width: min(260px, 100%);
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.22));
}

.partner-benefits {
  margin-top: 34px;
}

.partner-benefits h2 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  text-align: center;
  margin-bottom: 20px;
}

.partner-benefit-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.partner-card {
  background: rgba(255, 255, 255, 0.86);
  border: var(--border-soft);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(16px);
  opacity: 0;
  animation: card-enter 0.65s ease forwards;
}

.partner-card:nth-child(2) {
  animation-delay: 0.1s;
}

.partner-card:nth-child(3) {
  animation-delay: 0.2s;
}

.partner-card h3 {
  margin: 0 0 8px;
  color: var(--lagoon);
  font-size: 1.04rem;
  display: flex;
  align-items: center;
  gap: 9px;
}

.partner-card h3 i {
  color: var(--violet);
}

.partner-card p {
  margin: 0;
  color: var(--moss);
}

.partner-with-us-container {
  margin-top: 24px;
}

.partner-with-us-header {
  text-align: center;
  margin-bottom: 14px;
}

.partner-with-us-header h2 {
  font-size: clamp(1.45rem, 1.1rem + 1vw, 2rem);
}

.partner-with-us-header p {
  margin: 10px auto 0;
  max-width: 680px;
  color: var(--moss);
}

.partner-with-us-form-content {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 16px;
}

.partner-with-us-info,
.partner-with-us-form {
  background: rgba(255, 255, 255, 0.9);
  border: var(--border-soft);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.partner-with-us-info h3 {
  margin: 0 0 14px;
  color: var(--lagoon);
}

.partner-with-us-info ul {
  margin: 0;
  padding-left: 18px;
  color: var(--moss);
}

.partner-with-us-info li {
  margin-bottom: 10px;
}

.partner-with-us-form form {
  display: grid;
  gap: 12px;
}

.partner-with-us-form input,
.partner-with-us-form textarea,
#edu-feedback-form input,
#edu-feedback-form textarea {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.22);
  border-radius: 12px;
  padding: 12px 13px;
  font-size: 0.94rem;
  background: #fff;
  color: var(--ink);
}

.partner-with-us-form textarea,
#edu-feedback-form textarea {
  min-height: 120px;
  resize: vertical;
}

.partner-with-us-form button,
#submit-btn {
  border: none;
  border-radius: 12px;
  padding: 12px 16px;
  background: var(--lagoon);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.24s ease;
}

.partner-with-us-form button:hover,
#submit-btn:hover {
  background: var(--violet);
  transform: translateY(-1px);
}

.partner-with-us-thankyou {
  text-align: center;
  padding: 34px 0 10px;
}

.thankyou-box {
  max-width: 620px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
  border: var(--border-soft);
  box-shadow: var(--shadow-soft);
  padding: 30px 20px;
}

.animated-fadein {
  opacity: 0;
  animation: section-rise 0.55s ease forwards;
}

.animated-fadein.delay {
  animation-delay: 0.18s;
}

.fade-slide-in {
  animation: section-rise 0.55s ease both;
}

.fade-slide-out {
  opacity: 0;
}

/* Feedback */
.edu-feedback {
  margin-top: 46px;
  margin-bottom: 40px;
  padding: 44px 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.9));
  border: var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.feedback-wrapper {
  max-width: 760px;
  margin: 0 auto;
}

.feedback-box,
.thank-you-message {
  border-radius: var(--radius-md);
  border: var(--border-soft);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.09);
  padding: clamp(20px, 4vw, 32px);
}

.feedback-box h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: clamp(1.45rem, 1.15rem + 0.95vw, 1.95rem);
}

.feedback-box p {
  text-align: center;
  margin: 8px 0 20px;
  color: var(--moss);
}

#edu-feedback-form {
  display: grid;
  gap: 12px;
}

#feedback-identity-fields {
  display: grid;
  gap: 10px;
}

.thank-you-message {
  text-align: center;
  color: #2f5f2f;
  background: #ebf7ea;
  display: none;
  font-weight: 700;
}

.animated-box {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.animated-box.show {
  opacity: 1;
  transform: translateY(0);
}

.hide {
  display: none !important;
}

#emoji-confetti {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 999;
}

.emoji {
  position: absolute;
  top: -40px;
  animation: confetti-fall 6s linear forwards;
}














































/* Home redesign */
.sq-logo {
  text-decoration: none;
}

.home-section {
  width: min(1180px, calc(100% - 34px));
  margin: 0 auto;
}

.edu-banner {
  min-height: auto;
  padding: clamp(68px, 11vh, 110px) 22px 26px;
}

.edu-banner::before {
  content: "";
  position: absolute;
  inset: 30px 16px 0;
  border-radius: 32px;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.18), transparent 42%),
    radial-gradient(circle at bottom right, rgba(196, 181, 253, 0.18), transparent 38%);
  z-index: 0;
}

.edu-banner-content.hero-layout {
  width: min(1180px, 100%);
  max-width: 1180px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 24px;
  text-align: left;
  padding: clamp(24px, 4vw, 40px);
}

.hero-copy,
.hero-panel {
  position: relative;
  z-index: 2;
}

.hero-eyebrow,
.section-kicker,
.study-tag,
.hero-panel-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lagoon);
  background: rgba(0, 0, 0, 0.08);
}

.hero-eyebrow {
  margin-bottom: 16px;
}

.edu-banner-title {
  max-width: 12ch;
}

.edu-banner-subtitle {
  margin: 16px 0 26px;
  max-width: 640px;
}

.hero-actions,
.featured-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 100%;
}

.edu-banner-btn,
.hero-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.hero-secondary-btn {
  min-height: 48px;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid rgba(196, 181, 253, 0.42);
  background: linear-gradient(135deg, rgba(255, 244, 214, 0.98), rgba(196, 181, 253, 0.94));
  color: #2f2606;
  font-weight: 800;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
  line-height: 1.1;
  box-shadow: 0 16px 28px rgba(196, 181, 253, 0.22);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, filter 0.24s ease;
}

.hero-secondary-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(196, 181, 253, 0.6);
  box-shadow: 0 18px 30px rgba(196, 181, 253, 0.28);
  filter: brightness(1.02);
}

.hero-badges,
.featured-points {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.hero-badges {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-badges li,
.featured-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.74);
  color: var(--lagoon-900);
  font-weight: 700;
}

.hero-badges i,
.featured-points i {
  color: var(--violet);
}

.hero-panel {
  display: grid;
  gap: 14px;
}

.hero-panel-card,
.hero-mini-card,
.how-card,
.study-card,
.trust-stat,
.featured-metric,
.test-series-card,
.event-card {
  border-radius: 22px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.1);
}

.hero-panel-card {
  padding: 20px;
}

.hero-panel-card--primary {
  background: linear-gradient(155deg, rgba(0, 0, 0, 0.9), rgba(32, 86, 122, 0.92));
  color: var(--white);
}

.hero-panel-card--primary .hero-panel-label {
  color: #143349;
  background: rgba(196, 181, 253, 0.92);
}

.hero-panel-list {
  margin: 14px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.92);
}

.hero-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hero-mini-card {
  padding: 18px;
}

.hero-mini-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--lagoon);
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.hero-mini-card span {
  color: var(--moss);
  font-size: 0.94rem;
  overflow-wrap: anywhere;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-kicker {
  margin-bottom: 14px;
  color: var(--gold);
}

.section-title {
  margin: 0;
  font-family: "Noto Sans Georgian", sans-serif;
  font-size: clamp(1.7rem, 1.3rem + 1.1vw, 2.45rem);
  color: var(--heading-ink);
  line-height: 1.18;
}

.section-copy {
  margin: 12px 0 0;
  color: var(--moss);
  font-size: 1rem;
  max-width: 66ch;
}

.categories {
  padding-top: 64px;
}

.how-it-works,
.test-series-section,
.study-content,
.events-section,
.featured-quiz,
.trust-section {
  padding: 78px 0 0;
}

.how-grid,
.study-grid,
.test-series-grid,
.events-grid,
.trust-stats {
  display: grid;
  gap: 18px;
}

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

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

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

.test-series-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 18px;
  padding: clamp(24px, 4vw, 34px);
  border-radius: 28px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background:
    radial-gradient(circle at top right, rgba(93, 115, 124, 0.14), transparent 28%),
    linear-gradient(145deg, rgba(16, 61, 89, 0.96), rgba(14, 44, 64, 0.98));
  box-shadow: 0 24px 44px rgba(13, 38, 55, 0.2);
  overflow: hidden;
}

.test-series-overview-copy,
.test-series-overview-side {
  position: relative;
  z-index: 1;
}

.test-series-overview-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(196, 181, 253, 0.96);
  color: #143349;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.test-series-overview h3 {
  margin: 18px 0 12px;
  color: #fff;
  font-family: "Noto Sans Georgian", sans-serif;
  font-size: clamp(1.5rem, 1.1rem + 1vw, 2.15rem);
  line-height: 1.18;
}

.test-series-overview p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.test-series-overview-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.test-series-overview-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 700;
}

.test-series-overview-list i {
  color: #f9dc99;
}

.test-series-overview-actions {
  margin-top: 22px;
}

.test-series-overview-side {
  display: grid;
  gap: 12px;
}

.test-series-overview-stat {
  padding: 18px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.test-series-overview-stat strong {
  display: block;
  margin-bottom: 6px;
  color: #f9dc99;
  font-family: "Noto Sans Georgian", sans-serif;
  font-size: 1.36rem;
}

.test-series-overview-stat span {
  color: rgba(255, 255, 255, 0.85);
}

.series-track-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 20px;
  padding: clamp(22px, 4vw, 32px);
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background:
    radial-gradient(circle at top right, rgba(93, 115, 124, 0.12), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 252, 0.84));
  box-shadow: 0 18px 34px rgba(13, 38, 55, 0.1);
}

.series-track-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.series-track-panel-copy,
.series-track-panel-note {
  position: relative;
  z-index: 1;
}

.series-track-panel h3 {
  margin: 18px 0 10px;
  color: var(--lagoon);
  font-size: clamp(1.35rem, 1.1rem + 0.85vw, 1.85rem);
}

.series-track-panel p {
  margin: 0;
  color: var(--moss);
  line-height: 1.65;
}

.series-track-badges {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.series-track-badges li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(0, 0, 0, 0.06);
  color: var(--lagoon);
  font-weight: 800;
}

.series-track-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.series-track-panel-note {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: clamp(18px, 3vw, 24px);
  border-radius: 22px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: linear-gradient(155deg, rgba(16, 61, 89, 0.96), rgba(24, 82, 117, 0.96));
  box-shadow: 0 20px 36px rgba(13, 38, 55, 0.18);
}

.series-track-panel-note strong {
  color: #f9dc99;
  font-family: "Noto Sans Georgian", sans-serif;
  font-size: clamp(1.2rem, 1rem + 0.7vw, 1.55rem);
}

.series-track-panel-note span {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
}

.popular-quiz-note {
  margin: 16px 0 0;
  color: var(--moss);
  font-weight: 600;
}

.how-card {
  position: relative;
  padding: 24px 22px;
}

.how-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(150deg, var(--violet), #978cff);
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 12px 20px rgba(37, 99, 235, 0.26);
}

.how-card h3 {
  margin: 18px 0 10px;
  color: var(--lagoon);
  font-size: 1.08rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.how-card h3 i {
  color: var(--gold);
}

.how-card p {
  margin: 0;
  color: var(--moss);
}

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

.study-card {
  padding: 22px;
  text-decoration: none;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.study-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: var(--shadow-lift);
}

.study-card:hover .study-card-link {
  border-color: rgba(196, 181, 253, 0.58);
  box-shadow: 0 16px 28px rgba(196, 181, 253, 0.2);
  transform: translateX(2px);
}

.study-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.study-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(150deg, rgba(37, 99, 235, 0.18), rgba(0, 0, 0, 0.1));
  color: var(--lagoon);
  font-size: 1.1rem;
}

.study-card h3 {
  margin: 0 0 10px;
  color: var(--lagoon);
  font-size: 1.1rem;
}

.study-card p {
  margin: 0 0 18px;
  color: var(--moss);
}

.study-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(196, 181, 253, 0.34);
  background: linear-gradient(135deg, rgba(255, 247, 224, 0.96), rgba(196, 181, 253, 0.2));
  color: #2f2606;
  font-weight: 800;
  box-shadow: 0 12px 22px rgba(196, 181, 253, 0.14);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.test-series-card,
.event-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.test-series-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.84));
}

.test-series-card::after {
  content: "";
  position: absolute;
  top: -24px;
  right: -24px;
  width: 110px;
  height: 110px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.16), rgba(37, 99, 235, 0));
}

.test-series-top,
.event-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.test-series-icon,
.event-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(150deg, rgba(37, 99, 235, 0.18), rgba(0, 0, 0, 0.1));
  color: var(--lagoon);
  font-size: 1.08rem;
}

.test-series-badge,
.event-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  color: var(--lagoon);
  font-size: 0.84rem;
  font-weight: 800;
}

.test-series-card h3,
.event-card h3 {
  margin: 0 0 10px;
  color: var(--lagoon);
  font-size: 1.1rem;
}

.test-series-card p,
.event-card p {
  margin: 0 0 18px;
  color: var(--moss);
}

.test-series-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.test-series-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--violet);
  font-size: 0.82rem;
  font-weight: 800;
}

.event-link {
  align-self: flex-start;
  margin-top: auto;
}

.test-series-card:hover,
.event-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: var(--shadow-lift);
}

.event-card--soon {
  grid-column: 1 / -1;
  max-width: 520px;
}

.featured-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  padding: clamp(24px, 4vw, 36px);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.92), rgba(17, 52, 77, 0.96));
  box-shadow: var(--shadow-lift);
}

.featured-shell .section-title,
.featured-shell .section-copy,
.featured-points li {
  color: var(--white);
}

.featured-shell .section-kicker {
  color: #143349;
  background: rgba(196, 181, 253, 0.94);
}

.featured-points li {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.featured-points i {
  color: #f9dc99;
}

.featured-metrics {
  display: grid;
  gap: 14px;
}

.featured-metric {
  padding: 22px 18px;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.featured-metric-value {
  display: block;
  margin-bottom: 6px;
  font-family: "Noto Sans Georgian", sans-serif;
  font-size: 1.5rem;
  color: #f9dc99;
}

.featured-metric-label {
  color: rgba(255, 255, 255, 0.85);
}

.trust-section {
  padding-bottom: 40px;
}

.trust-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-stat {
  padding: 22px;
}

.trust-stat i {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--violet);
  font-size: 1.15rem;
}

.trust-stat h3 {
  margin: 16px 0 8px;
  color: var(--lagoon);
}

.trust-stat p {
  margin: 0;
  color: var(--moss);
}

.trust-section .edu-testimonials {
  width: 100%;
  margin-top: 28px;
}

/* Professional home refinement */
:root {
  --sky: #475569;
  --coral: #C4B5FD;
  --midnight: #0d2637;
  --surface-strong: rgba(255, 255, 255, 0.92);
  --surface-soft: rgba(255, 255, 255, 0.74);
  --shadow-glow: 0 28px 56px rgba(13, 38, 55, 0.16);
}

body#home {
  position: relative;
  background:
    radial-gradient(circle at 12% 10%, rgba(93, 115, 124, 0.18), transparent 34%),
    radial-gradient(circle at 88% 14%, rgba(196, 181, 253, 0.16), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(37, 99, 235, 0.12), transparent 32%),
    linear-gradient(180deg, #fdfbf2 0%, #f5f0df 38%, #eef4f8 100%);
}

.sq-header.is-scrolled {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 245, 235, 0.95));
  border-bottom-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.14);
  transition: background 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.sq-header.is-scrolled .sq-logo span,
.sq-header.is-scrolled .sq-link,
.sq-header.is-scrolled .sq-link i,
.sq-header.is-scrolled .sq-toggle {
  color: var(--lagoon);
}

.sq-header.is-scrolled .sq-link:hover,
.sq-header.is-scrolled .sq-link.active {
  background: rgba(196, 181, 253, 0.14);
  border-color: rgba(196, 181, 253, 0.34);
}

.sq-header.is-scrolled .sq-link:hover i,
.sq-header.is-scrolled .sq-link.active i {
  color: var(--gold);
}

.sq-header.is-scrolled .sq-login-btn {
  background: linear-gradient(135deg, #fbc466, var(--gold));
  color: #3f2d00;
  border-color: rgba(196, 181, 253, 0.42) !important;
}

.sq-header.is-scrolled .sq-toggle {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(0, 0, 0, 0.14);
}

.edu-banner {
  --hero-pointer-x: 50%;
  --hero-pointer-y: 42%;
  --hero-scroll-depth: 0px;
  isolation: isolate;
  min-height: clamp(500px, 82vh, 780px);
  padding: clamp(86px, 12vh, 136px) 22px 54px;
}

.hero-ambient,
.hero-grid {
  position: absolute;
  pointer-events: none;
}

.hero-ambient {
  border-radius: 999px;
  filter: blur(16px);
  opacity: 0.88;
  animation: ambient-drift 14s ease-in-out infinite;
}

.hero-ambient--one {
  width: min(34vw, 360px);
  height: min(34vw, 360px);
  top: 4%;
  left: -8%;
  background: radial-gradient(circle, rgba(93, 115, 124, 0.42), rgba(93, 115, 124, 0));
}

.hero-ambient--two {
  width: min(30vw, 320px);
  height: min(30vw, 320px);
  right: -6%;
  bottom: 8%;
  background: radial-gradient(circle, rgba(196, 181, 253, 0.36), rgba(196, 181, 253, 0));
  animation-delay: -5s;
}

.hero-grid {
  inset: 34px 18px 6px;
  border-radius: 34px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.24) 1px, transparent 1px);
  background-size: 62px 62px;
  opacity: 0.2;
  mask-image: radial-gradient(circle at center, black 56%, transparent 96%);
}

.edu-banner::before {
  inset: 24px 16px 0;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background:
    radial-gradient(circle at var(--hero-pointer-x) var(--hero-pointer-y), rgba(93, 115, 124, 0.18), transparent 32%),
    radial-gradient(circle at 80% 86%, rgba(196, 181, 253, 0.16), transparent 32%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transform: translateY(calc(var(--hero-scroll-depth) * -0.18));
}

.edu-banner-overlay {
  background:
    radial-gradient(circle at var(--hero-pointer-x) var(--hero-pointer-y), rgba(93, 115, 124, 0.16), transparent 36%),
    radial-gradient(circle at 88% 84%, rgba(196, 181, 253, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(250, 247, 236, 0.2) 0%, rgba(255, 255, 255, 0.82) 100%);
}

.edu-banner-content {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.62));
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow-glow), inset 0 1px 0 rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.edu-banner-content::before,
.hero-panel-card::before,
.hero-mini-card::before,
.how-card::before,
.study-card::before,
.trust-stat::before,
.featured-metric::before,
.test-series-card::before,
.event-card::before,
.edu-card-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0));
  opacity: 0.65;
  pointer-events: none;
}

.edu-banner-content.hero-layout {
  gap: clamp(20px, 3vw, 32px);
}

.hero-copy,
.hero-panel,
.study-card,
.test-series-card,
.event-card,
.how-card,
.trust-stat,
.featured-metric,
.hero-panel-card,
.hero-mini-card,
.edu-card-inner {
  position: relative;
  z-index: 1;
}

.hero-proofbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}

.hero-signature-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

.hero-signature-band span {
  display: grid;
  gap: 4px;
  min-height: 72px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(246, 249, 252, 0.66));
  box-shadow: 0 16px 28px rgba(13, 38, 55, 0.08);
  color: var(--lagoon);
  font-size: 0.93rem;
  line-height: 1.5;
}

.hero-signature-band strong {
  color: var(--heading-ink);
  font-size: 0.96rem;
}

.hero-proofbar span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  color: var(--lagoon);
  font-size: 0.86rem;
  font-weight: 800;
}

.hero-proofbar i {
  color: var(--sky);
}

.hero-badges li,
.featured-points li,
.hero-proofbar span,
.section-kicker,
.hero-eyebrow,
.study-tag,
.hero-panel-label,
.test-series-badge,
.event-badge {
  backdrop-filter: blur(10px);
}

.hero-secondary-btn,
.event-link {
  background: linear-gradient(135deg, rgba(255, 244, 214, 0.98), rgba(196, 181, 253, 0.94));
  border: 1px solid rgba(196, 181, 253, 0.42);
  box-shadow: 0 16px 28px rgba(196, 181, 253, 0.22);
  backdrop-filter: none;
}

.hero-secondary-btn:hover,
.event-link:hover {
  transform: translateY(-2px);
  border-color: rgba(196, 181, 253, 0.6);
  box-shadow: 0 18px 30px rgba(196, 181, 253, 0.28);
}

.hero-badges li {
  min-height: 72px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.58));
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.hero-panel-card,
.hero-mini-card,
.how-card,
.study-card,
.trust-stat,
.featured-metric,
.test-series-card,
.event-card,
.edu-card-inner {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 252, 0.82));
  box-shadow: 0 18px 34px rgba(13, 38, 55, 0.1);
  transition:
    transform 0.35s cubic-bezier(0.2, 0.9, 0.2, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.hero-panel-card--primary {
  background: linear-gradient(155deg, rgba(16, 61, 89, 0.97), rgba(27, 86, 120, 0.96));
  box-shadow: 0 24px 38px rgba(13, 38, 55, 0.24);
}

.hero-trust-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hero-trust-item {
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(247, 250, 252, 0.78));
  box-shadow: 0 16px 30px rgba(13, 38, 55, 0.08);
}

.hero-trust-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--heading-ink);
  font-size: 0.98rem;
}

.hero-trust-item span {
  color: var(--moss);
  font-size: 0.92rem;
}

.hero-mini-card {
  min-height: 132px;
}

.hero-mini-card--full {
  grid-column: 1 / -1;
}

.hero-mini-card strong,
.how-card h3,
.study-card h3,
.test-series-card h3,
.event-card h3,
.trust-stat h3 {
  letter-spacing: -0.01em;
}

.section-heading {
  margin-bottom: 30px;
}

.section-kicker,
.hero-eyebrow,
.study-tag,
.hero-panel-label,
.test-series-badge,
.event-badge {
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

.section-title {
  letter-spacing: -0.02em;
}

.category-item {
  height: 248px;
  opacity: 1;
  transform: none;
  animation: none;
  background: #173f59;
}

.category-item::before {
  background: linear-gradient(180deg, rgba(11, 31, 45, 0) 10%, rgba(10, 31, 46, 0.82) 100%);
  opacity: 1;
}

.category-item img {
  position: absolute;
  inset: 0;
  filter: saturate(0.88) contrast(1.02);
  background: linear-gradient(145deg, #123a55, #245d81);
  color: transparent;
  font-size: 0;
}

.category-overlay {
  left: 14px;
  right: 14px;
  bottom: 14px;
  align-items: center;
  padding: 14px 15px;
  background: linear-gradient(145deg, rgba(12, 37, 53, 0.84), rgba(23, 63, 89, 0.92));
  box-shadow: 0 18px 28px rgba(8, 24, 36, 0.2);
}

.category-copy {
  min-width: 0;
  flex: 1;
  display: block;
}

.category-copy strong {
  display: block;
  font-size: 1rem;
  color: #fff;
}

.category-copy span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.83rem;
  font-weight: 600;
}

.category-item--more {
  background:
    radial-gradient(circle at 16% 18%, rgba(93, 115, 124, 0.24), transparent 34%),
    linear-gradient(145deg, #103d59, #173f59 55%, #245d81 100%);
}

.category-item--more img {
  opacity: 0.42;
  filter: grayscale(0.1) saturate(0.7) contrast(0.92);
}

.category-item--more .category-icon {
  background: rgba(196, 181, 253, 0.18);
  color: #f9dc99;
}

.category-item--more .category-arrow {
  background: rgba(196, 181, 253, 0.12);
}

.category-arrow {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #f9dc99;
  transition: transform 0.24s ease, background 0.24s ease;
}

.category-item:hover .category-arrow {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.16);
}

.how-card,
.study-card,
.trust-stat,
.test-series-card,
.event-card {
  overflow: hidden;
}

.how-step,
.study-icon,
.test-series-icon,
.event-icon,
.trust-stat i {
  box-shadow: 0 16px 26px rgba(37, 99, 235, 0.2);
}

.featured-shell {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(93, 115, 124, 0.18), transparent 30%),
    linear-gradient(145deg, rgba(16, 61, 89, 0.98), rgba(12, 38, 57, 0.98));
  box-shadow: 0 28px 52px rgba(13, 38, 55, 0.24);
}

.featured-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 34%),
    radial-gradient(circle at 90% 16%, rgba(196, 181, 253, 0.14), transparent 24%);
  pointer-events: none;
}

.featured-metric {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.edu-testimonials {
  background:
    radial-gradient(circle at 12% 16%, rgba(93, 115, 124, 0.12), transparent 34%),
    radial-gradient(circle at 85% 84%, rgba(196, 181, 253, 0.1), transparent 26%),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 40px rgba(13, 38, 55, 0.12);
}

.edu-card-inner {
  overflow: hidden;
}

.edu-card-inner::after,
.interactive-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(93, 115, 124, 0.18), transparent 40%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.interactive-card {
  transform-style: preserve-3d;
  will-change: transform;
}

.interactive-card:hover,
.interactive-card.is-tilting {
  border-color: rgba(93, 115, 124, 0.26);
  box-shadow: 0 22px 42px rgba(13, 38, 55, 0.16);
}

.interactive-card:hover::after,
.interactive-card.is-tilting::after,
.edu-card-inner:hover::after {
  opacity: 1;
}

.test-series-card:hover,
.event-card:hover,
.study-card:hover,
.category-item:hover {
  box-shadow: 0 24px 42px rgba(13, 38, 55, 0.16);
}





.home-reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition:
    opacity 0.75s cubic-bezier(0.21, 1, 0.29, 1),
    transform 0.75s cubic-bezier(0.21, 1, 0.29, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.home-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes ambient-drift {

  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(0, 14px, 0) scale(1.04);
  }
}

/* Preview design integration */
.sq-header {
  perspective: 1500px;
  background:
    radial-gradient(circle at 18% 0%, rgba(196, 181, 253, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95)) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.16);
  box-shadow:
    0 18px 34px rgba(13, 38, 55, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 5px 0 rgba(0, 0, 0, 0.08);
  transform-style: preserve-3d;
}

.sq-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0%, rgba(0, 0, 0, 0.12), transparent 62%);
}

.sq-header-container {
  transform: rotateX(2deg) translateY(-1px);
  transform-style: preserve-3d;
  transition: transform 0.35s ease;
}

.sq-header:hover .sq-header-container,
.sq-header.is-scrolled .sq-header-container {
  transform: rotateX(0deg) translateY(0);
}

.sq-link {
  background: rgba(255, 255, 255, 0.36);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow:
    0 10px 18px rgba(13, 38, 55, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.edu-banner-btn {
  color: #3a2a00;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.48), transparent 28%),
    linear-gradient(135deg, #f9dc99 0%, var(--gold) 48%, #d98f18 100%);
  border: 1px solid rgba(196, 181, 253, 0.5);
  border-radius: 999px;
  box-shadow:
    0 16px 26px rgba(196, 181, 253, 0.34),
    inset 0 -4px 8px rgba(82, 56, 0, 0.18),
    inset 0 4px 8px rgba(255, 255, 255, 0.42);
  transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
}

.edu-banner-btn:hover {
  transform: scale(1.04) translateY(-2px);
  box-shadow:
    0 22px 34px rgba(196, 181, 253, 0.42),
    inset 0 -4px 8px rgba(82, 56, 0, 0.14),
    inset 0 4px 10px rgba(255, 255, 255, 0.5);
  filter: saturate(1.04);
}

.hero-secondary-btn {
  color: var(--lagoon);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.18));
  border: 1px solid rgba(0, 0, 0, 0.28);
  box-shadow:
    0 12px 24px rgba(13, 38, 55, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero-secondary-btn:hover {
  color: var(--lagoon-900);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.28));
  border-color: rgba(196, 181, 253, 0.48);
  box-shadow:
    0 16px 28px rgba(13, 38, 55, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.category-item {
  background:
    radial-gradient(circle at 18% 12%, rgba(196, 181, 253, 0.15), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.86));
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-bottom: 4px solid var(--gold);
  box-shadow:
    8px 8px 18px rgba(0, 0, 0, 0.12),
    -8px -8px 18px rgba(255, 255, 255, 0.82);
  transform-style: preserve-3d;
}

.category-item:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(37, 99, 235, 0.22);
  border-bottom-color: var(--violet);
  box-shadow: 0 24px 44px rgba(13, 38, 55, 0.18);
}

.category-overlay {
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 18px 30px rgba(8, 24, 36, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform: translateZ(22px);
}




























/* Keyframes */
@keyframes ticker-move {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(-100%);
  }
}

@keyframes section-rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes card-enter {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes confetti-fall {
  from {
    transform: translateY(-30px) rotate(0deg);
    opacity: 1;
  }

  to {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}



/* Responsive */
@media (max-width: 1080px) {
  .sq-header-container {
    flex-wrap: wrap;
    justify-content: center;
  }

  .sq-auth {
    margin-left: auto;
  }

  .category-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .edu-banner-content.hero-layout,
  .featured-shell,
  .test-series-overview,
  .series-track-panel {
    grid-template-columns: 1fr;
  }

  .hero-badges,
  .hero-signature-band,
  .hero-trust-strip,
  .how-grid,
  .study-grid,
  .test-series-grid,
  .events-grid,
  .trust-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-proofbar span {
    flex: 1 1 calc(50% - 10px);
    justify-content: center;
  }

  .partner-with-us-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .partner-with-us-hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

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

  .partner-with-us-form-content {
    grid-template-columns: 1fr;
  }


}

@media (max-width: 900px) {
  .sq-header-container {
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 12px;
  }

  .sq-toggle {
    display: inline-grid;
  }

  .sq-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    padding: 14px;
    border-radius: 16px;
    border: var(--border-soft);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(248, 245, 235, 0.97));
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.12);
    flex-direction: column;
    align-items: stretch;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }

  .sq-header.is-scrolled .sq-nav {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(248, 245, 235, 0.97));
    border-color: rgba(0, 0, 0, 0.12);
  }

  .sq-nav.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .sq-link {
    width: 100%;
    justify-content: flex-start;
  }

  .sq-auth {
    margin-left: 0;
    min-width: 0;
    max-width: calc(100vw - 132px);
  }
}

@media (max-width: 768px) {
  .edu-banner {
    padding-top: 86px;
  }

  .ticker-container {
    margin-left: 14px;
    margin-right: 14px;
  }

  .categories,
  .home-search-section,
  .home-section,
  .edu-testimonials,
  .partner-with-us-wrapper,
  .edu-feedback {
    width: calc(100% - 24px);
  }

  .home-search-results {
    grid-template-columns: 1fr;
  }

  .category-list,
  .partner-benefit-cards,
  .hero-badges,
  .how-grid,
  .study-grid,
  .events-grid,
  .trust-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-panel-grid {
    grid-template-columns: 1fr;
  }

  .hero-signature-band,
  .hero-trust-strip {
    grid-template-columns: 1fr;
  }

  .hero-proofbar span {
    flex: 1 1 100%;
  }

  .edu-testimonial-card {
    padding: 0 10px;
  }








}

@media (max-width: 540px) {
  .sq-header-container {
    padding: 12px;
    gap: 8px;
  }

  .sq-logo span {
    display: none;
  }

  .sq-logo {
    flex: 0 0 auto;
  }

  .sq-auth {
    gap: 6px;
    max-width: calc(100vw - 118px);
  }

  .sq-auth button {
    padding: 8px 12px;
    font-size: 0.84rem;
  }

  .category-list,
  .partner-benefit-cards,
  .hero-badges,
  .how-grid,
  .study-grid,
  .events-grid,
  .trust-stats {
    grid-template-columns: 1fr;
  }

  .home-search-form {
    grid-template-columns: 1fr;
  }

  .home-search-input-shell,
  .home-search-btn {
    min-height: 52px;
  }

  .category-item {
    height: 224px;
  }

  .hero-actions,
  .featured-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-secondary-btn,
  .edu-banner-btn {
    width: 100%;
  }

  .hero-proofbar {
    display: grid;
  }

  .hero-proofbar span {
    justify-content: flex-start;
  }

  .ticker-text {
    animation-duration: 14s;
  }

  .feedback-box,
  .thank-you-message {
    padding: 18px 14px;
  }
}

@media (max-width: 768px) {
  .study-content-wrapper {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 32px;
  }

  .study-hero-illustration {
    max-width: 300px;
    aspect-ratio: 1;
  }

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

  .study-card {
    padding: 18px;
  }

  .study-icon {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
  }

  .study-card h3 {
    font-size: 1.05rem;
  }

  .study-card p {
    font-size: 0.9rem;
  }
}

@media (max-width: 540px) {
  .study-content-wrapper {
    gap: 20px;
  }

  .study-hero-illustration {
    max-width: 240px;
  }

  .study-card {
    padding: 14px;
  }

  .study-icon {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }

  .study-card h3 {
    font-size: 0.95rem;
  }

  .study-card-link {
    font-size: 0.85rem;
    min-height: 40px;
    padding: 8px 14px;
  }
}

@media (max-width: 1024px) {
  .study-content-wrapper {
    gap: 32px;
  }
}

/* Blue-white quiz category cards */
#categories-section.categories {
  padding-top: 54px;
}

#categories-section .section-kicker {
  gap: 10px;
  width: fit-content;
  padding: 9px 16px;
  border-radius: 12px;
  border: 1px solid #bdd3ff;
  background: #eef4ff;
  color: #2563eb;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.08);
}

#categories-section .section-kicker::before {
  content: "\f00a";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

#categories-section .section-title {
  max-width: 760px;
  color: #071c4d;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.4rem, 1.8rem + 2.2vw, 4.2rem);
  line-height: 1.06;
  letter-spacing: 0;
  font-weight: 900;
}

#categories-section .section-copy {
  max-width: 650px;
  color: #52627a;
  font-size: clamp(1rem, 0.95rem + 0.28vw, 1.18rem);
}

#categories-section .category-list {
  gap: 18px;
}

#categories-section .category-item,
#categories-page .category-item {
  height: 232px !important;
  border-radius: 18px !important;
  border: 1px solid #bdd3ff !important;
  border-bottom: 1px solid #bdd3ff !important;
  background:
    radial-gradient(circle at 76% 34%, rgba(37, 99, 235, 0.12), transparent 28%),
    linear-gradient(145deg, #f8fbff, #edf4ff) !important;
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.1) !important;
  transform: none !important;
  animation: none !important;
  opacity: 1 !important;
}

#categories-section .category-item::before,
#categories-page .category-item::before {
  background:
    linear-gradient(90deg, rgba(248, 251, 255, 0.98) 0%, rgba(248, 251, 255, 0.74) 43%, rgba(248, 251, 255, 0.08) 100%),
    radial-gradient(circle at 82% 28%, rgba(37, 99, 235, 0.13), transparent 34%) !important;
  opacity: 1 !important;
}

#categories-section .category-item img,
#categories-page .category-item img {
  display: none !important;
}

#categories-section .category-visual,
#categories-page .category-visual {
  position: absolute;
  z-index: 2;
  right: 26px;
  top: 38px;
  width: 148px;
  height: 108px;
  pointer-events: none;
  filter: drop-shadow(0 22px 18px rgba(37, 99, 235, 0.18));
}

#categories-section .category-visual::before,
#categories-section .category-visual::after,
#categories-page .category-visual::before,
#categories-page .category-visual::after {
  content: "";
  position: absolute;
}

.category-visual--science::before {
  left: 42px;
  top: 12px;
  width: 60px;
  height: 74px;
  border-radius: 12px 12px 22px 22px;
  background:
    radial-gradient(circle at 42% 18%, rgba(255, 255, 255, 0.8), transparent 12%),
    linear-gradient(160deg, #eff6ff 0%, #93c5fd 45%, #2563eb 100%);
  transform: rotate(-12deg);
}

.category-visual--science::after {
  left: 8px;
  bottom: 4px;
  width: 60px;
  height: 64px;
  border-radius: 50% 50% 18px 18px;
  background:
    radial-gradient(circle at 50% 72%, #2563eb 0 28%, transparent 29%),
    linear-gradient(180deg, transparent 0 36%, #dbeafe 37% 100%);
  box-shadow: 64px -14px 0 -18px #bfdbfe;
}

.category-visual--history::before {
  left: 16px;
  bottom: 8px;
  width: 112px;
  height: 24px;
  border-radius: 8px;
  background: linear-gradient(90deg, #dbeafe, #60a5fa);
  box-shadow: 12px -24px 0 -2px #eff6ff, 28px -48px 0 -7px #bfdbfe;
}

.category-visual--history::after {
  right: 8px;
  top: 16px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 38%, #60a5fa 0 18%, transparent 19%),
    radial-gradient(circle at 66% 56%, #1d4ed8 0 16%, transparent 17%),
    linear-gradient(145deg, #eff6ff, #93c5fd);
  border: 5px solid #2563eb;
}

.category-visual--tech::before {
  left: 10px;
  bottom: 12px;
  width: 98px;
  height: 60px;
  border-radius: 10px;
  background: linear-gradient(145deg, #eff6ff, #2563eb);
  box-shadow: inset 0 -8px 0 rgba(29, 78, 216, 0.28);
}

.category-visual--tech::after {
  right: 2px;
  top: 10px;
  width: 54px;
  height: 66px;
  border-radius: 24px 24px 18px 18px;
  background:
    radial-gradient(circle at 34% 34%, #60a5fa 0 7%, transparent 8%),
    radial-gradient(circle at 66% 34%, #60a5fa 0 7%, transparent 8%),
    linear-gradient(160deg, #ffffff, #bfdbfe 42%, #2563eb);
}

.category-visual--general::before {
  right: 14px;
  top: 8px;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 46%, rgba(255, 255, 255, 0.6) 47% 53%, transparent 54%),
    linear-gradient(0deg, transparent 46%, rgba(255, 255, 255, 0.6) 47% 53%, transparent 54%),
    radial-gradient(circle, #60a5fa, #1d4ed8);
}

.category-visual--general::after {
  left: 12px;
  bottom: 0;
  width: 88px;
  height: 24px;
  border-radius: 8px;
  background: linear-gradient(90deg, #eff6ff, #93c5fd);
  box-shadow: -12px -8px 0 -7px #2563eb;
}

.category-visual--math::before {
  right: 8px;
  top: 4px;
  width: 74px;
  height: 86px;
  border-radius: 16px;
  background:
    linear-gradient(#dbeafe 0 20%, transparent 21%),
    radial-gradient(circle at 30% 44%, #ffffff 0 7%, transparent 8%),
    radial-gradient(circle at 58% 44%, #ffffff 0 7%, transparent 8%),
    radial-gradient(circle at 30% 66%, #ffffff 0 7%, transparent 8%),
    radial-gradient(circle at 58% 66%, #ffffff 0 7%, transparent 8%),
    linear-gradient(160deg, #93c5fd, #2563eb);
}

.category-visual--math::after {
  left: 12px;
  bottom: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(145deg, #dbeafe, #60a5fa);
  transform: rotate(45deg);
}

.category-visual--more::before,
.category-visual--default::before {
  right: 16px;
  top: 10px;
  width: 82px;
  height: 82px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 30% 30%, #eff6ff 0 12%, transparent 13%),
    radial-gradient(circle at 70% 30%, #eff6ff 0 12%, transparent 13%),
    radial-gradient(circle at 30% 70%, #eff6ff 0 12%, transparent 13%),
    radial-gradient(circle at 70% 70%, #eff6ff 0 12%, transparent 13%),
    linear-gradient(145deg, #60a5fa, #1d4ed8);
}

.category-visual--more::after,
.category-visual--default::after {
  left: 12px;
  top: 24px;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: #dbeafe;
  box-shadow: 30px 34px 0 -5px #bfdbfe, 82px -8px 0 -7px #eff6ff;
}

#categories-section .category-top-copy,
#categories-page .category-top-copy {
  position: absolute;
  z-index: 2;
  left: 22px;
  top: 28px;
  max-width: 48%;
}

#categories-section .category-top-copy h3,
#categories-page .category-top-copy h3 {
  margin: 0;
  color: #2563eb;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.55rem, 1.3rem + 0.8vw, 2.2rem);
  line-height: 1;
  font-weight: 900;
}

#categories-section .category-top-copy p,
#categories-page .category-top-copy p {
  margin: 14px 0 0;
  color: #40547a;
  font-size: 0.98rem;
  line-height: 1.35;
  font-weight: 600;
}

#categories-section .category-overlay,
#categories-page .category-overlay {
  left: 14px !important;
  right: 14px !important;
  bottom: 14px !important;
  min-height: 58px;
  padding: 10px 14px !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.88) !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.08) !important;
  backdrop-filter: blur(10px);
}

#categories-section .category-icon,
#categories-page .category-icon {
  flex-basis: 38px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: #ffffff !important;
  background: linear-gradient(145deg, #2563eb, #1d4ed8) !important;
}

#categories-section .category-copy strong,
#categories-page .category-copy strong {
  color: #071c4d !important;
  font-size: 0.98rem;
  font-weight: 900;
}

#categories-section .category-arrow,
#categories-page .category-arrow {
  flex-basis: 38px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(145deg, #2563eb, #1d4ed8) !important;
  border: 0 !important;
}

#categories-section .category-item:hover,
#categories-page .category-item:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 24px 46px rgba(37, 99, 235, 0.16) !important;
}

#categories-section .category-item--more {
  background:
    radial-gradient(circle at 78% 36%, rgba(37, 99, 235, 0.3), transparent 34%),
    linear-gradient(145deg, #f8fbff, #dbeafe) !important;
}

#categories-section .category-item--more img {
  display: none !important;
}

@media (max-width: 768px) {

  #categories-section .category-item,
  #categories-page .category-item {
    height: 214px !important;
  }

  #categories-section .category-top-copy,
  #categories-page .category-top-copy {
    left: 18px;
    top: 22px;
    max-width: 54%;
  }

  #categories-section .category-top-copy h3,
  #categories-page .category-top-copy h3 {
    font-size: 1.55rem;
  }

  #categories-section .category-top-copy p,
  #categories-page .category-top-copy p {
    font-size: 0.86rem;
  }
}

/* Refined home test-series panel */
#test-series.test-series-section {
  position: relative;
  width: min(1380px, calc(100% - 34px));
  margin: 54px auto 0;
  padding: clamp(28px, 4vw, 52px);
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid #d7e4fb;
  background:
    radial-gradient(circle at 82% 18%, rgba(37, 99, 235, 0.08), transparent 28%),
    linear-gradient(145deg, #ffffff, #f8fbff);
  box-shadow: 0 24px 52px rgba(37, 99, 235, 0.08);
}

#test-series .section-heading {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin-bottom: 42px;
}

#test-series .section-kicker {
  width: fit-content;
  padding: 9px 16px;
  border-radius: 12px;
  border: 1px solid #bdd3ff;
  background: #eef4ff;
  color: #2563eb;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.08);
}

#test-series .section-kicker::before {
  content: "\f328";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 10px;
}

#test-series .section-title {
  color: #071c4d;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.45rem, 1.8rem + 2.2vw, 4rem);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 900;
}

#test-series .section-copy {
  color: #52627a;
  font-size: clamp(1rem, 0.95rem + 0.26vw, 1.16rem);
}

.test-series-visual {
  position: absolute;
  z-index: 1;
  right: clamp(42px, 10vw, 190px);
  top: 58px;
  width: 360px;
  height: 240px;
  pointer-events: none;
  filter: drop-shadow(0 26px 24px rgba(37, 99, 235, 0.16));
}

.test-clipboard,
.test-pen,
.test-clock {
  position: absolute;
  display: block;
}

.test-clipboard {
  left: 72px;
  top: 0;
  width: 150px;
  height: 190px;
  border-radius: 18px;
  background:
    linear-gradient(#2563eb 0 18px, transparent 19px),
    repeating-linear-gradient(180deg, transparent 0 30px, #c7d7f4 31px 38px, transparent 39px 50px),
    linear-gradient(145deg, #ffffff, #dbeafe);
  border: 10px solid #2563eb;
  transform: rotate(5deg);
}

.test-clipboard::before {
  content: "";
  position: absolute;
  left: 38px;
  top: -28px;
  width: 74px;
  height: 34px;
  border-radius: 12px 12px 6px 6px;
  background: linear-gradient(145deg, #60a5fa, #2563eb);
}

.test-clipboard::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 32px;
  width: 22px;
  height: 22px;
  border: 4px solid #2563eb;
  border-radius: 6px;
  box-shadow: 0 42px 0 -4px #ffffff, 0 42px 0 0 #2563eb, 0 84px 0 -4px #ffffff, 0 84px 0 0 #2563eb;
}

.test-pen {
  right: 94px;
  top: 86px;
  width: 28px;
  height: 150px;
  border-radius: 999px;
  background: linear-gradient(90deg, #60a5fa, #1d4ed8);
  transform: rotate(18deg);
}

.test-clock {
  right: 18px;
  bottom: 24px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #ffffff 0 56%, transparent 57%),
    conic-gradient(from -40deg, #60a5fa, #2563eb, #bfdbfe, #60a5fa);
  border: 8px solid #2563eb;
}

.test-clock::before {
  content: "";
  position: absolute;
  left: 42px;
  top: 22px;
  width: 5px;
  height: 30px;
  border-radius: 999px;
  background: #2563eb;
  transform-origin: bottom;
  transform: rotate(42deg);
}

.test-series-overview {
  position: relative;
  z-index: 2;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.92fr);
  gap: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.test-series-overview-copy {
  padding: 28px;
  border: 1px solid #d7e4fb;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.08);
}

.test-series-overview-chip {
  color: #071c4d;
  background: transparent;
  padding: 0;
  letter-spacing: 0;
  font-size: 1.2rem;
}

.test-series-overview-chip i {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  color: #2563eb;
  background: #eef4ff;
  border: 1px solid #d7e4fb;
}

.test-series-overview h3 {
  color: #071c4d;
  font-family: "Manrope", sans-serif;
  font-size: 1.08rem;
  line-height: 1.35;
  font-weight: 900;
}

.test-series-overview p {
  color: #52627a;
}

.test-series-overview-list {
  border-top: 1px solid #d7e4fb;
  padding-top: 16px;
}

.test-series-overview-list li {
  min-height: 58px;
  border: 1px solid #d7e4fb;
  border-radius: 14px;
  background: #f8fbff;
  color: #071c4d;
}

.test-series-overview-list i {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  color: #ffffff;
  background: linear-gradient(145deg, #2563eb, #1d4ed8);
}

.test-series-overview-actions .edu-banner-btn {
  border-radius: 14px;
  background: linear-gradient(145deg, #2563eb, #1d4ed8);
  color: #ffffff;
}

.test-series-overview-side {
  gap: 18px;
}

.test-series-overview-stat {
  position: relative;
  min-height: 188px;
  display: grid;
  grid-template-columns: 92px 1fr 170px;
  align-items: center;
  gap: 24px;
  padding: 24px 28px;
  overflow: hidden;
  border: 1px solid #d7e4fb;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.08);
}

.test-series-overview-stat strong,
.test-series-overview-stat>span:not(.test-stat-icon) {
  grid-column: 2;
}

.test-series-overview-stat strong {
  margin: 0;
  color: #2563eb;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.65rem, 1.2rem + 1vw, 2.2rem);
  font-weight: 900;
}

.test-series-overview-stat>span:not(.test-stat-icon) {
  color: #071c4d;
  line-height: 1.55;
}

.test-stat-icon {
  grid-row: 1 / span 2;
  width: 76px;
  height: 76px;
  border-radius: 18px;
  background: #f4f8ff;
  border: 1px solid #d7e4fb;
  position: relative;
}

.test-stat-icon::before,
.test-stat-icon::after {
  content: "";
  position: absolute;
}

.test-stat-icon-series::before {
  left: 18px;
  top: 20px;
  width: 40px;
  height: 12px;
  border-radius: 6px;
  background: #2563eb;
  box-shadow: 0 16px 0 #60a5fa, 0 32px 0 #bfdbfe;
}

.test-stat-icon-groups::before {
  left: 16px;
  top: 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 22px 0 0 #60a5fa, 11px 22px 0 #1d4ed8;
}

.test-series-overview-stat::after {
  content: "";
  grid-column: 3;
  grid-row: 1 / span 2;
  justify-self: end;
  width: 150px;
  height: 120px;
  filter: drop-shadow(0 20px 18px rgba(37, 99, 235, 0.18));
}

.test-series-overview-stat:first-child::after {
  border-radius: 18px;
  background:
    linear-gradient(180deg, #2563eb 0 16px, transparent 17px),
    linear-gradient(90deg, transparent 0 44%, #1d4ed8 45% 55%, transparent 56%),
    linear-gradient(145deg, #eff6ff, #93c5fd);
  box-shadow: 0 28px 0 -16px #2563eb, 0 46px 0 -22px #bfdbfe;
}

.test-series-overview-stat:last-child::after {
  border-radius: 50%;
  background:
    conic-gradient(#2563eb 0 26%, #f8fbff 27% 50%, #93c5fd 51% 76%, #dbeafe 77% 100%);
}

@media (max-width: 1080px) {
  .test-series-visual {
    opacity: 0.16;
    right: 24px;
  }

  .test-series-overview {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  #test-series.test-series-section {
    width: calc(100% - 18px);
    padding: 18px;
    border-radius: 20px;
  }

  .test-series-visual {
    display: none;
  }

  #test-series .section-heading {
    margin-bottom: 18px;
  }

  .test-series-overview-copy {
    padding: 16px;
  }

  .test-series-overview-stat {
    min-height: 0;
    grid-template-columns: 64px 1fr;
    padding: 16px;
  }

  .test-series-overview-stat::after {
    display: none;
  }

  .test-stat-icon {
    width: 56px;
    height: 56px;
  }
}

/* Final balance pass for the home Test Series panel */
#test-series.test-series-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.72fr);
  gap: 22px 34px;
  align-items: start;
}

#test-series .section-heading {
  grid-column: 1;
  min-height: 250px;
  margin-bottom: 0;
  display: grid;
  align-content: center;
}

.test-series-visual {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  top: auto;
  right: auto;
  justify-self: center;
  align-self: center;
  width: min(100%, 360px);
  height: 250px;
  opacity: 0.94;
}

.test-series-overview {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
  align-items: stretch;
}

.test-series-overview-copy {
  display: grid;
  align-content: start;
}

.test-series-overview-side {
  grid-template-rows: 1fr 1fr;
}

.test-series-overview-stat {
  min-height: 0;
  height: 100%;
}

.test-series-overview-stat::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 18px;
  background: radial-gradient(circle at 78% 36%, rgba(37, 99, 235, 0.08), transparent 30%);
  pointer-events: none;
}

.test-series-overview-stat strong,
.test-series-overview-stat>span:not(.test-stat-icon),
.test-stat-icon {
  position: relative;
  z-index: 1;
}

@media (max-width: 1080px) {
  #test-series.test-series-section {
    grid-template-columns: 1fr;
  }

  #test-series .section-heading {
    min-height: 0;
    max-width: 720px;
  }

  .test-series-visual {
    position: absolute;
    right: 18px;
    top: 36px;
    width: 240px;
    height: 170px;
    opacity: 0.14;
  }

  .test-series-overview {
    grid-template-columns: 1fr;
  }

  .test-series-overview-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .test-series-overview-stat {
    min-height: 190px;
  }
}

@media (max-width: 720px) {
  #test-series.test-series-section {
    display: block;
  }

  .test-series-overview-side {
    grid-template-columns: 1fr;
  }

  .test-series-overview-stat {
    min-height: 0;
  }
}


