* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Cairo', sans-serif;
    background: #dfd9d9;
}
.whatsapp{
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 5px 25px #25D366;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
    animation: glow 1.5s infinite alternate;
    cursor: pointer;
}
.whatsapp img{
    width: 100%;
    height: 100%;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(117, 119, 236,0.5);
    color: white;
    padding: 10px 20px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}
header .logo{
    display: flex;
}
header .logo img{
    margin-left: 10px;
    width: 50px;
    height: 50px;
}
nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin: 0 15px;
}
nav ul li:hover {
    border-bottom: white 2px solid;
}
nav ul li p{
    display: none;
}
nav ul li a {
    color: white;
    text-decoration: none;
}
nav ul .marketing a{
    color: rgb(230, 195, 106);
    font-weight: bold;
}
nav ul .call{
    background-color: #25D366;
    border-radius: 10px;
    padding: 3px 10px;
    text-align: center;
}
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}
.slider {
    position: relative;
    height: 300px;
    background: url('images/background_image.jpg') no-repeat center center/cover;
    background-size: cover;
    border-bottom-left-radius: 20%;
    border-bottom-right-radius: 20%;
}

.slide {
    display: none;
    text-align: center;
    color: rgb(41, 99, 223);
    padding: 45px 20px;
    font-weight: bold;
}
.slide p{
    background-color: rgba(248, 238, 238, 0.9);
}
.slide.active {
    display: block;
}

.social-icons {
    position: absolute;
    bottom: 20px;
    align-items: center;
    margin-right: 10%;
}

.social-icons a , .social-links a {
    margin: 0 5px;
}
.social-icons a img , .social-links a img{
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.about-section {
    background: linear-gradient(to right, #f0f0f0, #e8e8e8);
    padding: 40px 20px;
    border-radius: 16px;
    margin: 40px auto;
    max-width: 900px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    direction: rtl;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.about-section img{
    width: 40%;
    height: 40%;
    border-radius: 50%;
}
.about-section h3 {
    font-size: 2rem;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
}
.about-section p {
    font-family: 'Cairo', sans-serif;
    font-size: 1.1rem;
    line-height: 1.9;
    color: #444;
    background-color: #fff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #ddd;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.03);
}
  
.services {
    padding: 20px;
    text-align: center;
    background-color: darkgray;
}

.service-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.service-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin: 10px;
    padding: 20px;
    width: 200px;
    text-align: center;
    transition: transform 0.3s;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.service-card.show {
    opacity: 1;
    transform: translateY(0);
}
  
.service-card:hover {
    transform: scale(1.05);
}
.service-card img{
    width: 90%;
    height: 40%;
}
.service-card a{
    text-decoration: none;
    color: blue;
}
.service-card a p{
    color: black;
}

/*لماذا نحن*/
.why-us {
  background-color: #fff;
  padding: 50px 20px;
  text-align: center;
  max-width: 1200px;
  margin: auto;
}

.why-us h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #007bff;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.card {
  background-color: #f0f8ff;
  border-radius: 12px;
  padding: 30px 20px;
  width: 250px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  color: #007bff;
}

.card:hover {
  transform: translateY(-10px);
}

.card .icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.card h3 {
  margin: 10px 0;
  font-size: 1.3rem;
}

.card p {
  font-size: 0.95rem;
  color: #333;
}
/* إعداد الحركة */
.card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  /* عندما تظهر البطاقة */
  .card.show {
    opacity: 1;
    transform: translateY(0);
  }
  
/*اراء العملاء*/
.customer-opinions{
    margin-top: 20px;
    background-color: rgba(117, 119, 236,0.5);
    margin: 15px;
    padding: 10px;
    border-radius: 15px;
}
.customer-opinions h3{
    font-size: 3rem;
    color: rgb(235, 228, 228);
    text-align: center;
    margin-bottom: 30px;
}
.testimonial-section {
    max-width: 600px;
    margin: 20px auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    direction: rtl;
  }
  
  .testimonial {
    display: none;
    padding: 30px;
    transition: all 0.5s ease-in-out;
  }
  
  .testimonial.active {
    display: block;
  }
  
  .testimonial h4 {
    margin: 0 0 10px;
    color: #007bff;
  }
  
  .testimonial p {
    margin: 0;
    color: #333;
  }
  
  .dots {
    text-align: center;
    padding: 10px;
  }
  
  .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .dot.active {
    background-color: #007bff;
  }
  
.whatsapp-button {
    text-align: center;
    margin: 20px 0;
}

.whatsapp-button a {
    background: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
}

footer {
    background: #6366f1;
    color: white;
    text-align: center;
    padding: 20px;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
}

footer .social-links {
    margin-bottom: 10px;
}

footer .social-links a {
    margin: 0 5px;
}

/* Responsive Design */
@media (max-width: 1059px) {
    .whatsapp{
        height: 40px;
        width: 40px;
    }
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        background: #8e90d6;
        top: 65px;
        left: 0;
        width: auto;
        height: 50%;
        z-index: 999;
        border-top-right-radius: 15px;
        border-bottom-right-radius: 15px;
    }
    nav ul.active {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
    nav ul li{
        margin: 10px;
    }
    nav ul li p{
        display: inline;
        margin-left: 10px;
    }
    nav ul .call{
        margin-top: 30px;
    }
    .about-section{
        display: block;
    }
}
@media (max-width: 480px){
    .services{
        padding: 5px;
    }
    .service-card {
        padding: 7px;
        width: 150px;
    }
    .service-card h3{
        font-size: 15px;
        font-weight: bold;
    }
    .service-card p{
        font-size: 14px;
    }
    footer p{
        font-size: 13px;
    }
}