/* ================= GLOBAL ================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --midnight: #0F172A;
  --slate: #334155;
  --accent: #0891B2;
  --accent-soft: #22D3EE;
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --border: #E2E8F0;
  --divider: #CBD5E1;
  --hover: #F1F5F9;
  --main: #00c9c8;
  --main-dark: #00b3b2;
  --error: #ff3d3d;
  --success: #00c95a;
}

body {
  font-family: "Vazirmatn", sans-serif;
  background: var(--bg);
  direction: rtl;
  color: var(--slate);
}

/* ================= HEADER ================= */

#header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  z-index: 1100; /* بالاتر از همه */
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.top-header {
  height: 60px;
  display: flex;
  align-items: center;
  padding-top: 15px;
  padding-bottom: 10px;
}

.navbar {
  height: 50px;
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 290px;
  height: 60px;
  border-radius: 12px;
  object-fit: cover;
}

.brand-name {
  font-size: 50px;
  font-weight: 1000;
  color: #12c4a6;
}

.header-center {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: center;
}

.search-box {
  display: flex;
  align-items: center;
  background: #F3F4F6;
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 6px 12px;
  width: min(520px, 100%);
}

.search-box input {
  border: none;
  outline: none;
  background: transparent;
  padding: 8px;
  width: 100%;
  font-size: 14px;
}

.search-box button {
  border: none;
  background: var(--accent);
  color: white;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
}

.search-box button:hover {
  background: #0E7490;
}

.search-results {
  position: absolute;
  top: 52px;
  width: min(520px, 100%);
  background: var(--surface);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
  max-height: 240px;
  overflow-y: auto;
  display: none;
}

.search-item {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  font-size: 14px;
}

.search-item:hover {
  background: var(--hover);
}

.header-left {
  width: 120px; /* فعلاً خالی */
}

body {
    background: #f5f5f5;
    font-family: sans-serif;
}

/* رنگ اصلی سایت */
:root {
    --main-color: #00c9c8; /* فیروزه‌ای فراخانه */
    --main-hover: #00b3b2;
}

/* دکمه‌های هدر */
.auth-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* دکمه ورود/ثبت‌نام */
.login-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 2px solid #000;
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: bold;
    color: #000;
    text-decoration: none;
}

.login-btn:hover {
    background: #f2f2f2;
}

.login-icon {
    width: 20px;
    height: 20px;
}

/* آیکن پروفایل */
.profile-icon img {
    width: 32px;
    height: 32px;
    border: 2px solid #000;
    border-radius: 50%;
    padding: 4px;
    cursor: pointer;
}


/* رنگ اصلی */
:root {
    --main: #00c9c8;
    --main-dark: #00b3b2;
    --error: #ff3d3d;
    --success: #00c95a;
}

/* کانتینر اصلی */
.container-box {
    width: 380px;
    margin: 60px auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    padding: 25px;
    text-align: center;
}

.top-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.back-btn {
    position: absolute;
    right: 0;
    top: 5px;
}

.back-btn img {
    width: 30px;
    height: 30px;
    cursor: pointer;
}


/* لوگو */
.logo-box img {
    width: 250px;
    margin-bottom: 20px;
}

/* توضیحات */
.desc-box {
    background: #f7f7f7;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #555;
}

/* فرم */
.form-box input {
    width: 90%;
    padding: 12px;
    margin: 12px 0;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 15px;
}

.send-btn {
    width: 95%;
    padding: 12px;
    background: var(--main);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
}
.send-btn:hover {
    background: var(--main-dark);
}

/* OTP */
.otp-input {
    width: 200px;
    font-size: 28px;
    text-align: center;
    letter-spacing: 10px;
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 10px;
    margin: 20px auto;
}
.otp-input:focus {
    border-color: var(--main);
}

/* دکمه تایید */
.verify-btn {
    width: 95%;
    padding: 12px;
    background: var(--main);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
}
.verify-btn:hover {
    background: var(--main-dark);
}

/* دکمه ارسال مجدد */
.resend-btn {
    width: 95%;
    padding: 12px;
    background: var(--error);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
}
.resend-btn:hover {
    background: #d92f2f;
}

/* تایمر */
.timer-text {
    color: var(--error);
    font-size: 14px;
    margin-top: 10px;
}

.modal {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    padding: 14px;
    border-radius: 12px;
    text-align: center;
    color: #fff;
    z-index: 9999;
    animation: fadeIn 0.4s ease;
}

.success-modal {
    background: #00c95a;
}

.error-modal {
    background: #ff3d3d;
}

