/* --- FONT IMPORTS --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700;800&family=Montserrat:wght@400;500;600;700&family=Inter:wght@400&display=swap');

/* --- CSS VARIABLES --- */
:root {
  --color-white: #FFFFFF;
  --color-light-gray-1: #F1F1F1;
  --color-light-gray-2: #F2F2F2;
  --color-light-gray-3: #B7B7B7;
  --color-light-gray-4: #D9D9D9;
  --color-dark-gray-1: #313131;
  --color-dark-gray-2: #323232;
  --color-dark-gray-3: #1E1E1E;
  --color-dark-gray-4: #363636;
  --color-maroon-deep: #4E061B;
  --color-maroon-primary: #831E4A;
  --color-maroon-dark: #700A36;
  --color-green-primary: #00C724;
  --color-green-dark: #32782F;
  --color-yellow-primary: #FFC42A;
  --color-yellow-bright: #FCB704;
  --color-yellow-light: #F8D579;
  --color-black-t-40: #00000066;
  --color-black: #000000;

  --font-poppins: 'Poppins', sans-serif;
  --font-montserrat: 'Montserrat', sans-serif;
  --font-inter: 'Inter', sans-serif;

  --container-width: 1360px;
  --content-width: 1200px;
  --section-padding: 3rem 0;
}

/* --- RESET & BASE STYLES --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-montserrat);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-dark-gray-1);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#app {
  width: 100%;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

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

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-poppins);
  font-weight: 700;
  line-height: 1.3;
}

/* --- UTILITY CLASSES --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.content-container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  font-size: 35px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}

.section-title--left {
  text-align: left;
  font-size: 30px;
}

.section-description {
  max-width: 1130px;
  margin: 0 auto 2rem auto;
  font-size: 18px;
  text-align: center;
  line-height: 1.5;
}

.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 50px;
  font-family: var(--font-montserrat);
  font-weight: 700;
  font-size: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.btn--green { background-color: var(--color-green-dark); color: var(--color-white); }
.btn--yellow { background-color: var(--color-yellow-primary); color: var(--color-maroon-primary); }
.btn--white { background-color: var(--color-white); color: var(--color-maroon-primary); }
.btn--maroon { background-color: var(--color-maroon-primary); color: var(--color-white); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-light-gray-3);
  color: var(--color-dark-gray-3);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 1rem;
}
.tag img { width: 20px; height: 20px; }

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ========================================
   HEADER SECTION
======================================== */
/* --- HEADER --- */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  background-color: var(--color-white);
  z-index: 1000;
  padding: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: var(--content-width);
  width: 100%;
  padding: 0 2rem;
}
.header__logo img {
  width: 60px;
  height: auto;
}
.header__contact {
  font-family: var(--font-poppins);
  font-weight: 500;
  font-size: 14px;
  color: var(--color-dark-gray-4);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}
.header__contact span {
  display: none;
}
.header__contact a {
  display: block;
}
.header__contact a:first-child {
  order: 2;
}
.header__contact a:last-child {
  order: 1;
}
.header__contact a:hover {
  color: var(--color-maroon-primary);
}

/* ========================================
   HERO SECTION
======================================== */
/* --- HERO SECTION --- */
.hero {
  background-color: var(--color-maroon-primary);
  color: var(--color-white);
  padding: 8rem 0 5rem 0;
  position: relative;
}
.hero__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}
.hero__title {
  font-size: 50px;
  line-height: 1.22;
}
.hero__subtitle-wrapper {
  background-color: var(--color-yellow-primary);
  border-radius: 9px;
  padding: 0 1rem;
  margin: 1rem 0;
  display: inline-block;
}
.hero__subtitle {
  color: var(--color-maroon-primary);
  font-family: var(--font-poppins);
  font-weight: 700;
  font-size: 22px;
  line-height: 2.8;
}
.hero__description {
  font-family: var(--font-poppins);
  font-size: 20px;
  line-height: 1.4;
  max-width: 575px;
  margin: 1.5rem 0;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}
