@charset "UTF-8";
/*!--------------------
Template Name: Meditics - Doctor & Medical HTML Template
Author: tempticspro
Version: 1.0

CSS INDEX
=================== 
01. CUSTOM PROPERTIES
02. GLOBAL
03. Components
04. Sidebar
05. Header
06. Banner
07. About
08. Services
09. CTA
10. Clients
11. Qualification
12. Video Call
13. Feedback
14. Appointment
15. Blog
16. Footer


// PAGE 2
17. Ticker
18. Team
19. Why Choose Us

--- INNER PAGES
20. About Page
21. Services Page
22. Service Details Page
23. Team Details Page
24. Appointment Page
25. 404 Page
26. Blog Page
27. Contact Page
28. Blog Details Page
29. Case Study Page

*/

/* :root {
  --black: #000;
  --white: #fff;
  --ul-primary: #041c33;
  --ul-secondary: #0d6dfd;
  --ul-c3: #dbe9a1;
  --ul-black: #0f0d1d;
  --ul-gray: #f2f2f2;
  --ul-gray2: #5d6063;
  --ul-gray3: #888a8d;
  --ul-gradient: linear-gradient(90deg, #213c84 0%, var(--ul-primary) 100%);
  --font-primary: "Open Sans", sans-serif;
  --font-lato: "Lato", sans-serif;
} */

:root {
  /* ==========================================
       BRAND
    ========================================== */
  --ul-primary: #041c33;
  --ul-primary-dark: #021321;
  --ul-primary-light: #0a2d4d;
  --ul-secondary: #0d6dfd;
  --ul-secondary-dark: #0958d9;
  --ul-secondary-light: #3d8bff;
  --ul-secondary-soft: #eaf3ff;
  /* ==========================================
       ACCENT
    ========================================== */
  --ul-accent: #d8a24a;
  --ul-accent-soft: #fbf3e4;
  /* ==========================================
       TEXT
    ========================================== */
  --ul-text: #263238;
  --ul-text-dark: #182b3a;
  --ul-text-muted: #52616d;
  --ul-text-light: #71808b;
  /* ==========================================
       BACKGROUND
    ========================================== */
  --ul-bg: #ffffff;
  --ul-bg-soft: #f7fafc;
  --ul-bg-muted: #f1f5f8;
  /* ==========================================
       BORDER
    ========================================== */
  --ul-border: #e3ebf1;
  --ul-border-light: #edf2f6;
  --ul-border-dark: #d4e0e8;
  /* ==========================================
       GRAY
    ========================================== */
  --ul-gray: #f2f5f7;
  --ul-gray2: #5d6870;
  --ul-gray3: #888f94;
  /* ==========================================
       BLACK / WHITE
    ========================================== */
  --ul-black: #0f0d1d;
  --black: #000000;
  --white: #ffffff;
  /* ==========================================
       GRADIENT
    ========================================== */
  --ul-gradient: linear-gradient(135deg, #0d6dfd 0%, #041c33 100%);
  --ul-gradient-soft: linear-gradient(135deg, #f7fafc 0%, #eef5ff 100%);
  /* ==========================================
       SHADOW
    ========================================== */
  --ul-shadow-xs: 0 2px 8px rgba(4, 28, 51, 0.04);
  --ul-shadow-sm: 0 8px 25px rgba(4, 28, 51, 0.06);
  --ul-shadow-md: 0 16px 45px rgba(4, 28, 51, 0.08);
  --ul-shadow-lg: 0 25px 70px rgba(4, 28, 51, 0.11);
  /* ==========================================
       RADIUS
    ========================================== */
  --ul-radius-sm: 10px;
  --ul-radius-md: 16px;
  --ul-radius-lg: 22px;
  --ul-radius-xl: 28px;
  --ul-radius-pill: 999px;
  /* ==========================================
       TYPOGRAPHY
    ========================================== */
  --font-primary: "Open Sans", sans-serif;
  --font-lato: "Lato", sans-serif;
  /* ==========================================
       TRANSITION
    ========================================== */
  --ul-transition-fast: 0.2s ease;
  --ul-transition: 0.3s ease;
  --ul-transition-slow: 0.4s ease;
  /* ==========================================
       LEGACY
    ========================================== */
  --ul-c3: #dbe9a1;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: iranyekan;
  margin: auto;
  font-size: clamp(16px, 0.95vw, 18px);
  line-height: 1.9;
  position: fixed;
}

a,
button,
img,
svg path {
  transition: 0.4s ease;
}

img {
  max-width: 100%;
}

a {
  text-decoration: none;
  display: inline-block;
  color: var(--black);
}
a:hover {
  color: var(--ul-primary);
}

i {
  display: inline-flex;
}

p {
  line-height: 1.75;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none inside;
}

input {
  background-color: transparent;
}
input:focus,
input:focus-visible,
input:focus-within {
  outline: none;
}

[data-sal] {
  transition-duration: 1s;
  transition-delay: 0.2s;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

/* clears the ‘X’ from Chrome */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  display: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  color: var(--black) !important;
  -webkit-text-fill-color: var(--black) !important;
  -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}

button {
  background: none;
  border: none;
}

@media screen and (max-width: 479px) {
  .d-xxs-none {
    display: none !important;
  }
}

.ul-container {
  --container-space-x: 35px;
  max-width: calc(clamp(1150px, 72vw, 1450px) + var(--container-space-x));
  padding-right: calc(var(--container-space-x) / 2);
  padding-left: calc(var(--container-space-x) / 2);
  margin: auto;
}

.ul-2-container {
  --container-space-x: 30px;
  max-width: calc(clamp(1100px, 69.36vw, 1320px) + var(--container-space-x));
  padding-right: calc(var(--container-space-x) / 2);
  padding-left: calc(var(--container-space-x) / 2);
  margin: auto;
}

@media screen and (max-width: 479px) {
  .row-cols-xxs-1 > * {
    width: 100%;
  }
}

.logo {
  max-width: clamp(130px, 11.56vw, 220px);
}

.ul-bs-row {
  --bs-gutter-x: clamp(15px, 1.58vw, 30px);
  --bs-gutter-y: clamp(15px, 1.58vw, 30px);
}

.ul-section-spacing {
  padding-top: clamp(60px, 6.31vw, 120px);
  padding-bottom: clamp(60px, 6.31vw, 120px);
  background-color: var(--ul-bg-soft);
}

.wow {
  animation-duration: 1s !important;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 20%, 0);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
}
.ss-main:focus {
  box-shadow: none;
}

.ss-content.ss-open-below {
  border-radius: 8px;
}

@keyframes slide-top {
  0% {
    transform: translateY(-200px);
  }
  100% {
    transform: translateY(300px);
  }
}

.ul-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(7px, 0.53vw, 10px);
  background-color: var(--ul-secondary) !important;
  color: var(--white) !important;
  padding: clamp(8px, 0.84vw, 16px) clamp(20px, 1.68vw, 32px);
  border-radius: var(--ul-radius-pill);
  font-weight: 600;
  font-size: clamp(13px, 0.84vw, 16px);
  letter-spacing: 0.5px;
}

.no-border-btn {
  border: none !important;
}

.ul-btn:hover {
  background-color: var(--white) !important;
  color: var(--ul-secondary) !important;
}

.back-white:hover {
  background-color: var(--ul-primary) !important;
  color: var(--ul-secondary) !important;
}

.ul-section-sub-title {
  color: var(--ul-secondary);
  border: 1px solid var(--ul-secondary);
  display: inline-flex;
  align-items: center;
  gap: clamp(5px, 0.42vw, 8px);
  padding: clamp(3px, 0.26vw, 5px) clamp(12px, 0.89vw, 17px);
  border-radius: 40px;
  margin-bottom: clamp(5px, 0.42vw, 8px);
  font-family: iranyekan;
  font-size: clamp(15px, 0.95vw, 18px);
  font-weight: 600;
}
.ul-section-sub-title::after {
  content: none;
}

.ul-sidebar {
  position: fixed;
  z-index: 10;
  left: 0;
  height: 100%;
  overflow: auto;
  background: #fff;
  z-index: 999;
  transform: translateX(-100%);
  transition: 0.4s ease;
  padding: clamp(20px, 1.58vw, 30px) clamp(20px, 1.58vw, 30px);
  max-width: 100%;
  border-right: 1px solid var(--ttRed);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: clamp(320px, 22vw, 100%);
}
.ul-sidebar.active {
  transform: translateX(0);
}

/* new pagination */
.pagination {
  gap: 8px;
}

.pagination .page-link {
  width: 44px;
  height: 44px;

  display: flex;
  justify-content: center;
  align-items: center;

  border: none;
  border-radius: 12px;

  background: #f8f9fa;
  color: #444;

  transition: 0.25s ease;
}

.pagination .page-link:hover {
  background: var(--ul-secondary);
  color: var(--white);
  transform: translateY(-2px);
}

.pagination .active .page-link {
  background: var(--ul-secondary);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.25);
}

.pagination .disabled .page-link {
  background: transparent;
  color: #999;
  pointer-events: none;
}

/* =========================================================
   MEDICAL FAQ
   Premium / Modern / RTL / Responsive
========================================================= */

.medical-faq {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 80px 0;
  direction: rtl;
}

/* ==========================================================
   HEADER
========================================================== */

.medical-faq__header {
  text-align: center;
  margin-bottom: 38px;
}

.medical-faq__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 34px;
  padding: 6px 16px;

  margin-bottom: 14px;

  border-radius: 999px;

  background: rgba(60, 107, 124, 0.08);
  color: var(--ul-secondary);

  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.medical-faq__header h2 {
  margin: 0 0 12px;

  color: #263238;

  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;

  line-height: 1.4;
}

.medical-faq__header p {
  max-width: 600px;

  margin: 0 auto;

  color: #718096;

  font-size: 15px;
  line-height: 1.9;
}

/* ==========================================================
   FAQ LIST
========================================================== */

.medical-faq__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ==========================================================
   FAQ ITEM
========================================================== */

.faq-item {
  width: 100%;

  background: #ffffff;

  border: 1px solid #e8eef2;

  border-radius: 18px;

  overflow: hidden;

  box-shadow: 0 8px 30px rgba(38, 50, 56, 0.045);

  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(60, 107, 124, 0.22);

  box-shadow: 0 14px 38px rgba(38, 50, 56, 0.075);
}

.faq-item.is-open {
  border-color: rgba(60, 107, 124, 0.28);

  box-shadow: 0 16px 42px rgba(38, 50, 56, 0.09);
}

/* ==========================================================
   QUESTION BUTTON
========================================================== */

.faq-question {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  padding: 22px 24px;

  border: 0;
  outline: 0;

  background: transparent;

  color: #263238;

  text-align: right;

  font-family: inherit;

  cursor: pointer;
}

/* ==========================================================
   QUESTION MAIN
========================================================== */

.faq-question__main {
  min-width: 0;

  display: flex;
  align-items: center;

  gap: 16px;
}

/* ==========================================================
   QUESTION ICON
   IMPORTANT:
   This icon NEVER rotates.
========================================================== */

.faq-question__icon {
  width: 44px;
  height: 44px;

  flex: 0 0 44px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 13px;

  background: rgba(60, 107, 124, 0.08);

  color: var(--ul-secondary);

  font-size: 20px;

  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

/*
   Only color/background changes.
   NO transform here.
*/

.faq-item.is-open .faq-question__icon {
  background: var(--ul-secondary);
  color: #ffffff;
}

/* ==========================================================
   QUESTION TEXT
========================================================== */

.faq-question__text {
  min-width: 0;

  color: #263238;

  font-size: 16px;
  font-weight: 700;

  line-height: 1.8;

  transition: color 0.3s ease;
}

.faq-item.is-open .faq-question__text {
  color: var(--ul-secondary);
}

/* ==========================================================
   PLUS / CLOSE BUTTON
========================================================== */

.faq-question__toggle {
  width: 38px;
  height: 38px;

  flex: 0 0 38px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  background: #f4f7f9;

  color: #52616b;

  font-size: 14px;

  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

/*
   IMPORTANT:
   No rotation.
*/

.faq-item.is-open .faq-question__toggle {
  background: var(--ul-secondary);
  color: #ffffff;
}

/* ==========================================================
   ANSWER CONTAINER
========================================================== */

.faq-answer {
  display: grid;

  grid-template-rows: 0fr;

  transition: grid-template-rows 0.35s ease;
}

/* ==========================================================
   OPEN ANSWER
========================================================== */

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

/* ==========================================================
   ANSWER INNER
========================================================== */

.faq-answer__inner {
  min-height: 0;

  overflow: hidden;

  padding: 0 24px 0 84px;

  opacity: 0;

  transition:
    opacity 0.25s ease,
    padding 0.35s ease;
}

/*
   Open state
*/

.faq-item.is-open .faq-answer__inner {
  padding-top: 0;
  padding-bottom: 24px;

  opacity: 1;
}

/* ==========================================================
   ANSWER TEXT
========================================================== */

.faq-answer__inner p {
  margin: 0;

  padding-top: 2px;

  color: #667781;

  font-size: 15px;

  font-weight: 400;

  line-height: 2;

  text-align: right;
}

/* ==========================================================
   KEYBOARD FOCUS
========================================================== */

.faq-question:focus-visible {
  outline: 3px solid rgba(60, 107, 124, 0.18);

  outline-offset: -3px;
}

/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 768px) {
  .medical-faq {
    padding: 60px 0;
  }

  .medical-faq__header {
    margin-bottom: 28px;
  }

  .medical-faq__list {
    gap: 12px;
  }

  .faq-question {
    padding: 18px 18px;

    gap: 14px;
  }

  .faq-question__main {
    gap: 12px;
  }

  .faq-question__icon {
    width: 40px;
    height: 40px;

    flex-basis: 40px;

    font-size: 18px;
  }

  .faq-question__text {
    font-size: 15px;
  }

  .faq-question__toggle {
    width: 34px;
    height: 34px;

    flex-basis: 34px;
  }

  .faq-answer__inner {
    padding-left: 70px;
    padding-right: 18px;
  }

  .faq-item.is-open .faq-answer__inner {
    padding-bottom: 20px;
  }
}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 576px) {
  .medical-faq {
    padding: 45px 0;
  }

  .medical-faq__header {
    margin-bottom: 24px;
  }

  .medical-faq__header h2 {
    font-size: 25px;
  }

  .medical-faq__header p {
    font-size: 14px;
    line-height: 1.8;
  }

  .faq-item {
    border-radius: 15px;
  }

  .faq-question {
    padding: 16px;

    gap: 10px;
  }

  .faq-question__main {
    gap: 10px;
  }

  .faq-question__icon {
    width: 36px;
    height: 36px;

    flex-basis: 36px;

    border-radius: 10px;

    font-size: 16px;
  }

  .faq-question__text {
    font-size: 14px;

    line-height: 1.7;
  }

  .faq-question__toggle {
    width: 32px;
    height: 32px;

    flex-basis: 32px;

    font-size: 12px;
  }

  .faq-answer__inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .faq-item.is-open .faq-answer__inner {
    padding-bottom: 18px;
  }

  .faq-answer__inner p {
    font-size: 14px;
    line-height: 2;
  }
}

/* ==========================================================
   VERY SMALL SCREENS
========================================================== */

@media (max-width: 380px) {
  .faq-question {
    padding: 14px;
  }

  .faq-question__icon {
    width: 34px;
    height: 34px;

    flex-basis: 34px;
  }

  .faq-question__toggle {
    width: 30px;
    height: 30px;

    flex-basis: 30px;
  }

  .faq-question__text {
    font-size: 13px;
  }
}

/* ==========================================================
   REDUCED MOTION
========================================================== */

@media (prefers-reduced-motion: reduce) {
  .faq-item,
  .faq-question__icon,
  .faq-question__text,
  .faq-question__toggle,
  .faq-answer,
  .faq-answer__inner {
    transition: none !important;
  }
}

.preloader {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 999999;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
}

.loader {
  width: clamp(100px, 7.88vw, 150px);
  aspect-ratio: 1;
  border-radius: 50%;
  animation: l11 2s infinite;
}

@keyframes l11 {
  0% {
    background: conic-gradient(var(--ul-primary) 0, rgba(0, 0, 0, 0) 0);
  }
  12.5% {
    background: conic-gradient(var(--ul-primary) 45deg, rgba(0, 0, 0, 0) 46deg);
  }
  25% {
    background: conic-gradient(var(--ul-primary) 90deg, rgba(0, 0, 0, 0) 91deg);
  }
  37.5% {
    background: conic-gradient(
      var(--ul-primary) 135deg,
      rgba(0, 0, 0, 0) 136deg
    );
  }
  50% {
    background: conic-gradient(
      var(--ul-primary) 180deg,
      rgba(0, 0, 0, 0) 181deg
    );
  }
  62.5% {
    background: conic-gradient(
      var(--ul-primary) 225deg,
      rgba(0, 0, 0, 0) 226deg
    );
  }
  75% {
    background: conic-gradient(
      var(--ul-primary) 270deg,
      rgba(0, 0, 0, 0) 271deg
    );
  }
  87.5% {
    background: conic-gradient(
      var(--ul-primary) 315deg,
      rgba(0, 0, 0, 0) 316deg
    );
  }
  100% {
    background: conic-gradient(
      var(--ul-primary) 360deg,
      rgba(0, 0, 0, 0) 360deg
    );
  }
}
.ul-slider-nav {
  right: 0;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1;
  visibility: hidden;
}
.ul-slider-nav button {
  width: clamp(46px, 2.94vw, 56px);
  aspect-ratio: 1/1;
  background-color: var(--white);
  border-radius: 999px;
  color: var(--ul-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(17px, 1.05vw, 20px);
  visibility: visible;
  box-shadow: 0px 4px 50px rgba(0, 0, 0, 0.06);
}
.ul-slider-nav button:hover {
  background-color: var(--ul-primary);
  color: var(--white);
}

.ul-sidebar {
  justify-content: flex-start;
  gap: 20px;
  border-right: 2px solid var(--ul-primary);
}
.ul-sidebar-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  padding-bottom: clamp(20px, 1.58vw, 30px);
}
.ul-sidebar-closer {
  display: inline-flex;
  padding: 0;
  font-size: clamp(22px, 1.31vw, 25px);
}
.ul-sidebar-closer:hover {
  color: var(--ul-primary);
}
.ul-sidebar-closer i {
  display: inline-flex;
}
.ul-sidebar-txt-block .title {
  font-weight: 600;
  font-size: 24px;
  margin-bottom: clamp(7px, 0.53vw, 10px);
  display: inline-block;
}
.ul-sidebar-txt-block .descr {
  font-size: clamp(13px, 0.84vw, 16px);
  line-height: 150%;
  color: var(--ul-gray2);
  display: flex;
  align-items: center;
  gap: 5px;
}
.ul-sidebar-txt-block .descr a {
  color: var(--ul-primary);
}
.ul-sidebar-txt-block .descr a:hover {
  color: var(--ul-secondary);
}
.ul-sidebar-txt-block .descr i {
  color: var(--ul-secondary);
  font-size: clamp(15px, 0.95vw, 18px);
}
.ul-sidebar-footer {
  margin-top: auto;
}
.ul-sidebar-footer-title {
  color: var(--black);
  font-weight: 600;
  font-size: clamp(20px, 1.26vw, 24px);
  margin-bottom: 4px;
  display: inline-block;
}
.ul-sidebar-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(7px, 0.53vw, 10px);
}
.ul-sidebar-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1/1;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.4);
  color: var(--black);
  height: clamp(37px, 2.1vw, 40px);
}
.ul-sidebar-footer-social a:hover {
  color: var(--white);
  background-color: var(--ul-primary);
  border-color: var(--ul-primary);
}
.ul-sidebar-footer-social a i {
  display: inline-flex;
}

.ul-header-container {
  margin: auto;
  max-width: calc(clamp(940px, 90.38vw, 1720px) + 30px);
  padding-right: 15px;
  padding-left: 15px;
  width: 100%;
}

/* =========================================================
   SERVICES — Premium Section
========================================================= */

/* =========================================
   SECTION WRAPPER
========================================= */
.ul-services {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    z-index: 1;
    background: linear-gradient(180deg, var(--ul-bg-soft) 0%, var(--white) 100%);
}

