.awards-section {
    background-color: #0a192f;
    color: white;
    padding: 4rem 2rem;
    text-align: center;
  }
  
  .section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
  }
  
  .awards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
  }
  
  .award-card {
    background-color: #112240;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    width: 300px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .award-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
  }
  
  .award-card img {
    width: 100%;
    height: 300px;
    object-fit:scale-down;
    border-radius: 10px;
    margin-bottom: 1rem;
  }
  
  .award-card h3 {
    color: #64ffda;
    margin: 0.5rem 0;
  }
  
  .award-card p {
    margin: 0.5rem 0;
    color: #ccd6f6;
  }
  
  .add-award-btn {
    margin-top: 2rem;
    padding: 0.75rem 2rem;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
  }
  
  .add-award-btn:hover {
    background-color: #0056b3;
  }
  
  /* 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;
    }
}