/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', 'Segoe UI', sans-serif;
}
body {
    background-color: #f9fafb;
    color: #1f2937;
    line-height: 1.7;
}

h1, h2, h3, h4 {
    color: #1e3a8a;
    font-weight: 700;
}

p {
    color: #4b5563;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: #10b981;
    color: white;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(16, 185, 129, 0.2);
}
.btn-primary:hover {
    background-color: #0d9668;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(16, 185, 129, 0.25);
}

.btn-secondary {
    display: inline-block;
    background-color: white;
    color: #10b981;
    border: 2px solid #10b981;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 15px;
}
.btn-secondary:hover {
    background-color: #f0fdfa;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.1);
}

.btn-outline {
    display: inline-block;
    background: none;
    border: 2px solid #10b981;
    color: #1e3a8a;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-outline:hover {
    background-color: #10b981;
    color: white;
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}
.navbar .logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1e3a8a;
}
.navbar ul {
    display: flex;
    list-style: none;
    gap: 36px;
}
.navbar a {
    color: #4b5563;
    font-weight: 500;
}
.navbar a:hover {
    color: #3f4443;
}

.lang-cta {
    display: flex;
    gap: 14px;
    align-items: center;
}
.lang-cta a {
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: 500;
}
.lang-cta .active {
    background: #10b981;
    color: white;
}
.lang-cta a:not(.active):hover {
    background: #f3f4f6;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #1e3a8a;
}
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: white;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 90px 20px 30px;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.mobile-menu.active {
    display: flex;
}
.mobile-menu ul {
    flex-direction: column;
    gap: 28px;
    margin-bottom: 40px;
}

/* Hero */
.hero {
    display: flex;
    align-items: center;
    gap: 6%;
    padding: 100px 5%;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 100%);
    border-radius: 20px;
    margin: 20px 5% 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}
.hero-content {
    flex: 1;
    min-width: 300px;
}
.hero-content h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    color: #1e3a8a;
}
.hero-content p {
    margin: 18px 0;
    font-size: 1.1rem;
    color: #4b5563;
}
.hero-content ul {
    margin: 24px 0;
    list-style: none;
}
.hero-content li {
    margin-bottom: 14px;
    color: #4b5563;
    display: flex;
    align-items: center;
    font-size: 1.05rem;
}
.hero-content i {
    color: #10b981;
    margin-left: 10px;
}
.hero-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}
.hero img {
    width: 100%;
    max-width: 800px;
    transition: transform 0.4s ease;
    margin-top: 30px;
}
.hero img:hover {
    transform: translateY(-10px);
}

/* About */
.about {
    padding: 10px 5%;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
.about p {
    font-size: 1.1rem;
    margin: 16px 0;
}

/* Features */
.features {
    padding: 50px 5%;
    background: white;
}
.features h2 {
    text-align: center;
    margin-bottom: 20px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 10px;
}
.feature {
    background: #f9fafb;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}
.feature:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.feature i {
    font-size: 2.2rem;
    color: #10b981;
    margin-bottom: 18px;
}
.feature h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}
.feature p {
    color: #6b7280;
    font-size: 0.95rem;
}

/* Pricing */
.pricing {
    padding: 50px 5%;
    text-align: center;
}
.pricing h2 {
    margin-bottom: 12px;
}
.pricing p {
    color: #6b7280;
    max-width: 600px;
    margin: 12px auto 40px;
}
.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 320px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.recommended {
    border: 2px solid #10b981;
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.15);
}
.badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #10b981;
    color: white;
    padding: 6px 20px;
    border-radius: 24px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}
.price {
    font-size: 2.4rem;
    font-weight: 700;
    color: #1e3a8a;
    margin: 20px 0;
}
.price span {
    font-size: 1rem;
    color: #6b7280;
}
.card ul {
    list-style: none;
    margin: 24px 0;
}
.card ul li {
    padding: 10px 0;
    border-bottom: 1px dashed #e5e7eb;
    color: #4b5563;
    font-size: 0.95rem;
}
.card ul li:last-child {
    border-bottom: none;
}

/* Testimonials */
.testimonials {
    padding: 10px 5%;
    background: #f9fafb;
}
.testimonials h2 {
    text-align: center;
    margin-bottom: 20px;
}
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.testimonial {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    text-align: right;
    transition: all 0.3s ease;
}
.testimonial:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.testimonial p {
    font-style: italic;
    color: #4b5563;
    margin-bottom: 16px;
}
.testimonial strong {
    color: #1e3a8a;
    display: block;
    font-size: 1.1rem;
}
.testimonial small {
    color: #6b7280;
    display: block;
    margin-top: 6px;
    font-size: 0.9rem;
}

