/* =========================
   Base
========================= */
:root {
  --ink: #1a2430;
  --muted: #5f6975;
  --line: #e7ebf0;
  --surface: #f5f7fb;
  --white: #ffffff;
  --accent: #5b63e6;
  --accent-dark: #4951d4;
  --soft-accent: #eef1ff;
  --dark: #518dd6;
  --danger: #d94a5c;
  --danger-soft: rgba(217, 74, 92, 0.08);
  --shadow: 0 24px 55px rgba(18, 30, 46, 0.08);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

p,
ul,
li,
h1,
h2,
h3,
h4 {
  margin-top: 0;
}

.container {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.kicker {
  display: inline-block;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--white);
  background: var(--accent);
  box-shadow: 0 16px 28px rgba(91, 98, 232, 0.18);
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-secondary {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.btn-dark {
  color: var(--white);
  background: var(--dark);
}

.nav-cta {
  min-height: 42px;
  padding: 0 16px;
}

.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;
}

/* =========================
   Header
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(231, 235, 240, 0.9);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 32px;
}

.logo {
  font-family: "Manrope", Arial, sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.logo span {
  color: var(--accent);
}

.site-header .logo img {
  display: block;
  width: 180px;
  height: 36px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.desktop-nav a,
.desktop-nav button {
  color: #586270;
  font-size: 13px;
  font-weight: 600;
}

.desktop-nav .nav-cta {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav a:hover,
.footer-col a:hover,
.footer-bottom a:hover {
  color: var(--accent);
}

.mobile-menu button {
  margin-top: 8px;
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 180ms ease;
}

.menu-btn.is-open span:first-child {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-btn.is-open span:last-child {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  padding: 0 24px 20px;
  border-top: 1px solid var(--line);
}

.mobile-menu a {
  display: block;
  padding: 12px 0;
  color: #586270;
  font-size: 14px;
  font-weight: 600;
}

.mobile-menu.is-open {
  display: block;
}

/* =========================
   Hero
========================= */
.hero {
  padding: 40px 0 56px;
  background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.85fr);
  align-items: center;
  gap: 64px;
}

.hero-copy {
  max-width: 650px;
  padding: 0;
  margin: 0;
  align-self: start;
}

h1,
h2,
h3,
h4 {
  font-family: "Manrope", Arial, sans-serif;
  line-height: 1.08;
  letter-spacing: -0.05em;
}

h1 {
  max-width: 620px;
  margin: 0 0 24px;
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 800;
  color: var(--ink);
}

h1 span {
  color: var(--accent);
}

.hero-text {
  max-width: 600px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 0;
}

.text-link {
  color: #4a5562;
  font-size: 14px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
}

.hero-photo-frame {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 10px solid var(--white);
  border-radius: 32px;
  background: linear-gradient(135deg, #eef1ff 0%, #f7f7fa 100%);
  box-shadow: var(--shadow);
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================
   How It Works
========================= */
.section-heading {
  display: grid;
  grid-template-columns: 1fr 0.65fr;
  align-items: end;
  gap: 56px;
  margin-bottom: 40px;
}

.section-heading.centered {
  display: block;
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2,
.why-copy h2,
.faq-intro h2,
.subjects-copy h2 {
  margin-top: 14px;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
}

.section-heading h2 span,
.why-copy h2 span,
.faq-intro h2 span,
.subjects-copy h2 span {
  color: var(--accent);
}

.section-heading p,
.why-copy > p,
.faq-intro > p,
.subjects-copy p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.steps-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step-card,
.service-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.step-card:hover,
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.step-card {
  min-height: 270px;
  padding: 26px;
}

.step-number {
  color: #a7adba;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 26px 0 18px;
  border-radius: 14px;
  background: var(--soft-accent);
  color: var(--accent);
  font-size: 15px;
  font-weight: 800;
}

.step-card h3,
.service-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
}

.step-card p,
.service-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* =========================
   Subjects
========================= */
.subjects-section {
  background: #ffffff;
}

.subjects-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 42px;
}

.subjects-copy {
  max-width: 440px;
}

.subjects-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 3vw, 52px);
}

