:root {
    --green: #207a3c;
    --cream: #fffbe6;
    --yellow: #ffe066;
    --text-dark: #222;
    --text-light: #fff;
    --header-shadow: 0 2px 8px rgba(32, 122, 60, 0.08);
    --border-radius: 12px;
    --font-arabic: 'Amiri', serif;
    --font-english: 'Segoe UI', Arial, sans-serif;
}

body {
    margin: 0;
    font-family: var(--font-english);
    background: var(--cream);
    color: var(--text-dark);
    line-height: 1.7;
}

.header-banner {
    background: linear-gradient(90deg, var(--green) 60%, var(--yellow) 100%);
    color: var(--text-light);
    padding: 2rem 1rem 1rem 1rem;
    box-shadow: var(--header-shadow);
    text-align: center;
}

.school-name-arabic {
    font-family: var(--font-arabic);
    font-size: 2.2rem;
    margin: 0 0 0.5rem 0;
    direction: rtl;
    letter-spacing: 1px;
}

.school-name-english {
    font-size: 1.3rem;
    margin: 0 0 0.5rem 0;
    font-weight: 500;
    letter-spacing: 1px;
}

.school-address {
    font-size: 1rem;
    margin: 0.5rem 0 0 0;
    color: var(--yellow);
    font-weight: 500;
}

.slideshow-section {
    background: var(--cream);
    padding: 1.5rem 0;
    display: flex;
    justify-content: center;
}

.slideshow-container {
    position: relative;
    max-width: 700px;
    width: 95%;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(32, 122, 60, 0.10);
    background: var(--text-light);
}

.slides {
    position: relative;
    width: 100%;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-img {
    position: absolute;
    width: 100%;
    height: 320px;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s;
    border-radius: var(--border-radius);
}

.slide-img.active {
    opacity: 1;
    z-index: 2;
}

.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--green);
    color: var(--text-light);
    border: none;
    font-size: 2rem;
    padding: 0.3rem 0.8rem;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
    opacity: 0.85;
    transition: background 0.2s;
}

.slide-arrow:hover {
    background: var(--yellow);
    color: var(--green);
}

.slide-arrow.prev { left: 10px; }
.slide-arrow.next { right: 10px; }

.about-section,
.programs-section,
.contact-section,
.events-section {
    background: var(--text-light);
    margin: 2rem auto;
    max-width: 700px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(32, 122, 60, 0.07);
    padding: 1.5rem;
}

.section-title {
    color: var(--green);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.about-text {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.programs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.programs-list li {
    background: var(--cream);
    color: var(--green);
    margin-bottom: 0.7rem;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    font-size: 1.05rem;
    box-shadow: 0 1px 4px rgba(32, 122, 60, 0.04);
}

.contact-details p, .contact-details a {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-decoration: none;
}

.map-embed {
    margin-top: 1rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(32, 122, 60, 0.07);
}

.footer-section {
    background: var(--green);
    color: var(--text-light);
    text-align: center;
    padding: 1.2rem 0 0.5rem 0;
    margin-top: 2rem;
}

.social-links {
    margin-bottom: 0.7rem;
}

.social-icon {
    display: inline-block;
    margin: 0 0.5rem;
    color: var(--text-light);
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.2s;
}

.social-icon.facebook:hover { color: #1877f3; }
.social-icon.instagram:hover { color: #e4405f; }
.social-icon.twitter:hover { color: #1da1f2; }
.social-icon.whatsapp:hover { color: #25d366; }

.footer-text {
    font-size: 0.95rem;
    margin-top: 0.5rem;
    color: var(--yellow);
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.event-card {
    display: flex;
    align-items: flex-start;
    background: var(--cream);
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(32, 122, 60, 0.04);
    padding: 1rem;
    gap: 1rem;
    transition: box-shadow 0.2s;
}

.event-card:hover {
    box-shadow: 0 4px 16px rgba(32, 122, 60, 0.10);
}

.event-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    background: #eee;
}

.event-details {
    flex: 1;
}

.event-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--green);
    margin: 0 0 0.3rem 0;
}

.event-date {
    font-size: 0.95rem;
    color: #888;
    margin-bottom: 0.5rem;
}

.event-desc {
    font-size: 1rem;
    margin: 0;
    color: var(--text-dark);
}

/* Responsive Styles */
@media (max-width: 900px) {
    .slides, .slide-img {
        height: 220px;
    }
    .about-section,
    .programs-section,
    .contact-section,
    .events-section {
        max-width: 98%;
        padding: 1rem;
    }
}

@media (max-width: 600px) {
    .header-banner {
        padding: 1.2rem 0.5rem 0.7rem 0.5rem;
    }
    .school-name-arabic {
        font-size: 1.3rem;
    }
    .school-name-english {
        font-size: 1rem;
    }
    .slides, .slide-img {
        height: 140px;
    }
    .section-title {
        font-size: 1.1rem;
    }
    .footer-section {
        padding: 0.7rem 0 0.3rem 0;
    }
    .event-card {
        flex-direction: column;
        align-items: stretch;
        gap: 0.7rem;
        padding: 0.7rem;
    }
    .event-img {
        width: 100%;
        height: 120px;
    }
}

    .footer-credit {
        font-size: 0.85rem;
        color: var(--text-light);
        margin-top: 0.5rem;
    }