/* General Styles */
:root {
  --primary-color: #1dcd9f;
  --secondary-color: #000000;
  --accent-color: #1dcd9f;
  --light-color: #f5f5f5;
  --dark-color: #000000;
  --text-color: #333;
  --text-light: #777;
  --border-color: #ddd;
  --success-color: #27ae60;
  --warning-color: #f39c12;
  --danger-color: #e74c3c;
  /* Updated patterns with more subtle designs */
  --hero-pattern: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%231dcd9f' fill-opacity='0.03' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
  --services-pattern: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23000000' fill-opacity='0.03' fill-rule='evenodd'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/svg%3E");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", "Vazirmatn" ,sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #fff;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 15px;
  color: var(--dark-color);
}

p {
  margin-bottom: 15px;
}

a {
  text-decoration: none;
  color: var(--accent-color);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

img {
  max-width: 100%;
  height: auto;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 36px;
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.section-header h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--secondary-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.section-header p {
  color: var(--text-light);
  font-size: 18px;
}

/* Button styles - revert to original */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 16px;
}

.btn::before {
  display: none;
}

.btn-primary {
  background-color: var(--secondary-color);
  color: white;
  box-shadow: none;
}

.btn-primary:hover {
  background-color: #000000;
  color: white;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  background-color: transparent;
  color: var(--dark-color);
  border: 2px solid var(--dark-color);
}

.btn-secondary:hover {
  background-color: var(--dark-color);
  color: white;
}

/* Header Styles */
header {
  background-color: var(--secondary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-text-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-logo .logo-text-container {
  align-items: center;
  text-align: center;
}

.footer-logo .logo-text-container {
  align-items: center;
  text-align: center;
}

.logo h1 {
  font-size: 36px;
  margin: 0;
  color: white;
}

.header-logo-text {
  font-size: 24px;
  margin: 0;
  color: white;
  font-weight: 500;
  letter-spacing: -0.5px;
}

.header-logo-image {
  height: 40px;
  width: auto;
  display: block;
}

.header-logo-subtitle {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: white;
  font-weight: 500;
}

nav ul li a:hover {
  color: var(--primary-color);
}

.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: white;
}

/* Hero Section */
.hero {
  padding: 0;
  background: radial-gradient(circle at center, var(--primary-color) 0%, var(--secondary-color) 100%);
  margin-top: 60px; /* Account for fixed header */
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(29, 205, 159, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);
  z-index: 1;
}

/* Add styles for the alert container at the top of the hero section */
.alert-container {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 15px 0;
  position: relative;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.alert-container .alert {
  margin-bottom: 0;
}

.hero .container {
  display: flex;
  align-items: stretch;
  min-height: 500px;
  position: relative;
  z-index: 2;
}

.hero-content {
  width: 50%;
  padding: 100px 30px 100px 0; /* Maintain vertical padding */
}

.hero-content::before,
.hero-content::after {
  display: none;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: white;
  position: relative;
  font-weight: 700;
}

[dir="rtl"] .hero-content h1 {
  font-size: 62px;
}

.hero-content h1::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--primary-color);
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.hero-icon{
  height: 100%;
    max-height: 300px;
    width: 50%;
    display: flex;
      align-items: center;
      justify-content: center;
      margin-top: 180px;
}
.hero-icon img {
 height: 500px;
}

.hero-image {
  width: 50%;
  height: 100%;
  max-height: 500px;
  overflow: hidden;
  padding: 0; /* No padding for image */
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  height: 100%;
  max-height: 500px;
  object-fit: cover;
  object-position: center;
  display: block; /* Remove any potential spacing */
  transition: transform 0.5s ease;
}

.hero:hover .hero-image img {
  transform: scale(1.05);
}

/* Responsive adjustments for hero section */
@media (max-width: 992px) {
  .hero {
    background: radial-gradient(circle at center, var(--primary-color) 0%, var(--secondary-color) 100%);
  }

  .hero .container {
    flex-direction: column;
  }

  .hero-content {
    width: 100%;
    padding: 40px 20px;
    text-align: center;
    order: 2;
    animation: fadeInUp 0.8s ease forwards;
  }

  .hero-content h1 {
    font-size: 36px;
    margin-bottom: 15px;
  }

  .hero-content h1::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .hero-image {
    width: 100%;
    height: 300px;
    max-height: 300px;
    order: 1;
    margin-top: 60px; /* Account for header */
    position: relative;
    overflow: hidden;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease forwards;
  }

  .hero-image::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    z-index: 1;
  }

  .hero-image img {
    width: 100%;
    height: 100%;
    max-height: 300px;
    object-position: center 30%; /* Focus on the handshake */
    animation: slowZoom 20s infinite alternate ease-in-out;
  }

  .hero-buttons {
    justify-content: center;
  }

  .btn-primary {
    animation: pulse 2s infinite;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes pulse {
    0% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(29, 205, 159, 0.4);
    }
    70% {
      transform: scale(1.05);
      box-shadow: 0 0 0 10px rgba(29, 205, 159, 0);
    }
    100% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(29, 205, 159, 0);
    }
  }

  @keyframes slowZoom {
    from {
      transform: scale(1);
    }
    to {
      transform: scale(1.1);
    }
  }
}

