
  
  .section-title {
    text-align: center;
    font-size: 2rem;
    margin: 2rem 0;
    color: white;
  }
  
  /* Toggle Buttons */
  .toggle-buttons {
    text-align: center;
    margin-bottom: 1.5rem;
  }
  
  .toggle-btn {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin: 0 10px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
  }
  
  .toggle-btn.active {
    background-color: #64ffda;
    color: #0a192f;
  }
  
  .toggle-btn:hover {
    background-color: #0056b3;
  }
  
  /* Events Container */
  .events-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem;
  }
  
  /* Event Card */
  .event-card {
    background-color: #112240;
    border-radius: 10px;
    width: 300px;
    overflow: hidden;
    box-shadow: 0px 4px 8px rgba(0, 123, 255, 0.2);
    transition: transform 0.3s;
  }
  
  .event-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }
  
  .event-card .event-content {
    padding: 15px;
  }
  
  .event-card h3 {
    font-size: 1.2rem;
    margin: 0 0 10px;
    color: #64ffda;
  }
  
  .event-card p {
    font-size: 0.9rem;
    line-height: 1.4;
    color: white;
  }
  
  .event-card:hover {
    transform: scale(1.05);
  }
  
  
  /* Gallery Grid */
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding: 2rem;
  }
  
  .gallery-item {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0px 8px 16px rgba(0, 123, 255, 0.3);
  }
  
  /* Load More Button */
  .load-more-btn {
    display: block;
    margin: 1rem auto;
    padding: 10px 20px;
    background-color: #64ffda;
    color: #0a192f;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .load-more-btn:hover {
    background-color: #1fffcb;
  }

  /* Section Separator Styles */
.section-separator {
    height: 4px;
    background-color: #64ffda;
    margin: 20px 0;
    width: 100%;
    border-radius: 2px;
    position: relative;
    z-index: 1;
}

.section-separator::before {
    content: '';
    position: absolute;
    top: -18px;
    left: 0;
    right: 0;
    bottom: -18px;
    background-color: #112240;
    z-index: -1;
}

/* Adjust section paddings */
.about-section,
.chapters-section,
.events-section,
.leaders-section,
.contact-section {
    padding-top: 40px;
    padding-bottom: 40px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section-separator {
        margin: 15px 0;
    }

    .about-section,
    .chapters-section,
    .events-section,
    .leaders-section,
    .contact-section {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

/* Global Styles */
body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
    scroll-behavior: smooth;
    height: 100%;
    width: 100%;
    background-color: #0a192f;
}

/* Navbar */
/* General Styles */
body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* Header and Navbar Styles */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    transition: background-color 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    margin-right: 10px;
}

.tagline {
    color: #fff;
    font-size: 1.2rem;
    text-align: center;
    flex-grow: 1;
    font-style: italic;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
}

/* Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    transition: background-color 0.3s ease;
}

.nav-links li a:hover {
    background-color: #007bff;
    border-radius: 5px;
}

.join-btnx {
    background-color: #007bff;
    padding: 10px 20px;
    border-radius: 5px;
    color: white;
    transition: background-color 0.3s ease;
}

.join-btnx:hover {
    background-color: #0056b3;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: rgba(0, 0, 0, 0.9);
    min-width: 180px;
    border-radius: 5px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: block;
    color: #fff;
    padding: 10px;
    text-decoration: none;
}

.dropdown-content a:hover {
    background-color: #007bff;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: rgba(0, 0, 0, 0.9);
    }

    .nav-links li {
        flex-direction: column;
        width: 100%;
    }

    .nav-links li a {
        padding: 15px;
        width: 100%;
        display: block;
    }

    .nav-links.active {
        display: flex;
    }

    .tagline {
        font-size: 1rem;
    }

    .join-btnx {
        width: 50%;
        text-align: center;
        flex-direction: column;
        margin-right: 30px;
    }
}

/* Footer */
.site-footer {
    background-color: #00265f;
    color: #ffffff;
    padding: 30px 0 20px;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

/* Add continuous background animation */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(100, 255, 218, 0.1), transparent);
    animation: shine 2s infinite;
}

