@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&family=Tajawal:wght@400;700&display=swap');

:root{
    --primaryColor:#A50034;
    --middleColor:#393E46;
    --helperColor:#660B05;
    --lightHelper:#dce2f8;
    --hrColor: #A9B5DF;
    --transparentColor:rgba(0, 0, 0, 0.699);
    --shadow:rgba(189, 188, 188, 0.514);
   /* --------------------------------- */
    --whatsappColor:#25D366;
    --white:#ffff;
    --blue: #1877F2;
    --green: #25D366;
    --gray:  #f8f8f8;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', 'Tajawal', sans-serif;
}


/* single-hero Section */
.single-hero {
    background: linear-gradient(135deg, var(--helperColor) 0%, #8f0430 50%, var(--primaryColor) 100%);
    color: #fff;
    margin: 0 0 5px 0;
    padding: 100px 50px;
    position: relative;
    display: flex;
    justify-content: space-between;
}
.single-overlay a,.flex-data a{
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    gap: 5px;
    width: 40%;
    margin: auto;
    padding:  10px;
    background: var(--gray);
    color: var(--whatsappColor);
    font-weight: 400;
    font-size: large;
    text-decoration: none;
    border-radius: 25px;
    border: 1px solid var(--whatsappColor);
    /* box-shadow: 0px 4px 6px var(--shadow); */
    transition:transform 0.5s ease-in-out;
    direction: ltr;
}

.single-overlay a:hover,.flex-data a:hover{
    transform: scaleX(1.02);
}

.icon{
background-color: rgba(255, 255, 255, 0);
font-size: large;
}
.single-hero .single-overlay {
    max-width: 50%;
    text-align: start;
    line-height: 1.6;
    padding: 0 80px;
}
.single-hero .single-img {
    width: 50%;
    height: 450px;
    border-radius: 100px 10px 100px 10px ;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.single-hero .single-img img{
    width: 80%;
    height: 450px;
    border-radius: 100px 10px 100px 10px;
}

.single-hero h1 {
    font-size: 40px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 8px;
}
.single-hero h1::after{
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 20%;
    height: 3px;
    background: var(--primaryColor);
    border-radius: 2px;
}

.single-hero p {
    font-size: 22px;
    margin-bottom: 20px;
}
.flex-data{
    display: flex;
    flex-direction: column;
}
.flex-data ul{
    list-style: none;
}


/* ====== Animations إضافية ====== */

/* حركة ظهور للفوق عند التحميل */
@keyframes fadeUp {
    0% {
      opacity: 0;
      transform: translateY(40px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* حركة تكبير بسيطة عند المرور */
  @keyframes pop {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.05);
    }
    100% {
      transform: scale(1);
    }
  }
  
  /* تأثير دخول العناصر الرئيسية */
  .single-hero,
  .single-single,
  .single-contact,
  .address-container {
    animation: fadeUp 1s ease forwards;
  }
  
  /* ترتيب الظهور */
  .single-hero { animation-delay: 0.2s; }
  .single-single { animation-delay: 0.4s; }
  .single-contact { animation-delay: 0.6s; }
  .address-container { animation-delay: 0.8s; }
  
  /* حركة على الكروت عند المرور */
  .service-card,
  .single-stats div {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }
  
  .service-card:hover,
  .single-stats div:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  }
  
  /* حركة أيقونات التواصل */
  .icon-contact {
    transition: transform 0.3s ease;
  }
  
  .icon-contact:hover {
    animation: pop 0.4s ease;
  }
  

/* Responsive Design */


/* للشاشات المتوسطة مثل التابلت */
@media (max-width: 1500px) {
    .single-hero {
        flex-direction: column;
        padding: 50px 10px;
        text-align: center;
        align-items: center;
        margin-bottom: 0;
    }

    .single-hero .single-img {
        width: 100%;
        padding: 20px;
    }

    .single-hero .single-overlay {
        max-width: 100%;
        padding: 0 10px;
        text-align: center;
    }
    .single-hero .single-overlay h1 {
        font-size: 47px; 
        font-weight: 700;
    }

    .single-hero p {
        font-size: 30px;
    }
    .single-hero h1::after {
        left: 50%;
        transform: translateX(-50%);
        right: auto;
    }

     .single-overlay a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        width: 25%;
        padding: 12px 24px; 
        background: var(--gray);
        color: var(--whatsappColor);
        font-weight: 600;
        font-size: 20px; 
        text-decoration: none;
        border-radius: 25px;
        border: 1px solid var(--whatsappColor);
        transition: transform 0.3s ease-in-out;
        margin: 20px 0;
    }
     .single-overlay a i{
        font-weight: 500;
        font-size: 20px; 
    }
    .single-overlay a:hover {
        transform: scale(1.05);
    }
}
@media (min-width: 1200px) and (max-width: 1499px) {
    .single-hero .single-img img {
        width: 45%;
    }
}
@media (min-width: 993px) and (max-width: 1199px) {
    .single-hero .single-img img {
        width: 55%;
    }
}
@media (min-width: 577px) and (max-width: 992px) {
    .single-overlay a{
        width: 50%;
    }
    
}
/* للشاشات الصغيرة مثل الموبايل */
@media (max-width: 576px) {
    .single-hero {
        padding: 30px 15px;
    }

    .single-overlay a {
        width: 50%;   
    }

    .single-hero .single-overlay h1 {
        font-size: 32px;
    }

    .single-hero .single-overlay p {
        font-size: 20px;
    }

    .single-hero .single-img {
        height: 250px;
    }
    .single-hero .single-img img {
        width: 90%;
        height: 250px;
    }

    .single-overlay a {
        font-size: 15px;
        padding: 8px 12px;
    }

   
}
.may-single {
    display: flex;
    align-items: center;
    /* flex-wrap: wrap; */
    padding: 50px 20px;
    gap: 20px;
}
.may-single .single-overlay-sec {
    max-width: 50%;
    text-align: start;
    line-height: 1.6;
    padding: 0 80px;
}
.may-single .single-img-sec {
    width: 50%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    
}
.may-single .single-img-sec div{
    width: 70%;
    height: 400px;
    display: flex;
    /* background-color: var(--helperColor); */
    align-items: center;
    justify-content: center;
    position: relative;
}
.may-single .single-img-sec img{
    width: 90%;
    height: 100%;
    position: absolute;
    top: -4%;
}

.may-single h2 {
    font-size: 40px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 8px;
}
.may-single h2::after{
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 20%;
    height: 3px;
    background: var(--primaryColor);
    border-radius: 2px;
}

.may-single p {
    font-size: 22px;
    margin-bottom: 20px;
}



/* -------- Responsive -------- */
@media (max-width: 992px) {
    .may-single {
        flex-direction: column;
        text-align: center;
    }

    .may-single .single-overlay-sec {
        padding: 0 20px;
        max-width: 100%;
    }

    .may-single .single-img-sec {
        width: 100%;
    }

    .may-single .single-img-sec div {
        width: 75%;
    }

    .may-single h2 {
        font-size: 40px;
    }

    .may-single p {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .may-single {
        padding: 30px 10px;
        gap: 0;
    }

    .may-single .single-img-sec  {
        width: 100%;
        height: 340px;
    }
    .may-single .single-img-sec div {
        width: 100%;
        height: 300px;
    }
    .may-single .single-img-sec div img{
        width: 90%;
        height: 300px;
    }
    .may-single h2 {
        font-size: 34px;
    }

    .may-single p {
        font-size: 20px;
    }
}