/* =========================================================
   Online Services Page
========================================================= */

.services-page-header {
    background: linear-gradient(
        rgba(62, 193, 213, 0.92),
        rgba(62, 193, 213, 0.92)
    );

    padding: 150px 0 70px;

    text-align: center;

    color: #fff;
}


/* عنوان الصفحة */

.services-page-title h1 {
    font-size: 42px;
    font-weight: 700;

    margin: 0 0 15px;

    color: #fff;
}

.services-page-title p {
    font-size: 18px;

    margin: 0 auto;

    max-width: 750px;

    line-height: 2;

    color: #fff;
}


/* =========================================================
   Main Section
========================================================= */

.online-services-section {
    background: #f8f9fa;

    padding: 70px 0 80px;
}


/* =========================================================
   Category
========================================================= */

.service-category {
    background: #fff;

    border-radius: 14px;

    padding: 35px;

    margin-bottom: 40px;

    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}


/* عنوان القسم */

.category-title {
    display: flex;

    align-items: center;

    gap: 18px;

    margin-bottom: 30px;

    padding-bottom: 20px;

    border-bottom: 1px solid #eee;
}


.category-icon {
    width: 60px;
    height: 60px;

    min-width: 60px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 14px;

    background: #3ec1d5;

    color: #fff;

    font-size: 28px;
}


.category-title h2 {
    font-size: 26px;

    font-weight: 700;

    margin: 0 0 5px;

    color: #222;
}


.category-title p {
    margin: 0;

    color: #777;

    font-size: 15px;
}


/* =========================================================
   Services Grid
========================================================= */

.services-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}


/* =========================================================
   Service Card
========================================================= */

.online-service-card {

    display: flex;

    align-items: center;

    position: relative;

    min-height: 100px;

    padding: 18px;

    background: #fff;

    border: 1px solid #e7e7e7;

    border-radius: 12px;

    text-decoration: none;

    transition: all 0.3s ease;
}


.online-service-card:hover {

    transform: translateY(-4px);

    border-color: #3ec1d5;

    box-shadow: 0 8px 25px rgba(62, 193, 213, 0.15);
}


/* =========================================================
   Service Icon
========================================================= */

.service-icon {

    width: 52px;

    height: 52px;

    min-width: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(62, 193, 213, 0.10);

    color: #3ec1d5;

    border-radius: 12px;

    font-size: 23px;

    margin-left: 14px;
}


.online-service-card:hover .service-icon {

    background: #3ec1d5;

    color: #fff;
}


/* =========================================================
   Service Content
========================================================= */

.service-content {

    flex: 1;

    min-width: 0;
}


.service-content h3 {

    margin: 0 0 6px;

    color: #333;

    font-size: 17px;

    line-height: 1.6;

    font-weight: 600;
}


.service-content span {

    color: #888;

    font-size: 13px;
}


/* =========================================================
   Arrow
========================================================= */

.service-arrow {

    color: #3ec1d5;

    font-size: 18px;

    margin-right: 10px;

    transition: transform 0.3s ease;
}


.online-service-card:hover .service-arrow {

    transform: translateX(-5px);
}


/* =========================================================
   Future Services Note
========================================================= */

.services-note {

    display: flex;

    align-items: center;

    gap: 20px;

    background: #3ec1d5;

    color: #fff;

    border-radius: 14px;

    padding: 25px 30px;

    margin-top: 10px;
}


.services-note > i {

    font-size: 38px;

    min-width: 40px;
}


.services-note h3 {

    margin: 0 0 5px;

    font-size: 20px;
}


.services-note p {

    margin: 0;

    font-size: 15px;

    line-height: 1.8;
}


.services-note > div {

    flex: 1;
}


.services-note a {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    background: #fff;

    color: #3ec1d5;

    padding: 11px 20px;

    border-radius: 30px;

    text-decoration: none;

    white-space: nowrap;

    font-weight: 600;

    transition: all 0.3s ease;
}


.services-note a:hover {

    background: #222;

    color: #fff;
}


/* =========================================================
   Footer Links
========================================================= */

.footer-links {

    list-style: none;

    padding: 0;

    margin: 0;
}


.footer-links li {

    margin-bottom: 10px;
}


.footer-links li a {

    color: #555;

    text-decoration: none;

    transition: 0.3s;
}


.footer-links li a:hover {

    color: #3ec1d5;

    padding-right: 5px;
}


/* =========================================================
   Responsive
========================================================= */

@media (max-width: 991px) {

    .services-grid {

        grid-template-columns: repeat(2, 1fr);
    }

    .service-category {

        padding: 25px;
    }

}


@media (max-width: 767px) {

    .services-page-header {

        padding: 130px 20px 55px;
    }


    .services-page-title h1 {

        font-size: 32px;
    }


    .services-page-title p {

        font-size: 16px;
    }


    .online-services-section {

        padding: 50px 15px;
    }


    .service-category {

        padding: 20px;

        margin-bottom: 25px;
    }


    .category-title {

        align-items: flex-start;
    }


    .category-title h2 {

        font-size: 21px;
    }


    .category-title p {

        font-size: 14px;
    }


    .services-grid {

        grid-template-columns: 1fr;

        gap: 12px;
    }


    .online-service-card {

        min-height: 90px;
    }


    .service-content h3 {

        font-size: 16px;
    }


    .services-note {

        flex-direction: column;

        text-align: center;

        padding: 25px 20px;
    }

}


/* =========================================================
   Small Mobile
========================================================= */

@media (max-width: 400px) {

    .category-icon {

        width: 50px;

        height: 50px;

        min-width: 50px;

        font-size: 22px;
    }


    .category-title {

        gap: 12px;
    }


    .service-icon {

        width: 45px;

        height: 45px;

        min-width: 45px;

        font-size: 20px;

        margin-left: 10px;
    }


    .service-content h3 {

        font-size: 15px;
    }

}