:root {
  --primary: #173f64;
  --primary-light: #319dcf;
  --secondary: #0a1f3d;
  --text-dark: #203054;
  --text-light: #f1f2f5;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #fff;
  --radius: 16px;
  --transition: all 0.4s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* body padded to clear fixed navbar */
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  padding-top: 90px; /* same as navbar height */
}

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

.section {
  padding: 100px 0;
}

section {
  scroll-margin-top: 90px;
}

/* ===== Section title ===== */
.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: 2.8rem;
  color: var(--secondary);
  font-weight: 800;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-light);
  border-radius: 2px;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: 16px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(97, 123, 146, 0.3);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(7, 29, 50, 0.4);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: calc(100vh - 90px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #ffffff;

 /* 🌈 Unique premium gradient background */
  background: linear-gradient(
    180deg,
    #0a1f3d 0%,
    #173f64 40%,
    #246791 100%
  );
}


.hero-btn {
  position: relative;
  z-index: 1;
  overflow: visible;
}

/* Glow Lighting Behind Button */
.hero-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130%;
  height: 160%;
  background: radial-gradient(
      circle,
      rgba(0, 153, 255, 0.45),
      rgba(0, 153, 255, 0.10),
      transparent
  );
  filter: blur(18px);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;     /* ⭐ blends video perfectly with gradient */
}

/* Soft overlay for readable text */
.hero-overlay {
  position: absolute;
  inset: 0;
  
}


/* content block */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 40px 0 60px;
}

.hero h1 {
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

/* “Resonating with the future” line */
.typed-text {
  display: block;
  color: var(--primary-light);
  margin-top: 0.25rem;
}

.hero-buttons {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* ===== HERO – MOBILE VIDEO BEHAVIOUR ===== */
@media (max-width: 768px) {
  .hero {
    background: linear-gradient(
      180deg,
      #0a1f3d 0%,
      #173f64 30%,
      #1c587c 100%
    );
  }

  
}


/* ===== Services grid ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

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

/* ===== Service card ===== */
.service-card {
  display: block;
  background: #ffffff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(249, 247, 247, 0.01);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
}

.service-img {
  height: 220px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-img img {
  transform: scale(1.12);
}

.service-content {
  padding: 28px 24px;
}

.service-title {
  font-size: 1.35rem;
  color: var(--secondary);
  margin-bottom: 12px;
  font-weight: 700;
}

.service-desc {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1rem;
}

.service-link {
  color: var(--primary-light);
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.service-link i {
  transition: transform 0.3s ease;
}

.service-card:hover .service-link i {
  transform: translateX(6px);
}

/* ===== Simple scroll animation ===== */
[data-aos] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos-delay="300"] { transition-delay: 0.3s; }
[data-aos-delay="400"] { transition-delay: 0.4s; }
[data-aos-delay="500"] { transition-delay: 0.5s; }
[data-aos-delay="600"] { transition-delay: 0.6s; }
[data-aos-delay="700"] { transition-delay: 0.7s; }

/* ===== Mobile hero layout ===== */
@media (max-width: 768px) {

  body {
    padding-top: 60px; /* navbar visually a bit smaller on mobile */
  }

  .hero {
    min-height: auto;
    display: block;
    padding: 80px 20px 60px; /* gap from navbar + bottom space */
    
  }

  .hero-content {
    max-width: 100%;
    text-align: left;
    padding: 0;
  }

  .hero h1 {
    font-size: 2.4rem;
    line-height: 1.2;
  }

  .hero-buttons {
    margin-top: 1.8rem;
    gap: 14px;
  }

  .btn {
    padding-inline: 24px;
  }
}
