body {
    font-family: "Fredoka", sans-serif;
    height: 100vh;
    margin: 0;
}

.styled-hr {
  border: none;
  height: 2px;
  background-color: #ddd;
  margin: 40px 0;
  border-radius: 2px;
}


.section-main {
    background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 120%);
}

#particles-js {
  will-change: transform;
  transform: translateZ(0);
}

html {
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: white;
}

::-webkit-scrollbar-thumb {
    background: #c268da;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 20px;
    position: fixed;
    width: 100%;
    background-color: #ffffff;
    transition: background-color 0.5s ease;
    z-index: 1000;
    box-sizing: border-box;
}

.navbar.scrolled a h2 {
    color: white;
}

.head {
    display: flex;
    align-items: center;
}

.head a {
    text-decoration: none;
}

.head img {
    width: 70px;
    margin: 3px 20px;
    border: 1px solid black;
    border-radius: 10%;
}

.head h2 {
    font-size: 22px;
    color: black;
    font-weight: 500;
}

.nexus1 {
    color: #c268da;
    font-size: 50px;
    font-weight: bolder;
}

.navbar ul {
    display: flex;
    list-style: none;
}

.navbar ul li {
    margin: 10px 50px;
}

.nav-link {
    text-decoration: none;
    color: black;
    font-size: 20px;
    padding: 8px 15px;
    transition: 0.3s;
}

.navbar .nav-link:hover {
    text-decoration: underline blue;
    color: blue;
    border-radius: 5px;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 1;
}

.mid {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
}

.mid h2 {
    text-decoration: underline;
    text-decoration-color: white;
    font-size: 50px;
    font-weight: bolder;
}

.events {
    padding: 50px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.events h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 10px;
    color: #333;
}

.event {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* margin-bottom: 400px; */
    flex: 1;
}

.event-image {
    width: 100%;
    max-width: 600px; /* or whatever suits your layout */
    margin: 0 auto;
}

.event-image img {
    width: 100%;
    max-width: 500px; /* Limits size */
    height: auto;     /* Preserves aspect ratio */
    border-radius: 10px;
    border: 5px solid #ddd;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    object-fit: cover; /* or 'contain' depending on use */
}


.event-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.event-text {
    padding-left: 20px;
}

.event-text h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.event-text p {
    font-size: 16px;
    line-height: 1.5;
    color: #555;
}

.event-head {
    text-decoration: underline;
}

.staff {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    position: relative;
    z-index: 2;
}

.single-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.card,
.single-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 200px;
}

.card img,
.single-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.staff-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.staff h2 {
    margin-bottom: 40px;
    font-size: 2em;
}

.staff-cards {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 20px;
}

.card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    width: 250px;
    margin: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card img {
    /* width: 80%; */
    border-radius: 50%;
    margin-bottom: 10px;
}

.card h3 {
    font-size: 20px;
    margin: 10px 0;
    color: #333;
}

.card p {
    font-size: 16px;
    color: #6e6a6a;
}

.card:hover,
.single-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.container {
    height: 100px;
    background-color: #ffffff;
}

#successText {
    color: rgb(47, 233, 5);
}

.contact-map {
    display: flex;
    background-color: white;
    justify-content: space-between;
    padding: 30px;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.contact {
    flex: 1;
    background: white;
    padding: 30px;
    box-shadow: inset 0px 1px 6px 0px #0f0f22;
}

.contact h2 {
    font-size: 25px;
}

.contact form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact input,
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid black;
    border-radius: 10px;
    box-sizing: border-box;
}

.contact button {
    padding: 10px;
    background-color: black;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    border: none;
}

.contact button:hover {
    background-color: #333;
}

.map {
    flex: 1;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: inset 0px 1px 6px 0px #0f0f22;
    padding: 20px;
}

.map h2 {
    font-size: 28px;
    text-align: center;
}

.map iframe {
    width: 100%;
    height: 300px;
    border: 0;
    border-radius: 10px;
}

.fa-location-dot {
    color: red;
}

.footer {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0f0f22;
    color: white;
    position: relative;
    z-index: 2;
}

.footer-left p,
.footer-right a {
    color: white;
    font-size: 18px;
    margin: 0;
}

.footer-center {
    text-align: center;
}

.footer-logo {
    width: 60px;
    height: auto;
}

.footer-right a {
    margin: 0 10px;
    font-size: 24px;
    text-decoration: none;
    transition: color 0.5s ease;
}

.footer-right #linkdinIcon:hover {
    color: #0077B5;
}

.footer-right #githubIcon:hover {
    color: #333;
}

.footer-right #instaIcon:hover {
    color: #d62976;
}