/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  color: rgb(0, 0, 0);
  padding-top: 70px;
}

.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: white;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Button Styles - Updated with gradient */
.btn-custom, .btn-primary, .btn-secondary {
  background: linear-gradient(to right, #031f2a, #28194c);
  color: white;
  border: 2px solid transparent;
  padding: 14px 35px;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 5px 15px rgba(3, 31, 42, 0.2);
  display: inline-block;
  text-decoration: none;
}

.btn-custom:hover, .btn-primary:hover, .btn-secondary:hover {
  background: linear-gradient(to right, #28194c, #031f2a);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(40, 25, 76, 0.3);
}

.btn.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 25px;
}

.btn.btn-secondary i {
  font-size: 1.2rem;
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-outline:hover {
  background: linear-gradient(to right, #031f2a, #28194c);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(3, 31, 42, 0.2);
}

.btn-outline-light {
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-outline-light:hover {
  background: linear-gradient(to right, #031f2a, #28194c);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Enhanced About Section on Homepage */
.about-section {
  padding: var(--section-spacing) 0;
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: "";
  position: absolute;
  top: -50px;
  left: -50px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: rgba(29, 195, 210, 0.1);
  animation: float 8s infinite ease-in-out;
}

.about-section::after {
  content: "";
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background-color: rgba(29, 195, 210, 0.1);
  animation: float 10s infinite ease-in-out reverse;
}

@keyframes float {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(20px, 20px) rotate(10deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.about-image {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  border: 5px solid white;
}

.about-image:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.about-image img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom right,
    rgba(29, 195, 210, 0.2),
    rgba(5, 39, 42, 0.4)
  );
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.about-image:hover .image-overlay {
  opacity: 0.5;
}

.about-text {
  position: relative;
  padding: 40px;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border-left: 5px solid #05272a;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-text:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 10% 20%,
    rgba(29, 195, 210, 0.03) 0%,
    transparent 60%
  );
  animation: pulse 8s infinite ease-in-out;
  z-index: -1;
}

@keyframes pulse {
  0% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    opacity: 0.3;
  }
}

.about-text h2.section-title {
  color: #05272a;
  margin-bottom: 25px;
  position: relative;
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
}

.about-text h2.section-title:after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  background-color: #1dc3d2;
  height: 4px;
  width: 60px;
  border-radius: 2px;
}

.about-text p {
  margin-bottom: 20px;
  color: #2c3e50;
  line-height: 1.8;
  position: relative;
  z-index: 2;
  font-size: 1.05rem;
}

.button-container {
  text-align: center;
  margin: 30px 0 10px;
}

/* Enhanced Services Overview Section */
.services-overview {
  padding: 60px 0; /* Reduced padding */
  background: #fff;
  position: relative;
  overflow: hidden;
}

.services-overview::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(3, 31, 42, 0.03) 0%, rgba(40, 25, 76, 0.05) 100%);
  z-index: 1;
  animation: float 15s infinite ease-in-out alternate;
}

.services-overview::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(29, 195, 210, 0.03) 0%, rgba(5, 39, 42, 0.05) 100%);
  z-index: 1;
  animation: float 20s infinite ease-in-out reverse;
}

.section-header {
  text-align: center;
  margin-bottom: 40px; /* Reduced margin */
  position: relative;
  z-index: 2;
}

.section-title {
  color: #05272a;
  font-size: 2.2rem; /* Slightly smaller */
  font-weight: 700;
  margin-bottom: 10px; /* Reduced margin */
  position: relative;
  display: inline-block;
}

.section-title:after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px; /* Reduced distance */
  width: 60px; /* Smaller width */
  height: 3px; /* Thinner line */
  background: linear-gradient(to right, #031f2a, #28194c);
  border-radius: 2px;
}

.section-subtitle {
  color: #1dc3d2;
  font-size: 1.1rem; /* Slightly smaller */
  font-weight: 500;
  margin-top: 20px; /* Reduced margin */
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px; /* Reduced gap */
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  position: relative;
  height: 100%;
  border-radius: 16px; /* Slightly reduced */
  overflow: hidden;
  transition: all 0.4s ease;
}

