/* ================================================================
   Styles specific to index.php — hero, stats strip, services grid,
   solutions list, and final CTA. Shares color values with
   header.css/footer.css (both are loaded on this page).
   ================================================================ */

:root{
  --navy-dark: #000026;
  --navy: #0b2545;
  --blue: #1e6fd9;
  --blue-light: #eaf2fd;
  --white: #ffffff;
  --gray-text: #4a5568;
  --muted: #9fb3d1;
}

body{
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--navy);
}

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

/* ============ Hero ============ */
.hero{
  background: var(--navy-dark);
  color: var(--white);
  padding: 88px 0;
}

.hero-inner{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-text{
  max-width: 560px;
}
.hero h1{
  margin: 0 0 20px;
  font-size: 2.6rem;
  line-height: 1.2;
}
.hero p{
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
}
.hero-actions{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-video{
  width: 100%;
  min-width: 0;
}
.hero-video video{
  width: 100%;
  max-width: 600px;
  height: 300px;
  object-fit: contain;
  border-radius: 12px;
  display: block;
}

.btn{
  display: inline-block;
  padding: 13px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary{
  background: var(--blue);
  color: var(--white);
  border: 1.5px solid var(--blue);
}
.btn-primary:hover{
  background: #175bb3;
  border-color: #175bb3;
}
.btn-outline-light{
  border: 1.5px solid rgba(255,255,255,0.5);
  color: var(--white);
}
.btn-outline-light:hover{
  background: var(--white);
  color: var(--navy-dark);
  border-color: var(--white);
}

/* ============ Stats strip ============ */
.stats-strip{
  background: var(--blue-light);
  padding: 32px 0;
}
.stats-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.stat{
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-num{
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue);
}
.stat-label{
  color: var(--gray-text);
  font-size: 0.9rem;
}

/* ============ Services ============ */
.services-section{
  padding: 72px 0;
}
.services-section h2{
  margin: 0 0 8px;
  font-size: 2rem;
  text-align: center;
}
.section-lede{
  margin: 0 auto 40px;
  max-width: 560px;
  text-align: center;
  color: var(--gray-text);
  line-height: 1.6;
}
.services-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card{
  background: var(--white);
  border: 1px solid #e6ebf2;
  border-radius: 12px;
  padding: 28px;
}
.service-card h3{
  margin: 0 0 10px;
  font-size: 1.1rem;
}
.service-card p{
  margin: 0;
  color: var(--gray-text);
  line-height: 1.6;
  font-size: 0.95rem;
}
.services-cta{
  text-align: center;
  margin-top: 40px;
}

/* ============ Solutions ============ */
.solutions-section{
  background: var(--blue-light);
  padding: 56px 0;
  text-align: center;
}
.solutions-section h2{
  margin: 0 0 24px;
  font-size: 1.75rem;
}
.solutions-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.solutions-list a{
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  border: 1px solid #d6e2f5;
  transition: background 0.15s ease, color 0.15s ease;
}
.solutions-list a:hover{
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

/* ============ Final CTA ============ */
.final-cta{ padding: 72px 0;
}

.final-cta-inner{ text-align: center; max-width: 560px;
}

.final-cta h2{  margin: 0 0 12px; font-size: 1.9rem;
}

.final-cta p{ margin: 0 0 28px; color: var(--gray-text); line-height: 1.6;
}

/* ============ Responsive ============ */

@media (max-width: 900px){
  .hero-inner{
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-text{
    max-width: none;
  }
}
@media (max-width: 860px){
  .services-grid{
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid{
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 600px){
  .hero{ padding: 64px 0; }
  .hero h1{ font-size: 2rem; }
  .services-grid{
    grid-template-columns: 1fr;
  }
  .services-section, .solutions-section, .final-cta{
    padding: 48px 0;
  }
}

  .hero {
    position: relative;
    isolation: isolate;
    background: #071526;
    color: #fff;
  }

  .hero::before,
  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .hero::before {
    background-image:
      linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)),
      url("../images/IT-support-helping-hands.jpg")
  }

  .hero::after {
    background-image:
      linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)),
      url("../images/Manage-Services.png");
    opacity: 0;
    animation: hero-rotate 4s linear infinite;
  }

  @keyframes hero-rotate {
    0%, 45%   { opacity: 0; }
    50%, 95%  { opacity: 1; }
    100%      { opacity: 0; }
  }

  .hero h1,
  .hero p,
  .hero h3 {
    color: #fff;
  }

  @media (prefers-reduced-motion: reduce) {
    .hero::after {
      animation: none;
    }
  }