/* Subtle background pattern */
.ul-services::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(13, 109, 253, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(13, 109, 253, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.ul-services .ul-section-sub-title::after {
    content: "";
}

/* =========================================
   SECTION HEAD — Description
========================================= */
.lux-section-desc {
    font-family: iranyekan;
    font-size: clamp(13.5px, 0.95vw, 15.5px);
    line-height: 1.9;
    color: var(--ul-text-muted);
    margin: 16px auto 0;
    max-width: 620px;
}

/* =========================================
   VECTORS
========================================= */
.ul-services-vectors {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.ul-services-vectors > * {
    position: absolute;
    opacity: 0.5;
}

.ul-services-vectors .vector-1 {
    max-width: clamp(187px, 12.45vw, 237px);
    top: 0;
    inset-inline-end: 0;
}

.ul-services-vectors .vector-2 {
    top: clamp(107px, 7.72vw, 147px);
    inset-inline-start: clamp(61px, 8.46vw, 161px);
    max-width: clamp(61px, 5.83vw, 111px);
}


/* =========================================================
   SERVICE CARD — Premium
========================================================= */

.ul-service {
    position: relative;
    background: var(--white);
    border: 1.5px solid var(--ul-border);
    border-radius: var(--ul-radius-lg);
    padding: clamp(24px, 2.52vw, 38px) clamp(22px, 2.1vw, 32px);
    transition: all 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
    isolation: isolate;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;

    /* Reveal animation */
    opacity: 0;
    transform: translateY(24px);
    animation: serviceReveal 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

/* Delay for stagger */
.ul-service:nth-child(1) { animation-delay: 0.05s; }
.ul-service:nth-child(2) { animation-delay: 0.1s; }
.ul-service:nth-child(3) { animation-delay: 0.15s; }
.ul-service:nth-child(4) { animation-delay: 0.2s; }
.ul-service:nth-child(5) { animation-delay: 0.25s; }
.ul-service:nth-child(6) { animation-delay: 0.3s; }
.ul-service:nth-child(n+7) { animation-delay: 0.35s; }

@keyframes serviceReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   CARD — Corner Accent
========================================= */
.ul-service::before {
    content: "";
    position: absolute;
    top: -60px;
    inset-inline-end: -60px;
    width: 160px;
    height: 160px;
    background: radial-gradient(
        circle,
        rgba(13, 109, 253, 0.08) 0%,
        transparent 70%
    );
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    transition: all 0.5s ease;
}

.ul-service:hover::before {
    background: radial-gradient(
        circle,
        rgba(13, 109, 253, 0.15) 0%,
        transparent 70%
    );
    transform: scale(1.2);
}

/* =========================================
   CARD — Hover
========================================= */
.ul-service:hover {
    transform: translateY(-8px);
    border-color: var(--ul-secondary-light);
    box-shadow:
        0 25px 55px rgba(4, 28, 51, 0.1),
        0 0 0 4px rgba(13, 109, 253, 0.04);
}

/* =========================================
   SERVICE ICON — SVG
========================================= */
.ul-service-icon {
    display: inline-grid;
    place-items: center;
    width: clamp(58px, 4.2vw, 68px);
    height: clamp(58px, 4.2vw, 68px);
    background: linear-gradient(135deg, var(--ul-secondary-soft) 0%, #dbeafe 100%);
    border-radius: var(--ul-radius-md);
    padding: 14px;
    margin-bottom: clamp(18px, 1.68vw, 26px);
    position: relative;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
    overflow: hidden;
}

/* Icon background gradient on hover */
.ul-service-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--ul-secondary) 0%, var(--ul-primary) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
}

.ul-service:hover .ul-service-icon {
    transform: rotate(-6deg) scale(1.05);
    box-shadow: 0 15px 35px rgba(13, 109, 253, 0.3);
}

.ul-service:hover .ul-service-icon::before {
    opacity: 1;
}

/* SVG inside */
.ul-service-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    z-index: 1;
    transition: fill 0.4s ease;
    fill: var(--ul-secondary);
}

.ul-service-icon svg *,
.ul-service-icon svg path,
.ul-service-icon svg g,
.ul-service-icon svg circle,
.ul-service-icon svg rect,
.ul-service-icon svg polygon {
    fill: inherit;
    transition: fill 0.4s ease;
}

/* On hover — icon turns white */
.ul-service:hover .ul-service-icon svg {
    fill: var(--white);
}

/* =========================================
   SERVICE TEXT
========================================= */
.ul-service-txt {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ul-service-title {
    font-family: iranyekan;
    font-size: clamp(17px, 1.26vw, 20px);
    font-weight: 800;
    line-height: 1.5;
    color: var(--ul-primary);
    margin: 0 0 12px;
    transition: color 0.3s ease;
}

.ul-service-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ul-service:hover .ul-service-title {
    color: var(--ul-secondary);
}

.ul-service-descr {
    font-family: iranyekan;
    font-size: clamp(13px, 0.84vw, 14.5px);
    line-height: 1.9;
    color: var(--ul-text-muted);
    margin: 0 0 22px;
    flex-grow: 1;

    /* Line clamp 3 */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =========================================
   SERVICE BUTTON
========================================= */
.ul-service-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: transparent;
    color: var(--ul-secondary);
    font-family: iranyekan;
    font-size: 13px;
    font-weight: 700;
    border: 1.5px solid var(--ul-secondary-light);
    border-radius: var(--ul-radius-pill);
    text-decoration: none;
    align-self: flex-start;
    transition: all 0.35s ease;
    margin-top: auto;
}

.ul-service-btn i {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.ul-service-btn:hover {
    background: var(--ul-secondary);
    color: var(--white);
    border-color: var(--ul-secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(13, 109, 253, 0.25);
}

.ul-service-btn:hover i {
    transform: translateX(-4px);
}

/* =========================================
   DARK VARIANT (اختیاری)
========================================= */
.ul-service.is-dark {
    background: linear-gradient(160deg, var(--ul-primary) 0%, var(--ul-primary-light) 100%);
    border-color: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.ul-service.is-dark .ul-service-title,
.ul-service.is-dark .ul-service-title a {
    color: var(--white);
}

.ul-service.is-dark .ul-service-descr {
    color: rgba(255, 255, 255, 0.7);
}

.ul-service.is-dark .ul-service-icon {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.ul-service.is-dark .ul-service-icon svg {
    fill: var(--ul-secondary-light);
}

.ul-service.is-dark .ul-service-btn {
    color: var(--ul-secondary-light);
    border-color: rgba(255, 255, 255, 0.2);
}

.ul-service.is-dark .ul-service-btn:hover {
    background: var(--ul-secondary);
    color: var(--white);
    border-color: var(--ul-secondary);
}


/* =========================================================
   RESPONSIVE
========================================================= */

/* =========================================
   TABLET (992px)
========================================= */
@media (max-width: 991.98px) {

    .ul-services-vectors > * {
        opacity: 0.3;
    }

    .ul-services-vectors .vector-1 {
        max-width: 140px;
    }

    .ul-services-vectors .vector-2 {
        max-width: 70px;
    }

    .ul-service {
        padding: 24px 22px;
    }

    .ul-service-icon {
        width: 56px;
        height: 56px;
        border-radius: 14px;
        padding: 12px;
    }
}

/* =========================================
   MOBILE (576px)
========================================= */
@media (max-width: 575.98px) {

    /* Vectors — مخفی در موبایل */
    .ul-services-vectors {
        display: none;
    }

    .ul-service {
        padding: 22px 20px;
        border-radius: var(--ul-radius-md);
    }

    .ul-service-icon {
        width: 52px;
        height: 52px;
        border-radius: 13px;
        padding: 11px;
        margin-bottom: 16px;
    }

    .ul-service-title {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .ul-service-descr {
        font-size: 13px;
        line-height: 1.85;
        margin-bottom: 18px;
        -webkit-line-clamp: 2;
    }

    .ul-service-btn {
        padding: 9px 18px;
        font-size: 12.5px;
        gap: 8px;
    }

    /* Section head */
    .lux-section-desc {
        font-size: 13px;
        margin-top: 12px;
    }
}

/* =========================================
   VERY SMALL (380px)
========================================= */
@media (max-width: 380px) {
    .ul-service {
        padding: 20px 18px;
    }

    .ul-service-icon {
        width: 48px;
        height: 48px;
        padding: 10px;
    }

    .ul-service-title {
        font-size: 15px;
    }

    .ul-service-descr {
        font-size: 12.5px;
    }
}

/* =========================================
   REDUCED MOTION
========================================= */
@media (prefers-reduced-motion: reduce) {

    .ul-service,
    .ul-service-icon,
    .ul-service-icon svg,
    .ul-service-btn,
    .ul-service-btn i,
    .ul-service::before {
        animation: none !important;
        transition: none !important;
    }

    .ul-service {
        opacity: 1;
        transform: none;
    }
}

.ul-blogs {
  position: relative;
  z-index: 1;
}
.ul-blog {
  background-color: var(--ul-gray);
  border-radius: 16px;
  overflow: hidden;
}
.ul-blog-img img {
  width: 100%;
  aspect-ratio: 419/300;
  object-fit: cover;
}
.ul-blog-title {
  font-size: clamp(18px, 1.26vw, 24px);
  font-weight: 700;
  font-family: iranyekan;
  color: var(--ul-primary);
  letter-spacing: 0.5px;
  line-height: 1.35;
  margin-bottom: clamp(5px, 0.42vw, 8px);
}
.ul-blog-title:hover {
  color: var(--ul-secondary);
}
.ul-blog-txt {
  padding: clamp(16px, 1.26vw, 24px);
}
.ul-blog-infos {
  display: flex;
  gap: clamp(20px, 2.1vw, 40px);
  font-size: clamp(13px, 0.94vw, 16px);
  color: var(--ul-gray2);
}
.ul-blog-infos i {
  color: #b6b7b9;
}
.ul-blog-info {
  display: flex;
  gap: clamp(7px, 0.53vw, 10px);
  align-items: center;
}
.ul-blog-info span {
  display: inline-flex;
}
.ul-blog-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 0.68vw, 13px);
  background-color: var(--ul-primary);
  color: var(--white);
  font-size: clamp(13px, 0.94vw, 16px);
  font-weight: 500;
  padding: clamp(8px, 0.63vw, 12px);
  text-transform: uppercase;
}
.ul-blog-btn:hover {
  background-color: var(--ul-secondary);
  color: var(--white);
}

.start-about-btn:hover {
  color: var(--white) !important;
  background: var(--ul-primary) !important;
}

.ul-service-details-descr {
  font-size: clamp(13px, 0.84vw, 16px);
  color: var(--ul-gray2);
  font-weight: 400;
  line-height: 150%;
  margin-bottom: clamp(14px, 1.26vw, 24px);
}
.ul-service-details-inner-block-img img {
  border-radius: clamp(21px, 1.26vw, 24px);
}
.ul-service-details .inner-block-1 {
  display: flex;
  align-items: flex-end;
  gap: clamp(10px, 0.79vw, 15px);
  justify-content: space-between;
}
@media screen and (max-width: 991px) {
  .ul-service-details .inner-block-1 {
    flex-direction: column;
    align-items: flex-start;
  }
}
.ul-service-details-inner-title {
  font-family: iranyekan;
  font-weight: 800;
  font-size: clamp(18px, 1.26vw, 24px);
  line-height: 133%;
  letter-spacing: 0.5px;
  color: var(--ul-primary);
  margin-bottom: clamp(14px, 1.26vw, 24px);
  margin-top: clamp(16px, 1.68vw, 32px);
}

.badge {
  border-radius: 30px;
  padding: 0.45rem 0.8rem;
  font-size: 0.75rem;
}

.ul-service-details-sidebar-widget {
  background-color: var(--ul-gray);
  padding: clamp(16px, 1.68vw, 32px);
  border-radius: 16px;
  margin-bottom: clamp(16px, 1.68vw, 32px);
}
.ul-service-details-sidebar-widget:last-child {
  margin-bottom: 0;
}
.ul-service-details-sidebar-widget-title {
  font-family: iranyekan;
  font-weight: 800;
  font-size: clamp(20px, 1.26vw, 24px);
  line-height: 133%;
  letter-spacing: 0.5px;
  color: var(--ul-primary);
  padding-bottom: clamp(14px, 1.26vw, 24px);
  border-bottom: 1.2px solid rgba(206, 207, 208, 0.16);
  margin-bottom: clamp(14px, 1.26vw, 24px);
  display: block;
}

.ul-service-details-sidebar-cta {
  background: linear-gradient(131.07deg, #041c33 11.67%, #0d6dfd 130.74%);
  position: relative;
  z-index: 1;
}
.ul-service-details-sidebar-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  z-index: -1;
  border-radius: 16px;
}
.ul-service-details-sidebar-cta .ul-service-details-sidebar-widget-title {
  color: var(--white);
}
.ul-service-details-sidebar-cta .contact-info {
  margin-bottom: clamp(10px, 0.84vw, 16px);
}
.ul-service-details-sidebar-cta .contact-info,
.ul-service-details-sidebar-cta .contact-info a {
  font-weight: 400;
  font-size: clamp(13px, 0.84vw, 16px);
  line-height: 150%;
  color: var(--white);
}
.ul-service-details-sidebar-cta .contact-info a:hover {
  color: var(--ul-secondary);
}
.ul-service-details-sidebar-cta .contact-info.number {
  display: block;
}
.ul-service-details-sidebar-cta .contact-info.number a {
  font-family: iranyekan;
  font-weight: 600;
  font-size: clamp(17px, 1.05vw, 20px);
}
.ul-service-details-sidebar-cta .ul-btn {
  display: inline-flex;
  text-transform: uppercase;
  margin-top: clamp(10px, 0.84vw, 16px);
}

/* =========================================================
   ERROR PAGES (403 / 404 / 500) — Professional
========================================================= */

.error-page {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, var(--ul-bg-soft) 0%, var(--white) 100%);
    overflow: hidden;
    isolation: isolate;
    padding: clamp(40px, 6.31vw, 100px) 0;
}

/* =========================================
   BACKGROUND EFFECTS
========================================= */
.error-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.error-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: errorFloat 18s ease-in-out infinite;
}

.error-glow-1 {
    top: -100px;
    inset-inline-end: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle,
        rgba(13, 109, 253, 0.15) 0%,
        transparent 70%
    );
}

.error-glow-2 {
    bottom: -100px;
    inset-inline-start: -80px;
    width: 340px;
    height: 340px;
    background: radial-gradient(
        circle,
        rgba(4, 28, 51, 0.1) 0%,
        transparent 70%
    );
    animation-delay: -8s;
}

@keyframes errorFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(30px, -40px) scale(1.1); }
}

.error-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(4, 28, 51, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(4, 28, 51, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

/* =========================================
   SECTION
========================================= */
.error-section {
    position: relative;
    width: 100%;
}

.error-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(30px, 4.2vw, 70px);
    align-items: center;
    max-width: 1080px;
    margin: 0 auto;
}

/* =========================================
   VISUAL — Error Code
========================================= */
.error-visual {
    position: relative;
    display: grid;
    place-items: center;
    padding: clamp(20px, 2.1vw, 40px);
    animation: errorFadeUp 1s ease both;
}

@keyframes errorFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.error-code {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 1.05vw, 16px);
    position: relative;
    z-index: 2;
}

.error-digit {
    font-family: iranyekan;
    font-size: clamp(90px, 11.35vw, 180px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -8px;
    color: var(--ul-primary);
    text-shadow:
        0 8px 30px rgba(4, 28, 51, 0.12),
        0 2px 6px rgba(4, 28, 51, 0.06);
    user-select: none;
}

.error-center {
    display: inline-grid;
    place-items: center;
    width: clamp(80px, 9.2vw, 140px);
    height: clamp(80px, 9.2vw, 140px);
    background: linear-gradient(
        135deg,
        var(--ul-secondary) 0%,
        var(--ul-primary) 100%
    );
    border-radius: 50%;
    color: var(--white);
    font-size: clamp(34px, 4.2vw, 62px);
    box-shadow:
        0 20px 50px rgba(13, 109, 253, 0.35),
        0 0 0 8px rgba(13, 109, 253, 0.08),
        0 0 0 16px rgba(13, 109, 253, 0.04);
    animation: errorPulse 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes errorPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow:
            0 20px 50px rgba(13, 109, 253, 0.35),
            0 0 0 8px rgba(13, 109, 253, 0.08),
            0 0 0 16px rgba(13, 109, 253, 0.04);
    }
    50% {
        transform: scale(1.05);
        box-shadow:
            0 24px 60px rgba(13, 109, 253, 0.45),
            0 0 0 12px rgba(13, 109, 253, 0.1),
            0 0 0 24px rgba(13, 109, 253, 0.05);
    }
}

/* ---------- Halo Rings ---------- */
.error-halo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 2px dashed rgba(13, 109, 253, 0.15);
    animation: errorRotate 20s linear infinite;
    pointer-events: none;
    z-index: 1;
}

.error-halo-2 {
    width: 420px;
    height: 420px;
    border: 1px solid rgba(13, 109, 253, 0.08);
    animation-duration: 30s;
    animation-direction: reverse;
}

@keyframes errorRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* =========================================
   COLOR VARIANTS PER STATUS CODE
========================================= */

/* 403 — قرمز ملایم */
.error-page-403 .error-glow-1 {
    background: radial-gradient(
        circle,
        rgba(220, 38, 38, 0.12) 0%,
        transparent 70%
    );
}

.error-page-403 .error-center {
    background: linear-gradient(135deg, #dc2626 0%, #7f1d1d 100%);
    box-shadow:
        0 20px 50px rgba(220, 38, 38, 0.35),
        0 0 0 8px rgba(220, 38, 38, 0.08),
        0 0 0 16px rgba(220, 38, 38, 0.04);
}

.error-page-403 .error-halo {
    border-color: rgba(220, 38, 38, 0.15);
}

/* 500 — نارنجی/طلایی */
.error-page-500 .error-glow-1 {
    background: radial-gradient(
        circle,
        rgba(245, 158, 11, 0.12) 0%,
        transparent 70%
    );
}

.error-page-500 .error-center {
    background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
    box-shadow:
        0 20px 50px rgba(245, 158, 11, 0.35),
        0 0 0 8px rgba(245, 158, 11, 0.08),
        0 0 0 16px rgba(245, 158, 11, 0.04);
}

.error-page-500 .error-halo {
    border-color: rgba(245, 158, 11, 0.15);
}

/* =========================================
   CONTENT
========================================= */
.error-content {
    text-align: start;
    animation: errorFadeUp 1s 0.15s ease both;
}

.error-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: iranyekan;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--ul-secondary);
    margin-bottom: 20px;
}

.error-eyebrow-line {
    display: inline-block;
    width: 32px;
    height: 1px;
    background: var(--ul-secondary);
    opacity: 0.6;
}

.error-title {
    font-family: iranyekan;
    font-size: clamp(24px, 3vw, 46px);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.5px;
    color: var(--ul-primary);
    margin: 0 0 20px;
}

.error-title em {
    font-style: normal;
    color: var(--ul-secondary);
    position: relative;
    display: inline-block;
}

.error-title em::after {
    content: "";
    position: absolute;
    bottom: 4px;
    inset-inline: 0;
    height: 10px;
    background: var(--ul-secondary-soft);
    z-index: -1;
    border-radius: 4px;
}

.error-desc {
    font-family: iranyekan;
    font-size: clamp(14px, 1vw, 16px);
    line-height: 2;
    color: var(--ul-text-muted);
    margin: 0 0 32px;
    max-width: 520px;
}

/* =========================================
   ACTIONS
========================================= */
.error-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.error-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: var(--ul-radius-pill);
    font-family: iranyekan;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: all 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
    white-space: nowrap;
}

.error-btn i {
    font-size: 13px;
}

.error-btn-primary {
    background: var(--ul-secondary);
    color: var(--white);
    box-shadow: 0 12px 28px rgba(13, 109, 253, 0.3);
}

.error-btn-primary:hover {
    background: var(--ul-primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(4, 28, 51, 0.3);
}

.error-btn-arrow {
    transition: transform 0.3s ease;
    margin-inline-start: 4px;
}

.error-btn-primary:hover .error-btn-arrow {
    transform: translateX(-5px);
}

.error-btn-ghost {
    background: transparent;
    color: var(--ul-primary);
    border-color: var(--ul-border-dark);
}

.error-btn-ghost:hover {
    background: var(--ul-primary);
    color: var(--white);
    border-color: var(--ul-primary);
    transform: translateY(-3px);
}

/* =========================================
   QUICK LINKS
========================================= */
.error-links {
    padding-top: 32px;
    border-top: 1px dashed var(--ul-border);
}

.error-links-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: iranyekan;
    font-size: 13px;
    font-weight: 700;
    color: var(--ul-primary);
    margin-bottom: 16px;
}

.error-links-title i {
    color: var(--ul-secondary);
    font-size: 13px;
}

.error-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.error-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--white);
    border: 1px solid var(--ul-border);
    border-radius: var(--ul-radius-md);
    color: var(--ul-text);
    text-decoration: none;
    font-family: iranyekan;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.error-link-icon {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    background: var(--ul-secondary-soft);
    color: var(--ul-secondary);
    border-radius: 10px;
    font-size: 13px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.error-link > span:not(.error-link-icon) {
    flex: 1;
    min-width: 0;
}

.error-link > i:last-child {
    font-size: 10px;
    opacity: 0.4;
    color: var(--ul-text-muted);
    transition: all 0.3s ease;
}

.error-link:hover {
    border-color: var(--ul-secondary-light);
    background: var(--ul-secondary-soft);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 109, 253, 0.08);
}

.error-link:hover .error-link-icon {
    background: var(--ul-secondary);
    color: var(--white);
    transform: rotate(-6deg);
}

.error-link:hover > i:last-child {
    opacity: 1;
    color: var(--ul-secondary);
    transform: translateX(-3px);
}

/* Highlighted link (مثل دکمه‌ی login در 403) */
.error-link-highlight {
    border-color: var(--ul-secondary-light);
    background: var(--ul-secondary-soft);
}

.error-link-highlight .error-link-icon {
    background: var(--ul-secondary);
    color: var(--white);
}

/* =========================================
   HINT
========================================= */
.error-hint {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    padding: 10px 18px;
    background: var(--ul-secondary-soft);
    border-radius: var(--ul-radius-pill);
    font-family: iranyekan;
    font-size: 12.5px;
    color: var(--ul-text-muted);
}

.error-hint i {
    color: var(--ul-secondary);
    font-size: 13px;
}

.error-hint a {
    color: var(--ul-secondary);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.error-hint a:hover {
    color: var(--ul-primary);
    text-decoration: underline;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 991.98px) {
    .error-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .error-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .error-desc {
        margin-inline: auto;
    }

    .error-actions {
        justify-content: center;
    }

    .error-links-grid {
        max-width: 520px;
        margin-inline: auto;
        width: 100%;
    }

    .error-halo {
        width: 260px;
        height: 260px;
    }

    .error-halo-2 {
        width: 340px;
        height: 340px;
    }
}

@media (max-width: 575.98px) {
    .error-page {
        padding: 40px 0;
        min-height: auto;
    }

    .error-inner {
        gap: 32px;
    }

    .error-digit {
        font-size: 82px;
        letter-spacing: -4px;
    }

    .error-center {
        width: 72px;
        height: 72px;
        font-size: 30px;
        box-shadow:
            0 12px 30px rgba(13, 109, 253, 0.35),
            0 0 0 6px rgba(13, 109, 253, 0.08);
    }

    .error-halo {
        width: 200px;
        height: 200px;
    }

    .error-halo-2 {
        width: 260px;
        height: 260px;
    }

    .error-title {
        font-size: 21px;
        line-height: 1.4;
    }

    .error-desc {
        font-size: 13px;
        margin-bottom: 24px;
    }

    .error-actions {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .error-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 22px;
        font-size: 13px;
    }

    .error-links-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .error-link {
        padding: 10px 12px;
        font-size: 12.5px;
    }

    .error-link-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
        border-radius: 8px;
    }

    .error-hint {
        font-size: 11.5px;
        padding: 8px 14px;
        text-align: start;
    }
}

/* =========================================
   REDUCED MOTION
========================================= */
@media (prefers-reduced-motion: reduce) {
    .error-glow,
    .error-halo,
    .error-center,
    .error-visual,
    .error-content {
        animation: none !important;
    }

    .error-btn,
    .error-btn-arrow,
    .error-link,
    .error-link-icon,
    .error-link > i:last-child {
        transition: none !important;
    }
}


.ul-inner-blog {
  margin-bottom: clamp(16px, 1.68vw, 32px);
}

.ul-inner-blog-txt .ul-blog-infos {
  flex-wrap: wrap;
  row-gap: 10px;
}
.ul-inner-blog-txt .ul-blog-info:first-child {
  background-color: var(--ul-secondary);
  color: var(--white);
  padding: 4px clamp(8px, 0.63vw, 12px);
  border-radius: 99px;
  font-size: 14px;
}
.ul-inner-blog-txt .ul-blog-info:first-child i {
  color: var(--white);
}

.ul-inner-blog .ul-btn {
  border: 1px solid var(--ul-secondary);
  color: var(--ul-secondary);
  background-color: transparent;
  width: fit-content;
  height: clamp(40px, 2.52vw, 48px);
}
.ul-inner-blog .ul-btn:hover {
  background-color: var(--ul-secondary);
  color: var(--white);
}

.ul-inner-sidebar {
  top: clamp(85px, 6.04vw, 115px);
}

.ul-inner-sidebar-post {
  margin-bottom: clamp(14px, 1.26vw, 24px);
}
.ul-inner-sidebar-post:last-child {
  margin-bottom: 0;
}
.ul-inner-sidebar-post .img {
  flex-shrink: 0;
  overflow: hidden;
  margin-bottom: clamp(9px, 0.84vw, 16px);
}
.ul-inner-sidebar-post .img img {
  width: 100%;
  aspect-ratio: 356/148;
  object-fit: cover;
}
.ul-inner-sidebar-post .date {
  font-size: clamp(13px, 0.84vw, 16px);
  color: var(--ul-gray2);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0px;
}
.ul-inner-sidebar-post .date i {
  color: #b6b7b9;
}
.ul-inner-sidebar-post .title {
  margin-bottom: 0;
}
.ul-inner-sidebar-post .title a {
  font-weight: 600;
  font-size: clamp(15px, 0.95vw, 18px);
  line-height: 1.4;
  margin-bottom: 0;
  color: var(--black);
}
.ul-inner-sidebar-post .title a:hover {
  color: var(--ul-secondary);
}
body,
h1,
h2,
h3,
h4,
h5,
a,
p {
  font-family: iranyekan !important;
}
.fa-chevron-right,
.fa-chevron-left,
.fa-arrow-left,
.button-next,
.button-prev,
.slick-arrow,
.fa-circle-arrow-right,
.fa-arrow-right-long,
.flaticon-arrow-up-right,
.flaticon-right-arrow {
  transform: scale(-1);
}
@font-face {
  font-family: "iranyekan";
  font-weight: 200;
  font-style: normal;
  src: url("fonts/IRANSansIRANSans--normal.f02de4ac6ff7.woff") format("woff");
  font-display: swap;
}
@font-face {
  font-weight: 300;
  font-family: "iranyekan";
  font-style: normal;
  src: url("fonts/IRANSansIRANSans--normal-3.acf3b7ec7a5d.woff") format("woff");
  font-display: swap;

}
@font-face {
  font-family: "iranyekan";
  font-weight: 700;
  font-style: normal;
  src: url("fonts/iranyekanwebboldfanum.1e545fbaebbb.woff") format("woff");
  font-display: swap;
}
@font-face {
  font-family: "iranyekan";
  font-weight: bold;
  font-style: normal;
  src: url("fonts/IRANSansIRANSans-Bolder-normal.4166c9d33f2a.woff") format("woff");
  font-display: swap;
}
.slick-track {
  direction: rtl;
}

