
:root {
  --bg-gradient-start: #4169e1;
  --bg-gradient-end: #14B8A6;
  --benaan-light: #F9FAFB;
  --light-teal: #6EC4BA;
  --benaan-teal: #14B8A6;
  --benaan-blue: #4169e1;
  --text-gray: #6B7280;
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --transition-normal: all 0.4s ease;
  --separator-color: rgba(20, 184, 166, 0.2);
}
body {
  font-family: 'Tajawal', sans-serif;
  background: #fff;
  margin: 0;
  padding: 0;
  color: var(--text-gray);
  overflow-x: hidden;
  direction: rtl;
  text-align: right;
}

.header {
  background: linear-gradient(45deg, var(--bg-gradient-start), var(--bg-gradient-end));
  padding: 2rem 2rem;
  text-align: center;
  position: relative;
  z-index: 10;
}

.header-title {
  font-size: 3rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  animation: bounceIn 1.5s ease-out;
}

.service-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 2rem;
  background: #fff;
  border-radius: 0 0 20px 20px;
  margin-bottom: 0.6px;
  position: relative;
  overflow: hidden;
  direction: rtl;

}

.service-hero::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: rgba(30, 58, 138, 0.2);
  border-radius: 50%;
  z-index: 0;
  animation: pulse 5s infinite ease-in-out;
}

.service-hero::after {
  content: '';
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 150px;
  height: 150px;
  background: rgba(20, 184, 166, 0.2);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  z-index: 0;
  animation: rotate 8s infinite linear;
}

.service-hero-image {
  flex: 1;
  margin-right: 2rem;
}

.service-hero-image img {
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  animation: fadeInLeft 1s ease-out;
  border: 15px solid rgba(255, 255, 255, 0.2);
}

.service-hero-content {
  flex: 1;
  text-align: center;
}

.service-hero-content h1 {
  font-size: 2.8rem;
  color: var(--benaan-blue);
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease-out;
}

.service-hero-content p {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

/* Button Styles Scope */
.btn {
    background: linear-gradient(45deg, var(--benaan-teal), var(--benaan-blue));

  display: inline-block;
  padding: 12px 25px;
  font-size: 1.1rem;
  border: none;
  border-radius: 15px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-md);
}

.btn-primary {
  background-color: var(--ebc-blue);
  color: #fff;
}

.btn-primary:hover {
  background-color: #163a7a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: var(--light-teal);
  color: #fff;
}

.btn-secondary:hover {
  background-color: #4da596;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-large {
  padding: 15px 30px;
  font-size: 1.2rem;
}

/* Service Description Scope */
.service-description {
  padding: 4rem 0;
  background-color: #fff;
  direction: rtl;
}

.service-description h2 {
  text-align: center;
  color: var(--benaan-blue);
}

.service-description p {
  text-align: center;
  font-weight: 400;
  font-size: 1.1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-icon {
  font-size: 2rem;
  color: var(--benaan-blue);
  margin-bottom: 1rem;
}

.service-card-content h3 {
  color: #1E3A8A;
}

/* Why Choose Us Scope */
.why-choose-us {
  padding: 4rem 0;
  background-color: #E0F2F7;
  position: relative;
  overflow: hidden;
  direction: rtl;
}

.why-choose-us h2 {
  text-align: center;
}

.why-choose-us::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: rgba(30, 58, 138, 0.1);
  transform: rotate(45deg);
  filter: blur(10px);
  z-index: 0;
  animation: float 6s infinite ease-in-out;
}

.why-choose-us::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -60px;
  width: 150px;
  height: 150px;
  background: rgba(20, 184, 166, 0.1);
  transform: rotate(-30deg);
  filter: blur(15px);
  z-index: 0;
  animation: float 7s infinite ease-in-out reverse;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

.feature {
  background: rgba(255, 255, 255, 0.7);
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(5px);
}

.feature:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--benaan-blue);
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.feature:hover .feature-icon {
  color: var(--light-teal);
}

.feature-content h3 {
  color: #1E40AF;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.feature-content p {
  color: #374151;
  font-size: 1rem;
}

/* Related Articles Scope */
.related-articles {
  padding: 4rem 0;
  background-color: #fff;
  direction: rtl;
}

.related-articles h2 {
  text-align: center;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.article-card {
  background: #f8f9fa;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.article-card:hover {
  transform: translateY(-5px);
}

.article-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.article-content {
  padding: 1.5rem;
  text-align: center;
}

.article-content h3 {
  color: #1E3A8A;
  margin-bottom: 0.5rem;
}

.read-more {
  display: inline-block;
  color: #14B8A6;
  text-decoration: none;
  font-weight: 500;
}

.read-more:hover {
  color: #0d9488;
}

.view-all-articles {
  text-align: center;
  margin-top: 2rem;
}

/* Call to Action Scope */
.cta {
  padding: 2rem 0;
  background-color: #14B8A6;
  color: #fff;
  text-align: center;
  direction: rtl;
}

.cta h2 {
  color: #fff;
  margin-bottom: 1rem;
  width: 100%;
}

.cta p {
  margin: 0 auto 1.5rem;
  width: 100%;
}
.cta a{
  background-color: var(--benaan-blue) !important;
}

/* Animations Scope */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  0% { opacity: 0; transform: translateX(-20px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes bounceIn {
  0% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 1; transform: scale(1.1); }
  100% { transform: scale(1); }
}

@keyframes float {
  0% { transform: translate(0, 0) rotate(45deg); }
  50% { transform: translate(20px, 20px) rotate(45deg); }
  100% { transform: translate(0, 0) rotate(45deg); }
}

/* Responsive Design Scope */
@media (max-width: 768px) {
  .service-hero {
    flex-direction: column;
    text-align: center;
    padding: 2rem 0;
  }

  .service-hero-image {
    margin-right: 0;
    margin-bottom: 1.5rem;
  }

  .service-hero-content {
    max-width: 100%;
  }

  .service-hero-content h1 {
    font-size: 2rem;
  }

  .service-hero-content p {
    font-size: 1rem;
  }

  .services-grid,
  .features-grid,
  .articles-grid {
    grid-template-columns: 1fr;
  }

  .btn-large {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
}

.container{
  justify-content: center !important;
}