/* ===================== RESET & VARIABLES ===================== */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

:root{
  --navy:#0b2545;
  --navy-2:#123a63;
  --navy-3:#08192c;
  --accent:#ffb703;
  --accent-2:#fb8500;
  --green:#16a34a;
  --green-2:#22c55e;
  --bg:#f4f7fb;
  --alt:#e9f1f9;
  --text:#16283c;
  --muted:#5c7285;
  --white:#ffffff;
  --radius:18px;
  --shadow:0 10px 30px rgba(11,37,69,.10);
  /* --header-h:100px; این قسمت را خودم برای ارتفاع نوبار تغییر دادم */
  --header-h:100px;
}

html{
  overflow-x: hidden;
  scroll-behavior:smooth;
  scroll-padding-top:100px;
  -webkit-text-size-adjust:100%;
}

body{
  font-family:'Vazirmatn', Tahoma, Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:2;
  padding-top:var(--header-h);
  overflow-x:visible;
}

img{ max-width:100%; display:block; }
a{ text-decoration:none; color:inherit; }
ul{ list-style:none; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; }

.container{ width:min(1200px, 92%); margin-inline:auto; }

/* ===================== SCROLL REVEAL ===================== */
.reveal{
  opacity:0;
  transform:translateY(48px);
  transition:opacity .85s cubic-bezier(.2,.7,.3,1), transform .85s cubic-bezier(.2,.7,.3,1);
  transition-delay:var(--d, 0s);
  will-change:opacity, transform;
}
.reveal.in-view{ opacity:1; transform:translateY(0); }

@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
  html{ scroll-behavior:auto; }
}

