* {
  font-family: Google Sans, sans-serif, Arial;
  transition: 1.5ms ease;
}

body {
  background: #F3F2F2;
  margin: 0;
  padding: 0;
  cursor: none;
}

html, body {
  width: 100%;
  height: 100%;
}

/* Custom cursor styling */
.custom-cursor {
  width: 15px;
  height: 15px;
  background-color: rgba(0, 150, 255, 0.8); /* Light blue color */
  border-radius: 50%;
  position: absolute;
  pointer-events: none; /* Prevents interfering with clicks */
  transition: transform 0.1s ease; /* Smooth follow effect */
  transform: translate(-50%, -50%); /* Center the circle on the cursor */
  z-index: 9999; /* Brings cursor in front of all other content */
}

/* Base state for hidden sections */
.section {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* State when the section is in view */
.section.visible {
  opacity: 1;
  transform: translateX(0);
}


/* Navbar Styles */
nav {
  color: black;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 1rem .1rem;
  z-index: 1000;
  border: solid 1px black;
}

/* Logo */
nav .logo img {
  height: 80px;
  border: 1px solid black;
  border-radius: 10px;
}

/* Menu Styles */
nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav ul li {
  padding: 0.5rem 1rem;
}

nav ul li a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  border-bottom: 2px solid transparent;
  transition: color .5s ease, border-color .5s ease;
}

nav ul li a:hover {
  color: blue;
  border-color: black;
}



/* Hamburger Menu */
.menu-icon {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

#menu-toggle {
  display: none;
}

#menu-toggle:checked ~ .menu {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  width: 100%;
  padding: 1rem 0;
  gap: 1rem;
  align-items: center;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
  nav ul {
      display: none;
  }

  nav .logo img {
      height: 60px;
  }    

  .menu-icon {
      display: block;
  }
}

#header-img {
  width: 100%;
  margin-top: 5.9rem;
}

#intro-text {
  text-align: center;
}

/* Past Events CSS */
#wrapper-content1 {
  background-image: url("assets/bg1.png");
  background-size: cover;
  padding: 20px;
}

#pastEvent-intro {
  font-size: 30px;
  margin: 0 auto;
  text-align: center;
}

#pastEvents-content {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
}

.pastEvents-card {
  max-width: 300px;
  text-align: center;
}

.pastEvent-img {
  width: 100%;
  border: 1px solid black;
}

.pastEvent-title, .pastEvent-date {
  text-align: center;
}

/* GDSC Info CSS */
#wrapper-content2 {
  background-image: url("assets/bg2.png");
  background-size: cover;
  padding: 20px;
}

#gdsc-info {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.info-wrapper {
  max-width: 500px;
  text-align: center;
}

.info-title {
  font-size: 32px;
  text-align: left;
}

.info-description {
  font-size: 18px;
  text-align: left;
}

#gdsc-moving-logo {
  width: 80%;
  max-width: 300px;
}

/* Vision Mission CSS */
#wrapper-content3 {
  background-image: url("assets/bg3.png");
  background-size: cover;
  padding: 20px;
}

#vision-mission-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  text-align: center;
}

.vision-mission-content {
  max-width: 500px;
}

.vm-title {
  background: rgb(68, 205, 255);
  border: 1px solid black;
  border-radius: 10px;
  padding: 10px 20px;
  margin: 20px 0;
  font-size: 24px;
}

.vm-description {
  padding: 10px 20px;
  font-size: 18px;
}

/* Footer CSS */
footer {
  background-color: #f0f0f0;
  color: black;
  padding: 20px;
  text-align: center;
}

.footer-section {
  margin-bottom: 15px;
}

.footer-section h2 {
  font-size: 1.2em;
  margin-bottom: 10px;
}

.footer-section ul {
  list-style-type: none;
  padding: 0;
}

.footer-section ul li {
  display: inline;
  margin: 0 10px;
}

.footer-section a {
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: rgb(165, 183, 0);
  text-decoration: underline;
}

.footer-section p {
  margin: 5px 0;
  font-size: 0.9em;
}

#haribot {
  position: fixed;
  bottom: 20px;         /* Distance from the bottom of the viewport */
  right: 20px;          /* Distance from the right of the viewport */
  width: 60px;          /* Adjust to control the size of the haribot */
  height: auto;         /* Keeps the image's aspect ratio */
  z-index: 1000;        /* Ensures it stays on top of other elements */
  cursor: pointer;      /* Makes it clickable, if needed */
  transition: 0.3s ease;
}

#haribot:hover {
  transform: scale(1.2);
}



/* Responsive Design */
@media (max-width: 768px) {

  #intro-text {
      font-size: 24px;
  }

  #pastEvent-intro {
      font-size: 24px;
  }

  .info-title, .vm-title {
      font-size: 28px;
  }

  .info-description, .vm-description {
      font-size: 16px;
  }

  #gdsc-moving-logo {
      width: 100%;
  }

  .footer-section h2 {
      font-size: 1em;
  }
}

@media (max-width: 480px) {
  #header-img {
    margin-top: 100px;
  }

  #wrapper-content2 {
    background: none;
  }

  #wrapper-content3 {
    background: none;
  }

  #intro-text, #pastEvent-intro, .info-title, .vm-title {
      font-size: 22px;
  }

  .info-description, .vm-description {
      font-size: 14px;
  }

  #pastEvents-content {
      flex-direction: column;
  }

  #gdsc-moving-logo {
      width: 80%;
  }

  .footer-section h2, .footer-section p {
      font-size: 0.8em;
  }
}
