/* ═══════════════════════════════════════
   ACADEMINT — Shared Stylesheet
   Colors: #0F3B21 (ink) · #18a24a (leaf)
═══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --ink:   #0F3B21;
  --leaf:  #18a24a;
  --foam:  #f0faf4;
  --mist:  #dff0e7;
  --paper: #f8fdf9;
  --body:  #2d3e34;
  --soft:  #7a9a83;
  --white: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--paper);
  color: var(--body);
  overflow-x: hidden;
}

/* ── WORDMARK ── */
.wordmark {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  font-style: normal;
  font-size: 1.75rem;
  color: #fff;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
}
.wordmark .dot { color: var(--leaf); }
.wordmark-dark {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  font-style: normal;
  font-size: 1.75rem;
  color: var(--ink);
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
}
.wordmark-dark .dot { color: var(--leaf); }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 6vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15,59,33,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background 0.3s;
}

.nav-links { display: flex; gap: 28px; align-items: center; }

.nav-link {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1.5px;
  background: var(--leaf);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active { color: #fff; }
.nav-link.active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--leaf);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 9px 22px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}
.nav-cta:hover { background: #13913f; box-shadow: 0 4px 18px rgba(24,162,74,0.4); }

/* ── FOOTER ── */
footer {
  background: var(--ink);
  padding: 60px 6vw 36px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.75;
  margin-top: 14px;
  font-weight: 300;
  max-width: 240px;
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 300;
}
.footer-col ul li a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: 12px;
}

/* ── SHARED SECTION UTILS ── */
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.eyebrow-pill {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--leaf);
  background: rgba(24,162,74,0.1);
  border: 1px solid rgba(24,162,74,0.25);
  padding: 4px 12px;
  border-radius: 100px;
}

.eyebrow-pill-light {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--leaf);
  background: rgba(24,162,74,0.15);
  border: 1px solid rgba(24,162,74,0.3);
  padding: 4px 12px;
  border-radius: 100px;
}

.section-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--ink);
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-h2-light {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-lead {
  font-size: 0.97rem;
  color: var(--soft);
  max-width: 540px;
  line-height: 1.75;
}

.section-lead-light {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.5);
  max-width: 540px;
  line-height: 1.75;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--leaf);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.01em;
}
.btn-primary:hover {
  background: #13913f;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(24,162,74,0.45);
}

/* ── Sidebar payment buttons (India + International — identical style) ── */
.sidebar-pay-btn {
  display: block;
  width: 100%;
  background: var(--leaf);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 13px 20px;
  border-radius: 10px;
  text-decoration: none;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.01em;
  margin-top: 10px;
}
.sidebar-pay-btn:hover {
  background: #13913f;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(24,162,74,0.45);
  color: #fff;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.2s;
}
.btn-ghost:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.05);
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 10px;
  text-decoration: none;
  border: 1.5px solid var(--mist);
  transition: all 0.2s;
  cursor: pointer;
}
.btn-outline-dark:hover {
  border-color: var(--leaf);
  color: var(--leaf);
}

/* ── PAGE HERO BASE ── */
.page-hero {
  background: var(--ink);
  padding: 140px 6vw 90px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(24,162,74,0.13) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-texture {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(24,162,74,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24,162,74,0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  pointer-events: none;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp 0.6s ease both; }
.fade-up-1 { animation: fadeUp 0.6s 0.1s ease both; }
.fade-up-2 { animation: fadeUp 0.6s 0.2s ease both; }
.fade-up-3 { animation: fadeUp 0.6s 0.3s ease both; }
.fade-up-4 { animation: fadeUp 0.6s 0.4s ease both; }


/* ── FOOTER SOCIAL ── */
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.social-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: all 0.2s;
  color: rgba(255,255,255,0.5);
}
.social-icon:hover {
  background: var(--leaf);
  border-color: var(--leaf);
  color: #fff;
  transform: translateY(-2px);
}

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  z-index: 200;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--ink);
  z-index: 150;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  animation: menuIn 0.25s ease both;
}
.mobile-menu.open { display: flex; }

@keyframes menuIn {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: scale(1); }
}

.mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  letter-spacing: -0.5px;
  transition: color 0.2s;
  padding: 6px 20px;
}
.mobile-menu a:hover { color: var(--leaf); }
.mobile-menu a.active { color: #fff; }
.mobile-menu .mobile-cta {
  margin-top: 16px;
  background: var(--leaf);
  color: #fff !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem !important;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 10px;
  letter-spacing: 0.04em;
}
.mobile-menu-close {
  position: absolute;
  top: 22px; right: 6vw;
  background: none; border: none;
  color: rgba(255,255,255,0.5);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.mobile-menu-close:hover { color: #fff; }

/* ═══════════════════════════════════════════════════════════════
   SHARED RESPONSIVE  (style.css)
   Strategy: mobile-first — base = smallest, scale up via min-width
   But since existing base CSS uses desktop values we override down
   Breakpoints: 900 | 768 | 480
═══════════════════════════════════════════════════════════════ */

/* ── Nav ── */
@media (max-width: 768px) {
  nav { padding: 14px 5vw; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 480px) {
  nav { padding: 12px 5vw; }
  .wordmark, .wordmark-dark { font-size: 1.45rem; }
}

/* ── Footer ── */
@media (max-width: 900px) {
  footer { padding: 48px 5vw 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand p { max-width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
}

/* ── Page hero (inner pages) ── */
@media (max-width: 768px) {
  .page-hero { padding: 110px 5vw 56px; }
  .page-hero h1 { font-size: clamp(2rem, 9vw, 3.2rem); letter-spacing: -0.5px; }
  .page-hero p { font-size: 0.9rem; }
}
@media (max-width: 480px) {
  .page-hero { padding: 96px 5vw 44px; }
  .page-hero h1 { font-size: clamp(1.8rem, 10vw, 2.6rem); }
}

/* ── Typography scale ── */
@media (max-width: 768px) {
  .section-h2, .section-h2-light { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .section-lead, .section-lead-light { font-size: 0.9rem; max-width: 100%; }
}

/* ── Buttons ── */
@media (max-width: 480px) {
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
}
