/* ==========================================================================
   Quizabled 2026–27 | India Autism Center
   Typography: Basic Sans (Adobe Typekit)
   ========================================================================== */

:root {
  --brand-blue: #2B3B94;
  --brand-blue-mid: #243181;
  --brand-blue-dark: #202C76;
  --brand-yellow: #FCC726;
  --brand-yellow-hover: #EEB815;
  --brand-cyan: #03C4E3;

  --ink-dark: #2B3B94;
  --ink-body: #4A5062;
  --ink-muted: #646B7D;
  --white: #FFFFFF;

  --bg-lavender: #F4F6FC;
  --bg-soft-gray: #F8F8F8;
  --bg-policy: #E5E5E5;
  --border-card: #EAECF4;
  --divider-gray: #DDDDDD;

  --font-sans: "basic-sans", "Basic Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --container-max: 1280px;
  --radius-card: 16px;
  --radius-btn: 10px;
  --shadow-card: 0 8px 28px rgba(31, 36, 61, 0.05);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-body);
  background-color: var(--white);
  overflow-x: hidden;
}

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

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.btn:focus-visible {
  outline: 3px solid var(--brand-cyan);
  outline-offset: 3px;
}

.btn-nav {
     background-color: var(--brand-blue);
    color: var(--white);
    font-size: 18px;
    padding: 15px 30px;
    border-radius: 8px;
}

.btn-nav:hover {
  background-color: var(--brand-blue-dark);
  transform: translateY(-1px);
}

.btn-primary {
  background-color: var(--brand-yellow);
  color: #000;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.btn-primary:hover {
  background-color: var(--brand-yellow-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.btn-arrow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Shared Section Headings & Decorative Waves
   ========================================================================== */
.section-heading {
  font-size: clamp(26px, 2.5vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 20px;
}

.section-heading-center {
  text-align: center;
  margin-bottom: 44px;
}

.deco-wave {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.section-bg-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.icon-badge {
  background-color: var(--brand-yellow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-badge-lg {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.icon-badge-lg img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.icon-badge-sm {
  width: 46px;
  height: 46px;
  border-radius: 10px;
}

.icon-badge-sm img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--white);
  border-bottom: 1px solid rgba(31, 36, 61, 0.06);
  box-shadow: 0 2px 12px rgba(31, 36, 61, 0.04);
}

.header-inner {
  width: 100%;
  height: unset;
  padding: 10px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-logo img {
  height: auto;
  width: 100%;max-width:135px;
}

/* Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, var(--brand-blue) 0%, var(--brand-blue-mid) 52%, var(--brand-blue-dark) 100%);
  padding: 72px 5% 84px;
  color: var(--white); min-height:100vh;    display: flex;
    align-items: center;
}

.hero-spiral-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}

.hero-wave-top-left {
  top: -10px;
  left: -135px;
  width: 280px;
  transform: rotate(15deg);
}

.hero-wave-bottom-right {
  bottom: -24px;
  right: -90px;
  width: 280px;
}

.hero-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-left: max(24px, calc((100% - var(--container-max)) / 2 + 24px));
  padding-right: 0;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 40px;
}

.hero-title {
  font-size: clamp(30px, 3.2vw, 50px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title-white {
  display: block;
  color: var(--white);
}

.hero-title-yellow {
  display: block;
  color: var(--brand-yellow);
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  max-width: 100%;
  margin-bottom: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 16px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 28px;
}

.hero-badge-dot {
  width: 9px;
  height: 9px;
  flex-shrink: 0;
}

.hero-cta-wrap {
  display: flex;
  align-items: center;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.hero-collage-img {
  width: 100%;
  max-width: 720px;
  margin-left: auto;
}

/* About Section
   ========================================================================== */
.about-section {
  position: relative;
  overflow: visible;
  background-color: var(--white);
  padding: 72px 0 0;
  z-index: 3;
}

.about-wave-bottom-left {
     position: absolute;
    left: 0;
    bottom: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: end;
  gap: 56px;
}

.about-heading-mobile {
  display: none;
}

.about-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.about-cyan-circle {
  position: absolute;
  width: 124px;
  height: 124px;
  top: 34%;
  right: 20%;
  z-index: 1;
}

.about-kid-img {
  position: relative;
  z-index: 2;
  width: 145%;
  max-width: 100%;
  margin-top: -72px;
  margin-bottom: -68px;
  flex-shrink: 0;
}

.about-content {
  align-self: center;
  padding-bottom: 76px;
}

.about-content p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-body);
  margin-bottom: 16px;
}

.about-content p:last-child {
  margin-bottom: 0;
}

.about-content .about-highlight {
  font-weight: 700;
  color: #000;
}

/* What Makes Quizabled Special Section
   ========================================================================== */
.special-section {
  position: relative;
  z-index: 2;
  overflow: hidden;
  background-color: var(--bg-lavender);
  padding: 96px 0 84px;
}

.special-wave-bottom-right {
  bottom: -24px;
  right: -90px;
  width: 250px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pillar-card {
  background-color: var(--white);
  border-radius: var(--radius-card);
  padding: 28px 24px 30px;
  border: 1px solid rgba(43, 59, 148, 0.05);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(31, 36, 61, 0.09);
}

.pillar-card h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink-dark);
  margin-bottom: 10px;
}

.pillar-card p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-body);
}

/* Who Can Participate Section
   ========================================================================== */
.participate-section {
  position: relative;
  overflow: hidden;
  background-color: var(--white);
  padding: 84px 0;
}

.participate-wave-bottom-left {
    position: absolute;
    bottom: 0;
    left: 0;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
  margin: 0 auto;
}

.category-card {
  background-color: var(--white);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.category-card:hover {
  border-color: rgba(43, 59, 148, 0.22);
  transform: translateY(-2px);
}

.category-main {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.category-main h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink-dark);
}

.category-divider {
  width: 1px;
  height: 36px;
  background-color: var(--divider-gray);
  flex-shrink: 0;
}

.category-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 132px;
  flex-shrink: 0;
  font-size: 16px;
  color: var(--ink-body);
}

