* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

}

body {
  font-family: 'Montserrat';

}

/* Hero Section */
.hero-section {
  height: 90vh;
  position: relative;
  overflow: hidden;
}

.hero-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
  filter: blur(1.0px);
 
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.overlay {
  width: 100%;
  height: 100%;
  /* background-color: rgba(0, 0, 0, 0.4); */
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 200px 60px 0 0;
  position: relative;
  z-index: 3;
}

.hero-content {
  color: white;
  max-width: 500px;
  text-align: right;
  z-index: 4;
}

.hero-content h1 {
  font-size: 50px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: right;
}

.hero-content p {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 30px;
}
.hero-slide {
  background-size: cover; /* normal slides zoom to fill */
  background-position: center;
  background-repeat: no-repeat;
}

/* For second slide only - no zoom */
.hero-slide.second {
  background-size: contain; /* show full image */
  background-position: center;
  background-repeat: no-repeat;
}

.register-btn {
  background-color: #f9c51c;
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
  padding: 15px 30px;
  border-radius: 30px;
  display: inline-block;
}

.nav-links a:hover {
  color: #fff;
  background-color: #000000;
  border-radius: 5px;

}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #fffbe6;
  color: rgb(0, 0, 0);
  position: relative;
  flex-wrap: wrap;

}

.logo img {
  height: 50px;
  margin-left: 0px;
}


.nav-links button {
  background: none;
  border: none;
  color: rgb(0, 0, 0);
  font-size: 1rem;
  cursor: pointer;
  padding: 10px 15px;
}

.nav-links button:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
}

.lang-toggle {
  background: none;
  border: none;
  font-size: 15px;
  color: #000066;
  cursor: pointer;
  padding: 10px 15px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .nav-links.show {
        display: flex
;
    }
}

/* Login Popup */
.overlay1 {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 100;
}

.login-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #4c4b4b;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  z-index: 101;
  max-width: 90%;
  width: 300px;
}

.login-popup h2 {
  margin-bottom: 15px;
  color: #003366;
}

.login-popup input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.login-popup button[type="submit"] {
  width: 100%;
  background-color: #003366;
  color: rgb(0, 0, 0);
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #003366;
}

.register-text {
  font-size: 0.9rem;
  margin-top: 10px;
  text-align: center;
}

.register-text a {
  color: #003366;
  text-decoration: none;
  font-weight: bold;
}

/* Mobile styles */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #f1b900;
    position: absolute;
    top: 60px;
    left: 0;
    z-index: 99;
  }

  .nav-links.show {
    display: flex;
  }

  .hamburger {
    display: block;
    color: #000000;
  }

  .lang-toggle {
    order: 1;
    width: 100%;
    text-align: center;
    padding: 10px;
  }
}

.logo:hover {
  transform: scale(1.1);

}

/* General Navbar Styles */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #fff8dc;
  /* your navbar background */
  flex-wrap: wrap;
}

.header img {
  height: 60px;
}


/* Language switch */
.language-switch {
  font-size: 14px;
  color: #003366;
  cursor: pointer;
}

/* Hamburger Menu */
.menu-icon {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

/* Responsive Navbar */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
  }

  .header img {
    height: 45px;
    margin-bottom: 10px;
  }

  .language-switch {
    font-size: 13px;
    text-align: center;
    width: 100%;
    padding-top: 8px;
    padding-bottom: 10px;
  }

  .menu-icon {
    display: block;
    position: absolute;
    top: 15px;
    right: 20px;
  }

  .nav-links {
    display: none;
    /* Hide by default, show on menu open */
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
    gap: 10px;
  }

  .nav-links.active {
    display: flex;
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: auto;
    min-height: 500px;
  }

  .overlay {
        padding: 225px 7px 40px 20px;
        justify-content: right;
        text-align: left;
    }

  .hero-content {
    max-width: 90%;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 32px;
    text-align: center;
  }

  .hero-content p {
    font-size: 16px;
    line-height: 1.4;
  }

  .register-btn {
    font-size: 16px;
    padding: 12px 25px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 26px;
  }

  .hero-content p {
    font-size: 14px;
  }

  .register-btn {
    font-size: 14px;
    padding: 10px 20px;
  }
}

/* Mobile: full width inside dropdown */
@media (max-width: 768px) {
  .lang-toggle {
    order: 1;
    width: 100%;
    text-align: center;
    padding: 10px;
  }
}