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

/* Body */
body {
    font-family: 'Nunito', sans-serif;
    background: #f5fdf7;
    color: #355e3b;
    line-height: 1.6;
}

/* Header */
header {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 20px 10%;
    background: #d6f5d6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .welcome-title {
    flex-grow: 1;
    text-align: center;
}

.image-container-curricular {
    display: flex;
    flex-direction: row;
}

.logo img {
    width: 30%;
}

.navbar {
    width: 100%; /* Ensure navbar takes full width */
}

.menu {
    display: flex;
    justify-content: space-evenly; 
    width: 100%; 
    list-style: none; 
    padding: 0; 
    margin: 0;
}

.menu a {
    color: #355e3b;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    padding: 10px 15px; /* Add equal padding around each link */
    white-space: nowrap; /* Prevent text wrapping */
}

.menu a:hover {
    color: #6ab04c;
}

/* For mobile menu (hamburger) */
.menu-toggle {
    display: none; /* Hide checkbox */
}

.menu-icon {
    display: none; /* Initially hidden for desktop */
    cursor: pointer;
    font-size: 24px;
    padding: 10px;
}

/* Hero Section */
#hero {
    background: linear-gradient(to bottom right, #d6f5d6, #f5fdf7);
    text-align: center;
    padding: 100px 10%;
}

#hero h1 {
    font-size: 3rem;
    color: #2e7d32;
}

#hero p {
    margin-top: 20px;
    font-size: 1.4rem;
    color: #4caf50;
}

.btn {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 30px;
    background: #6ab04c;
    color: #ffffff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: background 0.3s;
}

.btn:hover {
    background: #4caf50;
}

/* Main Section */
main {
    padding: 40px;
}

/* Extra Curricular Section */
.extra {
    text-align: center;
    margin-bottom: 40px;
}

.extra h2 {
    font-size: 32px;
    color: #6ab04c;
    margin-bottom: 10px;
}

.extra p {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
}

.bug {
    font-size: 20px;
    font-weight: bold;
    color: #d32f2f;
    margin-top: 20px;
}

/* Card Styles */
.card {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.card-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.card h3 {
    text-align: center;
    color: #6ab04c; /* Color from previous files */
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: bold;
}

.card p {
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
    color: #555;
    margin-top: 20px;
}

/* Learn Section */
.learn {
    text-align: center;
    margin-top: 40px;
    font-size: 18px;
}

.learn a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #6ab04c;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    margin-top: 10px;
}

.learn a:hover {
    background-color: #e65c2d;
}
/* Footer */
footer {
    margin-top: 50px;
    background: #d6f5d6;
    padding: 20px;
    font-size: 0.9rem;
    color: #355e3b;
}

.footer a{
    text-decoration: none;
    color: #4caf50;
    font-weight: bolder;
}

footer .footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 20px;
}

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