.subjects-copy p {
  margin-bottom: 24px;
  max-width: 360px;
}

.subjects-copy .btn {
  margin-top: 8px;
}

.about-founder-section {
  padding-block-start: 48px;
  background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

.about-founder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: start;
  gap: 64px;
}

.about-founder-copy {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  max-width: 620px;
}

.about-founder-copy h1 {
  margin: 14px 0 12px;
  font-size: clamp(38px, 4.4vw, 58px);
}

.about-founder-copy p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.about-founder-copy .about-founder-role {
  margin-bottom: 24px;
  color: var(--accent);
  font-weight: 700;
}

.about-support {
  margin-top: auto;
  padding-top: 24px;
}

.about-support h2 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.25;
}

.about-support > p {
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.6;
}

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

.about-support-item h3,
.about-trust h3 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.about-support-item p,
.about-trust p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.about-trust {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.about-founder-visual {
  display: flex;
  justify-content: center;
  width: 100%;
}

.about-founder-photo {
  position: relative;
  width: min(100%, 480px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 10px solid var(--white);
  border-radius: 32px;
  background: linear-gradient(135deg, #eef1ff 0%, #f7f7fa 100%);
  box-shadow: var(--shadow);
}

.about-founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.subjects-marquee-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.subjects-marquee {
  position: relative;
  width: min(100%, 560px);
  height: clamp(320px, 34vw, 440px);
  overflow: hidden;
  border: 1px solid rgba(91, 98, 232, 0.08);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 249, 255, 0.94) 100%);
  box-shadow: 0 16px 28px rgba(18, 30, 46, 0.03);
}

.subjects-marquee::after {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 12%;
  left: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(91, 98, 232, 0.2), transparent);
  content: '';
  pointer-events: none;
}

.subject-marquee-track {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  padding-top: 18px;
  animation: verticalMarquee 22.5s linear infinite;
  will-change: transform;
}

.subject-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0;
  padding: 0 14px;
  list-style: none;
}

.subject-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 58px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--ink);
  text-align: center;
  font-size: clamp(18px, 1.7vw, 20px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.4;
  opacity: 0.42;
  filter: blur(2px);
  transform: scale(1);
  transition: color 220ms ease, opacity 220ms ease, filter 220ms ease, transform 220ms ease, font-weight 220ms ease, background 220ms ease, box-shadow 220ms ease;
  cursor: pointer;
}

.subject-item.is-focused {
  opacity: calc(0.42 + var(--subject-focus, 0) * 0.58);
  filter: blur(calc(2px * (1 - var(--subject-focus, 0))));
  transform: scale(calc(1 + var(--subject-focus, 0) * 0.08));
  color: var(--accent);
  font-weight: calc(600 + var(--subject-focus, 0) * 100);
}

.subject-item.is-hovered {
  opacity: 1;
  filter: blur(0);
  transform: scale(1.08);
  font-size: calc(clamp(18px, 1.7vw, 20px) * 1.08);
  font-weight: 700;
  color: var(--accent);
  background: rgba(91, 98, 232, 0.05);
  box-shadow: inset 0 0 0 1px rgba(91, 98, 232, 0.04);
}

@media (hover: hover) and (pointer: fine) {
  .subjects-marquee.is-hovering .subject-marquee-track {
    animation-play-state: paused;
  }
}

@keyframes verticalMarquee {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(var(--subject-loop-offset, -50%));
  }
}

/* =========================
   WhatsApp
========================= */
.whatsapp-link {
  gap: 10px;
  border-color: rgba(91, 98, 232, 0.2);
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 16px 28px rgba(91, 98, 232, 0.18);
}

