*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --green: #1a6b3a; --green-dark: #0f4324; --green-mid: #2a8a4e;
  --gold: #c9a23d; --gold-light: #e8c76a;
  --cream: #faf8f3; --off-white: #f3f0e8;
  --text: #1a1a1a; --muted: #666; --border: #d4cfc2;
  --red: #c0392b; --red-light: #fdf2f2;
}
body { font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--text); min-height: 100vh; display: flex; flex-direction: column; }

header { background: var(--green-dark); position: relative; overflow: hidden; }
header::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(255,255,255,0.02) 40px, rgba(255,255,255,0.02) 80px); }
.header-inner { position: relative; max-width: 760px; margin: 0 auto; padding: 36px 24px 32px; display: flex; align-items: flex-start; gap: 26px; }
.header-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-top: 4px;
  flex-shrink: 0;
}
.header-copy {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}
.logo-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.logo-ring img { width: 100%; height: 100%; object-fit: cover; }
.header-text { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.header-text h1 { font-family: 'Playfair Display', serif; font-size: clamp(20px,4vw,26px); font-weight: 700; color: #fff; line-height: 1.2; }
.header-text p { font-size: 13px; color: var(--gold-light); margin-top: 0; }
.header-year {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
}
.header-campaign {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.8px;
  line-height: 1;
  white-space: nowrap;
}
.header-campaign-accent { color: var(--gold-light); }

.ticker-wrap { background: var(--gold); overflow: hidden; height: 34px; display: flex; align-items: center; }
.ticker-inner { display: flex; animation: ticker 40s linear infinite; white-space: nowrap; gap: 60px; }
.ticker-inner span { font-size: 12px; font-weight: 600; color: var(--green-dark); letter-spacing: 0.4px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

main { flex: 1; max-width: 760px; margin: 0 auto; width: 100%; padding: 48px 24px; }

.checker-card { background: #fff; border: 1.5px solid var(--border); border-radius: 16px; padding: 40px; box-shadow: 0 4px 32px rgba(0,0,0,0.06); margin-bottom: 32px; }
.checker-card h2 { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; color: var(--green-dark); margin-bottom: 6px; }
.checker-card .subtitle { font-size: 14px; color: var(--muted); margin-bottom: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--off-white); line-height: 1.6; }

.loading-bar { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: #f0faf4; border: 1.5px solid #a8dbb9; border-radius: 10px; margin-bottom: 20px; font-size: 13.5px; color: var(--green-dark); font-weight: 500; }
.spinner { width: 18px; height: 18px; border: 2.5px solid #a8dbb9; border-top-color: var(--green); border-radius: 50%; animation: spin 0.8s linear infinite; flex-shrink: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
.error-bar { padding: 14px 18px; background: var(--red-light); border: 1.5px solid #f0b8b3; border-radius: 10px; margin-bottom: 20px; font-size: 13.5px; color: #7a2020; line-height: 1.6; }

.field-group { margin-bottom: 20px; }
.field-group label { display: block; font-size: 12px; font-weight: 700; color: var(--green-dark); margin-bottom: 8px; letter-spacing: 0.5px; text-transform: uppercase; }
.input-wrap { position: relative; }
.input-wrap input { width: 100%; padding: 15px 50px 15px 20px; font-family: 'DM Sans', sans-serif; font-size: 17px; font-weight: 500; border: 1.5px solid var(--border); border-radius: 10px; outline: none; transition: border-color 0.2s, box-shadow 0.2s; background: var(--cream); color: var(--text); letter-spacing: 2px; }
.input-wrap input:focus { border-color: var(--green-mid); box-shadow: 0 0 0 3px rgba(42,138,78,0.12); background: #fff; }
.input-wrap input::placeholder { color: #bbb; letter-spacing: 0; font-weight: 400; font-size: 15px; }
.input-wrap input:disabled { opacity: 0.45; cursor: not-allowed; }
.input-icon { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: #bbb; font-size: 18px; }

.check-btn { width: 100%; padding: 16px; background: linear-gradient(135deg, var(--green), var(--green-mid)); color: #fff; font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 600; border: none; border-radius: 10px; cursor: pointer; letter-spacing: 0.4px; transition: transform 0.15s, box-shadow 0.2s; box-shadow: 0 4px 16px rgba(26,107,58,0.3); position: relative; overflow: hidden; }
.check-btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(26,107,58,0.4); }
.check-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-shine { position: absolute; top: 0; left: -100%; width: 60%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent); transition: left 0.5s; }
.check-btn:hover:not(:disabled) .btn-shine { left: 150%; }

#result { margin-top: 24px; }
.result-box { border-radius: 12px; padding: 28px; animation: fadeUp 0.35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.result-success { background: linear-gradient(135deg, #f0faf4, #e6f7ec); border: 1.5px solid #a8dbb9; }
.result-fail    { background: var(--red-light); border: 1.5px solid #f0b8b3; }
.res-header { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.res-icon { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.icon-success { background: var(--green); }
.icon-fail    { background: var(--red); }
.res-tag { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--green-mid); }
.res-tag-fail { color: var(--red); }
.res-header-text h3 { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--green-dark); margin-top: 2px; }
.h3-fail { color: var(--red) !important; }
.res-divider     { height: 1px; background: #b8dfc5; margin: 16px 0; }
.res-divider-red { height: 1px; background: #f0b8b3; margin: 16px 0; }
.res-row { display: flex; gap: 10px; margin-bottom: 10px; align-items: baseline; }
.res-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--green); min-width: 120px; flex-shrink: 0; }
.res-val { font-size: 15px; color: var(--text); font-weight: 500; }
.res-val.program { font-family: 'Playfair Display', serif; font-size: 18px; color: var(--green-dark); font-weight: 700; line-height: 1.3; }
.congrats-note { margin-top: 18px; padding: 14px 18px; background: rgba(26,107,58,0.08); border-left: 3px solid var(--green); border-radius: 0 8px 8px 0; font-size: 13.5px; color: var(--green-dark); line-height: 1.65; }
.advisory-text { font-size: 14px; color: #7a2020; line-height: 1.7; margin-bottom: 12px; }
.reminder-list { margin-left: 1.2rem; padding-left: 0.35rem; }
.reminder-list li { padding: 8px 0; border-bottom: 1px solid var(--off-white); font-size: 13.5px; color: #333; line-height: 1.65; }
.reminder-list li:last-child { border-bottom: none; }
ol.reminder-list { list-style: decimal; }
ul.reminder-list { list-style: disc; }
.sub-reminder-list { margin-top: 10px; margin-left: 1.1rem; padding-left: 0.3rem; }
.sub-reminder-list li { padding: 4px 0; border-bottom: none; font-size: 13.5px; line-height: 1.6; }
ol.sub-reminder-list { list-style: lower-alpha; }
.sub-sub-reminder-list { margin-top: 8px; margin-left: 1.2rem; padding-left: 0.35rem; list-style: lower-roman; }
.sub-sub-reminder-list li { padding: 3px 0; border-bottom: none; font-size: 13.5px; line-height: 1.55; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.contact-item { background: #fff; border: 1px solid #f0b8b3; border-radius: 8px; padding: 10px 14px; font-size: 13px; }
.c-label { font-size: 11px; font-weight: 700; color: var(--red); letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 3px; }

.section-title { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: var(--green-dark); margin-bottom: 4px; }
.section-sub { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.tabs { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.tab-btn { padding: 8px 18px; border-radius: 20px; font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600; cursor: pointer; border: 1.5px solid var(--border); background: #fff; color: var(--muted); transition: all 0.2s; }
.tab-btn.active { background: var(--green-dark); color: #fff; border-color: var(--green-dark); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp 0.3s ease; }
.info-card { background: #fff; border: 1.5px solid var(--border); border-radius: 12px; padding: 24px; margin-bottom: 16px; }
.info-card h4 { font-family: 'Playfair Display', serif; font-size: 16px; color: var(--green-dark); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.schedule-grid { display: grid; grid-template-columns: auto 1fr; }
.sched-date { padding: 10px 16px 10px 0; font-size: 13px; font-weight: 700; color: var(--green); border-bottom: 1px solid var(--off-white); white-space: nowrap; }
.sched-college { padding: 10px 0; font-size: 13.5px; color: #333; border-bottom: 1px solid var(--off-white); line-height: 1.5; }
.no-border { border-bottom: none !important; }
.req-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.req-item { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: #333; line-height: 1.5; }
.req-item::before { content: '✓'; color: var(--green); font-weight: 700; font-size: 13px; flex-shrink: 0; }
.med-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.med-table th { text-align: left; padding: 8px 12px; background: var(--off-white); color: var(--green-dark); font-weight: 700; font-size: 12px; }
.med-table td { padding: 10px 12px; border-bottom: 1px solid var(--off-white); vertical-align: top; line-height: 1.5; }
.med-table td, .med-table td * { font-weight: 400; }
.med-table tr:last-child td { border-bottom: none; }
.faq-item {
  background: linear-gradient(180deg, #fffdf8, #faf7ef);
  border: 1px solid #e6ddc9;
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 3px 14px rgba(15,67,36,0.04);
}
.faq-item + .faq-item { margin-top: 12px; }
.faq-q {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 8px;
  line-height: 1.5;
}
.faq-q::before {
  content: 'Q';
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--green-dark);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  margin-top: 1px;
}
.faq-a {
  font-size: 13.5px;
  color: #333;
  line-height: 1.7;
  padding-left: 34px;
}
.faq-a strong { color: var(--green-dark); }

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

footer { background: var(--green-dark); color: rgba(255,255,255,0.7); text-align: center; padding: 28px 24px; font-size: 12.5px; line-height: 1.8; }
footer a { color: var(--gold-light); text-decoration: none; }
footer strong { color: #fff; }
.footer-mantra {
  max-width: 560px;
  margin: 0 auto 14px;
  padding: 0;
  color: rgba(255,255,255,0.88);
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1.5;
}
.footer-contact-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 2px;
  padding: 6px 12px;
  border: 1px solid rgba(232, 199, 106, 0.3);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-contact-label { color: var(--gold-light); font-weight: 700; }
.footer-contact-sep { color: rgba(255,255,255,0.45); }
.footer-office-logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(255,255,255,0.92);
  padding: 4px;
  margin-bottom: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}

@media (max-width: 768px) {
  main { padding: 32px 16px; }
  .checker-card { padding: 26px 18px; }
  .info-card { padding: 18px 14px; }
  .contact-grid { grid-template-columns: 1fr; }

  .header-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 24px 16px;
  }
  .header-copy {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .header-text { align-items: center; }
  .header-text p { line-height: 1.4; }
  .header-brand { padding-top: 0; }
  .header-campaign { font-size: 15px; padding: 8px 14px; }

  .tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .tab-btn {
    width: 100%;
    padding: 10px 8px;
    border-radius: 12px;
    font-size: 12.5px;
  }

  .res-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .res-label { min-width: 0; }

  .schedule-grid { grid-template-columns: 1fr; }
  .sched-date {
    padding: 12px 0 4px;
    border-bottom: none;
  }
  .sched-college {
    padding: 0 0 12px;
    border-bottom: 1px solid var(--off-white);
  }
  .sched-college.no-border { border-bottom: none; }

  .med-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }

  .faq-a { padding-left: 0; }
  .footer-mantra { font-size: 14px; }
}

@media (max-width: 480px) {
  .header-text h1 { font-size: 22px; }
  .header-year { font-size: 11px; letter-spacing: 1px; }
  .logo-ring { width: 64px; height: 64px; }
  .tabs { grid-template-columns: 1fr; }
  .result-box { padding: 20px 16px; }
  .footer-contact-line { font-size: 12px; padding: 6px 10px; }
}
