* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

.navbar {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 15px 0;
  display: flex;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 1000;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  position: relative;
  display:inline-block;
  transition:0.3s ease;
}

.nav-links a:hover {
  transform: scale(1.1);
}

.dropdown{
    position: relative;
    display: inline-block;
}

.dropdown-content{
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    min-width: 160px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    overflow: hidden;
    z-index: 20;
}

.dropdown-content a{
    color: white;
    padding: 12px 16px;
    display: block;
    text-decoration: none;
    transition: 0.3s;
}

.dropdown-content a:hover{
    background: rgba(255,255,255,0.12);
}

.dropdown:hover .dropdown-content{
    display: block;
}

.MMUNC {
  padding: 10px 20px;
  border-radius: 12px;
  background: white;
  color: #003262 !important;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s;
}

.MMUNC:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}


.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px 20px; 
  background:
  linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.7)),
    url('ecf8ca6b-6adf-4f22-b09c-c2c81a63be85.JPG');
  background-size: cover;
  background-position: center 10%;
  text-align: center;
  position:relative;
}

.hero h1 {
  font-size: 80px;
  color: white;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
  margin-bottom: 30px;
}

.hero p{
  font-size:20px;
  color:white;
  padding:30px
}

.hero button{
  margin-top: 15px;
  padding: 12px 25px;
  border: none;
  border-radius: 12px;
  background: white;
  cursor: pointer;
  transition: 0.3s ease;
}

.hero button a{
  text-decoration: none;
  color: #003262;
  font-weight: bold;
}

.hero button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.about {
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.9),
    rgba(255,255,255,1)
  );
  backdrop-filter: blur(10px);
  margin: -60px auto 0 auto;
  max-width: 95%;
  border-radius: 40px;
  padding: 60px 20px;
  position: relative;
  z-index: 2;
}

.about-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 40px;
  color: black;
  margin-bottom: 15px;
  padding:20px;
}

.about-text p {
  color:black;
  margin-bottom: 15px;
  line-height: 1.6;
}

.about-image {
  flex: 1;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  height:350px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}


.join {
  background: #003262;
  margin: 40px 20px;
  border-radius: 30px;
  padding: 60px 30px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  color: white;
}

.join-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.join-text {
  flex: 1;
}

.join-text h2 {
  font-size: 40px;
  margin-bottom: 15px;
}

.join-text p {
  margin-bottom: 12px;
  line-height: 1.6;
  color: #f2f4ff;
}

.join-image {
  flex: 1;
  text-align: center;
}

.join-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.button{
  margin-top: 15px;
  padding: 12px 25px;
  border: none;
  border-radius: 12px;
  background: white;
  cursor: pointer;
  transition: 0.3s ease;
}

.button a{
  text-decoration: none;
  color: #003262;
  font-weight: bold;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}


footer {
  text-align: center;
  padding: 30px;
  color: white;
  background-color:#003262;
}

.icons {
  margin-top: 10px;
}

.icons a {
  color: white;
  font-size: 30px;
  margin: 0 10px;
  transition: 0.3s;
}

.icons a:hover {
  color: white;
}

/* ===== RESPONSIVE: style.css ===== */
@media (max-width: 768px) {
  /* Navbar */
  .nav-links {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 10px;
  }

  /* Hero */
  .hero h1 {
    font-size: 36px;
    margin:5px;
  }

  .hero p {
    font-size: 16px;
  }

  /* About section */
  .about-container {
    flex-direction: column;
  }

  .about-text h2 {
    font-size: 28px;
  }

  .about-image img {
    height: auto;
    width: 100%;
  }

  .hero {
    width: 100%;
  }

  /* Join section */
  .join-container {
    flex-direction: column;
  }

  .join-text h2 {
    font-size: 28px;
  }

  .about {
  margin-top: 20px;  /* removes the negative margin on small screens */
}
}