﻿body {
    font-family: 'Cairo', sans-serif;
    margin: 0;
    background: #fff;
}

.top-bar {
    background: #0F5D2F;
    color: #fff;
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    border-bottom: 1px solid #eee;
}

.logo {
    height: 60px;
}

nav a {
    margin: 0 10px;
    text-decoration: none;
    color: #0F5D2F;
    font-weight: 600;
}

.hero {
    background: linear-gradient(to left, #0F5D2F, #4CAF50);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.btn {
    background: #F7931E;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
}

.features {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 40px;
}

.card {
    background: #f7f7f7;
    padding: 20px;
    border-radius: 10px;
    width: 200px;
    text-align: center;
}

.courses {
    padding: 40px;
    text-align: center;
}

.course-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.course {
    border: 1px solid #4CAF50;
    padding: 20px;
    border-radius: 10px;
    width: 200px;
}

.exam {
    background: #f2f9f4;
    padding: 40px;
    text-align: center;
}

footer {
    background: #0F5D2F;
    color: white;
    text-align: center;
    padding: 15px;
}
.hero-slider {
    position: relative;
    height: 85vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(15, 93, 47, 0.65);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    padding: 20px;
}

.hero-content h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 28px;
    }
}
.address-bar {
    background: #f2f2f2;
    border-bottom: 1px solid #ddd;
    padding: 12px 20px;
    text-align: center;
    font-size: 15px;
    color: #333;
}

.address-bar div {
    margin: 4px 0;
}

/* تحسين للجوال */
@media (max-width: 768px) {
    .address-bar {
        font-size: 14px;
        padding: 10px;
    }
}
/* ===============================
   About Page (about.html)
   Add this at the END of style.css
================================ */

.page-hero{
    position: relative;
    height: 320px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.page-hero .overlay{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45); /* تباين ممتاز للنص */
}

.page-hero-content{
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    color: #fff;
}

.page-hero-content h1{
    font-size: 36px;
    margin: 0 0 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.55);
}

.page-hero-content p{
    font-size: 18px;
    margin: 0;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0,0,0,0.55);
}

/* container (لأنك تستخدمه في about.html) */
.container{
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 20px;
}

/* محتوى من نحن */
.about-page{
    background: #f5f7f6;
}

.about-intro{
    background: #fff;
    padding: 40px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.about-intro h2{
    color: #0F5D2F;
    margin: 0 0 20px;
    font-size: 28px;
}

.about-intro p{
    color: #333;
    font-size: 17px;
    margin: 0 0 15px;
    line-height: 1.9;
}

/* بطاقات الرؤية/الرسالة/القيم */
.about-cards{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 10px;
}

.info-card{
    background: #fff;
    padding: 28px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.info-card h3{
    color: #0F5D2F;
    margin: 0 0 12px;
    font-size: 22px;
}

.info-card p,
.info-card li{
    color: #444;
    font-size: 16px;
    line-height: 1.9;
}

.info-card ul{
    margin: 0;
    padding-right: 18px;
}

/* Call To Action */
.about-cta{
    text-align: center;
    margin-top: 10px;
}

.about-cta h2{
    color: #0F5D2F;
    font-size: 26px;
    margin: 0 0 10px;
}

.about-cta p{
    color: #333;
    font-size: 17px;
    margin: 0 0 20px;
}

/* Responsive */
@media (max-width: 768px){
    .page-hero{
        height: 240px;
    }

    .page-hero-content h1{
        font-size: 26px;
    }

    .page-hero-content p{
        font-size: 15px;
    }

    .about-intro{
        padding: 25px;
    }
}
/* ===============================
   Accreditation Logos
================================ */

.accreditation-logos h2{
    text-align: center;
    color: #0F5D2F;
    font-size: 28px;
    margin-bottom: 40px;
}

.logos-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    align-items: center;
}

.logo-box{
    background: #fff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    text-align: center;
}

.logo-box img{
    max-width: 180px;
    max-height: 90px;
    object-fit: contain;
    margin-bottom: 15px;
}

.logo-box p{
    font-size: 15px;
    color: #333;
    font-weight: 600;
}
