/* ================= RESET ================= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: sans-serif;
  background-color: #ffffff;
  color: #222;
  line-height: 1.8;
}

/* ================= GLOBAL VARIABLES ================= */
:root {
  --primary-color: #d6b789;
  --dark-color: #111;
  --gray-color: #777;
  --max-width: 1300px;
}

/* ================= GLOBAL CLASSES ================= */
.container {
  max-width: var(--max-width);
  margin: auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  position: relative;
}

.section-title::after {
  content: "";
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  position: absolute;
  bottom: -12px;
  right: 0;
}

/* ================= ANIMATIONS ================= */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  .section-title {
    font-size: 24px;
  }
}
/* ================= SECTION NAV ================= */
#section-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.nav__container {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__title {
  font-size: 18px;
  font-weight: 700;
}

.nav__icon {
  background: var(--primary-color);
  padding: 8px 10px;
  border-radius: 10px;
}

/* Menu */
.nav__menu {
  display: flex;
  gap: 32px;
}

.nav__link {
  position: relative;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  color: #333;
  padding-bottom: 6px;
}

.nav__link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

/* CTA */
.nav__cta {
  background: var(--primary-color);
  color: #000;
  padding: 10px 22px;
  border-radius: 12px;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s ease;
  font-weight: bold;
  border: #c8a66b solid 2px;
}

.nav__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: #000;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .nav__menu {
    position: fixed;
    top: 80px;
    right: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 30px 0;
    transform: translateY(-120%);
    transition: transform 0.4s ease;
  }

  .nav__menu.open {
    transform: translateY(0);
  }

  .nav__cta {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__logo-img {
  height: 42px;
  object-fit: contain;
}

/* ================= HERO SECTION ================= */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}

/* تصویر پیش‌فرض */
.hero__fallback {
  position: absolute;
  inset: 0;
  background: url("images/2.jpg") center / cover no-repeat;
  z-index: 1;
  transition: opacity 0.8s ease;
}

/* ویدیو */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* وقتی ویدیو آماده شد */
.hero.video-loaded .hero__fallback {
  opacity: 0;
  pointer-events: none;
}

/* Overlay */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.75)
  );
  z-index: 2;
}

.hero__container {
  position: relative;
  z-index: 3;
  text-align: center;
}

/* Overlay */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 40, 90, 0.85),
    rgba(10, 40, 90, 0.6),
    rgba(255, 255, 255, 0.85)
  );
  z-index: 1;
}

/* Content */
.hero__container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center; /* سنتر متن */
}

/* Title */
.hero__title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 20px;
}

.hero__title span {
  color: var(--primary-color);
}

/* Subtitle */
.hero__subtitle {
  font-size: 16px;
  color: #eaeaea;
  margin: 0 auto 40px;
  max-width: 600px;
}

/* Actions */
.hero__actions {
  display: flex;
  justify-content: center; /* سنتر دکمه‌ها */
  gap: 16px;
  flex-wrap: wrap;
}

/* Buttons */
.hero__phone {
  font-weight: bold;
  border: #c8a66b solid 2px;
  color: #fff;
  padding: 12px 26px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.hero__phone:hover {
  background: var(--primary-color);
  color: #000;
}

.hero__cta {
  background: var(--primary-color);
  color: #000;
  padding: 12px 28px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: bold;
  border: #c8a66b solid 2px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.25);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .hero {
    min-height: 100vh;
    padding: 0 16px;
  }

  .hero__title {
    font-size: 32px;
  }
}
/* ================= STATS SECTION ================= */
.stats {
  background: #fff;
  padding: 80px 0;
  border-top: 1px solid #eee;
}

.stats__container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

/* Item */
.stat__number {
  display: block;
  font-size: 42px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.stat__label {
  font-size: 14px;
  font-weight: bold;
  color: #333;
}

/* Responsive */
@media (max-width: 768px) {
  .stats__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .stat__number {
    font-size: 36px;
  }
}
.services {
  padding: 100px 20px;
  background: #f6f7f9;overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.services-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 70px;
}

.services-header .badge {
  display: inline-block;
  background: #fff3d6;
  color: #c89b3c;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  margin-bottom: 15px;
}

.services-header h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.services-header p {
  font-size: 15px;
  color: #555;
  line-height: 1.9;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* کارت‌ها */
.service-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  text-align: center;
  opacity: 0;
  transition: all 0.7s ease;
}

.service-card .icon {
  width: 60px;
  height: 60px;
  background: #264979;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 26px;
}

.service-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}

/* انیمیشن‌ها */
.service-card.from-left {
  transform: translateX(-60px);
}

.service-card.from-right {
  transform: translateX(60px);
}

.service-card.show {
  opacity: 1;
  transform: translateX(0);
}