@keyframes fadeIn {
    from {opacity: 0; transform: translate(-50%, -10px);}
    to {opacity: 1; transform: translate(-50%, 0);}
}


/* ویرایش شماره */
.edit-phone {
    display: block;
    margin-top: 15px;
    font-size: 13px;
    color: #555;
    text-decoration: none;
}
.edit-phone:hover {
    color: var(--main);
}

/* خطای کد اشتباه */
.error-text {
    color: var(--error);
    margin-top: 10px;
}







/* ================= NAVBAR ================= */

.navbar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4x 12px;
  background: #fff;
  z-index: 1100;

}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #000;
  font-size: 16px;
}

.nav-btn span {
  font-family: sans-serif;
  font-size: 16px;
  color: #0f172a;
  cursor: pointer;
  transition: color 0.2s ease;
  text-decoration: none;
}


/* لینک‌های ناوبار */
.nav-link,
.nav-btn {
  position: relative;
  padding: 10px 4px;
  font-size: 16px;
  color: #0f172a;
  cursor: pointer;
  transition: color 0.2s ease;
  text-decoration: none;
}

/* خط فیروزه‌ای زیر لینک */
.nav-link::after,
.nav-btn::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 3px;
  background: #06b6d4; /* فیروزه‌ای */
  border-radius: 999px;
  transition: width 0.25s ease;
}

/* هنگام Hover */
.nav-link:hover::after,
.nav-btn:hover::after {
  width: 100%;
}

/* لینک فعال */
.nav-link.active::after {
  width: 100%;
}


/* ریسپانسیو */
@media (max-width: 768px) {
  .nav-link,
  .nav-btn {
    padding: 12px 6px;
    font-size: 14px;
  }
}


.nav-services {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: 100%; /* دقیقاً زیر ناوبار */
  right: 0;
  width: 900px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 40px rgba(0,0,0,0.1);
  padding: 20px;
  display: none;
  z-index: 1200; /* بالاتر از هدر */
}



/* فعال */
.mega-menu.active {
  display: block;
}

/* پس‌زمینه تار */
.mega-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.45);
  backdrop-filter: blur(0.5px);
  display: none;
  z-index: 1000;
}

.mega-backdrop.active {
  display: block;
}

/* ستون‌ها */
.mega-columns {
  display: grid;
  grid-template-columns: 230px 1fr 260px;
  gap: 20px;
}

/* اسکرول ستون ۱ و ۲ */
.mega-services ul,
.mega-sub-grid {
  max-height: 320px;
  overflow-y: auto;
  padding-right: 6px;
}

/* اسکرول بار زیبا */
.mega-services ul::-webkit-scrollbar,
.mega-sub-grid::-webkit-scrollbar {
  width: 6px;
}

.mega-services ul::-webkit-scrollbar-thumb,
.mega-sub-grid::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

/* ستون ۱ */
.mega-services li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  cursor: pointer;
  border-radius: 8px;
}
.mega-services li a {
  text-decoration: none;
}

.mega-services li:hover,
.mega-services li.active {
  background: #f3f4f6;
  color: #0891b2;
}

/* ستون دوم – زیرخدمات */
.mega-sub-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 10px 0;
}

/* هر ردیف زیرخدمت */
.sub-item-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* لینک زیرخدمت */
.sub-column-item {
  font-size: 16px;
  font-weight: 600;
  color: #111;
  padding: 10px 14px;
  background: #f2f2f2;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.25s ease;
  display: block;
  text-align: center;
}

/* هاور زیرخدمت */
.sub-column-item:hover {
  background: #e0e0e0;
  color: #000;
  transform: translateX(4px);
}

/* زیرزیرخدمت‌ها */
.sub-sub-list {
  margin-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* لینک زیرزیرخدمت */
.sub-sub-item {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  padding: 6px 10px;
  background: #f9f9f9;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.25s ease;
  display: block;
}

/* هاور زیرزیرخدمت */
.sub-sub-item:hover {
  background: #eaeaea;
  color: #000;
  transform: translateX(3px);
}

/* ستون اول – خدمات اصلی */
#mega-services-list li {
  padding: 10px 12px;
  font-size: 17px;
  font-weight: 600;
  color: #111;
  cursor: pointer;
  border-radius: 6px;
  transition: 0.25s ease;
}

/* هاور ستون اول */
#mega-services-list li:hover {
  background: #f0f0f0;
  transform: translateX(4px);
}

/* فعال بودن خدمت */
#mega-services-list li.active {
  background: #e8e8e8;
  color: #000;
  transform: translateX(4px);
}

