/* Adamjee Coaching Centre — core stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root {
  --navy: #0F2A5C;
  --navy-deep: #081A3D;
  --blue: #1B5FD6;
  --blue-light: #EAF1FF;
  --gold: #F0B429;
  --gold-deep: #C6890F;
  --white: #FFFFFF;
  --ink: #12181F;
  --ink-soft: #4A5568;
  --line: #DDE3EE;
  --paper: #F7F9FC;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius: 6px;
  --shadow: 0 4px 20px rgba(15, 42, 92, 0.08);
  --shadow-lift: 0 12px 32px rgba(15, 42, 92, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@font-face {
    font-family: 'Rockwell Extra Bold';
    src: url('../assets/fonts/rockwell-extra-bold-regular-2_ufonts.com.woff2') format('truetype');
    font-weight: normal;
    font-style: normal;
}
.logo-text {
    font-family: 'Rockwell Extra Bold', serif;
    font-size: 17px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 72px 0; }

.section-tight { padding: 48px 0; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-block;
  margin-bottom: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none !important;
}
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }

.btn-outline-navy {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

.btn-block { width: 100%; justify-content: center; }

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
}
.brand img { height: 40px; width: auto; }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a.active { color: var(--blue); font-weight: 600; }
.nav-links a:hover { color: var(--blue); text-decoration: none; }

.nav-cta { display: flex; gap: 10px; align-items: center; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle svg { width: 26px; height: 26px; color: var(--navy); }

@media (max-width: 860px) {
  .nav-links { 
    position: fixed; top: 68px; left: 0; right: 0; 
    background: var(--white); flex-direction: column; gap: 0;
    border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height 0.25s ease;
  }
  .nav-links.open { max-height: 400px; }
  .nav-links a { display: block; padding: 14px 24px; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .nav-cta .btn span.long { display: none; }
  .whatsapp-btn {
    display: none;
  }
  .logo-text {
    font-family: 'Rockwell Extra Bold', serif;
    font-size: 15px;
  }
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-grid h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 14px; }
.footer-grid a { color: rgba(255,255,255,0.75); display: block; margin-bottom: 8px; font-size: 0.92rem; }
.footer-grid a:hover { color: var(--gold); text-decoration: none; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { height: 44px; }
.footer-brand span { font-family: var(--font-display); font-weight: 700; color: var(--white); font-size: 1.1rem; }
.footer-brand .logo-text {font-family: 'Rockwell Extra Bold', serif; font-size: 17px; color: var(--white);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
