/* =========================================================
   Skillsprint Educational Agency — style.css
   ========================================================= */

/* ----- CSS Variables ----- */
:root {
  --color-navy:       #0B3D66;
  --color-teal:       #1268BB;
  --color-sky:        #2AB0EC;
  --color-orange:     #FE5B20;
  --color-gold:       #DFA73F;
  --color-white:      #FFFFFF;
  --color-off-white:  #F7F9FA;
  --color-light-grey: #EAEAEA;
  --color-text:       #2C2C2C;
  --color-muted:      #6B7280;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', 'Helvetica Neue', Arial, sans-serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-hero: 3rem;
}

/* ----- Reset & Base ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--color-text); line-height: 1.7; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ----- Shared Layout ----- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section       { padding: 80px 0; }
.section-alt   { padding: 80px 0; background: var(--color-off-white); }
.section-dark  { padding: 80px 0; background: var(--color-navy); color: var(--color-white); }
.section-teal  { padding: 80px 0; background: var(--color-teal); color: var(--color-white); }

/* ----- Typography helpers ----- */
.section-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 12px;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-dark  .section-heading,
.section-teal  .section-heading { color: var(--color-white); }

.section-intro {
  font-size: var(--text-lg);
  color: var(--color-muted);
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-dark  .section-intro,
.section-teal  .section-intro { color: rgba(255,255,255,0.85); }

.text-center { text-align: center; }

/* ----- Buttons ----- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.1s;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--color-teal);
  color: var(--color-white);
}
.btn-primary:hover { background: #0E5192; }

.btn-secondary {
  background: var(--color-orange);
  color: var(--color-white);
}
.btn-secondary:hover { background: #F14101; }

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

.btn-lg { padding: 18px 42px; font-size: var(--text-lg); }

/* ----- Cards ----- */
.card {
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  padding: 32px;
}

.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ----- Navigation ----- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--color-navy);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  transition: box-shadow 0.3s;
}

.navbar.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,0.25); }

.nav-logo img { height: 48px; width: auto; }

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

.nav-links a {
  color: var(--color-white);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 4px;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-orange);
}

.btn-nav {
  background: var(--color-orange);
  color: var(--color-white) !important;
  padding: 8px 18px !important;
  border-radius: 4px;
  font-weight: 600 !important;
}

.btn-nav:hover { background: #F14101; color: var(--color-white) !important; }

.nav-toggle {
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
}

/* Bootstrap's collapse now drives show/hide; keep the dropdown's look custom */
@media (max-width: 991.98px) {
  .navbar-collapse {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--color-navy);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 0 24px;
  }

  .nav-links a { padding: 12px 24px; border-radius: 0; }
}

/* ----- Page Banner ----- */
.page-banner {
  background: linear-gradient(120deg, var(--color-navy), var(--color-teal));
  color: var(--color-white);
  text-align: center;
  padding: 64px 24px;
}

.page-banner h1 {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  margin-bottom: 12px;
}

.breadcrumb {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.8);
}

.breadcrumb a {
  color: rgba(255,255,255,0.9);
  text-decoration: underline;
}

/* ----- Footer ----- */
.footer {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 64px 0 0;
}

.footer-grid {
  padding-bottom: 48px;
}

.footer-brand img { height: 52px; margin-bottom: 16px; }

.footer-tagline {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--color-gold);
  margin-bottom: 8px;
}

.footer-desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}

.footer-col h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 20px;
}

.footer-links li + li { margin-top: 10px; }

.footer-links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--color-gold); }

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.75);
  align-items: flex-start;
}

.footer-contact-item .icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 24px;
  text-align: center;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
}

/* ----- CTA Band ----- */
.cta-band {
  background: linear-gradient(120deg, var(--color-navy), var(--color-teal));
  padding: 80px 0;
  text-align: center;
  color: var(--color-white);
}

.cta-band h2 {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-band p {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  margin: 0 auto 32px;
}

/* ==========================================================
   HOME PAGE
   ========================================================== */

/* Hero */
.hero {
  min-height: 100vh;
  background: linear-gradient(rgba(11,61,102,0.75), rgba(18,104,187,0.65)),
              url('../images/hero-bg.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 96px 24px;
  color: var(--color-white);
  position: relative;
}

/* Fallback gradient when no hero image */
.hero-no-img {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-teal) 100%);
}

