/* أساسيات الصفحة */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', sans-serif;
    background: #f9f9f9;
    color: #333;
    line-height: 1.8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* شريط التنقل */
.main-nav {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #4CAF50;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #2E7D32;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* القسم العلوي (الهيرو) */
.hero-section {
    background: linear-gradient(135deg, #8e44ad, #6c5ce7);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    text-align: right;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.title {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.primary-btn {
    background: #4CAF50;
    color: white;
}

.primary-btn:hover {
    background: #2E7D32;
    transform: translateY(-2px);
}

.secondary-btn {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* صورة المؤسس */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-image img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.decoration-circle,
.decoration-dots {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: -1;
}

.decoration-circle {
    width: 200px;
    height: 200px;
    top: 50px;
    left: -100px;
}

.decoration-dots {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, white 2px, transparent 2px);
    background-size: 10px 10px;
    top: 100px;
    right: 50px;
}

/* الروابط القانونية */
.legal-links {
    text-align: center;
    margin-top: 50px;
    font-size: 0.9rem;
}

.legal-breadcrumb {
    display: inline-flex;
    gap: 8px;
    color: #ccc;
}

.legal-breadcrumb a {
    color: #ddd;
    text-decoration: none;
}

.legal-breadcrumb a:hover {
    color: white;
}

/* الأقسام */
.section {
    padding: 80px 0;
}

.section h2 {
    font-size: 2rem;
    color: #2E7D32;
    margin-bottom: 40px;
    text-align: center;
}

.icon-title {
    color: #8e44ad;
    margin-left: 10px;
}

/* نبذة عن المؤسس */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.quote-card {
    background: #f1f8e9;
    padding: 30px;
    border-radius: 15px;
    border-right: 5px solid #4CAF50;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    color: #ccc;
    opacity: 0.3;
}

.quote-text {
    font-size: 1.2rem;
    font-style: italic;
    color: #555;
}

.quote-text + p {
    margin-top: 15px;
    font-weight: 500;
}

/* الإنجازات */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.achievement-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.achievement-card:hover {
    transform: translateY(-10px);
}

.achievement-icon {
    width: 70px;
    height: 70px;
    background: #e8f5e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: #4CAF50;
}

/* البيان الشخصي */
.personal-statement {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
}

.personal-statement footer {
    margin-top: 15px;
    font-weight: 500;
    color: #555;
}

/* التواصل */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
}

.contact-form button {
    width: 100%;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #e8f5e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4CAF50;
    font-size: 1.2rem;
}

.contact-details h3 {
    font-size: 1.1rem;
    color: #2E7D32;
}

/* التوافق مع الجوال */
@media (max-width: 992px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-content,
    .hero-image {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-image {
        justify-content: center;
    }

    .hero-section {
        padding: 60px 0;
    }
}