:root {
  --navbar-height: 86px;
  --color-primary: #f8e27f;
  --color-dark: #1a0d00;
  --color-bg: radial-gradient(circle at top left, #120800 0%, #3b1e00 50%, #a67c52 100%);
  --font-main: "Poppins", sans-serif;
  --transition-fast: all 0.3s ease;
  --transition-medium: all 0.5s ease;
  --shadow-glow: 0 0 18px rgba(248, 226, 127, 0.5);
}

* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
  font-family: var(--font-main); 
}

html { 
  scroll-behavior: smooth; 
}

body {
  background: var(--color-bg); 
  color: #fff; 
  min-height: 100vh;
  display: flex; 
  flex-direction: column; 
  overflow-x: hidden;
  
  user-select: none;
  -webkit-user-select: none; 
  -moz-user-select: none; 
  -ms-user-select: none; 
}

.page-wrapper { 
  padding-top: var(--navbar-height); 
  width: 100%; 
}

#main-nav {
  position: fixed; 
  top: 0; 
  left: 0; 
  width: 100%; 
  z-index: 1000;
  height: var(--navbar-height); 
  background: rgba(15, 10, 5, 0.85);
  backdrop-filter: blur(12px); 
  border-bottom: 1px solid rgba(248, 226, 127, 0.2);
  transition: transform 0.4s ease, background 0.4s ease;
}

#main-nav.hide { 
  transform: translateY(-100%); 
}

.nav-inner {
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  max-width: 1400px; 
  height: 100%; 
  margin: 0 auto; 
  padding: 0 2rem;
}

.logo { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
  color: var(--color-primary); 
  font-weight: 700; 
  text-transform: uppercase; 
  text-decoration: none; 
  font-size: 1.2rem; 
}

.logo img { 
  width: 52px; 
  height: 52px; 
  border-radius: 50%; 
  border: 2px solid var(--color-primary); 
  box-shadow: var(--shadow-glow); 
  transition: transform 0.4s ease; 
}

.logo:hover img { 
  transform: rotate(10deg) scale(1.05); 
}

.navbar-nav { 
  display: flex; 
  align-items: center; 
  gap: 1.5rem; 
  list-style: none; 
}

.nav-link { 
  color: var(--color-primary); 
  text-decoration: none; 
  font-weight: 500; 
  font-size: 1rem; 
  padding: 8px 18px; 
  border-radius: 8px; 
  border: 1.5px solid transparent; 
  transition: var(--transition-fast); 
}

.nav-link:hover { 
  background: rgba(248, 226, 127, 0.1); 
  border-color: var(--color-primary); 
  transform: translateY(-2px); 
}

.special-button { 
  background: linear-gradient(90deg, #fff8b0, #f8e27f, #fff3a1); 
  color: var(--color-dark); 
  font-weight: 800; 
  font-size: 1.05rem; 
  padding: 12px 30px; 
  border-radius: 12px; 
  box-shadow: 0 0 25px rgba(248, 226, 127, 0.7); 
  transition: transform 0.3s ease, box-shadow 0.3s ease; 
  animation: pulse 2.5s infinite ease-in-out; 
  text-transform: uppercase; 
  text-decoration: none; 
}

.special-button:hover { 
  transform: scale(1.08); 
  box-shadow: 0 0 35px rgba(255, 245, 160, 1); 
}

@keyframes pulse { 
  0%, 100% { box-shadow: 0 0 16px rgba(248, 226, 127, 0.6); } 
  50% { box-shadow: 0 0 35px rgba(248, 226, 127, 0.9); } 
}

#menu-toggle { 
  display: none; 
}

.main-content { 
  padding: 40px 2rem; 
}

.cards-section { 
  display: flex; 
  flex-direction: column; 
  gap: 100px; 
  max-width: 1300px; 
  margin: 0 auto; 
}

.large-card { 
  display: flex; 
  flex-wrap: wrap; 
  border-radius: 22px; 
  overflow: hidden; 
  background: rgba(255, 255, 255, 0.06); 
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45); 
  opacity: 0; 
  transform: translateY(40px); 
  transition: opacity 0.6s ease, transform 0.6s ease; 
}

.large-card.reverse { 
  flex-direction: row-reverse; 
}

.large-card.visible { 
  opacity: 1; 
  transform: translateY(0); 
}

.card-image { 
  flex: 1 1 50%; 
  min-height: 400px; 
}

.card-image img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
}

.card-content { 
  flex: 1 1 50%; 
  padding: 50px; 
  background: rgba(43, 21, 0, 0.85); 
  backdrop-filter: blur(6px); 
  display: flex; 
  flex-direction: column; 
  justify-content: center; 
}

.card-title { 
  font-size: 2rem; 
  color: var(--color-primary); 
  margin-bottom: 20px; 
  position: relative; 
}

.card-title::after { 
  content: ""; 
  position: absolute; 
  left: 0; 
  bottom: -8px; 
  width: 70px; 
  height: 3px; 
  background: var(--color-primary); 
  border-radius: 3px; 
}

.card-text { 
  font-size: 1.05rem; 
  line-height: 1.7; 
  color: #fff8e1; 
  margin-bottom: 20px; 
}

