/* =========================
   SERVICES HERO BASE
========================= */

body {
  margin: 0;
  padding: 0;
  font-family: 'Canva Sans', sans-serif;
}
.services-hero {
  position: relative;
  height: 85vh;
  max-height: 900px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      rgba(7, 42, 84, 0.85),
      rgba(7, 42, 84, 0.62)
    ),
    url("/assets/services-hero.jpg") center / cover no-repeat;
  overflow: hidden;
  color: #ffffff;
}

.services-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 42, 84, 0.6); /* overlay */
  z-index: 1;
}

/* Canvas sits ABOVE background, BELOW text */
#heroCanvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none; /* critical */
}

/* Content stays above canvas */
.services-hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.5s;
  margin: 0 auto; 
  
}

.section-eyebrow {
  color: #ecaf27;
  font-weight: 500;
  letter-spacing: 0.25em;
  font-size: 1.85rem;
  font-family: "Garet", sans-serif;
  margin-bottom: 20px;
  display: inline-block;
}

.services-hero h1 {
  font-family: "Garet", sans-serif;
  font-weight: 400;
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 24px;
}

.services-hero p {
  font-size: 1.5rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
}

.hero-cta {
  display: inline-block;
  margin-top: 32px;
  background-color: #ecaf27;
  color: #072a54;
  padding: 14px 28px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 1s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



.hero-cta:hover {
  background-color: #d9a81f;
}

/* ===========================
   Services Intro
=========================== */


.services-intro {
  background-color: #ffffff;
  color: #072a54; 
  text-align: center;
  padding: 5rem 2rem;
  
}


.services-intro-container p {
  font-size: 1.55rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  font-weight: 300;
}

/* ===========================
   Core Services Grid
=========================== */
.services-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  padding: 4rem 1rem;
  background-color: #e6e6e6;
}

/* Individual service block */
.service-block {
  margin: 0;
  background-color: #ffffff;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  transform:none;
}

.service-block:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.service-block:hover img {
  transform: scale(1.05); 
}


/* Images for services */
.service-block img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
}

/* Service content */
.service-block h2 {
  font-family: 'Garet', sans-serif;
  font-weight: 500;
  font-size: 1.7rem;
  margin: 1rem 1rem 0.5rem;
  color: #072a54;
}

.service-block p {
  margin: 0 1rem 1rem;
  font-size: 1.3rem;
  line-height: 1.6;
  color: #333;
}

.service-benefits {
  list-style: disc;
  margin: 0 1rem 1.5rem 1.5rem;
  padding: 20;
  color: #555;
  font-size: 1.2rem;
  line-height: 1.75;
}

/* Alternate layout for visual interest */
.service-block.alt {
  transform: none;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .services-list {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-block img {
    height: 220px;
  }
}

@media (max-width: 768px) {
  .services-list {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-block img {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .service-block img {
    height: 180px;
  }
}



/* =========================
   Services CTA
========================= */
.services-cta {
  background-color: #ffffff; /* white background */
  padding: 4rem 2rem;
  text-align: center;
}

.services-cta-content {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.services-cta-content h2 {
  color: #072a54; /* navy blue text */
  font-family: 'Garet', sans-serif;
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
  padding-top: 1rem;
}

/* Navy line above the text */
.services-cta-content h2::before {
  content: "";
  display: block;
  width: 60px; 
  height: 4px; 
  background-color: #072a54; 
  margin: 0 auto 1rem auto; 
  border-radius: 2px;
}

/* CTA Button */
.services-cta .cta-button {
  background-color: #ecaf27; 
  color: #072a54; 
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: 300;
  font-family: 'Garet', sans-serif;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.services-cta .cta-button:hover {
  background-color: #d9a81f; /* darker gold on hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  
}

/* Responsive */
@media (max-width: 768px) {
  .services-cta-content h2 {
    font-size: 1.6rem;
  }

  .services-cta .cta-button {
    padding: 10px 25px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .services-cta-content h2 {
    font-size: 1.4rem;
  }

  .services-cta .cta-button {
    padding: 8px 20px;
    font-size: 0.9rem;
  }
}














/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1024px) {
  .services-hero {
    height: 75vh;
    background-size: contain;
  }

  .services-hero-content {
    max-width: 500px;
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .services-hero {
    height: 65vh;
    background-position: top center;
    background-size: contain;
    padding: 0 15px;
  }

  .services-hero-content h1 {
    font-size: 1.8rem;
  }

  .services-hero-content p {
    font-size: 0.95rem;
  }

  .services-hero .hero-cta {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .services-hero {
    height: 60vh;
    padding: 0 10px;
  }

  .services-hero-content h1 {
    font-size: 1.5rem;
  }

  .services-hero-content p {
    font-size: 0.9rem;
  }

  .services-hero .hero-cta {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
}

/* Mobile Touch Support */
@media (hover: none) and (pointer: coarse) {
  .service-block:active {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
  }
  
  .service-block:active img {
    transform: scale(1.05);
  }
  
  .hero-cta:active {
    background-color: #d9a81f;
  }
  
  .services-cta .cta-button:active {
    background-color: #d9a81f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }
  
  /* Better tap targets */
  .service-block {
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(236, 175, 39, 0.1);
  }
}