/* إعدادات عامة */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    direction: rtl;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


.medical-platform {

    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* الأيقونات (يمكن استبدالها بمكتبة FontAwesome) */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* القسم 1: الهوية والجملة الافتتاحية */
.hero-section {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.513);
    border-radius: 20px;
    margin-top: 100px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.513);

}

.hero-section::before {
    content: "❤️";
    font-size: 150px;
    position: absolute;
    opacity: 0.05;
    right: -30px;
    top: -30px;
    transform: rotate(15deg);
}

.main-title {
    font-size: 3.2rem;
    color: #1a237e;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.main-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #4fc3f7;
    border-radius: 2px;
}

.brand-name {
    color: #0d47a1;
    font-weight: 800;
}

.tagline {
    font-size: 1.4rem;
    color: #0c1113;
    max-width: 800px;
    margin: 20px auto;
    line-height: 1.8;
    font-weight: 300;
}

/* القسم 2: قصتنا وبدايتنا */
.our-story-section {
    text-align: center;
    background: white;
    padding: 50px 40px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.513);
    border-left: 5px solid #4fc3f7;
}


.our-story-section h2 {
    align-items: center;
    color: #1a237e;
    margin-bottom: 25px;
    font-size: 2.2rem;
    font-weight: bold;
    gap: 15px;
}

.our-story-section h2 i {
    color: #e91e63;
}

.our-story-section p {
    margin-bottom: 20px;
    font-size: 1.15rem;
    color: #455a64;
    line-height: 1.8;
}

.highlight {
    background: linear-gradient(120deg, #e1f5fe 0%, #e1f5fe 100%);
    padding: 3px 8px;
    border-radius: 5px;
    font-weight: 600;
    color: #0d47a1;
}

/* القسم 3: مهمتنا، رؤيتنا، قيمنا */
.mvp-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.mvp-card {
    background: white;
    align-items: center;
    text-align: center;
    padding: 35px 30px;
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(8, 1, 1, 0.709);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border-top: 4px solid;
}

.mvp-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.mvp-card.mission {
    border-top-color: #2196f3;
}

.mvp-card.vision {
    border-top-color: #9c27b0;
}

.mvp-card.values {
    border-top-color: #4caf50;
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.mvp-card.mission .icon-wrapper {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.mvp-card.vision .icon-wrapper {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
}

.mvp-card.values .icon-wrapper {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.icon-wrapper i {
    font-size: 30px;
    color: #1a237e;
}

.mvp-card h3 {
    color: #1a237e;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.mvp-card p {
    color: #546e7a;
    line-height: 1.7;
    margin-bottom: 20px;
}

.mvp-card ul {
    list-style-type: none;
    padding-left: 0;
}

.mvp-card ul li {
    padding: 10px 0;
    border-bottom: 1px dashed #e0e0e0;
    color: #455a64;
    display: flex;
    align-items: flex-start;
}

.mvp-card ul li:last-child {
    border-bottom: none;
}

.mvp-card ul li strong {
    color: #1a237e;
    display: inline-block;
    margin-right: 8px;
    min-width: 120px;
}

/* القسم 4: ما الذي تقدمه المنصة؟ */
.what-we-offer {
    background: white;
    text-align: center;
    padding: 50px 40px;
    border-radius: 15px;
    margin-bottom: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.what-we-offer h2 {
    color: #1a237e;
    margin-bottom: 35px;
    font-size: 2.2rem;
    /* display: flex; */
    align-items: center;
    gap: 15px;
}

.what-we-offer h2 i {
    color: #ff9800;
}

.offerings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.offering-card {
    background: #f8fdff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e1f5fe;
    transition: all 0.3s ease;
}

.offering-card:hover {
    background: white;
    border-color: #38bdfa;
    box-shadow: 0 10px 20px rgba(79, 194, 247, 0.321);
    transform: translateY(-5px);
}

.offering-card h4 {
    color: #0d47a1;
    margin-bottom: 15px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.offering-card p {
    color: #546e7a;
    line-height: 1.7;
}

/* القسم 5: الفريق */
.team-section {
    background: linear-gradient(135deg, #f5e5f2 0%, #e3f2fd 100%);
    padding: 50px 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    margin-bottom: 50px;
    text-align: center;
}

.team-section h2 {
    color: #1a237e;
    margin-bottom: 25px;
    font-size: 2.2rem;
    /* display: flex; */
    align-items: center;
    gap: 15px;
}

.team-section h2 i {
    color: #9c27b0;
}

.team-section p {
    color: #455a64;
    font-size: 1.15rem;
    line-height: 1.8;
}

/* القسم 6: التعهد والأمان */
.pledge-section {
    background: white;
    padding: 50px 40px;
    border-radius: 15px;
    margin-bottom: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #4caf50;
}

.pledge-section h2 {
    text-align: center;
    color: #1a237e;
    margin-bottom: 25px;
    font-size: 2.2rem;
    /* display: flex; */
    align-items: center;
    gap: 15px;
}

.pledge-section h2 i {
    color: #4caf50;
}

.pledge-section p {
    color: #455a64;
    font-size: 1.2rem;
    line-height: 2;
}

.pledge-section strong {
    color: #1a237e;
}

/* القسم 7: الدعوة للعمل */
.cta-final {
    text-align: center;
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    padding: 70px 40px;
    border-radius: 20px;
    color: white;
    margin-bottom: 40px;
}

.cta-final h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.cta-final p {
    font-size: 1.3rem;
    margin-bottom: 35px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.btn {
    padding: 18px 35px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
}

.btn-primary {
    background: #4fc3f7;
    color: #0d47a1;
}

.btn-primary:hover {
    background: #29b6f6;
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(79, 195, 247, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #1a237e;
    transform: scale(1.05);
}

.small-note {
    font-size: 1rem;
    opacity: 0.8;
    margin-top: 20px;
}

.small-note a {
    color: #4fc3f7;
    text-decoration: none;
    font-weight: 600;
}

.small-note a:hover {
    text-decoration: underline;
}

/* تأثيرات إضافية */
.mvp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

/* تصميم متجاوب للهواتف والأجهزة اللوحية */
@media (max-width: 992px) {
    .main-title {
        font-size: 2.6rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .mvp-section {
        grid-template-columns: 1fr;
    }

    .cta-final h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .medical-platform {
        padding: 15px;
    }

    .hero-section,
    .our-story-section,
    .what-we-offer,
    .team-section,
    .pledge-section,
    .cta-final {
        padding: 35px 25px;
    }

    .main-title {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem !important;
    }

    .offerings-grid {
        grid-template-columns: 1fr;
    }

    .mvp-card ul li {
        flex-direction: column;
    }

    .mvp-card ul li strong {
        margin-bottom: 5px;
        min-width: auto;
    }
}

/* رسوميات طبية دقيقة */
.medical-decor {
    position: absolute;
    opacity: 0.03;
    font-size: 150px;
    z-index: 0;
}

.decor-1 {
    top: 50px;
    left: 50px;
}

.decor-2 {
    bottom: 50px;
    right: 50px;
}


/* الفوتر */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: #3498db;
}

.footer-col p {
    color: #bdc3c7;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #3498db;
    padding-right: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.contact-info i {
    color: #3498db;
    margin-top: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #34495e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #3498db;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
    font-size: 0.9rem;
}

.hr-1 {
    margin-top: 15px;
    margin-bottom: 15px;
}

/* المودال */
.modal {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 12px;
    padding: 40px;
    width: 90%;
    max-width: 400px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    left: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #7f8c8d;
}

.modal-content h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Cairo', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #3498db;
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    color: #7f8c8d;
}

.form-footer a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
}