/* -------------------------------
   WiTech Divisions Page (Elevated)
----------------------------------*/

.divisions-page {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: #1a1a1a;
  background-color: #f9fbfd;
  padding-bottom: 4em;
  line-height: 1.6;
}

/* Hero Section */
.divisions-hero {
  text-align: center;
  padding: 3em 2em 3em;
  background: linear-gradient(180deg, #f1f9ff 0%, #ffffff 100%);
}

.divisions-hero .hero-image {
  max-width: 470px;
  width: 100%;
  margin-bottom: 2em;
  margin-top: 2rem;
  opacity: 0.95;
}

.divisions-hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  color: #0077b6;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.2em;
  text-shadow: 0 0 5px #0897ba;
}

.divisions-hero p {
  font-size: 1.15rem;
  max-width: 740px;
  margin: 0 auto;
  color: #1a3c58;
  font-weight: 400;
}

/* Intro Section */
.divisions-intro {
  display: flex;
  justify-content: center;
  margin-top: -5rem; /* lifts it closer to the banner */
  margin-bottom: 1rem;
  padding: 0; /* tightens spacing */
  font-weight: 400;

}

.mission-box {
  max-width: 900px;
  background: linear-gradient(145deg, #f6fbfd, #f4faff);
  border: 7px solid rgba(0, 160, 220, 0.15);
  box-shadow:
    0 6px 18px rgba(0, 150, 255, 0.08),
    inset 0 0 10px rgba(255, 255, 255, 0.3);
  border-radius: 18px;
  padding: 1.8rem 2.2rem;
  text-align: center;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.mission-box:hover {
  transform: translateY(-15px);
  box-shadow:
    0 10px 28px rgba(0, 160, 255, 0.12),
    inset 0 0 10px rgba(255, 255, 255, 0.4);
}

/* Fonts and typography */
.mission-box p {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.02rem;
  color: #012e3c;
  line-height: 1.55;
  margin: 0.4rem 0;
  letter-spacing: 0.02em;
}

.mission-box strong {
  font-family: 'Orbitron', sans-serif;
  color: #0077b6;
  font-weight: 700;
  letter-spacing: 0.04em;
}


/* Divisions Grid */
.divisions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5em;
  padding: 3em 2em;
  max-width: 1150px;
  margin: 0 auto;
}

.division-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2.5em 2em;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.35s ease;
}

.division-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.division-card h3 {
  color: #004d73;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1em;
  letter-spacing: -0.2px;
}

.division-card p {
  font-size: 1.05rem;
  color: #1a3c58;
  margin-bottom: 1.7em;
  font-weight: 400;
}

.learn-more {
  color: #0078b7;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: color 0.3s ease;
}

.learn-more:hover {
  color: #00a2e8;
}

/* CTA Section */
.divisions-cta {
  text-align: center;
  padding: 5em 2em 2em;
  background: transparent; /* removed dark blue */
  color: #1a1a1a;
}

.divisions-cta h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.6em;
  color: var(--accent-color, #0577b1);
}

.divisions-cta p {
  max-width: 640px;
  margin: 0 auto 1.8em;
  font-size: 1.1rem;
  color: #1a3c58;
}

.cta-button {
  display: inline-block;
  background: var(--accent-color, #0d567a);
  color: white;
  padding: 1em 2.4em;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.05rem;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: #027bab;
  transform: translateY(-3px);
}

.request-section {
  text-align: center;
  padding: 0rem 0rem;
  background: linear-gradient(180deg, rgba(246, 248, 249, 0.8), rgba(244, 245, 247, 0.95), rgba(251, 252, 252, 0.95),  rgba(244, 245, 246, 0.95));
  color: #15155b;
}

.request-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-color, #0577b1);
  margin-bottom: 1rem;
}

.request-section p {
  max-width: 850px;
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
  color: #1a3c58;
  line-height: 1.7;
}

.request-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.request-card {
  background: rgba(0, 2, 7, 0.04);
  padding: 2rem;
  border-radius: 20px;
  transition: all 0.4s ease;
  box-shadow: 0 9 20px rgba(11, 19, 91, 0.2);
}

.request-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 35px rgba(0, 170, 255, 0.3);
}

.request-card h3 {
  font-size: 1.4rem;
  color: #082e5e;
  margin-bottom: 1rem;
}

.request-card p {
  color: #0a2044;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.request-section .cta-btn {
  background: var(--accent-color, #0d567a);
  color: #fff;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.request-section .cta-btn:hover {
  background: #0088cc;
}

.request-section .closing-line {
  margin-top: 2rem;
  font-size: 1rem;
  color: #080222;
}

.request-section .closing-line a {
  color: var(--accent-color, #10577a);
  text-decoration: underline;
}
/* Tablets (max-width: 768px) */
@media (max-width: 768px) {
  .divisions-hero h1 {
    font-size: 2.2rem; /* smaller on tablets */
  }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .divisions-hero h1 {
    font-size: 1.7rem; /* smaller on phones */
  }
}

/* Tablets (max-width: 768px) */
@media (max-width: 768px) {
  .divisions-hero {
    padding: 2em 1.5em 2em; /* reduce top/bottom padding */
  }

  .divisions-intro {
    margin-top: -3rem; /* lift intro closer to hero */
    margin-bottom: 0.5rem;
  }

  .divisions-grid {
    gap: 1.5em; /* reduce space between division cards */
    padding: 2em 1.5em;
  }

  .divisions-cta {
    padding: 3em 1.5em 1.5em; /* reduce CTA spacing */
  }

  .request-section {
    padding: 2em 1.5em; /* tighten request section */
  }

  .request-options {
    gap: 1rem; /* smaller gap between request cards */
  }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .divisions-hero {
    padding: 1.5em 1em 1.5em;
  }

  .divisions-intro {
    margin-top: -2rem;
    margin-bottom: 0.3rem;
  }

  .divisions-grid {
    gap: 1em;
    padding: 1.5em 1em;
  }

  .divisions-cta {
    padding: 2em 1em 1em;
  }

  .request-section {
    padding: 1.5em 1em;
  }

  .request-options {
    gap: 0.8em;
  }
}

/* Reduce bottom gap before footer on tablets */
@media (max-width: 768px) {
  .partnership-section {
    padding-bottom: 0em; /* was probably larger */
    margin-bottom: 0;
  }
  .request-section .cta-btn {
    white-space: nowrap;  /* Prevent text from wrapping */
    display: inline-block; /* Ensure it behaves like a button */
  }
  
}

/* Reduce bottom gap on mobile */
@media (max-width: 480px) {
  .partnership-section {
    padding-bottom: 0em;
    margin-bottom: 0;
  }
  .request-section .cta-btn {
    white-space: nowrap;  /* Prevent text from wrapping */
    display: inline-block; /* Ensure it behaves like a button */
  }
  
}
