/* =========================================
   1. CORE SETUP & VARIABLES
   ========================================= */
:root {
  --blue: #2169ac;
  --navy: #1a4a7a;
  --orange: #ff751f;
  --bg: #f8fafc;
  --white: #ffffff;
  --text: #2d3748;
  --muted: #718096;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================
   2. NAVIGATION & HAMBURGER TO X
   ========================================= */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  background: var(--white);
  border-bottom: 1px solid #edf2f7;
  position: sticky;
  top: 0;
  z-index: 2000;
}

.nav-logo {
  height: 90px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.95rem;
}

.nav-cta {
  background: var(--orange);
  color: white !important;
  padding: 10px 20px;
  border-radius: 8px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 2100;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background-color: var(--blue);
  transition: all 0.3s ease-in-out;
  transform-origin: center;
}

/* Toggle X Animation */
.menu-toggle.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* =========================================
   3. HERO SECTION
   ========================================= */
.hero {
  padding: 80px 0;
  background: radial-gradient(circle at top right, #f8fafc 0%, #ffffff 100%);
}

.hero-container {
  display: flex;
  align-items: center;
  gap: 40px;
}
p {
  color: var(--muted);
}
h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 3.5rem;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 20px;
}
h2 {
  color: var(--navy);
}
.highlight {
  color: var(--orange);
}

.hero p {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 35px;
}

.hero-btns::after,
.hero-btns::before {
  content: none !important;
  display: none !important;
}
.hero-btns {
  display: flex;
  gap: 15px;
  border: none !important; /* Add this */
  outline: none !important; /* Add this */
}
.responsive-laptop {
  width: 100%;
  max-width: 600px;
  height: auto;
}

/* =========================================
   4. MISSION & VISION
   ========================================= */
.blueprint {
  padding: 80px 0;
}
.section-title {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: 2.8rem;
  margin-bottom: 10px;
  color: var(--navy);
}

.section-subtitle {
  text-align: center;
  margin: 0 auto 50px;
  max-width: 700px;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  text-align: center;
}

.mission-card {
  border-top: 8px solid var(--orange);
}
.vision-card {
  border-top: 8px solid var(--blue);
}

.num {
  font-size: 1.3rem;
  color: var(--orange);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: bold;
}

.card h3 {
  margin: 15px 0;
  font-size: 1.8rem;
  color: var(--navy);
}

/* =========================================
   5. SERVICES & BUTTONS
   ========================================= */
.bg-light {
  background-color: var(--bg);
}
.icon-wrapper svg {
  width: 30px;
  height: 30px;
  color: var(--orange);
}

.btn-primary {
  background-color: var(--orange);
  color: white;
  padding: 16px 30px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
  border: none;
}

.btn-secondary {
  border: 2px solid var(--blue);
  color: var(--blue);
  padding: 14px 30px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
}

.cta-footer {
  text-align: center;
  margin-top: 60px;
  clear: both;
}

.cta-tagline {
  color: var(--muted);
  margin-bottom: 15px;
  font-weight: 500;
}

/* =========================================
   6. CONTACT PAGE
   ========================================= */
.contact-container {
  max-width: 600px;
  margin: 60px auto;
  padding: 50px;
  background: var(--white);
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  text-align: center;
}

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#contact-form input,
#contact-form textarea {
  width: 100% !important;
  padding: 18px !important;
  border: 1px solid #cbd5e0 !important;
  border-radius: 12px !important;
  font-family: inherit;
  outline: none !important;
  background-image: none !important;
}

/* =========================================
   7. SOCIALS & FOOTER
   ========================================= */
.site-footer {
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid #edf2f7;
  color: var(--muted);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
}

.social-links a {
  color: var(--blue);
  transition: 0.3s;
}
.social-links a:hover {
  color: var(--orange);
  transform: translateY(-3px);
}
.back-home {
  display: inline-block;
  margin-top: 25px;
  color: var(--blue);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 10px 20px;
  border: none !important; /* Kills the orange ghost line */
  border-top: none !important; /* Double-check removal of top border */
  transition: color 0.3s ease;
}

.back-home:hover {
  color: var(--orange);
  text-decoration: underline;
}

/* =========================================
   8. MOBILE RESPONSIVENESS (Tightened Spacing)
   ========================================= */
@media (max-width: 768px) {
  .hero {
    padding: 40px 0 10px;
  }
  .blueprint {
    padding: 20px 0 40px;
  }
  .section-subtitle {
    margin-bottom: 25px;
  }
  .grid {
    gap: 15px;
  }
  .card {
    padding: 25px 20px;
  }
  .cta-footer {
    margin-top: 30px;
    padding-bottom: 40px;
  }

  nav {
    padding: 10px 20px;
    height: auto;
  }
  .nav-logo {
    height: 90px;
  }
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
  }

  .nav-links.active {
    display: flex;
  }

  h1 {
    font-size: 2rem;
    line-height: 1.2;
  }
  .hero-container {
    flex-direction: column;
    align-items: center; /* <--- THIS CENTERS THE CONTENT */
    text-align: center;
    gap: 20px;
  }
  .hero-image {
    width: 100%;
    display: flex; /* <--- ADDS FLEX TO THE WRAPPER */
    justify-content: center; /* <--- CENTERS THE IMAGE HORIZONTALLY */
    margin-top: 20px;
  }
  .hero-btns {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .responsive-laptop {
    max-width: 85%;
    height: auto;
    margin: 0 auto; /* <--- FINAL CENTERING FAILSAFE */
    display: block;
  }
  .contact-container {
    padding: 30px 20px;
    margin: 20px;
  }
}

.hero-text {
  text-align: center;
}

.nav-links a {
  font-size: 1.2rem; /* Significantly larger for mobile readability */
  font-weight: 800; /* Bold for high-stakes feel */
  display: block; /* Makes the whole area clickable */
}
.back-home {
  font-size: 1.2rem; /* Matches your bigger mobile text strategy */
  width: 100%;
  text-align: center;
}

.section-title {
  font-size: 2rem;
}

.card h3 {
  font-size: 1.5rem;
}
