/* General Reset */
* {
    font-family: Google Sans, sans-serif, Arial;
    box-sizing: border-box;
}

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 */
  }

/* Initial hidden state for the sections */
.section {
    opacity: 0; /* Initially hidden */
    transform: translateX(-50px); /* Slide from left */
    transition: opacity 0.6s ease, transform 0.6s ease; /* Animation effect */
}

/* Visible state to apply slide animation */
.section.visible {
    opacity: 1; /* Fully visible */
    transform: translateX(0); /* Reset slide position */
}



/* 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%;
  }
  
  #intro-text {
    text-align: center;
  }

/* Responsive Header */
header {
    text-align: center;
    margin-top: 5rem;
}

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

/* Wrapper Content and GDSC Info */
#wrapper-content1 {
    background-image: url("../assets/bg2.png");
    background-size: cover;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#gdsc-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    text-align: center;
}

.info-wrapper {
    margin: 0;
}

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

.info-description {
    font-size: 16px;
    margin-top: 10px;
    padding: 0 100px;
}

#gdsc-founders {
    width: 70%;
    margin-top: 20px;
    max-width: 400px;
}

/* Carousel Section */
#execs-section {
    background: url("../assets/bg3.png");
    background-size: cover;
    padding: 50px 20px;
}

#execs-title {
    text-align: center;
    font-size: 24px;
}

.carousel {
    position: relative;
    width: 90%;
    max-width: 700px;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.carousel-track {
    display: flex;
    gap: 10px;
    transition: transform 0.5s ease;
    padding: 0 5px;
}

/* Set each image width to show 3 images in the visible area */
.carousel img {
    width: calc(33.33% - 10px); /* Adjusts to show 3 images with gaps */
    flex-shrink: 0;
    border-radius: 5px;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 8px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 50%;
    z-index: 10;
}

.carousel-button.left {
    left: 5px;
}

.carousel-button.right {
    right: 5px;
}

.carousel-button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

/* Footer Section */
footer {
    background-color: #f0f0f0;
    color: black;
    padding: 20px;
    text-align: center;
    font-family: Arial, sans-serif;
}

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

.footer-section h2 {
    font-size: 1em;
    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);
}


/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .carousel img {
        width: calc(100% - 10px); /* Show one image per view on smaller screens */
    }

    header {
        margin-top: 5rem;
    }

    .info-title {
        font-size: 24px;
    }

    .info-description {
        font-size: 14px;
        padding: 0 0;
    }

    #gdsc-founders {
        width: 80%;
    }

    .carousel img {
        width: calc(100% - 5px);
    }
}

@media (max-width: 480px) {
    #header-img {
        margin-top: 0px;
      }
    
      #wrapper-content1 {
        background: none;
      }
    
      #execs-section {
        background: none;
      }

    .info-title {
        font-size: 20px;
    }

    .info-description {
        font-size: 13px;
        padding: 0 0;
    }

    #execs-title {
        font-size: 20px;
    }

    .carousel img {
        width: calc(100% - 5px);
    }
}
