@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap');
:root {
    --c-primary:      #1565C0;
    --c-primary-dark: #0D47A1;
    --c-accent:       #FFD54F;
    --c-bg:           #F0F4F8;
    --c-text:         #1A2030;
    --c-muted:        #6B7590;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Cairo', Tahoma, sans-serif; background: var(--c-bg); color: var(--c-text); line-height: 1.7; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
/* Header */
.site-header { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.07); position: sticky; top: 0; z-index: 100; }
.site-header .inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; position: relative; }
.site-logo { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 19px; color: var(--c-primary-dark); }
.site-logo img { height: 48px; border-radius: 8px; }
.site-nav { display: flex; gap: 20px; align-items: center; }
.site-nav a { font-weight: 600; color: var(--c-text); transition: color 0.2s; }
.site-nav a:hover { color: var(--c-primary); }
/* زرار القائمة للموبايل */
.nav-toggle {
    display: none;
    background: none; border: none; cursor: pointer;
    font-size: 26px; line-height: 1; color: var(--c-primary-dark);
    padding: 4px 6px;
}
.nav-cta {
    background: linear-gradient(135deg, #1565C0, #1976D2);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(21,101,192,.3);
    transition: box-shadow .2s, opacity .2s;
}
.nav-cta:hover { opacity: .92; box-shadow: 0 5px 16px rgba(21,101,192,.4); color: #fff !important; }
/* Slider */
.hero-slider { position: relative; height: 480px; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide .overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(13,71,161,0.2), rgba(13,71,161,0.7));
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center; padding: 20px;
}
.hero-slide h1 { color: #fff; font-size: 38px; font-weight: 800; margin-bottom: 12px; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.hero-slide p  { color: #fff; font-size: 18px; max-width: 600px; }
.slider-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 5; }
.slider-dots .dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: background 0.2s; }
.slider-dots .dot.active { background: #fff; }
/* Sections */
.section { padding: 70px 0; }
.section-title { text-align: center; font-size: 30px; font-weight: 800; color: var(--c-primary-dark); margin-bottom: 10px; }
.section-sub { text-align: center; color: var(--c-muted); margin-bottom: 44px; font-size: 16px; }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; }
.about-grid p { font-size: 16px; color: var(--c-text); }
/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.gallery-item { border-radius: 12px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,0.08); cursor: pointer; position: relative; aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .cap { position: absolute; bottom: 0; right: 0; left: 0; background: linear-gradient(0deg, rgba(0,0,0,0.7), transparent); color: #fff; padding: 16px 12px 8px; font-size: 13px; font-weight: 700; }
/* Forms */
.result-card, .reg-card {
    background: #fff; border-radius: 16px; box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    padding: 36px; max-width: 560px; margin: 0 auto;
}
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 14px; color: #0D47A1; }
.form-row input, .form-row select, .form-row textarea {
    width: 100%; padding: 12px 14px;
    border: 1.5px solid #BBDEFB; border-radius: 8px;
    font-family: inherit; font-size: 14.5px; background: #F8FBFF;
    transition: border-color .2s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
    border-color: #1565C0; outline: none; box-shadow: 0 0 0 3px rgba(21,101,192,.12);
}
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.btn-submit {
    width: 100%; padding: 14px;
    background: linear-gradient(135deg, #1565C0, #1976D2);
    color: #fff; border: none; border-radius: 8px;
    font-weight: 800; font-size: 16px; cursor: pointer; font-family: inherit;
    box-shadow: 0 4px 14px rgba(21,101,192,.3);
}
.btn-submit:hover { opacity: .92; }
.alert-box { padding: 14px 18px; border-radius: 8px; margin-bottom: 18px; font-weight: 600; }
.alert-box.success { background: #E8F5E9; color: #2E7D32; }
.alert-box.error   { background: #FDECEA; color: #C62828; }
/* Footer */
.site-footer { background: var(--c-primary-dark); color: #fff; padding: 50px 0 24px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; margin-bottom: 30px; }
.footer-grid h3 { font-size: 16px; margin-bottom: 14px; color: var(--c-accent); }
.footer-grid p, .footer-grid a { color: rgba(255,255,255,0.8); font-size: 14px; display: block; margin-bottom: 8px; }
.footer-bottom { text-align: center; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.15); font-size: 13px; color: rgba(255,255,255,0.6); }
.whatsapp-float {
    position: fixed; bottom: 24px; left: 24px; width: 58px; height: 58px;
    background: #25D366; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; box-shadow: 0 4px 14px rgba(0,0,0,0.25); z-index: 200;
}
@media (max-width: 800px) {
    .nav-toggle { display: block; }
    .site-nav {
        display: none;
        position: absolute;
        top: 100%; right: 0; left: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        background: #fff;
        padding: 8px 16px 18px;
        box-shadow: 0 10px 24px rgba(0,0,0,0.12);
        border-radius: 0 0 12px 12px;
        z-index: 99;
    }
    .site-nav.open { display: flex; }
    .site-nav a { padding: 13px 6px; border-bottom: 1px solid #EEF2F7; font-size: 15px; }
    .site-nav a:last-of-type { border-bottom: none; }
    .site-nav .nav-cta { text-align: center; margin-top: 6px; }
    .site-nav > div { margin: 8px 0 0 !important; justify-content: center; }
    .form-grid-2 { grid-template-columns: 1fr; }
    .hero-slide h1 { font-size: 26px; }
    .hero-slider { height: 360px; }
}
