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

body {
    font-family: 'Nunito', sans-serif;
    background: #f5fdf7;
    color: #355e3b;
    line-height: 1.6;
    overflow-y: auto !important;
}

header {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    padding: 20px 10%;
    background: #d6f5d6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.mainHead{
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 30px;
}

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

.logo {
    width: 40%;
}

.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 {
    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;
}

section {
    padding: 80px 10%;
    text-align: center;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.program-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

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

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

input, textarea {
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #c8e6c9;
    background: #ffffff;
    font-size: 1rem;
}

button {
    background: #6ab04c;
    color: #ffffff;
    border: none;
    padding: 15px;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.3s;
}

button:hover {
    background: #4caf50;
}

footer {
    margin-top: 50px;
    background: #d6f5d6;
    padding: 20px;
    font-size: 0.9rem;
    color: #355e3b;
}

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

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

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


/* ==================== */
/* CARD-BASED STYLES */
/* ==================== */

/* Section Titles */
.section-title {
    font-size: 2.2rem;
    color: #4e2a84;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #6ab04c;
    margin: 15px auto 0;
}

/* Feature Cards */
.features-section {
    padding: 80px 5%;
    background: #f5fdf7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: #4e2a84;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: #555;
    line-height: 1.6;
}

/* Content Cards */
.content-card {
    display: flex;
    align-items: center;
    gap: 40px;
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.content-card.reverse {
    flex-direction: row-reverse;
}

.content-card .content {
    flex: 1;
    text-align: left;
}

.content-card .img-left-container,
.content-card .img-right-container {
    flex: 1;
}

.content-card img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Testimonial Cards */
.testimonials-section {
    padding: 80px 5%;
    background: linear-gradient(to bottom right, #d6f5d6, #f5fdf7);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 5rem;
    color: #6ab04c;
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
}

.testimonial-card p {
    font-style: italic;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.author {
    font-weight: bold;
    color: #4e2a84;
    text-align: right;
}
