body {
  font-family: "Vazirmatn", sans-serif;
  direction: rtl;
  padding-top: 80px;
}
section {
  scroll-margin-top: 100px;
}
/*navbar*/
/* دکمه همبرگری */
.navbar {
  background: #fff;
}
.navbar-toggler {
  border: none;
  box-shadow: none !important;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* منوی کشویی موبایل */
.offcanvas {
  width: 70%;
  max-width: 250px;
  background: #fff;
  direction: rtl;
  border-left: 1px solid #eee;
}

/* هدر منو */
.offcanvas-header {
  padding: 20px;
  border-bottom: 1px solid #f1f1f1;
}

.offcanvas-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0d6efd;
}
.nav-link,
.navbar-brand {
  font-size: 1.3rem;
}
.offcanvas .nav-link {
  color: #333;
  font-size: 1.3rem;
  font-weight: 500;
  padding: 14px 0;
  transition: all 0.3s ease;
}

.offcanvas .nav-link:hover {
  color: #0d6efd;
  padding-right: 10px;
}

.offcanvas .nav-link.active {
  color: #0d6efd;
  font-weight: 700;
}

.offcanvas .navbar-nav {
  gap: 5px;
}
.desktop-nav {
  background: linear-gradient(45deg, #d4af37, transparent);
  padding: 20px;
  border: 1px solid #333;
  border-radius: 20px;
}
.navbar-nav li:hover a {
  text-decoration: underline;
}
.offcanvas-backdrop.show {
  opacity: 0.4;
}
.img-header {
  width: 150px;
  height: 150px;
  object-fit: cover;
}
@media (min-width: 992px) {
  .offcanvas {
    display: none !important;
  }
}

/* Hero Section */
.hero {
  padding-top: 50px;
  min-height: 85vh;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  display: flex;
  align-items: center;
}

.hero-title {
  color: #d4af37;
  font-size: 2.8rem;
  margin-bottom: 20px;
  line-height: 1.4;
}

.hero-text {
  color: #cbd5e1;
  font-size: clamp(1rem, 2vw, 1.3rem);
  line-height: 2;
  max-width: 900px;
  margin: 0 auto;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-btn {
  background: #d4af37;
  color: #0f172a;
  padding: 12px 30px;
  border-radius: 10px;
  text-decoration: none;
  transition: 0.3s;
}

.hero-btn-outline {
  border: 2px solid #d4af37;
  color: #d4af37;
  padding: 12px 30px;
  border-radius: 10px;
  text-decoration: none;
  transition: 0.3s;
}

.hero-btn:hover,
.hero-btn-outline:hover {
  background: #d4af37;
  color: #0f172a;
}

@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
    padding: 40px 0;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-btn,
  .hero-btn-outline {
    width: 220px;
    text-align: center;
  }
  .img-header {
    width: 80px;
    height: 80px;
    object-fit: cover;
  }
  .hero-text {
    max-width: 600px;
  }
  .hero-title {
    font-size: 2rem;
  }
}

.img-fluid {
  width: 200px;
  height: 200px;
}
.img-fluid-footer {
  width: 200px;
  height: 200px;
}
/*resume*/
.resume {
  background: #f8fafc;
}

.resume-title {
  color: #0f172a;
  font-size: 2.8rem;
}

.resume-box {
  background: white;
  border-radius: 20px;
  padding: 35px;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.resume-box:hover {
  transform: translateY(-8px);
}

.resume-box h4 {
  color: #d4af37;
  margin-bottom: 25px;
}

.resume-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.resume-box li {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}
/*services*/
.services {
  background: #f8fafc;
}

.services-title {
  color: #0f172a;
  font-size: 2.5rem;
}

.services-subtitle {
  color: #64748b;
}

.service-card {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: 0.3s;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.service-card h4 {
  color: #d4af37;
  margin-bottom: 15px;
}

.service-card p {
  color: #475569;
  line-height: 1.8;
}
/*contact*/
.contact-section {
  padding: 100px 0;
  background: #ffffff;
}

.contact-wrapper {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  border-radius: 30px;
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
}

.contact-wrapper::before {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  background: rgba(212, 175, 55, 0.08);
  border-radius: 50%;
  top: -100px;
  left: -100px;
}

.contact-header {
  text-align: center;
  margin-bottom: 50px;
}

.contact-header h2 {
  color: #d4af37;
  font-size: 3rem;
  margin-bottom: 15px;
}

.contact-header p {
  color: #cbd5e1;
  max-width: 650px;
  margin: auto;
  line-height: 2;
}

.contact-item {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px;
}

.contact-item h5 {
  color: #d4af37;
  margin-bottom: 15px;
}

.contact-item p {
  color: white;
  margin: 0;
  font-size: 1.1rem;
}
.contact-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.contact-icons a {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  text-decoration: none;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.contact-icons a i {
  font-size: 28px;
  line-height: 1;
}

.contact-icons a:hover {
  transform: translateY(-5px);
}
@media (max-width: 992px) {
  .contact-item {
    border-right: none;
  }

  .contact-header h2 {
    font-size: 2.2rem;
  }
}
/*footer*/
.footer {
  background: #0f172a;
  color: #cbd5e1;
}

.footer-title {
  color: #d4af37;
  margin-bottom: 15px;
}

.footer-text {
  margin: 5px 0;
  color: #cbd5e1;
  line-height: 1.8;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #d4af37;
}

.footer small {
  color: #94a3b8;
}
.footer-phone {
  flex-direction: row-reverse;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  margin-right: 5px;
}

.footer-phone i {
  color: #198754;
  font-size: 18px;
}

.footer-phone:hover {
  text-decoration: underline;
}
.footer-social {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 10px;
}

.footer-social a {
  font-size: 24px;
  text-decoration: none;
  transition: 0.3s;
}

.footer-social a:hover {
  transform: translateY(-3px);
}

.footer-social .bi-telegram {
  color: #229ed9;
}

.footer-social .bi-whatsapp {
  color: #25d366;
}
.footer-social img {
  object-fit: contain;
}
