/* ================================
   RoneeWeb Header Styles (Light Theme)
================================ */

/* FORCE HEADER FONT CONSISTENT ACROSS ALL PAGES */
.header,
.header * {
  font-family: "Inter", sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    line-height: 1.3 !important;
}

.header {
  background: #ffffff;
  color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid #e6f4f1; /* subtle green-blue accent */
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 5%;
  width: 100%;
  max-width: 1200px;
  margin: auto;
}


/* Logo */
.logo img {
  height: 42px;
  width: auto;
  transition: transform 0.3s;
}

.logo img:hover {
  transform: scale(1.05);
}

/* Navigation */
.nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav a {
  color: #333;
  text-decoration: none;
  font-size: large;
  font-weight: 700;
  transition: color 0.3s;
  position: relative;
}

/* Hover underline animation */
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #009879, #00aaff);
  transition: width 0.3s;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav a:hover {
  color: #009879;
}

/* Button */
.btn-primary {
  background: linear-gradient(90deg, #009879, #00aaff);
  color: white;
  padding: 10px 18px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
  border: 2px solid transparent;
}

.btn-primary:hover {
  background: transparent;
  border-color: #00aaff;
  color: #00aaff;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-right: 10%;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 5px;
}

@media (max-width: 768px) {

  /* Reduce header padding */
 .header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 4%;
  }

  /* Shrink logo */
  .logo img {
    height: 34px;
  }

  /* Mobile Menu Base */
  .nav ul {
    position: fixed;
    top: 70px;
    right: 0;
    width: 80%;
    max-width: 300px;
    background: #ffffff;
    flex-direction: column;
    padding: 15px 20px;
    border-radius: 0 0 0 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.12);
    transform: translateX(100%);
    transition: 0.3s ease;
    z-index: 1200;
  }

  /* Open State: Slide-in */
  .nav.open ul {
    transform: translateX(0);
  }

  /* Mobile Links Style */
  .nav a {
    font-size: 1.05rem;
    padding: 12px 0;
    color: #009879;
  }

  .nav a::after {
    bottom: 0;
    height: 2px;
  }

  /* Hamburger Visible */
  .menu-toggle {
    display: flex;
  }

  /* Hide Desktop Button */
  .btn-primary {
    display: none;
  }
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  z-index: 1500;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* ===============================
   FIX MISSING WHATSAPP ICON
=============================== */
.whatsapp-float i {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
    font-style: normal !important;
    display: inline-block !important;
}

/* Protect ALL header icons (optional but recommended) */
.header i,
.header i::before,
.header i::after {
    font-family: "Font Awesome 6 Brands" !important;
}
