/* Universal Reset */
body {
  margin: 0;
  font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
}
html {
  scroll-behavior: smooth;
}

/* Loader */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff6ef;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  transition: opacity 0.5s ease;
}
.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #e0d6cf;
  border-top: 6px solid #4B2743;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Top Bar */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
header {
  background-color: #fff6ef;
  font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
}
.logo-title {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.logo-img {
  width: 100px;
  height: auto;
}
.logo-title h1 {
  font-weight: 400;
  font-size: 1.8rem;
  margin: 0;
  color: #222;
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 1rem 2rem;
  background-color: #fff6ef;
  border-top: 1px solid #e0d6cf;
  border-bottom: 1px solid #e0d6cf;
  font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
}
.nav-left ul {
  display: flex;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.friends{
  color:rgb(0, 4, 255)
}

.nav-left a,
.nav-right a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}
.nav-right {
  display: flex;
  gap: 1rem;
}
.nav-right a {
  font-size: 0.9rem;
  white-space: nowrap;
  color: #555;
}
nav a {
  position: relative;
}
nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background-color: #4B2743;
  transition: width 0.3s ease;
}
nav a:hover::after,
nav a.active::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1rem 2rem;
  position: absolute;
  right: 1rem;
  top: 1rem;
  z-index: 1001;
}

/* About Section */
.about {
  background-color: #fff6ef;
  padding: 4rem 2rem;
  border-top: 1px solid #e0d6cf;
  border-bottom: 1px solid #e0d6cf;
  font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
}
.first-page {
  max-width: 900px;
  margin: 0 auto;
}
.title h2 {
  font-size: 2.2rem;
  font-weight: 400;
  color: #4B2743;
  margin-bottom: 1.5rem;
  text-align: center;
}
.pelements p {
  font-size: 1.2rem;
  font-weight: 300;
  color: #333;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.list {
  background-color: #4B2743;
  padding: 2rem;
  width: 835px;
}
.list h3 {
  font-size: 1.6rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 1rem;
}
.list ul {
  list-style: disc;
  padding-left: 1.5rem;
}
.list li {
  font-size: 1.1rem;
  font-weight: 300;
  color: #fff;
  margin-bottom: 0.8rem;
}



/* Responsive Contact Section */
@media (max-width: 900px) {
  .contact-grid {
    flex-direction: column;
    align-items: center;
  }

  .contact-info {
    width: 90%;
  }

  .map-embed iframe {
    width: 100%;
    height: 250px;
  }
}
@media (max-width: 900px) {
  .hamburger {
    display: block;
  }

  nav {
    display: none;
    flex-direction: column;
    width: 100%;
  }

  nav.active {
    display: flex;
  }

  .nav-left ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .nav-right {
    display: none;
  }

  .logo-title {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    padding: 1rem 0;
  }

  .logo-img {
    width: 80px;
  }

  .events-grid {
    flex-direction: column;
    align-items: center;
  }

  .event-card {
    width: 90%;
  }

  .notice-board {
    width: 100%;
    margin: 0 auto 2rem auto;
  }

  footer {
    padding: 1.5rem 1rem;
  }

  .social-media a {
    display: inline-block;
    margin: 0.3rem;
  }
  .list{
    width: 90%;
    padding: 1rem;
  }
}


/* Footer */
/* Footer */
footer {
  background-color: #4B2743;
  color: #fff;
  padding: 2rem;
  text-align: center;
}

footer p {
  font-size: 0.9rem;
  font-weight: 300;
  margin-bottom: 1rem;
}

.social-media {
  margin-bottom: 1rem;
}

.social-media a {
  color: #fff;
  margin: 0 0.5rem;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s ease;
}

.social-media a:hover {
  color: #e0d6cf;
}

.footer-logos {
  margin-top: 2rem;
  text-align: center;
}

.parent-org {
  font-size: 0.95rem;
  font-weight: 300;
  color: #fff;
  margin-bottom: 1rem;
}

.developer-details {
  font-size: 0.9rem;
  color: #fff;
  margin-top: 1rem;
}

.developer-details a {
  color: #fff;
  text-decoration: none;
  font-weight: 400;
}

.developer-details a:hover {
  text-decoration: underline;
}

.developer-name:hover {
  color: beige;
  cursor: pointer;
  transition: color 0.3s ease;
}

.shoutout {
  background-color: #fff6ef;
  padding: 4rem 2rem;
  text-align: center;
  font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
}

.shoutout h2 {
  font-size: 2.2rem;
  font-weight: 400;
  color: #4B2743;
  margin-bottom: 1rem;
}

.shoutout p {
  font-size: 1.2rem;
  font-weight: 300;
  color: #333;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.shoutout ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
  text-align: left;
}

.shoutout li {
  font-size: 1.1rem;
  font-weight: 400;
  color: #4B2743;
}

@media (max-width: 768px) {
  .shoutout ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about{
    margin-top: -50px;
  }
}

@media (max-width: 480px) {
  .shoutout ul {
    grid-template-columns: 1fr;
  }
}

.shoutout .names {
  background-color: #4B2743;
  padding: 2rem;
  max-width: 835px; /* Matches .list width */
  margin: 0 auto;
}

.shoutout .names ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 0;
}

.shoutout .names li {
  font-size: 1.1rem;
  font-weight: 300;
  color: #ffffff;
  margin-bottom: 0.8rem;
}