/* =========================================================
   Navigate Centre — Stylesheet
   Brand: black (#1E1A1B) / lime (#C7E31A) / royal blue (#2346B8)
   Signature motif: diagonal cuts + the compass "arrow" from the logo
   ========================================================= */

:root {
  --bg-dark: #1E1A1B;
  --lime: #C7E31A;
  --blue: #2346B8;
  --white: #FFFFFF;
  --grey-light: #F5F5F5;
  --text-dark: #222222;

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius: 14px;
  --shadow-md: 0 10px 30px rgba(0,0,0,0.12);
  --shadow-sm: 0 4px 14px rgba(0,0,0,0.08);
  --container: 1180px;
  --transition: 0.25s ease;
}

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

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--text-dark);
}

p { margin: 0 0 1em; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; margin: 0; padding: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 90px 0; position: relative; overflow: hidden; }

.center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 0.6em;
}
.eyebrow-dark { color: var(--blue); }
.eyebrow.center, .section-sub.center { display: block; }

.section-sub {
  max-width: 620px;
  margin: 0 auto 2.5em;
  color: #555;
}
h2.center + .section-sub { margin-top: -0.4em; }

.icon { width: 24px; height: 24px; }
.icon-sm { width: 18px; height: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 15px 30px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.btn-primary { background: var(--lime); color: var(--bg-dark); }
.btn-outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline-light { background: transparent; border-color: var(--bg-dark); color: var(--bg-dark); margin-bottom: 24px; }
.btn-jobs { background: var(--blue); color: var(--white); font-size: 1.05rem; padding: 18px 42px; }
.btn-full { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(30,26,27,0.96);
  backdrop-filter: blur(6px);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.3); }

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand-logo { height: 42px; width: auto; }

.main-nav ul { display: flex; gap: 6px; align-items: center; }
.main-nav a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--white);
  padding: 10px 16px;
  border-radius: 30px;
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover { background: rgba(255,255,255,0.08); color: var(--lime); }
.main-nav a.nav-cta { background: var(--lime); color: var(--bg-dark); }
.main-nav a.nav-cta:hover { background: var(--white); color: var(--bg-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 6px;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--bg-dark);
  color: var(--white);
  padding: 110px 0 140px;
  position: relative;
}
.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-compass {
  position: absolute;
  top: -40px;
  right: -30px;
  color: var(--blue);
  opacity: 0.16;
  transform: rotate(12deg);
}
.hero-inner { position: relative; z-index: 2; max-width: 720px; }
.text-lime { color: var(--lime); }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 0.4em; }
.hero-lead { font-size: 1.1rem; color: #d8d8d8; max-width: 560px; margin-bottom: 2em; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Diagonal divider signature element (echoes the logo's diagonal split) */
.diagonal-divider {
  position: absolute;
  left: 0; right: 0;
  bottom: -1px;
  height: 70px;
  background: var(--white);
  clip-path: polygon(0 100%, 100% 40%, 100% 100%);
}
.diagonal-divider.diagonal-top {
  top: -1px; bottom: auto;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.diagonal-to-black { background: var(--bg-dark); }
.diagonal-to-white { background: var(--white); }

/* ---------- Grid / Cards ---------- */
.grid { display: grid; gap: 26px; }
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--bg-dark);
  color: var(--lime);
  margin-bottom: 18px;
}