.whatsapp-link:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.hero-actions .whatsapp-link,
.hero-actions .btn-primary {
  min-height: 52px;
  padding: 0 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
}

.whatsapp-icon-inline {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(37, 211, 102, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 30px rgba(18, 30, 46, 0.12);
  color: var(--ink);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 30px rgba(18, 30, 46, 0.16);
}

.whatsapp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #25d366;
}

.whatsapp-icon svg {
  width: 16px;
  height: 16px;
  fill: #ffffff;
}

.whatsapp-text {
  font-size: 13px;
  font-weight: 700;
}

/* =========================
   Services
========================= */
.services-section {
  background: var(--surface);
}

.service-card {
  min-height: 250px;
  padding: 24px;
}

.service-symbol {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 0 18px;
  border-radius: 14px;
  background: var(--soft-accent);
  color: var(--accent);
  font-size: 17px;
  font-weight: 800;
}

.service-card > span {
  display: block;
  margin-bottom: 10px;
  color: #a2a9b5;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

/* =========================
   Why Us
========================= */
.why-section {
  background: #ffffff;
}

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 72px;
}

.why-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.why-list li {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.list-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 22px;
  border-radius: 999px;
  background: var(--soft-accent);
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.why-list strong,
.why-list span {
  display: block;
}

.why-list strong {
  font-size: 15px;
  color: var(--ink);
}

.why-list span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.why-visual {
  position: relative;
  min-height: 390px;
  padding: 30px;
  border-radius: 32px;
  background: linear-gradient(135deg, #edf0ff 0%, #f8f9ff 100%);
  overflow: hidden;
}

.why-visual::before,
.why-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(91, 98, 232, 0.12);
}

.why-visual::before {
  width: 280px;
  height: 280px;
  top: -120px;
  right: -80px;
}

.why-visual::after {
  width: 220px;
  height: 220px;
  bottom: -110px;
  left: -80px;
}

.why-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 330px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 22px 52px rgba(64, 73, 150, 0.08);
}

.kicker.light {
  color: var(--accent);
}

.why-card p {
  margin: 18px 0 0;
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 700;
  line-height: 1.35;
}

/* =========================
   FAQ
========================= */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 72px;
  align-items: start;
}

.faq-intro a {
  color: var(--accent);
  font-weight: 700;
}