.hero__action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.hero__action-item .btn {
  font-size: 12px;
  padding: 16px 24px;
}
.hero__action-item span {
  font-size: 12px;
  font-weight: 500;
}
.hero__image-wrapper {
  position: relative;
}
.hero__image {
  border-radius: 30px;
  width: 100%;
  max-width: 670px;
  margin-left: auto;
}
.hero__stats {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 360px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 0.5rem;
}
.hero__stat-card {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.hero__stat-card span:first-child {
  font-family: var(--font-montserrat);
  font-weight: 700;
  font-size: 25px;
  line-height: 0.8;
}
.hero__stat-card span:last-child {
  font-family: var(--font-inter);
  font-size: 14px;
  line-height: 1.25;
  margin-top: 0.5rem;
}

/* ========================================
   INTRO SECTION
======================================== */
/* --- INTRO SECTION --- */
.intro {
  padding: var(--section-padding);
  background-color: #FFFFFF;
}
.intro__equation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 4rem;
}
.intro__item {
  text-align: center;
}
.intro__item img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin: 0 auto 0.5rem auto;
}
.intro__item span {
  font-family: var(--font-poppins);
  font-weight: 700;
  font-size: 12px;
}
.intro__symbol {
  font-family: var(--font-montserrat);
  font-weight: 700;
  font-size: 50px;
  color: var(--color-dark-gray-2);
}
.intro__result {
  color: var(--color-green-primary) !important;
  font-size: 35px !important;
  display: block;
  margin-bottom: 0.5rem;
}

/* ========================================
   FEATURE SECTIONS (FOR PARENTS, TEACHERS, PRESCHOOLS)
======================================== */
/* --- FEATURE SECTION --- */
.feature-section {
  padding: var(--section-padding);
  background-color: var(--color-white);
}
.feature-section:nth-of-type(odd) {
  background-color: var(--color-light-gray-2);
}
.feature-section__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5rem;
}
.feature-section__container--reverse {
  grid-template-columns: 1fr 1fr;
}
.feature-section__container--reverse .feature-section__content {
  order: 2;
}
.feature-section__container--reverse .feature-section__image {
  order: 1;
}
.feature-section__content p {
  font-size: 16px;
  line-height: 1.5;
  margin: 1.5rem 0;
  max-width: 670px;
}
.feature-section__image img {
  border-radius: 30px;
  width: 100%;
}

/* ========================================
   TRUST BANNER SECTION
======================================== */
/* --- TRUST BANNER --- */
.trust-banner {
  padding: var(--section-padding);
  position: relative;
  color: var(--color-white);
  text-align: center;
  background: linear-gradient(135deg, #8B1538 0%, #A91D47 50%, #8B1538 100%);
  overflow: hidden;
}
.trust-banner__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.3;
}
.trust-banner__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.trust-banner__container {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}
.trust-banner__top-icon {
  text-align: center;
  margin-bottom: 2rem;
}
.trust-banner__top-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}
.trust-banner .section-title {
  color: var(--color-white);
  font-size: 32px;
  margin-bottom: 2rem;
}
.trust-banner__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
.trust-banner .empower-card {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 3rem;
}
.trust-card {
  background-color: #FFFFFF;
  color: var(--color-dark-gray-1);
  padding: 1.5rem 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  backdrop-filter: blur(10px);
  border-left: 4px solid var(--color-yellow-bright);
}
.trust-card h3 {
  font-family: var(--font-montserrat);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-maroon-primary);
  margin-bottom: 0.5rem;
}
.trust-card p {
  font-family: var(--font-poppins);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-dark-gray-2);
  line-height: 1.2;
  margin-top: 0.5rem;
}
.empower-card {
  background: linear-gradient(90deg, #FFB800 0%, #FFC947 100%);
  border-radius: 20px;
  padding: 1.5rem 2rem;
  color: var(--color-dark-gray-1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.empower-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}
.empower-card__content {
  text-align: center;
}
.empower-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.empower-card p {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.8;
}

/* ========================================
   FOUNDER SECTION
======================================== */
/* --- FOUNDER SECTION --- */
.founder-section {
  padding: var(--section-padding);
}
.founder-section__container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 5rem;
}
.founder-section__image img {
  border-radius: 30px;
}
.founder-section__content p {
  font-size: 16px;
  line-height: 1.5;
  margin: 1rem 0;
}
.founder-section__quote {
  font-family: var(--font-poppins);
  font-weight: 800;
  font-style: italic;
  font-size: 20px;
  margin: 1.5rem 0 !important;
}

/* ========================================
   TESTIMONIALS SECTION
======================================== */
/* --- TESTIMONIALS --- */
.testimonials-section {
  padding: var(--section-padding);
  background-color: var(--color-light-gray-1);
}
.testimonial-slider {
  position: relative;
  overflow: hidden;
  max-width: 670px;
  margin: 2rem auto 0 auto;
  text-align: center;
}
.testimonial-slide {
  display: none;
}
.testimonial-slide.active {
  display: block;
}
.testimonial-text {
  font-family: var(--font-poppins);
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 1rem;
}
.testimonial-author {
  font-family: var(--font-poppins);
  font-size: 15px;
  font-weight: 400;
}
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.5rem;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-white);
  border: 1px solid var(--color-maroon-primary);
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.dot.active {
  background-color: var(--color-maroon-primary);
}