/* comment
/* ============================================
   بازنویسی Bootstrap + AutoFill
   ============================================ */

/* ============================================
   حالت عادی
   ============================================ */
.form-control,
.form-select {
  background-color: #f2f2f2 !important;
  border-color: #e8e8e8 !important;
  transition: all 0.3s ease;
}

/* ============================================
   حالت فوکوس
   ============================================ */
.form-control:focus,
.form-select:focus {
  background-color: #f2f2f2 !important;
  border-color: #4a90d9 !important;
  box-shadow: 0 0 0 4px rgba(74, 144, 217, 0.08) !important;
}

/* ============================================
   حالت خطا
   ============================================ */
.form-control.is-invalid,
.form-select.is-invalid {
  background-color: #f2f2f2 !important;
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.08) !important;
}

.form-control.is-invalid:focus,
.form-select.is-invalid:focus {
  background-color: #f2f2f2 !important;
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.12) !important;
}

/* ============================================
   🔥 مهم: بازنویسی AutoFill مرورگر
   ============================================ */

/* کروم، اج، سافاری */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
textarea:-webkit-autofill:active,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus,
select:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #f2f2f2 inset !important;
  -webkit-text-fill-color: #1a1a1a !important;
  background-color: #f2f2f2 !important;
  background-image: none !important;
  transition: background-color 5000s ease-in-out 0s !important;
}

/* فایرفاکس */
input:-moz-autofill,
textarea:-moz-autofill,
select:-moz-autofill {
  background-color: #f2f2f2 !important;
  color: #1a1a1a !important;
  box-shadow: 0 0 0 1000px #f2f2f2 inset !important;
}

/* ============================================
   AutoFill + خطا
   ============================================ */
input.is-invalid:-webkit-autofill,
textarea.is-invalid:-webkit-autofill,
select.is-invalid:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #f2f2f2 inset !important;
  border-color: #dc3545 !important;
}

input.is-invalid:-moz-autofill,
textarea.is-invalid:-moz-autofill,
select.is-invalid:-moz-autofill {
  box-shadow: 0 0 0 1000px #f2f2f2 inset !important;
  border-color: #dc3545 !important;
}

/* ============================================
   AutoFill + فوکوس
   ============================================ */
input:-webkit-autofill:focus,
textarea:-webkit-autofill:focus,
select:-webkit-autofill:focus {
  border-color: #4a90d9 !important;
}

input:-moz-autofill:focus,
textarea:-moz-autofill:focus,
select:-moz-autofill:focus {
  border-color: #4a90d9 !important;
}

/* ============================================
   اگر از select استفاده میکنی
   ============================================ */
select:-webkit-autofill {
  -webkit-appearance: none !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: left 12px center !important;
  background-color: #f2f2f2 !important;
}

/* reating */

.rating {
  display: flex;

  flex-direction: row-reverse;

  justify-content: flex-end;

  gap: 6px;
}

.rating input {
  display: none;
}

.rating label {
  cursor: pointer;

  font-size: 30px;

  color: #d1d5db;

  transition: 0.25s;
}

.rating label:hover {
  transform: scale(1.12);
}

.rating label:hover i {
  color: #fbbf24;
}

.rating label:hover ~ label i {
  color: #fbbf24;
}

.rating input:checked ~ label i {
  color: #fbbf24;
}

.rating input:focus + label {
  outline: 2px solid #2563eb;

  outline-offset: 4px;

  border-radius: 4px;
}

.rating.is-invalid {
  padding: 8px;

  border: 1px solid #dc3545;

  border-radius: 10px;
}

/* ============================================
   Autofill Fix (Chrome / Edge / Safari)
   ============================================ */

input.form-control:-webkit-autofill,
input.form-control:-webkit-autofill:hover,
input.form-control:-webkit-autofill:focus {
  -webkit-text-fill-color: #212529 !important;
  -webkit-box-shadow: 0 0 0 1000px #f2f2f2 inset !important;
  box-shadow: 0 0 0 1000px #f2f2f2 inset !important;
}

/* Login Card */
.login-wrapper {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 15px;
  background: #f8fafc;
}

.login-card {
  width: 100%;
  max-width: 470px;

  background: var(--white);

  border-radius: 28px;

  padding: 45px;

  border: 1px solid rgba(60, 107, 124, 0.15);

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);

  position: relative;
  overflow: hidden;
}

.login-card::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 5px;

  background: linear-gradient(135deg, var(--ul-secondary), var(--ul-primary));
}

.login-header {
  text-align: center;
  margin-bottom: 35px;
}

.login-header h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--black);
}

.login-header p {
  color: #7b8b95;

  margin-top: 8px;
}

.form-control {
  height: 60px;

  border-radius: 16px;

  border: 1px solid #dbe5ea;

  box-shadow: none;

  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}

.form-control:focus {
  border-color: var(--ul-secondary);

  box-shadow: 0 0 0 0.25rem rgba(60, 107, 124, 0.15);
}

.form-control.is-invalid {
  border-color: #dc3545;

  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.15);
}

.form-control.is-invalid:focus {
  border-color: #dc3545;

  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.2);
}

.invalid-feedback {
  display: none;
  font-size: 13px;
  margin-top: 5px;
}

.form-control.is-invalid ~ .invalid-feedback {
  display: block;
}

.form-floating label {
  color: #888;
}

.password-toggle {
  position: absolute;

  top: 50%;

  left: 15px;

  transform: translateY(-50%);

  background: none;

  border: none;

  color: #777;

  z-index: 10;

  font-size: 20px;
  padding: 5px;
  cursor: pointer;
  transition: color 0.3s;
}

.password-toggle:hover {
  color: var(--ul-secondary);
}

.login-btn {
  height: 56px;

  border-radius: 16px;

  border: none;

  background: linear-gradient(135deg, var(--ul-secondary), var(--ul-primary));

  color: var(--white);

  font-weight: 700;

  transition: all 0.3s;

  cursor: pointer;
}

.login-btn:hover {
  transform: translateY(-2px);

  box-shadow: 0 12px 25px rgba(60, 107, 124, 0.25);

  color: #e3e3e3;
}

.login-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.forgot-link {
  color: var(--ul-secondary);

  text-decoration: none;

  transition: color 0.3s;
}

.forgot-link:hover {
  color: var(--ul-primary);
  text-decoration: underline;
}

.form-check-input:checked {
  background-color: var(--ul-secondary);
  border-color: var(--ul-secondary);
}

@media (max-width: 576px) {
  .login-card {
    padding: 30px 22px;
    border-radius: 22px;
  }

  .login-header h1 {
    font-size: 24px;
  }
}

/* Contact */

.contact-section {
  padding: 80px 0;

  background: #f7fafc;
}

/* Intro */

.contact-intro {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 40px;

  margin-bottom: 60px;
}

.contact-intro h2 {
  font-size: 2rem;

  font-weight: 600;

  line-height: 1.6;

  color: var(--ul-primary);

  margin-bottom: 20px;
}

.contact-intro p {
  max-width: 750px;

  color: var(--ul-gray2);

  line-height: 2;
}

.quick-call-box {
  min-width: 300px;

  display: flex;

  align-items: center;

  justify-content: space-around;

  gap: 15px;

  background: var(--white);

  padding: 30px;

  border-radius: 24px;

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.call-icon,
.card-icon,
.hours-icon {
  width: 70px;

  height: 70px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  background: var(--ul-secondary-soft);

  color: var(--ul-secondary);

  font-size: 28px;
}

.quick-call-box .quick-call-box-text {
  display: flex;

  flex-direction: column;

  align-items: center;
}

.quick-call-box span {
  display: block;

  color: var(--ul-gray2);

  margin-bottom: 5px;
}

.quick-call-box a {
  display: block;

  color: var(--ul-primary);

  font-weight: 700;

  margin-top: 5px;
}

.quick-call-box a:hover {
  color: var(--ul-secondary) !important;
}

/* Cards */

.contact-cards {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 25px;
}

.contact-card {
  background: var(--white);

  padding: 35px 25px;

  border-radius: 25px;

  text-align: center;

  border: 1px solid #e8eff1;

  transition: 0.35s;

  display: flex;

  flex-direction: column;

  align-items: center;
}

.contact-card:hover {
  transform: translateY(-8px);

  box-shadow: 0 20px 45px rgba(60, 107, 124, 0.15);
}

.contact-card h3 {
  margin: 25px 0 15px;

  font-weight: 500;

  color: var(--ul-primary);
}

.contact-card p {
  color: var(--ul-gray2);

  line-height: 2;

  min-height: 90px;
}

.contact-card a {
  display: inline-flex;

  margin-top: 15px;

  color: var(--white);

  font-weight: 700;
}

/* Hours */

.working-hours {
  margin: 70px 0;

  padding: 35px 45px;

  background: var(--white);

  border-radius: 28px;

  display: flex;

  align-items: center;

  gap: 25px;

  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05);
}

.hours-content h3 {
  margin: 0 0 15px;

  color: var(--ul-primary);

  font-size: 22px;

  font-weight: 500;
}

.hours-item {
  display: flex;

  align-items: center;

  gap: 20px;

  background: #f7fafc;

  padding: 14px 22px;

  border-radius: 14px;
}

.hours-item span {
  font-size: 16px;

  color: var(--ul-gray2);
}

/*==============================
Instagram Section
==============================*/

.instagram-section {
  margin: 70px 0;
}

.instagram-box {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 40px;

  padding: 45px 50px;

  background: linear-gradient(135deg, #ffffff, #f8fbfc);

  border: 1px solid #e8eef1;

  border-radius: 30px;

  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);

  transition: 0.35s;
}

.instagram-box:hover {
  transform: translateY(-4px);

  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
}

.instagram-content {
  display: flex;

  align-items: center;

  gap: 25px;
}

.instagram-icon {
  width: 90px;

  height: 90px;

  border-radius: 24px;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 42px;

  color: #fff;

  background: linear-gradient(
    135deg,
    #833ab4,
    #c13584,
    #e1306c,
    #f77737,
    #fcaf45
  );

  flex-shrink: 0;
}

.instagram-text h3 {
  margin: 12px 0 12px 0;

  font-size: 30px;

  color: var(--ul-primary);

  font-weight: 700;
}

.instagram-text p {
  margin: 0;

  color: var(--ul-gray2);

  line-height: 2;

  max-width: 650px;
}

.instagram-action {
  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 18px;
}

.instagram-id {
  font-size: 18px;

  font-weight: 700;

  color: var(--ul-primary);
}

.instagram-btn {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  padding: 15px 28px;

  border-radius: var(--ul-radius-pill);

  text-decoration: none;

  background: linear-gradient(135deg, #833ab4, #e1306c);

  color: #fff;

  font-weight: 600;

  white-space: nowrap;

  transition: 0.3s;
}

.instagram-btn:hover {
  color: #fff;

  transform: translateY(-3px);

  box-shadow: 0 15px 35px rgba(225, 48, 108, 0.35);
}

@media (max-width: 991px) {
  .instagram-box {
    flex-direction: column;

    align-items: center;
  }

  .instagram-action {
    width: 100%;

    align-items: center;
  }
}

@media (max-width: 576px) {
  .instagram-box {
    padding: 30px;
  }

  .instagram-content {
    flex-direction: column;

    align-items: center;
  }

  .instagram-icon {
    width: 72px;

    height: 72px;

    font-size: 34px;
  }

  .instagram-text h3 {
    font-size: 24px;
  }

  .instagram-btn {
    width: 100%;

    justify-content: center;
  }
}

/* Map */

.contact-map {
  background: var(--white);

  padding: 30px;

  border-radius: 30px;

  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.map-title {
  margin-bottom: 25px;
}

.map-title h3 {
  color: var(--ul-primary);
}

.map-title p {
  color: var(--ul-gray2);
  font-weight: 500;
}

.contact-map iframe {
  width: 100%;

  height: 520px;

  border: 0;

  border-radius: 22px;
}

/* Responsive */

@media (max-width: 1100px) {
  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-intro {
    flex-direction: column;

    align-items: center;
  }
}

@media (max-width: 600px) {
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .contact-intro h2 {
    font-size: 28px;
  }

  .quick-call-box {
    width: 100%;
  }

  .contact-map iframe {
    height: 350px;
  }
}

.ul-section-sub-title i {
  font-size: 14px;
  color: var(--ul-secondary);
}

.contact-card {
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.contact-card:hover .card-icon {
  background: var(--ul-secondary);
  color: var(--white);
  transform: scale(1.08) rotate(-6deg);
}

.contact-card .card-icon {
  transition: all 0.35s ease;
}

.contact-map iframe {
  border-radius: 22px;
  border: 1px solid var(--ul-border);
}

/* About */

/*==================================
 Clinic Hero
==================================*/

.clinic-hero {
  background: #f7fafc;

  position: relative;

  overflow: hidden;
}

.clinic-hero-content {
  position: relative;

  z-index: 2;
}

.section-badge {
  display: inline-flex;

  align-items: center;

  padding: 8px 20px;

  background: #eaf3f5;

  color: var(--ul-primary);

  border-radius: 50px;

  font-size: 14px;

  font-weight: 600;

  margin-bottom: 22px;
}

.clinic-hero-content h2 {
  font-size: 3rem;

  line-height: 1.7;

  font-weight: 600;

  color: var(--ul-primary);

  margin-bottom: 25px;
}

.clinic-hero-content p {
  font-size: 1.1rem;

  line-height: 2.2;

  color: var(--ul-gray2);

  max-width: 580px;

  margin-bottom: 35px;
}

.clinic-hero-btns {
  display: flex;

  align-items: center;

  gap: 15px;
}

/*=========================
 Hero Images
=========================*/

.clinic-hero-images {
  position: relative;

  padding-left: 40px;
}

.clinic-hero-images .main-image {
  position: relative;

  width: 100%;

  height: 570px;

  border-radius: 35px;

  overflow: hidden;

  box-shadow: 0 25px 60px rgba(38, 50, 56, 0.12);
}

.clinic-hero-images .main-image::before {
  content: "";

  position: absolute;

  inset: 0;

  background: linear-gradient(to top, rgba(0, 0, 0, 0.15), transparent);

  z-index: 1;
}

.clinic-hero-images img {
  width: 100%;

  height: 100%;

  object-fit: cover;

  transition: 0.6s;
}

.clinic-hero-images:hover img {
  transform: scale(1.04);
}

/*=========================
 Floating Card
=========================*/

.floating-card {
  position: absolute;

  bottom: 40px;

  left: 0;

  background: white;

  padding: 25px 35px;

  border-radius: 22px;

  display: flex;

  flex-direction: column;

  gap: 8px;

  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);

  z-index: 3;
}

.floating-card strong {
  color: var(--ul-primary);

  font-size: 20px;
}

.floating-card span {
  color: var(--ul-primary);

  font-size: 14px;
}

/*=========================
 Responsive
=========================*/

@media (max-width: 1199px) {
  .clinic-hero-content h2 {
    font-size: 36px;
  }

  .clinic-hero-images .main-image {
    height: 500px;
  }
}

@media (max-width: 991px) {
  .clinic-hero-images {
    padding-left: 0;

    margin-top: 20px;
  }

  .clinic-hero-images .main-image {
    height: 450px;
  }

  .clinic-hero-content h2 {
    font-size: 32px;
  }
}

@media (max-width: 576px) {
  .clinic-hero {
    padding-top: 40px;
  }

  .clinic-hero-content h2 {
    font-size: 26px;

    line-height: 1.8;
  }

  .clinic-hero-content p {
    font-size: 15px;
  }

  .clinic-hero-images .main-image {
    height: 380px;

    border-radius: 25px;
  }

  .floating-card {
    bottom: 20px;

    left: 15px;

    padding: 18px 22px;
  }

  .floating-card strong {
    font-size: 17px;
  }
}

/*==================================
 Clinic About Heading
==================================*/

.clinic-about {
  background: var(--white);

  position: relative;
}

.clinic-about .section-heading {
  max-width: 850px;

  margin: 0 auto;

  text-align: center;
}

.clinic-about .section-heading > span {
  display: inline-flex;

  align-items: center;

  justify-content: center;
}

.clinic-about .section-heading h2 {
  color: var(--ul-primary);

  font-size: 2.2rem;

  line-height: 1.7;

  font-weight: 700;

  margin-bottom: 25px;
}

.clinic-about .section-heading p {
  max-width: 720px;

  margin: 0 auto;

  color: var(--ul-gray2);

  font-size: 1.1rem;

  line-height: 2.2;
}

/* Decorative Line */

.clinic-about .section-heading::after {
  content: "";

  display: block;

  width: 70px;

  height: 3px;

  background: var(--ul-secondary);

  border-radius: 20px;

  margin: 35px auto 0;
}

/*==================================
 Responsive
==================================*/

@media (max-width: 991px) {
  .clinic-about .section-heading h2 {
    font-size: 34px;
  }

  .clinic-about .section-heading p {
    font-size: 15px;
  }
}

@media (max-width: 576px) {
  .clinic-about {
    padding-top: 50px;

    padding-bottom: 50px;
  }

  .clinic-about .section-heading h2 {
    font-size: 26px;

    line-height: 1.8;
  }

  .clinic-about .section-heading p {
    line-height: 2;
  }

  .clinic-about .section-heading > span {
    font-size: 13px;

    padding: 7px 18px;
  }
}

/*==================================
 Clinic Expect
==================================*/

.clinic-expect {
  background: #f7fafc;
}

.expect-box {
  display: grid;

  grid-template-columns: 1fr 0.9fr;

  align-items: center;

  gap: 60px;

  background: white;

  padding: 60px;

  border-radius: 35px;

  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.06);
}

.expect-content h2 {
  color: var(--ul-primary);

  font-size: 38px;

  line-height: 1.7;

  margin-bottom: 35px;
}

/* Items */

.expect-list {
  display: flex;

  flex-direction: column;

  gap: 25px;
}

.expect-item {
  display: flex;

  align-items: flex-start;

  gap: 20px;
}

.expect-item > span {
  min-width: 55px;

  height: 55px;

  display: flex;

  align-items: center;

  justify-content: center;

  background: #eaf3f5;

  color: var(--ul-secondary);

  border-radius: 50%;

  font-size: 18px;

  font-weight: 700;
}

.expect-item h3 {
  margin: 0 0 8px;

  color: var(--ul-primary);

  font-size: 20px;
}

.expect-item p {
  margin: 0;

  color: var(--ul-gray2);

  line-height: 2;

  font-size: 15px;
}

/* Image */

.expect-image {
  height: 520px;

  border-radius: 30px;

  overflow: hidden;
}

.expect-image img {
  width: 100%;

  height: 100%;

  object-fit: cover;

  transition: 0.5s;
}

.expect-image:hover img {
  transform: scale(1.05);
}

/* Responsive */

@media (max-width: 991px) {
  .expect-box {
    grid-template-columns: 1fr;

    padding: 40px;

    gap: 40px;
  }

  .expect-image {
    height: 450px;
  }

  .expect-content h2 {
    font-size: 32px;
  }
}

@media (max-width: 576px) {
  .expect-box {
    padding: 25px;

    border-radius: 25px;
  }

  .expect-content h2 {
    font-size: 26px;
  }

  .expect-image {
    height: 320px;
  }

  .expect-item > span {
    min-width: 45px;

    height: 45px;

    font-size: 15px;
  }

  .expect-item {
    gap: 15px;
  }
}

.section-heading {
  max-width: 850px;

  margin-bottom: 50px;
}

.section-heading h2 {
  font-size: 2.2rem;

  font-weight: 600;

  color: var(--ul-primary);

  margin: 20px 0;
}

.section-heading p {
  color: var(--ul-gray2);

  font-size: 1.1rem;

  line-height: 2;
}

.section-badge {
  display: inline-block;

  padding: 8px 18px;

  background: #eaf3f5;

  color: var(--ul-primary);

  border-radius: 50px;

  font-size: 14px;
}

/* =========================================================
   PREMIUM GALLERY (New Independent CSS)
========================================================= */

/* گرید اصلی */
.premium-gallery-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr; /* ستون راست بزرگتر، ستون چپ کوچکتر */
    grid-template-rows: 280px 280px;  /* دو ردیف با ارتفاع ثابت */
    gap: 20px;
    width: 100%;
}

/* استایل مشترک آیتم‌ها */
.premium-gallery-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background-color: var(--ul-primary);
    box-shadow: 0 10px 30px rgba(4, 28, 51, 0.08);
    cursor: pointer;
}

/* آیتم بزرگ (سمت راست) */
.premium-item-large {
    grid-row: 1 / span 2; /* اشغال هر دو ردیف */
    grid-column: 1;       /* قرارگیری در ستون اول */
}

/* استایل تصاویر */
.premium-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* جلوگیری از کشیدگی */
    display: block;
    transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* لایه تاریک (Overlay) */
.premium-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top, 
        rgba(4, 28, 51, 0.85) 0%, 
        rgba(4, 28, 51, 0.2) 50%, 
        transparent 100%
    );
    opacity: 0.8;
    transition: opacity 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    z-index: 2;
}

/* بج (Badge) */
.premium-gallery-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 50px;
    font-family: iranyekan, sans-serif;
    font-size: 13px;
    font-weight: 600;
    width: fit-content;
    transition: all 0.3s ease;
}

.premium-gallery-badge i {
    color: var(--ul-secondary-light);
    font-size: 14px;
}

/* =========================================
   HOVER EFFECTS
========================================= */

.premium-gallery-item:hover img {
    transform: scale(1.06);
}

.premium-gallery-item:hover .premium-gallery-overlay {
    opacity: 1;
}

.premium-gallery-item:hover .premium-gallery-badge {
    background: var(--ul-secondary);
    border-color: var(--ul-secondary);
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */

/* تبلت */
@media (max-width: 991.98px) {
    .premium-gallery-grid {
        grid-template-columns: 1fr; /* تبدیل به یک ستون */
        grid-template-rows: auto;
    }

    .premium-item-large {
        grid-row: auto;
        grid-column: auto;
        height: 400px; /* ارتفاع ثابت برای عکس بزرگ در تبلت */
    }

    /* دو عکس کوچک در تبلت کنار هم قرار می‌گیرند */
    .premium-gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    .premium-item-large {
        grid-column: 1 / span 2; /* عکس بزرگ کل عرض را می‌گیرد */
    }
    .premium-gallery-item:not(.premium-item-large) {
        height: 250px;
    }
}

/* موبایل */
@media (max-width: 575.98px) {
    .premium-gallery-grid {
        grid-template-columns: 1fr; /* تک ستونه کامل */
        gap: 15px;
    }

    .premium-item-large,
    .premium-gallery-item:not(.premium-item-large) {
        grid-column: auto;
        height: 260px;
    }

    .premium-gallery-overlay {
        padding: 20px;
    }
}

@media (max-width: 576px) {
  .section-heading h2 {
    font-size: 28px;
  }
}

.clinic-features {
  background: #fff;
}

.clinic-feature-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 25px;
}

.clinic-feature-card {
  background: #f7fafc;

  padding: 35px 25px;

  border-radius: 25px;

  text-align: center;

  border: 1px solid #edf2f4;

  transition: 0.35s;
}

.clinic-feature-card:hover {
  transform: translateY(-8px);

  background: #fff;

  box-shadow: 0 20px 45px rgba(60, 107, 124, 0.12);
}

.feature-icon {
  width: 75px;

  height: 75px;

  margin: 0 auto 25px;

  display: flex;

  justify-content: center;

  align-items: center;

  border-radius: 50%;

  background: #eaf3f5;

  color: var(--ul-secondary);

  font-size: 30px;
}