/* Keyframe for smooth background movement */
@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.footer-content {
    position: relative;
    z-index: 1; /* Ensure content is above the animated background */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Societies Section */
.societies {
    flex: 2.5;
    margin-bottom: 20px;
}

.societies h1 {
    margin-bottom: 15px;
    text-align: center;
}

.societies ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-gap: 15px;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

/* Ensure names are displayed in full */
.societies li {
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
}

.societies a {
    color: #64ffda;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 16px;
}

.societies a:hover {
    color: #ffffff;
}

/* Social Media Section */
.social-media {
    flex: 1.5;
    margin-left: 40px;
}

.social-media h1 {
    margin-bottom: 10px; /* Adjusted margin */
    font-size: 26px; /* Reduce font size if necessary */
    white-space: nowrap; /* Ensure no wrapping occurs */
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #ffffff;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #64ffda;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #64ffda;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    display: inline;
}

/* Mobile view adjustments */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        padding: 0 20px;
    }

    .societies {
        margin-bottom: 30px;
    }

    .societies ul {
        grid-template-columns: repeat(2, minmax(220px, 1fr)); /* Two columns in mobile view */
    }

    /* Align "Connect with Us" section under societies */
    .social-media {
        margin-left: 0;
        text-align: left;
    }

    .footer-bottom {
        padding-top: 10px;
    }
}

/* Larger screen adjustments */
@media (min-width: 769px) {
    .footer-content {
        gap: 40px;
    }

    .societies ul {
        grid-template-columns: repeat(3, minmax(250px, 1fr)); /* Three columns on larger screens */
    }
}

@media (min-width: 1024px) {
    .social-media {
        flex: 1.2; /* Adjust flex ratio to balance between societies and social-media sections */
    }
}

/* Custom scrollbar for WebKit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 12px; /* Width of the scrollbar */
}

::-webkit-scrollbar-track {
    background: #0c104e; /* Dark blue background for the track */
}

::-webkit-scrollbar-thumb {
    background-color: #ffffff; /* White color for the scrollbar thumb */
    border-radius: 10px; /* Rounded corners */
    border: 3px solid #0c104e; /* Adds padding around the thumb with dark blue color */
}

/* Scrollbar hover effect */
::-webkit-scrollbar-thumb:hover {
    background-color: #007bff; /* Change color when hovering over the scrollbar */
}

/* Firefox custom scrollbar */
* {
    scrollbar-width: thin; /* Makes the scrollbar thinner */
    scrollbar-color: #ffffff #0c104e; /* Thumb (white), Track (dark blue) */
}

/* Smooth scroll effect for consistent experience */
html {
    scroll-behavior: smooth; /* Enables smooth scrolling when using anchor links */
}

/* Fixed Navbar for Mobile */
@media screen and (max-width: 768px) {
    header {
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 1000;
    }

    .navbar {
        padding: 1rem;
    }

    /* Add padding to body to prevent content behind navbar */
    body {
        padding-top: 80px; /* Adjust this value based on your navbar height */
    }

    /* Ensure sections start below the navbar */
    .about-section,
    .chapters-section,
    .events-section,
    .leaders-section,
    .contact-section {
        margin-top: 0;
    }
}

.section-separator {
    height: 4px;
    background-color: #64ffda;
    margin: 20px 0;
    width: 100%;
    border-radius: 2px;
    position: relative;
    z-index: 1;
}

.section-separator::before {
    content: '';
    position: absolute;
    top: -18px;
    left: 0;
    right: 0;
    bottom: -18px;
    background-color: #112240;
    z-index: -1;
}

@media (max-width: 768px) {
    .section-separator {
        margin: 15px 0;
    }
    .new-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background-color: #0a192f; /* Dark background */
    color: white; /* White text */
}
.new-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background-color: #0a192f; /* Dark background */
    color: white; /* White text */
}
}
