/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

/* Body */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f9fc;
    color: #222;
}

/* Header */
header {
    background: #40E0D0;
    color: #fff;
    padding: 1rem 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

header .logo {
    height: 50px;
}

header nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 1.5rem;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

header nav a:hover {
    color: #fff;
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, #2b4f77, #66c2ff);
    color: #fff;
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero button:hover {
    background: #003f73;
}

/* Section Titles */
section h2 {
    font-size: 2.5rem;
    text-align: center;
    color: #40E0D0;
    margin: 2rem 0;
}

/* About Section */
#about {
    padding: 2rem;
    text-align: center;
}

#about p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: #444;
}

/* Why Join Section */
#why-join {
    background: #e9f2fc;
    padding: 3rem 2rem;
}

.why-join-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.card {
    background: #fff;
    border: 1px solid #ddd;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2b4f77;
}

/* Core Members Section */
.core-members {
    padding: 3rem 0;
    background: #e2f3ff;
    text-align: center;
}

.core-members h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.member {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.member:hover {
    transform: translateY(-10px);
}

.member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.member h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.member h3 a {
    color: #40E0D0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.member h3 a:hover {
    color: #40E0D0;
}

.member p {
    font-size: 1.2rem;
    color: #666;
}


/* Events Section */
#events {
    padding: 3rem 2rem;
}

.events-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    
}

.event-card {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 1.5rem;
    border-radius: 8px;
    max-width: 300px;
    text-align: center;
    transition: box-shadow 0.3s ease-in-out;
    
}

.event-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.event-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: turquoise;
}

.event-card p {
    color: black;
    text-decoration: none;
}

.event-card a{
    text-decoration: none;
}

/* Gallery Section */
#gallery {
    padding: 3rem 2rem;
    background: #fff;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.gallery-container img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.gallery-container img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Join Us Section */
#join-us {
    padding: 3rem 2rem;
    text-align: center;
    background: #e9f2fc;
}

#join-us button {
    padding: 0.8rem 2rem;
    background: #40E0D0;
    border: none;
    color: #fff;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

#join-us button:hover {
    background: #40E0D0;
}

/* Footer */
footer {
    background: #40E0D0;
    color: #fff;
    padding: 2rem;
    text-align: center;
}

footer .footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

footer h3 {
    margin-bottom: 1rem;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin: 0.5rem 0;
}

footer ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

footer ul li a:hover {
    color: #fff;
}

footer p {
    margin-top: 1rem;
}

footer p a{
    color: #fff;
    text-decoration: none;
}