.clinic-feature-card h3 {
  font-size: 1.5rem;

  color: var(--ul-primary);

  margin-bottom: 15px;
}

.clinic-feature-card p {
  color: var(--ul-gray2);

  line-height: 2;

  font-size: 0.9rem;
}

@media (max-width: 1100px) {
  .clinic-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .clinic-feature-grid {
    grid-template-columns: 1fr;
  }
}

.clinic-process {
  background: #f7fafc;
}

.process-wrapper {
  position: relative;

  max-width: 900px;

  margin: auto;
}

.process-line {
  position: absolute;

  top: 0;

  bottom: 0;

  left: 50%;

  width: 2px;

  background: #dce8eb;

  transform: translateX(-50%);
}

.process-item {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 50px;

  margin-bottom: 50px;

  position: relative;
}

.process-item:nth-child(even) {
  flex-direction: row-reverse;
}

.process-number {
  width: 70px;

  height: 70px;

  background: var(--ul-secondary);

  color: white;

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 20px;

  font-weight: 700;

  z-index: 2;

  flex-shrink: 0;
}

.process-content {
  width: 350px;

  background: white;

  padding: 25px;

  border-radius: 20px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.process-content h3 {
  color: var(--ul-primary);

  margin-bottom: 10px;
}

.process-content p {
  color: var(--ul-gray2);

  line-height: 2;

  margin: 0;
}

@media (max-width: 768px) {
  .process-line {
    left: 35px;
  }

  .process-item,
  .process-item:nth-child(even) {
    flex-direction: row;

    justify-content: flex-start;

    gap: 20px;
  }

  .process-number {
    width: 60px;

    height: 60px;
  }

  .process-content {
    width: auto;

    flex: 1;
  }
}

/* =========================================================
   CLINIC BOOKING — Premium CTA
========================================================= */

.clinic-booking {
  position: relative;
  background: var(--white);
  overflow: hidden;
}

/* =========================================
   BOOKING BOX — Main Container
========================================= */
.booking-premium {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(30px, 4.2vw, 70px);
  align-items: center;
  padding: clamp(35px, 4.2vw, 65px) clamp(30px, 4.2vw, 70px);
  background: linear-gradient(
    145deg,
    var(--ul-primary) 0%,
    var(--ul-primary-light) 60%,
    #0d3a5c 100%
  );
  border-radius: var(--ul-radius-xl);
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 40px 90px rgba(4, 28, 51, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* =========================================
   BACKGROUND EFFECTS
========================================= */
.booking-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.booking-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  animation: bookingFloat 15s ease-in-out infinite;
}

.booking-glow-1 {
  top: -100px;
  inset-inline-end: -80px;
  width: 340px;
  height: 340px;
  background: radial-gradient(
    circle,
    rgba(13, 109, 253, 0.55) 0%,
    transparent 70%
  );
}

.booking-glow-2 {
  bottom: -100px;
  inset-inline-start: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(
    circle,
    rgba(61, 139, 255, 0.35) 0%,
    transparent 70%
  );
  animation-delay: -7s;
}

@keyframes bookingFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(20px, -30px) scale(1.1);
  }
}

/* Grid pattern */
.booking-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    #000 20%,
    transparent 75%
  );
  opacity: 0.6;
}

/* =========================================
   CONTENT
========================================= */
.booking-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

/* Eyebrow */
.booking-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--ul-radius-pill);
  font-family: iranyekan;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ul-secondary-light);
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.booking-eyebrow-line {
  width: 20px;
  height: 1px;
  background: var(--ul-secondary-light);
  opacity: 0.7;
}

.booking-eyebrow i {
  font-size: 11px;
}

/* Title */
.booking-title {
  font-family: iranyekan;
  font-size: clamp(22px, 2.3vw, 36px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.5px;
  color: var(--white);
  margin: 0 0 20px;
}

.booking-title em {
  font-style: normal;
  color: var(--ul-secondary-light);
  position: relative;
  display: inline-block;
  padding: 0 4px;
}

.booking-title em::after {
  content: "";
  position: absolute;
  bottom: 4px;
  inset-inline: 0;
  height: 8px;
  background: rgba(61, 139, 255, 0.3);
  z-index: -1;
  border-radius: 4px;
}

/* Description */
.booking-desc {
  font-family: iranyekan;
  font-size: clamp(13.5px, 0.95vw, 15.5px);
  line-height: 2;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 30px;
  max-width: 520px;
}

/* =========================================
   INFO CARDS
========================================= */
.booking-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 32px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--ul-radius-lg);
  backdrop-filter: blur(10px);
}

.booking-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: var(--ul-radius-md);
  transition: background 0.3s ease;
}

.booking-info-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.booking-info-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: rgba(61, 139, 255, 0.15);
  border: 1px solid rgba(61, 139, 255, 0.25);
  border-radius: 12px;
  color: var(--ul-secondary-light);
  font-size: 15px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.booking-info-item:hover .booking-info-icon {
  background: var(--ul-secondary);
  color: var(--white);
  border-color: var(--ul-secondary);
  transform: rotate(-6deg);
}

.booking-info-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.booking-info-text span {
  font-family: iranyekan;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.booking-info-text strong {
  font-family: iranyekan;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
}

/* =========================================
   ACTIONS
========================================= */
.booking-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.booking-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--ul-radius-pill);
  font-family: iranyekan;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
  border: 1.5px solid transparent;
  cursor: pointer;
}

.booking-btn i {
  font-size: 13px;
}

.booking-btn-primary {
  background: var(--ul-secondary);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(13, 109, 253, 0.4);
}

.booking-btn-primary:hover {
  background: var(--white);
  color: var(--ul-primary);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(255, 255, 255, 0.25);
}

.booking-btn-arrow {
  transition: transform 0.3s ease;
  margin-inline-start: 4px;
}

.booking-btn-primary:hover .booking-btn-arrow {
  transform: translateX(-5px);
}

.booking-btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.booking-btn-ghost:hover {
  background: var(--white);
  color: var(--ul-primary);
  border-color: var(--white);
  transform: translateY(-3px);
}

/* =========================================
   VISUAL
========================================= */
.booking-visual {
  position: relative;
  z-index: 1;
}

.booking-frame {
  position: relative;
  border-radius: var(--ul-radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(
    160deg,
    var(--ul-primary-light),
    var(--ul-primary)
  );
  box-shadow:
    0 40px 80px rgba(2, 19, 33, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.5s ease;
}

.booking-frame:hover {
  transform: translateY(-6px);
}

.booking-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: contrast(1.02) saturate(1.05);
}

/* Corner Accents */
.booking-corner {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 2px solid var(--ul-secondary-light);
  z-index: 3;
  opacity: 0.8;
  transition: all 0.4s ease;
}

.booking-corner-tl {
  top: 16px;
  inset-inline-start: 16px;
  border-right: none;
  border-bottom: none;
  border-radius: 12px 0 0 0;
}

.booking-corner-br {
  bottom: 16px;
  inset-inline-end: 16px;
  border-left: none;
  border-top: none;
  border-radius: 0 0 12px 0;
}

.booking-frame:hover .booking-corner {
  width: 48px;
  height: 48px;
  opacity: 1;
}

/* Floating Card */
.booking-float {
  position: absolute;
  inset-inline-start: -20px;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--white);
  border-radius: var(--ul-radius-md);
  box-shadow: 0 20px 50px rgba(2, 19, 33, 0.3);
  z-index: 4;
  animation: bookingFloatCard 3s ease-in-out infinite;
}

@keyframes bookingFloatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.booking-float-icon {
  display: inline-grid !important;
  place-items: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--ul-secondary), var(--ul-primary));
  color: var(--white) !important;
  border-radius: 12px;
  font-size: 16px !important;
  flex-shrink: 0;
}

.booking-float strong {
  display: block;
  font-family: iranyekan;
  font-size: 13px;
  font-weight: 800;
  color: var(--ul-primary);
  line-height: 1.3;
  margin-bottom: 2px;
}

.booking-float span {
  display: block;
  font-family: iranyekan;
  font-size: 11px;
  color: var(--ul-text-muted);
}

/* =========================================
   RESPONSIVE
========================================= */

/* =========================================
   TABLET (992px)
========================================= */
@media (max-width: 991.98px) {
  .booking-premium {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 32px;
    text-align: center;
  }

  .booking-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .booking-title,
  .booking-desc {
    text-align: center;
  }

  .booking-desc {
    margin-inline: auto;
  }

  .booking-info {
    max-width: 560px;
    width: 100%;
  }

  .booking-actions {
    justify-content: center;
  }

  .booking-frame {
    max-width: 380px;
    margin: 0 auto;
  }

  .booking-float {
    inset-inline-start: 0;
    inset-inline-end: 0;
    margin-inline: auto;
    width: max-content;
  }
}

/* =========================================
   MOBILE (576px)
========================================= */
@media (max-width: 575.98px) {
  .booking-premium {
    padding: 30px 22px;
    border-radius: var(--ul-radius-lg);
    gap: 32px;
  }

  .booking-eyebrow {
    font-size: 10.5px;
    padding: 6px 14px;
    letter-spacing: 1.5px;
  }

  .booking-title {
    font-size: 20px;
    line-height: 1.45;
  }

  .booking-desc {
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 24px;
  }

  /* Info Cards — Stack */
  .booking-info {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px;
    margin-bottom: 24px;
  }

  .booking-info-item {
    padding: 10px;
  }

  .booking-info-icon {
    width: 36px;
    height: 36px;
    font-size: 14px;
    border-radius: 10px;
  }

  .booking-info-text strong {
    font-size: 13px;
  }

  /* Buttons — Stack */
  .booking-actions {
    flex-direction: column;
    width: 100%;
  }

  .booking-btn {
    width: 100%;
    justify-content: center;
    padding: 13px 22px;
    font-size: 13.5px;
  }

  /* Visual */
  .booking-frame {
    max-width: 100%;
    aspect-ratio: 4 / 5;
  }

  .booking-float {
    bottom: 20px;
    padding: 12px 16px;
  }

  .booking-float-icon {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .booking-float strong {
    font-size: 12px;
  }

  .booking-float span {
    font-size: 10.5px;
  }

  .booking-corner {
    width: 32px;
    height: 32px;
  }

  .booking-frame:hover .booking-corner {
    width: 36px;
    height: 36px;
  }
}

/* =========================================
   VERY SMALL (380px)
========================================= */
@media (max-width: 380px) {
  .booking-premium {
    padding: 24px 18px;
  }

  .booking-title {
    font-size: 18px;
  }

  .booking-btn {
    padding: 12px 18px;
    font-size: 13px;
  }
}

/* =========================================
   REDUCED MOTION
========================================= */
@media (prefers-reduced-motion: reduce) {
  .booking-glow,
  .booking-float,
  .booking-frame,
  .booking-btn,
  .booking-btn-arrow,
  .booking-corner {
    animation: none !important;
    transition: none !important;
  }
}

/* =========================================================
   CLINIC PAGE — ENHANCEMENTS
   (تکمیل CSS موجود، بدون تداخل)
========================================================= */

/* =========================================================
   HERO — Trust + Buttons
========================================================= */

.clinic-hero .ul-section-sub-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.clinic-hero .ul-section-sub-title i {
  font-size: 13px;
  color: var(--ul-secondary);
}

.clinic-hero-title {
  font-family: iranyekan;
  font-size: clamp(24px, 2.5vw, 42px);
  font-weight: 800;
  line-height: 1.5;
  color: var(--ul-primary);
  margin: 18px 0 22px;
}

.clinic-hero-desc {
  font-size: clamp(14px, 0.95vw, 16px);
  line-height: 2.1;
  color: var(--ul-text-muted);
  margin: 0 0 28px;
  max-width: 600px;
}

/* Trust chips */
.clinic-hero-trust {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.clinic-hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid var(--ul-border);
  border-radius: var(--ul-radius-pill);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ul-text);
  box-shadow: var(--ul-shadow-xs);
  transition: all var(--ul-transition);
}

.clinic-hero-trust li:hover {
  transform: translateY(-2px);
  border-color: var(--ul-secondary-light);
  box-shadow: var(--ul-shadow-sm);
}

.clinic-hero-trust li i {
  font-size: 13px;
  color: var(--ul-secondary);
}

/* Buttons */
.clinic-hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.clinic-hero-btns .ul-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--ul-radius-pill);
  font-size: 13.5px;
  font-weight: 700;
}

.clinic-hero-btns .ul-btn i {
  font-size: 13px;
}

.clinic-hero-btn-ghost {
  background: transparent !important;
  color: var(--ul-primary) !important;
  border: 1.5px solid var(--ul-border-dark);
}

.clinic-hero-btn-ghost:hover {
  background: var(--ul-primary) !important;
  color: var(--white) !important;
  border-color: var(--ul-primary);
}

/* Floating card enhancement */
.floating-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
}

.floating-card-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: var(--ul-secondary-soft);
  color: var(--ul-secondary);
  border-radius: 14px;
  font-size: 18px;
  flex-shrink: 0;
}

.floating-card strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--ul-primary);
  line-height: 1.3;
  margin-bottom: 2px;
}

.floating-card span {
  display: block;
  font-size: 12px;
  color: var(--ul-text-muted);
}

/* =========================================================
   FEATURES — Icon hover
========================================================= */

.clinic-feature-card .feature-icon {
  transition: all var(--ul-transition);
}

.clinic-feature-card:hover .feature-icon {
  background: var(--ul-secondary);
  color: var(--white);
  transform: rotate(-6deg) scale(1.08);
  box-shadow: 0 12px 30px rgba(13, 109, 253, 0.25);
}

.clinic-feature-card .feature-icon i {
  font-size: 26px;
  line-height: 1;
}

/* =========================================================
   EXPECT — Numbers
========================================================= */

.expect-num {
  min-width: 55px;
  height: 55px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--ul-primary), var(--ul-secondary));
  color: var(--white);
  border-radius: 50%;
  font-family: iranyekan;
  font-size: 15px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 10px 25px rgba(4, 28, 51, 0.2);
  transition: all var(--ul-transition);
}

.expect-item:hover .expect-num {
  transform: scale(1.08) rotate(-6deg);
  box-shadow: 0 15px 35px rgba(13, 109, 253, 0.35);
}

/* =========================================================
   PROCESS — Icon numbers
========================================================= */

.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--ul-secondary), var(--ul-primary));
  color: var(--white);
  font-size: 20px;
  transition: all var(--ul-transition);
}

.process-item:hover .process-number {
  transform: scale(1.1);
  box-shadow: 0 15px 35px rgba(13, 109, 253, 0.35);
}

/* =========================================================
   BOOKING — Hours + buttons
========================================================= */

.booking-hours {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0 28px;
}

.booking-hours > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.88);
}

.booking-hours > span i {
  color: var(--ul-secondary-light);
  font-size: 14px;
}

.booking-hours strong {
  color: var(--white);
  font-weight: 800;
}

.booking-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.booking-buttons .ul-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--ul-radius-pill);
  font-size: 13.5px;
  font-weight: 700;
}

.booking-buttons .ul-btn i {
  font-size: 13px;
}

.booking-about-btn {
  background: var(--white) !important;
  color: var(--ul-primary) !important;
}

.booking-about-btn:hover {
  background: var(--ul-secondary) !important;
  color: var(--white) !important;
}

.booking-about-btn-ghost {
  background: transparent !important;
  color: var(--white) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.booking-about-btn-ghost:hover {
  background: var(--white) !important;
  color: var(--ul-primary) !important;
  border-color: var(--white);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {
  .clinic-hero-trust {
    justify-content: center;
  }

  .clinic-hero-btns {
    justify-content: center;
  }

  .clinic-hero-desc {
    margin-inline: auto;
    text-align: center;
  }

  .clinic-hero-title,
  .clinic-hero .ul-section-sub-title {
    text-align: center;
    display: inline-flex;
  }

  .clinic-hero .ul-section-sub-title {
    margin-inline: auto;
  }
}

@media (max-width: 575px) {
  .clinic-hero-trust {
    gap: 8px;
  }

  .clinic-hero-trust li {
    padding: 6px 12px;
    font-size: 11.5px;
  }

  .clinic-hero-btns {
    flex-direction: column;
  }

  .clinic-hero-btns .ul-btn {
    width: 100%;
    justify-content: center;
  }

  .booking-buttons {
    flex-direction: column;
  }

  .booking-buttons .ul-btn {
    width: 100%;
    justify-content: center;
  }

  .floating-card {
    padding: 14px 18px;
  }

  .floating-card-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .floating-card strong {
    font-size: 13.5px;
  }

  .floating-card span {
    font-size: 11px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .clinic-hero-trust li,
  .clinic-feature-card .feature-icon,
  .expect-num,
  .process-number,
  .floating-card-icon {
    transition: none !important;
  }
}

/* ==========================================================
   GLOBAL BREADCRUMB
========================================================== */

.ul-bcrumb {
  position: relative;
  padding: clamp(45px, 4.2vw, 75px) 0 clamp(38px, 3.47vw, 60px);
  background: var(--ul-bg-soft);
  border-bottom: 1px solid var(--ul-border);
  overflow: hidden;
}

/* Soft radial glow */
.ul-bcrumb::after {
  content: "";
  position: absolute;
  top: -120px;
  inset-inline-end: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(
    circle,
    rgba(13, 109, 253, 0.07) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

/* =========================================================
   WRAPPER — Flex column, centered
========================================================= */
.ul-bcrumb-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* =========================================================
   ICON BOX
========================================================= */
.ul-bcrumb-icon {
  display: inline-grid;
  place-items: center;
  width: clamp(44px, 3.15vw, 56px);
  height: clamp(44px, 3.15vw, 56px);
  border-radius: var(--ul-radius-md);
  background: var(--ul-secondary-soft);
  color: var(--ul-secondary);
  margin-bottom: clamp(14px, 1.16vw, 20px);
  box-shadow:
    0 6px 20px rgba(13, 109, 253, 0.12),
    inset 0 0 0 1px rgba(13, 109, 253, 0.08);
  transition:
    transform var(--ul-transition),
    box-shadow var(--ul-transition);
}

.ul-bcrumb-icon i {
  font-size: clamp(18px, 1.26vw, 22px);
  line-height: 1;
}

.ul-bcrumb-icon:hover {
  transform: translateY(-3px) rotate(-4deg);
  box-shadow:
    0 10px 28px rgba(13, 109, 253, 0.18),
    inset 0 0 0 1px rgba(13, 109, 253, 0.14);
}

/* =========================================================
   TITLE
========================================================= */
.ul-bcrumb-title {
  font-family: iranyekan;
  font-size: clamp(22px, 2.1vw, 38px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.3px;
  color: var(--ul-primary);
  margin: 0 0 clamp(6px, 0.53vw, 10px);
}

/* =========================================================
   DESCRIPTION
========================================================= */
.ul-bcrumb-desc {
  font-family: iranyekan;
  font-size: clamp(13px, 0.84vw, 16px);
  font-weight: 400;
  line-height: 1.9;
  color: var(--ul-text-muted);
  max-width: 580px;
  margin: 0 0 clamp(14px, 1.26vw, 22px);
}

/* =========================================================
   NAV PILL
========================================================= */
.ul-bcrumb-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 0.53vw, 10px);
  padding: clamp(6px, 0.53vw, 10px) clamp(14px, 1.26vw, 22px);
  margin: 0;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--ul-border);
  border-radius: var(--ul-radius-pill);
  box-shadow: var(--ul-shadow-xs);
}

.ul-bcrumb-nav li {
  display: inline-flex;
  align-items: center;
  font-family: iranyekan;
  font-size: clamp(12px, 0.84vw, 14px);
  font-weight: 500;
  color: var(--ul-text-muted);
}

/* ---------- Links ---------- */
.ul-bcrumb-nav li a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ul-text-muted);
  text-decoration: none;
  position: relative;
  transition: color var(--ul-transition);
}

.ul-bcrumb-nav li a i {
  font-size: 11px;
  opacity: 0.85;
  transition: transform var(--ul-transition);
}

/* Underline animation */
.ul-bcrumb-nav li a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  inset-inline: 0;
  height: 1px;
  background: var(--ul-secondary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--ul-transition);
}

.ul-bcrumb-nav li a:hover {
  color: var(--ul-secondary);
}

.ul-bcrumb-nav li a:hover i {
  transform: translateY(-1px);
}

.ul-bcrumb-nav li a:hover::after {
  transform: scaleX(1);
}

/* ---------- Separator ---------- */
.ul-bcrumb-sep {
  color: var(--ul-text-light);
  opacity: 0.55;
  pointer-events: none;
}

.ul-bcrumb-sep i {
  font-size: 9px;
}

/* ---------- Active item ---------- */
.ul-bcrumb-nav li.active {
  position: relative;
  padding-inline-start: clamp(10px, 0.84vw, 14px);
  color: var(--ul-primary);
  font-weight: 700;
}

/* Accent dot before active */
.ul-bcrumb-nav li.active::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--ul-accent);
  border-radius: 50%;
  transform: translateY(-50%);
}

/* =========================================================
   DARK VARIANT (optional)
========================================================= */
.ul-bcrumb.is-dark {
  background: var(--ul-gradient);
  border-bottom: none;
}

.ul-bcrumb.is-dark::before {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 100%
  );
}

.ul-bcrumb.is-dark::after {
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
}

.ul-bcrumb.is-dark .ul-bcrumb-title {
  color: var(--white);
}

.ul-bcrumb.is-dark .ul-bcrumb-desc {
  color: rgba(255, 255, 255, 0.85);
}

