* {
  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;
  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('IMG_2654.JPEG');
  background-size: cover;
  background-position: center 20%;
  position: relative;
}

.hero h1 {
  font-size: 80px;
  color: white;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
  margin-bottom: 30px;
}

.stanford,.bear,.scv,.norcal,.nueva {
  margin: 28px auto;
  max-width: 1140px;
  padding: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.stanford:hover,.bear:hover,.scv:hover,.norcal:hover,.nueva:hover {
  box-shadow: 0 10px 40px rgba(0,0,0,0.13);
  transform: translateY(-2px);
}

.stanford-container,.bear-container,.scv-container,.norcal-container,.nueva-container {
  max-width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.stanford-image, .bear-image, .scv-image, .norcal-image, .nueva-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stanford-image::after, .bear-image::after, .scv-image::after, .norcal-image::after, .nueva-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.8));
  border-radius: inherit; 
}

.stanford-image img, .bear-image img, .scv-image img, .norcal-image img, .nueva-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stanford-text,.bear-text,.scv-text,.norcal-text,.nueva-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 2.2rem;
}

.stanford-text { background: #003262; }
.bear-text     { background: #cccccc; }
.scv-text      { background: #003262; }
.norcal-text   { background: #cccccc; }
.nueva-text    { background: #003262; }


.stanford-image h2,.nueva-image h2,.scv-image h2 {
 position: absolute;
  z-index: 1;          
  bottom: 1.5rem;      
  left: 1.5rem;
  color: white;
  font-size: 24px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.norcal-image h2,.bear-image h2 {
 position: absolute;
  z-index: 1;          
  bottom: 1.5rem;      
  left: 1.5rem;
  color: white;
  font-size: 24px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.stanford-text h3,.nueva-text h3,.scv-text h3 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 1.2rem;
  margin-bottom: 6px;
}

.norcal-text h3,.bear-text h3 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: black;
  margin-top: 1.2rem;
  margin-bottom: 6px;
}

.stanford-text p,.nueva-text p,.scv-text p {
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  margin-bottom: 4px;
  line-height: 1.6;
}

.norcal-text p,.bear-text p {
  font-size: 13px;
  color: #666;
  margin-bottom: 4px;
  line-height: 1.6;
}

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;
}


@media (max-width: 760px) {
  .stanford-container,
  .bear-container,
  .scv-container,
  .norcal-container,
  .nueva-container {
    grid-template-columns: 1fr;
  }

      .nav-links {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 10px;
  }

  .stanford-text,
  .bear-text,
  .scv-text,
  .norcal-text,
  .nueva-text,
  .stanford-image,
  .bear-image,
  .scv-image,
  .norcal-image,
  .nueva-image {
    padding: 1.75rem 1.5rem;
  }

  .stanford-text h2,
  .bear-text h2,
  .scv-text h2,
  .norcal-text h2,
  .nueva-text h2 {
    font-size: 22px;
  }

  .stanford-image img,
  .bear-image img,
  .scv-image img,
  .norcal-image img,
  .nueva-image img {
    height: 220px;
  }

  .hero h1 {
    font-size: 52px;
  }
}

@media (max-width: 480px) {
  .stanford,
  .bear,
  .scv,
  .norcal,
  .nueva {
    margin: 16px 14px;
  }

}