@media (max-width: 576px) {
  .hero-content {
    padding: 30px 15px;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content p {
    font-size: 16px;
    margin-bottom: 25px;
  }

    .hero-icon {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-top: 80px;
    }
    .hero-icon img {
      max-height: 300px;
    }

  .hero-image {
    height: 250px;
    max-height: 250px;
  }

  .hero-image img {
    max-height: 250px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .btn {
    width: 100%;
    padding: 14px 20px;
    font-weight: 600;
    border-radius: 8px;
  }

  .btn-primary {
    font-size: 18px;
  }

  .icon-img {
    width: 45px;
    height: 45px;
  }

  .step-icon .icon-img {
    width: 55px;
    height: 55px;
  }

  .info-item .icon-img {
    width: 35px;
    height: 35px;
  }
}

/* About Section */
.about {
  padding: 100px 0;
  background-color: var(--secondary-color);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(29, 205, 159, 0.05) 0%, rgba(0, 0, 0, 0.1) 100%);
  z-index: 1;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 2;
}

.about-image {
  flex: 1;
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-size: 24px;
  margin-top: 25px;
  margin-bottom: 15px;
  color: white;
}

.about-text p {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
}

/* About logo - keep attractive elements but with current background */
.about-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  text-align: center;
  height: 100%;
  min-height: 300px;
  position: relative;
  overflow: hidden;
  /* transition: transform 0.3s ease; */
}

.about-logo::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  /* background: linear-gradient(to top right, rgba(77, 77, 77, 0), rgba(77, 77, 77, 0.8), rgba(77, 77, 77, 0)); */
  transform: rotate(45deg);
  /* animation: shine 6s infinite; */
}

@keyframes shine {
  0% {
    top: -100%;
    left: -100%;
  }
  100% {
    top: 100%;
    left: 100%;
  }
}

.about-logo:hover {
  transform: translateY(-5px);
}

.about-logo .logo-text {
  font-size: 3rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: white;
  letter-spacing: -1px;
  line-height: 1.2;
  position: relative;
  z-index: 2;
}

.about-logo .logo-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}

.about-logo-image {
  height: 80px;
  width: auto;
  margin-bottom: 1rem;
  display: block;
  position: relative;
  z-index: 2;
}



.about-logo .logo-tagline {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  text-transform: uppercase;
  margin-top: 0.5rem;
  position: relative;
  z-index: 2;
}

.about-logo .logo-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.about-logo .logo-divider {
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 1rem 0;
  position: relative;
  z-index: 2;
}