.hero-inner { max-width: 760px; }

.hero-logo {
  height: 90px;
  width: auto;
  margin: 0 auto 32px;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.35));
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.hero-sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.88);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* What We Do */
.pillar-card {
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  border-top: 4px solid var(--color-sky);
  padding: 32px;
}

.pillar-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.pillar-card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--color-navy);
  margin-bottom: 10px;
}

.pillar-card p { font-size: var(--text-base); color: var(--color-muted); }

/* About Snippet */

.about-snippet-text h2 {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  color: var(--color-navy);
  margin-bottom: 16px;
  line-height: 1.3;
}

.about-snippet-text p {
  color: var(--color-muted);
  margin-bottom: 16px;
}

.about-snippet-text .link-arrow {
  color: var(--color-teal);
  font-weight: 600;
  font-size: var(--text-base);
  transition: color 0.2s;
}
.about-snippet-text .link-arrow:hover { color: var(--color-orange); }

.about-snippet-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-off-white);
  border-radius: 8px;
  padding: 48px;
  min-height: 280px;
}

.about-snippet-visual img { max-height: 180px; width: auto; }

/* Core Values Strip */
.value-item {
  text-align: center;
  padding: 16px 8px;
}

.value-item h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.value-item p { font-size: var(--text-xs); opacity: 0.85; line-height: 1.5; }

/* Services Preview */
.service-preview-card {
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  padding: 28px 32px;
  border-left: 4px solid var(--color-sky);
  transition: box-shadow 0.2s;
}

.service-preview-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.12); }

.service-label {
  display: inline-block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-teal);
  color: var(--color-white);
  font-size: var(--text-sm);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.service-preview-card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--color-navy);
  margin-bottom: 8px;
}

.service-preview-card p { font-size: var(--text-sm); color: var(--color-muted); margin-bottom: 16px; }

.link-arrow {
  color: var(--color-teal);
  font-weight: 600;
  font-size: var(--text-sm);
  transition: color 0.2s;
}
.link-arrow:hover { color: var(--color-orange); }

/* ==========================================================
   ABOUT PAGE
   ========================================================== */

.story-text h2 {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  color: var(--color-navy);
  margin-bottom: 20px;
  line-height: 1.3;
}

.story-text p { color: var(--color-muted); margin-bottom: 16px; }

.story-visual {
  background: var(--color-off-white);
  border-radius: 8px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.story-visual img { max-height: 200px; }

.vm-card {
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  border-top: 4px solid var(--color-sky);
  padding: 36px;
}

.vm-card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--color-navy);
  margin-bottom: 16px;
}

.vm-card p { color: var(--color-muted); font-size: var(--text-base); }

.value-card {
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 28px;
}

.value-card h4 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-teal);
  margin-bottom: 10px;
}

.value-card p { font-size: var(--text-sm); color: var(--color-muted); }

.quote-block {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 80px 24px;
  text-align: center;
}

.quote-block blockquote {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-style: italic;
  max-width: 760px;
  margin: 0 auto 28px;
  line-height: 1.5;
}

.quote-block p {
  max-width: 700px;
  margin: 0 auto;
  color: rgba(255,255,255,0.75);
  font-size: var(--text-base);
}

/* ==========================================================
   SERVICES PAGE
   ========================================================== */

.services-intro {
  max-width: 760px;
  margin: 0 auto;
  font-size: var(--text-lg);
  color: var(--color-muted);
  font-style: italic;
  text-align: center;
}

.service-block {
  padding: 56px 0;
  border-bottom: 1px solid var(--color-light-grey);
}

.service-block:last-child { border-bottom: none; }

.service-block-inner.reverse { direction: ltr; }

.service-letter {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-teal);
  color: var(--color-white);
  font-size: var(--text-3xl);
  font-family: var(--font-heading);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-block-content h3 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--color-navy);
  margin-bottom: 16px;
}

.service-block-content ul {
  list-style: none;
  margin-bottom: 24px;
}

.service-block-content ul li {
  padding: 6px 0 6px 20px;
  position: relative;
  color: var(--color-muted);
  font-size: var(--text-base);
}

.service-block-content ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-teal);
  font-weight: 700;
}