.ul-bcrumb.is-dark .ul-bcrumb-icon {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  box-shadow:
    0 8px 24px rgba(2, 19, 33, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.ul-bcrumb.is-dark .ul-bcrumb-nav {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 28px rgba(2, 19, 33, 0.22);
}

.ul-bcrumb.is-dark .ul-bcrumb-nav li,
.ul-bcrumb.is-dark .ul-bcrumb-nav li a {
  color: rgba(255, 255, 255, 0.9);
}

.ul-bcrumb.is-dark .ul-bcrumb-nav li a:hover {
  color: var(--white);
}

.ul-bcrumb.is-dark .ul-bcrumb-nav li a::after {
  background: var(--ul-accent);
}

.ul-bcrumb.is-dark .ul-bcrumb-sep {
  color: rgba(255, 255, 255, 0.6);
}

.ul-bcrumb.is-dark .ul-bcrumb-nav li.active {
  color: var(--white);
}

.ul-bcrumb.is-dark .ul-bcrumb-nav li.active::before {
  background: var(--ul-accent);
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 768px) {
  .ul-bcrumb {
    padding: clamp(35px, 8vw, 50px) 0 clamp(28px, 6vw, 40px);
  }

  .ul-bcrumb-icon {
    width: 42px;
    height: 42px;
  }

  .ul-bcrumb-icon i {
    font-size: 17px;
  }

  .ul-bcrumb-title {
    font-size: clamp(20px, 5.5vw, 26px);
  }

  .ul-bcrumb-desc {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .ul-bcrumb-nav {
    padding: 6px 12px;
    gap: 5px;
  }

  .ul-bcrumb-nav li {
    font-size: 12px;
  }
}

/* =========================================================
   REDUCED MOTION
========================================================= */
@media (prefers-reduced-motion: reduce) {
  .ul-bcrumb-icon,
  .ul-bcrumb-icon i,
  .ul-bcrumb-nav li a,
  .ul-bcrumb-nav li a i,
  .ul-bcrumb-nav li a::after {
    transition: none !important;
  }
}

/* ==========================================================
   BLOG LIST PAGE
========================================================== */

.blog-page {
  background: #ffffff;
}

/* ==========================================================
   BLOG SECTION
========================================================== */

.blog-list-section {
  padding: 85px 0;
}

.blog-list-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    350px;

  gap: 45px;

  align-items: start;
}

/* ==========================================================
   MAIN
========================================================== */

.blog-list-main {
  min-width: 0;
}

/* ==========================================================
   HEADING
========================================================== */

.blog-list-heading {
  display: flex;

  align-items: flex-end;

  justify-content: space-between;

  gap: 40px;

  margin-bottom: 38px;

  padding-bottom: 25px;

  border-bottom: 1px solid var(--ul-border-light);
}

.blog-section-eyebrow {
  display: block;

  margin-bottom: 8px;

  color: var(--ul-secondary);

  font-size: 14px;

  font-weight: 800;
}

.blog-list-heading h2 {
  margin: 0;

  color: var(--ul-primary);

  font-size: 30px;

  font-weight: 800;

  line-height: 1.5;
}

.blog-list-heading p {
  max-width: 390px;

  margin: 0;

  color: var(--ul-text-muted);

  font-size: 15px;

  line-height: 2;
}

/* ==========================================================
   POST LIST
========================================================== */

.blog-post-list {
  display: flex;

  flex-direction: column;

  gap: 28px;
}

/* ==========================================================
   POST CARD
========================================================== */

.blog-post-card {
  display: grid;

  grid-template-columns: 310px minmax(0, 1fr);

  min-height: 300px;

  overflow: hidden;

  background: #ffffff;

  border: 1px solid var(--ul-border-light);

  border-radius: 24px;

  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.055);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.blog-post-card:hover {
  transform: translateY(-4px);

  border-color: rgba(13, 109, 253, 0.18);

  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.1);
}

/* ==========================================================
   IMAGE
========================================================== */

.blog-post-image {
  position: relative;

  display: block;

  min-height: 300px;

  overflow: hidden;

  background: #eef3f6;
}

.blog-post-image img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.blog-post-card:hover .blog-post-image img {
  transform: scale(1.045);
}

/* ==========================================================
   CATEGORY
========================================================== */

.blog-post-category {
  position: absolute;

  top: 18px;
  right: 18px;

  display: inline-flex;

  align-items: center;

  padding: 7px 13px;

  color: #ffffff;

  background: rgba(4, 28, 51, 0.88);

  border-radius: 50px;

  font-size: 12px;

  font-weight: 700;

  backdrop-filter: blur(8px);
}

/* ==========================================================
   CONTENT
========================================================== */

.blog-post-content {
  display: flex;

  flex-direction: column;

  padding: 30px 32px;
}

/* ==========================================================
   META
========================================================== */

.blog-post-meta {
  display: flex;

  align-items: center;

  flex-wrap: wrap;

  gap: 18px;

  margin-bottom: 17px;
}

.blog-post-meta span {
  display: inline-flex;

  align-items: center;

  gap: 7px;

  color: var(--ul-text-light);

  font-size: 12px;

  font-weight: 600;
}

.blog-post-meta i {
  color: var(--ul-secondary);

  font-size: 13px;
}

/* ==========================================================
   TITLE
========================================================== */

.blog-post-title {
  margin: 0 0 14px;

  font-size: 22px;

  font-weight: 800;

  line-height: 1.65;
}

.blog-post-title a {
  color: var(--ul-primary);

  text-decoration: none;

  transition: color 0.25s ease;
}

.blog-post-title a:hover {
  color: var(--ul-secondary);
}

/* ==========================================================
   EXCERPT
========================================================== */

.blog-post-excerpt {
  display: -webkit-box;

  margin: 0;

  overflow: hidden;

  color: var(--ul-text);

  font-size: 15px;

  line-height: 2;

  -webkit-line-clamp: 3;

  -webkit-box-orient: vertical;
}

/* ==========================================================
   FOOTER
========================================================== */

.blog-post-footer {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

  margin-top: auto;

  padding-top: 25px;
}

/* ==========================================================
   READ MORE
========================================================== */

.blog-read-more {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  color: var(--ul-secondary);

  text-decoration: none;

  font-size: 14px;

  font-weight: 800;

  transition: gap 0.25s ease;
}

.blog-read-more:hover {
  gap: 15px;

  color: var(--ul-primary);
}

.blog-read-more i {
  font-size: 15px;
}

/* ==========================================================
   BOOK ICON
========================================================== */

.blog-read-more-icon {
  width: 42px;
  height: 42px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  color: var(--ul-secondary);

  background: #f1f6ff;

  border-radius: 13px;

  font-size: 15px;
}

/* ==========================================================
   SIDEBAR
========================================================== */

.blog-list-sidebar {
  min-width: 0;
}

.blog-sidebar-inner {
  display: flex;

  flex-direction: column;

  gap: 24px;
}

/*
    توجه:
    sticky عمداً استفاده نشده تا کاربر بتواند
    تمام ویجت‌های Sidebar را به ترتیب ببیند.
*/

/* ==========================================================
   SIDEBAR WIDGET
========================================================== */

.blog-list-sidebar .sidebar-widget {
  margin-bottom: 0;

  padding: 25px;

  background: #ffffff;

  border: 1px solid var(--ul-border-light);

  border-radius: 22px;

  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.045);
}

/* ==========================================================
   EMPTY STATE
========================================================== */

.blog-empty-state {
  padding: 80px 30px;

  text-align: center;

  background: #f8fafc;

  border: 1px solid var(--ul-border-light);

  border-radius: 24px;
}

.blog-empty-icon {
  width: 70px;
  height: 70px;

  display: flex;

  align-items: center;
  justify-content: center;

  margin: 0 auto 20px;

  color: var(--ul-secondary);

  background: #edf4ff;

  border-radius: 20px;

  font-size: 27px;
}

.blog-empty-state h2 {
  margin-bottom: 8px;

  color: var(--ul-primary);

  font-size: 22px;

  font-weight: 800;
}

.blog-empty-state p {
  margin: 0;

  color: var(--ul-text-muted);

  font-size: 15px;
}

/* ==========================================================
   PAGINATION
========================================================== */

.blog-pagination {
  display: flex;

  justify-content: center;

  margin-top: 45px;
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 1200px) {
  .blog-list-layout {
    grid-template-columns:
      minmax(0, 1fr)
      320px;

    gap: 32px;
  }

  .blog-post-card {
    grid-template-columns: 270px minmax(0, 1fr);
  }

  .blog-post-content {
    padding: 26px;
  }
}

/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 992px) {
  .blog-list-section {
    padding: 65px 0;
  }

  .blog-list-layout {
    grid-template-columns: 1fr;

    gap: 45px;
  }

  .blog-list-sidebar {
    order: 2;
  }

  .blog-list-main {
    order: 1;
  }

  .blog-sidebar-inner {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 20px;
  }

  .blog-list-heading {
    align-items: flex-start;

    flex-direction: column;

    gap: 12px;
  }

  .blog-list-heading p {
    max-width: 600px;
  }
}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 700px) {
  .blog-list-section {
    padding: 50px 0;
  }

  .blog-post-card {
    display: block;
  }

  .blog-post-image {
    height: 240px;

    min-height: 240px;
  }

  .blog-post-content {
    padding: 24px 22px;
  }

  .blog-post-title {
    font-size: 19px;

    line-height: 1.7;
  }

  .blog-post-excerpt {
    font-size: 14px;

    line-height: 2;
  }

  .blog-post-meta {
    gap: 10px 15px;
  }

  .blog-list-heading h2 {
    font-size: 24px;
  }

  .blog-sidebar-inner {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 480px) {
  .blog-post-image {
    height: 210px;

    min-height: 210px;
  }

  .blog-post-content {
    padding: 22px 18px;
  }

  .blog-post-meta span {
    font-size: 11px;
  }

  .blog-post-footer {
    padding-top: 20px;
  }
}

/*==================================================
BLOG HERO
==================================================*/

.blog-hero {
  position: relative;

  overflow: hidden;

  padding: 35px 0;
}

.blog-hero-wrapper {
  position: relative;

  background: #fff;

  border-radius: 38px;

  padding: 60px;

  overflow: hidden;

  border: 1px solid #edf2f7;

  box-shadow: 0 35px 90px rgba(20, 35, 60, 0.08);
}

.blog-hero-bg {
  position: absolute;

  inset: 0;

  background:
    radial-gradient(
      circle at top left,
      rgba(60, 107, 124, 0.1),
      transparent 35%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(216, 162, 74, 0.1),
      transparent 30%
    );

  pointer-events: none;
}

/*============================*/

.blog-breadcrumb {
  display: flex;

  align-items: center;

  flex-wrap: wrap;

  gap: 12px;

  margin-bottom: 30px;

  position: relative;

  z-index: 2;
}

.blog-breadcrumb a {
  color: #607086;

  text-decoration: none;

  transition: 0.3s;

  font-size: 0.95rem;
}

.blog-breadcrumb a:hover {
  color: var(--ul-secondary);
}

.blog-breadcrumb span {
  color: #202f3e;

  font-weight: 600;
}

.blog-breadcrumb i {
  color: #bcc8d4;

  font-size: 0.8rem;
}

/*============================*/

.blog-category {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 10px 20px;

  border-radius: 999px;

  background: #f4f8fa;

  color: var(--ul-secondary);

  text-decoration: none;

  font-size: 0.9rem;

  margin-bottom: 25px;

  transition: 0.3s;
}

.blog-category:hover {
  background: var(--ul-secondary);

  color: var(--white);
}

/*============================*/

.blog-title {
  font-size: clamp(2rem, 4vw, 3.3rem);

  line-height: 1.55;

  font-weight: 800;

  color: #203040;

  max-width: 900px;

  margin-bottom: 25px;
}

.blog-description {
  font-size: 1.15rem;

  color: #66778a;

  line-height: 2.2;

  max-width: 850px;

  margin-bottom: 45px;
}

/*============================*/

.blog-meta {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

  gap: 20px;

  margin-bottom: 50px;
}

.meta-item {
  display: flex;

  align-items: center;

  gap: 18px;

  background: #f8fafc;

  border: 1px solid #edf2f7;

  border-radius: 18px;

  padding: 18px 22px;

  transition: 0.35s;
}

.meta-item:hover {
  transform: translateY(-5px);

  background: #fff;

  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.06);
}

.meta-icon {
  width: 58px;

  height: 58px;

  border-radius: 18px;

  background: var(--ul-secondary);

  display: flex;

  align-items: center;

  justify-content: center;

  color: #fff;

  font-size: 1.3rem;

  flex-shrink: 0;
}

.meta-item small {
  display: block;

  color: #7d8b99;

  margin-bottom: 6px;
}

.meta-item strong {
  display: block;

  color: #203040;

  font-size: 1.02rem;
}

/*============================*/

.blog-cover {
  border-radius: 30px;

  overflow: hidden;

  position: relative;
}

.blog-cover img {
  width: 100%;

  display: block;

  border-radius: 30px;

  transition: 1s;
}

.blog-cover:hover img {
  transform: scale(1.03);
}

/*============================*/

@media (max-width: 992px) {
  .blog-hero {
    padding: 60px 0;
  }

  .blog-hero-wrapper {
    padding: 35px;

    border-radius: 24px;
  }

  .blog-title {
    font-size: 2rem;
  }

  .blog-description {
    font-size: 1rem;

    line-height: 2;
  }
}

@media (max-width: 576px) {
  .blog-hero-wrapper {
    padding: 24px;
  }

  .blog-meta {
    grid-template-columns: 1fr;
  }

  .blog-title {
    font-size: 1.65rem;
  }
}

/*==================================================
TABLE OF CONTENTS
==================================================*/

.blog-toc-section {
  margin-bottom: 80px;
}

.blog-toc-card {
  background: #fff;

  border: 1px solid #edf2f7;

  border-radius: 30px;

  overflow: hidden;

  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.06);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.blog-toc-card:hover {
  transform: translateY(-4px);

  box-shadow: 0 35px 90px rgba(15, 23, 42, 0.1);
}

/* ================================================== */
/* Header */

.blog-toc-toggle {
  width: 100%;

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 32px 36px;

  border: none;

  cursor: pointer;

  text-align: right;

  background: linear-gradient(
    135deg,
    rgba(60, 107, 124, 0.08),
    rgba(95, 142, 158, 0.03)
  );
}

.blog-toc-title {
  display: flex;

  align-items: center;

  gap: 20px;
}

.blog-toc-icon {
  width: 64px;

  height: 64px;

  border-radius: 20px;

  background: linear-gradient(135deg, var(--ul-primary), var(--ul-secondary));

  display: flex;

  align-items: center;

  justify-content: center;

  color: #fff;

  font-size: 24px;

  flex-shrink: 0;

  box-shadow: 0 15px 35px rgba(60, 107, 124, 0.28);
}

.blog-toc-title h2 {
  margin: 0;

  font-size: 1.45rem;

  font-weight: 800;

  color: #182433;
}

.blog-toc-title span {
  display: block;

  margin-top: 6px;

  font-size: 0.95rem;

  color: #6b7280;
}

/* ================================================== */
/* Collapse Button */

.blog-toc-arrow {
  width: 48px;

  height: 48px;

  border-radius: 16px;

  display: flex;

  align-items: center;

  justify-content: center;

  background: #fff;

  color: var(--ul-secondary);

  font-size: 18px;

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);

  transition: 0.35s;
}

.blog-toc-card.closed .blog-toc-arrow {
  transform: rotate(-180deg);
}

/* ================================================== */
/* Body */

.blog-toc-body {
  border-top: 1px solid #edf2f7;

  padding: 24px 30px 30px;

  overflow: hidden;

  max-height: 1500px;

  opacity: 1;

  transition:
    max-height 0.45s ease,
    opacity 0.35s ease,
    padding 0.35s ease;
}

.blog-toc-card.closed .blog-toc-body {
  max-height: 0;

  opacity: 0;

  padding-top: 0;

  padding-bottom: 0;
}

/* ================================================== */
/* Navigation */

.blog-toc-nav ul {
  list-style: none;

  padding: 0;

  margin: 0;
}

.blog-toc-nav li {
  position: relative;

  margin: 5px 0;
}

/* ================================================== */
/* Links */

.blog-toc-nav a {
  display: flex;

  align-items: center;

  gap: 16px;

  text-decoration: none;

  color: #334155;

  padding: 13px 18px;

  border-radius: 16px;

  transition: all 0.28s ease;

  font-weight: 600;

  line-height: 1.9;

  position: relative;
}

.blog-toc-nav a:hover {
  background: #f8fafc;

  color: var(--ul-secondary);

  transform: translateX(-5px);

  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
}

/* ================================================== */
/* Numbers */

.blog-toc-number {
  min-width: 44px;

  height: 36px;

  padding: 0 12px;

  border-radius: 12px;

  display: flex;

  align-items: center;

  justify-content: center;

  flex-shrink: 0;

  background: rgba(60, 107, 124, 0.08);

  color: var(--ul-secondary) !important;

  font-size: 0.82rem;

  font-weight: 700;

  transition: 0.3s;
}

.blog-toc-nav a:hover .blog-toc-number {
  background: var(--ul-secondary) !important;

  color: var(--white) !important;
}

/* ================================================== */
/* Level 2 */

.blog-toc-nav > ul > li > a {
  font-size: 1rem;

  font-weight: 700;
}

/* ================================================== */
/* Level 3 */

.blog-toc-sub {
  position: relative;

  margin: 4px 0;

  padding-right: 42px;
}

/* خط عمودی */

.blog-toc-sub::before {
  content: "";

  position: absolute;

  right: 18px;

  top: 0;

  bottom: 0;

  width: 2px;

  background: #e7edf5;

  border-radius: 20px;
}

/* خود لینک */

.blog-toc-sub a {
  font-size: 0.95rem;

  font-weight: 500;

  color: #64748b;

  padding-top: 10px;

  padding-bottom: 10px;
}

/* Hover */

.blog-toc-sub a:hover {
  color: var(--ul-secondary);
}

/* شماره H3 */

.blog-toc-sub .blog-toc-number {
  min-width: 38px;

  height: 30px;

  border-radius: 10px;

  font-size: 0.72rem;

  background: #f7f9fc;

  color: #64748b;
}

.blog-toc-sub a:hover .blog-toc-number {
  background: var(--ul-primary);

  color: #fff;
}

.blog-toc-sub + .blog-toc-sub {
  margin-top: 2px;
}

.blog-toc-nav > ul > li > .blog-toc-sub:first-of-type {
  margin-top: 6px;
}

.blog-toc-sub:last-child::before {
  bottom: 14px;
}

/* ================================================== */
/* Animation */

.blog-toc-body {
  transform-origin: top;
}

.blog-toc-card:not(.closed) .blog-toc-body {
  animation: tocFade 0.35s ease;
}

@keyframes tocFade {
  from {
    opacity: 0;

    transform: translateY(-8px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

/* ================================================== */
/* Accessibility */

.blog-toc-toggle:focus-visible {
  outline: 3px solid rgba(60, 107, 124, 0.25);

  outline-offset: 4px;
}

.blog-toc-nav a:focus-visible {
  outline: 2px solid rgba(60, 107, 124, 0.2);

  outline-offset: 3px;
}

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

.blog-toc-body {
  scrollbar-width: thin;

  scrollbar-color: #c7d5df transparent;
}

.blog-toc-body::-webkit-scrollbar {
  width: 8px;
}

.blog-toc-body::-webkit-scrollbar-track {
  background: transparent;
}

.blog-toc-body::-webkit-scrollbar-thumb {
  background: #cfd9e2;

  border-radius: 30px;
}

.blog-toc-body::-webkit-scrollbar-thumb:hover {
  background: #aebfce;
}

/*================================================== */
/* Tablet */

@media (max-width: 992px) {
  .blog-toc-section {
    margin: 60px 0;
  }

  .blog-toc-toggle {
    padding: 24px;
  }

  .blog-toc-body {
    padding: 20px;
  }

  .blog-toc-title {
    gap: 16px;
  }

  .blog-toc-title h2 {
    font-size: 1.25rem;
  }

  .blog-toc-icon {
    width: 56px;

    height: 56px;

    font-size: 20px;
  }

  .blog-toc-arrow {
    width: 44px;

    height: 44px;
  }
}

/*================================================== */
/* Mobile */

@media (max-width: 576px) {
  .blog-toc-section {
    margin: 35px 0;
  }

  .blog-toc-card {
    border-radius: 18px;
  }

  .blog-toc-toggle {
    padding: 18px 16px;
  }

  .blog-toc-title {
    gap: 12px;
  }

  .blog-toc-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    font-size: 17px;
  }

  .blog-toc-title h2 {
    font-size: 1.05rem;
  }

  .blog-toc-title span {
    margin-top: 3px;
    font-size: 0.78rem;
  }

  .blog-toc-arrow {
    font-size: 15px;
  }

  .blog-toc-body {
    padding: 18px 14px;
  }

  .blog-toc-nav a {
    gap: 10px;
    padding: 9px 8px;
    font-size: 0.88rem;
    line-height: 1.8;
  }

  .blog-toc-number {
    width: 31px;
    height: 31px;
    font-size: 0.78rem;
  }

  .blog-toc-sub {
    padding-right: 25px;
  }

  .blog-toc-sub a {
    font-size: 0.84rem;
  }

  .blog-toc-sub .blog-toc-number {
    font-size: 0.72rem;
  }
}

/*====================================================

BLOG ARTICLE

====================================================*/

.blog-article {
  --article-content-width: 100%;

  width: var(--article-content-width);
  max-width: 100%;

  color: var(--ul-text);

  font-size: 18px;
  font-weight: 400;

  line-height: 2.15;

  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* ==========================================================
   ARTICLE DIRECT CHILDREN
========================================================== */

.blog-article > * {
  margin-bottom: 28px;
}

.blog-article > *:last-child {
  margin-bottom: 0;
}

/* ==========================================================
   HEADINGS — TOC OFFSET
========================================================== */

.blog-article h2,
.blog-article h3,
.blog-article h4 {
  scroll-margin-top: 120px;
}

/* ==========================================================
   PARAGRAPH
========================================================== */

.blog-article p {
  margin-top: 0;
  margin-bottom: 26px;

  color: var(--ul-text);

  font-size: 1em;
  font-weight: 400;

  line-height: 2.15;

  text-align: justify;
}

/* Prevent excessive spacing */

.blog-article p:last-child {
  margin-bottom: 0;
}

/* ==========================================================
   H2 — MAIN ARTICLE SECTIONS
========================================================== */

.blog-article h2 {
  position: relative;

  margin-top: 72px;
  margin-bottom: 28px;

  padding: 18px 24px 18px 0;

  color: var(--ul-primary);

  font-size: 2rem;
  font-weight: 800;

  line-height: 1.65;
}

/*
   Main blue accent
*/

.blog-article h2::before {
  content: "";

  position: absolute;

  right: 0;
  top: 18px;
  bottom: 18px;

  width: 5px;

  border-radius: var(--ul-radius-pill);

  background: linear-gradient(
    180deg,
    var(--ul-secondary),
    var(--ul-secondary-light)
  );
}

/*
   Very subtle background for major sections
*/

.blog-article h2::after {
  content: "";

  position: absolute;

  inset: 0;

  z-index: -1;

  border-radius: var(--ul-radius-md);

  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--ul-secondary-soft) 100%
  );

  opacity: 0.55;
}

/* ==========================================================
   H3 — SUB SECTIONS
========================================================== */

.blog-article h3 {
  position: relative;

  margin-top: 52px;
  margin-bottom: 20px;

  padding-right: 17px;

  color: var(--ul-primary);

  font-size: 1.5rem;
  font-weight: 750;

  line-height: 1.7;
}

/*
   Small accent
*/

.blog-article h3::before {
  content: "";

  position: absolute;

  right: 0;

  top: 0.55em;

  width: 5px;
  height: 1.05em;

  border-radius: var(--ul-radius-pill);

  background: var(--ul-secondary);
}

/* ==========================================================
   H4
========================================================== */

.blog-article h4 {
  margin-top: 40px;
  margin-bottom: 16px;

  color: var(--ul-text-dark);

  font-size: 1.25rem;
  font-weight: 700;

  line-height: 1.75;
}

/* ==========================================================
   STRONG / B
========================================================== */

.blog-article strong,
.blog-article b {
  color: var(--ul-text-dark);

  font-weight: 700;
}

/* ==========================================================
   EMPHASIS
========================================================== */

.blog-article em,
.blog-article i {
  color: var(--ul-text);
}

/* ==========================================================
   LINKS
========================================================== */

.blog-article a {
  color: var(--ul-secondary);

  text-decoration: none;

  border-bottom: 1px dashed var(--ul-secondary-light);

  transition:
    color var(--ul-transition),
    border-color var(--ul-transition);
}

.blog-article a:hover {
  color: var(--ul-primary);

  border-color: var(--ul-primary);
}

/* ==========================================================
   UNORDERED LIST
========================================================== */

.blog-article ul {
  margin: 32px 0;

  padding: 0;

  list-style: none;
}

.blog-article ul li {
  position: relative;

  margin-bottom: 15px;

  padding-right: 31px;

  color: var(--ul-text);

  line-height: 2;
}

.blog-article ul li:last-child {
  margin-bottom: 0;
}

/*
   Bullet
*/

.blog-article ul li::before {
  content: "";

  position: absolute;

  right: 1px;
  top: 0.82em;

  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: var(--ul-secondary);

  box-shadow: 0 0 0 5px var(--ul-secondary-soft);
}

/* ==========================================================
   ORDERED LIST
========================================================== */

.blog-article ol {
  margin: 32px 0;

  padding-right: 30px;
}

.blog-article ol li {
  margin-bottom: 14px;

  padding-right: 6px;

  color: var(--ul-text);

  line-height: 2;
}

.blog-article ol li::marker {
  color: var(--ul-secondary);

  font-weight: 700;
}

/* ==========================================================
   IMAGES
========================================================== */

.blog-article img {
  display: block;

  width: 100%;
  max-width: 100%;

  height: auto;

  margin: 44px auto;

  border-radius: var(--ul-radius-lg);

  box-shadow: var(--ul-shadow-lg);
}

/*
   Prevent images inside links from getting weird borders
*/

.blog-article a img {
  border: 0;
}

/* ==========================================================
   FIGURE
========================================================== */

.blog-article figure {
  margin: 48px 0;
}

.blog-article figure img {
  margin: 0 auto;
}

.blog-article figcaption {
  margin-top: 14px;

  padding: 0 12px;

  color: var(--ul-text);

  font-size: 0.9rem;

  line-height: 1.8;

  text-align: center;
}

/* ==========================================================
   BLOCKQUOTE
========================================================== */

.blog-article blockquote {
  position: relative;

  margin: 52px 0;

  padding: 32px 38px 32px 55px;

  overflow: hidden;

  border-right: 5px solid var(--ul-secondary);

  border-radius: var(--ul-radius-lg);

  background: linear-gradient(
    135deg,
    var(--ul-bg-soft) 0%,
    var(--ul-secondary-soft) 100%
  );

  box-shadow: var(--ul-shadow-sm);
}

/*
   Quote decoration
*/

.blog-article blockquote::before {
  content: "\201D";

  position: absolute;

  left: 22px;
  top: 4px;

  color: rgba(13, 109, 253, 0.1);

  font-family: Georgia, serif;

  font-size: 86px;

  line-height: 1;

  pointer-events: none;
}

/*
   Quote content
*/

.blog-article blockquote p {
  position: relative;

  z-index: 1;

  margin: 0;

  color: var(--ul-primary);

  font-size: 1.1rem;

  font-weight: 600;

  line-height: 2;
}

/* ==========================================================
   TABLE WRAPPER SUPPORT
========================================================== */

.blog-article .table-responsive {
  width: 100%;

  margin: 45px 0;

  overflow-x: auto;

  -webkit-overflow-scrolling: touch;
}

/* ==========================================================
   TABLE
========================================================== */

.blog-article table {
  width: 100%;

  margin: 45px 0;

  border: 1px solid var(--ul-border);

  border-spacing: 0;

  border-collapse: separate;

  border-radius: var(--ul-radius-md);

  overflow: hidden;

  background: var(--white);
}

/* Header */

.blog-article table thead {
  background: linear-gradient(
    135deg,
    var(--ul-primary),
    var(--ul-primary-light)
  );

  color: var(--white);
}

.blog-article table th {
  padding: 16px 18px;

  color: var(--white);

  font-size: 0.95rem;

  font-weight: 700;

  line-height: 1.7;

  text-align: right;

  white-space: nowrap;
}

/* Cells */

.blog-article table td {
  padding: 15px 18px;

  color: var(--ul-text);

  font-size: 0.95rem;

  line-height: 1.8;

  border-bottom: 1px solid var(--ul-border-light);
}

/* Last row */

.blog-article table tbody tr:last-child td {
  border-bottom: 0;
}

/* Zebra */

.blog-article table tbody tr:nth-child(even) {
  background: var(--ul-bg-soft);
}

/* Hover */

.blog-article table tbody tr {
  transition: background var(--ul-transition);
}

.blog-article table tbody tr:hover {
  background: var(--ul-secondary-soft);
}

/* ==========================================================
   HORIZONTAL RULE
========================================================== */

.blog-article hr {
  height: 1px;

  margin: 55px 0;

  border: 0;

  background: linear-gradient(
    90deg,
    transparent,
    var(--ul-border),
    transparent
  );
}

/* ==========================================================
   CODE
========================================================== */

.blog-article code {
  padding: 3px 7px;

  border-radius: 6px;

  background: var(--ul-bg-muted);

  color: var(--ul-primary);

  font-size: 0.9em;
}

.blog-article pre {
  margin: 40px 0;

  padding: 24px;

  overflow-x: auto;

  border-radius: var(--ul-radius-md);

  background: var(--ul-primary);

  color: var(--white);

  line-height: 1.8;
}

.blog-article pre code {
  padding: 0;

  background: transparent;

  color: inherit;
}

/* ==========================================================
   SUP / SUB
========================================================== */

.blog-article sup,
.blog-article sub {
  line-height: 0;
}

/* ==========================================================
   MOBILE — TABLE
========================================================== */

@media (max-width: 992px) {
  .blog-layout-grid {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    display: none;
  }

  .blog-main {
    width: 100%;
  }

  .blog-article {
    font-size: 17px;

    line-height: 2.1;
  }

  .blog-article h2 {
    margin-top: 60px;

    font-size: 1.8rem;
  }

  .blog-article h3 {
    margin-top: 45px;

    font-size: 1.4rem;
  }

  .blog-article blockquote {
    padding: 30px 32px 30px 45px;
  }
}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 700px) {
  .blog-layout {
    padding: 35px 0;
  }

  .blog-layout-grid {
    display: block;
  }

  .blog-main {
    width: 100%;
  }

  .blog-sidebar {
    display: none;
  }

  .ul-blog-details,
  .ul-inner-blog,
  .ul-inner-blog-txt {
    width: 100%;
  }

  .blog-article {
    font-size: 16px;

    line-height: 2.05;
  }

  .blog-article > * {
    margin-bottom: 24px;
  }

  .blog-article p {
    margin-bottom: 22px;

    line-height: 2.05;

    text-align: right;
  }

  /* H2 */

  .blog-article h2 {
    margin-top: 48px;

    margin-bottom: 20px;

    padding: 14px 17px 14px 0;

    font-size: 1.45rem;

    line-height: 1.75;
  }

  .blog-article h2::before {
    top: 14px;
    bottom: 14px;

    width: 4px;
  }

  /* H3 */

  .blog-article h3 {
    margin-top: 38px;

    margin-bottom: 15px;

    padding-right: 14px;

    font-size: 1.25rem;

    line-height: 1.75;
  }

  .blog-article h3::before {
    width: 4px;
  }

  /* H4 */

  .blog-article h4 {
    margin-top: 30px;

    margin-bottom: 13px;

    font-size: 1.1rem;
  }

  /* Lists */

  .blog-article ul {
    margin: 25px 0;
  }

  .blog-article ul li {
    padding-right: 27px;

    margin-bottom: 13px;
  }

  .blog-article ol {
    padding-right: 25px;

    margin: 25px 0;
  }

  /* Images */

  .blog-article img {
    margin: 34px auto;

    border-radius: var(--ul-radius-md);
  }

  /* Blockquote */

  .blog-article blockquote {
    margin: 38px 0;

    padding: 27px 22px 27px 30px;

    border-right-width: 4px;

    border-radius: var(--ul-radius-md);
  }

  .blog-article blockquote::before {
    left: 10px;

    font-size: 65px;
  }

  .blog-article blockquote p {
    font-size: 1rem;

    line-height: 2;
  }

  /* Table */

  .blog-article table {
    min-width: 620px;

    margin: 35px 0;
  }

  .blog-article table th,
  .blog-article table td {
    padding: 13px 15px;

    font-size: 0.9rem;
  }

  /* HR */

  .blog-article hr {
    margin: 40px 0;
  }
}

