* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  padding: 10px 30px;
  border-bottom: 1px solid #ddd;
  flex-wrap: wrap;
}

.branding {
  display: flex;
  align-items: center;
  gap: 10px;
}

.branding img {
  height: 60px;
  width: auto;
}

.branding-logo a {
  text-decoration: none;
  font-size: 20px;
  color: #333;
  font-weight: bold;
  white-space: nowrap;
}

/* HAMBURGER MENU */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  margin-left: auto;
}

/* MENU */
.menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 25px;
  margin-left: auto;
}

.menu a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  white-space: nowrap;
}

.arrow {
  margin-left: 5px;
  font-size: 12px;
}

/* SUBMENU */
.submenu {
  display: none;
  position: absolute;
  background-color: white;
  border: 1px solid #ddd;
  padding: 10px 0;
  border-radius: 6px;
  top: 100%;
  left: 0;
  min-width: 200px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.submenu li {
  padding: 0;
}

.submenu a {
  display: block;
  padding: 8px 15px;
  color: #333;
}

.has-dropdown:hover > .submenu {
  display: block;
  z-index: 100;
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  .branding-logo a {
    font-size: 18px;
  }

  .branding img {
    height: 50px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #fff;
    border-top: 1px solid #ddd;
  }

  .menu.active {
    display: flex;
  }

  .menu li {
    width: 100%;
    border-bottom: 1px solid #eee;
  }

  .menu a {
    padding: 12px 20px;
    display: block;
  }

  .submenu {
    position: static;
    display: none;
    border: none;
    box-shadow: none;
    background: #f9f9f9;
    padding-left: 20px;
  }

  .submenu.open {
    display: flex;
    flex-direction: column;
  }
}


/* Add animation for bouncing effect */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Learn More Button */
.learn-more-btn {
  position: absolute;
  bottom: 90px; 
  left: 40px;
  background-color: #004aad;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  animation: bounce 2s infinite; 
  transition: background-color 0.3s ease;
}

.learn-more-btn:hover {
  background-color: #00357a;
}

/* Mobile version */
@media (max-width: 768px) {
  .learn-more-btn {
    bottom: 60px;
    left: 20px;
    padding: 8px 16px;
    font-size: 14px;
  }
}