/* Clients Logos */
.client-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-top: 20px;
    flex-wrap: wrap;
    padding: 20px;
}
.client-logos img {
    height: 100px;
    transition: all 0.3s ease;
    border-radius: 8px;
}
.client-logos img:hover {
    filter: opacity(1) grayscale(0);
    transform: scale(1.05);
}

/* FAQ */
.faq {
    padding: 10px 5%;
    text-align: center;
}
.faq h2 {
    margin-bottom: 20px;
}
.faq-container {
    max-width: 900px;
    margin: 50px auto;
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.faq-item {
    border-bottom: 1px solid #e5e7eb;
    padding: 18px 0;
    cursor: pointer;
    transition: color 0.3s;
}
.faq-item h3 {
    color: #1e3a8a;
    font-size: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-item h3 i {
    font-size: 0.9rem;
    color: #6b7280;
    transition: transform 0.3s ease;
}
.faq-item.active h3 i {
    transform: rotate(180deg);
}
.faq-item p {
    color: #4b5563;
    margin-top: 12px;
    display: none;
}
.faq-item.active p {
    display: block;
}

/* CTA Final */
.cta-final {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    text-align: center;
    padding: 100px 5%;
    border-radius: 20px;
    margin: 50px 5% 0;
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2);
}
.cta-final h2 {
    font-size: 2.4rem;
    margin-bottom: 16px;
}
.cta-final p {
    max-width: 600px;
    margin: 20px auto;
    color: #d1d5db;
    font-size: 1.1rem;
}

/* Contact */
.contact {
    padding: 50px 5%;
    text-align: center;
}
.contact h2 {
    margin-bottom: 40px;
}
.contact-form {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}
form {
    max-width: 420px;
    width: 100%;
}
input, textarea {
    width: 100%;
    padding: 14px;
    margin: 12px 0;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 1rem;
    transition: border 0.3s;
}
input:focus, textarea:focus {
    outline: none;
    border-color: #10b981;
}
textarea {
    height: 120px;
    resize: vertical;
}
.contact-info {
    max-width: 100%;
    text-align: center;
}
.contact-info p {
    margin: 16px 0;
    font-size: 1.1rem;
    color: #4b5563;
}
.social a {
    color: #10b981;
    margin: 0 12px;
    font-weight: 600;
}
.social a:hover {
    color: #0d9668;
}

/* Footer */
footer {
    text-align: center;
    padding: 50px 20px;
    background: #1f2937;
    color: white;
    margin-top: 0px;
}
footer .footer-links a {
    color: #d1d5db;
    margin: 0 16px;
    font-size: 0.95rem;
}
footer .footer-links a:hover {
    color: #10b981;
}
footer p {
    margin-bottom: 16px;
    font-size: 0.9rem;
}

/* Testimonials Slider */
.slider-container {
  position: relative;
  max-width: 1200px;
  margin: 30px auto;
  overflow: hidden;
  padding: 20px 0;
}

.slider-wrapper {
  overflow: hidden;
  position: relative;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
  gap: 30px;
}

.slide {
  flex: 0 0 calc(16.666% - 20px); /* 6 شعارات في الشاشة الكبيرة */
  text-align: center;
}

.slide img {
  height: 60px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 200px;
}

.slide img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #3498db;
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background: #2980b9;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.about-logo {
  max-width: 150px;
  height: auto;
  display: block;
  margin: 0 auto 20px auto; /* هامش سفلي بين اللوجو والنص */
}

/* Responsive */
@media (max-width: 992px) {
  .slide {
    flex: 0 0 calc(25% - 20px); /* 4 شعارات */
  }
}

@media (max-width: 768px) {
  .slide {
    flex: 0 0 calc(33.333% - 20px); /* 3 شعارات */
  }
  .slider-btn {
    display: none; /* إخفاء الأسهم على الجوال (يمكنك تركها إذا أردت) */
  }
}

@media (max-width: 480px) {
  .slide {
    flex: 0 0 calc(50% - 15px); /* شعارين */
  }
  .slide img {
    height: 50px;
  }
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-btn {
    display: block;
    }
    .navbar ul {
    display: none;
    }
    .hero {
    padding: 70px 5%;
    flex-direction: column;
    text-align: center;
    }
    .hero-content h1 {
    font-size: 2.2rem;
    }
    .pricing-cards {
    flex-direction: column;
    align-items: center;
    }
    .card {
    width: 100%;
    max-width: 360px;
    }
    .contact-form {
    flex-direction: column;
    align-items: center;
    }
    .client-logos {
    gap: 30px;
    }
    .client-logos img {
    height: 80px;
    }
}