/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #F8F8F8;
    color: #333;
}

/* Header */
.header {
    background-color: #1d2d50;
    padding: 20px 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

.logo-container {
    position: relative;
    left: 100px;
    display: flex;
    align-items: center;
}

.logo {
    position: relative;
    right: 50px;
    width: 110px;
    height: auto;
    margin-right: 10px;
}

.logo-text {
    color: white;
    font-size: 20px;
}

.desktop-nav {
    display: flex;
    align-items: center;
}

.nav-link {
    color: white;
    margin-right: 20px;
    text-decoration: none;
    font-weight: 500;
}

.nav-link:hover {
    color: #000000;
    transition: 0.3s;
}

.btn {
    background: linear-gradient(70deg, #0026ff, #FF5E00);
    border: none;
    padding: 10px 15px;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
}

.btn:hover {
    opacity: 0.8;
}

.hamburger-btn {
    display: none;
}

.mobile-menu {
    display: none;
}

/* Section */
.section {
    position: relative;
    text-align: center;
    padding: 80px 20px;
}

.section-bg img {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.heading {
    font-size: 50px;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.subheading {
    font-size: 20px;
    color: #FF8C00;
    line-height: 1.6;
}

/* Clubs Section */
.clubs-section {
    background-color: #fff;
    padding: 60px 20px;
}

.section-title {
    font-size: 30px;
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 16px;
    text-align: center;
    color: #555;
    margin-bottom: 40px;
}

.clubs-grid {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping if they exceed the width */
    gap: 20px; /* Adds spacing between cards */
    justify-content: center; /* Centers the clubs horizontally */
}

.club-card {
    width: 300px; /* Adjust width as needed */
    flex: 1; /* Allows flexible sizing */
    max-width: 320px; /* Prevents oversized cards */
}

.club-card:hover {
    transform: translateY(-10px);
}

.club-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.club-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.club-card:hover .club-image img {
    transform: scale(1.1);
}

.club-name {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    font-size: 20px;
    font-weight: bold;
    z-index: 10;
}

.club-content {
    padding: 20px;
}

.club-content p {
    font-size: 16px;
    color: #555;
}

.learn-more-btn {
    background: linear-gradient(45deg, #FF8C00, #FF5E00);
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}

.learn-more-btn:hover {
    opacity: 0.8;
}

/* Footer */
.footer {
    background-color: #1d2d50;
    padding: 40px 20px;
    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-section {
    flex: 1;
}

.footer-section h4 {
    margin-bottom: 10px;
    font-size: 18px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
}

.footer-section ul li a:hover {
    text-decoration: underline;
    transition: 0.3s;
}

/* About Section */
.about {
    background-color: #3a3737;
    padding: 60px 20px;
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.6;
}

/* Button Style */
button {
    padding: 10px 20px;
    font-size: 16px;
    background: #FF8C00;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background: #FF5E00;
    transition: 0.3s;
}

/* Gallery Slider */
.slider-container {
    display: flex;
    overflow: hidden;
}

.slider-buttons {
    text-align: center;
    margin-top: 20px;
}

/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(120deg, #1e3c72, #2a5298);
    color: white;
    text-align: center;
}

header {
    background: linear-gradient(90deg, #ff8a00, #e52e71);
    padding: 20px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
}

h1, h2 {
    text-transform: uppercase;
}

/* Impact Section */
.impact, .activities, .upcoming-events, .gallery {
    margin: 40px 10%;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.impact-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.card {
    flex: 1;
    background: linear-gradient(135deg, #ff7eb3, #ff758c);
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 20px rgba(255, 118, 146, 0.5);
}

/* Buttons */
button {
    margin-top: 20px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(45deg, #ff512f, #dd2476);
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s ease;
}

button:hover {
    background: linear-gradient(45deg, #dd2476, #ff512f);
    transform: scale(1.05);
}

/* News Section */
.news-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-item {
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    transition: background 0.3s;
}

.news-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Upcoming Events */
.event-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.event {
    padding: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

/* Gallery Slider */
.slider-container {
    width: 80%;
    overflow: hidden;
    margin: auto;
    position: relative;
}

#slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

#slider img {
    width: 100%;
    border-radius: 10px;
}

.slider-buttons {
    margin-top: 10px;
}

.slider-buttons button {
    margin: 5px;
    padding: 8px 15px;
    background: #ff416c;
}

/* Footer background and text */
.footer {
    background-color: #003366; /* Dark Blue for background */
    padding: 40px 0;
    font-family: Arial, sans-serif;
    color: #ffffff; /* White text */
    animation: fadeIn 2s ease-out;
}

/* Container and flex layout for footer content */
.container {
    width: 90%;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Footer section styling */
.footer-section {
    width: 23%;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeInSection 1s ease-out forwards;
}

.footer-section:nth-child(1) {
    animation-delay: 0.2s;
}

.footer-section:nth-child(2) {
    animation-delay: 0.4s;
}

.footer-section:nth-child(3) {
    animation-delay: 0.6s;
}

.footer-section:nth-child(4) {
    animation-delay: 0.8s;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: bold;
    color: #f2b800; /* Gold color for headings */
    text-transform: uppercase;
}

/* List and link styling */
.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    text-decoration: none;
    color: #f2b800; /* Gold for links */
    transition: color 0.3s, transform 0.3s;
}

.footer-section ul li a:hover {
    color: #ffffff; /* White color on hover */
    transform: translateX(5px); /* Slight movement for interactivity */
}

/* Social media links */
.social-links a {
    margin: 0 10px;
    transition: transform 0.3s;
}

.social-links img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s, opacity 0.3s;
}

.social-links img:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

/* Logo styling */
.logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.logo img {
    width: 60px;
    margin-right: 15px;
}

.logo div p {
    margin: 0;
    font-size: 14px;
    color: #ffffff; /* White text for logo text */
}

/* Contact section */
.contact p {
    margin: 5px 0;
}

/* Footer bottom section */
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #f2b800; /* Gold border */
    font-size: 14px;
}

.footer-bottom p {
    color: #ffffff;
}

.footer-bottom a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: #f2b800; /* Gold on hover */
}

/* Animation for fading in footer sections */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeInSection {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Responsive layout */
@media screen and (max-width: 768px) {
    .footer-section {
        width: 48%;
    }
}

@media screen and (max-width: 480px) {
    .footer-section {
        width: 100%;
        margin-bottom: 20px;
    }
}