/*=======================================

BLOG META

=======================================*/

.blog-meta-section {
  margin: 70px 0;
}

.blog-meta-card {
  display: flex;

  justify-content: space-between;

  gap: 35px;

  flex-wrap: wrap;

  background: #fff;

  border-radius: 26px;

  padding: 32px;

  border: 1px solid #edf1f5;

  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.05);
}

.blog-meta-block {
  flex: 1;

  min-width: 300px;
}

.meta-title {
  display: flex;

  align-items: center;

  gap: 10px;

  font-weight: 700;

  margin-bottom: 18px;

  color: var(--ul-primary);

  font-size: 1.05rem;
}

.meta-title i {
  color: var(--ul-secondary);
}

.blog-tags {
  display: flex;

  flex-wrap: wrap;

  gap: 12px;
}

.blog-tags a {
  text-decoration: none;

  color: var(--ul-secondary);

  background: #f4f8fa;

  padding: 12px 18px;

  border-radius: 50px;

  transition: 0.35s;

  font-size: 0.95rem;

  border: 1px solid transparent;
}

.blog-tags a:hover {
  background: var(--ul-secondary);

  color: #fff;
}

.empty-tag {
  color: #888;
}

.share-buttons {
  display: flex;

  gap: 14px;

  flex-wrap: wrap;
}

.share-btn {
  width: 48px;

  height: 48px;

  border-radius: 50%;

  display: flex;

  justify-content: center;

  align-items: center;

  text-decoration: none;

  background: #f6f8fb;

  color: var(--ul-secondary);

  transition: 0.35s;

  border: none;

  cursor: pointer;
}

.share-btn:hover {
  background: var(--ul-secondary);

  color: #fff;
}

.copy-link {
  width: auto;

  padding: 0 22px;

  border-radius: 40px;

  gap: 10px;
}

@media (max-width: 768px) {
  .blog-meta-card {
    padding: 24px;
  }

  .blog-meta-block {
    min-width: 100%;
  }
}

/*=====================================

COMMENTS

=====================================*/

.blog-comments {
  margin-top: 90px;
}

.comments-header {
  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-bottom: 35px;

  padding-bottom: 20px;

  border-bottom: 1px solid #eceff3;
}

.comments-header h2 {
  font-size: 2rem;

  font-weight: 800;

  margin: 0;
}

.comments-header span {
  background: #f4f8fa;

  padding: 10px 18px;

  border-radius: 40px;

  color: var(--ul-secondary);

  font-weight: 700;
}

.comment-card {
  background: #fff;

  border-radius: 24px;

  padding: 30px;

  margin-bottom: 30px;

  border: 1px solid #edf1f5;

  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);

  transition: 0.35s;
}

.comment-card:hover {
  transform: translateY(-5px);

  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
}

.comment-top {
  display: flex;

  align-items: center;

  gap: 18px;

  margin-bottom: 25px;
}

.comment-avatar img {
  width: 72px;

  height: 72px;

  border-radius: 50%;

  object-fit: cover;
}

.comment-user {
  flex: 1;
}

.comment-user h3 {
  font-size: 1.15rem;

  margin-bottom: 6px;

  font-weight: 700;
}

.comment-user span {
  color: var(--ul-gray3);

  font-size: 0.95rem;
}

.comment-rate {
  display: flex;

  gap: 4px;

  color: #ffbf35;

  font-size: 1rem;
}

.comment-body {
  font-size: 1.06rem;

  line-height: 2.2;

  color: var(--ul-gray2);

  padding-right: 90px;
}

.doctor-answer {
  margin-top: 28px;

  background: #f7fbfc;

  border-right: 5px solid var(--ul-secondary);

  border-radius: 18px;

  padding: 24px;

  display: flex;

  gap: 18px;
}

.doctor-answer-icon {
  width: 54px;

  height: 54px;

  border-radius: 50%;

  background: var(--ul-secondary);

  color: #fff;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 20px;

  flex-shrink: 0;
}

.doctor-answer h4 {
  margin-bottom: 10px;

  font-size: 1.05rem;

  font-weight: 700;

  color: var(--ul-primary);
}

.doctor-answer p {
  margin: 0;

  line-height: 2;
}

.comment-empty {
  text-align: center;

  padding: 70px 20px;

  background: #fff;

  border-radius: 25px;

  border: 1px dashed #d7dce1;
}

.comment-empty i {
  font-size: 70px;

  color: var(--ul-secondary);

  margin-bottom: 25px;
}

.comment-empty h3 {
  margin-bottom: 12px;

  font-weight: 800;
}

.comment-empty p {
  color: var(--ul-gray2);
}

@media (max-width: 768px) {
  .comment-top {
    flex-wrap: wrap;
  }

  .comment-body {
    padding-right: 0;

    margin-top: 15px;
  }

  .doctor-answer {
    flex-direction: column;
  }

  .comments-header {
    flex-direction: column;

    align-items: flex-start;

    gap: 15px;
  }
}

/*=====================================

COMMENT FORM

=====================================*/

.comment-form-section {
  margin-top: 90px;
}

.comment-form-card {
  background: #fff;

  border-radius: 30px;

  padding: 55px;

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);

  border: 1px solid #edf1f5;
}

.comment-form-heading {
  text-align: center;

  margin-bottom: 45px;
}

.comment-form-heading span {
  display: inline-block;

  padding: 8px 18px;

  background: #eef7f9;

  border-radius: 50px;

  color: var(--ul-secondary);

  font-weight: 700;

  margin-bottom: 18px;
}

.comment-form-heading h2 {
  font-size: 2rem;

  font-weight: 800;

  margin-bottom: 15px;
}

.comment-form-heading p {
  color: var(--ul-gray2);

  font-size: 1.02rem;
}

.input-group-modern {
  margin-bottom: 28px;
}

.input-group-modern label {
  display: block;

  margin-bottom: 12px;

  font-weight: 700;
}

.input-group-modern input,
.input-group-modern textarea {
  width: 100%;

  border: 1px solid #dde6ec;

  background: #fbfcfd;

  border-radius: 18px;

  padding: 18px 22px;

  font-size: 1rem;

  transition: 0.3s;
}

.input-group-modern textarea {
  resize: vertical;

  min-height: 180px;
}

.input-group-modern input:focus,
.input-group-modern textarea:focus {
  border-color: var(--ul-secondary);

  box-shadow: 0 0 0 4px rgba(60, 107, 124, 0.08);

  outline: none;

  background: var(--white);
}

.rating-wrapper {
  margin-bottom: 35px;
}

.rating-wrapper label {
  display: block;

  margin-bottom: 18px;

  font-weight: 700;
}

.rating {
  display: flex;

  gap: 10px;

  font-size: 34px;
}

.rating label {
  cursor: pointer;

  transition: 0.25s;
}

.rating label:hover {
  transform: scale(1.15);
}

.comment-policy {
  margin: 35px 0;

  font-size: 0.96rem;

  color: var(--ul-gray2);
}

.comment-policy label {
  display: flex;

  align-items: center;

  gap: 10px;

  cursor: pointer;
}

.submit-comment-btn {
  display: inline-flex;

  align-items: center;

  gap: 12px;

  padding: 18px 36px;

  border: none;

  border-radius: 60px;

  background: var(--ul-secondary);

  color: var(--white);

  font-weight: 700;

  transition: 0.3s;
}

.submit-comment-btn:hover {
  background: var(--ul-primary);

  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .comment-form-card {
    padding: 30px;
  }

  .comment-form-heading h2 {
    font-size: 1.6rem;
  }
}

/*=====================================

SIDE BAR

=====================================*/

.blog-widget {
  background: #fff;

  border-radius: 24px;

  padding: 28px;

  margin-bottom: 30px;

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);

  border: 1px solid #edf1f5;
}

.widget-title {
  font-size: 1.25rem;

  font-weight: 600;

  color: var(--ul-primary);

  margin-bottom: 25px;

  position: relative;

  padding-right: 18px;
}

.widget-title::before {
  content: "";

  position: absolute;

  right: 0;

  top: 4px;

  width: 5px;

  height: 24px;

  border-radius: 20px;

  background: var(--ul-secondary);
}

.search-box {
  position: relative;
}

.search-box input {
  width: 100%;

  height: 58px;

  border-radius: 50px;

  border: 1px solid #dfe8ed;

  padding: 0 22px 0 60px;

  background: #f8fafb;

  transition: 0.3s;
}

.search-box input:focus {
  border-color: var(--ul-secondary);

  background: var(--white);

  outline: none;
}

.search-box button {
  position: absolute;

  left: 8px;

  top: 8px;

  width: 42px;

  height: 42px;

  border: none;

  border-radius: 50%;

  background: var(--ul-secondary);

  color: var(--white);
}

/*=====================================*/

.doctor-widget {
  text-align: center;
}

.doctor-widget img {
  width: 130px;

  height: 130px;

  border-radius: 50%;

  object-fit: cover;

  margin-bottom: 20px;
}

.doctor-widget h3 {
  font-size: 1.35rem;

  color: var(--ul-primary);

  margin-bottom: 8px;

  font-weight: 800;
}

.doctor-widget span {
  display: block;

  color: var(--ul-secondary);

  margin-bottom: 18px;

  font-weight: 600;
}

.doctor-widget p {
  line-height: 2;

  color: var(--ul-gray2);

  margin-bottom: 25px;
}

/* ====================================== */

.appointment-widget {
  background: linear-gradient(135deg, var(--ul-primary), var(--ul-secondary));

  border-radius: 28px;

  padding: 35px;

  color: var(--white);

  text-align: center;

  margin-bottom: 30px;
}

.appointment-widget span {
  display: block;

  opacity: 0.85;

  margin-bottom: 12px;
}

.appointment-widget h3 {
  color: var(--white);

  font-size: 1.45rem;

  line-height: 1.8;

  margin-bottom: 28px;
}

.appointment-widget a {
  display: flex;

  justify-content: center;

  align-items: center;

  gap: 10px;

  margin-bottom: 12px;

  background: var(--white);

  color: var(--ul-primary);

  height: 56px;

  border-radius: 50px;

  text-decoration: none;

  font-weight: 700;
}

.appointment-widget a:hover {
  background-color: var(--ul-secondary);

  color: var(--white);
}

/* ===================================== */

/* POPULAR SERVICES */

.services-widget {
  padding-bottom: 12px;
}

.service-list {
  margin: 0;

  padding: 0;

  list-style: none;
}

.service-list li {
  margin-bottom: 14px;
}

.service-list li:last-child {
  margin-bottom: 0;
}

.service-list a {
  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 16px 18px;

  border-radius: 18px;

  text-decoration: none;

  background: #f8fafb;

  transition: 0.35s;

  border: 1px solid transparent;
}

.service-left {
  display: flex;

  align-items: center;

  gap: 16px;
}

.service-icon {
  width: 48px;

  height: 48px;

  border-radius: 50%;

  background: #eef6f8;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 18px;

  transition: 0.35s;
}

.service-icon svg path {
  fill: var(--ul-secondary);
}

.service-list a:hover {
  background: var(--ul-secondary);

  color: var(--white);

  transform: translateX(-6px);
}

.service-list a:hover .service-icon {
  background: var(--white);

  color: var(--ul-secondary);
}

.service-list a i:last-child {
  font-size: 14px;

  opacity: 0.7;
}

/* /*===================================== */

/* LATEST POSTS */

.latest-post-widget {
  padding-bottom: 8px;
}

.latest-post-list {
  display: flex;

  flex-direction: column;

  gap: 22px;
}

.latest-post-card {
  display: flex;

  gap: 16px;

  align-items: flex-start;

  padding-bottom: 22px;

  border-bottom: 1px solid #edf2f5;

  transition: 0.35s;
}

.latest-post-card:last-child {
  border-bottom: none;

  padding-bottom: 0;
}

.latest-post-image {
  width: 110px;

  height: 90px;

  flex-shrink: 0;

  overflow: hidden;

  border-radius: 16px;

  display: block;
}

.latest-post-image img {
  width: 100%;

  height: 100%;

  object-fit: cover;

  transition: 0.5s;
}

.latest-post-content {
  flex: 1;
}

.latest-post-content h4 {
  margin: 10px 0 0;

  font-size: 16px;

  font-weight: 700;

  line-height: 1.8;
}

.latest-post-content h4 a {
  color: var(--ul-primary);

  text-decoration: none;

  transition: 0.3s;
}

.latest-post-meta {
  display: flex;

  flex-wrap: wrap;

  gap: 12px;

  font-size: 13px;

  color: var(--ul-gray2);
}

.latest-post-meta span {
  display: flex;

  align-items: center;

  gap: 6px;
}

.latest-post-meta i {
  color: var(--ul-gray2);

  font-size: 13px;
}

.latest-post-card:hover {
  transform: translateX(-6px);
}

.latest-post-card:hover img {
  transform: scale(1.08);
}

.latest-post-card:hover h4 a {
  color: var(--ul-secondary);
}

@media (max-width: 576px) {
  .latest-post-image {
    width: 95px;

    height: 80px;
  }

  .latest-post-content h4 {
    font-size: 15px;
  }

  .latest-post-meta {
    font-size: 12px;
  }
}

/* /*===================================== */

/* CATEGORY WIDGET */

.category-list {
  margin: 0;

  padding: 0;

  list-style: none;

  display: flex;

  flex-direction: column;

  gap: 14px;
}

.category-list li {
  margin: 0;
}

.category-list a {
  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 16px 18px;

  background: #fafbfc;

  border: 1px solid #edf2f5;

  border-radius: 18px;

  text-decoration: none;

  transition: 0.35s;
}

.category-left {
  display: flex;

  align-items: center;

  gap: 12px;

  font-weight: 600;

  color: var(--ul-primary);
}

.category-dot {
  width: 10px;

  height: 10px;

  border-radius: 50%;

  background: var(--ul-secondary);

  flex-shrink: 0;
}

.category-count {
  width: 36px;

  height: 36px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  background: #eef6f8;

  color: var(--ul-secondary);

  font-size: 13px;

  font-weight: 700;

  transition: 0.35s;
}

.category-list a:hover {
  background: var(--ul-secondary);

  transform: translateX(-6px);
}

.category-list a:hover .category-left {
  color: var(--white);
}

.category-list a:hover .category-dot {
  background: var(--white);
}

.category-list a:hover .category-count {
  background: var(--white);
}

/* /*===================================== */

/* INSTAGRAM WIDGET */

.instagram-widget {
  background: #fff;

  border-radius: 28px;

  padding: 35px;

  text-align: center;

  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.06);

  position: relative;

  overflow: hidden;
}

.instagram-cover {
  height: 110px;

  margin: -35px -35px 0;

  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);

  display: flex;

  align-items: center;

  justify-content: center;
}

.instagram-cover i {
  font-size: 54px;

  color: var(--white);
}

.instagram-profile {
  width: 95px;

  height: 95px;

  margin: -48px auto 18px;

  border-radius: 50%;

  overflow: hidden;

  border: 5px solid var(--white);

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.instagram-profile img {
  width: 100%;

  height: 100%;

  object-fit: cover;
}

.instagram-widget h3 {
  font-size: 24px;

  font-weight: 700;

  margin-bottom: 6px;
}

.instagram-id {
  display: block;

  margin-bottom: 18px;

  color: var(--ul-gray2);

  font-size: 15px;
}

.instagram-widget p {
  line-height: 2.1;

  color: var(--ul-gray2);

  margin-bottom: 25px;
}

.instagram-benefits {
  display: flex;

  flex-direction: column;

  gap: 14px;

  margin-bottom: 30px;

  text-align: right;
}

.instagram-benefits div {
  display: flex;

  align-items: center;

  gap: 10px;

  font-weight: 500;
}

.instagram-benefits i {
  color: var(--ul-secondary);

  font-size: 18px;
}

.instagram-follow-btn {
  display: flex;

  justify-content: center;

  align-items: center;

  gap: 12px;

  padding: 18px;

  border-radius: 60px;

  font-size: 17px;

  font-weight: 700;

  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);

  color: #fff;

  text-decoration: none;

  transition: 0.35s;
}

.instagram-follow-btn:hover {
  transform: translateY(-5px);

  box-shadow: 0 20px 45px rgba(131, 58, 180, 0.3);

  color: #fff;
}

/* =========================================================
   FONT AWESOME — RTL FIX FOR LUXURY LAYOUT
   جلوگیری از flip شدن آیکون‌های دکمه‌ها
========================================================= */

.ul-feedbacks-slider-nav .fa-chevron-right,
.ul-feedbacks-slider-nav .fa-chevron-left {
  transform: none !important;
}

/* آیکون‌های فلش در RTL باید دست‌نخورده بمونن */
.fa-phone-volume,
.fa-location-dot,
.fa-clock,
.fa-award,
.fa-shield-heart,
.fa-gem,
.fa-hand-holding-heart,
.fa-feather-pointed,
.fa-book-medical,
.fa-check,
.fa-plus,
.fa-xmark,
.fa-house,
.fa-bars,
.fa-instagram,
.fa-whatsapp {
  transform: none !important;
}

/* =========================================================
   BLOG LAYOUT — FINAL FIX (Desktop + Laptop + Tablet)
========================================================= */

/* حذف هر تعریف قدیمی */
.blog-layout-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 360px !important;
  gap: 45px !important;
  align-items: start !important;
  direction: rtl !important;
  width: 100% !important;
}

