/* CSS Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #222;
  background-color: white;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1,
h2,
h3 {
  font-family: "Alata", sans-serif;
  font-weight: 400;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

/* Header and Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid #eee;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand a {
  font-family: "Alata", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e3a8a;
  text-decoration: none;
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: #222;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #1e3a8a;
}

.nav-link.active {
  color: #1e3a8a;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #222;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  color: #1e3a8a;
}

.hero-text p {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 2rem;
}

.hero-email {
  font-size: 1rem;
  color: #1e3a8a;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-top: 1rem;
}

.hero-list {
  margin-bottom: 2rem;
  text-align: left;
}

.hero-list h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-align: left;
}

.hero-list ul {
  list-style: disc;
  margin-left: 1.5rem;
  color: #333;
}

.hero-list li {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

.cta-button {
  display: inline-block;
  background: #f5b301;
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
  background: #e6a200;
  transform: translateY(-2px);
}

.hero-image img {
  width: 100%;
  height: 420px;
  max-height: 460px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.showcase {
  padding: 60px 0 40px;
  background: white;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.showcase-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.showcase-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.12);
}

.showcase-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.showcase-card figcaption {
  padding: 1.5rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: #1e3a8a;
}

.insights {
  padding: 40px 0 80px;
  background: #f8fafc;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.insight-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.insight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.insight-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.insight-card figcaption {
  padding: 1.25rem 1.5rem 1.75rem;
  font-size: 1.02rem;
  color: #1e3a8a;
  font-weight: 500;
}

/* Why Us Section */
.why-us {
  padding: 80px 0;
  background: white;
}

.why-us h2 {
  color: #1e3a8a;
}

.three-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 3rem 4rem;
}

.three-columns .column {
  text-align: center;
  padding: 2rem;
}

.icon {
  color: #1e3a8a;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}

.icon svg {
  width: 48px;
  height: 48px;
}

/* For Schools Section */
.for-schools {
  padding: 80px 0;
  background: #f8fafc;
}

.for-schools h2 {
  color: #1e3a8a;
}

.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.two-columns .column,
.what-we-do-card,
.workflow-card {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.what-we-do-card {
  margin: 2rem auto 0;
}

.workflow {
  padding: 80px 0;
  background: #ffffff;
}

.workflow h2 {
  color: #1e3a8a;
}

.workflow-card {
  margin-top: 2rem;
}

.two-columns h3 {
  color: #1e3a8a;
  border-bottom: 3px solid #f5b301;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
}

.benefit,
.process-step {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}

.benefit:last-child,
.process-step:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.benefit h4,
.process-step h4 {
  color: #1e3a8a;
}

.process-flow {
  font-size: 1rem;
  font-weight: 600;
  color: #1e3a8a;
  margin-bottom: 1.5rem;
}

/* Standards Section */
.standards {
  padding: 80px 0;
  background: white;
}

.standards h2 {
  color: #1e3a8a;
}

.standards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.standard {
  padding: 2rem;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  transition: border-color 0.3s ease;
}

.standard:hover {
  border-color: #f5b301;
}

.standard h3 {
  color: #1e3a8a;
}

/* Assurances Section */
.assurances {
  padding: 60px 0;
  background: #f8fafc;
}

.assurance-box {
  background: #fff7d6;
  border: 2px solid #f2d38a;
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
}

.assurance-box h3 {
  color: #1e3a8a;
  margin-bottom: 1.5rem;
}

.assurance-box p {
    font-size: 1.1rem;
    color: #555;
    margin: 0;
}

.assurance-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  text-align: left;
}

.assurance-box ul li {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
  position: relative;
  padding-left: 1.5rem;
}

.assurance-box ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #b45309;
  font-weight: 700;
  line-height: 1;
}

