.service-title {
    text-align: center;
    color: #fcfcfc;
    font-size: 35px;
    font-weight: 800;
    margin-bottom: 20px;
}
.service-title1 {
    font-size: 35px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #ffffff;
    text-align: center;
}
.lines-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-bottom: 30px;
    margin-top: 30px;

}

.line {
    width: 50px;
    height: 4px;
    background: #ffffff;
    border-radius: 2px;
}

.line.middle {
    width: 80px;
}



/* about */
.container-about {
    width: 100%;
    color: white;
    padding: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin: 10px auto;
}
.row-about {
    justify-content: center;
    align-items: center;
    color: white;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.column-about {
    width: 48%;
    padding: 5px;
    justify-content: center;
    align-items: center;
}
.column-about img {
    width: 75%;
    height: auto;
    border-radius: 8px;
    text-align: center;
    margin: 5px auto;
}
.column-about img:hover {
    transform: scale(1.1);

}
.column-text {
    width: 50%;
    font-size: 18px;
    color: white;
    padding: 5px;
    line-height: 28px;
}

.column-text p {
    margin-bottom: 10px;
}

/* about */


/* service */

.services-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
    margin: 10px auto;
    text-align: center;
}
.service {
    width: 30%; 
    margin: 1%;
    padding: 15px;
    border-radius: 8px;
    transition: box-shadow 0.3s ease-in-out;
  
}
.service:hover {
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.7);
}
.service img {
    width: 100%;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
}
.service img:hover {
    transform: scale(1.1);
}
.service h3 {
    font-size: 18px;
    margin: 10px 0;
    color: #ffffff;
    text-align: center;
}
.service p {
    font-size: 14px;
    color: rgb(0, 0, 0);
    text-align: center;
    margin-bottom: 10px;
}
.service a {
    text-align: center;
    display: block;
    text-decoration: none;
    background: #ffffff  ;
    color: rgb(0, 0, 0);
    padding: 8px;
    border-radius: 5px;
}


/* service */

/* ايقونات */
.icons-section {
    background-color: #5da5d8;
    padding: 20px;
    margin: 0 auto;
    text-align: center;
}

.icons-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    
}

.icon-box {
    color: #ffffff;
    text-align: center;
    padding: 20px;
    flex: 1;
    min-width: 150px;
   
}

.icon-box i {
    font-size: 40px;
    margin-bottom: 10px;
}

.icon-box h2 {
    font-size: 30px;
    margin: 5px 0;
}

.icon-box p {
    font-size: 18px;
}


/* ايقونات */
/* طلب الخدمة */
.steps-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    width: 100%;
    max-width: 1200px;
   
    justify-content: center;
    align-items: center;
}


.title-row p{
    color: #ffffff;
}

.steps-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.step {
    background: white;
    padding: 15px;
    width: calc(33.333% - 20px);
    min-width: 280px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.step:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}

.step img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 10px;
}

.step h3 {
    font-size: 18px;
    color: #333;
}

/* ✅ تحسين التوافق مع الهواتف */
@media (max-width: 768px) {
    .steps-row {
        flex-direction: column;
        align-items: center;
    }
    .step {
        width: 90%;
    }
}

/* طلب الخدمة */


.galleryContainer {
    width: 80%;
    max-width: 1000px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.galleryContainer h2 {
  text-align: center;
  color: #ffffff;
}
.galleryContainer p {
    text-align: center;
    color: #ffffff;
  }
.galleryRow {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.galleryItem {
    flex: 1;
    max-width: 220px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.galleryItem.large {
    max-width: 250px;
}

.galleryItem img {
    width: 100%;
    display: block;
    border-radius: 15px;
}

.galleryItem:hover {
    transform: scale(1.05);
}

/* contact */


.contact-container {
    max-width: 1400px;
    margin: 50px auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
}

.contact-row {
    display: flex;
    gap: 20px;
}

.contact-box {
    flex: 1;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.contact-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.contact-box i {
    font-size: 30px;
    color: #d67d3e;
    margin-bottom: 10px;
}

.contact-box h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
}

.contact-box p {
    font-size: 14px;
    color: #777;
}

/* contact */
.container4 {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.containerrow {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 15px; 
    width: 90%; 
    max-width: 1200px;
}

.item {
    text-align: center;
    background-color: #f4f4f4;
    border-radius: 3%;
    border: 1px solid rgb(236, 236, 236);
    padding: 20px;
    box-shadow: 0 4px 8px rgba(128, 128, 128, 0.5);
}


@media screen and (max-width: 900px) {
    .containerrow {
        grid-template-columns: repeat(2, 1fr); 
    }
}


@media screen and (max-width: 600px) {
    .containerrow {
        grid-template-columns: repeat(1, 1fr); 
    }
}

/* الخريطة */
.map-container {
    width: 100%;
    height: 400px;
    margin-top: 20px;
    text-align: center;
}

/* media query for index page */

/* 768 */
@media screen and (max-width: 768px) {
   
    .services-section {
        flex-direction: column;
        align-items: center;
    }
    .service {
        width: 48%;
    }


    .title h1{
        font-size: 25px; 
    }

    .icons-row {
        grid-template-columns: repeat(2, 1fr);
        
    }

    .row-about {
        flex-direction: column;
    }

    .column-about, .column-text {
        width: 100%;
        text-align: center;
    }
    .contact-row {
        flex-direction: column;
    }


}


/* 480 */
@media screen and (max-width: 480px) {


/* service */
.services-container {
    grid-template-columns: 1fr;
}
   
    .service-title {
        font-size: 28px;
    }

    .service {
        width: 100%;
    }
    .btn {
        padding: 8px 12px;
        font-size: 14px;
    }

    .title h1{
        font-size: 22px; 
    }

    .container-about {
        padding: 10px;
    }

    .column-text {
        font-size: 16px;
        text-align: center;
    }
    
    .row-about {
        margin-bottom: 10px;
    }
    .contact-container {
        padding: 0 10px;
    }
    .icons-row {
        grid-template-columns: repeat(1, 1fr);
       
    }
   

}