/* ===================== HEADER / NAVBAR ===================== */
.site-header{
  position:fixed;
  top:0; right:0; left:0;
  z-index:1000;
  background:linear-gradient(90deg,#0b2545 0%, #123a63 55%, #0b2545 100%);
  box-shadow:0 6px 26px rgba(4,18,33,.30);
}

.navbar{
  height:var(--header-h);
  width:min(1440px, 96%);
  margin-inline:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

/* ترتیب: منو (راست) - تماس و شماره ها (چپ) - لوگو (وسط) */
.nav-menu-wrap{ order:1; }
.nav-actions{ order:3; display:flex; align-items:center; gap:50px; }
.nav-brand{ order:2; display:flex; align-items:center; }

.nav-brand img{
  /* height:52px; */      /* این قسمت رو خودم برای لوگوی اصلی تغییر دادم */
  height:150px;
  width:auto;
  filter:drop-shadow(0 4px 12px rgba(0,0,0,.35));
}

/* ---- منوی اصلی ---- */
.nav-menu{ display:flex; align-items:center; gap:4px; }
.nav-menu > li{ position:relative; }

.nav-menu > li > a{
  display:block;
  padding:10px 18px;
  color:#faeaf7;
  font-weight:600;
  font-size:16px;
  border-radius:12px;
  position:relative;
  transition:color .25s, background .25s;
}
.nav-menu > li > a::after{
  content:"";
  position:absolute;
  bottom:5px; right:18px; left:18px;
  height:2px;
  background:var(--accent);
  border-radius:2px;
  transform:scaleX(0);
  transform-origin:right;
  transition:transform .3s ease;
}
.nav-menu > li > a:hover{ color:#fff; background:rgba(255,255,255,.08); }
.nav-menu > li > a:hover::after{ transform:scaleX(1); }

/* ---- دراپ داون دسکتاپ ---- */
.has-dropdown::after{
  content:"";
  position:absolute;
  top:100%; right:0; left:0;
  height:18px;
}
.dropdown{
  position:absolute;
  top:calc(100% + 16px);
  right:0;
  min-width:250px;
  background:#fff;
  border-radius:16px;
  box-shadow:0 24px 55px rgba(11,37,69,.22);
  padding:10px;
  opacity:0;
  visibility:hidden;
  transform:translateY(16px);
  transition:opacity .32s ease, transform .32s ease, visibility .32s;
  z-index:60;
  overflow:hidden;
}
.dropdown::before{
  content:"";
  position:absolute;
  top:0; right:0; left:0;
  height:4px;
  background:linear-gradient(90deg,var(--accent),var(--accent-2));
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
.dropdown li a{
  display:flex;
  align-items:center;
  gap:10px;
  padding:11px 14px;
  border-radius:10px;
  color:var(--navy);
  font-size:15px;
  font-weight:500;
  transition:background .25s, color .25s, padding .25s;
}
.dropdown li a::before{
  content:"";
  width:7px; height:7px;
  border-radius:50%;
  background:var(--accent);
  flex:0 0 auto;
  transition:transform .25s, background .25s;
}
.dropdown li a:hover{
  background:#eef4fa;
  color:var(--navy-2);
  padding-right:20px;
}
.dropdown li a:hover::before{ transform:scale(1.35); background:var(--green); }

/* ---- دکمه تماس فوری ---- */
.call-now{
  display:inline-flex;
  align-items:center;
  gap:9px;
  background:linear-gradient(180deg,var(--green-2),var(--green));
  color:#fff;
  padding:11px 20px;
  border-radius:50px;
  font-weight:700;
  font-size:15px;
  box-shadow:0 8px 22px rgba(22,163,74,.40);
  animation:pulseBtn 2.2s infinite;
  transition:transform .25s, box-shadow .25s;
  white-space:nowrap;
}
.call-now:hover{ transform:translateY(-2px); box-shadow:0 12px 28px rgba(22,163,74,.55); }
.call-now svg{ width:18px; height:18px; fill:#fff; }

@keyframes pulseBtn{
  0%,100%{ box-shadow:0 8px 22px rgba(22,163,74,.40); }
  50%{ box-shadow:0 8px 22px rgba(22,163,74,.40), 0 0 0 9px rgba(34,197,94,.14); }
}

/* ---- شماره های کنار دکمه ---- */
.nav-phones{ display:flex; flex-direction:column; gap:3px; }
.nav-phones a{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:13px;
  font-weight:600;
  color:#dbe9f7;
  padding:3px 9px;
  border-radius:8px;
  background:rgba(255,255,255,.07);
  transition:background .25s, color .25s, transform .25s;
  direction:ltr;
  letter-spacing:.3px;
}
.nav-phones a:hover{ background:var(--green); color:#fff; transform:translateX(-3px); }
.nav-phones svg{ width:12px; height:12px; fill:currentColor; flex:0 0 auto; }

/* ---- همبرگر ---- */
.hamburger{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:44px; height:44px;
  border-radius:12px;
  background:rgba(255,255,255,.10);
  padding:0 10px;
  transition:background .25s;
}
.hamburger span{
  display:block;
  height:2.5px;
  width:100%;
  background:#fff;
  border-radius:3px;
  transition:transform .35s ease, opacity .3s ease;
}
.hamburger.active span:nth-child(1){ transform:translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2){ opacity:0; }
.hamburger.active span:nth-child(3){ transform:translateY(-7.5px) rotate(-45deg); }

/* ---- اورلی موبایل ---- */
.nav-overlay{
  position:fixed; inset:0;
  background:rgba(5,17,30,.62);
  backdrop-filter:blur(2px);
  opacity:0; visibility:hidden;
  transition:opacity .35s ease, visibility .35s;
  z-index:1100;
}
.nav-overlay.open{ opacity:1; visibility:visible; }

/* ===================== HERO CAROUSEL ===================== */
.hero{
  position:relative;
  width:100%;
  height:60vh;
  min-height:340px;
  max-height:660px;
  overflow:hidden;
  background:var(--navy);
}
.slide{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:0;
  transform:translateX(-100%);
  transition:transform .95s cubic-bezier(.4,0,.2,1), opacity .95s ease;
  z-index:1;
}
.slide.active{ opacity:1; transform:translateX(0); z-index:2; }
.slide.leaving{ opacity:0; transform:translateX(100%); z-index:1; }

.hero::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(to left, rgba(6,20,35,.20), rgba(6,20,35,.80));
  z-index:3;
  pointer-events:none;
}

.hero-content{
  position:relative;
  z-index:4;
  height:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:18px;
  padding:0 20px;
  color:#fff;
}
.hero-content h1{
  font-size:clamp(22px, 3.6vw, 44px);
  font-weight:800;
  line-height:1.6;
  text-shadow:0 6px 26px rgba(0,0,0,.5);
}
.hero-content p{
  font-size:clamp(14px, 1.5vw, 19px);
  color:#dce9f6;
  max-width:760px;
}
.hero-cta{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:linear-gradient(180deg,var(--green-2),var(--green));
  color:#fff;
  font-weight:800;
  font-size:clamp(15px,1.4vw,18px);
  padding:14px 34px;
  border-radius:50px;
  box-shadow:0 14px 34px rgba(22,163,74,.48);
  transition:transform .3s, box-shadow .3s;
}
.hero-cta:hover{ transform:translateY(-3px) scale(1.02); box-shadow:0 18px 42px rgba(22,163,74,.62); }
.hero-cta svg{ width:20px; height:20px; fill:#fff; }

.hero-dots{
  position:absolute;
  bottom:18px; right:50%;
  transform:translateX(50%);
  display:flex; gap:9px;
  z-index:5;
}
.hero-dot{
  width:11px; height:11px;
  border-radius:50%;
  background:rgba(255,255,255,.45);
  transition:background .3s, transform .3s, width .3s;
}
.hero-dot.active{ background:var(--accent); width:30px; border-radius:20px; }

/* ===================== SECTIONS ===================== */
section{ padding:80px 0; position:relative; }
section[id] { scroll-margin-top: 100px; }
.alt{ background:var(--alt); }
.bg-white{ background:#fff; }

.section-head{ text-align:center; margin-bottom:52px; }
.section-head h2{
  display:inline-block;
  position:relative;
  padding-bottom:16px;
  font-size:clamp(22px, 3.2vw, 36px);
  font-weight:800;
  color:var(--navy);
}
.section-head h2::after{
  content:"";
  position:absolute;
  bottom:0; right:50%;
  transform:translateX(50%);
  width:96px; height:4px;
  border-radius:4px;
  background:linear-gradient(90deg,var(--accent),var(--accent-2));
}
.section-head p{
  max-width:760px;
  margin:18px auto 0;
  color:var(--muted);
  font-size:16px;
}

/* ---- معرفی ---- */
.intro-text{
  max-width:50%;
  margin-inline:auto;
  text-align:justify;
  color:var(--muted);
  font-size:16.5px;
  line-height:2.2;
}
.intro-text p + p{ margin-top:20px; }

/* ---- کارت های خدمات ---- */
.cards{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:28px;
}
.card{
  background:#fff;
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
  display:flex;
  flex-direction:column;
  transition:transform .45s cubic-bezier(.2,.7,.3,1), box-shadow .45s;
  border:1px solid rgba(11,37,69,.05);
}
.card:hover{ transform:translateY(-10px); box-shadow:0 26px 50px rgba(11,37,69,.18); }
.card-img{ overflow:hidden; }
.card-img img{
  width:100%; height:210px;
  object-fit:cover;
  transition:transform .7s cubic-bezier(.2,.7,.3,1);
}
.card:hover .card-img img{ transform:scale(1.09); }
.card-body{
  padding:22px 22px 26px;
  display:flex;
  flex-direction:column;
  gap:12px;
  flex:1;
}
.card-body h3{ font-size:20px; font-weight:700; color:var(--navy); }
.card-body p{ font-size:14.5px; color:var(--muted); line-height:2; flex:1; text-align: justify; }
.btn-more{
  align-self:flex-start;
  background:var(--navy);
  color:#fff;
  padding:10px 24px;
  border-radius:50px;
  font-size:14px;
  font-weight:600;
  transition:background .3s, color .3s, transform .3s;
}
.btn-more:hover{ background:var(--accent); color:var(--navy); transform:translateX(-4px); }

/* ---- سکشن های دو ستونه ---- */
.feature{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
  align-items:center;
}
.feature.reverse .feature-media{ order:2; }
.feature-media{ position:relative; }
.feature-media img{
  width:100%;
  height:420px;
  object-fit:cover;
  border-radius:22px;
  box-shadow:0 24px 55px rgba(11,37,69,.20);
}
.feature-media::before{
  content:"";
  position:absolute;
  inset:auto -14px -14px auto;
  width:120px; height:120px;
  border-radius:22px;
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  opacity:.20;
  z-index:-1;
}
.feature-text h2{
  font-size:clamp(21px,2.6vw,32px);
  font-weight:800;
  color:var(--navy);
  margin-bottom:8px;
  position:relative;
  padding-bottom:14px;
}
.feature-text h2::after{
  content:"";
  position:absolute;
  bottom:0; right:0;
  width:80px; height:4px;
  border-radius:4px;
  background:linear-gradient(90deg,var(--accent),var(--accent-2));
}
.feature-text p{
  color:var(--muted);
  font-size:15.5px;
  line-height:2.2;
  margin-top:16px;
  text-align: justify;
}
.btn-call{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-top:26px;
  background:linear-gradient(180deg,var(--green-2),var(--green));
  color:#fff;
  font-weight:700;
  font-size:15px;
  padding:13px 30px;
  border-radius:50px;
  box-shadow:0 12px 28px rgba(22,163,74,.35);
  transition:transform .3s, box-shadow .3s;
}
.btn-call:hover{ transform:translateY(-3px); box-shadow:0 16px 34px rgba(22,163,74,.5); }
.btn-call svg{ width:18px; height:18px; fill:#fff; }

/* ---- چرا ما ---- */
.why{
  background:linear-gradient(135deg,#0b2545 0%, #123a63 60%, #0b2545 100%);
  color:#fff;
  position:relative;
  overflow:hidden;
}
.why::before{
  content:"";
  position:absolute;
  top:-120px; left:-120px;
  width:340px; height:340px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,183,3,.20), transparent 70%);
}
.why .section-head h2{ color:#fff; }
.why-text{
  max-width:920px;
  margin-inline:auto;
  text-align:center;
  color:#cfe0f0;
  font-size:16.5px;
  line-height:2.25;
}
.why-text p + p{ margin-top:22px; }

/* ---- مقالات ---- */
.articles-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:30px;
}
.article-card{
  position:relative;
  border-radius:22px;
  overflow:hidden;
  box-shadow:var(--shadow);
  cursor:pointer;
}
.article-card img{
  width:100%;
  height:340px;
  object-fit:cover;
  transition:transform .8s cubic-bezier(.2,.7,.3,1);
}
.article-card:hover img{ transform:scale(1.08); }
.article-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(6,20,35,.88), rgba(6,20,35,.08));
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-end;
  gap:16px;
  padding:26px;
  opacity:0;
  transition:opacity .45s ease;
}
.article-card:hover .article-overlay,
.article-card:focus-within .article-overlay{ opacity:1; }
.article-overlay h3{
  color:#fff;
  font-size:19px;
  font-weight:700;
  text-align:center;
  transform:translateY(16px);
  transition:transform .45s ease;
}
.btn-view{
  background:linear-gradient(180deg,var(--green-2),var(--green));
  color:#fff;
  font-weight:700;
  font-size:15px;
  padding:11px 34px;
  border-radius:50px;
  box-shadow:0 10px 26px rgba(22,163,74,.45);
  transform:translateY(18px);
  transition:transform .45s ease, box-shadow .3s;
}
.article-card:hover .article-overlay h3,
.article-card:hover .btn-view{ transform:translateY(0); }
.btn-view:hover{ box-shadow:0 14px 32px rgba(22,163,74,.65); }

/* ---- لایت باکس ---- */
.lightbox{
  position:fixed;
  inset:0;
  z-index:2000;
  background:rgba(4,12,22,.92);
  backdrop-filter:blur(5px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  opacity:0;
  visibility:hidden;
  transition:opacity .4s ease, visibility .4s;
}
.lightbox.open{ opacity:1; visibility:visible; }
.lightbox img{
  max-width:94%;
  max-height:88vh;
  border-radius:16px;
  box-shadow:0 30px 80px rgba(0,0,0,.6);
  transform:scale(.82);
  opacity:.4;
  transition:transform .5s cubic-bezier(.16,1,.3,1), opacity .5s ease-out;
}
.lightbox.open img{ transform:scale(1); opacity:1; }
.lightbox-close{
  position:absolute;
  top:22px; left:22px;
  width:46px; height:46px;
  border-radius:50%;
  background:rgba(255,255,255,.14);
  color:#fff;
  font-size:28px;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:background .3s, transform .3s;
}
.lightbox-close:hover{ background:var(--green); transform:rotate(90deg); }

/* ===================== FOOTER ===================== */
.site-footer{
  background:var(--navy-3);
  color:#c2d4e5;
  padding:64px 0 0;
  font-size:14.5px;
}
.footer-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:44px;
  padding-bottom:44px;
}
.footer-col h4{
  color:#fff;
  font-size:18px;
  font-weight:700;
  margin-bottom:18px;
  position:relative;
  padding-bottom:12px;
}
.footer-col h4::after{
  content:"";
  position:absolute;
  bottom:0; right:0;
  width:56px; height:3px;
  border-radius:3px;
  background:linear-gradient(90deg,var(--accent),var(--accent-2));
}
.footer-list li{
  padding:7px 0;
  display:flex;
  align-items:center;
  gap:9px;
  color:#b7cbdd;
  transition:color .25s, transform .25s;
}
.footer-list li::before{
  content:"";
  width:7px; height:7px;
  border-radius:50%;
  background:var(--accent);
  flex:0 0 auto;
}
.footer-list li:hover{ color:#fff; transform:translateX(-4px); }

.footer-about p{ line-height:2.1; color:#a9c0d4; margin-top:12px; text-align: justify; }

.footer-enamad{
  display:flex;
  justify-content:center;
  align-items:center;
  background:#fff;
  border-radius:14px;
  padding:12px;
  width:130px;
  margin-bottom:22px;
}
.footer-enamad img{ width:100%; height:auto; }

/* .footer-logo img{ height:56px; width:auto; margin-bottom:18px; }  اندازه لوگو را بزرگتر کردم*/
.footer-logo img{ height:140px; width:auto; margin-bottom:18px; margin-right: 21%; }

.footer-phones a{
  display:flex;
  align-items:center;
  gap:10px;
  padding:9px 14px;
  margin-bottom:10px;
  border-radius:12px;
  background:rgba(255,255,255,.06);
  color:#e2edf7;
  font-weight:600;
  direction:ltr;
  justify-content:flex-start;
  transition:background .3s, transform .3s, color .3s;
}
.footer-phones a:hover{ background:var(--green); color:#fff; transform:translateX(-5px); }
.footer-phones svg{ width:15px; height:15px; fill:currentColor; flex:0 0 auto; }

.footer-bottom{
  border-top:1px solid rgba(255,255,255,.09);
  padding:20px 0;
  text-align:center;
  font-size:13.5px;
  color:#8fa8bf;
}
/* ===================== Shabastou link ====================== */
.footer-bottom > a:hover{
  color: #22c55e;
  text-shadow:0 3px 5px rgba(22,163,74,.65);
  font-weight: bolder;
}

/* ===================== MOBILE CALL BAR ===================== */
.mobile-call-bar{
  display:none;
  position:fixed;
  bottom:0; left:0; right:0;
  width:100%;
  z-index:950;
  background:linear-gradient(180deg,var(--green-2),var(--green));
  color:#fff;
  font-weight:800;
  font-size:17px;
  padding:16px;
  align-items:center;
  justify-content:center;
  gap:10px;
  box-shadow:0 -8px 26px rgba(0,0,0,.28);
  animation:pulseBar 2.4s infinite;
}
.mobile-call-bar svg{ width:20px; height:20px; fill:#fff; }
@keyframes pulseBar{
  0%,100%{ box-shadow:0 -8px 26px rgba(0,0,0,.28); }
  50%{ box-shadow:0 -8px 26px rgba(0,0,0,.28), 0 0 0 6px rgba(34,197,94,.18); }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1200px){
  .nav-menu > li > a{ padding:10px 13px; font-size:15px; }
  .nav-phones a{ font-size:12px; }
  .feature{ gap:40px; }
}

@media (max-width: 992px){
  :root{ --header-h:70px; }

  .hamburger{ display:flex; }

  .nav-brand{
    position:absolute;
    left:50%;
    transform:translateX(-50%);
  }
  .nav-brand img{ height:70px; }

  .nav-actions{ gap:0; }
  .call-now{ display:none; }
  .nav-phones{ gap:2px; }
  .nav-phones a{
    font-size:10px;
    padding:2px 6px;
    background:rgba(255,255,255,.10);
  }
  .nav-phones svg{ width:9px; height:9px; }

  .navbar{ position:relative; height: 80px;}    /* ارتفاع را خودم اضافه کردم */

  /* منوی کشویی کناری */
  .nav-menu{
    position:fixed;
    top:0; right:0;
    height:100vh;
    width:300px;
    max-width:86vw;
    background:linear-gradient(180deg,#0b2545,#08192c);
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:22px 16px 40px;
    transform:translateX(105%);
    transition:transform .45s cubic-bezier(.4,0,.2,1);
    overflow-y:auto;
    z-index:1200;
    box-shadow:-14px 0 45px rgba(0,0,0,.4);
  }
  .nav-menu.open{ transform:translateX(0); }

  .drawer-head{
    display:flex !important;
    align-items:center;
    justify-content:space-between;
    padding:0 4px 16px;
    margin-bottom:14px;
    border-bottom:1px solid rgba(255,255,255,.12);
    color:#fff;
    font-weight:700;
    font-size:17px;
  }
  .drawer-close{
    width:38px; height:38px;
    border-radius:50%;
    background:rgba(255,255,255,.12);
    color:#fff;
    font-size:22px;
    display:flex; align-items:center; justify-content:center;
  }

  .nav-menu > li{ width:100%; }
  .nav-menu > li > a{
    padding:14px 12px;
    border-radius:12px;
    font-size:16px;
    display:flex;
    align-items:center;
    justify-content:space-between;
  }
  .nav-menu > li > a::after{ display:none; }
  .nav-menu > li > a::before{
    content:"";
    width:7px; height:7px;
    border-radius:50%;
    background:var(--accent);
    order:-1;
    margin-left:10px;
  }
  .has-dropdown > a .chev{
    width:9px; height:9px;
    border-left:2px solid #9fb8cf;
    border-bottom:2px solid #9fb8cf;
    transform:rotate(-45deg);
    transition:transform .35s;
    margin-right:auto;
    margin-left:6px;
  }
  .has-dropdown.open > a .chev{ transform:rotate(135deg); }

  .dropdown{
    position:static;
    opacity:1;
    visibility:visible;
    transform:none;
    box-shadow:none;
    background:rgba(255,255,255,.05);
    border-radius:12px;
    max-height:0;
    padding:0 8px;
    overflow:hidden;
    transition:max-height .42s ease, padding .35s ease, margin .35s ease;
  }
  .dropdown::before{ display:none; }
  .has-dropdown.open .dropdown{
    max-height:420px;
    padding:8px;
    margin:6px 0 10px;
  }
  .dropdown li a{ color:#d6e5f3; font-size:14.5px; }
  .dropdown li a:hover{ background:rgba(255,255,255,.09); color:#fff; }

  /* سکشن ها */
  section{ padding:60px 0; }
  .intro-text{ max-width:100%; }
  .cards{ grid-template-columns:repeat(2, 1fr); gap:22px; }
  .feature{ grid-template-columns:1fr; gap:30px; }
  .feature.reverse .feature-media{ order:0; }
  .feature-media img{ height:320px; }
  .articles-grid{ grid-template-columns:1fr; }
  .article-card img{ height:280px; }
  .footer-grid{ grid-template-columns:1fr; gap:34px; }
  .hero{ height:60vh; min-height:300px; }
}

@media (max-width: 640px){
  .cards{ grid-template-columns:1fr; }
  .card-img img{ height:200px; }
  .feature-media img{ height:250px; }
  .section-head{ margin-bottom:36px; }
  .hero-content h1{ font-size:21px; }
  .hero-content p{ font-size:13.5px; }
  .hero-cta{ padding:12px 26px; font-size:15px; }
  .article-card img{ height:220px; }
}

@media (max-width: 768px){
  .mobile-call-bar{ display:flex; }
  body{ padding-bottom:64px; }
  .nav-phones a{ font-size:9.5px; padding:2px 5px; }
}

@media (max-width: 380px){
  .nav-phones a{ font-size:8.5px; letter-spacing:0; }
  .nav-brand img{ height:64px; }
}


.ringing-phone {
  transform-origin: center;
  animation: phoneRing 2.8s ease-in-out infinite;
}

/* زنگ خوردن طبیعی تلفن */
@keyframes phoneRing {
  0% {
    transform: rotate(0deg);
  }

  10% {
    transform: rotate(-15deg);
  }

  20% {
    transform: rotate(15deg);
  }

  30% {
    transform: rotate(-12deg);
  }

  40% {
    transform: rotate(12deg);
  }

  50% {
    transform: rotate(-7deg);
  }

  60% {
    transform: rotate(7deg);
  }

  70%,
  100% {
    transform: rotate(0deg);
  }
}



/* ===== Custom Scrollbar ===== */

/* Chrome, Edge, Safari - Desktop */
*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

*::-webkit-scrollbar-track {
    background: #e6eef6;
}

*::-webkit-scrollbar-thumb {
    background: var(--navy-2);
    border-radius: 10px;
    border: 2px solid #e6eef6;
}

*::-webkit-scrollbar-thumb:hover {
    background: var(--navy);
}

/* Firefox */
* {
    scrollbar-width: 10px;
    scrollbar-color: var(--navy-2) #e6eef6;
}

/* اسکرول بار زیبا */
::-webkit-scrollbar{ width:10px; }
::-webkit-scrollbar-track{ background:#e6eef6; }
::-webkit-scrollbar-thumb{ background:var(--navy-2); border-radius:10px; }
::-webkit-scrollbar-thumb:hover{ background:var(--navy); }