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

@font-face {
  font-family: "danaweb";
  src:
    url("../assets/danaweb.woff") format("woff"),
    url("../assets/danaweb.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
  /* بهبود نمایش فونت هنگام بارگذاری */
}

body {
  font-family: "danaweb";
  background: #f8fafc;
  color: #1e293b;
  line-height: 1.8;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  background: linear-gradient(135deg, #064e3b 0%, #047857 100%);
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 16px 0;
}

.nav-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  position: relative;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 8px;
}

.logo h1 {
  font-size: 1.7rem;
  font-weight: 800;
}

.logo p {
  font-size: 0.85rem;
  opacity: 0.9;
}

.nav-menu {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.nav-menu a:hover {
  color: #fbbf24;
}

/* Buttons */
.btn {
  display: inline-block;
  background: #f97316;
  color: white;
  padding: 12px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  transition: 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  background: #ea580c;
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-warning {
  background: #fbbf24;
  color: #064e3b;
  padding: 12px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  transition: 0.3s;
  border: none;
  cursor: pointer;
}

.btn-warning:hover {
  background: #f59e0b;
}

.btn-submit {
  font-family: dana;
  width: 100%;
  background: #064e3b;
}

.btn-submit:hover {
  background: #022c22;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #022c22 0%, #065f46 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 900;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 30px;
}

/* Sections */
section {
  margin: 60px 0;
}

.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 45px;
  color: #064e3b;
  border-bottom: 4px solid #f97316;
  display: inline-block;
  width: auto;
}

.title-center {
  text-align: center;
}

/* Grids */
.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 30px;
  margin: 40px 0;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Cards */
.card {
  background: white;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.highlight-card {
  background: #fef3c7;
}

/* Info & Stats */
.info-box {
  background: #ecfdf5;
  padding: 40px;
  border-radius: 32px;
  text-align: justify;
}

.info-box p {
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.stats-box {
  background: #dcfce7;
  display: grid;
  padding: 25px;
  border-radius: 20px;
  margin-top: 20px;
}

.stats-box a {
  background: #3a5d46;
  color: #fff;
  text-align: center;
  padding: 7px;
  text-decoration: none;
  border-radius: 7px;
  margin-top: 20px;
}

/* Table */
.table-responsive {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  min-width: 600px;
}

.comparison-table th,
.comparison-table td {
  padding: 18px;
  text-align: right;
  border-bottom: 1px solid #e2e8f0;
}

.comparison-table th {
  background: #064e3b;
  color: white;
  font-weight: 800;
}

.comparison-table tr:hover {
  background: #fef3c7;
}

/* FAQ */
.faq-item {
  background: white;
  margin: 15px 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
  padding: 20px 25px;
  background: #f1f5f9;
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
  color: #064e3b;
  transition: 0.3s;
}

.faq-question:hover {
  background: #e2e8f0;
}

.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
  padding: 20px 25px;
  max-height: 500px;
}

/* Testimonials */
.testimonial {
  background: linear-gradient(135deg, #fef3c7, #fffbeb);
  border-right: 6px solid #f97316;
}

/* Contact Form */
.contact-form {
  background: white;
  border-radius: 30px;
  padding: 45px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

input,
textarea,
select {
  width: 100%;
  padding: 14px;
  margin: 10px 0 20px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-family: inherit;
  transition: 0.3s;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #f97316;
  outline: none;
}

.phone-badge {
  background: #064e3b;
  color: white;
  padding: 20px;
  border-radius: 60px;
  text-align: center;
  font-size: 1.8rem;
  font-weight: bold;
  direction: ltr;
  margin: 25px 0;
}

.form-note {
  text-align: center;
  margin-top: 20px;
}

/* Footer */
footer {
  background: #022c22;
  color: #a7f3d0;
  padding: 50px 0;
  text-align: center;
  margin-top: 80px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
}

.phone-big-box {
  background: linear-gradient(135deg, #064e3b, #047857);
  border-radius: 28px;
  padding: 35px;
  text-align: center;
  margin: 30px 0;
  color: white;
}
.phone-big-box .phone-number {
  font-size: 2rem;
  font-weight: 900;
  direction: ltr;
  background: #fbbf24;
  color: #064e3b;
  display: inline-block;
  padding: 12px 35px;
  border-radius: 60px;
  margin-top: 15px;
  letter-spacing: 1px;
}
.phone-big-box .phone-number a {
  color: #064e3b;
  text-decoration: none;
}

/* ==================== */
/* Responsive Design */
/* ==================== */

@media (max-width: 992px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .phone-badge {
    font-size: 1.3rem;
  }
  .phone-big-box .phone-number {
    font-size: 1.3rem;
    padding: 10px 20px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  /* منوی همبرگری */
  .mobile-menu-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: linear-gradient(135deg, #064e3b 0%, #047857 100%);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }

  .nav-menu.active {
    display: flex;
  }

  .logo h1 {
    font-size: 1.2rem;
  }

  .logo p {
    font-size: 0.7rem;
  }

  .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
  }

  .hero {
    padding: 50px 0;
  }

  .hero h2 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  section {
    margin: 40px 0;
  }

  .section-title {
    font-size: 1.4rem;
    margin-bottom: 30px;
  }

  .info-box,
  .contact-form {
    padding: 20px;
  }

  .phone-badge {
    font-size: 1rem;
    padding: 12px;
  }

  .card {
    padding: 20px;
  }
}

@media (max-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 12px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .nav-flex {
    justify-content: flex-start;
  }
  /* .btn {
    display: none;
  } */
  .hero h2 {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 1.2rem;
  }

  .contact-form {
    padding: 16px;
  }

  input,
  textarea,
  select {
    padding: 10px;
    font-size: 14px;
  }
}
