/* ===== إعدادات عامة ===== */

*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    font-family:Tahoma, Arial, sans-serif;
    background:linear-gradient(180deg,#f7fbf8,#eef8f1);
    color:#163126;
}

img{
    max-width:100%;
    display:block;
}

a{
    color:inherit;
}

.container{
    width:min(92%, 1200px);
    margin:auto;
}

/* ===== Header ===== */

.header{
    position:sticky;
    top:0;
    z-index:1000;
    background:linear-gradient(90deg,#006c35,#008c45);
    color:#ffffff;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.header-flex{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    min-height:78px;
}

.logo{
    text-decoration:none;
    color:#ffffff;
    font-size:20px;
    font-weight:bold;
    line-height:1.35;
}

.logo span{
    display:block;
    font-size:12px;
    opacity:.85;
    font-weight:normal;
}

.menu{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    align-items:center;
    justify-content:center;
}

.menu a{
    text-decoration:none;
    color:#ffffff;
    font-size:14px;
    padding:9px 11px;
    border-radius:10px;
    transition:.25s ease;
}

.menu a:hover,
.menu a.active{
    background:rgba(255,255,255,.14);
    color:#ffe8a3;
}

.header-buttons{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

/* ===== Buttons ===== */

.btn{
    padding:11px 18px;
    border-radius:12px;
    text-decoration:none;
    font-size:14px;
    transition:.25s ease;
    display:inline-block;
    border:none;
    cursor:pointer;
}

.main-btn{
    background:linear-gradient(45deg,#006c35,#0b8f49);
    color:#ffffff;
    box-shadow:0 8px 18px rgba(0,108,53,.18);
}

.main-btn:hover{
    transform:translateY(-3px);
    box-shadow:0 12px 24px rgba(0,108,53,.24);
}

.edu-btn{
    background:linear-gradient(45deg,#d4af37,#f0c85a);
    color:#163126;
    font-weight:bold;
    box-shadow:0 8px 18px rgba(212,175,55,.22);
}

.edu-btn:hover{
    transform:translateY(-3px) scale(1.03);
    box-shadow:0 12px 22px rgba(212,175,55,.28);
}

.ghost-btn{
    background:rgba(255,255,255,.12);
    color:#ffffff;
    border:1px solid rgba(255,255,255,.25);
}

.ghost-btn:hover{
    transform:translateY(-2px);
    background:rgba(255,255,255,.18);
}

/* ===== Hero ===== */

.hero{
    padding:78px 0;
    background:linear-gradient(135deg,#008c45,#006c35,#0f5132);
    color:#ffffff;
    overflow:hidden;
}

.hero-grid{
    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:38px;
    align-items:center;
}

.hero-text h1{
    font-size:28px;
    margin:0 0 15px;
    line-height:1.7;
}

.hero-text p{
    font-size:15px;
    line-height:1.95;
    opacity:.96;
    margin:0;
}

.hero-buttons{
    margin-top:22px;
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.hero-cards{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
}

.card{
    background:rgba(255,255,255,0.14);
    padding:20px;
    border-radius:14px;
    backdrop-filter:blur(6px);
    border:1px solid rgba(255,255,255,.12);
    transition:.25s ease;
}

.card:hover{
    transform:translateY(-6px);
    background:rgba(255,255,255,0.22);
    box-shadow:0 15px 30px rgba(0,0,0,.10);
}

.card h3{
    margin:0 0 10px;
    font-size:16px;
}

.card p{
    margin:0;
    font-size:13px;
    line-height:1.8;
}

/* ===== Generic page hero ===== */

.page-hero{
    padding:60px 0;
    background:linear-gradient(135deg,#008c45,#006c35,#0f5132);
    color:#ffffff;
}

.page-hero h1{
    margin:0 0 12px;
    font-size:28px;
    line-height:1.6;
}

.page-hero p{
    margin:0;
    max-width:820px;
    line-height:1.9;
    font-size:15px;
    opacity:.96;
}

/* ===== Sections ===== */

.section{
    padding:72px 0;
}

.section.alt{
    background:#ffffff;
}

.section-title{
    text-align:center;
    margin:0 0 40px;
    font-size:25px;
    color:#006c35;
}

.section-lead{
    text-align:center;
    margin:-18px auto 36px;
    max-width:780px;
    color:#486357;
    line-height:1.9;
    font-size:15px;
}

.grid-2{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px;
}

.grid-3{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px;
}

.grid-4{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.service-card,
.info-card,
.feature-card,
.job-card,
.contact-card{
    background:linear-gradient(180deg,#ffffff,#f1faf4);
    padding:24px;
    border-radius:16px;
    box-shadow:0 8px 20px rgba(0,0,0,.05);
    border:1px solid #e4f1e7;
    transition:.25s ease;
}

.service-card:hover,
.info-card:hover,
.feature-card:hover,
.job-card:hover,
.contact-card:hover{
    transform:translateY(-8px);
    box-shadow:0 16px 32px rgba(0,0,0,.09);
    background:linear-gradient(180deg,#ffffff,#ebf8ef);
}

.service-card h3,
.info-card h3,
.feature-card h3,
.job-card h3,
.contact-card h3{
    font-size:17px;
    margin:0 0 10px;
    color:#006c35;
}

.service-card p,
.info-card p,
.feature-card p,
.job-card p,
.contact-card p{
    font-size:14px;
    color:#486357;
    line-height:1.9;
    margin:0;
}

.check-list{
    list-style:none;
    padding:0;
    margin:16px 0 0;
}

.check-list li{
    padding:8px 0;
    color:#26463a;
    line-height:1.8;
    border-bottom:1px dashed #dfece3;
}

.check-list li:last-child{
    border-bottom:none;
}

.stats{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
}

.stat-box{
    background:#ffffff;
    border:1px solid #e4f1e7;
    border-radius:16px;
    padding:24px;
    text-align:center;
    box-shadow:0 8px 20px rgba(0,0,0,.05);
}

.stat-box strong{
    display:block;
    font-size:27px;
    color:#006c35;
    margin-bottom:8px;
}

.stat-box span{
    color:#486357;
    font-size:14px;
}

.cta{
    padding:64px 0;
}

.cta-box{
    background:linear-gradient(135deg,#008c45,#006c35);
    color:#ffffff;
    border-radius:24px;
    padding:38px 34px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    box-shadow:0 18px 36px rgba(0,0,0,.10);
}

.cta-box h2{
    margin:0 0 10px;
    font-size:26px;
}

.cta-box p{
    margin:0;
    line-height:1.9;
    opacity:.96;
}

.cta-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.table-like{
    display:grid;
    gap:14px;
}

.table-row{
    display:grid;
    grid-template-columns:1.2fr 1fr 1fr;
    gap:14px;
    background:#ffffff;
    border:1px solid #e4f1e7;
    border-radius:16px;
    padding:18px 20px;
    box-shadow:0 8px 18px rgba(0,0,0,.04);
}

.table-row strong{
    color:#006c35;
}

.contact-form{
    background:#ffffff;
    border:1px solid #e4f1e7;
    border-radius:20px;
    box-shadow:0 8px 22px rgba(0,0,0,.05);
    padding:28px;
}

.form-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
}

.field{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.field.full{
    grid-column:1 / -1;
}

.field label{
    font-size:14px;
    color:#26463a;
    font-weight:bold;
}

.field input,
.field textarea,
.field select{
    width:100%;
    border:1px solid #d8e7dc;
    border-radius:12px;
    padding:13px 14px;
    font-family:inherit;
    font-size:14px;
    background:#fbfefd;
    color:#163126;
    outline:none;
    transition:.2s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus{
    border-color:#008c45;
    box-shadow:0 0 0 4px rgba(0,140,69,.08);
}

.field textarea{
    min-height:160px;
    resize:vertical;
}

.footer{
    background:linear-gradient(90deg,#006c35,#008c45);
    color:#ffffff;
    padding:28px 0;
    margin-top:40px;
}

.footer-grid{
    display:grid;
    grid-template-columns:1.2fr 1fr 1fr;
    gap:24px;
    align-items:start;
}

.footer h3{
    margin:0 0 12px;
    font-size:16px;
}

.footer p,
.footer a{
    margin:0;
    font-size:14px;
    line-height:1.9;
    text-decoration:none;
    color:rgba(255,255,255,.94);
}

.footer-links{
    display:grid;
    gap:8px;
}

.copyright{
    margin-top:18px;
    padding-top:16px;
    border-top:1px solid rgba(255,255,255,.14);
    text-align:center;
    font-size:13px;
    opacity:.92;
}

.badge{
    display:inline-block;
    padding:7px 12px;
    border-radius:999px;
    background:#eaf8ee;
    color:#006c35;
    font-size:13px;
    font-weight:bold;
    margin-bottom:14px;
}

.note-box{
    background:#fffdf3;
    border:1px solid #f4e5ad;
    color:#5e4d18;
    padding:18px 20px;
    border-radius:14px;
    line-height:1.9;
}

@media(max-width:1000px){
    .hero-grid,
    .grid-3,
    .grid-4,
    .grid-2,
    .footer-grid,
    .stats{
        grid-template-columns:1fr 1fr;
    }

    .cta-box{
        flex-direction:column;
        align-items:flex-start;
    }

    .table-row{
        grid-template-columns:1fr;
    }
}

@media(max-width:780px){
    .header-flex{
        flex-direction:column;
        align-items:flex-start;
        padding:14px 0;
    }

    .menu{
        width:100%;
        justify-content:flex-start;
    }

    .hero-grid,
    .grid-3,
    .grid-4,
    .grid-2,
    .footer-grid,
    .stats,
    .hero-cards,
    .form-grid{
        grid-template-columns:1fr;
    }

    .hero-text h1,
    .page-hero h1{
        font-size:24px;
    }

    .header-buttons{
        width:100%;
    }
}
