/* ========== DEFAULT (MOBILE FIRST) ========== */
:root {
  --teal: #099488;
  --teal-700: #07756C;
  --teal-600: #0A8F82;
  --white: #ffffff;
  --text: #0f172a;
  --teal-soft-2: #e6f7f5;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}
.brand img {
  width: 34px;
  height: 34px;
}

/* Nav (default hidden for mobile) */
.main-nav {
  display: none;
  flex-direction: column;
  background: rgba(15,157,127,0.95);
  position: absolute;
  top: 70px;
  right: 1rem;
  padding: 1rem;
  border-radius: 10px;
}
.main-nav a {
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 0;
}
.main-nav.active {
  display: flex;
}

/* Burger button */
.nav-toggle {
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: white;
}

/* Make header float over hero */
.hero-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}
.hero-header .brand {
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
}
.hero-header .brand img {
  height: 40px;
}
.header-right {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

/* Mobile Call button (circle) */
.btn-call-overlay {
  background: #0f9d7f;
  color: #fff;
  padding: 0.6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  font-size: 1.4rem;
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .brand span { font-size: 1rem; }
  .main-nav { width: 200px; }
}

/* ========== DESKTOP OVERRIDES ========== */
/* ========== DESKTOP OVERRIDES ========== */
@media (min-width: 769px) {
.hero-header .brand {
  display: flex;
  align-items: center;
  white-space: nowrap;   /* prevents wrapping */
  gap: 10px;
}
  .hero-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: absolute;
    width: 100%;
  }

  /* Brand on the left */
  .header-left {
    flex: 1;
    display: flex;
    align-items: center;
  }

  /* Nav in the center */
  .main-nav {
    flex: 2;
    display: flex !important;
    flex-direction: row;   /* ✅ make it horizontal */
    justify-content: center;
    align-items: center;   /* ✅ vertical centering */
    gap: 28px;
    background: none;
    padding: 0;
    margin: 0;
    position: static;      /* ✅ remove absolute popup style */
  }
  .btn-call-overlay {
    display: none;
  }

  .main-nav a {
    padding: 0 1rem;
    color: white;
  }
  /* Right side (call button) */
  .header-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  /* Hide burger on desktop */
  .nav-toggle {
    display: none;
  }

  /* Call button desktop style */
  .btn-call-overlay {
    background: var(--teal);
    color: var(--white);
    border-radius: 12px;
    padding: 10px 18px;
    font-size: 1rem;
    box-shadow: 0 6px 14px rgba(9,148,136,0.18);
  }
}
