* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
 
}

body {
  font-family: Arial, sans-serif;
}

.header {
    position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 80%;
  max-height: 20%;
  background: white;
  border-radius: 12px;
  padding: 20px 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  height: 32px;
  width:32px;
}

.logo-text {
  font-size:20px;
  font-weight: bold;
  color: #ff5f2e;
}

.navbar {
  display: flex;
  gap: 20px;
}

.nav-link {
  text-decoration: none;
  color: #000;
  font-weight:600;
  position: relative;
  font-family: "Poiret One", sans-serif;
  }



.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;

  z-index: 1001;
  transition: transform 0.3s ease;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background-color: #ff5f2e;
  margin: 4px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}






.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #ff5f2e;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.contact-info {
  font-weight: bold;
  color: #363333;
  background-color: #ff5f2e;
  border-radius: 20px;
  padding: 10px 16px;
  font-size: 14px;
  font-family: "Poiret One", sans-serif;
  
  white-space: nowrap;
}



.logo {
  font-size: 24px;
  font-weight: bold;
  color: #ff5f2e;
  
}

.logo-text {
  font-size: 20px;
  font-weight:600;
  font-style: normal;
  font-family: "Poiret One", sans-serif;
}

.logo-u {
  color: #ff5f2e; /* orange */
  font-size: 2rem;
font-weight: 300;
}



.logo-mail {
  color: #000000; /* black */
  font-weight: 300;
}


nav a {
  margin: 0 15px;
  text-decoration: none;
  color: black;
  font-weight: 500;
  @import url('https://fonts.googleapis.com/css2?family=Tinos:ital,wght@0,400;0,700;1,400;1,700&display=swap');
  font-family: "Tinos", serif;
  font-size: 1.1rem;
}

nav a {
  position: relative;
  margin: 0 15px;
  text-decoration: none;
  color: black;
  font-weight: 500;
}

/* Underline effect on hover */
nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #ff5f2e;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* Mobile Navigation */
@media (max-width: 900px) {
  /* Hamburger Button */
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 36px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
    padding: 0;
    transition: transform 0.3s ease;
  }

  .hamburger span {
    width: 100%;
    height: 3px;
    background-color: #ff5f2e;
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
  }

  /* Hamburger Animation */
  .hamburger.active {
    transform: scale(1.1);
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  /* Hide contact info */
  .contact-info {
    display: none;
  }

  /* Navbar dropdown (shutter) below header */
.navbar {
  position: absolute;
  top: 100%; /* right below header */
  left: 0;
  right: 0;
  background: #fff;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.1),
    0 3px 6px rgba(0, 0, 0, 0.05);
  border-radius: 12px; /* Changed from bottom corners only to all corners */
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px 30px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.45s ease;
  z-index: 999;
}

  /* When active, expand dropdown */
  .navbar.active {
    max-height: 400px; /* Adjust based on number of links */
    opacity: 1;
    overflow: visible;
  }

  .navbar a {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
  }

  .navbar a:hover,
  .navbar a:focus {
    background-color: #ff5f2e;
    color: white;
    outline: none;
  }

  /* No overlay needed here */
  .nav-overlay {
    display: none;
  }
}