.faq-list details {
  border-top: 1px solid var(--line);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  color: var(--accent);
  font-size: 24px;
  transition: transform 180ms ease;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list p {
  margin: -4px 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* =========================
   Contact / Footer
========================= */
.footer {
  padding: 64px 0 26px;
  background: #101922;
  color: #dfe6ee;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr 0.8fr;
  gap: 48px;
  padding-bottom: 36px;
}

.footer-brand .logo {
  color: var(--white);
}

.footer-brand p {
  max-width: 280px;
  margin: 18px 0 12px;
  color: #b7c0cb;
  font-size: 14px;
  line-height: 1.7;
}

.owner-block {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #dfe6ee;
  font-size: 13px;
}

.owner-block span {
  color: #aab6c2;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h3 {
  margin-bottom: 8px;
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
}

.footer-col a,
.footer-col p,
.country-list {
  color: #b8c2ce;
  font-size: 13px;
  line-height: 1.8;
}

.country-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #8c98a5;
  font-size: 12px;
}

/* =========================
   Assignment Modal
========================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 3vw, 36px);
  background: rgba(14, 21, 33, 0.54);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal {
  display: flex;
  flex-direction: column;
  width: min(920px, 100%);
  max-height: min(90vh, 920px);
  overflow: hidden;
  border: 1px solid rgba(231, 235, 240, 0.9);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 28px 60px rgba(17, 24, 39, 0.18);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 30px 30px 0;
  flex: 0 0 auto;
}

.modal-kicker {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.modal-header h3 {
  margin: 0;
  font-size: clamp(26px, 2.8vw, 34px);
  color: var(--ink);
}

.modal-close {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
}

.modal-body {
  min-height: 0;
  padding: 18px 30px 30px;
  overflow-y: auto;
  overscroll-behavior: contain;
  flex: 1 1 auto;
}

.modal-text {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 15px;
}

#assignment-form {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 18px;
}

.form-section-title {
  grid-column: 1 / -1;
  margin-top: 6px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field.full-width {
  grid-column: 1 / -1;
}

.field label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.field label span {
  color: var(--accent);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(91, 98, 232, 0.42);
  box-shadow: 0 0 0 4px rgba(91, 98, 232, 0.08);
  outline: none;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--danger);
  background: var(--danger-soft);
}

.field-error {
  min-height: 16px;
  color: var(--danger);
  font-size: 12px;
  font-weight: 600;
}

.file-picker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.file-input-wrap {
  position: relative;
  display: inline-block;
}

.file-input-wrap input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-name {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.form-actions {
  position: sticky;
  z-index: 2;
  bottom: -1px;
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 20px;
  padding: 16px 8px 18px;
  background: var(--white);
}

#assignment-form .form-actions button[type="submit"] {
  width: fit-content;
  max-width: 100%;
  padding-right: 16px;
  padding-left: 16px;
  white-space: nowrap;
}

.form-success {
  display: none;
  padding: 18px 0 8px;
}

.form-success.is-visible {
  display: block;
}

.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(91, 98, 232, 0.12);
  color: var(--accent);
  font-size: 28px;
  font-weight: 800;
}

.form-success h4 {
  margin-bottom: 12px;
  font-size: clamp(26px, 2.6vw, 34px);
  color: var(--ink);
}

.form-success p {
  margin-bottom: 10px;
  color: var(--muted);
  line-height: 1.7;
}

.form-success .success-note {
  margin-top: 8px;
  color: var(--ink);
  font-weight: 600;
}

/* =========================
   Responsive
========================= */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

.delay-1 {
  transition-delay: 80ms;
}

.delay-2 {
  transition-delay: 160ms;
}

@media (max-width: 960px) {
  .hero-grid,
  .why-grid,
  .faq-grid,
  .subjects-grid,
  .about-founder-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 40px;
  }

  .about-founder-grid {
    gap: 40px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

  .subjects-copy {
    max-width: 100%;
  }

  .subjects-marquee {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, 1160px);
  }

  .section {
    padding: 72px 0;
  }

  .about-founder-section {
    padding-top: 48px;
  }

  .about-support-grid {
    grid-template-columns: 1fr;
  }

  .desktop-nav {
    display: none;
  }

  .menu-btn {
    display: block;
    margin-left: auto;
  }

  .hero {
    padding-top: 24px;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-photo-frame {
    width: min(100%, 420px);
  }

  .subjects-marquee {
    height: clamp(260px, 42vw, 320px);
  }

  .subject-list {
    padding-left: 16px;
    padding-right: 16px;
  }

  .subject-item {
    padding: 10px 10px;
  }

  .steps-grid,
  .service-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .why-visual {
    min-height: 300px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .modal {
    border-radius: 22px;
  }

  .modal-header,
  .modal-body {
    padding-left: 20px;
    padding-right: 20px;
  }

  .form-actions {
    flex-direction: column-reverse;
    align-items: flex-end;
  }

  .form-actions .btn {
    width: auto;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    padding: 0;
    width: 48px;
    height: 48px;
    justify-content: center;
  }

  .whatsapp-text {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
 /* Anti-spam honeypot */
.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
#assignment-modal.submission-sucess #assignment-form,
#assignment-modal.submission-sucess .form actions {
    display: none !important;
}
#assignment-modal.submission-sucess .modal-sucess{
    display: block !important;
}
.social-links {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}

.social-links a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-links img {
  width: 22px !important;
  height: 22px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  object-fit: contain;
  display: block;
}

.social-links a:hover {
  transform: translateY(-2px);
  opacity: 0.8;
}
