/* === Header Container === */
.header {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 50px rgba(0, 0, 0, 0.2);
  max-width: 1200px;
  position: relative;
  padding: 10px 20px;
  transition: all 0.3s ease;
}


/* === Logo === */
.logo-img {
  width: 85px;
  height: 85px;
  object-fit: contain;
}

.logo-text {
  font-size: 28px;
  letter-spacing: 1px;
  color: #263778;
  font-weight: 700;
}


/* === Navigation === */
.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.nav-list li {
  display: flex;
  align-items: center;
}

.nav-list a {
  color: #263778 !important;
  transition: color 0.2s;
  font-weight: 600;
  text-decoration: none;
  padding: 0.3rem 0.5rem;
}

.nav-list a:hover {
  color: #4575f5 !important;
}


/* === Social Icons === */
.social-icons a {
  font-size: 1.4rem;
  color: inherit;
  transition: transform 0.2s, opacity 0.2s;
  text-decoration: none;
}

.social-icons a.facebook i {
  color: #1877F2;
}

.social-icons a.instagram i {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.social-icons a.whatsapp i {
  color: #25D366;
}

.social-icons a:hover i {
  opacity: 0.7;
  transform: scale(1.2);
}


/* === Call Button === */
.call-button {
  border: 2px solid #263778;
  color: #263778;
  border-radius: 32px;
  padding: 8px 22px;
  box-shadow: 0 1px 8px rgba(38, 55, 120, 0.09);
  transition: all 0.3s ease;
  background: #fff;
}

.call-button:hover {
  background: #1e2a60;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(38, 55, 120, 0.3);
}

.call-button a {
  color: #000 !important;
}

.call-button a:hover {
  color: #fff !important;
}


/* === Hamburger Icon (3 lines) === */
.navbar-toggler-icon {
  display: inline-block;
  width: 28px;
  height: 3px;
  background: #263778; /* middle line */
  position: relative;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 28px;
  height: 3px;
  background: #263778;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler-icon::after {
  top: 8px;
}

#menu-toggle:hover .navbar-toggler-icon,
#menu-toggle:hover .navbar-toggler-icon::before,
#menu-toggle:hover .navbar-toggler-icon::after {
  background: #4575f5;
}


/* === Mobile Slide Menu === */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -250px;
  width: 230px;
  height: 100%;
  background-color: #fff;
  box-shadow: 3px 0 10px rgba(0, 0, 0, 0.2);
  padding: 30px 20px;
  transition: left 0.3s ease;
  z-index: 2000;
}

.mobile-menu.active {
  left: 0;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2rem;
  font-weight: 700;
  color: #263778;
  cursor: pointer;
  transition: color 0.2s;
}

.close-btn:hover {
  color: #4575f5;
}

.mobile-menu a {
  display: block;
  text-decoration: none;
  color: #263778;
  font-weight: 600;
  margin-bottom: 15px;
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: #4575f5;
}


/* === Tablet Adjustments === */
@media (max-width: 992px) {
  .logo-img {
    width: 50px;
    height: 40px;
  }

  .logo-text {
    font-size: 1.2rem;
  }
}


/* === Mobile Layout (≤768px) === */
@media (max-width: 768px) {
  .logo-img {
    width: 60px;   /* larger logo */
    height: 48px;
  }

  .logo-text {
    font-size: 1.3rem;
  }

  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    border-radius: 0;
    padding: 8px 16px;
    z-index: 1100;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .header .d-flex.align-items-center {
    gap: 6px; /* reduced gap between logo and brand */
  }

  .social-icons.d-md-none {
    display: flex !important;
    gap: 6px; /* reduced gap between icons */
    margin-left: 6px;
  }

  .social-icons.d-md-none a {
    font-size: 1.6rem; /* increased icon size */
  }

  .nav-list,
  .call-button.d-md-block {
    display: none !important;
  }

  .navbar-toggler-icon {
    width: 26px;
  }
}


/* === Small Mobiles (≤576px) === */
@media (max-width: 576px) {
  .logo-img {
    width: 45px;
    height: 40px;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  .header .d-flex.align-items-center {
    gap: 4px; /* even smaller gap on small screens */
  }

  .social-icons.d-md-none a {
    font-size: 25px; /* slightly smaller than tablet for balance */
  }

  .header {
    padding: 6px 14px;
  }
}


/* === Floating Navbar on Desktop === */
@media (min-width: 992px) {
  .header {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    z-index: 1050;
  }

  body {
    padding-top: 0;
  }
}

