:root {
  --cyan-500: #06b6d4;
  --cyan-600: #0891b2;
  --cyan-300: #67e8f9;
  --gray-50: #f9fafb;
  --gray-200: #e5e7eb;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--white);
  color: var(--gray-800);
  margin: 0;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

section {
  padding: 5rem 1.5rem;
}

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.2;
}

.hero-text h1 .highlight {
  color: var(--cyan-500);
}

.hero-text p {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--gray-600);
}

.hero-text .cta-button {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.75rem 2rem;
  background-color: var(--cyan-500);
  color: var(--white);
  font-weight: 700;
  border-radius: 0.5rem;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.hero-text .cta-button:hover {
  background-color: var(--cyan-600);
  transform: scale(1.05);
}

.hero-image img {
  width: 100%;
  height: auto;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

.text-center {
  text-align: center;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-title .highlight {
  color: var(--cyan-500);
}

.section-subtitle {
  max-width: 48rem;
  margin: 0 auto;
  color: var(--gray-600);
  margin-bottom: 3rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.benefit-card {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.benefit-card .icon-container {
  margin-bottom: 1rem;
}

.benefit-card .icon {
  width: 4rem;
  height: 4rem;
  color: var(--cyan-500);
  transition: transform 0.3s ease;
}

.benefit-card:hover .icon {
  transform: scale(1.1) rotate(-6deg);
}

.benefit-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.video-container {
  max-width: 56rem;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.why-us-grid img {
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
  height: auto;
}

.reference-section {
  background-color: var(--gray-800);
  color: var(--white);
  text-align: center;
  border-radius: 0.5rem;
  padding: 3rem 1.5rem;
}

.reference-section h2 {
  font-size: 1.75rem;
}

.reference-section .ref-button {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 2rem;
  background-color: var(--cyan-500);
  color: var(--white);
  font-weight: 700;
  border-radius: 0.5rem;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.reference-section .ref-button:hover {
  background-color: var(--cyan-600);
  transform: scale(1.05);
}

.faq-container {
  max-width: 48rem;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem;
  text-align: right;
  font-weight: 600;
  color: var(--gray-800);
  background: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
  font-family: 'iranyekan';
}

.faq-question:hover {
  background-color: var(--gray-50);
}

.faq-question svg {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s ease;
}

.faq-question.open svg {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.25rem;
  color: var(--gray-600);
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease-out;
}

.faq-answer.open {
  max-height: 200px;
  padding-bottom: 1.25rem;
}

#contact {
  background-color: var(--cyan-600);
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.contact-info h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.contact-item svg {
  width: 1.5rem;
  height: 1.5rem;
  margin-left: 0.75rem;
}

.contact-item a {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-item a:hover {
  color: var(--cyan-300);
}

.map-container {
  height: 20rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 768px) {
  .hero-grid,
  .why-us-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-grid {
    text-align: center;
  }
  .hero-text h1,
  .hero-text p {
    text-align: center;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .why-us-grid,
  .contact-grid {
    text-align: center;
  }
  .contact-item {
    justify-content: center;
  }
  .hero-grid .hero-text {
    order: 2;
  }
  .hero-grid .hero-image {
    order: 1;
  }
}
