* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --footer-height: 20%;
}

.inter-regular {
  font-family: "Inter", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.inter-bold {
  font-family: "Inter", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

.inter-italic {
  font-family: "Inter", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: italic;
}

.inter-bold-italic {
  font-family: "Inter", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

body {
  color: #ffffffca;
  background: #000;
  position: relative;
  overflow-x: hidden;
  overflow-y: scroll;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/bg-grid.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.3;
  z-index: -1;
}

/* Blob and Blur Effects */
#blob {
  background-color: #f0f0e4;
  height: 24vmax;
  aspect-ratio: 1;
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  border-radius: 50%;
  background: linear-gradient(to right, #0015ff, #ff8000);
  filter: blur(8vmax);
  animation: rotate 20s infinite;
  opacity: 0.8;
  z-index: 0;
}

/* #blur {
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 1; 
    backdrop-filter: blur(12vmax);
} */

.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  justify-content: space-between;
  position: relative; /* To ensure content is layered properly */
  z-index: 2; /* Main content stays above the blob and blur */
}

.header {
  padding: 2rem 3rem;
  display: flex;
  position: sticky;
  top: 0;
  background: #0c0f2931;
  backdrop-filter: blur(10px);
  justify-content: space-between;
  align-items: center;
  z-index: 20; /* Navbar stays above everything */
}

.toggle-button {
  background-color: transparent;
  border: none;
  color: #ff8000;
  cursor: pointer;
}

.toggle-button:hover {
  color: #ff8000;
}

.corner-logo {
  width: 120px;
  height: auto;
}

/* Menu */
.menu-button {
  position: relative;
  z-index: 20;
  width: 30px;
  cursor: pointer;
}

.menu-button > span {
  display: block;
  width: 30px;
  height: 4px;
  margin: 6px 0;
  background-color: #fff;
  transition: 0.4s;
  position: relative;
  z-index: 21;
}

.menu-open .menu-button span:nth-child(1) {
  transform: rotate(45deg) translate(9px, 9px);
  z-index: 21;
}

.menu-open .menu-button span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-button span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  z-index: 21;
}

.menu-overlay {
  position: fixed;
  top: 0;
  right: -500px;
  width: 500px;
  height: 100%;
  background: #0000008c;
  backdrop-filter: blur(30px);
  transition: right 0.5s ease-in-out;
  z-index: 10;
}

.menu-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  height: 100%;
  transition: all 0.3s ease-in-out;
}

.menu-content > a {
  color: #f0f0e4;
  text-decoration: none;
  flex-grow: 1;
  text-align: left;
  transition: all 0.3s ease-in-out;
}

.menu-open .menu-overlay {
  right: 0;
  z-index: 10;
}

.nav-menu {
  display: flex;
  flex-direction: column;
  margin: auto;
  padding: clamp(0rem, 12vw, 8rem);
}

.link-menu {
  color: #ffffff82;
  font-family: "Inter", serif;
  font-weight: 700;
  font-style: normal;
  font-size: clamp(2rem, 4vw, 8rem);
  text-decoration: none;
  position: relative;
}

.link-menu:hover {
  font-style: italic;
  color: #ff8000;
}

.span-menu {
  display: block;
  /* border-bottom: 1px solid transparent;
  border-top: 1px solid transparent; */
  position: relative;
  z-index: 2;
  padding: 5px;
}

/* .link-menu:hover > .span-menu {
  border-top-color: #f0f0e4;
  border-bottom-color: #f0f0e4;
} */

/* Heading Section */
.hero-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 50px;
  text-align: center;
  position: relative;
  z-index: 3; /* Content stays above the effects */
}

.event-title {
  font-size: 30px;
  color: #ffff;
}

.timeline {
  margin: 20px auto;
  max-width: 800px;
}

.days {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.day-btn {
  background-color: #2d2d2d;
  color: #fff;
  border: none;
  width: 12rem;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
}

.day-btn.active {
  background-color: #ff8000;
  color: #fff;
}

.event-card {
  background-color: #292828;
  padding: 20px;
  border-radius: 8px;
  margin: 10px;
  width: 25rem;
  text-align: left;
  box-shadow: 0 4px 8px #ffffff1a;
}

.event-card:hover {
  background-color: #ff800039;
}

.event-date {
  margin-bottom: 10px;
  font-size: 14px;
  color: #ccc;
}

.event-heading {
  margin-bottom: 10px;
  font-size: 24px;
  color: #fff;
  
}

.event-desc {
  font-size: 14px;
  color: #ccc;
}

.register-link {
  color: #ff8000;
  font-weight: bold;
  text-decoration: none;
}

/* Footer */

.footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 2rem;
  background: #ffffff1a;
  backdrop-filter: blur(10px);
  border-radius: 50px 50px 0 0;
  border: 1px solid #ffffff33;
  box-shadow: 0 4px 10px #0000004d;
  color: #f0f0e4;
  z-index: 3;
}

/* Left Column */
.footer-left {
  display: flex;
  flex-direction: column;
  width: 45%;
  margin-left: 2rem;
}

.footer-left h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: white;
}

.social-icons {
  display: flex;
  gap: 20px;
  margin-bottom: 2rem;
  margin-left: 0rem;
}

.social-icons a .fab {
  font-size: 24px;
  transition: transform 0.3s;
  color: #fff;
}

.social-icons a .fas {
  font-size: 24px;
  transition: transform 0.3s;
  color: #fff;
}

.social-icons a:hover .fab {
  transform: scale(1.1);
  color: #ff8000;
}

.social-icons a:hover .fas {
  transform: scale(1.1);
  color: #ff8000;
}

.contact-list {
  list-style-type: none;
  padding: 0;
}

.contact-list li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Right Column */
.footer-right {
  width: 45%;
}

.footer-right h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: white;
}

.footer-right p {
  line-height: 1.5;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-right p a {
  color: #ff8000;
  text-decoration: none;
  font-weight: bold;
}

.footer-right p a:hover {
  text-decoration: underline;
}

.footer-map {
  padding: 10px;
}

/* Media Queries */

/* Full-Screen Menu for Mobile */
@media (max-width: 1023px) {
  .menu-overlay {
    right: -100%;
    width: 100%;
  }

  .menu-open .menu-overlay {
    right: 0;
  }

  .menu-content {
    text-align: center;
  }
}

@media only screen and (max-width: 768px) {
  #blob {
    display: none;
  }

  .footer {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
    margin-left: 0;
  }

  .footer-left,
  .footer-right {
    width: 100%;
    margin-bottom: 1.5rem;
    margin-left: 0;
  }

  .social-icons {
    justify-content: center;
    margin-left: 0;
  }
}

@media only screen and (max-width: 900px) {
  .footer {
    padding: 1rem; /* Adjust padding as needed */
  }

  .corner-logo {
    max-width: 15vw; /* Adjust for smaller screens */
    top: 10px;
    left: 10px;
  }
}

@media only screen and (max-width: 480px) {
  .footer {
    padding: 0.8rem; /* Adjust padding for smaller screens */
  }

  .corner-logo {
    max-width: 20vw; /* Adjust for smaller screens */
  }
}

@media only screen and (max-width: 768px) {
  .footer {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
    margin-left: 0;
  }

  .footer-left,
  .footer-right {
    width: 100%;
    margin-bottom: 1.5rem;
    margin-left: 0;
  }

  .social-icons {
    justify-content: center;
    margin-left: 0;
  }
}