/* ---------- About ---------- */
.about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-copy h2 { font-size: 2rem; }
.about-stats { display: grid; gap: 18px; }
.stat-card {
  background: var(--grey-light);
  border-left: 4px solid var(--lime);
  border-radius: 10px;
  padding: 20px 24px;
}
.stat-num { display: block; font-family: var(--font-heading); font-weight: 800; font-size: 2rem; color: var(--blue); }
.stat-label { font-size: 0.92rem; color: #555; }

/* ---------- Services ---------- */
.services { background: var(--bg-dark); color: var(--white); }
.services h2, .services h3 { color: var(--white); }
.services .eyebrow-dark { color: var(--lime); }
.services-grid { grid-template-columns: repeat(4, 1fr); margin-top: 20px; }
.services .card { background: #262223; }
.services .card p { color: #c7c7c7; font-size: 0.92rem; margin-bottom: 0; }
.services .icon-badge { background: var(--lime); color: var(--bg-dark); }

/* ---------- Training ---------- */
.training { background: var(--grey-light); }
.training-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.training-copy h2 { font-size: 2rem; }
.course-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.course-list li {
  display: flex; align-items: center; gap: 10px;
  background: var(--white);
  padding: 14px 16px;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.course-list .icon { color: var(--blue); flex-shrink: 0; }

/* ---------- Jobs ---------- */
.jobs { background: var(--white); }
.jobs .container { max-width: 680px; }
.jobs-note { margin-top: 20px; color: #555; }
.jobs-note a { color: var(--blue); font-weight: 600; text-decoration: underline; }

/* ---------- Gallery ---------- */
.gallery { background: var(--bg-dark); color: var(--white); }
.gallery h2 { color: var(--white); }
.gallery-grid { grid-template-columns: repeat(4, 1fr); margin-top: 20px; }
.gallery-tile {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #2a2628, #1c1819);
  border: 1px solid rgba(199,227,26,0.25);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  color: var(--lime);
}
.gallery-tile span { font-family: var(--font-heading); font-weight: 600; color: var(--white); font-size: 0.9rem; }
.gallery-tile .icon { width: 34px; height: 34px; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--grey-light); }
.testimonial-grid { grid-template-columns: repeat(3, 1fr); margin-top: 10px; }
.testimonial-card p { font-style: italic; color: #444; }
.testimonial-name { font-family: var(--font-heading); font-weight: 700; display: flex; flex-direction: column; }
.testimonial-name span { font-family: var(--font-body); font-weight: 400; font-size: 0.85rem; color: #777; }

/* ---------- Why Us ---------- */
.why-us { background: var(--bg-dark); color: var(--white); }
.why-us h2 { color: var(--white); }
.why-grid { grid-template-columns: repeat(3, 1fr); margin-top: 10px; }
.why-item { text-align: center; padding: 10px; }
.why-item .icon { width: 40px; height: 40px; color: var(--lime); margin-bottom: 14px; }
.why-item h3 { color: var(--white); font-size: 1.05rem; }
.why-item p { color: #bdbdbd; font-size: 0.92rem; }

/* ---------- FAQ ---------- */
.faq { background: var(--white); }
.faq-list { max-width: 780px; margin: 20px auto 0; display: grid; gap: 14px; }
.faq-item { border: 1px solid #e6e6e6; border-radius: 12px; overflow: hidden; }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--grey-light);
  border: none;
  padding: 18px 22px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  color: var(--text-dark);
}
.faq-question .icon { color: var(--blue); flex-shrink: 0; transition: transform var(--transition); }
.faq-question[aria-expanded="true"] .icon { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition), padding var(--transition);
  padding: 0 22px;
  color: #555;
}
.faq-item.open .faq-answer { max-height: 240px; padding: 16px 22px 20px; }

/* ---------- Contact ---------- */
.contact { background: var(--bg-dark); color: var(--white); }
.contact h2 { color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-list { display: grid; gap: 16px; margin: 24px 0; }
.contact-list li { display: flex; align-items: center; gap: 12px; }
.contact-list .icon { color: var(--lime); flex-shrink: 0; }
.contact-list a { text-decoration: underline; text-underline-offset: 3px; }
.map-embed { border-radius: var(--radius); overflow: hidden; margin-top: 10px; box-shadow: var(--shadow-md); }
.map-embed iframe { width: 100%; height: 260px; border: 0; display: block; }

.contact-form {
  background: var(--white);
  color: var(--text-dark);
  border-radius: var(--radius);
  padding: 34px;
  display: grid;
  gap: 6px;
  box-shadow: var(--shadow-md);
}
.contact-form label { font-weight: 600; font-size: 0.88rem; margin-top: 10px; }
.contact-form input, .contact-form textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: var(--grey-light);
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
  background: var(--white);
}
.contact-form button { margin-top: 18px; }
.form-status { margin: 10px 0 0; font-size: 0.88rem; min-height: 1.2em; }

/* ---------- Footer ---------- */
.site-footer { background: #131011; color: #ccc; padding: 70px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo { height: 40px; margin-bottom: 16px; }
.footer-brand p { color: #999; }
.social-row { display: flex; gap: 12px; margin-top: 16px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: background var(--transition), color var(--transition);
}
.social-row a:hover { background: var(--lime); color: var(--bg-dark); }
.social-row .icon { width: 18px; height: 18px; }

.footer-links h4, .footer-contact h4 {
  color: var(--white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer-links ul { display: grid; gap: 10px; }
.footer-links a:hover { color: var(--lime); }
.footer-contact p { margin-bottom: 8px; color: #bbb; }

.footer-bottom { text-align: center; padding: 22px 0; font-size: 0.85rem; color: #888; }

/* ---------- Floating buttons ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  z-index: 600;
  transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float .icon { width: 28px; height: 28px; }

.back-to-top {
  position: fixed;
  bottom: 24px; left: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--bg-dark);
  color: var(--lime);
  border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  cursor: pointer;
  z-index: 600;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .about-grid, .training-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-grid { gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: 78px; left: 0; right: 0;
    background: var(--bg-dark);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
  }
  .main-nav.open { max-height: 400px; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 10px 24px 20px; gap: 4px; }
  .main-nav a { display: block; padding: 14px 16px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .course-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: left; }
  .section { padding: 64px 0; }
}

@media (max-width: 520px) {
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero { padding: 90px 0 110px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}
