* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: #2c7a4f;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #2c7a4f;
}

.lang-switch {
    background-color: #4a90e2;
    color: white !important;
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.lang-switch:hover {
    background-color: #357abd !important;
    color: white !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(44, 122, 79, 0.85) 0%, rgba(30, 90, 58, 0.85) 100%), url('images/main photo.jpg') center/cover no-repeat;
    color: white;
    padding: 120px 20px;
    text-align: center;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #4a90e2;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: #357abd;
    transform: translateY(-2px);
}

/* About Section */
.about {
    padding: 80px 20px;
    background-color: #f8f9fa;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c7a4f;
    margin-bottom: 3rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Programs Section */
.programs {
    padding: 80px 20px;
}

.programs h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c7a4f;
    margin-bottom: 3rem;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.program-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.program-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.program-card h3 {
    color: #2c7a4f;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.program-card p {
    color: #666;
    line-height: 1.6;
}

/* Gallery Section */
.gallery {
    padding: 80px 20px;
    background-color: #f8f9fa;
}

.gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c7a4f;
    margin-bottom: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Contact Section */
.contact {
    padding: 80px 20px;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c7a4f;
    margin-bottom: 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item h3 {
    color: #2c7a4f;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.info-item p {
    color: #666;
    font-size: 1.1rem;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #4a90e2;
}

/* Footer */
footer {
    background-color: #2c7a4f;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}


/* Schedule Page */
.schedule-page {
    padding: 80px 20px;
    min-height: calc(100vh - 200px);
}

.schedule-page h1 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c7a4f;
    margin-bottom: 3rem;
}

.grade-selector {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.grade-btn {
    padding: 12px 24px;
    background-color: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.3s;
}

.grade-btn:hover {
    background-color: #e9ecef;
    border-color: #2c7a4f;
}

.grade-btn.active {
    background-color: #2c7a4f;
    color: white;
    border-color: #2c7a4f;
}

.schedule-container {
    position: relative;
    overflow-x: auto;
}

.schedule-table {
    display: none;
}

.schedule-table.active {
    display: block;
}

.schedule-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.schedule-table thead {
    background-color: #2c7a4f;
    color: white;
}

.schedule-table th {
    padding: 15px;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
}

.schedule-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.schedule-table td.time {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c7a4f;
    white-space: nowrap;
}

.schedule-table tbody tr:hover {
    background-color: #f8f9fa;
}

.schedule-table tbody tr:last-child td {
    border-bottom: none;
}

.schedule-info {
    margin-top: 3rem;
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #4a90e2;
}

.schedule-info h3 {
    color: #2c7a4f;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.schedule-info ul {
    list-style: none;
    padding: 0;
}

.schedule-info li {
    padding: 0.5rem 0;
    color: #666;
    font-size: 1.05rem;
}

.schedule-info li:before {
    content: "✓ ";
    color: #4a90e2;
    font-weight: bold;
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .schedule-page h1 {
        font-size: 2rem;
    }
    
    .grade-selector {
        flex-direction: column;
    }
    
    .grade-btn {
        width: 100%;
    }
    
    .schedule-table table {
        font-size: 0.9rem;
    }
    
    .schedule-table th,
    .schedule-table td {
        padding: 10px 5px;
    }
}
