/* ===== Base / Container ===== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #2a2e35;
  background: #f6f8fb;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* ===== Navbar ===== */
header {
  background: #ffffff;
  border-bottom: 1px solid #e9eef5;
  position: sticky;
  top: 0;
  z-index: 50;
}
.navbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.logo {
  font-weight: 800; letter-spacing: .2px; color: #00b3ff; font-size: 1.2rem;
}
.nav-links { list-style: none; display: flex; gap: 22px; padding: 0; margin: 0; }
.nav-links a {
  color: #2a2e35; text-decoration: none; padding: 8px 10px; border-radius: 8px;
  transition: background .25s ease, color .25s ease;
}
.nav-links a:hover { background: #e9f6ff; color: #00a0ea; }
.nav-links a.active { color: #00a0ea; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(180deg, #e8f7ff 0%, #ffffff 60%);
  padding: 64px 0 60px;   /* ⬅️ added more bottom space */
  position: relative;
}
.hero-inner { text-align: center; }
.hero h1 { margin: 0 0 8px; font-size: clamp(28px, 4vw, 44px); color: #0b2e4a; }
.hero p  { margin: 0 0 18px; color: #476178; font-size: 1.05rem; }
.btn {
  display: inline-block; padding: 11px 18px; border-radius: 10px; text-decoration: none;
  transition: all .25s ease; font-weight: 700; letter-spacing: .2px;
}
.btn-primary { background: #00b3ff; color: #fff; border: 2px solid #00b3ff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,179,255,.25); }
.btn-outline { border: 2px solid #00b3ff; color: #00b3ff; background: transparent; }
.btn-outline:hover { background: #00b3ff; color: #fff; }

.hero-wave {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 18px;
  background: radial-gradient(100% 200% at 50% 0%, #dff1ff 0%, rgba(223,241,255,0) 70%);
}

/* ===== Sections / Headings / Lines ===== */
.section { padding: 80px 0; }   /* ⬅️ more vertical space */
.section.alt { background: #ffffff; }
.section-head {
  display: flex; align-items: baseline; gap: 16px; margin-bottom: 22px;
}
.section-head.center { justify-content: center; }
.section-head h2 {
  margin: 0; font-size: clamp(20px, 3vw, 28px); color: #0b2e4a;
}
.rule {
  flex: 1; height: 2px; background: linear-gradient(90deg, #00b3ff 0, #bfeaff 100%);
  border-radius: 2px; opacity: .6;
}

.divider {
  height: 1px; background: linear-gradient(90deg, #e9eef5, #dfe7f1, #e9eef5);
  margin: 10px auto 0;
}

/* ===== Grid Helpers ===== */
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: center; }
.row.reverse { direction: rtl; }
.row.reverse > * { direction: ltr; }
.col { min-width: 0; }

/* ===== About ===== */
.img-col img, .about img, .gs img {
  width: 100%; max-width: 440px; height: auto; border-radius: 12px; object-fit: cover;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}
.text-col h3 { margin: 0 0 10px; color: #0b2e4a; font-size: 1.25rem; }
.text-col p  { margin: 0 0 14px; color: #4b6070; }

/* Centered About Section */
.text-center {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.text-center h2 {
  margin-top: 40px;    /* space between headings */
  margin-bottom: 15px;
  font-size: 1.8rem;
  color: #0b2e4a;
}
.text-center p {
  margin-bottom: 30px;
  font-size: 1.1rem;
  color: #444;
}
.center-list {
  display: inline-block;
  text-align: left;
  margin-top: 20px;
}

/* Tick List */
.tick-list { list-style: none; padding: 0; margin: 0 0 14px; text-align: left; }
.tick-list li {
  padding-left: 28px; position: relative; margin: 8px 0; color: #395365;
}
.tick-list li::before {
  content: "✔"; color: #00b3ff; position: absolute; left: 0; top: 0;
}

/* ===== Getting Started ===== */
.pill-wrap { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 18px; justify-content: center; }
.pill {
  background: #ffffff; color: #0b2e4a; border: 1px solid #dbe7f2;
  padding: 7px 12px; border-radius: 999px; font-size: .92rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.03);
}
.pill:hover { border-color: #b7dffd; box-shadow: 0 4px 14px rgba(0,0,0,.06); }

/* ===== Carousel ===== */
.carousel { overflow: hidden; width: 100%; margin-top: 10px; }
.carousel-track {
  display: inline-flex; align-items: center; gap: 42px; padding: 14px 6px;
  animation: scroll 24s linear infinite;
}
.carousel-track img {
  height: 54px; width: auto; object-fit: contain; filter: saturate(.95) contrast(1.05);
  transition: transform .25s ease;
}
.carousel-track img:hover { transform: translateY(-3px) scale(1.03); }
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== Footer ===== */
footer {
  background: #0b2236; color: #cfe6f7; margin-top: 48px; border-top: 2px solid #062035;
}
.footer-inner {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; padding: 28px 0;
}
.f-logo { font-weight: 800; color: #ffffff; }
.f-col h4 { margin: 0 0 8px; color: #ffffff; font-size: 1rem; }
.f-links { list-style: none; padding: 0; margin: 0; }
.f-links a { color: #cfe6f7; text-decoration: none; }
.f-links a:hover { text-decoration: underline; }

/* ===== Buttons (shared) ===== */
.btn:focus { outline: none; box-shadow: 0 0 0 3px rgba(0,179,255,.25); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .row { grid-template-columns: 1fr; }
  .section-head { justify-content: center; }
  .rule { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .nav-links { gap: 12px; }
  .footer-inner { grid-template-columns: 1fr; }
  .carousel-track img { height: 48px; }
}

/* ---------- Services page square grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}

/* Make each card a perfect square and center content */
.service-card {
  display: grid;
  place-items: center;
  grid-auto-rows: 1fr;
  min-height: 160px;
  padding: 18px;
  border-radius: 14px;
  background: #fff;
  border: 2px solid #00b3ff;
  text-decoration: none;
  text-align: center;
  transition: all .25s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}
.service-card h3 {
  margin: 0 0 8px;
  color: #00b3ff;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.25;
}
.service-card p {
  margin: 0;
  color: #566977;
  font-size: .95rem;
}
.service-card:hover {
  background: #00b3ff;
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}
.service-card:hover h3,
.service-card:hover p {
  color: #fff;
}
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* Getting Started centering */
.gs-text { text-align: center; }
.gs-text .pill-wrap { justify-content: center; }
.gs-text .gs-btn {
  display: inline-block;
  margin: 20px auto 0;
}

/* Contact Form Section */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 500px;
  margin: 0 auto;
}
.contact-form .form-group { display: flex; flex-direction: column; }
.contact-form label {
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #00b3ff;
  box-shadow: 0 0 6px rgba(0, 179, 255, 0.4);
  outline: none;
}
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===== Standardize hero-to-section spacing ===== */
.hero {
  margin-bottom: 10px; /* ensures space below hero like on Home */
}

/* ===== Auto-create divider effect under hero on all pages ===== */
.hero::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, #e9eef5, #dfe7f1, #e9eef5);
  margin-top: 10px;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  padding: 40px 0;
}

.footer-tagline {
  margin: 10px 0;
  font-size: 0.95rem;
  color: #a6c4da;
}

.footer-copy {
  font-size: 0.85rem;
  color: #7fa2bb;
  margin-top: 8px;
}

.f-links li {
  margin: 6px 0;
}

.f-links a {
  color: #cfe6f7;
  text-decoration: none;
  transition: color 0.25s;
}

.f-links a:hover {
  color: #00b3ff;
  text-decoration: underline;
}

.social-links .social-icon {
  width: 18px;
  height: 18px;
  margin-right: 6px;
  vertical-align: middle;
}

/* Contact Page Image Override */
.contact-page .img-col img {
  max-width: 100%;   /* allow full width on Contact only */
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

/* Responsive tweaks for Getting Started */
@media (max-width: 768px) {
  .pill-wrap {
    justify-content: center;
    gap: 8px;
  }

  .pill {
    flex: 1 1 calc(50% - 10px);  /* two per row on tablets */
    text-align: center;
  }

  .gs-text .gs-btn {
    margin-top: 18px;
    width: auto;
  }
}

@media (max-width: 480px) {
  .pill {
    flex: 1 1 100%;   /* one per row on small phones */
  }

  .gs-text {
    padding: 0 12px;
  }

  .gs-text .gs-btn {
    width: 100%;   /* full width button on phones */
    max-width: 260px;
  }
}


/* Responsive layout for Services grid */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on tablets */
    gap: 18px;
  }
  .service-card {
    max-width: none;   /* let them stretch */
    margin: 0;
  }
}

@media (max-width: 560px) {
  .services-grid {
    grid-template-columns: 1fr; /* 1 per row on small phones */
    gap: 16px;
  }
  .service-card {
    width: 100%;
    max-width: 300px;  /* keeps it neat */
    margin: 0 auto;    /* centers each card */
  }
}

/* Service card animations */
.service-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
  will-change: transform, box-shadow;
}

.service-card:hover {
  background: #00b3ff;
  color: #fff;
  transform: translateY(-6px) scale(1.03); /* slight lift + zoom */
  box-shadow: 0 14px 28px rgba(0,0,0,0.15);
}

.service-card:hover h3,
.service-card:hover p {
  color: #fff;
}

/* Burger icon (hidden on desktop) */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.burger span {
  width: 25px;
  height: 3px;
  background: #00b3ff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile nav hidden by default */
@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 60px;
    right: 10%;
    background: #fff;
    border: 1px solid #e6eef5;
    border-radius: 10px;
    padding: 15px 20px;
    flex-direction: column;
    gap: 15px;
    display: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  }

  .nav-links.show {
    display: flex;
  }
}

/* Burger active state (turn into X) */
.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger.active span:nth-child(2) {
  opacity: 0; /* middle line disappears */
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Smooth animation */
.burger span {
  transition: all 0.3s ease;
}

.logo,
.f-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  font-size: 1.2rem;
  color: #00b3ff;
  text-decoration: none;  /* remove underline */
}

.logo img,
.f-logo img {
  height: 120px; /* adjust for navbar */
  width: auto;
  display: block;
}

.f-logo {
  color: #fff; /* footer logo stays white */
}

.f-logo img {
  height: 70px; /* smaller in footer */
}

@media (max-width: 480px) {
  .logo img {
    height: 42px;  /* slightly smaller on phones */
  }

  .f-logo img {
    height: 32px;
  }
}


/* Intro Section */
.intro {
  background: #f9fbfd;
  padding: 60px 10%;
}

.intro-img img {
  width: 100%;
  max-width: 450px;
  border-radius: px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.intro-text h2 {
  margin-top: 0;
  font-size: 2rem;
  color: #00b3ff;
}

.intro-text h4 {
  font-size: 1.2rem;
  font-weight: 500;
  margin: 10px 0 20px;
  color: #555;
}

.intro-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}

/* Responsive */
@media (max-width: 768px) {
  .intro .row {
    flex-direction: column;
    text-align: center;
  }
  .intro-img img {
    margin-bottom: 20px;
  }
}

/* Contact Page Enhancements */
.contact-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* Direct contact section */
.contact-direct {
  text-align: center;
  padding: 50px 10%;
}

.contact-direct h2 {
  color: #00b3ff;
  margin-bottom: 15px;
}

.contact-direct p {
  margin-bottom: 20px;
  color: #444;
}

.direct-links {
  list-style: none;
  padding: 0;
}

.direct-links li {
  font-size: 1.1rem;
  margin: 8px 0;
}

.direct-links a {
  color: #00b3ff;
  text-decoration: none;
  font-weight: bold;
}

.direct-links a:hover {
  text-decoration: underline;
}
