:root {
  --bg-color: #ecf0f1;
  --card-bg: #ffffff;
  --primary-text: #34495e;
  --secondary-text: #7f8c8d;
  --heading-color: #2c3e50;
  --accent-color: #18bc9c;
  --accent-hover: #149a7e;
  --border-color: #bdc3c7;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Vazirmatn", sans-serif;
  background-color: var(--bg-color);
  color: var(--primary-text);
  line-height: 1.8;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 25px;
}

.section {
  padding: 120px 0;
  text-align: center;
  position: relative;
}
.section-colored {
  background-color: #ffffff;
}

.section-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--heading-color);
  margin-bottom: 25px;
}

.section-subtitle {
  font-size: 1.3rem;
  color: var(--secondary-text);
  max-width: 800px;
  margin: 0 auto 80px auto;
}

.hero {
  padding: 140px 0;
  background: linear-gradient(135deg, #ecf0f1 0%, #ffffff 100%);
}
.hero h1 {
  font-size: 4.5rem;
  line-height: 1.2;
  font-weight: 800;
  color: var(--heading-color);
  margin-bottom: 30px;
}
.hero .highlight {
  color: var(--accent-color);
}
.hero p {
  font-size: 1.6rem;
  margin-bottom: 50px;
  color: var(--secondary-text);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  padding: 18px 45px;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  position: relative;
  background: var(--accent-color);
  color: #fff;
  box-shadow: 0 10px 25px -10px var(--accent-color);
}
.btn:hover {
  transform: translateY(-5px);
  background-color: var(--accent-hover);
  box-shadow: 0 15px 30px -8px var(--accent-color);
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(44, 62, 80, 0.05);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
}
.card-content {
  transform: translateZ(20px);
}
.card:hover {
  box-shadow: 0 25px 50px -12px rgba(24, 188, 156, 0.2),
    0 0 20px rgba(24, 188, 156, 0.4);
  border-color: var(--accent-color);
}
.card .icon {
  font-size: 3.5rem;
  margin-bottom: 25px;
  color: var(--accent-color);
  transition: transform 0.4s ease;
}
.card:hover .icon {
  transform: scale(1.15) rotate(-10deg);
}
.card h3 {
  font-size: 1.6rem;
  color: var(--heading-color);
  margin-bottom: 15px;
}

.three-column-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  perspective: 1000px;
}

.journey-timeline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  position: relative;
  margin-top: 50px;
}
.journey-step {
  flex: 1;
  min-width: 180px;
  max-width: 200px;
  text-align: center;
}
.step-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--card-bg);
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  font-size: 2.5rem;
  transition: all 0.3s ease;
}
.journey-step:hover .step-icon {
  background-color: var(--accent-color);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 0 20px var(--accent-color);
}
.step-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--primary-text);
}
.step-description {
  font-size: 0.9rem;
  color: var(--secondary-text);
}

.definition-layout {
  display: flex;
  align-items: center;
  gap: 60px;
  text-align: right;
}
.definition-visual {
  flex-basis: 40%;
  text-align: center;
}
.definition-visual img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
}
.definition-text {
  flex-basis: 60%;
}
.definition-text ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}
.definition-text ul li {
  position: relative;
  padding-right: 30px;
  margin-bottom: 15px;
  font-size: 1.1rem;
}
.definition-text ul li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--accent-color);
  position: absolute;
  right: 0;
  top: 6px;
}

.qa-container {
  max-width: 850px;
  margin: 50px auto 0;
}
.qa-item {
  background: var(--card-bg);
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}
.qa-item[open] {
  border-color: var(--accent-color);
}
.qa-item summary {
  font-size: 1.2rem;
  font-weight: 600;
  padding: 25px;
  cursor: pointer;
  list-style: none;
  position: relative;
  color: var(--heading-color);
}
.qa-item summary::marker,
.qa-item summary::-webkit-details-marker {
  display: none;
}
.qa-item summary .icon-toggle {
  position: absolute;
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.4s ease;
  color: var(--accent-color);
}
.qa-item[open] summary .icon-toggle {
  transform: translateY(-50%) rotate(45deg);
}
.qa-answer {
  padding: 0 25px 25px;
  text-align: right;
}
.cta {
  background-color: var(--heading-color);
  color: #fff;
  border-radius: 30px;
  margin: 0 20px;
}
.cta .section-title,
.cta .section-subtitle {
  color: #fff;
}
.cta .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}
.contact-info {
  margin-top: 40px;
}
.contact-info a {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
  text-decoration: none;
}
.contact-info a i {
  color: var(--accent-color);
  margin-left: 15px;
}

@media (max-width: 992px) {
  .three-column-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }
  .section-title {
    font-size: 2.5rem;
  }
  .hero h1 {
    font-size: 3.2rem;
  }
  .hero p {
    font-size: 1.3rem;
  }
  .three-column-grid,
  .definition-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .definition-layout {
    flex-direction: column-reverse;
  }
  .contact-info a {
    font-size: 1.6rem;
  }
  .cta {
    margin: 0 15px;
  }
  .fass {
    font-size: 0.6rem;
  }
  .btnn {
    font-size: 0.7rem;
  }
}