/* ریسپانسیو */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}
.trust-section {
  padding: 100px 20px;
  background: #ffffff;
  direction: rtl;
}

.trust-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* RIGHT */
.trust-brand {
  text-align: center;
}

.hexagon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 125px;
}

.inner-circle {
  width: 80px;
  height: 80px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.symbol {
  color: #d4af37;
  font-size: 28px;
}

.brand-name {
  font-size: 26px;
  margin-bottom: 6px;
}

.brand-subtitle {
  font-size: 14px;
  color: #777;
}

/* LEFT */
.trust-card {
  background: #f6f7f9;
  border-radius: 20px;
  padding: 50px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.trust-card.show {
  opacity: 1;
  transform: translateY(0);
}

.trust-card h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.trust-card h3 span {
  color: #c8a66b;
  font-weight: bold;
}

.trust-text {
  font-size: 15px;
  color: #555;
  line-height: 1.9;
  margin-bottom: 30px;
}

.trust-list {
  list-style: none;
  padding: 0;
  margin-bottom: 35px;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #333;
  margin-bottom: 12px;
}

.check {
  width: 24px;
  height: 24px;
  background: #c8a66b;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

/* BUTTON */
.trust-btn {
  display: inline-block;
  background: #d6b789;
  font-weight: bold;
  border: #c8a66b solid 2px;
  color: #333;
  font-weight: bold;
  padding: 14px 36px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.trust-btn:hover {
  background: #c8a66b;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .trust-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .trust-card {
    padding: 35px;
  }
}
.about-section {
  padding: 120px 0;
  background: #ffffff;
  direction: rtl;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* CARD FULL WIDTH */
.about-card {
  width: 100%;
  background: #f6f7f9;
  padding: 70px 80px;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.06);
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.about-card.show {
  opacity: 1;
  transform: translateY(0);
}

/* باقی استایل‌ها بدون تغییر */
.about-label {
  display: inline-block;
  font-size: 13px;
  color: #1f3c88;
  background: #e8edff;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 18px;
}

.about-title {
  font-size: 34px;
  line-height: 1.5;
  margin-bottom: 30px;
}

.about-title::after {
  content: "";
  width: 80px;
  height: 3px;
  background: #c8a66b;
  display: block;
  margin-top: 12px;
}

.about-text,
.about-more p {
  font-size: 16px;
  line-height: 2.1;
  color: #444;
  text-align: justify;
  text-justify: inter-word;
  margin-bottom: 20px;
}

.about-more {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.7s ease;
}

.about-more.show {
  max-height: 500px;
  opacity: 1;
}

.about-btn {
  background: #d6b789;
  color: #333;
  border: 2px solid #c8a66b;
  font-weight: bold;
  padding: 15px 38px;
  border-radius: 14px;
  font-size: 14px;
  cursor: pointer;
}
.about-btn :hover {
  background: #d6b789;
}
/* RESPONSIVE */
@media (max-width: 768px) {
  .about-card {
    padding: 45px 30px;
  }

  .about-title {
    font-size: 26px;
  }
}
.contact-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #f6f7f9 0%, #eef0f3 100%);
  direction: rtl;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: stretch;
}

/* MAP */
.contact-map {
  background: #f7f7f7;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: none;
}

/* INFO */
.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-title {
  font-size: 34px;
  text-align: center;
  margin-bottom: 35px;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  background: #f7f7f7;
}

.contact-card {
  background: #fff;
  border-radius: 20px;
  padding: 25px 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
}

.contact-card .icon {
  font-size: 26px;
  margin-bottom: 10px;
}

.contact-card span {
  font-size: 14px;
  color: #777;
}

.contact-card p {
  font-size: 15px;
  margin-top: 6px;
  color: #333;
}

/* WORK TIME */
.work-time {
  margin-top: 30px;
  background: #f8f8f8;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.work-time .icon {
  font-size: 22px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-map iframe {
    min-height: 300px;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }
}
/* استایل فوتر - به‌روز شده */
footer {
  background-color: #1d3658;
  color: #ffffff;
  padding: 50px 0 30px 0;
  text-align: center;
  position: relative; /* برای کنترل z-index نسبت به سایر عناصر */
  z-index: 500; /* پایین‌تر از هدر و بسیار پایین‌تر از لایت‌باکس */
}

.footer-content {
  margin-bottom: 30px;
}

.footer-brand-name {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

.footer-tagline {
  font-size: 16px;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.footer-social-icons {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-social-icons li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.footer-social-icons li a:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

.footer-social-icons img {
  width: 22px;
  height: 22px;
}

.footer-divider {
  border: none;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.2);
  margin: 30px auto;
  width: 80%;
  max-width: 800px;
}

.footer-copyright p {
  font-size: 14px;
  color: #f0f0f0;
  margin: 0;
}

/* واکنش‌گرایی */
@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  .hero-content {
    padding-left: 0;
    margin-bottom: 40px;
    flex-basis: 100%;
  }
  .hero-content h1 {
    font-size: 34px;
  }
  .hero-image {
    flex-basis: 100%;
    text-align: center;
  }
  .hero-image img {
    max-width: 80%;
  }

  .services-content {
    flex-direction: column;
    align-items: center;
  }
  .services-grid-wrapper {
    width: 100%;
    margin-bottom: 40px;
    flex: 1;
  }
  .services-main-image-container {
    width: 80%;
    flex: 1;
  }
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .about-us-content {
    gap: 30px;
  }
  .about-us-text h2 {
    font-size: 28px;
  }
  .about-us-image img {
    max-width: 380px;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }
  .contact-us-content {
    align-items: center;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    padding: 15px 20px;
    border-radius: 30px;
  }
  .logo {
    margin-bottom: 15px;
  }
  nav ul {
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
  }
  nav ul li {
    margin: 5px 10px;
  }

  .hero-content h1 {
    font-size: 28px;
  }
  .hero-content p {
    font-size: 16px;
  }
  .btn {
    padding: 10px 20px;
    font-size: 15px;
  }
  .hero-image img {
    max-width: 90%;
  }

  .section-title {
    font-size: 26px;
  }
  .section-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .title-accent {
    margin-bottom: 30px;
    width: 60px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service-item {
    padding: 20px;
  }
  .service-item h3 {
    font-size: 18px;
  }
  .service-item p {
    font-size: 14px;
  }
  .services-main-image-container {
    width: 100%;
  }

  .gallery-item {
    flex: 0 0 200px;
    height: 280px;
  }
  .lightbox-content {
    max-width: 90%;
    max-height: 80vh;
  }
  .lightbox-close {
    font-size: 30px;
    top: 15px;
    right: 20px;
  }

  .about-us-content {
    flex-direction: column;
    align-items: center;
  }
  .about-us-text {
    text-align: center;
    margin-bottom: 30px;
    order: 2;
  }
  .about-us-image {
    order: 1;
  }
  .about-us-text h2 {
    text-align: center;
  }
  .about-us-text .title-accent-line {
    margin-right: auto;
    margin-left: auto;
  }
  .about-us-image img {
    max-width: 100%;
  }

  .contact-us-content {
    flex-direction: column;
  }
  .contact-info-area {
    order: 1;
    margin-bottom: 30px;
  }
  .contact-map-area {
    order: 2;
    min-height: 250px;
  }
  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand-name {
    font-size: 28px;
  }
  .footer-tagline {
    font-size: 14px;
  }
  .footer-social-icons li a {
    width: 40px;
    height: 40px;
  }
  .footer-social-icons img {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 576px) {
  .gallery-item {
    flex: 0 0 160px;
    height: 220px;
  }
  .gallery-row {
    gap: 15px;
  }
}
/* Section Styles */
.cta-section {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 350px;
  background-color: #1d3658;
}

.cta-container {
  text-align: center;
  max-width: 600px;
  width: 100%;
  background-color: #1d3658;
  padding: 40px;
  border-radius: 10px;
}

.cta-title {
  font-size: 2.5rem;
  color: #d6b789;

  margin-bottom: 20px;
}

.cta-description {
  font-size: 1.2rem;
  color: #d0d0d0;
  margin-bottom: 30px;
}

.cta-content {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.cta-phone,
.cta-button {
  padding: 15px 30px;
  border-radius: 14px;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.3s;
}

.cta-phone {
  border: 2px solid #c8a66b;
}

.cta-phone:hover {
  background-color: #c8a66b;
}

.cta-button {
  border: 2px solid #c8a66b;
  background-color: #d6b789;
  color: #333;
  font-weight: bold;
}
.contact-card-o {
  height: 40px;
  margin: 10px;
}
.cta-button:hover {
  background-color: #c8a66b;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .cta-title {
    font-size: 2rem;
  }

  .cta-description {
    font-size: 1rem;
  }

  .cta-content {
    flex-direction: column;
    gap: 15px;
  }

  .cta-phone,
  .cta-button {
    padding: 12px 25px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .cta-title {
    font-size: 1.5rem;
  }

  .cta-description {
    font-size: 0.9rem;
  }

  .cta-phone,
  .cta-button {
    padding: 10px 20px;
    font-size: 0.8rem;
  }
}
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* برای اینکه ویدیو به طور کامل در پس‌زمینه قرار بگیرد */
  z-index: -1; /* ویدیو در پس‌زمینه قرار گیرد */
}

.hero-content {
  z-index: 1; /* محتوای شما در جلوی ویدیو قرار می‌گیرد */
  text-align: center;
  color: #fff;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
}
