﻿html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    direction: ltr;
    font-family: 'Poppins', sans-serif;
    text-align: left;
}

.full-width-image-container {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

    .full-width-image-container img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
        margin: 0;
        padding: 0;
    }

.about-page {
    background-color: white;
    min-height: 100vh;
    text-align: left;
}

.full-width-container {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    overflow: hidden;
}

    .full-width-container img {
        width: 100vw;
        height: 550px;
        object-fit: cover;
        display: block;
    }

.values-text {
    max-width: 90%;
    width: 100%;
    margin: 80px 90px 0 90px;
    color: #005AA9;
    font-size: 1.6rem;
    line-height: 1.8;
    white-space: normal;
    word-break: keep-all;
}

.fullwidth-image {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0;
    padding: 0;
}

.section-title {
    position: relative;
    padding-bottom: 0 !important;
}

    .section-title::after {
        content: none !important;
    }

    .section-title.values {
        margin-top: 50px;
        margin-bottom: 30px;
    }

.full-screen-specialization {
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

    .full-screen-specialization h3.main-title {
        font-size: 2.2rem;
        color: #005AA9;
        font-weight: bold;
    }

    .full-screen-specialization h4 {
        font-size: 1.3rem;
        color: #333;
        font-weight: 600;
    }

    .full-screen-specialization p {
        font-size: 1.1rem;
        color: #555;
        line-height: 1.7;
    }

.object-cover {
    object-fit: cover;
}

.video-container {
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    margin: 30px auto;
}

.vision-mission-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}


    .vision-mission-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.vision-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 30px 40px;
    color: #fff;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box; 
    overflow-wrap: break-word; /* يمنع خروج الكلمات الطويلة */
    word-break: break-word; /* في حال الكلمات طويلة جداً */
}


    .vision-overlay h3 {
        font-size: 2rem;
        font-weight: bold;
        margin-bottom: 15px;
    }

    .vision-overlay p {
        font-size: 1.2rem;
        line-height: 1.8;
        margin: 0;
    }

@media (min-width: 1201px) {
    .container-fluid {
        padding-left: 150px !important;
        padding-right: 60px !important;
    }

    .values-text {
        font-size: 1.6rem;
        line-height: 1.8;
        margin: 80px 90px 0 90px;
    }

    .full-width-container img {
        height: 550px;
    }

    .video-container {
        margin: 30px auto;
        width: 100%;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .container-fluid {
        padding-left: 60px !important;
        padding-right: 40px !important;
    }

    .values-text {
        font-size: 1.3rem;
        line-height: 1.6;
        margin: 60px 40px 0 40px;
    }

    .full-width-container img {
        height: 400px;
    }

    .vision-mission-container {
        height: 350px;
    }

    .vision-overlay {
        padding: 25px 30px;
    }

        .vision-overlay h3 {
            font-size: 1.6rem;
            margin-bottom: 12px;
        }

        .vision-overlay p {
            font-size: 1rem;
            line-height: 1.6;
        }

    .video-container {
        margin: 25px auto;
        width: 100%;
    }

        .video-container video {
            width: 100%;
            height: auto;
            border-radius: 8px;
            display: block;
        }
}

@media (max-width: 768px) {
    .container-fluid {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .navbar-nav .nav-link {
        font-size: 18px !important;
    }

    .values-text {
        font-size: 1rem !important;
        line-height: 1.7 !important;
        margin: 30px 20px 0 20px !important;
    }

    .full-width-container img {
        height: 250px !important;
    }

    .vision-mission-container {
        height: 280px;
    }

    .vision-overlay {
        padding: 15px 15px;
    }

        .vision-overlay h3 {
            font-size: 1.2rem;
            margin-bottom: 10px;
        }

        .vision-overlay p {
            font-size: 0.95rem;
            line-height: 1.6;
        }

    .video-container {
        width: 100% !important;
        margin: 20px auto !important;
        padding: 0 !important;
        display: flex;
        justify-content: center;
    }

        .video-container video {
            width: 100% !important;
            height: auto !important;
            border-radius: 8px;
            display: block;
        }

    .fullwidth-image {
        width: 100% !important;
        height: 220px !important;
        object-fit: cover !important;
        margin-top: 30px;
        display: block;
    }
}
