/*Hero Section*/
.services-hero {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.services-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.services-hero-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    max-width: 900px;
}
.services-hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.05));
  z-index: 1;
}
.services-hero-overlay h1 {
    font-family: 'Montserrat' , 'Arial Black', Impact, sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: 2px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1.2s forwards;
}
.services-hero-overlay p {
    margin-top: 12px;
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1.2s forwards;
    animation-delay: 0.3s;
}
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Services Section */
.services {
  padding: 4rem 2rem;
  background: #f9f9f9;
}
.services-container {
  max-width: 1200px;
  margin: 0 auto;
}
.services-container h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #0F766E;
  font-family: 'Georgia', serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.service-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
}
.card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  text-decoration: none;
}
.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.service-content {
  position: relative; /* allow button to stay above card link */
  z-index: 2;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.service-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: #0f172a;
}
.service-content p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555;
  margin-bottom: auto;       /* pushes Explore link to bottom */
}
.service-content a {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0F766E;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;          /* spacing above Explore */
  transition: color 0.3s ease;
}
.service-content a span {
  margin-left: 5px;
  transition: transform 0.3s ease;
}
.service-content a:hover {
  color: #0F766E;
}
.service-content a:hover span {
  transform: translateX(5px);
}
/* CTA Section*/
.cta-section {
   position: relative;
   min-height: 56vh;
   display: flex;
   align-items: center;
   padding: 4rem 6%;
   background: url('images/cta.jpg') center/cover no-repeat;
   isolation: isolate;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0.1) 100%);
  z-index: -1;
}
.cta-overlay {
  max-width: 640px;
  color: #fff;
}
.cta-overlay h2 {
  font-family: 'Montserrat', 'Arial Black', Impact, sans-serif;
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 0.75rem 0;
}
.cta-overlay p {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  opacity: 0.95;
  margin: 0 0 1.5rem 0;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 1.4rem;
  background: #ffffff;
  color: #0f172a;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,.2);
  background: #0F766E;
  color: #fff;
}

html {
  scroll-behavior: smooth;
}

