.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: #df710f;
    border-radius: 2px;
}

.line.middle {
    width: 80px;
}



/* about */
.container-about {
    width: 100%;
    max-width: 1500px;
    color: white;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin: 10px auto;
}

.row-about {
    color: white;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.column-about {
    width: 50%;
    padding: 10px;
}

.column-about img {
    width: 85%;
    height: auto;
    border-radius: 8px;
}

.column-text {
    width: 50%;
    font-size: 18px;
    color: white;
    margin-top: 20px;
}

.column-text p {
    margin-bottom: 10px;
    /* يمكنك تعديل الرقم للتحكم في المسافة */
}

/* about */
/* service */
.services-section {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 20px;
    margin: 10px 0;
}

.service {
    color: white;
    padding: 15px;
    border-radius: 8px;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);  */
    width: 270px;
    transition: box-shadow 0.3s ease-in-out;
    margin: 5px;
    
}

.service:hover {
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.7);
}

.service img {
    width: 100%;
    min-height: 200px;
    max-height: 200px;
    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;
}

.service p {
    font-size: 14px;
    color: white;
    text-align: center;
    margin-bottom: 10px;
}

.service a {
    text-align: center;
    display: block;
    text-decoration: none;
    background: #df710f;
    color: white;
    padding: 8px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .services-section {
        flex-direction: column;
        align-items: center;
    }

    .service {
        max-width: 80%;
    }
}

@media (max-width: 480px) {
    .service {
        max-width: 90%;
    }
}

/* service */
/* ايقونات */
.icons-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 0;
    margin: 15px 0;
    background: url('../img/Brand-Logo-BG-Images-03.jpg') no-repeat center center fixed;
    background-size: cover;
    position: relative;
}

.icons-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.title-row {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.icons-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}

.icon-box {
    position: relative;
    text-align: center;
    z-index: 1;
}

.icon-box i {
    color: white;
    font-size: 30px;
    position: relative;
    z-index: 1;
    /* margin-bottom: 10px; */
}

.icon-box::before {
    content: "";
    position: absolute;
    top: 12%;
    left: 50%;
    width: 50px;
    height: 50px;
    background: #8B5A2B;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease-in-out;
    z-index: 0;
}

.icon-box:hover::before {
    transform: translate(-50%, -50%) scale(1.3);
}

.icon-box p {
    color: #ffffff;
    margin-top: 40px;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .icons-row {
        grid-template-columns: repeat(2, 1fr);

    }

}

@media (max-width: 480px) {
    .icons-row {
        grid-template-columns: repeat(2, 1fr);

    }

    .icon-box::before {
        content: "";
        position: absolute;
        top: 12%;
        left: 50%;
        width: 50px;
        height: 50px;
        background: #8B5A2B;
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: transform 0.5s ease-in-out;
        z-index: 0;
    }

    .icon-box:hover::before {
        transform: translate(-50%, -50%) scale(1.3);
        transition: transform 0.5s ease-in-out;
    }
}


/* slideimg */

.galleryContainer {
    position: relative;
    max-width: 800px;
    margin: auto;
}

.slideItem {
    display: none;
    position: relative;
}

.slideItem img {
    width: 100%;
    border-radius: 10px;
}

.slideNumber {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 5px;
}

.navPrev,
.navNext {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    font-size: 18px;
    border-radius: 5px;
    transition: 0.3s;
}

.navPrev:hover,
.navNext:hover {
    background: rgba(0, 0, 0, 0.8);
}

.navPrev {
    left: 10px;
}

.navNext {
    right: 10px;
}

.thumbnailRow {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    gap: 5px;
}

.thumbnailColumn {
    width: 50px;
    cursor: pointer;
}

.thumbnailColumn img {
    width: 100%;
    border-radius: 5px;
    opacity: 0.6;
    transition: 0.3s;
}

.thumbnailColumn img:hover,
.activeThumbnail {
    opacity: 1;
    border: 2px solid #000;
}


/* slideimg */




.contact-container {
    max-width: 800px;
    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 */

/* الخريطة */
.map-container {
    width: 100%;
    height: 400px;
    margin-top: 20px;
    text-align: center;
}

/* media query for index page */

/* 768 */
@media screen and (max-width: 768px) {

    .service {
        flex-direction: column;
        align-items: center;
    }

    .service-item {
        width: 80%;
    }


    .title h1 {
        font-size: 25px;
    }

    .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: repeat(auto-fit, minmax(250px, 1fr));
    }

    .service-item {
        width: 100%;
    }

    .service-title {
        font-size: 28px;
    }

    .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;
    }
}