.about-logo .logo-year {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 1rem;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .about-logo .logo-text {
    font-size: 2rem;
  }

  .about-logo .logo-icon {
    font-size: 2.5rem;
  }

  .about-logo-image {
    height: 60px;
  }

  .about-logo .logo-subtitle {
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .about-logo {
    padding: 2rem;
    min-height: 250px;
  }

  .about-logo .logo-text {
    font-size: 1.8rem;
  }

  .about-logo-image {
    height: 50px;
  }
}

/* Services Section */
.services {
  padding: 100px 0;
  background-color: var(--light-color);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
  border-top: 3px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-top: 3px solid var(--secondary-color);
}

.service-icon {
  margin-bottom: 20px;
  transition: all 0.3s ease;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-card:hover .service-icon {
  transform: scale(1.05);
}

/* Unified image icon styling */
.icon-img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.service-card h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

.service-card:hover h3::after {
  width: 100%;
}

.service-card p {
  color: var(--text-light);
}

/* Process Section - Horizontal Timeline */
.process {
  padding: 100px 0;
  background-color: #fff;
  position: relative;
  overflow: hidden;
}

.process-container {
  position: relative;
}

.process-timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 50px;
}

/* Horizontal line */
.process-timeline::before {
  content: "";
  position: absolute;
  top: 100px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  z-index: 1;
  border-radius: 4px;
}

.process-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.process-step {
  position: relative;
  width: calc(100% / 6 - 20px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-icon {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s ease;
    /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); */
    margin-bottom: 20px;
    margin-right: 25px;

}

.process-step:hover .step-icon {
  transform: scale(1.06);
}

/* Process step icon images */
.step-icon .icon-img {
  width: 90px;
  height: 90px;
}

.step-number {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
}

.step-content {
  text-align: center;
  padding: 20px 8px;
  border-radius: 10px;
  background-color: white;
  transition: all 0.3s ease;
  width: 100%;
  border: 1px solid #dddddd;
}

.step-content h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.step-content p {
  color: var(--text-light);
  font-size: 14px;
}

/* Responsive Styles for Process Section */
@media (max-width: 992px) {
  /* Process timeline responsive */
  .process-steps {
    flex-wrap: wrap;
    justify-content: center;
  }

  .process-step {
    width: 45%;
    margin-bottom: 40px;
  }

  .process-timeline::before {
    display: none;
  }
}

@media (max-width: 768px) {
  /* Process timeline mobile - vertical timeline */
  .process-steps {
    flex-direction: column;
    align-items: flex-start;
  }

  .process-step {
    width: 100%;
    margin-bottom: 30px;
    flex-direction: row;
    align-items: flex-start;
  }

  .process-timeline::before {
    display: block;
    top: 0;
    left: 40px;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
  }

  .step-icon {
    margin-bottom: 0;
    margin-right: 20px;
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  .step-content {
    text-align: left;
    margin-left: 20px;
    flex: 1;
  }

  .step-number {
    width: 25px;
    height: 25px;
    font-size: 14px;
  }

  /* RTL adjustments for mobile */
  [dir="rtl"] .process-timeline::before {
    left: auto;
    right: 40px;
  }

  [dir="rtl"] .step-icon {
    margin-right: 0;
    margin-left: 20px;
  }

  [dir="rtl"] .step-content {
    text-align: right;
    margin-left: 0;
    margin-right: 20px;
  }

  [dir="rtl"] .step-number {
    right: auto;
    left: -10px;
  }
}

@media (max-width: 576px) {
  .process-timeline::before {
    left: 30px;
  }

  [dir="rtl"] .process-timeline::before {
    right: 30px;
    left: auto;
  }

  .step-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}

/* Success Stories Section */
.success {
  padding: 100px 0;
  background-color: white;
  background-image: url('images/battern.svg');
  background-repeat: repeat;
  background-size: 2200px;
  position: relative;
  border: 2px solid #eee;
}

.success::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.93);
  z-index: 1;
}

.success-slider-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  z-index: 2;
}

.success-slider {
  display: flex;
  transition: transform 0.5s ease;
}

.story-slide {
  min-width: 100%;
  padding: 0 15px;
}

.story-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  height: 100%;
  border: 2px solid var(--border-color);
}

.story-image {
  flex: 0 0 300px;
  overflow: hidden;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.story-card:hover .story-image img {
  transform: scale(1.05);
}

.story-content {
  flex: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.story-content h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.story-content p {
  color: var(--text-light);
  margin-bottom: 20px;
  flex-grow: 1;
}

.story-footer {
  margin-top: auto;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  color: var(--secondary-color);
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-link i {
  margin-left: 8px;
  font-size: 14px;
}

.btn-link:hover {
  color: var(--primary-color);
}

/* Slider Controls */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
}

.slider-prev,
.slider-next {
  background-color: var(--primary-color);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-prev:hover,
.slider-next:hover {
  background-color: var(--secondary-color);
}

.slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 20px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ccc;
  margin: 0 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background-color: var(--secondary-color);
  transform: scale(1.3);
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background-color: #fff;
}

.contact-container {
  display: flex;
  gap: 50px;
}

.contact-info {
  flex: 1;
}

.info-item {
  margin-bottom: 30px;
}

.info-item i {
  display: none;
}

.info-item .icon-img {
  width: 40px;
  height: 40px;
  margin-bottom: 15px;
  object-fit: contain;
  display: block;
}

.info-item h3 {
  font-size: 20px;
  margin-bottom: 5px;
}

.info-item p {
  color: var(--text-light);
}

.social-media h3 {
  margin-bottom: 15px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--light-color);
  border-radius: 50%;
  color: var(--dark-color);
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--secondary-color);
  color: white;
}

.map-container {
  margin-top: 30px;
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

#map {
  width: 100%;
  height: 100%;
}

.contact-form {
  flex: 1;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  position: relative;
  padding-left: 10px;
}