/* بوت‌استرپ .container رو خنثی کن */
.blog-layout .container,
.blog-layout > .container {
  max-width: 100% !important;
  width: 100% !important;
  padding-inline: 20px !important;
}

/* MAIN */
.blog-main {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden;
}

/* SIDEBAR — همیشه داخل Grid */
.blog-sidebar {
  min-width: 0 !important;
  width: 100% !important;
  display: block !important;
  position: static !important;
  align-self: start !important;
}

.blog-sidebar-inner {
  display: flex !important;
  flex-direction: column !important;
  gap: 24px !important;
  width: 100% !important;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1199px) {
  .blog-layout-grid {
    grid-template-columns: minmax(0, 1fr) 320px !important;
    gap: 32px !important;
  }
}

/* ⚠️ اینجا قبلاً display:none داشتیم — حالا نمی‌ذاریم مخفی بشه */
@media (max-width: 992px) {
  .blog-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .blog-sidebar {
    display: block !important;
    width: 100% !important;
  }

  .blog-sidebar-inner {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }
}

@media (max-width: 700px) {
  .blog-layout-grid {
    grid-template-columns: 1fr !important;
  }

  .blog-sidebar-inner {
    grid-template-columns: 1fr !important;
  }
}

/* =========================================================
   BLOG LIST — FULL RESPONSIVE (Mobile First)
========================================================= */

/* =========================================================
   SECTION
========================================================= */
.blog-list-section {
  padding: clamp(35px, 5.25vw, 85px) 0;
  background: var(--white);
}

.blog-list-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 45px;
  align-items: start;
}

.blog-list-main {
  min-width: 0;
}

.blog-list-sidebar {
  min-width: 0;
}

.blog-sidebar-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* =========================================================
   MOBILE TOP — پیش‌فرض مخفی (فقط در موبایل/تبلت نشون داده میشه)
========================================================= */
.blog-mobile-top {
  display: none;
}

/* =========================================================
   SECTION HEADING
========================================================= */
.blog-list-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: clamp(24px, 3.15vw, 38px);
  padding-bottom: clamp(18px, 2.1vw, 25px);
  border-bottom: 1px solid var(--ul-border-light);
}

.blog-list-heading h2 {
  font-family: iranyekan;
  font-size: clamp(20px, 2.1vw, 32px);
  font-weight: 800;
  line-height: 1.4;
  color: var(--ul-primary);
  margin: 8px 0 0;
}

.blog-list-heading h2 em {
  font-style: normal;
  color: var(--ul-secondary);
  position: relative;
  display: inline-block;
}

.blog-list-heading h2 em::after {
  content: "";
  position: absolute;
  bottom: 3px;
  inset-inline: 0;
  height: 8px;
  background: var(--ul-secondary-soft);
  z-index: -1;
  border-radius: 4px;
}

.blog-list-heading > p {
  max-width: 390px;
  margin: 0;
  color: var(--ul-text-muted);
  font-size: 14.5px;
  line-height: 2;
}

.blog-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ul-secondary);
  margin-bottom: 8px;
}

.blog-section-eyebrow i {
  font-size: 12px;
}

/* =========================================================
   POST LIST
========================================================= */
.blog-post-list {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.1vw, 28px);
}

/* =========================================================
   POST CARD
========================================================= */
.blog-post-card {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  min-height: 280px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--ul-border-light);
  border-radius: 24px;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.055);
  transition: all 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.blog-post-card:hover {
  transform: translateY(-6px);
  border-color: var(--ul-secondary-light);
  box-shadow: 0 25px 60px rgba(4, 28, 51, 0.1);
}

/* =========================================================
   IMAGE
========================================================= */
.blog-post-image {
  position: relative;
  display: block;
  min-height: 280px;
  overflow: hidden;
  background: var(--ul-bg-soft);
}

.blog-post-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.blog-post-card:hover .blog-post-image img {
  transform: scale(1.06);
}

/* ---------- Category ---------- */
.blog-post-category {
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  color: #ffffff;
  background: rgba(4, 28, 51, 0.88);
  border-radius: 50px;
  font-size: 11.5px;
  font-weight: 700;
  backdrop-filter: blur(8px);
  z-index: 2;
}

.blog-post-category i {
  font-size: 10.5px;
}

/* =========================================================
   CONTENT
========================================================= */
.blog-post-content {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.52vw, 30px) clamp(20px, 2.52vw, 32px);
  min-width: 0;
}

/* ---------- Meta ---------- */
.blog-post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 14px;
}

.blog-post-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ul-text-light);
  font-size: 12px;
  font-weight: 600;
}

.blog-post-meta i {
  color: var(--ul-secondary);
  font-size: 12px;
}

/* ---------- Title ---------- */
.blog-post-title {
  font-family: iranyekan;
  font-size: clamp(17px, 1.47vw, 22px);
  font-weight: 800;
  line-height: 1.6;
  margin: 0 0 12px;
}

.blog-post-title a {
  color: var(--ul-primary);
  text-decoration: none;
  transition: color var(--ul-transition);
}

.blog-post-title a:hover {
  color: var(--ul-secondary);
}

/* ---------- Excerpt ---------- */
.blog-post-excerpt {
  display: -webkit-box;
  margin: 0 0 20px;
  overflow: hidden;
  color: var(--ul-text);
  font-size: 14.5px;
  line-height: 2;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* ---------- Footer ---------- */
.blog-post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 18px;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ul-secondary);
  font-family: iranyekan;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--ul-transition);
}

.blog-read-more i {
  font-size: 12px;
  transition: transform var(--ul-transition);
}

.blog-read-more:hover {
  color: var(--ul-primary);
}

.blog-read-more:hover i {
  transform: translateX(-4px);
}

.blog-read-more-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--ul-secondary-soft);
  color: var(--ul-secondary);
  border-radius: 13px;
  font-size: 15px;
  transition: all var(--ul-transition);
  flex-shrink: 0;
}

.blog-post-card:hover .blog-read-more-icon {
  background: var(--ul-secondary);
  color: var(--white);
  transform: rotate(-6deg);
}

/* =========================================================
   MOBILE TOP (Search + Categories)
========================================================= */
.blog-mobile-search {
  margin-bottom: 16px;
}

/* =========================================================
   MOBILE CATEGORIES WRAPPER
========================================================= */

.blog-mobile-categories {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ul-border-light);
}

/* ---------- Head ---------- */
.blog-mobile-categories-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: iranyekan;
  font-size: 13px;
  font-weight: 700;
  color: var(--ul-primary);
  margin-bottom: 12px;
}

.blog-mobile-categories-head i {
  color: var(--ul-secondary);
  font-size: 13px;
}

/* =========================================================
   CATEGORY LIST داخل موبایل — حالت Chip افقی
   (بازنویسی .category-list برای موبایل)
========================================================= */

.blog-mobile-categories-list .category-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0;
  padding: 0 0 6px;
  list-style: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.blog-mobile-categories-list .category-list::-webkit-scrollbar {
  display: none;
}

.blog-mobile-categories-list .category-list li {
  margin: 0;
  flex-shrink: 0;
}

/* ---------- Links as chips ---------- */
.blog-mobile-categories-list .category-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--ul-bg-soft);
  color: var(--ul-text-muted);
  border: 1px solid var(--ul-border);
  border-radius: var(--ul-radius-pill);
  font-family: iranyekan;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--ul-transition);
}

/* ---------- Left (dot + name) ---------- */
.blog-mobile-categories-list .category-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.blog-mobile-categories-list .category-dot {
  width: 6px;
  height: 6px;
  background: var(--ul-secondary);
  border-radius: 50%;
  flex-shrink: 0;
  transition: background var(--ul-transition);
}

/* ---------- Count ---------- */
.blog-mobile-categories-list .category-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  background: var(--white);
  color: var(--ul-secondary);
  border-radius: var(--ul-radius-pill);
  font-size: 10.5px;
  font-weight: 700;
  transition: all var(--ul-transition);
}

/* ---------- Hover ---------- */
.blog-mobile-categories-list .category-list a:hover {
  background: var(--ul-secondary-soft);
  color: var(--ul-secondary);
  border-color: var(--ul-secondary-light);
}

/* ---------- Active ---------- */
.blog-mobile-categories-list .category-list a.is-active {
  background: var(--ul-secondary);
  color: var(--white);
  border-color: var(--ul-secondary);
  box-shadow: 0 8px 20px rgba(13, 109, 253, 0.25);
}

.blog-mobile-categories-list .category-list a.is-active .category-dot {
  background: var(--white);
}

.blog-mobile-categories-list .category-list a.is-active .category-count {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

/* ---------- Empty ---------- */
.blog-mobile-categories-list .category-empty {
  padding: 10px 0;
  color: var(--ul-text-muted);
  font-size: 12.5px;
  font-style: italic;
}

/* =========================================================
   EMPTY STATE
========================================================= */
.blog-empty-state {
  text-align: center;
  padding: 60px 24px;
  background: linear-gradient(160deg, var(--ul-bg-soft) 0%, #eef5ff 100%);
  border: 1px dashed var(--ul-border-dark);
  border-radius: var(--ul-radius-lg);
}

.blog-empty-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--ul-secondary);
  border-radius: 50%;
  font-size: 28px;
  box-shadow: 0 15px 40px rgba(13, 109, 253, 0.15);
}

.blog-empty-state h2 {
  font-family: iranyekan;
  font-size: 20px;
  font-weight: 800;
  color: var(--ul-primary);
  margin: 0 0 10px;
}

.blog-empty-state p {
  font-size: 14px;
  line-height: 2;
  color: var(--ul-text-muted);
  margin: 0;
}

/* =========================================================
   PAGINATION
========================================================= */
.blog-pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

/* =========================================================
   ─────────────────────────────────────────
   RESPONSIVE BREAKPOINTS
   ─────────────────────────────────────────
========================================================= */

/* =========================================================
   LAPTOP (1200px و پایین‌تر)
========================================================= */
@media (max-width: 1199px) {
  .blog-list-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 30px;
  }

  .blog-post-card {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .blog-post-content {
    padding: 22px 24px;
  }

  .blog-post-title {
    font-size: 19px;
  }
}

/* =========================================================
   TABLET (992px و پایین‌تر)
   — سایدبار مخفی میشه، Search + Categories میان بالا
========================================================= */
@media (max-width: 991px) {
  .blog-list-section {
    padding: 45px 0;
  }

  /* Layout تک‌ستونه */
  .blog-list-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* ============ MOBILE TOP فعال ============ */
  .blog-mobile-top {
    display: block;
    margin-bottom: 28px;
  }

  /* ============ SIDEBAR کامل مخفی ============ */
  .blog-list-sidebar {
    display: none;
  }

  /* ============ MAIN ============ */
  .blog-list-main {
    min-width: 0;
  }

  /* ============ HEADING ============ */
  .blog-list-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 22px;
  }

  .blog-list-heading > p {
    max-width: 100%;
    font-size: 13.5px;
  }

  /* ============ POST CARD ============ */
  .blog-post-card {
    grid-template-columns: 240px minmax(0, 1fr);
    min-height: 240px;
  }

  .blog-post-image {
    min-height: 240px;
  }

  .blog-post-title {
    font-size: 18px;
  }

  .blog-post-excerpt {
    font-size: 14px;
    -webkit-line-clamp: 3;
  }
}

/* =========================================================
   MOBILE LANDSCAPE (768px و پایین‌تر)
   — کارت‌ها تک‌ستونه
========================================================= */
@media (max-width: 767px) {
  .blog-list-section {
    padding: 35px 0;
  }

  /* Container padding کمتر */
  .blog-list-section .ul-container {
    padding-inline: 16px;
  }

  /* فاصله بین کارت‌ها */
  .blog-post-list {
    gap: 16px;
  }

  /* ============ کارت: تصویر بالا، محتوا پایین ============ */
  .blog-post-card {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    min-height: auto;
    border-radius: 18px;
  }

  .blog-post-image {
    min-height: 220px;
    height: 220px;
    aspect-ratio: 16 / 10;
  }
  [9/22/2026 11:22 PM] A.H.B: .blog-post-content {
    padding: 20px;
  }

  .blog-post-category {
    top: 12px;
    inset-inline-end: 12px;
    padding: 6px 11px;
    font-size: 11px;
  }

  .blog-post-meta {
    gap: 8px 14px;
    margin-bottom: 10px;
  }

  .blog-post-meta span {
    font-size: 11.5px;
  }

  .blog-post-title {
    font-size: 17px;
    line-height: 1.65;
    margin-bottom: 10px;
  }

  .blog-post-excerpt {
    font-size: 13.5px;
    line-height: 2;
    -webkit-line-clamp: 3;
    margin-bottom: 16px;
  }

  .blog-post-footer {
    padding-top: 14px;
  }

  .blog-read-more {
    font-size: 13px;
  }

  .blog-read-more-icon {
    width: 38px;
    height: 38px;
    font-size: 14px;
    border-radius: 11px;
  }

  /* ============ Heading ============ */
  .blog-list-heading h2 {
    font-size: 20px;
  }

  .blog-list-heading > p {
    font-size: 13.5px;
    line-height: 1.9;
  }

  .blog-mobile-top {
    margin-bottom: 22px;
  }

  .blog-mobile-categories {
    gap: 6px;
    padding-bottom: 14px;
    margin-bottom: 14px;
  }

  .blog-category-chip {
    padding: 7px 12px;
    font-size: 12px;
  }
}

/* =========================================================
   MOBILE (576px و پایین‌تر)
========================================================= */
@media (max-width: 575px) {
  .blog-list-section {
    padding: 28px 0;
  }

  .blog-list-section .ul-container {
    padding-inline: 14px;
  }

  /* تصویر */
  .blog-post-image {
    min-height: 200px;
    height: 200px;
  }

  /* محتوا */
  .blog-post-content {
    padding: 18px 16px;
  }

  /* ============ Heading ============ */
  .blog-list-heading h2 {
    font-size: 18px;
    line-height: 1.5;
  }

  .blog-list-heading {
    margin-bottom: 20px;
    padding-bottom: 14px;
  }

  .blog-section-eyebrow {
    font-size: 11.5px;
  }

  /* ============ کارت ============ */
  .blog-post-card {
    border-radius: 16px;
  }

  .blog-post-title {
    font-size: 16px;
    line-height: 1.7;
  }

  .blog-post-excerpt {
    font-size: 13px;
    line-height: 1.95;
  }

  /* ============ Meta ============ */
  .blog-post-meta {
    gap: 6px 12px;
  }

  .blog-post-meta span {
    font-size: 11px;
    gap: 4px;
  }

  .blog-post-meta i {
    font-size: 11px;
  }

  /* ============ Category badge ============ */
  .blog-post-category {
    top: 10px;
    inset-inline-end: 10px;
    padding: 5px 10px;
    font-size: 10.5px;
    gap: 4px;
  }

  /* ============ Footer ============ */
  .blog-post-footer {
    gap: 12px;
  }

  .blog-read-more {
    font-size: 12.5px;
    gap: 8px;
  }

  .blog-read-more i {
    font-size: 11px;
  }

  .blog-read-more-icon {
    width: 36px;
    height: 36px;
    font-size: 13px;
    border-radius: 10px;
  }

  /* ============ Mobile Top ============ */
  .blog-mobile-top {
    margin-bottom: 20px;
  }

  .blog-mobile-categories {
    gap: 6px;
    padding-bottom: 12px;
    margin-bottom: 12px;
  }

  .blog-category-chip {
    padding: 6px 11px;
    font-size: 11.5px;
    gap: 4px;
  }

  .blog-category-chip i {
    font-size: 10px;
  }

  /* ============ Empty ============ */
  .blog-empty-state {
    padding: 45px 20px;
    border-radius: 16px;
  }

  .blog-empty-icon {
    width: 68px;
    height: 68px;
    font-size: 26px;
  }

  .blog-empty-state h2 {
    font-size: 18px;
  }

  .blog-empty-state p {
    font-size: 13px;
  }

  /* ============ Pagination ============ */
  .blog-pagination {
    margin-top: 28px;
  }
}

/* =========================================================
   VERY SMALL (380px و پایین‌تر)
========================================================= */
@media (max-width: 380px) {
  .blog-post-image {
    min-height: 180px;
    height: 180px;
  }

  .blog-post-content {
    padding: 16px 14px;
  }

  .blog-post-title {
    font-size: 15.5px;
  }

  .blog-post-excerpt {
    font-size: 12.5px;
    -webkit-line-clamp: 2;
  }

  .blog-list-heading h2 {
    font-size: 17px;
  }

  .blog-read-more {
    font-size: 12px;
  }

  .blog-read-more-icon {
    width: 34px;
    height: 34px;
    font-size: 12px;
  }

  .blog-category-chip {
    padding: 5px 10px;
    font-size: 11px;
  }
}

/* =========================================================
   REDUCED MOTION
========================================================= */
@media (prefers-reduced-motion: reduce) {
  .blog-post-card,
  .blog-post-image img,
  .blog-read-more,
  .blog-read-more i,
  .blog-read-more-icon,
  .blog-category-chip {
    transition: none !important;
  }
}

/* =========================================================
   CASE STUDIES — PROFESSIONAL
========================================================= */

/* =========================================================
   HERO
========================================================= */
.cs-hero {
  padding: clamp(40px, 5.25vw, 80px) 0 clamp(30px, 3.15vw, 50px);
  background: linear-gradient(135deg, var(--ul-bg-soft) 0%, #eef5ff 100%);
  border-bottom: 1px solid var(--ul-border);
}

.cs-hero-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(30px, 4.2vw, 70px);
  align-items: center;
}

.cs-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--ul-secondary);
  margin-bottom: 18px;
}

.cs-hero-eyebrow-line {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--ul-secondary);
  opacity: 0.6;
}

.cs-hero-title {
  font-family: iranyekan;
  font-size: clamp(28px, 3.15vw, 52px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.5px;
  color: var(--ul-primary);
  margin: 0 0 20px;
}

.cs-hero-title em {
  font-style: normal;
  color: var(--ul-secondary);
  position: relative;
  display: inline-block;
}

.cs-hero-title em::after {
  content: "";
  position: absolute;
  bottom: 4px;
  inset-inline: 0;
  height: 10px;
  background: var(--ul-secondary-soft);
  z-index: -1;
  border-radius: 4px;
}

.cs-hero-desc {
  font-size: clamp(14px, 0.95vw, 16px);
  line-height: 2;
  color: var(--ul-text-muted);
  max-width: 580px;
  margin: 0;
}

/* Stats */
.cs-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--ul-border);
  border-radius: var(--ul-radius-lg);
  box-shadow: var(--ul-shadow-sm);
}

.cs-hero-stat {
  text-align: center;
  padding: 8px 4px;
}

.cs-hero-stat strong {
  display: block;
  font-family: iranyekan;
  font-size: clamp(20px, 1.68vw, 28px);
  font-weight: 800;
  color: var(--ul-primary);
  line-height: 1.2;
  margin-bottom: 4px;
}

.cs-hero-stat span {
  display: block;
  font-size: 11.5px;
  color: var(--ul-text-muted);
  letter-spacing: 0.3px;
}

/* =========================================================
   FILTER
========================================================= */
.cs-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--ul-border);
  border-radius: var(--ul-radius-lg);
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.cs-filter-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ul-primary);
}

.cs-filter-label i {
  color: var(--ul-secondary);
  font-size: 14px;
}

.cs-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cs-filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--ul-bg-soft);
  color: var(--ul-text-muted);
  font-family: iranyekan;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--ul-border-light);
  border-radius: var(--ul-radius-pill);
  text-decoration: none;
  transition: all var(--ul-transition);
}

.cs-filter-tab i {
  font-size: 12px;
  opacity: 0.8;
}

.cs-filter-tab:hover {
  background: var(--ul-secondary-soft);
  color: var(--ul-secondary);
  border-color: var(--ul-secondary-light);
  transform: translateY(-2px);
}

.cs-filter-tab.is-active {
  background: var(--ul-secondary);
  color: var(--white);
  border-color: var(--ul-secondary);
  box-shadow: 0 8px 20px rgba(13, 109, 253, 0.25);
}

.cs-filter-tab.is-active i {
  opacity: 1;
}

/* =========================================================
   GRID
========================================================= */
.cs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.1vw, 28px);
}

/* =========================================================
   CARD
========================================================= */
.cs-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--ul-border);
  border-radius: var(--ul-radius-lg);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);

  /* Reveal animation */
  opacity: 0;
  transform: translateY(30px);
}

.cs-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cs-card:hover {
  transform: translateY(-8px);
  border-color: var(--ul-secondary-light);
  box-shadow: 0 25px 60px rgba(4, 28, 51, 0.12);
}

/* ---------- Image ---------- */
.cs-card-image {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ul-bg-soft);
}

.cs-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
    opacity 0.5s ease,
    filter 0.5s ease;
  filter: blur(12px);
  opacity: 0;
  transform: scale(1.02);
}

.cs-card-image img.is-loaded {
  filter: blur(0);
  opacity: 1;
  transform: scale(1);
}

.cs-card:hover .cs-card-image img {
  transform: scale(1.08);
}

/* ---------- Overlay ---------- */
.cs-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  background: linear-gradient(
    180deg,
    rgba(4, 28, 51, 0.1) 0%,
    rgba(4, 28, 51, 0.05) 40%,
    rgba(4, 28, 51, 0.85) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.cs-card:hover .cs-card-overlay {
  opacity: 1;
}

.cs-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  color: var(--ul-primary);
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--ul-radius-pill);
  letter-spacing: 0.3px;
}

.cs-card-badge i {
  color: var(--ul-secondary);
  font-size: 11px;
}

.cs-card-view {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  color: var(--white);
  font-size: 13.5px;
  font-weight: 700;
  transform: translateY(10px);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.cs-card:hover .cs-card-view {
  transform: translateY(0);
}

.cs-card-view i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.cs-card:hover .cs-card-view i {
  transform: translateX(-4px);
}

/* ---------- Body ---------- */
.cs-card-body {
  padding: 22px 24px 24px;
}

.cs-card-title {
  font-family: iranyekan;
  font-size: clamp(16px, 1.16vw, 18px);
  font-weight: 800;
  line-height: 1.5;
  margin: 0 0 10px;
}

.cs-card-title a {
  color: var(--ul-primary);
  text-decoration: none;
  transition: color var(--ul-transition);
}

.cs-card-title a:hover {
  color: var(--ul-secondary);
}

.cs-card-summary {
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--ul-text-muted);
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Meta */
.cs-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--ul-border);
}

.cs-card-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--ul-text-light);
  font-weight: 600;
}

.cs-card-meta-item i {
  color: var(--ul-secondary);
  font-size: 11px;
}

/* =========================================================
   EMPTY STATE
========================================================= */
.cs-empty {
  text-align: center;
  padding: clamp(50px, 6.31vw, 100px) 30px;
  background: linear-gradient(160deg, var(--ul-bg-soft) 0%, #eef5ff 100%);
  border: 1px dashed var(--ul-border-dark);
  border-radius: var(--ul-radius-lg);
}

.cs-empty-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--ul-secondary);
  border-radius: 50%;
  font-size: 32px;
  box-shadow: 0 15px 40px rgba(13, 109, 253, 0.15);
}

.cs-empty-title {
  font-family: iranyekan;
  font-size: clamp(18px, 1.26vw, 22px);
  font-weight: 800;
  color: var(--ul-primary);
  margin: 0 0 12px;
}

.cs-empty-desc {
  font-size: 14px;
  line-height: 2;
  color: var(--ul-text-muted);
  margin: 0 auto 26px;
  max-width: 500px;
}

.cs-empty-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--ul-secondary);
  color: var(--white);
  font-family: iranyekan;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: var(--ul-radius-pill);
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(13, 109, 253, 0.3);
  transition: all var(--ul-transition);
}

.cs-empty-btn:hover {
  background: var(--ul-primary);
  color: var(--white);
  transform: translateY(-3px);
}