.meta-clock {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Bringing Opportunities Closer Section
   ========================================================================== */
.community-section {
  position: relative;
  z-index: 2;
  overflow: hidden;
  background-color: var(--bg-soft-gray);
  padding: 84px 0 112px;
}

.community-wave-bottom-right {
  bottom: -24px;
  right: -90px;
  width: 250px;
}

.community-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 52px;
}

.community-photo {
  width: 100%;
  border-radius: var(--radius-card);
  object-fit: cover;
  object-position: 75% center;
  aspect-ratio: 16 / 10.5;
  box-shadow: 0 12px 30px rgba(31, 36, 61, 0.08);
}

.community-content p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-body);
  margin-bottom: 14px;
}

.community-content p:last-child {
  margin-bottom: 0;
}

.community-content .community-lead {
  font-weight: 700;
  color:#1F243D; font-size:18px;
}

/* CTA Banner Section
   ========================================================================== */
.cta-section {
  position: relative;
  z-index: 3;
  overflow: visible;
  background: linear-gradient(155deg, var(--brand-blue) 0%, var(--brand-blue-mid) 52%, var(--brand-blue-dark) 100%);
  color: var(--white);
  margin-top: 0;
  padding-top: 64px;
}

.cta-spiral-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: end;
  gap: 32px;
}

.cta-content {
  padding-bottom: 64px;
}

.cta-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-yellow);
  margin-bottom: 10px;
}

.cta-heading {
  font-size: clamp(28px, 2.8vw, 38px);
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
}

.cta-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 470px;
  margin-bottom: 26px;
}

.cta-btn-icon {
  width: 19px;
  height: 18px;
  flex-shrink: 0;
}

.cta-footnote {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 14px;
}

.cta-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.cta-cyan-circle {
  position: absolute;
  width: 148px;
  height: 148px;
  right: 2%;
  top: 18%;
  z-index: 1;
}

.cta-students-img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 560px;
  margin-top: -120px;
}

/* Footer
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 3;
}

.footer-top {
  background-color: var(--bg-soft-gray);
  padding: 36px 0;
}

.footer-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-logo img {
height: unset;
    width: 100%;
    max-width: 156px;
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-social-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-dark);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-links a {
  display: inline-flex;
  border-radius: 50%;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

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

.social-links img {
  width: 32px;
  height: 32px;
}

.footer-policies {
  background-color: var(--bg-policy);
  padding: 14px 0;
}

.policy-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  font-size: 16px;
  color: var(--ink-dark);
}

.policy-links a:hover {
  color: var(--brand-blue);
  text-decoration: underline;
}

.policy-sep {
  color: #9A9FA8;
}

.footer-bottom {
  background-color: var(--white);
  padding: 16px 0;
  text-align: center;
  font-size: 13px;
  color: var(--ink-body);
}

/* Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-students-img {
    margin-top: -70px;
  }
}

@media (max-width: 860px) {
  .header-inner {
    padding: 0 24px;
  }
	
	.hero-spiral-bg,.deco-wave{display:none;}

	.hero-badge{font-size:14px;}

  .hero-section {
    padding: 48px 0 60px;
  }

  .hero-grid {
    padding: 0 24px;
  }

  .hero-grid,
  .about-grid,
  .community-grid,
  .cta-grid,
  .categories-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    justify-content: center;
  }

  .hero-collage-img {
    max-width: 500px;
    margin: 0 auto;
  }

  .about-section,
  .special-section,
  .participate-section,
  .community-section {
    padding: 50px 0;
  }

  .about-grid {
    gap: 28px;
  }

  .about-content {
    padding-bottom: 0;
  }

  .about-heading-desktop {
    display: none;
  }

  .about-heading-mobile {
    display: block;
    text-align: center;
    margin-bottom: 4px;
  }

  .about-cyan-circle {
    width: 100px;
    height: 100px;
    right: 16%;
    top: 28%;
  }

  .about-kid-img {
    width: 100%;
    max-width: 480px;
    margin: -24px auto -16px;
  }

  .community-grid {
    gap: 32px;
  }

  .cta-section {
    margin-top: 0;
    padding-top: 56px;
    overflow: hidden;
  }

  .cta-content {
    padding-bottom: 12px;
  }

  .cta-visual {
    justify-content: center;
  }

  .cta-students-img {
    margin-top: 0;
    max-width: 440px;
  }

  .cta-cyan-circle {
    width: 136px;
    height: 136px;
    right: 4%;
    top: 8%;
  }
}

@media (max-width: 640px) {
  .container,
  .hero-grid {
    padding: 0 20px;
  }

  .header-inner {
    height: 66px;
    padding: 0 20px;
  }

  .brand-logo img {
    height: 36px;
  }

  .btn-nav {
    padding: 9px 18px;
    font-size: 13px;
  }

  .hero-cta-wrap .btn-primary,
  .cta-btn {
    width: 100%;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .category-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
  }

  .category-divider {
    width: 100%;
    height: 1px;
  }

  .category-meta {
    min-width: 0;
  }

  .footer-top-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-social {
    align-items: center;
  }
}

