:root{
    --primaryColor:#338d78;
    --middleColor:#4cac97f2;
    --helperColor:#48BDA3F2;
    --lightHelper:#DBDBDB;
    --transparentColor:#66d2cf88;
    --shadow:rgba(189, 188, 188, 0.514);
   /* --------------------------------- */
    --whatsappColor:#25D366;
    --white:#ffff;
    --blue: #1877F2;
    --green: #25D366;
  
    --gray:  #f8f8f8;
}
.service-section{
    display: flex;
    flex-direction: column;
    gap: 90px;
    margin-top: 20px;
}

.service-section h1{
    color: var(--primaryColor);
  width: fit-content;
  border-bottom: 4px solid var(--primaryColor);
  margin: auto;
  font-size: 2.5rem;
}
.services-container{
    margin-top: 30px;
    display: flex;
    flex-direction: row;
    gap:90px ;
    width: 80%;
    margin: auto;
}
/* ----------------------------------------------- */
.service-section {
    display: flex;
    flex-direction: column;
    gap: 90px;
    margin-top: 40px;
    animation: fadeIn 1.2s ease-in-out;
}

.service-section h1 {
    color: var(--primaryColor);
    width: fit-content;
    border-bottom: 4px solid var(--helperColor);
    margin: auto;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    animation: slideDown 1s ease-in-out;
}

.services-container {
    margin-top: 40px;
    display: flex;
    flex-direction: row;
    gap: 70px;
    width: 85%;
    margin: auto;
    align-items: center;
    justify-content: center;
    animation: fadeUp 1.5s ease-in-out;
}

/* =============================== */
/* details box */
.sevices-details {
    padding: 40px 30px;
    width: 45%;
    background: var(--white);
    /* box-shadow: 0 8px 25px rgba(0,0,0,0.08); */
    border-radius: 20px;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.sevices-details:hover {
    transform: translateY(-10px);
    /* box-shadow: 0 12px 35px rgba(0,0,0,0.15); */
}

.sevices-details h2 {
    font-size: 1.7rem;
    color: var(--primaryColor);
    margin-bottom: 15px;
    animation: fadeIn 1.3s ease-in-out;
}

.sevices-details p {
    font-size: 1.15rem;
    color: var(--middleColor);
    line-height: 1.6;
    animation: fadeIn 1.6s ease-in-out;
}

/* =============================== */
/* image side */
.services-image {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeUp 1.5s ease-in-out;
}

.services-image img {
    max-height: 300px;
    width: 100%;
    border-radius: 25px;
    object-fit: cover;
    transition: transform 0.8s ease, box-shadow 0.5s ease;
}
.services-image img:hover {
    transform: scale(1.08) rotate(2deg);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

/* =============================== */
/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}


/* ----------------------------------------- */
.services-rows-container{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    width: 90%;
    margin: auto;
    gap: 50px;
}.services-rows-container-link {
    border-radius: 20px;
    /* padding: 30px 20px; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 90%;
    margin: auto;
    background: var(--white);
    /* box-shadow: 0 6px 20px rgba(0,0,0,0.08); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--shadow);
    text-align: center;
}


.services-rows-container-link:hover {
    transform: translateY(-12px);
    /* box-shadow: 0 12px 30px rgba(0,0,0,0.12); */
}

/* صور الكارت */
.card-image {
    width: 100%;
    border-radius: 15px 15px 0 0;
    /* max-height: 150px; */
    /* min-height: 150px; */
    /* height: 150px; */
    object-fit: cover;
    transition: transform 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}
.card-image:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* عناوين */
.services-rows-container h3 {
    color: var(--primaryColor);
    font-size: 1.3rem;
    margin-top: 10px;
    font-weight: bold;
}

/* زرار CTA */
.services-rows-container button {
    background: linear-gradient(135deg, var(--helperColor), var(--primaryColor));
    color: var(--white);
    width: 100%;
    margin: 15px auto 0;
    padding: 12px;
    border-radius: 30px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.4s ease, transform 0.3s ease;
}
.services-rows-container button:hover {
    background: linear-gradient(135deg, var(--primaryColor), var(--helperColor));
    transform: scale(1.05);
}

/* لينك واتساب */
.services-rows-container-whats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 90%;
    margin:10px auto;
    padding: 12px 20px;
    background: var(--whatsappColor);
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 30px;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.services-rows-container-whats:hover {
    transform: translateX(8px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* آيكون */
.icon {
    width: 28px;
    height: 28px;
    background: transparent;
}

@media (max-width:800px) {
    .service-section{
        gap: 30px;
    }
    
    .service-section h1{
      font-size: 1.5rem;
    }
    .services-container{
        flex-direction: column;
        gap:10px ;
    }

    /* ----------------------------------------------- */
.sevices-details{
    padding:3px 10px;
  width: 100%;
}

.sevices-details h2{
    font-size: 1.3rem;
}

.sevices-details p{
    font-size: 1.05rem;
    color: var(--middleColor);
}
/* ------------------------------------------------- */
.services-image{
    width: 100%;
    margin: auto;
}

/*  ----------------------------------------- */ 
.services-rows-container{
   
    grid-template-columns: repeat(1,1fr);
    gap: 20px;
}
.services-rows-container-link{
    padding:0% 0% 5% 0%;
    gap: 5px;
}

.services-rows-container-link:hover{
   transform: translateY(-10px)
}

.services-rows-container-whats{
    width: 80%;
    font-weight: 900;
    font-size: small;
    gap: 10px;
}

.services-image{
    width: 100%;
    margin: auto;
}
/* &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& */


}