/* ========================================
   ECOSYSTEM SECTION
======================================== */
/* --- ECOSYSTEM SECTION --- */
.ecosystem-section {
  padding: var(--section-padding);
}
.ecosystem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
.eco-card {
  background-color: var(--color-maroon-deep);
  color: var(--color-white);
  border-radius: 30px;
  padding: 3rem 3rem;
  text-align: center;
}
.eco-card img {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem auto;
}
.eco-card h3 {
  font-family: var(--font-montserrat);
  font-size: 24px;
  line-height: 1.22;
  margin-bottom: 0.5rem;
}
.eco-card__subtitle {
  font-family: var(--font-montserrat);
  font-size: 16px;
  font-weight: bold;
  display: block;
  margin-bottom: 2rem;
  opacity: 0.8;
}
.btn--white-small {
  background-color: var(--color-white);
  color: var(--color-maroon-deep);
  font-size: 15px;
}

/* ========================================
   FINAL CTA SECTION
======================================== */
/* --- FINAL CTA --- */
.final-cta {
  padding: var(--section-padding);
  background-color: var(--color-white);
}
.final-cta__container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 3rem 2rem;
  background-color: var(--color-light-gray-1);
  border-radius: 30px;
  text-align: center;
}
.final-cta__actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.final-cta .btn {
  font-size: 12px;
  font-weight: 700;
  padding: 18px 36px;
}

