
/* Navbar */
.navbar {
    padding: 1.25rem 0;
    transition: all 0.3s ease;
    z-index: 100;
    width: 100%;
  }

  .navbar.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
  }
  
  .navbar.scrolled {
    background-color: #222563;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  }


  
  .navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo {
    font-size: 1.5rem;
    font-weight: bold;
  }
  .logo img {
    height: 40px;
    transition: all 0.3s ease-in-out;
}
  
  .nav-desktop {
    display: none;
  }
  
  .nav-link {
    position: relative;
    color: white;
    margin: 0 1rem;
    transition: color 0.2s ease-in-out;
  }
  
  .nav-link:hover, .nav-link.active {
    color: #1e88e5;
  }
  
  .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: #1e88e5;
    transition: width 0.3s ease;
  }
  
  .nav-link:hover::after, .nav-link.active::after {
    width: 100%;
  }
  
  .mobile-menu-button {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 110;
  }

  

  .nav-desktop .nav-link{
    font-size: 16px;
  }
  
  .mobile-menu-button span {
    width: 100%;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
  }
  
  .mobile-menu-button.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .mobile-menu-button.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-button.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  .mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--zhahi-navy);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 100;
  }
  
  .mobile-menu.active {
    transform: translateX(0);
  }
  
  .mobile-menu .nav-link {
    font-size: 1.25rem;
  }

  
  /* Footer */
  .footer {
    padding: 2.5rem 0 2rem;
    background: #43549e;
    
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-logo {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
  }

  .footer-logo img {
    height: 40px;
    transition: all 0.3s ease-in-out;
}
  
  .footer-desc {
    color: white;
    margin-bottom: 1.5rem;
  }
  
  .social-links {
    display: flex;
    gap: 1rem;
  }
  
  .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(10, 25, 47, 0.7);
    color: white;
    transition: color 0.3s ease;
    border: 1px solid rgba(100, 255, 218, 0.3);
  }
  
  .social-icon:hover {
    background-color: rgba(100, 255, 218, 0.1);
    color: var(--zhahi-teal);
    transform: translateY(-3px);
  }
  
  .footer-heading {
    font-size: 1.4rem;
    color: #00acc1;
    margin-bottom: 1.2rem;
    font-weight: 600;
  }
  
  .footer-links li {
    margin-bottom: 0.75rem;
  }
  
  .footer-links a {
    color: white;
    transition: color 0.3s ease;
  }
  
  .footer-links a:hover {
    color: var(--zhahi-teal);
  }
  
  .contact-info .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
  }
  
  .contact-icon {
    width: 20px;
    height: 20px;
    color: var(--zhahi-teal);
    margin-right: 0.75rem;
    margin-top: 0.25rem;
  }
  
  .contact-item span {
    color: white ;
  }
  
  .footer-bottom {
    margin-top: 2rem;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(168, 178, 209, 0.1);
  }
  
  .footer-bottom p {
    color: white;
  }
  
  /* Back to top button */
/* Hide by default */
.back-to-top {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--zhahi-teal);
  color: white;
  
  border: none;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  z-index: 25;
  transition: opacity 0.3s;
}



/* Only show on mobile */
@media only screen and (max-width: 768px) {
  .back-to-top {
    display: flex;
  }
  
  /* Optional: Hide when scrolled to top */
  .back-to-top.hidden {
    opacity: 0;
    pointer-events: none;
  }
}
  
  /* Media Queries */
  @media (min-width: 640px) {
    .footer-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    
  }
  
  @media (min-width: 768px) {
    .section-heading {
      font-size: 2.5rem;
    }
    
    .footer-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }


  
  @media (min-width: 1024px) {
    .mobile-menu-button {
      display: none;
    }
    
    .nav-desktop {
      display: flex;
      align-items: center;
    }
    
    .footer-grid {
      grid-template-columns: repeat(4, 1fr);
    }
  }