:root {
  --text-md: 1rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --black-title: #333;
  --fontSize-sm: 0.75rem; /* 12px */
  --fontSize-md: 1rem; /* 16px */
  --fontSize-lg: 1.5rem; /* 24px */
  --fontSize-xl: 2rem; /* 24px */
}

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

html,
body {
  max-width: 100%;
  /* overflow-x: hidden; */
  font-family: "Roboto", sans-serif;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  padding: 0;
  margin: 0;
}

img {
  width: 100%;
}

/* Mobile first */
.container-md {
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.separator {
  border: none; /* remove default browser style */
  height: 4px;
  background-color: #ff9f1c; /* light gray */
  margin: 10px auto 0;
  max-width: 60px; /* optional: match your container width */
  margin-bottom: var(--spacing-xl);
}

/* Navbar Mobile*/
header.navbar {
  background: #022857;
  color: #fff;
  top: 0;
  z-index: 100;
  position: sticky;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px 16px;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 54px;
  height: auto;
  display: block;
}

.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px; /* space between lines */
  /* padding: 8px; */
  z-index: 1000; /* stays on top of menu */
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* OPEN STATE — perfect centered X */
.nav-toggle.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 60px;
  background: #fff;
}

.nav-menu li a {
  display: block;
  padding: 30px 16px;
  text-align: center;
  color: #022857;
  font-size: 20px;
}

/* CTA button */
.navbar-btn {
  background: #25d366;
  color: #0b0f14;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 700;
  display: none;
}

/* When menu is open */
.nav-menu.open {
  display: block;
}

/* Home Hero */
.home-hero {
  /* background: radial-gradient(ellipse at center, #3a8dde 0%, #0a2d6b 100%); */
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../assets/home-hero.png") center/cover no-repeat;
  color: white;
  /* padding: 100px 20px; */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 0;
  padding-top: 60px; /* space for sticky navbar */
  /* min-height: 70vh; */
}

.hh-content {
  text-align: center;
  margin: 0 auto;
}

/* Typographic scale (mobile) */
.hh-content h1 {
  font-size: 3rem;
  line-height: 1.1;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  color: #fff;
}

.hh-content h2 {
  font-size: 18px;
  line-height: 1.35;
  margin: 0 0 14px;
  color: #e5e7eb; /* softer than pure white */
}

.hh-content p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 8px;
  color: #d1d5db; /* subtle contrast */
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 2px 10px 2px 2px;
  border-radius: 10px;
  background: #25d366;
  color: #0b0f14;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.15s ease, filter 0.15s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.whatsapp-btn:hover {
  background-color: #128c7e; /* Darker green on hover */
}

.whatsapp-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* Services Mobile*/
.services {
  padding: 5rem 0;
  background: #fff;
}

.service-title {
  text-align: center;
  font-size: var(--fontSize-xl);
  line-height: 1.2;
  color: #111;
  /* margin: 0 0 24px; */
  /* margin-bottom: var(--spacing-xl); */
}

.service-cards {
  display: grid;
  grid-template-columns: 1fr; /* phones */
  gap: 16px;
  align-items: stretch;
}

.service-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden; /* keep image inside rounded corners */
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

/* Image */
.service-card img {
  display: block;
  height: 240px; /* mobile height */
  object-fit: cover; /* crop without distortion */
  object-position: 30% center; /* show a bit more of left side */
}

/* Body */
.service-card-body {
  padding: 16px;
  flex: 1 1 auto; /* grow with text */
  text-align: left;
}

.service-card-body h3 {
  margin: 0 0 8px;
  font-size: var(--fontSize-lg);
  color: #222;
}

.service-card-body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  overflow-wrap: anywhere; /* prevent long words from breaking layout */
  margin-bottom: var(--spacing-lg);
}

.service-card-body button {
  background-color: #1d3557;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: var(--fontSize-md);
  width: 140px;
  height: 36px;
}

/* about Mobile */

.about {
  padding: 5rem 0;
  background: #084896;
}

.about-title {
  text-align: center;
  font-size: var(--fontSize-xl);
  line-height: 1.2;
  color: #fff;
  margin-bottom: var(--spacing-md);
}

.about p {
  text-align: center;
  font-size: var(--fontSize-md);
  line-height: 1.2;
  color: #fff;
  margin-bottom: var(--spacing-lg);
}

/* Pricing Mobile*/
.pricing {
  background-color: #fff;
  padding: 20px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5rem 0;
}

.pricing-title {
  color: var(--black-title);
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
}

.pricing-subtitle {
  color: var(--black-title);
  font-size: var(--fontSize-md);
  margin-bottom: var(--spacing-lg);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding-bottom: var(--spacing-lg);
}

.pricing-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: var(--spacing-lg);
}

.pricing-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  min-height: 240px;
  max-width: 480px;
  flex: 1 1 300px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.pricing-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  /* padding: 10px; */
  /* border-radius: 50%; */
  /* border: 1px solid #1d3557; */
}

.pricing-card h3 {
  font-size: var(--fontSize-lg);
  color: #1d3557;
  margin-bottom: var(--spacing-sm);
}

.price {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: var(--spacing-md);
}

.pricing-separator {
  border: none;
  width: 80%;
  margin: 20px auto;
  border-top: 2px solid #ddd;
}

/* Contact Section Mobile */
.contact {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 5px;
  background-color: #f5f5f5;
}

.contact-pretitle {
  text-align: center;
}

.contact-title {
  color: var(--black-title);
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
  text-align: center;
}

.contact-subtitle {
  color: var(--black-title);
  font-size: var(--fontSize-md);
  margin-bottom: var(--spacing-lg);
  text-align: center;
}

.contact-info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-md);
}

.contact-info button {
  background-color: #0a2d6b;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: var(--fontSize-md);
  width: 140px;
  height: 44px;
}

.contact-items {
  flex-direction: column;
  padding: 10px 14px;
  display: flex;
  gap: var(--spacing-md);
}

.contact-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 10px;
  /* background-color: aliceblue; */
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.contact-icon-wrapper {
  width: 25%;
  height: 50px;
  text-align: center;
  /* background-color: #128c7e; */
}

.contact-icon {
  width: 50px;
  height: 50px;
}

.contact-text-wrapper {
  width: 75%;
  padding: 0 10px;
}

.contact-text h3 {
  font-size: 24px;
  text-align: center;
  word-wrap: break-word;
}

/* Footer Section */
.site-footer {
  background-color: #f5f5f5;
  padding: 30px 20px;
  text-align: center;
  font-size: 14px;
  color: #333;
}

.footer-separator {
  border: none;
  border-top: 1px solid #ccc;
  margin: 0;
  margin-bottom: 20px;
}

.footer-content p {
  margin: 5px 0;
}

table,
tr {
  width: 100%;
  border: 1px solid #ddd;
  border-collapse: collapse;
  margin-top: 20px;
}

/* Responsive Desktop */
@media (min-width: 768px) {
  .container-md {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
  }

  .service-cards {
    grid-template-columns: repeat(3, 1fr); /* 3 columns for desktop */
    gap: 20px;
  }

  .nav-toggle {
    display: none; /* hide mobile toggle on desktop */
  }
  .nav-menu {
    display: flex;
    position: static; /* reset position */
    flex-direction: row; /* horizontal layout */
    background: transparent; /* no background */
  }
  .navbar-btn {
    display: inline-block;
  }
}