.form-group label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 70%;
  background: var(--secondary-color);
  border-radius: 2px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-family: "Vazirmatn", "Poppins", sans-serif;
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.alert {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 5px;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Adjust the contact form alert (remove it since we're showing at the top) */
.contact-form .alert {
  display: none;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: white;
  padding: 40px 0 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 20px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo h2 {
  color: var(--secondary-color);
  font-size: 24px;
  margin-bottom: 8px;
  font-weight: 500;
}

.footer-logo-subtitle {
  font-size: 12px;
  color: var(--secondary-color);
  margin: 0 0 15px 0;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: 0.8;
}

.footer-logo p {
  color: var(--secondary-color);
}

.footer-logo-image {
  height: 50px;
  width: auto;
  margin-bottom: 15px;
  display: block;
}

.footer-links h3,
.footer-services h3,
.footer-contact h3 {
  color: var(--primary-color);
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h3::after,
.footer-services h3::after,
.footer-contact h3::after {
  content: "";
  position: absolute;
  display: block;
  width: 30px;
  height: 2px;
  background: var(--secondary-color);
  bottom: 0;
  left: 0;
}

.footer-links ul,
.footer-services ul {
  list-style: none;
}

.footer-links ul li,
.footer-services ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: var(--text-light);
  transition: all 0.3s ease;
}

.footer-links ul li a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.footer-services ul li {
  color: var(--text-light);
}

.footer-contact p {
  color: var(--text-light);
  margin-bottom: 10px;
}

.footer-contact p i {
  margin-right: 10px;
  color: var(--secondary-color);
}

.footer-bottom {
  text-align: center;
  padding: 15px 0;
  /* border-top: 1px solid var(--border-color); */
}

.footer-links-horizontal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-links-horizontal a {
  color: var(--secondary-color);
  transition: all 0.3s ease;
  font-weight: 500;
  position: relative;
  padding: 5px 0;

}

.footer-links-horizontal a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

.footer-links-horizontal a:hover {
  color: var(--secondary-color);
}

.footer-links-horizontal a:hover::after {
  width: 100%;
}

.footer-bottom p {
  margin: 0;
  color: var(--secondary-color);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fff;
  margin: 50px auto;
  padding: 30px;
  border-radius: 10px;
  width: 80%;
  max-width: 800px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: var(--text-light);
  cursor: pointer;
}

.close-modal:hover {
  color: var(--secondary-color);
}

.idea-form {
  margin-top: 20px;
}

.form-section {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.form-section h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.submit-group {
  margin-top: 30px;
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    padding-left: 0;
    margin-bottom: 50px;
  }

  .about-content {
    flex-direction: column;
  }

  .contact-container {
    flex-direction: column;
  }

  .modal-content {
    width: 95%;
    margin: 20px auto;
  }

  /* Process timeline responsive */
  .process-steps {
    flex-wrap: wrap;
    justify-content: center;
  }

  .process-step {
    width: 45%;
    margin-bottom: 40px;
  }

  .process-timeline::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .header-logo-image {
    height: 32px;
  }

  .header-logo-text {
    font-size: 20px;
  }

  .header-logo-subtitle {
    font-size: 10px;
  }

  .icon-img {
    width: 150px;
    height: 150px;
  }

  .step-icon .icon-img {
    width: 90px;
    height: 90px;
  }

  .menu-toggle {
    display: block;
  }

  nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }

  nav.active {
    left: 0;
  }

  nav ul {
    flex-direction: column;
    padding: 30px;
  }

  nav ul li {
    margin: 0 0 20px 0;
  }

  nav ul li a {
    color: white;
  }

  nav ul li a:hover {
    color: var(--primary-color);
  }

  .hero-content h1 {
    font-size: 36px;
    font-weight: 700;
  }

  .section-header h2 {
    font-size: 30px;
  }

  /* Process timeline mobile */
  .process-step {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .logo h1{
    font-size: 24px;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .hero-content h1 {
    font-size: 36px !important;
    font-weight: 700;
  }

  .btn {
    width: 100%;
  }
}

/* Responsive adjustments for success stories */
@media (max-width: 992px) {
  .story-card {
    flex-direction: column;
  }

  .story-image {
    flex: 0 0 200px;
  }
}

@media (max-width: 576px) {
  .slider-controls {
    flex-wrap: wrap;
  }

  .slider-dots {
    order: -1;
    width: 100%;
    margin-bottom: 15px;
  }
}

/* Map Container */
.map-container {
  margin-top: 30px;
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* RTL fixes */
[dir="rtl"] .hero-content {
  padding: 100px 0 100px 30px;
}

[dir="rtl"] .hero-content h1::after {
  left: auto;
  right: 0;
}


[dir="rtl"] .service-card h3::after {
  left: 50%;
  right: auto;
}

[dir="rtl"] .footer-links-horizontal a::after {
  left: auto;
  right: 0;
}

[dir="rtl"] .form-group label {
  padding-left: 0;
  padding-right: 10px;
}

[dir="rtl"] .form-group label::before {
  left: auto;
  right: 0;
}

/* RTL for process timeline */
[dir="rtl"] .process-timeline::before {
  background: linear-gradient(to left, var(--primary-color), var(--secondary-color));
}

[dir="rtl"] .step-number {
  right: auto;
  left: -10px;
}

[dir="rtl"] .footer-links h3::after,
[dir="rtl"] .footer-services h3::after,
[dir="rtl"] .footer-contact h3::after {
  left: auto;
  right: 0;
}

[dir="rtl"] .footer-contact p i {
  margin-right: 0;
  margin-left: 10px;
}