/* ==========================================================
   WHY CHOOSE US
   ========================================================== */

.reason-card {
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.reason-number {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-teal);
  flex-shrink: 0;
  line-height: 1;
  min-width: 48px;
}

.reason-body h4 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.reason-body p { font-size: var(--text-sm); color: var(--color-muted); }

/* ==========================================================
   WHO WE SERVE
   ========================================================== */

.audience-card {
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  border-top: 4px solid var(--color-sky);
  padding: 32px;
}

.audience-card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--color-teal);
  margin-bottom: 12px;
}

.audience-card p { font-size: var(--text-sm); color: var(--color-muted); }

/* ==========================================================
   OBJECTIVES
   ========================================================== */

.objectives-list {
  max-width: 800px;
  margin: 0 auto;
}

.objective-item {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 32px 0;
  border-bottom: 1px solid var(--color-light-grey);
}

.objective-item:last-child { border-bottom: none; }

.objective-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-teal);
  opacity: 0.25;
  line-height: 1;
  flex-shrink: 0;
  min-width: 72px;
}

.objective-text {
  font-size: var(--text-lg);
  color: var(--color-text);
  padding-top: 12px;
  line-height: 1.7;
}

/* ==========================================================
   PARTNERSHIPS
   ========================================================== */

.partner-card {
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  padding: 32px;
  text-align: center;
  border-top: 4px solid var(--color-sky);
}

.partner-card .partner-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.partner-card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--color-navy);
  margin-bottom: 10px;
}

.partner-card p { font-size: var(--text-sm); color: var(--color-muted); }

.partnership-invite {
  background: var(--color-teal);
  color: var(--color-white);
  padding: 64px 24px;
  text-align: center;
}

.partnership-invite p {
  font-size: var(--text-lg);
  max-width: 680px;
  margin: 0 auto 32px;
  font-style: italic;
  opacity: 0.92;
}

/* ==========================================================
   CONTACT PAGE
   ========================================================== */

.contact-details h2 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--color-navy);
  margin-bottom: 28px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-item .ci-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item-body h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-teal);
  margin-bottom: 4px;
}

.contact-item-body p,
.contact-item-body a {
  font-size: var(--text-base);
  color: var(--color-muted);
}

.contact-item-body a:hover { color: var(--color-orange); }

/* Form */
.contact-form-wrapper {
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
  padding: 40px;
}

.contact-form-wrapper h2 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--color-navy);
  margin-bottom: 28px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-light-grey);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-off-white);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-teal);
  background: var(--color-white);
}

.form-group textarea { resize: vertical; min-height: 130px; }

.form-submit { width: 100%; }

.map-placeholder {
  margin-top: 48px;
  background: var(--color-off-white);
  border-radius: 8px;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--color-light-grey);
  text-align: center;
  color: var(--color-muted);
  font-size: var(--text-sm);
  padding: 24px;
}

/* ==========================================================
   RESPONSIVE — MOBILE
   ========================================================== */

@media (max-width: 768px) {
  /* Grids not yet migrated to Bootstrap's row/col */
  .card-grid-2,
  .card-grid-3 {
    grid-template-columns: 1fr;
  }

  /* Typography */
  .section-heading { font-size: var(--text-3xl); }
  .hero-tagline    { font-size: var(--text-4xl); }
  .cta-band h2     { font-size: var(--text-3xl); }
  .page-banner h1  { font-size: var(--text-3xl); }

  /* Contact */
  .contact-form-wrapper { padding: 28px 20px; }

  /* Sections */
  .section, .section-alt, .section-dark, .section-teal { padding: 56px 0; }

  /* Hero */
  .hero { padding: 80px 24px; }
  .hero-logo { height: 70px; }
}

@media (max-width: 480px) {
  .hero-tagline { font-size: var(--text-3xl); }
  .hero-btns    { flex-direction: column; align-items: center; }
  .btn          { width: 100%; text-align: center; }

  .call-fab { width: 50px; height: 50px; font-size: 1.3rem; bottom: 16px; right: 16px; }
}

/* ----- Floating Call Button ----- */
.call-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-orange);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  z-index: 998;
  transition: background 0.2s, transform 0.2s;
}

.call-fab:hover {
  background: #F14101;
  transform: scale(1.08);
}