.card-button { 
  align-self: flex-start; 
  padding: 16px 42px; 
  background: linear-gradient(90deg, #f8e27f, #fff3a1); 
  color: var(--color-dark); 
  border-radius: 10px; 
  font-weight: 700; 
  font-size: 1.1rem; 
  text-decoration: none; 
  border: none; 
  box-shadow: 0 0 20px rgba(248, 226, 127, 0.5); 
  transition: var(--transition-fast); 
  cursor: pointer; 
}

.card-button:hover { 
  transform: scale(1.08) translateY(-2px); 
  box-shadow: 0 0 35px rgba(248, 226, 127, 0.7); 
}

.card-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-dark);
  color: var(--color-primary);
  padding: 2rem;
  overflow: hidden;
}

.card-icon-wrapper i {
  font-size: clamp(6rem, 20vw, 10rem);
  opacity: 0.7;
  text-shadow: 0 0 15px rgba(248, 226, 127, 0.4), 0 0 30px rgba(248, 226, 127, 0.3);
  animation: icon-glow 4s infinite alternate ease-in-out;
}

@keyframes icon-glow {
  from { opacity: 0.6; transform: scale(1); }
  to { opacity: 0.8; transform: scale(1.05); }
}

.uniform-gallery {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background-color: #2c1500;
  height: 100%;
}

.uniform-gallery img {
  flex: 1;
  min-width: 0;
  object-fit: cover;
  border-radius: 12px;
  height: auto;
}

.protocol-subtitle { 
  color: var(--color-primary); 
  font-size: 1.3rem; 
  margin-top: 1rem; 
}

#particles { 
  position: fixed; 
  inset: 0; 
  z-index: -1; 
  overflow: hidden; 
}

.particle { 
  position: absolute; 
  border-radius: 50%; 
  background: rgba(248, 226, 127, 0.2); 
  animation: float 18s ease-in-out infinite alternate; 
}

@keyframes float { 
  0% { transform: translate(0, 0); } 
  100% { transform: translate(calc(var(--x, 0) * 1px), calc(var(--y, 0) * 1px)); } 
}

footer { 
  background: #1a0d00; 
  padding: 50px 20px 30px; 
  text-align: center; 
  border-top: 2px solid var(--color-primary); 
  margin-top: auto; 
}

.footer-cards { 
  display: flex; 
  justify-content: center; 
  flex-wrap: wrap; 
  gap: 30px; 
  margin-bottom: 30px; 
}

.social-card { 
  width: 150px; 
  height: 150px; 
  border-radius: 16px; 
  display: flex; 
  flex-direction: column; 
  justify-content: center; 
  align-items: center; 
  color: #fff; 
  font-weight: 600; 
  text-decoration: none; 
  transition: var(--transition-fast); 
  opacity: 0; 
  transform: translateY(30px); 
}

.social-card.visible { 
  opacity: 1; 
  transform: translateY(0); 
}

.social-card i { 
  font-size: 3rem; 
  margin-bottom: 10px; 
}

.facebook { background: #1877f2; }
.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.campus { background: var(--color-primary); color: var(--color-dark); }

.social-card:hover { 
  transform: translateY(-8px) scale(1.03); 
  filter: brightness(1.15); 
  box-shadow: 0 8px 20px rgba(0,0,0,0.3); 
}

.copyright { 
  font-size: 0.95rem; 
  color: #f8e27f; 
}

@media (max-width: 991px) {
  #menu-toggle { 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
    width: 28px; 
    height: 20px; 
    cursor: pointer; 
    z-index: 1001; 
  }
  
  #menu-toggle span { 
    height: 3px; 
    width: 100%; 
    background: var(--color-primary); 
    border-radius: 3px; 
    transition: var(--transition-medium); 
  }
  
  #menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  #menu-toggle.open span:nth-child(2) { opacity: 0; }
  #menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  
  .navbar-nav { 
    position: fixed; 
    top: 0; 
    right: -100%; 
    width: 100%; 
    height: 100vh; 
    flex-direction: column; 
    background: rgba(26, 13, 0, 0.98); 
    backdrop-filter: blur(8px); 
    justify-content: center; 
    align-items: center; 
    gap: 40px; 
    transition: right 0.4s ease; 
  }
  
  .navbar-nav.active { 
    right: 0; 
  }
  
  .nav-link, .special-button { 
    width: 80%; 
    text-align: center; 
    font-size: 1.2rem; 
    padding: 15px 20px; 
  }
  
  .large-card, .large-card.reverse { 
    flex-direction: column; 
  }
  
  .uniform-gallery { 
    flex-direction: column; 
  }
}

@media (max-width: 600px) {
  :root { 
    --navbar-height: 70px; 
  }
  
  .nav-inner { 
    padding: 0 1rem; 
  }
  
  .logo img { 
    width: 44px; 
    height: 44px; 
  }
  
  .card-content { 
    padding: 30px; 
  }
  
  .card-title { 
    font-size: 1.6rem; 
  }
  
  .card-button { 
    align-self: center; 
    width: 100%; 
    text-align: center; 
  }
}