@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&family=Noto+Kufi+Arabic:wght@100..900&display=swap');
/* Arabic Font Styling for Service Pages */
.services-container {
    height: 100%;
    width: 75%;
    margin: auto;
    background-repeat: no-repeat !important;
    padding: 255px 0px 250px !important;
    background-attachment: scroll !important;
    font-family: 'Noto Kufi Arabic', 'Cairo', sans-serif;
    line-height: 1.8;
}
/* Banner Image Styling */
.service-banner {
    width: 100%;
    height: 400px;
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.service-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.service-banner:hover img {
    transform: scale(1.05);
}


.services-container h1,
.services-container h2,
.services-container h3 {
    font-family: 'Noto Kufi Arabic', 'Cairo', sans-serif;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.services-container h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 2rem;
    margin-top: 3rem;
}

.services-container h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #222;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.service-body{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.service-body-content{
    width: 70%;
    padding: 0 100px 0 0;
}

.service-body-contact{
    width: 30%;
}

.services-container h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #222;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.services-container p {
    font-family: 'Noto Kufi Arabic', 'Cairo', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    text-align: justify;
    text-justify: inter-word;
}

.services-container ul {
    font-family: 'Noto Kufi Arabic', 'Cairo', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    padding-right: 1.5rem;
}

.services-container ul li {
    font-family: 'Noto Kufi Arabic', 'Cairo', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 0.8rem;
    text-align: justify;
    text-justify: inter-word;
}

.services-container strong {
    font-family: 'Noto Kufi Arabic', 'Cairo', sans-serif;
    font-weight: 600;
    color: #222;
}

.services-container span {
    font-family: 'Noto Kufi Arabic', 'Cairo', sans-serif;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .services-container {
        width: 95%;
        padding: 150px 0px 150px !important;
    }
    
    .service-banner {
        height: 300px;
        margin-bottom: 1.5rem;
    }
    
    .services-container h1 {
        font-size: 2rem;
        margin-top: 2rem !important;
    }
    
    .services-container h2 {
        font-size: 1.5rem;
    }
    
    .services-container h3 {
        font-size: 1.2rem;
    }
    
    .services-container p,
    .services-container ul,
    .services-container ul li {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .services-container {
        width: 98%;
        padding: 100px 0px 100px !important;
    }
    
    .service-banner {
        height: 250px;
        margin-bottom: 1rem;
    }
    
    .services-container h1 {
        font-size: 1.8rem;
    }
    
    .services-container h2 {
        font-size: 1.3rem;
    }
    
    .services-container h3 {
        font-size: 1.1rem;
    }
} 

.service-body-contact.contact-card {
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
    margin-top: 32px;
}

.service-body-contact .contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.18rem;
    font-weight: 700;
    padding: 18px 36px;
    border-radius: 36px;
    transition: 
        background 0.3s cubic-bezier(.4,2,.6,1), 
        color 0.2s, 
        box-shadow 0.3s cubic-bezier(.4,2,.6,1), 
        transform 0.18s cubic-bezier(.4,2,.6,1);
    text-decoration: none;
    margin-bottom: 0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    border: none;
    outline: none;
    width: 100%;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    background-size: 300% 300%;
    z-index: 1;
    cursor: pointer;
}

.service-body-contact .phone-btn {
    background: #fff;
    color: #222;
    box-shadow: 0 2px 12px rgba(0,123,255,0.15);
}
.service-body-contact .phone-btn:hover, .phone-btn:focus {
    background-position: 100% 0;
    color: #222;
    transform: translateY(-3px) scale(1.04) rotate(-1deg);
    filter: brightness(1.08);
}
.service-body-contact .phone-btn:active::after {
    animation: ripple 0.5s linear;
}

.service-body-contact .whatsapp-btn {
    background: #222;
    color: #fff;
    box-shadow: 0 2px 12px rgba(37,211,102,0.15);
}
.service-body-contact .whatsapp-btn:hover, .whatsapp-btn:focus {
    background-position: 100% 0;
    color: #fff;
    transform: translateY(-3px) scale(1.04) rotate(1deg);
    filter: brightness(1.08);
}
.service-body-contact .whatsapp-btn:active::after {
    animation: ripple 0.5s linear;
}

.service-body-contact .contact-btn i {
    margin-right: 18px;
    margin-left: 18px;
    font-size: 1.7em;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.10));
    transition: transform 0.5s cubic-bezier(.4,2,.6,1), color 0.2s;
    z-index: 2;
}

@keyframes icon-bounce-adv {
    0% { transform: translateX(0) scale(1) rotate(0); }
    30% { transform: translateX(12px) scale(1.22) rotate(-10deg); }
    60% { transform: translateX(6px) scale(1.1) rotate(-5deg); }
    100% { transform: translateX(12px) scale(1.18) rotate(-10deg); }
}

/* Ripple effect on click */
.service-body-contact.contact-btn::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255,255,255,0.5);
    opacity: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: none;
    z-index: 0;
}
.service-body-contact .contact-btn:active::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(18);
    transition: transform 0.5s, opacity 0.5s;
}

@keyframes ripple {
    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(18);
    }
}

@media (max-width: 600px) {
    .service-body-contact.contact-btn {
        font-size: 1rem;
        padding: 13px 0;
        border-radius: 24px;
    }
    .service-body-contact.contact-card {
        gap: 16px;
    }
}

@media (max-width: 800px) {
    .service-body{
        flex-direction: column-reverse;
    }

    .service-body-contact, .service-body-content{
        width: 100%;
        padding: 10px 2% !important;
    }

    .service-banner{
        width: 100%;
        margin: 20px 0 0 0 !important;
        padding: 0;
        border-radius: 0 !important;
    }

    .register-form{
        width: 100% !important;
    }

    .service-body-contact .contact-btn{
        padding: 18px 10px !important;
        font-size: 13px !important;
    }

    .fa-whatsapp{
        font-size: 21px !important;
    }

}

