/* ===========================
   GTA EDUCATION — GLOBAL CSS
   =========================== */

:root {
  --navy: #1B2F6E;
  --navy-dark: #111e4a;
  --navy-light: #2a4494;
  --gold: #F5C518;
  --gold-dark: #d4a800;
  --white: #ffffff;
  --light-bg: #f4f7fc;
  --text: #1a1a2e;
  --text-light: #555e7a;
  --border: #e0e8f0;
  --shadow: 0 4px 24px rgba(27, 47, 110, 0.12);
  --shadow-lg: 0 12px 48px rgba(27, 47, 110, 0.2);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

h1, h2, h3, h4, h5 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p { color: var(--text-light); line-height: 1.8; }

a { text-decoration: none; color: inherit; transition: var(--transition); }

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

ul { list-style: none; }

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

.section-pad { padding: 100px 0; }

.bg-light { background: var(--light-bg); }
.bg-navy { background: var(--navy-dark); }

.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }

/* BUTTONS */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(245,197,24,0.4);
}
.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245,197,24,0.5);
}
.btn-primary.full-width { width: 100%; text-align: center; }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 30px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.6);
  cursor: pointer;
  transition: var(--transition);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: white; }

.btn-outline-white {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.7);
  cursor: pointer;
  transition: var(--transition);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); }

.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(245,197,24,0.4);
}
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); }

/* SECTION HEADER */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 620px; margin: 0 auto; font-size: 1.05rem; }

.section-tag {
  display: inline-block;
  background: rgba(245,197,24,0.15);
  color: var(--gold-dark);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
  border: 1px solid rgba(245,197,24,0.3);
}
.section-tag.light {
  background: rgba(245,197,24,0.2);
  color: var(--gold);
  border-color: rgba(245,197,24,0.4);
}

.gold { color: var(--gold); }

/* TOP BAR */
.topbar {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  padding: 8px 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar-inner span { display: flex; align-items: center; gap: 6px; }
.topbar-inner i { color: var(--gold); font-size: 0.75rem; }
.topbar-right { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar-right a { color: rgba(255,255,255,0.85); display: flex; align-items: center; gap: 6px; }
.topbar-right a:hover { color: var(--gold); }
.social-icons { display: flex; gap: 12px; }
.social-icons a { font-size: 0.9rem; }

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(27,47,110,0.1);
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 30px rgba(27,47,110,0.15); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
}
.nav-logo img {
  height: 56px;
  width: auto;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links li a {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-links li a:hover, .nav-links li a.active { color: var(--gold-dark); background: rgba(245,197,24,0.1); }
.nav-links li a.nav-cta {
  background: var(--navy);
  color: var(--gold);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.88rem;
}
.nav-links li a.nav-cta:hover { background: var(--gold); color: var(--navy); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); }
.wa-tooltip {
  position: absolute;
  right: 70px;
  background: var(--navy);
  color: white;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.whatsapp-float:hover .wa-tooltip { opacity: 1; }

/* PAGE HERO (for inner pages) */
.page-hero {
  background: var(--navy-dark);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?w=1600&q=40') center/cover;
  opacity: 0.12;
}
.page-hero-content { position: relative; z-index: 1; text-align: center; }
.page-hero h1 { color: white; margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 600px; margin: 0 auto 24px; font-size: 1.1rem; }
.breadcrumb { display: flex; gap: 8px; justify-content: center; color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.breadcrumb a { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.5); }

/* FORM STYLES */
.form-card {
  background: white;
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
}
.form-card h3 { color: var(--navy); margin-bottom: 8px; }
.form-card p { margin-bottom: 24px; font-size: 0.92rem; }
.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 14px;
  transition: var(--transition);
  background: #fafbff;
  appearance: none;
}
.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: white;
  box-shadow: 0 0 0 3px rgba(27,47,110,0.08);
}
.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* FOOTER */
.footer { background: var(--navy-dark); color: white; }
.footer-top { padding: 80px 0 50px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}
.footer-brand img { height: 64px; width: auto; margin-bottom: 20px; }
.footer-brand p { color: rgba(255,255,255,0.65); font-size: 0.9rem; line-height: 1.8; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 0.9rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); color: var(--navy); }
.footer-links h5 { color: var(--gold); font-size: 1rem; margin-bottom: 20px; letter-spacing: 0.5px; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a { color: rgba(255,255,255,0.65); font-size: 0.9rem; transition: var(--transition); }
.footer-links ul li a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact h5 { color: var(--gold); font-size: 1rem; margin-bottom: 20px; }
.contact-item { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.contact-item i { color: var(--gold); font-size: 0.9rem; margin-top: 4px; flex-shrink: 0; }
.contact-item span, .contact-item a { color: rgba(255,255,255,0.7); font-size: 0.88rem; line-height: 1.6; }
.contact-item a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.footer-bottom-inner p { color: rgba(255,255,255,0.5); font-size: 0.82rem; }
.footer-bottom-inner a { color: var(--gold); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .topbar-inner { justify-content: center; }
  .topbar-right { justify-content: center; }
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    box-shadow: var(--shadow);
    border-top: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 12px 16px; }
  .section-pad { padding: 70px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 480px) {
  .whatsapp-float { bottom: 20px; right: 20px; width: 54px; height: 54px; font-size: 1.5rem; }
}

/* GLOBAL FORM FIX — ensure all form fields stack vertically */
form { display: flex; flex-direction: column; }
form input,
form select,
form textarea {
  width: 100%;
  display: block;
  box-sizing: border-box;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 14px;
  background: #fafbff;
  appearance: none;
  -webkit-appearance: none;
  transition: all 0.3s ease;
}
form input:focus,
form select:focus,
form textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: white;
  box-shadow: 0 0 0 3px rgba(27,47,110,0.08);
}
form button[type="submit"] { align-self: stretch; }