.service-card-inner {
  background-color: rgb(250, 250, 255);
  padding: 30px 25px; /* Reduced padding */
  border-radius: 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.02);
  backdrop-filter: blur(5px);
}

.service-card:hover .service-card-inner {
  transform: translateY(-10px); /* Reduced movement */
  box-shadow: 0 15px 30px rgba(3, 31, 42, 0.08);
  border-color: rgba(29, 195, 210, 0.1);
}

.service-card .icon {
  width: 70px; /* Smaller icon */
  height: 70px;
  background: linear-gradient(135deg, rgba(3, 31, 42, 0.05) 0%, rgba(29, 195, 210, 0.1) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px; /* Reduced margin */
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.service-card:hover .icon {
  background: linear-gradient(to right, #031f2a, #28194c);
  transform: scale(1.05) rotate(5deg);
  box-shadow: 0 12px 25px rgba(3, 31, 42, 0.15);
}

.service-card .icon i {
  font-size: 28px; /* Smaller icon */
  color: #05272a;
  transition: all 0.3s ease;
}

.service-card:hover .icon i {
  color: white;
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.3rem; /* Smaller heading */
  color: #05272a;
  margin-bottom: 15px; /* Reduced margin */
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
}

.service-card:hover h3 {
  color: #1dc3d2;
}

.service-card p {
  color: #2c3e50;
  line-height: 1.6; /* Reduced line height */
  margin-bottom: 20px; /* Reduced margin */
  flex-grow: 1;
  text-align: center;
  font-size: 0.95rem; /* Smaller text */
  max-height: 80px; /* Limit height */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.read-more {
  font-weight: 600;
  display: inline-block;
  position: relative;
  color: #05272a;
  transition: all 0.3s ease;
  text-decoration: none;
  padding: 6px 0; /* Reduced padding */
  text-align: center;
  margin: 0 auto;
  align-self: center;
  font-size: 0.9rem; /* Smaller text */
}

.read-more:after {
  content: "\f054";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-left: 6px;
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.service-card:hover .read-more {
  color: #1dc3d2;
}

.service-card:hover .read-more:after {
  transform: translateX(5px);
}
/* Packages Highlight Section */
.packages-highlight {
  padding: 80px 0;
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
}

.packages-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.packages-image {
  flex: 1;
  min-width: 300px;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.packages-image img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.packages-image:hover img {
  transform: scale(1.03);
}

.packages-image .image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0.3)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.packages-image:hover .image-overlay {
  opacity: 1;
}

.packages-text {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.packages-text .section-title {
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.packages-text .animated-bg {
  position: absolute;
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  opacity: 0.15;
  border-radius: 50%;
  top: -15px;
  left: -15px;
  z-index: 0;
  animation: pulse 3s infinite;
}

.packages-text p {
  margin-bottom: 20px;
  color: #333333;
  line-height: 1.7;
}

.packages-text .button-container {
  margin-top: 30px;
}

/* Enhanced FAQ Preview Section with RTL support */
/* FAQ Preview Section with RTL support */
.faq-preview {
  padding: 80px 0;
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
}

.faq-preview::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(29, 195, 210, 0.05) 0%,
    rgba(255, 255, 255, 0) 50%
  );
  pointer-events: none;
}

.faq-preview .container {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: flex-start;
}

.faq-preview .section-header {
  text-align: left;
  margin-bottom: 40px;
  flex: 1;
  min-width: 300px;
  max-width: 400px;
}

.faq-preview .section-header .section-title {
  text-align: left;
}

.faq-preview .section-header .section-title:after {
  left: 0;
  transform: none;
}

.faq-preview .section-header p {
  max-width: 100%;
  margin: 20px 0 0;
  color: #555;
  line-height: 1.7;
  text-align: left;
}

.faq-accordion {
  flex: 2;
  min-width: 500px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  margin-bottom: 0;
  border-radius: 12px;
  overflow: hidden;
  background: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: all 0.4s ease;
  border-left: 3px solid transparent;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item.expanded {
  border-left: 3px solid var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.faq-question {
  padding: 22px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: white;
  transition: all 0.3s ease;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: #333;
  transition: color 0.3s ease;
  flex: 1;
}

.toggle-icon {
  color: var(--primary-color);
  transition: transform 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background-color: rgba(29, 195, 210, 0.08);
  border-radius: 50%;
}

.toggle-icon i {
  font-size: 0.8rem;
}

.faq-item.expanded .toggle-icon {
  transform: rotate(180deg);
  background-color: var(--primary-color);
  color: white;
}

.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  opacity: 0;
}

.faq-answer.active {
  padding: 5px 25px 25px;
  max-height: 500px;
  opacity: 1;
}

.faq-answer p {
  margin: 0;
  color: #555;
  line-height: 1.7;
  font-size: 1.02rem;
}

.faq-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

/* Portfolio Showcase Section */
.portfolio-showcase {
  padding: 90px 0;
  background-color: #ffffff;
  position: relative;
}

.portfolio-showcase .section-header {
  margin-bottom: 50px;
}

.portfolio-showcase .section-header p {
  max-width: 700px;
  margin: 20px auto 0;
  color: #555;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  height: 280px;
  transition: all 0.4s ease;
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(3, 31, 42, 0.85), rgba(40, 25, 76, 0.4));
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.overlay-content {
  text-align: center;
  padding: 20px;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.portfolio-item:hover .overlay-content {
  transform: translateY(0);
}

.overlay-content h3 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.view-more {
  display: inline-block;
  color: white;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 20px;
  border: 2px solid white;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.view-more:hover {
  background: linear-gradient(to right, #031f2a, #28194c);
  color: white;
  transform: translateY(-3px);
}

/* CTA Banner Section */
.cta-banner {
  position: relative;
  padding: 50px 0;
  background-image: url('../images/view-desk-items-frame-with-copy-space.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  text-align: center;
  overflow: hidden;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(25, 10, 92, 0.178); /* Solid color instead of gradient */
  z-index: 1;
}

.cta-banner .container {
  position: relative;
  z-index: 2;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-banner h2 {
  font-size: 2.4rem;
  color: white;
  font-weight: 700;
  margin-bottom: 15px;
}

.cta-banner p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  line-height: 1.6;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary {
  background-color: white;
  color: var(--primary-color);
  border: 2px solid white;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background-color: transparent;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-outline-light {
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-outline-light:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
  }
  
  .service-card {
    max-width: 450px;
    margin: 0 auto;
  }
  
  .service-card-inner {
    padding: 30px 25px;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
  }
}
@media (max-width: 768px) {
  .cta-banner {
    padding: 70px 0;
  }
  
  .cta-banner h2 {
    font-size: 2.2rem;
  }
  
  .cta-banner p {
    font-size: 1.1rem;
  }
}

/* Working Process Section */
.working-process {
  padding: 50px 0;
  background: url(../images/working_process.jpg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
  color: white;
  box-shadow: inset 0 0 70px rgba(0, 0, 0, 0.3);
}

.working-process::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 31, 42, 0.75);
  opacity: 1;
  z-index: 1;
}

.working-process .container,
.working-process .section-header,
.working-process .process-steps {
  position: relative;
  z-index: 2;
}

.working-process .section-header {
  margin-bottom: 20px;
}

.working-process .section-title {
  color: #ffffff;
}

.text-center {
  text-align: center;
}

.process-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.process-step {
  flex: 0 0 200px;
  text-align: center;
  padding: 20px;
  position: relative;
  z-index: 1;
}

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  background: linear-gradient(to right, #2d95be, #08a3a8);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
  z-index: 2;
}

.step-icon {
  width: 80px;
  height: 80px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  transition: all 0.3s ease;
}

.step-icon::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  border: 2px dashed #1dc3d2;
  opacity: 0.3;
  animation: spin 20s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.step-icon i {
  font-size: 28px;
  color: #05272a;
}

.process-step h3 {
  margin: 15px 0 10px;
  font-size: 18px;
  font-weight: 600;
  color: white;
}

.process-step p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin: 0;
}

.process-connector {
  flex: 0 0 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.connector-line {
  height: 2px;
  width: 100%;
  background: rgba(255, 255, 255, 0.3);
  position: relative;
}

.connector-line::before,
.connector-line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: white;
  transform: translateY(-50%);
}

.connector-line::before {
  left: 0;
}

.connector-line::after {
  right: 0;
}

.process-step:hover .step-icon {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* RTL Support for Arabic */
.rtl .faq-preview .container {
  flex-direction: row-reverse;
}

.rtl .faq-preview .section-header {
  text-align: right;
}

.rtl .faq-preview .section-header .section-title {
  text-align: right;
}

.rtl .faq-preview .section-header .section-title:after {
  right: 0;
  left: auto;
}
.rtl .faq-item {
  border-left: none;
  border-right: 3px solid transparent;
  text-align: right;
}

.rtl .faq-item.expanded {
  border-right: 3px solid var(--primary-color);
}

.rtl .toggle-icon {
  margin-left: 0;
  margin-right: 15px;
}

.rtl .faq-question {
  flex-direction: row-reverse;
}

.rtl-support {
  direction: rtl;
}

/* Responsive styles */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .faq-preview .container {
    flex-direction: column;
  }

  .faq-preview .section-header {
    max-width: 100%;
    text-align: center;
  }

  .faq-preview .section-header .section-title {
    text-align: center;
  }

  .faq-preview .section-header .section-title:after {
    left: 50%;
    transform: translateX(-50%);
  }

  .faq-accordion {
    min-width: 100%;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    flex-direction: column;
    max-width: 500px;
  }

  .process-step {
    flex: 0 0 auto;
    width: 100%;
    margin-bottom: 20px;
  }

  .process-connector {
    flex: 0 0 auto;
    width: 2px;
    height: 40px;
    margin: 0 auto;
  }

  .connector-line {
    width: 2px;
    height: 100%;
  }
}

@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    margin-bottom: 30px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .cta-banner h2 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .portfolio-item {
    height: 250px;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

/* Button Styles - Updated with gradient */
.btn-custom {
  background: linear-gradient(to right, #031f2a, #28194c);
  color: white;
  border: 2px solid transparent;
  padding: 14px 35px;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 5px 15px rgba(3, 31, 42, 0.2);
  display: inline-block;
}

.btn-custom:hover {
  background: linear-gradient(to right, #28194c, #031f2a);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(40, 25, 76, 0.3);
}

/* Remove the :before pseudo-element since we're using gradient directly */
.btn-custom:before {
  display: none;
}

/* Update CTA banner buttons */
.cta-banner .btn-custom {
  color: white;
  border: 2px solid transparent;
}

.cta-banner .btn-custom:hover {
  background: linear-gradient(to right, #28194c, #031f2a);
  box-shadow: 0 8px 20px rgba(40, 25, 76, 0.3);
}

/* Update btn-outline hover */
.btn-outline:hover {
  background: linear-gradient(to right, #031f2a, #28194c);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(3, 31, 42, 0.2);
}

/* Update btn-outline-light hover */
.btn-outline-light:hover {
  background: linear-gradient(to right, #031f2a, #28194c);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Add WhatsApp button styling */
.btn-custom.whatsapp-btn,
a.btn-custom[href*="wa.me"] {
  background: #25D366;  /* WhatsApp green color */
  color: white;
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.btn-custom.whatsapp-btn:hover,
a.btn-custom[href*="wa.me"]:hover {
  background: #128C7E;  /* WhatsApp darker green on hover */
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  transform: translateY(-3px);
}

.btn-custom.whatsapp-btn i,
a.btn-custom[href*="wa.me"] i {
  margin-right: 8px;
}

