/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0f8b3a;
  --primary-dark: #0a6b2c;
  --primary-light: #e6f5ec;
  --secondary: #1a2a3a;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --white: #ffffff;
  --gray-100: #f8fafc;
  --gray-200: #e2e8f0;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  --radius: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Vazir', system-ui, -apple-system, sans-serif;
}

body {
  font-family: var(--font);
  background-color: var(--white);
  color: var(--text-dark);
  line-height: 1.7;
  direction: rtl;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(15, 139, 58, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 1000;
  padding: 12px 0;
  transition: var(--transition);
}

.navbar__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
}

.logo-image {
  height: 40px;
  width: auto;
  display: block;
  background: transparent !important;
  object-fit: contain;
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--secondary);
}

/* Desktop Links */
.navbar__links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.navbar__links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
  padding-bottom: 4px;
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.navbar__links a:hover::after,
.navbar__links a.active::after {
  width: 100%;
}

.navbar__links a:hover {
  color: var(--primary);
}

/* Navbar Actions */
.navbar__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Toggle */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.navbar__toggle span {
  width: 28px;
  height: 3px;
  background: var(--secondary);
  border-radius: 4px;
  transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #f8fffb 0%, #e6f5ec 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero__title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--secondary);
}

.hero__title span {
  color: var(--primary);
}

.hero__subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 480px;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__image {
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
}

.hero__logo {
  width: 100%;
  max-width: 400px;
  height: auto;
  background: transparent !important;
  object-fit: contain;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.06));
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--secondary);
}

.section-header p {
  color: var(--text-light);
  max-width: 560px;
  margin: 8px auto 0;
}

/* ===== SERVICES SECTION ===== */
.services {
  padding: 80px 0;
  background: var(--white);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--gray-100);
  padding: 32px 24px;
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition);
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.service-card__icon {
  font-size: 2.8rem;
  margin-bottom: 12px;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ===== PROJECTS SECTION (COMMENTED OUT) ===== */
/*
.projects {
  padding: 80px 0;
  background: var(--gray-100);
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.project-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.project-card__image {
  height: 200px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--primary);
}

.project-card__body {
  padding: 20px 24px 24px;
}

.project-card__body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.project-card__body p {
  font-size: 0.9rem;
  color: var(--text-light);
}
*/

/* ===== STRENGTHS ===== */
.strengths {
  padding: 80px 0;
  background: var(--white);
}

.strengths__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
}

.strength-item h3 {
  font-size: 2.4rem;
  color: var(--primary);
  font-weight: 700;
}

.strength-item p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ===== CTA SECTION ===== */
.cta {
  padding: 80px 0;
  background: var(--secondary);
  color: var(--white);
  text-align: center;
}

.cta h2 {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.cta p {
  max-width: 480px;
  margin: 0 auto 32px;
  opacity: 0.8;
}

.cta .btn-primary {
  background: var(--white);
  color: var(--secondary);
}
.cta .btn-primary:hover {
  background: var(--primary-light);
  color: var(--secondary);
}

/* ===== FOOTER ===== */
.footer {
  background: #0f1a26;
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 24px;
  text-align: center;
}

.footer a {
  color: var(--white);
  text-decoration: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero__actions {
    justify-content: center;
  }
  .hero__title {
    font-size: 2.6rem;
  }
  .hero__logo {
    max-width: 280px;
  }
}

@media (max-width: 768px) {
  .navbar__links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: var(--white);
    padding: 24px 20px;
    gap: 16px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
  }
  .navbar__links.open {
    display: flex;
  }

  .navbar__toggle {
    display: flex;
  }

  .hero {
    padding: 120px 0 60px;
  }
  .hero__title {
    font-size: 2rem;
  }
  .section-header h2 {
    font-size: 1.8rem;
  }
  .hero__logo {
    max-width: 220px;
  }
  .logo-image {
    height: 32px;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 1.6rem;
  }
  .hero__logo {
    max-width: 160px;
  }
  .logo-image {
    height: 28px;
  }
  .strengths__grid {
    grid-template-columns: 1fr 1fr;
  }
}