/* =========================================================
   PAGINATION
========================================================= */
.cs-pagination {
  margin-top: clamp(35px, 4.2vw, 60px);
  display: flex;
  justify-content: center;
}

/* =========================================================
   SIDEBAR
========================================================= */
.cs-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 100px;
}

/* ---------- Widget ---------- */
.cs-sidebar-widget {
  background: var(--white);
  border: 1px solid var(--ul-border);
  border-radius: var(--ul-radius-lg);
  padding: 26px 24px;
  box-shadow: var(--ul-shadow-sm);
}

.cs-sidebar-widget-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--ul-border-light);
}

.cs-sidebar-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--ul-secondary-soft);
  color: var(--ul-secondary);
  border-radius: 12px;
  font-size: 15px;
}

.cs-sidebar-title {
  font-family: iranyekan;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--ul-primary);
  margin: 0;
}

.cs-sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cs-sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  background: transparent;
  border-radius: 12px;
  color: var(--ul-text);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--ul-transition);
}

.cs-sidebar-link-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cs-sidebar-link i {
  font-size: 11px;
  opacity: 0.5;
  transition: all var(--ul-transition);
}

.cs-sidebar-link:hover {
  background: var(--ul-secondary-soft);
  color: var(--ul-secondary);
}

.cs-sidebar-link:hover i {
  opacity: 1;
  transform: translateX(-4px);
}

.cs-sidebar-link.is-active {
  background: var(--ul-secondary);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(13, 109, 253, 0.25);
}

.cs-sidebar-link.is-active i {
  opacity: 1;
  color: var(--white);
}

.cs-sidebar-empty {
  padding: 12px 0;
  text-align: center;
  color: var(--ul-text-muted);
  font-size: 13px;
}

/* ---------- CTA Widget ---------- */
.cs-sidebar-cta {
  position: relative;
  padding: 30px 26px;
  background: linear-gradient(
    160deg,
    var(--ul-primary) 0%,
    var(--ul-primary-light) 100%
  );
  border-radius: var(--ul-radius-lg);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  box-shadow: 0 20px 50px rgba(4, 28, 51, 0.18);
}

.cs-sidebar-cta::before {
  content: "";
  position: absolute;
  top: -60px;
  inset-inline-end: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(13, 109, 253, 0.5) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: -1;
}

.cs-sidebar-cta-icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  font-size: 22px;
  color: var(--ul-secondary-light);
  margin-bottom: 18px;
  transition: transform var(--ul-transition);
}

.cs-sidebar-cta:hover .cs-sidebar-cta-icon {
  transform: rotate(-6deg) scale(1.05);
}

.cs-sidebar-cta-title {
  font-family: iranyekan;
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  margin: 0 0 10px;
  line-height: 1.4;
}

.cs-sidebar-cta-desc {
  font-size: 13px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 20px;
}

.cs-sidebar-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 22px;
  background: var(--white);
  color: var(--ul-primary);
  font-family: iranyekan;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: var(--ul-radius-pill);
  text-decoration: none;
  transition: all var(--ul-transition);
}

.cs-sidebar-cta-btn:hover {
  background: var(--ul-secondary);
  color: var(--white);
  transform: translateY(-2px);
}

.cs-sidebar-cta-btn i {
  font-size: 12px;
  transition: transform var(--ul-transition);
}

.cs-sidebar-cta-btn:hover i {
  transform: translateX(-4px);
}

.cs-sidebar-cta-tel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--ul-transition);
}

.cs-sidebar-cta-tel:hover {
  color: var(--white);
}

.cs-sidebar-cta-tel i {
  font-size: 12px;
  color: var(--ul-secondary-light);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1199px) {
  .cs-grid {
    grid-template-columns: 1fr;
  }

  .cs-hero-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cs-hero-stats {
    max-width: 500px;
  }
}

@media (max-width: 991px) {
  .cs-sidebar {
    position: static;
    margin-top: 40px;
  }

  .cs-filter {
    flex-direction: column;
    align-items: flex-start;
  }

  .cs-filter-tabs {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .cs-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cs-hero-stats {
    grid-template-columns: 1fr;
  }

  .cs-hero-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: start;
    padding: 14px 18px;
    background: var(--ul-bg-soft);
    border-radius: var(--ul-radius-md);
  }

  .cs-hero-stat strong {
    margin: 0;
  }
}

@media (max-width: 575px) {
  .cs-filter-tab {
    padding: 7px 12px;
    font-size: 12px;
  }

  .cs-card-body {
    padding: 18px 20px 20px;
  }

  .cs-sidebar-widget {
    padding: 22px 20px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .cs-card,
  .cs-card-image img,
  .cs-card-overlay,
  .cs-card-view {
    transition: none !important;
    animation: none !important;
  }

  .cs-card {
    opacity: 1;
    transform: none;
  }

  .cs-card-image img {
    filter: none;
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   BLOG STYLES — FULL SUITE FOR SERVICE PAGE
   (همه‌ی این استایل‌ها برای صفحه خدمات هم لازمه)
========================================================= */

/* =========================================================
   5. DOCTOR CTA
========================================================= */

.doctor-cta {
  margin: 80px 0;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ul-secondary), var(--ul-primary));
  color: #fff;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.12);
}

.doctor-cta__content {
  display: flex;
  align-items: center;
  gap: 45px;
  padding: 55px;
}

.doctor-cta__avatar {
  flex: 0 0 230px;
}

.doctor-cta__avatar img {
  width: 230px;
  height: 230px;
  border-radius: 50%;
  object-fit: cover;
  border: 8px solid rgba(255, 255, 255, 0.18);
}

.doctor-cta__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.doctor-cta h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.doctor-cta p {
  font-size: 1.08rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.92);
  max-width: 720px;
}

.doctor-cta ul {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 35px 0;
  padding: 0;
  list-style: none;
}

.doctor-cta ul li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
}

.doctor-cta ul li i {
  font-size: 11px;
  color: var(--ul-secondary-light);
}

.doctor-cta__buttons {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.doctor-cta__buttons .ul-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--ul-radius-pill);
  font-size: 13.5px;
  font-weight: 700;
}

.doctor-cta__btn-ghost {
  background: transparent !important;
  color: var(--white) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.doctor-cta__btn-ghost:hover {
  background: var(--white) !important;
  color: var(--ul-primary) !important;
  border-color: var(--white);
}

/* =========================================================
   8. SIDEBAR WIDGETS
========================================================= */

/* =========================================================
   SERVICES WIDGET — Complete Stylesheet
   با پشتیبانی کامل از SVG Icons + Active/Hover States
========================================================= */

/* =========================================
   WIDGET CONTAINER
========================================= */
.services-wideget {
  background: var(--white);
  border: 1px solid var(--ul-border);
  border-radius: var(--ul-radius-lg);
  padding: 26px 24px;
  box-shadow: var(--ul-shadow-sm);
  transition: box-shadow var(--ul-transition);
}

.services-wideget:hover {
  box-shadow: var(--ul-shadow-md);
}

/* =========================================
   WIDGET TITLE
========================================= */
.services-wideget .widget-title {
  position: relative;
  font-family: iranyekan;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--ul-primary);
  margin: 0 0 20px;
  padding: 0 16px 18px 0;
  border-bottom: 1px solid var(--ul-border-light);
}

.services-wideget .widget-title::before {
  content: "";
  position: absolute;
  right: 0;
  top: 4px;
  width: 5px;
  height: 20px;
  background: var(--ul-secondary);
  border-radius: var(--ul-radius-pill);
}

/* =========================================
   SERVICES LIST
========================================= */
.services-wideget .service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.services-wideget .service-list li {
  margin: 0;
}

/* =========================================
   LINK ITEM
========================================= */
.services-wideget .service-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 14px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--ul-text);
  text-decoration: none;
  font-family: iranyekan;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.5;
  transition:
    background var(--ul-transition),
    color var(--ul-transition),
    transform var(--ul-transition),
    box-shadow var(--ul-transition),
    border-color var(--ul-transition);
}

/* =========================================
   LEFT SIDE (Icon + Title)
========================================= */
.services-wideget .service-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.services-wideget .service-left > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* =========================================
   ICON BOX
========================================= */
.services-wideget .service-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: var(--ul-secondary-soft);
  color: var(--ul-secondary);
  overflow: hidden;
  transition:
    background var(--ul-transition),
    color var(--ul-transition),
    transform var(--ul-transition);
}

/* =========================================
   SVG ICON — رنگ پیش‌فرض
========================================= */
.services-wideget .service-icon svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: var(--ul-secondary) !important;
  transition: fill var(--ul-transition);
}

.services-wideget .service-icon svg *,
.services-wideget .service-icon svg path,
.services-wideget .service-icon svg g,
.services-wideget .service-icon svg circle,
.services-wideget .service-icon svg rect,
.services-wideget .service-icon svg polygon,
.services-wideget .service-icon svg polyline,
.services-wideget .service-icon svg ellipse,
.services-wideget .service-icon svg line {
  fill: inherit !important;
  stroke: none;
  transition:
    fill var(--ul-transition),
    stroke var(--ul-transition);
}

/* =========================================
   ARROW (chevron-left)
========================================= */
.services-wideget .service-list a > i {
  font-size: 11px;
  color: var(--ul-text-light);
  opacity: 0.5;
  flex-shrink: 0;
  transition:
    color var(--ul-transition),
    opacity var(--ul-transition),
    transform var(--ul-transition);
}

/* =========================================
   HOVER STATE
========================================= */
.services-wideget .service-list a:hover {
  background: var(--ul-secondary);
  color: var(--white);
  transform: translateX(-4px);
  box-shadow: 0 8px 20px rgba(13, 109, 253, 0.22);
}

.services-wideget .service-list a:hover .service-icon {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  transform: scale(1.05);
}

.services-wideget .service-list a:hover .service-icon svg {
  fill: #ffffff !important;
}

.services-wideget .service-list a:hover > i {
  color: var(--white);
  opacity: 1;
  transform: translateX(-3px);
}

/* =========================================
   ACTIVE STATE (خدمت فعلی)
========================================= */
.services-wideget .service-list a.active {
  background: var(--ul-secondary);
  color: var(--white);
  box-shadow: 0 10px 25px rgba(13, 109, 253, 0.28);
  border-color: var(--ul-secondary);
}

.services-wideget .service-list a.active .service-icon {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.services-wideget .service-list a.active .service-icon svg {
  fill: #ffffff !important;
}

.services-wideget .service-list a.active > i {
  color: var(--white);
  opacity: 1;
}

/* =========================================
   EMPTY STATE
========================================= */
.services-wideget .service-empty {
  padding: 16px 0;
  text-align: center;
  color: var(--ul-text-muted);
  font-size: 13px;
  font-style: italic;
}

/* =========================================
   FALLBACK — SVG با کلاس‌های رنگی
   (اگه SVG رنگ ثابت داشت با کلاس)
========================================= */
.services-wideget .service-icon svg .svg-fill-primary {
  fill: var(--ul-secondary) !important;
}

.services-wideget .service-list a:hover .service-icon svg .svg-fill-primary,
.services-wideget .service-list a.active .service-icon svg .svg-fill-primary {
  fill: #ffffff !important;
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 1199px) {
  .services-wideget {
    padding: 22px 20px;
  }

  .services-wideget .widget-title {
    font-size: 14.5px;
  }
}

@media (max-width: 991px) {
  .services-wideget {
    padding: 20px;
  }
}

@media (max-width: 575px) {
  .services-wideget {
    padding: 18px;
    border-radius: var(--ul-radius-md);
  }

  .services-wideget .service-list a {
    padding: 10px 12px;
    font-size: 12.5px;
    gap: 8px;
  }

  .services-wideget .service-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .services-wideget .service-icon svg {
    width: 18px;
    height: 18px;
  }

  .services-wideget .service-left {
    gap: 10px;
  }
}

/* =========================================
   REDUCED MOTION
========================================= */
@media (prefers-reduced-motion: reduce) {
  .services-wideget,
  .services-wideget .service-list a,
  .services-wideget .service-icon,
  .services-wideget .service-icon svg,
  .services-wideget .service-list a > i {
    transition: none !important;
  }
}

/* Appointment Widget */
.appointment-widget {
  background: linear-gradient(135deg, var(--ul-primary), var(--ul-secondary));
  border-radius: 28px;
  padding: 35px;
  color: var(--white);
  text-align: center;
  margin-bottom: 30px;
}

.appointment-widget span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0.85;
  margin-bottom: 12px;
  font-size: 14px;
}

.appointment-widget h3 {
  color: var(--white);
  font-size: 1.45rem;
  line-height: 1.8;
  margin-bottom: 28px;
  font-family: iranyekan;
}

.appointment-widget a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  background: var(--white);
  color: var(--ul-primary);
  height: 56px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-family: iranyekan;
  transition: all 0.3s ease;
}

.appointment-widget a:hover {
  background-color: var(--ul-secondary);
  color: var(--white);
}

.appointment-widget a:last-child {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 0;
}

.appointment-widget a:last-child:hover {
  background: var(--white);
  color: var(--ul-primary);
}

.appointment-widget a i {
  font-size: 14px;
}

/* =========================================================
   9. RESPONSIVE
========================================================= */

@media (max-width: 992px) {
  .doctor-cta__content {
    flex-direction: column;
    text-align: center;
    padding: 45px 30px;
  }

  .doctor-cta ul {
    justify-content: center;
  }

  .doctor-cta__buttons {
    justify-content: center;
  }

  .doctor-cta__avatar {
    flex: unset;
  }

  .doctor-cta__avatar img {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 576px) {
  .doctor-cta__content {
    padding: 30px 22px;
  }

  .doctor-cta__avatar img {
    width: 150px;
    height: 150px;
  }

  .doctor-cta h2 {
    font-size: 1.5rem;
  }

  .doctor-cta__buttons {
    flex-direction: column;
    width: 100%;
  }

  .doctor-cta__buttons .ul-btn {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================================
   SERVICES LIST PAGE — Professional
========================================================= */

/* =========================================================
   HERO
========================================================= */
.services-hero {
  padding: clamp(40px, 5.25vw, 80px) 0 clamp(20px, 2.1vw, 30px);
  background: linear-gradient(135deg, var(--ul-bg-soft) 0%, #eef5ff 100%);
  border-bottom: 1px solid var(--ul-border);
  text-align: center;
}

.services-hero-inner {
  max-width: 780px;
  margin: 0 auto;
}

.services-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--ul-secondary);
  margin-bottom: 18px;
}

.services-hero-eyebrow-line {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--ul-secondary);
  opacity: 0.6;
}

.services-hero-title {
  font-family: iranyekan;
  font-size: clamp(28px, 3.15vw, 52px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.5px;
  color: var(--ul-primary);
  margin: 0 0 20px;
}

.services-hero-title em {
  font-style: normal;
  color: var(--ul-secondary);
  position: relative;
  display: inline-block;
}

.services-hero-title em::after {
  content: "";
  position: absolute;
  bottom: 4px;
  inset-inline: 0;
  height: 10px;
  background: var(--ul-secondary-soft);
  z-index: -1;
  border-radius: 4px;
}

.services-hero-desc {
  font-size: clamp(14px, 0.95vw, 16px);
  line-height: 2;
  color: var(--ul-text-muted);
  margin: 0 auto;
  max-width: 620px;
}

/* =========================================================
   SERVICES PAGE
========================================================= */
.services-page {
  background: var(--white);
}

/* =========================================================
   GRID
========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.1vw, 32px);
}

/* =========================================================
   SERVICE CARD
========================================================= */
.service-card {
  position: relative;
  padding: clamp(28px, 2.94vw, 40px) clamp(24px, 2.52vw, 32px);
  background: var(--white);
  border: 1px solid var(--ul-border);
  border-radius: var(--ul-radius-lg);
  overflow: hidden;
  isolation: isolate;
  transition: all 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);

  /* Reveal */
  opacity: 0;
  transform: translateY(30px);
  animation: serviceReveal 0.6s ease forwards;
}

.service-card:nth-child(1) {
  animation-delay: 0.05s;
}
.service-card:nth-child(2) {
  animation-delay: 0.1s;
}
.service-card:nth-child(3) {
  animation-delay: 0.15s;
}
.service-card:nth-child(4) {
  animation-delay: 0.2s;
}
.service-card:nth-child(5) {
  animation-delay: 0.25s;
}
.service-card:nth-child(6) {
  animation-delay: 0.3s;
}
.service-card:nth-child(n + 7) {
  animation-delay: 0.35s;
}

@keyframes serviceReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hover */
.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--ul-secondary-light);
  box-shadow: 0 25px 60px rgba(4, 28, 51, 0.1);
}

/* Corner accent (gradient top-right) */
.service-card-accent {
  position: absolute;
  top: -60px;
  inset-inline-end: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(
    circle,
    rgba(13, 109, 253, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: -1;
  transition: all 0.5s ease;
}

.service-card:hover .service-card-accent {
  background: radial-gradient(
    circle,
    rgba(13, 109, 253, 0.15) 0%,
    transparent 70%
  );
  transform: scale(1.15);
}

/* =========================================================
   ICON
========================================================= */
.service-card-icon {
  width: 64px;
  height: 64px;
  display: inline-grid;
  place-items: center;
  background: var(--ul-secondary-soft);
  color: var(--ul-secondary);
  border-radius: var(--ul-radius-md);
  font-size: 24px;
  margin-bottom: 22px;
  transition: all 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* SVG inside */
.service-card-icon svg {
  width: 32px;
  height: 32px;
  display: block;
  fill: var(--ul-secondary) !important;
  transition: fill 0.3s ease;
}

.service-card-icon svg *,
.service-card-icon svg path,
.service-card-icon svg g,
.service-card-icon svg circle,
.service-card-icon svg rect,
.service-card-icon svg polygon {
  fill: inherit !important;
}

/* Hover */
.service-card:hover .service-card-icon {
  background: var(--ul-secondary);
  color: var(--white);
  transform: scale(1.08) rotate(-6deg);
  box-shadow: 0 15px 35px rgba(13, 109, 253, 0.25);
}

.service-card:hover .service-card-icon svg {
  fill: #ffffff !important;
}

/* =========================================================
   BODY
========================================================= */
.service-card-body {
  position: relative;
}

.service-card-title {
  font-family: iranyekan;
  font-size: clamp(17px, 1.26vw, 19px);
  font-weight: 800;
  line-height: 1.5;
  color: var(--ul-primary);
  margin: 0 0 12px;
}

.service-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--ul-transition);
}

.service-card-title a:hover {
  color: var(--ul-secondary);
}

.service-card-desc {
  font-size: clamp(13px, 0.84vw, 14.5px);
  line-height: 1.95;
  color: var(--ul-text-muted);
  margin: 0 0 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* =========================================================
   CARD BUTTON
========================================================= */
.service-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: transparent;
  color: var(--ul-secondary);
  font-family: iranyekan;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--ul-radius-pill);
  border: 1.5px solid var(--ul-secondary-light);
  text-decoration: none;
  transition: all var(--ul-transition);
  margin-top: auto;
}

.service-card-btn i {
  font-size: 11px;
  transition: transform var(--ul-transition);
}

.service-card-btn:hover {
  background: var(--ul-secondary);
  color: var(--white);
  border-color: var(--ul-secondary);
  box-shadow: 0 8px 20px rgba(13, 109, 253, 0.25);
}

.service-card-btn:hover i {
  transform: translateX(-4px);
}

/* =========================================================
   EMPTY STATE
========================================================= */
.services-empty {
  text-align: center;
  padding: clamp(60px, 6.31vw, 100px) 30px;
  background: linear-gradient(160deg, var(--ul-bg-soft) 0%, #eef5ff 100%);
  border: 1px dashed var(--ul-border-dark);
  border-radius: var(--ul-radius-lg);
}

.services-empty-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--ul-secondary);
  border-radius: 50%;
  font-size: 32px;
  box-shadow: 0 15px 40px rgba(13, 109, 253, 0.15);
}

.services-empty-title {
  font-family: iranyekan;
  font-size: clamp(18px, 1.26vw, 22px);
  font-weight: 800;
  color: var(--ul-primary);
  margin: 0 0 12px;
}

.services-empty-desc {
  font-size: 14px;
  line-height: 2;
  color: var(--ul-text-muted);
  margin: 0 auto 26px;
  max-width: 460px;
}

.services-empty-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  background: var(--ul-secondary);
  color: var(--white);
  font-family: iranyekan;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: var(--ul-radius-pill);
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(13, 109, 253, 0.3);
  transition: all var(--ul-transition);
}

.services-empty-btn:hover {
  background: var(--ul-primary);
  color: var(--white);
  transform: translateY(-3px);
}

.services-empty-btn i {
  font-size: 13px;
}

/* =========================================================
   CTA SECTION
========================================================= */
.services-cta {
  padding: clamp(40px, 5.25vw, 80px) 0;
  background: var(--white);
}

.services-cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: clamp(30px, 3.15vw, 48px) clamp(28px, 3.15vw, 48px);
  background: linear-gradient(
    135deg,
    var(--ul-primary) 0%,
    var(--ul-primary-light) 100%
  );
  border-radius: var(--ul-radius-xl);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 25px 60px rgba(4, 28, 51, 0.18);
}

.services-cta-inner::before {
  content: "";
  position: absolute;
  top: -100px;
  inset-inline-end: -100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(
    circle,
    rgba(13, 109, 253, 0.5) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: -1;
}

.services-cta-icon {
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: var(--ul-radius-md);
  font-size: 28px;
  color: var(--ul-secondary-light);
  flex-shrink: 0;
  transition: transform var(--ul-transition);
}

.services-cta-inner:hover .services-cta-icon {
  transform: rotate(-6deg) scale(1.05);
}

.services-cta-content {
  flex: 1;
  min-width: 0;
}

.services-cta-content h3 {
  font-family: iranyekan;
  font-size: clamp(18px, 1.47vw, 24px);
  font-weight: 800;
  color: var(--white);
  margin: 0 0 8px;
  line-height: 1.5;
}

.services-cta-content p {
  font-size: clamp(13px, 0.84vw, 14.5px);
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.services-cta-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.services-cta-btn,
.services-cta-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  font-family: iranyekan;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: var(--ul-radius-pill);
  text-decoration: none;
  transition: all var(--ul-transition);
  white-space: nowrap;
}

.services-cta-btn {
  background: var(--white);
  color: var(--ul-primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.services-cta-btn:hover {
  background: var(--ul-secondary);
  color: var(--white);
  transform: translateY(-2px);
}

.services-cta-btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.services-cta-btn-ghost:hover {
  background: var(--white);
  color: var(--ul-primary);
  border-color: var(--white);
}

.services-cta-btn i,
.services-cta-btn-ghost i {
  font-size: 13px;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1199px) {
  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .service-card {
    padding: 24px 22px;
  }
}

@media (max-width: 991px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: start;
  }

  .services-cta-actions {
    width: 100%;
  }

  .services-cta-actions > * {
    flex: 1;
    justify-content: center;
    min-width: 140px;
  }
}

@media (max-width: 767px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-card {
    padding: 22px 20px;
  }
}

@media (max-width: 575px) {
  .services-hero {
    padding: 32px 0 22px;
  }

  .service-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }

  .service-card-icon svg {
    width: 26px;
    height: 26px;
  }

  .services-cta-icon {
    width: 60px;
    height: 60px;
    font-size: 22px;
  }

  .services-cta-actions {
    flex-direction: column;
  }

  .services-cta-actions > * {
    width: 100%;
  }
}

/* =========================================================
   REDUCED MOTION
========================================================= */
@media (prefers-reduced-motion: reduce) {
  .service-card,
  .service-card-icon,
  .service-card-icon svg,
  .service-card-btn,
  .service-card-btn i,
  .service-card-accent,
  .services-cta-icon {
    transition: none !important;
    animation: none !important;
  }

  .service-card {
    opacity: 1;
    transform: none;
  }
}