/* Policy Dialogs */
.policy-dialog {
    border: none;
    border-radius: 14px;
    padding: 0;
    max-width: 640px;
    width: calc(100% - 48px);
    box-shadow: 0 28px 68px rgba(30, 58, 138, 0.18);
    background: #ffffff;
    color: #1f2937;
    inset: 0;
    margin: auto;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.policy-dialog::backdrop {
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
}

.policy-dialog__content {
    position: relative;
    padding: 2.5rem 2.75rem;
}

.policy-dialog h2 {
    font-size: 2rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
    text-align: left;
}

.policy-dialog__meta {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.policy-dialog p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 1rem;
}

.policy-dialog a {
    color: #1e3a8a;
    font-weight: 500;
    text-decoration: none;
}

.policy-dialog a:hover,
.policy-dialog a:focus {
    text-decoration: underline;
}

.policy-dialog__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #e2e8f0;
    border: none;
    border-radius: 999px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #1f2937;
    font-size: 1.2rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.policy-dialog__close:hover,
.policy-dialog__close:focus {
    background: #1e3a8a;
    color: #ffffff;
    outline: none;
}

.policy-dialog__close span {
    line-height: 1;
    margin-top: -2px;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-button.primary {
    background: #1e3a8a;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button.primary:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: #1e3a8a;
    padding: 1rem 2rem;
    border: 2px solid #1e3a8a;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button.secondary:hover {
    background: #1e3a8a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.2);
}

/* Footer Section */
.footer {
    padding: 40px 0 30px;
    background: #f8fafc;
    color: #4b5563;
    border-top: 1px solid #e2e8f0;
}

.footer-content {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.footer-content p {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    color: #4b5563;
    line-height: 1.5;
}

.footer-content a {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 500;
}

.footer-content a:hover {
    text-decoration: underline;
}

/* For Schools New Section */
.for-schools-new {
    padding: 80px 0;
    background: #f8fafc;
}

.for-schools-new h2 {
    color: #1e3a8a;
}

.for-schools-new .two-columns .column {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.for-schools-new h3 {
    color: #1e3a8a;
    border-bottom: 3px solid #f5b301;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}

.for-schools-new .benefits-list {
    list-style: none;
    padding: 0;
}

.for-schools-new .benefits-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    padding-left: 2rem;
}

.for-schools-new .benefits-list li:last-child {
    border-bottom: none;
}

.for-schools-new .benefits-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1rem;
    color: #f5b301;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 968px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: white;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 2rem;
    transition: left 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-image {
    order: -1;
  }

  .hero-image img {
    height: 360px;
  }

  .showcase-grid,
  .insights-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.5rem;
  }

  .three-columns {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 2rem;
  }

  .two-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .standards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

}

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .nav-container {
    padding: 1rem 15px;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero-image img {
    height: 300px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 2rem;
  }

  .showcase-grid,
  .insights-grid {
    grid-template-columns: 1fr;
  }

  .showcase-card img {
    height: 260px;
  }

  .insight-card img {
    height: 220px;
  }

  .why-us,
  .for-schools,
  .standards {
    padding: 60px 0;
  }

  .two-columns .column,
  .what-we-do-card,
  .workflow-card {
    padding: 2rem;
  }

  .workflow-card {
    margin-top: 1.5rem;
  }

  .standard {
    padding: 1.5rem;
  }

  .assurance-box {
    padding: 2rem;
  }

  .footer {
    padding: 40px 0 24px;
  }


  .cta-button.primary, .cta-button.secondary {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  .policy-dialog {
    width: calc(100% - 32px);
    max-height: calc(100vh - 72px);
  }

  .policy-dialog__content {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .cta-button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  .hero-image img {
    height: 250px;
  }

  .two-columns .column,
  .what-we-do-card,
  .workflow-card {
    padding: 1.5rem;
  }

  .workflow-card {
    margin-top: 1.25rem;
  }

  .showcase-card img,
  .insight-card img {
    height: 200px;
  }

  .standard {
    padding: 1.2rem;
  }

  .assurance-box {
    padding: 1.5rem;
  }

  .policy-dialog {
    width: calc(100% - 24px);
    max-height: calc(100vh - 60px);
  }

  .policy-dialog h2 {
    font-size: 1.6rem;
  }

  .policy-dialog p {
    font-size: 0.9rem;
  }

  .policy-dialog__content {
    padding: 1.75rem;
  }
}
