:root {
  --primary-color: #2c3e50;
  --secondary-color: #1abc9c;
  --accent-color: #e67e22;
  --background-color: #f4f6f9;
  --card-bg-color: #ffffff;
  --text-heading: #2c3e50;
  --text-body: #5d6d7e;
  --border-radius: 12px;
  --shadow: 0 10px 30px rgba(44, 62, 80, 0.1);
  --shadow-hover: 0 15px 40px rgba(26, 188, 156, 0.2);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Vazirmatn", sans-serif;
  background-color: var(--background-color);
  color: var(--text-body);
  line-height: 1.9;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 40px 20px;
}

section {
  padding: 60px 0;
  position: relative;
}

h1,
h2,
h3 {
  color: var(--text-heading);
  font-weight: 700;
}

h1 {
  font-size: 3.2rem;
  margin-bottom: 20px;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background: var(--secondary-color);
  border-radius: 2px;
  margin: 15px auto 0;
}

.section-heading-left {
  text-align: right;
}
.section-heading-left::after {
  margin: 15px 0 0;
}

p {
  font-size: 1.1rem;
}

.hero {
  padding: 80px 0;
  background-color: white;
  overflow: hidden;
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero-background-shape {
  position: absolute;
  top: -50px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: var(--primary-color);
  opacity: 0.05;
  border-radius: 45% 55% 60% 40% / 55% 45% 55% 45%;
  animation: blob-spin 20s linear infinite;
}
@keyframes blob-spin {
  100% {
    transform: rotate(360deg);
  }
}
.hero-content p.lead {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 550px;
}
.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image img {
  width: 100%;
  max-width: 400px;
  border-radius: var(--border-radius);
  box-shadow: 0 15px 40px rgba(44, 62, 80, 0.2);
}
.hero-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 14px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(44, 62, 80, 0.4);
}
.hero-button:hover {
  transform: translateY(-6px) scale(1.05);
  background-color: var(--secondary-color);
  box-shadow: 0 10px 30px rgba(26, 188, 156, 0.5);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.feature-card {
  background: var(--card-bg-color);
  padding: 30px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border-bottom: 4px solid transparent;
}
.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-hover);
  border-bottom-color: var(--secondary-color);
}
.feature-card i {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}
.feature-card:hover i {
  transform: scale(1.1) rotate(5deg);
  color: var(--accent-color);
}
.feature-card h3 {
  font-size: 1.3rem;
}

.details-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}
.details-list li {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  margin-bottom: 20px;
}
.details-list i {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
.details-image {
  display: flex;
  align-items: center;
  justify-content: center;
}
.details-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.process-wrapper {
  display: flex;
  justify-content: space-between;
  position: relative;
}
.process-wrapper::before {
  content: "";
  position: absolute;
  top: 35px;
  right: 5%;
  width: 90%;
  height: 4px;
  background-color: #e0e0e0;
  z-index: 1;
}
.process-step {
  text-align: center;
  position: relative;
  z-index: 2;
  width: 18%;
  transition: transform 0.3s ease;
}
.process-step:hover {
  transform: translateY(-5px);
}
.process-step .step-number {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--card-bg-color);
  border: 4px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-body);
  transition: all 0.3s ease;
}
.process-step h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.process-step p {
  font-size: 0.95rem;
  line-height: 1.7;
}
.process-step:hover .step-number {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(26, 188, 156, 0.3);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.audience-card {
  background-color: var(--card-bg-color);
  padding: 30px;
  text-align: center;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.audience-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-hover);
}
.audience-card i {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}
.audience-card:hover i {
  transform: scale(1.1);
}
.audience-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.qa-container {
  max-width: 800px;
  margin: 0 auto;
}
.qa-item {
  background: var(--card-bg-color);
  margin-bottom: 15px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border-right: 4px solid transparent;
  transition: all 0.3s ease;
}
.qa-item:hover {
  transform: translateX(-5px);
  box-shadow: var(--shadow-hover);
}
.qa-item.active {
  border-right-color: var(--secondary-color);
}
.qa-question {
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-heading);
}
.qa-question .icon {
  transition: transform 0.3s ease;
  font-size: 1.2rem;
  color: var(--primary-color);
}
.qa-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}
.qa-answer p {
  padding: 0 25px 20px;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.9;
}
.qa-item.active .qa-question .icon {
  transform: rotate(45deg);
}
.qa-item.active .qa-answer {
  max-height: 200px;
}

.cta-section {
  background: var(--card-bg-color);
  border-radius: var(--border-radius);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.cta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
}
.cta-content {
  padding: 50px;
}
.cta-content h2 {
  text-align: right;
  margin-bottom: 15px;
}
.cta-content h2::after {
  margin: 15px 0 0;
}
.contact-info {
  font-size: 1.1rem;
}
.contact-info p {
  margin-bottom: 10px;
}
.contact-info a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}
.contact-info a:hover {
  text-decoration: underline;
}
.map-container {
  height: 100%;
  min-height: 400px;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}
.cta-button {
  display: inline-block;
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(44, 62, 80, 0.4);
  margin-top: 20px;
}

.cta-button:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 10px 30px rgba(26, 188, 156, 0.5);
}

@media (max-width: 992px) {
  .grid-2,
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .hero-image {
    grid-row: 1;
    margin-bottom: 30px;
  }
  h1 {
    font-size: 2.8rem;
    text-align: center;
  }
  .hero-content {
    text-align: center;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.4rem;
  }
  h2 {
    font-size: 2rem;
  }
  p {
    font-size: 1rem;
  }
  .container {
    padding: 30px 15px;
  }
  .process-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }
  .process-wrapper::before {
    top: 5%;
    bottom: 5%;
    right: 35px;
    width: 4px;
    height: 90%;
  }
  .process-step {
    width: 100%;
    display: flex;
    align-items: center;
    text-align: right;
    margin-bottom: 20px;
  }
  .process-step .step-number {
    margin-left: 20px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .process-step .step-content {
    text-align: right;
  }
  .audience-grid {
    grid-template-columns: 1fr;
  }
  .cta-grid {
    grid-template-columns: 1fr;
  }
  .cta-content {
    padding: 40px 30px;
    text-align: center;
  }
  .cta-content h2 {
    text-align: center;
  }
  .cta-content h2::after {
    margin: 15px auto 0;
  }
  .map-container {
    height: 350px;
    order: -1;
  }
}
