.section {
    display: flex;
    align-items: center;
    justify-content: space-between;
 
    width: 95%;
    margin: 15px auto;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}
.text-content {
    max-width: 50%;
}
.text-content h2 {
    color: #091f5c;
}
.text-content p {
    color: #555;
    line-height: 1.7;
}
.button-WE {
    display: inline-block;
    padding: 10px 20px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
}
.image-container {
    width: 45%;
    position: relative;
    animation: float 4s infinite ease-in-out;
}
.image-container img {
    width: 100%;
    border-radius: 10px;
}

.image-container .serv1{
    height: 400px;
    width: 80%;

}
/* تأثير الحركة */
/* @keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
} */



/* ✅ السكشن الثاني: 4 بطاقات */
.services-section {
    display: flex;
    justify-content: center; 
    align-items: center; 
    text-align: center;
    padding: 60px 0;
 
}

.container {
    display: flex;
    justify-content: center; 
    align-items: center;
    flex-direction: column; 
    width: 100%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    justify-content: center; 
}

.service-box-about {
    text-decoration: none;
    width: calc(25% - 20px); 
    min-width: 250px;
    background-color: white;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    border: 4px solid #091f5c;
    transition: all 0.3s ease;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center; 
}

.service-box-about:hover {
    transform: translateY(-5px);
}

.service-box-about i {
    font-size: 40px;
    color: #091f5c;
    margin-bottom: 10px;
}

.service-box-about h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #091f5c;
}

.service-box-about p {
    font-size: 14px;
    color: #000000;
}
.service-box-about h3, .service-box-about p {
    text-align: center;
    margin: 5px 0;
}

.service-box-about a {
    width: 100%;
    height: 100%;
    text-decoration: none; 
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
   
.quote-section {
    text-align: center;
    padding: 10px;
    max-width: 700px;
    margin:2px auto;
}

.quote-icon {
    font-size: 60px;
    color: #091f5c;
    font-weight: bold;
}

.quote-text {
    font-size: 18px;
    color: #000000;
    line-height: 1.8;
    margin: 10px 0;
}

.quote-author {
    font-size: 16px;
    color: #000000;
    font-weight: bold;
}

/* @keyframes floatAnimation1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes floatAnimation2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(20px); }
}

@keyframes floatAnimation3 {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.4); }
}

@keyframes floatAnimation4 {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(40deg); }
}

.service-box-about:nth-child(1) i { animation: floatAnimation1 1s infinite ease-in-out; }
.service-box-about:nth-child(2) i { animation: floatAnimation2 1s infinite ease-in-out; }
.service-box-about:nth-child(3) i { animation: floatAnimation3 1s infinite ease-in-out; }
.service-box-about:nth-child(4) i { animation: floatAnimation4 1s infinite ease-in-out; }
 */



 

@media (max-width: 992px) {
    .text-content {
        max-width: 60%; 
    }
    .image-container {
        width: 35%; 
    }
    /* .services-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px; 
    } */
    .services-grid {
        grid-template-columns: repeat(2, 1fr); 
        width: 100%;
    }

    .service-box-about {
        width: 100%; 
    }
}


@media (max-width: 480px) {
    .image-container {
        width: 100%;
    }
    .services-grid {
        grid-template-columns: 1fr; 
    }

    .service-box-about {
        width: 95%; 
    }
}


    @media (max-width: 768px) {
        .quote-section {
            padding: 5px; 
            margin:2px auto ;
        }
        .quote-icon {
            font-size: 40px; 
        }
        .quote-text {
            font-size: 16px; 
            line-height: 1.6;
            padding: 0 15px; 
        }
        .quote-author {
            font-size: 14px;
        }
        .section {
            flex-direction: column;
            text-align: center;
            padding: 20px;
        }
        .text-content {
            max-width: 100%;
        }
        .image-container {
            width: 80%;
            margin-top: 20px;
        }
        .services-section {
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
        }
       .services-grid {
            grid-template-columns: repeat(1, 1fr);
            margin: auto;
            }
            .services-grid {
                grid-template-columns: 1fr; 
            }       
            .service-box-about {
                width: 80%; 
                margin: auto;
            }
    }
    