.about-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    margin: 50px auto;
    padding: 20px;
    background: white;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}
.about-text {
    width: 50%;
    padding: 20px;
}
.about-text h2 {
    color: #007bff;
    font-size: 24px;
    margin-bottom: 15px;
}
.about-text p {
    color: #333;
    font-size: 16px;
    line-height: 1.6;
}
.about-image {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.about-image img {
    width: 90%;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}
.about-image img:hover {
    transform: scale(1.05);
}
@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    .about-text, .about-image {
        width: 100%;
    }
    .about-image img {
        width: 100%;
    }
}
@media (max-width: 480px) {
    .about-section {
        padding: 10px;
    }
    .about-text h2 {
        font-size: 20px;
    }
    .about-text p {
        font-size: 14px;
    }
    .about-image img {
        width: 100%;
    }
}


/* الخدمات */
.services-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    /* width: 100%; */
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
}
.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 350px;
    text-align: center;
}
.service-image img {
    width: 100%;
    border-bottom: 3px solid #007bff;
    object-fit: cover;
}
.service-content {
    padding: 15px;
}
.service-content h3 {
    color: #007bff;
    font-size: 20px;
    margin-bottom: 10px;
}
.service-content p {
    color: #333;
    font-size: 16px;
    line-height: 1.5;
}
.service-content a {
    display: inline-block;
    margin-top: 10px;
    color: #d9534f;
    text-decoration: none;
    font-weight: bold;
}
.service-content a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .services-section {
        flex-direction: column;
        align-items: center;
    }
}
@media (max-width: 320px) {
    .service-card {
        max-width: 90%;
        margin: 10px auto;
    }
    .service-content h3 {
        font-size: 18px;
    }
    .service-content p {
        font-size: 14px;
    }
    .service-content a {
        font-size: 14px;
    }
}

/* اراء العملاء */
.testimonials-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #77aee9, #16283a); 
    color: white;
    margin-bottom: 10px;
}

.testimonial-image-section {
    position: relative; 
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45%;
    max-width: 500px; 
    margin: 20px;
    z-index: 1; 
}

.testimonial-content-overlay {
    position: absolute;
    bottom: 10px;
    left: 50%;
    width: 100%;
    max-width: 100%; 
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 20px;
    border-radius: 0 0 10px 10px;
    text-align: left;
    transition: all 0.3s ease-in-out;
    box-sizing: border-box;
    z-index: 2; 
}

.testimonial-image-section img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 10px;
}


.testimonial-content-overlay p {
    margin: 0;
    font-size: 16px;
}

.testimonial-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.nav-btn {
    background-color: #007bff;
    color: #004080;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.nav-btn:hover {
    background-color: #007bff;
}

.testimonial-text-section {
    width: 45%;
    max-width: 400px;
    text-align: right;
    margin: 20px;
}

.separator {
    width: 100%;
    height: 50px;
}

@media (max-width: 768px) {
    .testimonial-content-overlay {
        width: 100%;
        max-width: 100%;
        font-size: 14px;
        padding: 10px;
    }
}
@media (max-width: 480px) {
    .testimonial-image-section {
        width: 90%;  
        position: relative;  
        display: flex;
        margin: auto;
        overflow: hidden; 
    }

    .testimonial-content-overlay {
        position: absolute;
        bottom: 5px;  
        width: 100%; 
        min-height: 80px; 
        font-size: 12px;
        padding: 12px;
        background: rgba(0, 0, 0, 0.7);
        text-align: center;
        border-radius: 0 0 10px 10px;
        transition: all 0.3s ease-in-out;
        box-sizing: border-box;
        overflow: hidden; 
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .testimonial-content-overlay p {
        font-size: 12px;
        margin-bottom: 5px;
    }

    .testimonial-navigation {
        display: flex;
        justify-content: center;
        gap: 5px; 
        margin-top: 5px;
    }

    .nav-btn {
        padding: 5px 10px; 
        font-size: 12px;
    }

}

/* اراء العملاء  */

/* اتصل الان */
.contact-section {
    background: linear-gradient(135deg, #007bff, #004080);
    color: white;
    padding: 40px 20px; 
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-section::before {
    content: "";
    position: absolute;
    top: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.contact-section::after {
    content: "";
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.contact-container {
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px; 
    width: 95%;
    margin: auto;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.contact-info {
    flex: 1;
    width: 50%;
    text-align: left;
    padding: 15px; 
}

.contact-info h2 {
    font-size: 24px; 
    margin-bottom: 10px;
    text-align: center;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 10px; 
    font-size: 14px;
}
.contact-link {
    text-decoration: none; 
    display: block; 
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
    color: white; 
}

.contact-item:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.3); 
}

.contact-item a{
color: rgb(255, 255, 255);


}

.contact-item i {
    font-size: 18px;
    color: #ffd700;
}

.contact-image {
    flex: 1;
    width: 50%;
    text-align: center;
}

.contact-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .title h1{
        font-size: 25px; 
    }
    .contact-container {
        flex-direction: column;
        text-align: center;
        padding: 25px; 
        max-width: 90%;
        margin: auto; 
    }
    .contact-info {
        text-align: center;
        padding: 15px;
        border-radius: 10px; 
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); 
        width: 100%;
    }
    .contact-info h2 {
        font-size: 22px; 
    }
    .contact-details {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .contact-item {
        display: flex;
        align-items: center;
        gap: 12px; 
        justify-content: center;
        font-size: 18px; 
        padding: 10px;
     
        border-radius: 8px;
        box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.1);
    }
    .contact-item i {
        font-size: 22px; 
        color: #ff9800;
    }
    .contact-image img {
        max-width: 300px; 
        margin-top: 15px;
    }
}

@media (max-width: 480px) {

    .title h1{
        font-size: 22px; 
    }
    .contact-container {
        max-width: 95%;
        padding: 15px;
    }
    .contact-info h2 {
        font-size: 20px;
    }
    .contact-item {
        font-size: 16px;
        padding: 8px;
    }
    .contact-item i {
        font-size: 20px;
    }
    .contact-image img {
        max-width: 200px;
    }
}

@media (max-width: 320px) {
    .contact-container {
        padding: 10px;
    }
    .contact-info {
        padding: 12px;
    }
    .contact-item {
        font-size: 14px;
        padding: 6px;
    }
    .contact-item i {
        font-size: 18px;
    }
    .contact-image img {
        max-width: 180px;
    }
}



/*  */

/* الخريطة */
.map-container {
    width: 100%;
    height: 400px;
    margin-top: 20px;
}