/* ========================================
   FOOTER SECTION
======================================== */
/* --- FOOTER --- */
.footer {
  background-color: var(--color-maroon-dark);
  color: var(--color-white);
  font-family: var(--font-poppins);
  font-size: 14px;
  font-weight: 400;
}
.footer__main {
  padding: 3rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.footer__logo-area {
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer__logo {
  width: 150px;
  height: 150px;
  border: 3px solid var(--color-white);
  border-radius: 50%;
  padding: 10px;
}
.footer__links ul {
  line-height: 2;
  list-style: none;
  padding: 0;
}
.footer__links li {
  margin-bottom: 0.5rem;
}
.footer__links li:before {
  content: '• ';
  color: var(--color-white);
  margin-right: 0.5rem;
}
.footer__links a:hover {
  color: var(--color-yellow-primary);
}
.footer__contact h4 {
  color: var(--color-yellow-bright);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 1rem;
}
.footer__contact ul {
  line-height: 1.8;
  list-style: none;
  padding: 0;
}
.footer__contact li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.footer__contact img {
  width: 20px;
  height: 20px;
}
.footer__contact a:hover {
  color: var(--color-yellow-primary);
}
.footer__bottom {
  background-color: var(--color-yellow-bright);
  color: var(--color-black);
  padding: 1rem 0;
  font-size: 12px;
  font-weight: 500;
}
.footer__bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 2rem;
  margin: 0;
}

/* --- RESPONSIVE STYLES --- */
@media (max-width: 1200px) {
  .trust-banner__cards { grid-template-columns: 1fr 1fr; }
  .trust-card { border-left-width: 20px; }
  .ecosystem-cards { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 992px) {
  :root { --section-padding: 2rem 0; }
  .section-title, .section-title--left { font-size: 28px; }
  .section-description, .feature-section__content p, .founder-section__content p { font-size: 18px; }

  .header__contact { display: flex; }
  .hero { padding: 8rem 0 6rem 0; }
  .hero__container { grid-template-columns: 1fr; text-align: center; }
  .hero__content { order: 1; }
  .hero__image-wrapper { order: 2; position: relative; }
  .hero__title { font-size: 40px; }
  .hero__description { font-size: 20px; margin: 1.5rem auto; }
  .hero__actions { justify-content: center; flex-wrap: wrap; }
  .hero__stats { position: absolute; transform: translateX(-50%); left: 50%; bottom: -80px; width: 90%; margin-top: 0; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); max-width: 350px; gap: 0.5rem; z-index: 10; }

  .intro__equation { display: flex !important; justify-content: center !important; align-items: center !important; flex-wrap: wrap !important; gap: 0.75rem !important; width: 100% !important; }
  .intro__equation .intro__item { flex: 0 0 auto !important; text-align: center !important; }
  .intro__equation .intro__symbol:nth-of-type(1) { flex: 0 0 auto !important; font-size: 18px !important; }
  .intro__equation .intro__symbol:nth-of-type(2) { flex: 0 0 auto !important; font-size: 18px !important; }
  .intro__equation .intro__symbol:nth-of-type(3) { flex: 0 0 100% !important; text-align: center !important; font-size: 24px !important; margin-top: 0.75rem !important; }
  .intro__equation .intro__item:nth-child(7) { flex: 0 0 100% !important; text-align: center !important; margin-top: 0.75rem !important; }
  .intro__result { font-size: 24px !important; }

  .feature-section__container, .feature-section__container--reverse { grid-template-columns: 1fr; }
  .feature-section__container--reverse .feature-section__content,
  .feature-section__container--reverse .feature-section__image { order: initial; }
  .feature-section__content { text-align: center; }
  .section-title--left { text-align: center; }
  .feature-section__content p { margin-left: auto; margin-right: auto; }
  .feature-section__image { margin-top: 2rem; }
  
  .founder-section__container { grid-template-columns: 1fr; }
  .founder-section__content { text-align: center; }
  .founder-section__content .section-title--left { text-align: center; }

  .footer__main { grid-template-columns: 1fr; text-align: center; }
  .footer__logo-area { justify-content: center; }
  .footer__contact li { justify-content: center; }
}

@media (max-width: 768px) {
  .container { padding: 0 1rem; }
  .trust-banner__cards { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .empower-card { flex-direction: column; text-align: center; }
  .empower-card__content { text-align: center; }
  .final-cta__actions { flex-direction: column; align-items: center; }
  .footer__bottom-container { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 480px) {
  .section-title { font-size: 24px; }
  .section-title--left { font-size: 22px; }
  .hero__title { font-size: 28px; }
  .hero__subtitle { font-size: 13px; line-height: 1.6; }
  .hero__description { font-size: 14px; }
  .hero__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .hero__actions .hero__action-item:nth-child(3) { grid-column: 1 / -1; width: 50%; margin: 0 auto; }
  .hero__action-item .btn { font-size: 10px; padding: 10px 12px; }
  .hero__action-item span { font-size: 9px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); max-width: 250px; gap: 0.5rem; }
  
  .intro__equation { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 0.5rem; align-items: center; }
  .intro__equation .intro__item:nth-child(1) { grid-column: 1; grid-row: 1; }
  .intro__equation .intro__symbol:nth-of-type(1) { grid-column: 2; grid-row: 1; text-align: center; font-size: 24px; }
  .intro__equation .intro__item:nth-child(3) { grid-column: 3; grid-row: 1; }
  .intro__equation .intro__symbol:nth-of-type(2) { grid-column: 4; grid-row: 1; text-align: center; font-size: 24px; }
  .intro__equation .intro__item:nth-child(5) { grid-column: 5; grid-row: 1; }
  .intro__equation .intro__symbol:nth-of-type(3) { grid-column: 6; grid-row: 2; text-align: center; font-size: 24px; }
  .intro__equation .intro__item:nth-child(7) { grid-column: 1 / -1; grid-row: 3; text-align: center; }
  .intro__result { font-size: 28px !important; }
  
  .trust-banner__cards { grid-template-columns: 1fr; }
  .trust-card { padding: 1rem; }
  .trust-card h3 { font-size: 18px; }
  .trust-card p { font-size: 10px; }
  .trust-banner .section-title { font-size: 22px; }
  
  .final-cta__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .final-cta__actions .btn:nth-child(3) { grid-column: 1 / -1; width: 50%; margin: 0 auto; }
  .final-cta .btn { font-size: 10px; padding: 10px 12px; }
  .final-cta__container { padding: 2rem 1rem; }
  .final-cta .section-title { font-size: 22px; }
  
  .header__contact { font-size: 11px; flex-direction: column; align-items: flex-end; gap: 0.2rem; }
  .header__contact span { display: none; }
  .header__contact a { display: block; line-height: 1.2; }
}

/* ========================================
   POPUP FORMS STYLES
======================================== */

/* Modal Overlay */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease-out;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { 
    opacity: 0;
    transform: translate(-50%, -60%);
  }
  to { 
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* Modal Content */
.modal-content {
  background-color: var(--color-white);
  border-radius: 16px;
  padding: 0;
  width: 90%;
  max-width: 450px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  animation: slideIn 0.4s ease-out;
}

/* Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  font-weight: bold;
  color: var(--color-dark-gray-1);
  cursor: pointer;
  z-index: 1;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.close:hover {
  background-color: var(--color-light-gray-1);
  color: var(--color-maroon-primary);
}

/* Form Container */
.form-container {
  padding: 30px 25px 25px;
}

.form-container h2 {
  font-family: var(--font-montserrat);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-maroon-primary);
  margin-bottom: 6px;
  text-align: center;
}

.form-container p {
  font-family: var(--font-poppins);
  font-size: 14px;
  color: var(--color-dark-gray-1);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.4;
}

/* Form Styles */
.popup-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group select {
  font-family: var(--font-poppins);
  font-size: 14px;
  padding: 12px 16px;
  border: 1.5px solid var(--color-light-gray-2);
  border-radius: 10px;
  background-color: var(--color-white);
  color: var(--color-dark-gray-1);
  transition: all 0.3s ease;
  outline: none;
  height: 48px;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--color-green-primary);
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-group input::placeholder {
  color: var(--color-gray-1);
  font-weight: 400;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 40px;
}

.form-group select option {
  padding: 10px;
}

/* Submit Button */
.form-submit-btn {
  width: 100%;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-top: 8px;
  height: 48px;
}

.form-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-loading {
  display: none;
}

.form-submit-btn.loading .btn-text {
  display: none;
}

.form-submit-btn.loading .btn-loading {
  display: inline;
}

/* Success Message */
.form-success {
  background-color: var(--color-green-light);
  color: var(--color-green-dark);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 500;
  display: none;
}

.form-error {
  background-color: #fee;
  color: #c53030;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 500;
  display: none;
}

/* Loading Animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.form-submit-btn.loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  margin: auto;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

/* Wide form group for school name */
.form-group--wide {
  width: 104%;
}

/* Form Responsive Styles */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    max-width: 400px;
    margin: 10px;
  }
  
  .form-container {
    padding: 25px 20px 20px;
  }
  
  .form-container h2 {
    font-size: 22px;
  }
  
  .form-container p {
    font-size: 13px;
    margin-bottom: 16px;
  }
  
  .popup-form {
    gap: 12px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .form-group input,
  .form-group select {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 12px 14px;
    height: 46px;
  }
  
  .form-submit-btn {
    height: 46px;
    font-size: 14px;
  }
  
  .close {
    top: 12px;
    right: 15px;
    font-size: 22px;
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 480px) {
  .form-container {
    padding: 20px 16px 16px;
  }
  
  .form-container h2 {
    font-size: 20px;
  }
  
  .popup-form {
    gap: 10px;
  }
  
  .form-group input,
  .form-group select {
    height: 44px;
    padding: 10px 12px;
  }
  
  .form-submit-btn {
    height: 44px;
    margin-top: 6px;
  }
}
