/* style.css - النسخة النهائية والصحيحة (مبنية على ملفاتك الأصلية) */

:root {
    --primary: #0d8d75;
    --primary-dark: #0f7570;
    --primary-darker: #0a5d58;
    --secondary: #123d64;
    --secondary-light: #1a4f7f;
    --light: #F8F9FA;
    --light-gray: #f1f4f6;
    --dark: #343A40;
    --charity: #3498DB;
    --advertiser: #E74C3C;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    color: var(--dark);
    background-color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    font-size: 2.2rem;
    color: var(--secondary);
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 10px rgba(13, 141, 117, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* الهيدر */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1002;
}

.logo img {
    height: 90px;
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    color: var(--dark);
    position: relative;
    padding: 10px 0;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary);
    z-index: 1001;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    transform: rotate(90deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.4s ease-in-out;
    overflow-y: auto;
    padding: 20px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.mobile-menu-logo img {
    height: 40px;
}

.close-menu-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
    transition: var(--transition);
}

.close-menu-btn:hover {
    transform: rotate(90deg);
    color: var(--primary);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.mobile-nav-links a {
    font-weight: 600;
    padding: 12px 15px;
    border-radius: 8px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 3px solid transparent;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    background-color: rgba(13, 141, 117, 0.1);
    color: var(--primary);
    border-left: 3px solid var(--primary);
}

.mobile-nav-links a i {
    color: var(--primary);
    width: 24px;
    text-align: center;
}

.mobile-nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.mobile-nav-buttons .btn {
    width: 100%;
    text-align: center;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* السلايدر الرئيسي */
.hero-slider {
    position: relative;
    height: 80vh;
    min-height: 500px;
    overflow: hidden;
    margin-top: 130px;
}

.slider-container {
    position: relative;
    height: 100%;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: right;
    padding: 0 20px;
}

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

.slide-content {
    max-width: 45%;
    margin-right: auto;
    background: rgba(255, 255, 255, 0.85);
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.slide h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
    line-height: 1.3;
    position: relative;
}

.slide h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

.slide p {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 30px;
    line-height: 1.8;
}

.slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    background-color: var(--primary);
    color: white;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.slide-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.slider-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.slider-nav-btn:hover {
    background: white;
    transform: scale(1.1);
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.slider-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.slider-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* الهيدر الرئيسي */
.hero {
    padding: 150px 5% 100px;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 2;
    text-align: center;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--secondary);
}

.hero-highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero-highlight::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: rgba(13, 141, 117, 0.2);
    z-index: -1;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #555;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-motto {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--secondary);
    margin: 30px 0;
    padding: 15px;
    border-radius: 10px;
    background: rgba(13, 141, 117, 0.05);
    display: inline-block;
    border: 1px solid rgba(13, 141, 117, 0.1);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* كيف تعمل */
.how-it-works {
    background-color: white;
    position: relative;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(13, 141, 117, 0.1), white);
    z-index: 0;
}

.steps-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.step {
    background-color: var(--light);
    padding: 35px 25px;
    border-radius: 20px;
    box-shadow: var(--box-shadow);
    width: 100%;
    max-width: 300px;
    transition: var(--transition);
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid var(--light-gray);
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    z-index: -1;
    border-radius: 20px 20px 0 0;
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: white;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    border: 2px solid var(--primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step-title {
    font-size: 1.4rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.step-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

/* لمَ "تبرع بلايك"؟ */
.why-us {
    background-color: #f9f9f9;
}

.benefits-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.benefit-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: rgba(13, 141, 117, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.benefit-card h4 {
    font-size: 1.4rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.benefit-card ul {
    text-align: right;
}

.benefit-card ul li {
    margin-bottom: 12px;
    padding-right: 25px;
    position: relative;
    color: #555;
}

.benefit-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 5px;
    color: var(--primary);
}

/* الأثر بالأرقام */
.impact-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.impact-stat {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    text-align: center;
    min-width: 200px;
    transition: var(--transition);
}

.impact-stat:hover {
    transform: translateY(-10px);
}

.impact-stat i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.impact-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 10px;
}

.impact-label {
    font-size: 1.1rem;
    color: #777;
}

/* الدعوة للانضمام */
.cta-section {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: white;
    text-align: center;
    padding: 100px 5%;
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-btn {
    background-color: white;
    color: var(--secondary);
    min-width: 200px;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
}

.cta-btn:hover {
    background-color: var(--light);
    transform: translateY(-3px);
}

.cta-btn.secondary {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.cta-btn.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* الفوتر */
footer {
    background-color: var(--secondary);
    color: white;
    padding: 70px 0 0;
}

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

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 90px;
}

.footer-about {
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.7;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-title {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    color: white;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    opacity: 0.8;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary);
    transform: translateX(5px);
}

.footer-links a i {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: white;
}

.social-link:hover {
    background-color: var(--primary);
    transform: translateY(-5px);
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    margin-top: 60px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

.founder-note {
    font-size: 1rem;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
}

/* استجابة */
@media (max-width: 992px) {
    .benefits-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .why-content {
        flex-direction: column;
    }
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    .slide-content {
        max-width: 60%;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    .nav-links, .nav-buttons {
        display: none;
    }
    .hero-slider {
        height: 70vh;
        min-height: 400px;
        margin-top: 130px;
    }
    .slide h2 {
        font-size: 1.8rem;
    }
    .slide p {
        font-size: 1rem;
    }
    .slide-content {
        padding: 25px;
        max-width: 85%;
        margin: 0 auto;
        text-align: center;
    }
    .hero {
        padding: 150px 5% 80px;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .section {
        padding: 60px 0;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .benefits-container {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
    .hero-buttons, .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (min-width: 769px) {
    .mobile-menu-btn, .mobile-menu, .overlay {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-slider {
        height: 60vh;
        min-height: 350px;
    }
    .slide h2 {
        font-size: 1.6rem;
    }
    .slide-content {
        padding: 20px;
        max-width: 90%;
    }
    .slider-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .hero {
        padding: 130px 5% 60px;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .impact-stats {
        flex-direction: column;
        gap: 30px;
    }
}