.body-backdrop {
  position: fixed;
  top: 115px; /* 60px هدر + 55px ناوبار */
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15,23,42,0.45);
  backdrop-filter: blur(4px);
  display: none;
  z-index: 900; /* زیر مگامنو، بالای بدنه */
}

.body-backdrop.active {
  display: block;
}

.about-frakhaneh {
  padding: 40px 20px;
  max-width: 1300px;
  margin: auto;
}

/* معرفی */
.about-intro h2 {
  font-size: 32px;
  color: #06b6d4;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.about-intro p {
  font-size: 18px;
  line-height: 1.9;
  color: #334155;
  text-align: justify;
}

/* اسلایدر خدمات */
.frakhaneh-services {
  padding: 40px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center; /* مهم */

}

.services-title {
  font-size: 32px;
  color: #06b6d4;
  margin-bottom: 30px;
  text-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.slider{

    width:420px;
    position:relative;

}

.cards{

    overflow:hidden;
    border-radius:18px;

}

.track{

    display:flex;
    transition:.5s;

}


.card{

    min-width:100%;
    background:white;
    padding:35px;
    text-align:center;
    text-decoration: none;
}
.card-container{
  text-decoration: none;
}

.card img{

    width:120px;
    height:120px;
    object-fit:cover;
    border-radius:50%;
    margin-bottom:20px;

}

.card h2{

    margin-bottom:15px;
    color:#333;

}
.card-container h4 {
  padding: 10px;
  color: #04bddd;
}
.card p{

    color:#666;
    line-height:30px;

}

.prev{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:50px;
    height:50px;
    border:none;
    border-radius:50%;
    background:#2196f3;
    color:white;
    font-size:24px;
    cursor:pointer;
    transition:.3s;

    right:-70px;

}

.next{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:50px;
    height:50px;
    border:none;
    border-radius:50%;
    background:#2196f3;
    color:white;
    font-size:24px;
    cursor:pointer;
    transition:.3s;

    left:-70px;

}

.prev:hover{

    background:#0d6efd;

}

.next:hover{

    background:#0d6efd;

}


/* بخش ویدیو */
.about-video {
  margin-top: 70px;
}

.about-video h3 {
  font-size: 26px;
  color: #06b6d4;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.video-box {
  background: #e2e8f0;
  border-radius: 20px;
  padding: 50px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.video-placeholder {
  font-size: 20px;
  color: #475569;
}

/* ===== HERO ===== */

.hero-section {

    padding: 5px 10px 20px;
}

.hero {

    position: relative;

    max-width: 950px;

    margin: auto;
}

.hero-img {

    width: 100%;

    border-radius: 35px;

    box-shadow:
    0 25px 60px rgba(0,0,0,0.18);

    border:
    6px solid rgba(255,255,255,0.5);
}



/* ===== MAIN INVISIBLE LINK ===== */

.main-logo-link {

    position: absolute;

    top: 60%;
    left: 3%;

    width: 94%;
    height: 23%;

    z-index: 5;

    border-radius: 40px;
}



/* ===== PINS ===== */

.pin {

    position: absolute;

    transform: translate(-50%, -50%);

    transition: 0.35s;

    border-radius: 25px;
}

.pin img {

    width: 10vw;
    height: 20vh;

    object-fit: cover;

}

.pin:hover {

    transform:
    translate(-50%, -50%)
    scale(1.12);
}



/* ===== TOOLTIPS ===== */

.tooltip,
.smart-link::after,
.main-logo-link::after {

    position: absolute;

    background:
    rgba(15,25,40,0.95);

    color: white;

    padding: 12px 18px;

    border-radius: 15px;

    font-size: 13px;

    white-space: nowrap;

    opacity: 0;

    pointer-events: none;

    transition: 0.35s;

    box-shadow:
    0 15px 30px rgba(0,0,0,0.25);
}

.smart-link::after,
.main-logo-link::after {

    content: attr(data-tooltip);

    bottom: 120%;
    right: 50%;

    transform:
    translateX(50%)
    translateY(10px);
}

.smart-link::before,
.main-logo-link::before {

    content: "";

    position: absolute;

    width: 15px;
    height: 15px;

    background:
    rgba(15,25,40,0.95);

    transform:
    rotate(45deg);

    bottom: 110%;
    right: 50%;

    margin-right: -7px;

    opacity: 0;

    transition: 0.35s;
}

.smart-link:hover::after,
.smart-link:hover::before,
.main-logo-link:hover::after,
.main-logo-link:hover::before {

    opacity: 1;

    transform:
    translateX(50%)
    translateY(0);
}

.pin .tooltip {

    bottom: 110%;
    left: 50%;

    transform:
    translateX(-50%)
    translateY(10px);
}

.pin:hover .tooltip {

    opacity: 1;

    transform:
    translateX(-50%)
    translateY(0);
}


.pin-check img {

    width: 11vw;
    height: 25vh;
}

.pin-internet img {

    width: 23vw;
    height: 33vh;
}

.pin-light img {

    width: 11vw;
    height: 21vh;
}

.pin-phone img {

    width: 16vw;
    height: 28vh;
}

/* ===== PIN POSITIONS ===== */

.pin-check {

    top: 43%;
    left: 37%;
}

.pin-internet {

    top: 23%;
    left: 50%;
}

.pin-light {

    top: 43%;
    left: 63%;
}

.pin-phone {
    top: 45%;
    left: 50%;
}
/* ===== SERVICES ===== */

.services-section {

    padding: 40px 20px 90px;
}

.section-title {

    text-align: center;

    margin-bottom: 45px;
}

.section-title h2 {

    font-size: 42px;

    margin-bottom: 15px;

    color: #08213a;
}

.section-title p {

    color: #506070;

    font-size: 17px;
}

/* ===== GRID ===== */

.smart-links {

    max-width: 1400px;

    margin: auto;

    display: grid;

    grid-template-columns:
    repeat(auto-fit, minmax(280px, 1fr));

    gap: 28px;
}



/* ===== CARD ===== */

.smart-link {

    position: relative;

    display: flex;

    align-items: center;

    gap: 20px;

    padding: 28px;

    border-radius: 30px;

    text-decoration: none;

    overflow: hidden;

    transition: 0.4s;

    background:
    rgba(255,255,255,0.75);

    backdrop-filter: blur(14px);

    border:
    1px solid rgba(255,255,255,0.5);

    box-shadow:
    0 15px 35px rgba(0,0,0,0.08);
}

.smart-link::selection {
    background: transparent;
}

.smart-link:hover {

    transform:
    translateY(-10px)
    scale(1.02);

    box-shadow:
    0 25px 45px rgba(0,0,0,0.14);
}



/* ===== ICON ===== */

.icon-box {

    min-width: 95px;
    min-height: 95px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 28px;

    background:
    linear-gradient(
        135deg,
        #e9f6ff,
        #d7fff0
    );

    box-shadow:
    inset 0 2px 10px rgba(255,255,255,0.8),
    0 10px 20px rgba(0,0,0,0.08);
}

.skills {

    width: 72px;
    height: 72px;

    object-fit: cover;

    border-radius: 20px;
}



/* ===== TEXT ===== */

.service-content h3 {

    font-size: 28px;

    margin-bottom: 8px;

    color: #0a2140;
}

.service-content span {

    font-size: 15px;

    color: #587089;

    line-height: 1.8;
}


/* ================= FOOTER ================= */

.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 30px 20px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-logo-box {
  max-width: 300px;
}

.footer-logo {
  width: 270px;
  height: 80px;
  border-radius: 14px;
  margin-bottom: 8px;
}

.footer-brand {
  font-size: 50px;
  font-weight: 1000;
  color: #12c4a6;
}

.footer-contact {
  font-size: 15px;
  color: #64748B;
  text-align: center;
}

.footer-features {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0px;
  justify-content: center;
  max-width: 420px;
}

.feature {
  text-align: center;
  min-width: 90px;
}

.feature span {
  font-size: 22px;
  display: block;
  margin-bottom: 4px;
}

.feature p {
  font-size: 12px;
  color: #000;
}

.footer-social h3 {
  text-align: center;
  font-size: 20px;
  color: var(--midnight);
  margin-bottom: 15px;
}

.social-icons {
  display: flex;
  gap: 18px;
}

.social-icons img {
  width: 50px;
  height: 50px;
}

/* ================= RESPONSIVE (اصلی قبلی) ================= */

@media (max-width: 768px) {

  .header {
    padding: 8px 12px;
  }

  .search-box {
    width: 100%;
  }

  .navbar {
    padding: 8px 12px;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-features {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {

  .stories-strip {
    gap: 10px;
  }

  .consult-card {
    padding: 18px 14px;
  }

  .footer-features {
    justify-content: flex-start;
  }
}

/* ================= ریسپانسیو نهایی مطابق خواسته‌های تو ================= */

@media (max-width: 992px) {

  /* هدر: فقط پنل جستجو */
  .header-right,
  .header-left,
  .navbar-right {
    display: none !important;
  }

  .top-header {
    justify-content: center;
    padding: 10px 12px;
  }

  .header-center {
    flex: 1;
    justify-content: center;
  }

  .search-box {
    width: 90%;
    max-width: 450px;
  }

  /* بنر – تصاویر معلق با اندازه مناسب */
  .pin img {
    width: 26vw;
    height: auto;
  }

  .pin-check { top: 45%; left: 35%; }
  .pin-internet { top: 25%; left: 50%; }
  .pin-light { top: 45%; left: 65%; }
  .pin-phone { top: 48%; left: 50%; }

  /* خدمات ۱۲گانه: دو تا دو تا */
  .smart-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    padding: 0 15px;
  }

  .smart-link {
    padding: 20px;
    border-radius: 22px;
  }

  .service-content h3 {
    font-size: 22px;
  }

  .service-content span {
    font-size: 14px;
  }

  /* درباره / خدمات: متن، اسلایدر، ویدیو */
  .about-frakhaneh {
    padding: 25px 15px;
  }

  .about-intro h2 {
    font-size: 24px;
  }

  .about-intro p {
    font-size: 15px;
    line-height: 1.8;
  }

  .frakhaneh-services {
    padding: 25px 15px;
  }

  .services-title {
    font-size: 26px;
    margin-bottom: 20px;
  }

  /* ویدیو */
  .about-video {
    margin-top: 40px;
  }

  .video-box {
    padding: 25px;
    border-radius: 16px;
  }

  .video-box video,
  .video-box iframe {
    width: 100%;
    border-radius: 12px;
  }

  /* فوتر: حذف ویژگی‌ها، فقط تماس + همراه ما باشید */
  .footer-features {
    display: none !important;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .footer-logo-box {
    text-align: center;
  }

  .footer-contact {
    font-size: 15px;
    line-height: 1.8;
  }

  .footer-social {
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 568px) {

  /* بنر – تصاویر معلق کمی بزرگ‌تر برای موبایل کوچک */
  .pin img {
    width: 24vw;
  }

  /* خدمات ۱۲گانه: دو تا دو تا، کمی فشرده‌تر */
  .smart-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .smart-link {
    padding: 16px;
  }

  .service-content h3 {
    font-size: 20px;
  }

  .service-content span {
    font-size: 13px;
  }

  /* فوتر موبایل */
  .footer {
    padding: 25px 15px;
  }

  .footer-logo {
    width: 220px;
    height: 70px;
  }

  .footer-brand {
    font-size: 36px;
  }

  .footer-contact {
    font-size: 14px;
  }
}

/* ========== اصلاح نهایی دکمه‌های قبلی/بعدی اسلایدر ========== */


/* در موبایل و تبلت کوچک‌تر، ولی همچنان کاملاً دیده شوند */
@media (max-width: 576px) {

  .slider {
    width: 100%;
    max-width: 240px;
    margin: auto;
  }

  .card {
    padding: 12px;
  }

  .prev,
  .next {
    width: 38px;
    height: 38px;
    font-size: 18px;
    top: 50%;
  }

/* ========== خدمات صفحه اصلی در موبایل: تایپوگرافی ریزتر + کارت‌ها زیر هم ========== */
@media (max-width: 576px) {

  /* عنوان و توضیح بخش خدمات */
  .section-title h2 {
    font-size: 24px;
  }

  .section-title p {
    font-size: 13px;
    line-height: 1.7;
  }

  /* کارت‌های خدمات یکی‌یکی زیر هم و وسط‌چین */
  .smart-links {
    grid-template-columns: 1fr !important;
    gap: 16px;
    padding: 0 14px;
  }

  .smart-link {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .icon-box {
    margin-bottom: 10px;
  }

  .service-content h3 {
    font-size: 20px;
  }

  .service-content span {
    font-size: 13px;
  }
}
}


@media (max-width: 768px) {

    .auth-buttons {
        position: absolute;
        right: 10px;
        top: 10px;
    }

    .login-btn {
        padding: 6px 10px;
        font-size: 12px;
    }

    .profile-icon img {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 768px) {

    .container-box {
        width: 90%;
        margin: 40px auto;
        padding: 20px;
    }

    .logo-box img {
        width: 90px;
    }

    .desc-box {
        font-size: 13px;
        padding: 10px;
    }

    .form-box input {
        width: 95%;
        font-size: 14px;
        padding: 10px;
    }

    .send-btn, .verify-btn, .resend-btn {
        font-size: 14px;
        padding: 10px;
    }

    .otp-input {
        width: 100px;
        font-size: 22px;
        letter-spacing: 8px;
    }

    .modal {
        width: 95%;
        top: 10px;
        font-size: 13px;
    }
}
