/* COLOUR SYSTEM — NETLIFY‑INSPIRED */
:root {
  --primary-blue: #0B1F33;
  --secondary-blue: #1A73E8;
  --accent-teal: #00C7B7;

  --bg-light: #F4F7FA;
  --grey-mid: #D3D9E1;
  --text-dark: #1A1A1A;
  --white: #FFFFFF;
}

/* BASE */
html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  margin: 0;
  line-height: 1.7;
}

h1, h2, h3 {
  color: var(--primary-blue);
  margin-top: 0;
}

.section-subtitle {
  font-size: 1.1rem;
  opacity: 0.8;
  margin-bottom: 1.5rem;
  max-width: 700px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* LOGO */
.logo {
  height: 40px;
  width: auto;
  display: block;
}

/* NAVIGATION */
.navbar {
  background: var(--primary-blue);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: sticky;
  top: 0;
  z-index: 100;

  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-links a {
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
  transition: 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-teal);
  transition: 0.25s ease;
  transform: translateX(-50%);
}

.nav-links a:hover::after {
  width: 100%;
}

/* MOBILE NAV BUTTON */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 3px;
  background: var(--white);
}

/* HERO */
#hero {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
  background: none;
  z-index: 1;
}

/* SOFTER GRADIENT */
.animated-bg {
  position: absolute;
  inset: 0;
  z-index: 0;

  background: linear-gradient(120deg,
    #ffffff,
    #f4f9f8,
    #e6f5f2,
    #d4efea
  );
  background-size: 250% 250%;
  animation: heroGradient 22s ease infinite;
  opacity: 1;
}

/* WAVE OVERLAY */
.wave-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: url('assets/images/wave.svg') repeat-x bottom;
  opacity: 0.25;
  animation: waveMove 12s linear infinite;
}

@keyframes waveMove {
  from { background-position-x: 0; }
  to { background-position-x: 1000px; }
}

@keyframes heroGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 0.6fr;
  gap: 3rem;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.15rem;
  max-width: 600px;
}

.hero-side {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-side-image {
  width: clamp(55%, 70%, 85%);
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.08));
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.25s ease;
}

.btn-primary {
  background-color: var(--secondary-blue);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #155fcc;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-blue);
  border: 1px solid var(--primary-blue);
  margin-left: 0.75rem;
}

.btn-secondary:hover {
  background-color: var(--primary-blue);
  color: var(--white);
  transform: translateY(-2px);
}

/* MOBILE BUTTON SPACING */
@media (max-width: 900px) {
  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    align-items: center;
  }

  .btn-secondary {
    margin-left: 0;
  }
}

/* SECTION SPACING */
section {
  padding: 4rem 1.5rem;
}

.alt-bg {
  background-color: var(--bg-light);
}

/* SECTION DIVIDERS */
.section-divider {
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(0, 199, 183, 0.3),
    transparent
  );
  margin: 0;
}

/* SECTION HEADERS */
section h2 {
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
}

section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background-color: var(--accent-teal);
  border-radius: 2px;
  transition: width 0.3s ease;
}

section:hover h2::after {
  width: 120px;
}

/* FADE-IN ANIMATION */
.fade-section {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: 6px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

/* LIST INTERACTIONS */
.why-list li {
  transition: 0.25s ease;
  padding-left: 0;
}

.why-list li:hover {
  padding-left: 8px;
  color: var(--primary-blue);
}

/* FORM */
form div {
  margin-bottom: 1.2rem;
}

input, textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid var(--grey-mid);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

/* FOOTER */
footer {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 2rem 0;
  margin-top: 3rem;
}

footer .disclaimer {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* ============================
   MOBILE FIXES
   ============================ */
@media (max-width: 900px) {

  /* HERO GRID STACKS */
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-side-image {
    width: 80%;
    margin-top: 1.5rem;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  /* NAVIGATION — MOBILE MENU */
  .nav-links {
    display: none;
    flex-direction: column;
    background: var(--primary-blue);
    position: absolute;
    top: 70px;
    right: 0;
    width: 200px;
    padding: 1rem 1.5rem;
    border-left: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);

    opacity: 0;
    transform: translateY(-10px);
  }

  .nav-links.open {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  /* MOBILE BURGER BUTTON */
  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 600px) {
  section {
    padding: 3rem 1.2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}
