@media (max-width: 480px) {
  @font-face {
    font-family: Estedad;
    src:
      url("/fontsEstedadwoff2") format("woff2"),
      url("/fontsEstedadwoff") format("woff");
    font-weight: normal;
    font-style: normal;
  }

  @font-face {
    font-family: "Estedad";
    src: url("/fonts/Estedad-FD-Regular.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
  }

  :root {
    --bg: #171f2d;
    --card: #1e293b;
    --muted: #cbd5e1;
    --accent: #3b82f6;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    --soft-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
    --price: #f8fafc;
    --card-width: 480px;
    --rounded: 18px;
    --logo-green: #22c55e;
  }

  body.dark {
    --bg: #f6f7fb;
    --card: #ffffff;
    --muted: #6b7280;
    --accent: #2563eb;
    --shadow: 0 10px 25px rgba(16, 24, 40, 0.08);
    --soft-shadow: 0 6px 18px rgba(16, 24, 40, 0.06);
    --price: #0f172a;
  }

  #app {
    width: 100%;
    position: relative;
    font-family: sans-serif;
    background: #e6e9ef;
    color: #333;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    padding-bottom: 50px;
  }

  div {
    font-family: Estedad;
  }

  .site-brand {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .site-logo {
    width: 75px;
    height: 75px;
    object-fit: contain;
  }

  /******************bread crumb ******************/

  .breadcrumb {
    font-family: Estedad;
    display: flex;
    height: 30px;
    gap: 6px;
    font-size: 10px;
    margin: 5px auto;
    color: var(--price);
    width: 98%;
    background-color: var(--card);
    box-sizing: border-box;
    padding: 2px 12px;
    align-items: center;
    border-radius: 8px;
  }

  .breadcrumb a {
    font-family: Estedad;
    text-decoration: none;
    color: var(--price);
  }

  /****************** main container ***********/

  .phone {
    width: 100%;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--bg);
    background-image: url(/back.png);
  }

  /****************** header ***********/

  .header {
    position: relative;
    height: 100px;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 95px;
    background: rgba(255, 255, 255, 0);
    z-index: 1;
  }

  .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    width: 99%;
    border-radius: 10px;
    box-sizing: border-box;
    height: 100%;
    margin: 2px auto;
    background: #1e293bd9;
    z-index: 10;
  }

  .site-header h1 {
    font-size: 18px;
    color: var(--price);
    font-family: "Estedad";
    float: left;
    margin: 0;
  }

  /****************** header ***********/

  .menu-btn {
    font-size: 43px;
    color: var(--price);
    line-height: 35px;
    width: auto;
    height: 40px;
    position: absolute;
    cursor: pointer;
    right: 5%;
  }

  #menuBtn {
    display: block;
  }

  .menu-toggle {
    position: static;
    font-size: 40px;
    display: block;
    background: none;
    border: none;
    font-size: 50px;
    color: var(--price);
    z-index: 101;
  }

  .search {
    width: 50%;
    margin: 0 auto;
    margin-right: 12%;
    height: 45px;
    padding-right: 3%;
    background: var(--card);
    border: 1;
    border: 1px solid #a9a9a9;
    border-radius: 10px;
    font-size: 15px;
    font-family: "Estedad";
    color: var(--price);
    color: white;
  }

  .header-logo {
    width: 20%;
    height: 100%;
    box-sizing: border-box;
    padding: 5px;
    position: absolute;
    left: 40%;
  }

  .header-logo img {
    height: 100%;
  }

  .menu-logo {
    width: 16%;
    position: absolute;
    display: flex;
    align-items: center;
    left: 7%;
    top: 1%;
    justify-content: center;
  }

  .menu-logo img {
    width: 100%;
  }

  .site-title {
    font-size: 18px;
  }

  .side-menu {
    display: block !important;
    position: fixed;
    height: 100%;
    inset: 0;
    background: var(--card);
    transform: translateY(-100%);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
  }

  .side-menu.open {
    transform: translateY(0);
  }

  .side-menu ul {
    margin: 0;
    margin-top: 5px;
    padding: 0;
    border-top: 3px solid #cbd5e17a;
  }

  .side-menu ul li {
    list-style: none;
    opacity: 0;
    transform: translateY(-25px);
    transition:
      opacity 0.6s ease,
      transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: calc(var(--i) * 0.08s);
  }

  .side-menu.open ul li {
    opacity: 1;
    transform: translateY(0);
    border-bottom: 1px solid #e6e6e617;
  }

  .side-menu ul li a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 22px;
    font-size: 18px;
    color: var(--price);
    text-decoration: none;
  }

  .side-menu ul li img {
    width: 28px;
    height: 28px;
    object-fit: contain;
  }

  #search-icon {
    font-size: 21px;
    color: #c1c1c1;
    position: absolute;
    left: 42%;
  }

  .direct-msg {
    width: 7%;
    position: static;
  }

  .direct-msg img {
    width: 100%;
  }

  /************** stories *************/
  .story-wrapper {
    overflow-x: auto;
    padding: 10px 0;
    margin-bottom: 12px;
  }

  .story-track {
    display: flex;
    gap: 15px;
  }

  .story-item {
    text-align: center;
    min-width: 85px;
  }

  .story-item a {
    display: flex;
    text-align: center;
    flex-direction: column;
    align-content: center;
    align-items: center;
  }

  .story-item img {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e1306c;
  }

  .story-item p {
    text-decoration: none;
    color: var(--muted);
    font-size: 13px;
    width: 80%;
  }

  .story-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
  }

  .story-modal.active {
    display: flex;
  }

  .story-modal-content {
    position: relative;
    width: 450px;
    /* کمی عریض‌تر برای نمایش بهتر */
    max-width: 95%;
    height: 85vh;
    /* ارتفاع بیشتر برای حس استوری بهتر */
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* مرکز کردن محتوا در صورت وجود فضای خالی */
    overflow: hidden;
    padding: 0;
    /* حذف پدینگ برای اینکه مدیا به لبه‌ها بچسبد */
  }

  .story-body {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .story-body img,
  .story-body video {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    /* اصلی‌ترین تغییر اینجاست: */
    object-fit: contain;
    background-color: #000;
    /* فضای خالی سیاه بماند */
  }

  .story-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 5;
    background: none;
    border: none;
    font-size: 60px;
    color: red;
    cursor: pointer;
  }

  .story-nav {
    display: flex;
    position: absolute;
    top: 0;
    height: 100%;
    line-height: 100%;
    width: 50%;
    cursor: pointer;
    flex-direction: column;
    align-content: space-between;
    justify-content: center;
    align-items: center;
  }

  .story-prev {
    display: flex;
    left: 0;
    font-size: 40px;
    color: white;
    align-items: flex-end;
  }

  .story-next {
    display: flex;
    font-size: 40px;
    color: white;
    right: 0;
    align-items: flex-start;
  }

  .story-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background: white;
    z-index: 5;
    transition: width linear;
  }

  .story-caption {
    position: absolute;
    display: flex;
    bottom: -10px;
    width: 92%;
    min-height: 60px;
    height: auto;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    color: var(--price);
    font-weight: bold;
    margin: 0 auto;
    z-index: 10001;
    align-items: center;
  }

  /************** cards *************/

  .grid {
    display: grid;
    width: 100%;
    background-color: #171f2ddb;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    height: auto;
    margin-top: 0px;
    padding: 0 50px;
    padding-bottom: 50px;
    margin-bottom: 50px;
  }

  .card {
    border-radius: 20px;
    text-align: center;
    transition: 0.2s;
    box-shadow: none;
    color: var(--price);
    text-decoration: none;
  }

  .icon {
    background: rgba(255, 255, 255, 0);
    box-shadow: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 0;
    margin-bottom: 0;
  }

  .grid p {
    font-size: 13px;
    margin: 10px;
    padding: 0;
  }

  .icon img {
    background-color: var(--card);
    width: 65px;
    height: 65px;
    object-fit: contain;
  }

  .section-title {
    display: block;
    padding: 5px 15px;
    margin-top: 0;
    padding-top: 15px;
    font-size: 20px;
    font-weight: bold;
    color: var(--muted);
    background: #171f2ddb;
  }

  /*********************** slider **********************************/

  .mhs-container {
    direction: rtl;
    position: relative;
    max-width: 420px;
    margin: 40px auto;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  }

  .mhs-track {
    display: flex;
    flex-direction: row;
    /* مهم برای RTL */
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.18, 1);
  }

  .mhs-item {
    min-width: 100%;
    width: 100%;
    text-align: center;
    position: relative;
  }

  .mhs-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
  }

  .mhs-caption {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 18px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
    color: #fff;
    text-align: center;
    font-size: 17px;
    font-weight: bold;
    letter-spacing: 0.5px;
  }

  .mhs-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    border: none;
    font-size: 22px;
    width: 44px;
    height: 44px;
    line-height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 5;
    backdrop-filter: blur(4px);
  }

  .mhs-nav-btn:active {
    transform: translateY(-50%) scale(0.92);
  }

  /* در RTL جای فلش‌ها برعکس می‌شود */
  .mhs-prev {
    right: 12px;
    direction: ltr;
  }

  .mhs-next {
    left: 12px;
    direction: ltr;
  }

  /******************care article and news *************/

  .cares {
    padding: 10px 15px;
    margin: 25px 0px;
    border-radius: 10px;
    background-image: url(/img/care1.jpg);
  }

  .complications-wrapper {
    padding: 10px 15px;
    margin: 25px 0px;
    border-radius: 10px;
    background-image: url(/img/comp1.jpg);
  }

  .care {
    display: flex;
    gap: 10px;
    background: rgb(0 0 0 / 21%);
    backdrop-filter: blur(12px);
    margin-bottom: 10px;
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgb(255 255 255 / 14%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 15px 15px;
    color: #fff;
    text-decoration: none;
    align-items: center;
  }

  .care div h3 {
    color: var(--price);
    font-weight: bold;
  }

  .care div p {
    color: var(--muted);
    font-size: 13px;
  }

  .articles {
    padding: 10px 15px;
    margin: 15px 5px;
    background-color: var(--card);
    border-bottom: 1px solid rgb(121, 121, 121);
  }

  .article {
    display: flex;
    gap: 5px;
    background: rgba(255, 255, 255, 0.1);
    height: 410px;
    backdrop-filter: blur(12px);
    margin-bottom: 10px;
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 0px 0px;
    color: #fff;
    text-decoration: none;
    align-items: center;
    flex-direction: column;
    align-content: center;
  }

  .special-text {
    text-align: center;
  }

  .care-thumb {
    width: 160px;
    height: 100px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
  }

  .article-thumb {
    width: 100%;
    height: 240px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-radius: 16px;
  }

  .see-all {
    text-align: center;
  }

  .see-all a {
    display: inline-block;
    text-decoration: none;
    color: var(--muted);
    padding: 6px 15px;
    border: 1px solid #aaa;
    border-radius: 8px;
    font-size: 14px;
    transition: 0.2s;
  }

  .see-all a:hover {
    background: #222;
    color: #fff;
  }

  /********************************* scroll card ********************************/

  .blog-container {
    height: 65vh;
    background: #171f2dc7;
    padding: 6px 0;
  }

  .slider {
    width: 95%;
  }

  .nav {
    display: none;
  }

  .slider-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
  }

  .slider-track {
    width: max-content;
    gap: 10px;
    height: auto;
    display: flex;
    direction: rtl;
    width: 100%;
    box-sizing: border-box;
  }

  .scroll-card {
    flex: 0 0 45%;
    opacity: 1 !important;
    text-align: center;
    text-decoration: none;
    background-color: var(--card);
    margin: 5px 10px;
    border-radius: 10px;
    height: 90%;
    padding: 5px;
    box-sizing: border-box;
    box-shadow: var(--soft-shadow);
    opacity: 0;
    transition:
      opacity 0.25s ease,
      transform 0.25s ease;
  }

  .scroll-title {
    text-decoration: none;
    display: block;
    color: var(--price);
    font-size: 12px;
    margin: 5px;
    text-align: right;
    height: 80px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #bfbfbf;
  }

  /********************************* modal contact ********************************/

  .live-contact-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s ease;
    z-index: 99999;
  }

  .live-contact-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Modal Box */
  .live-contact-box {
    width: 95%;
    height: 85vh;
    max-width: 420px;
    background: var(--bg);
    box-sizing: border-box;
    border-radius: 20px;
    padding: 25px 20px 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    transform: translateY(30px);
    transition: 0.4s ease;
    font-family: "Estedad", sans-serif;
    position: relative;
  }

  .live-contact-overlay.active .live-contact-box {
    transform: translateY(0);
  }

  /* Close Button */
  .live-close {
    position: absolute;
    top: 5px;
    left: 20px;
    background: #f1f5f900;
    width: 32px;
    color: red;
    height: 32px;
    box-shadow: none;
    border: none;
    cursor: pointer;
    font-size: 35px;
    transition: 0.3s;
  }

  /* Title */
  .live-contact-box h3 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--price);
  }

  /* Inputs */
  .live-contact-box input,
  .live-contact-box textarea {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: none;
    background: var(--card);
    margin-bottom: 12px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
  }

  .live-contact-box input:focus,
  .live-contact-box textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
  }

  .live-contact-box textarea {
    resize: none;
    min-height: 90px;
  }

  /* Submit Button */
  .live-submit {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    font-family: "ESTEDAD";
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
  }

  .live-submit:hover {
    transform: translateY(-2px);
  }

  /* Contact Info */
  .live-contact-info {
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
    font-size: 13px;
    color: #475569;
    line-height: 1.8;
    text-align: center;
  }

  .live-contact-info a {
    color: #2563eb;
    text-decoration: none;
  }

  @media (max-width: 480px) {
    .live-contact-box {
      padding: 10px 15px;
    }
  }

  /********************************* footer styles ********************************/

  .footer {
    padding: 10px 0px;
    display: flex;
    background-color: var(--bg);
    text-align: center;
    margin-top: 30px;
    width: 100%;
    margin: 0 auto;
    margin-top: 60px;
    border-top: 8px solid #1b98e0a6;
    flex-direction: column;
    align-items: center;
    align-content: center;
  }

  .footer-about {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin: 40px auto;
    box-sizing: border-box;
    padding: 0;
  }

  .footer-about h3 {
    position: static;
    color: white;
    font-weight: bold;
  }

  .footer p {
    padding: 10px 50px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
    color: var(--muted) #cbd5e1;
  }

  .footer-menu {
    display: flex;
    gap: 5px;
    backdrop-filter: blur(12px);
    margin-bottom: 10px;
    -webkit-backdrop-filter: blur(12px);
    border: none;
    border-top: 1px solid #626262;
    padding: 5px 10px;
    width: 95%;
    box-sizing: border-box;
    margin: 0 auto;
    margin-bottom: 80px;
    color: #fff;
    text-decoration: none;
    flex-direction: column;
  }

  .footer a {
    text-decoration: none;
    color: var(--muted);
    font-size: 12px;
    display: block;
    margin: 6px 0;
  }

  .footer p {
    padding: 10px;
    font-size: 14px;
    color: var(--muted);
    margin-top: 4%;
  }

  .footer-about h3 {
    color: white;
    font-weight: bold;
  }

  .footer-contact h4 {
    color: white;
    font-weight: bold;
  }

  .footer-logo {
    width: 100%;
    justify-content: center;
  }

  .footer-logo img {
    height: 80px;
    margin: 10px;
  }

  .footer-menu h4 {
    position: static;
    margin: 5px;
    margin-bottom: 20px;
  }

  .footer-menu {
    color: white;
  }

  .footer-menu ul {
    text-align: right;
    font-size: 20px;
    margin: 0;
    margin-bottom: 10px;
    list-style: none;
    display: flex;
    /* grid-template-columns: repeat(2, 1fr); */
    gap: 20px;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    flex-direction: column;
    align-items: center;
  }

  .footer-menu ul li {
    font-size: 20px;
  }

  .footer-menu ul li a {
    font-size: 14px;
    font-weight: bold;
  }

  .footer-copy {
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex-direction: column;
    font-size: 12px;
    border-top: 1px solid var(--card);
    align-content: center;
  }

  .footer-copy p {
    margin: 0;
    font-size: 10px;
  }

  .footer-copy a {
    margin-bottom: 20px;
    font-size: 10px;
  }

  /*************** single surgeries *********************/

  .single-container {
    background: var(--muted);
    min-height: 100vh;
    height: auto;
    margin: 5px;
    padding: 25px 10px;
    border-radius: 22px;
    box-sizing: border-box;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    color: var(--muted);
  }

  .single-title {
    background: var(--card);
    font-size: 15px;
    margin-bottom: 15px;
    color: var(--price);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
  }

  .single-title img {
    width: 100px;
    height: 100px;
  }

  .single-description {
    color: var(--muted);
    line-height: 1.8;
    opacity: 0.85;
    margin-bottom: 20px;
    font-size: 15px;
  }

  .single-section-title {
    color: var(--muted);
  }

  /* ====== single contact ====== */

  .contact-single {
    display: flex;
    border-radius: 20px;
    margin-top: 50px;
    padding: 20px;
    min-height: 62vh;
    height: auto;
    text-align: center;
    color: #151515;
    border: 1px solid gray;
    width: 98%;
    background-color: #cbd5e1;
    margin: 0 auto;
    box-sizing: border-box;
    flex-direction: column;
    margin-top: 50px;
  }

  .contact-single form {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 85%;
    margin: 5px auto;
  }

  .contact-single form input,
  textarea {
    border-radius: 10px;
    height: 40px;
    border: none;
    font-family: "Estedad";
    padding: 5px;
    font-size: 12px;
  }

  .contact-single form textarea {
    height: 80px;
  }

  /* ====== single recomendation ====== */

  h3.recomend-title {
    margin: 20px auto;
    width: 25%;
    text-align: center;
    color: var(--price);
  }

  .recomend {
    display: flex;
    width: 100%;
    margin: 0px auto;
    box-sizing: border-box;
    align-items: center;
    flex-direction: column;
    justify-content: center;
  }

  .recomend-icon {
    width: 50px;
    height: 50px;
    margin: 10px;
  }

  .recomend ul {
    height: auto;
    width: 95%;
    margin: 0 auto;
    padding: 0;
  }

  .recomend ul li {
    list-style: none;
    height: auto;
  }

  .recomend-link {
    display: flex;
    gap: 15px;
    backdrop-filter: blur(12px);
    margin-bottom: 10px;
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 15px 15px;
    color: #dbdbdb;
    text-decoration: none;
    align-items: center;
    flex-direction: column;
  }

  .pink {
    background: linear-gradient(to right, #2d2129, #302b2e);
  }

  .green {
    background: linear-gradient(to right, #3a4335, #293125);
  }

  .gray {
    background: linear-gradient(to right, #4f4f4f, #919191);
  }

  .recomend ul li a {
    text-decoration: none;
  }

  /************* single faq ***********/

  .faq-wrapper {
    max-height: 0;
    overflow: hidden;
    height: auto;
    border: 1px solid gray;
    transition: max-height 0.4s ease;
  }

  .faq-wrapper.open {
    max-height: 3000px;
  }

  .faq-toggle {
    background-color: #ffffff00;
    border: none;
    font-family: "Estedad";
    color: #000000;
    padding: 4px 30px;
    font-size: 20px;
    cursor: pointer;
    margin: 10px auto;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .faq-toggle i {
    font-size: 18px;
    transition: transform 0.3s ease;
  }

  .faq-toggle.open i {
    transform: rotate(180deg);
  }

  .single-faq {
    margin: 0;
    line-height: 1.9;
  }

  /**************** gallery ***********/
  .gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .gallery-item {
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    overflow: hidden;
    background: #e6e9ef;
    box-shadow: var(--soft-shadow);
  }

  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
  }

  /***************** MODAL *************/
  .gallery-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    flex-direction: column;
    justify-content: center;
    z-index: 9999;
  }

  .gallery-modal.open {
    display: flex;
  }

  /*********** SLIDER ************/
  .gallery-slider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .gallery-slider img {
    max-width: 90%;
    max-height: 60vh;
    border-radius: 16px;
  }

  .nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    font-size: 32px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
  }

  .nav.prev {
    right: 10px;
  }

  .nav.next {
    left: 10px;
  }

  /********** THUMBNAILS *********/
  .gallery-thumbs {
    display: flex;
    gap: 8px;
    padding: 12px;
    overflow-x: auto;
    justify-content: center;
  }

  .gallery-thumbs img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    opacity: 0.6;
    cursor: pointer;
  }

  .gallery-thumbs img.active {
    opacity: 1;
    outline: 2px solid #fff;
  }

  /************** CLOSE ************/
  .close-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    color: white;
    font-size: 22px;
    cursor: pointer;
  }

  /****************** single article ********************/

  .single-article-title {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .single-article-text {
    line-height: 2;
    opacity: 0.9;
    font-size: 16px;
  }

  /****************** lists ********************/

  .list-intro {
    background: var(--card);
    padding: 10px 0;
    width: 98%;
    margin: 0 auto;
    border-radius: 10px;
  }

  .list-intro a {
    color: blueviolet;
    text-decoration: none;
    font-weight: bold;
  }

  .list-container {
    min-height: 120vh;
  }

  .list-title {
    font-size: 20px;
    color: var(--price);
    margin-right: 10px;
  }

  .list-description {
    margin: 0 auto;
    color: var(--muted);
    font-size: 15px;
    width: 94%;
  }

  .neu-card {
    background: var(--card);
    text-align: center;
    border-radius: 22px;
    padding: 20px;
    margin: 15px;
    text-decoration: none;
    display: block;
    color: var(--muted);
    box-shadow: var(--soft-shadow);
    transition: 0.2s;
  }

  .neu-card h3 {
    margin: 10px 0;
  }

  .neu-card .icon {
    font-size: 42px;
    margin-bottom: 10px;
  }

  .list-container {
    padding: 20px;
    margin-bottom: 120px;
  }

  /****************** clinic list ********************/

  .articles-list {
    display: flex;
    flex-direction: row;
    gap: 14px;
    padding: 0 10px;
    padding-top: 20px;
    border-top: 1px solid white;
  }

  .list-filter {
    width: 25%;
    height: 35px;
    margin-bottom: 5px;
    border-radius: 5px;
    font-family: "Estedad";
  }

  .clinic-card {
    display: flex;
    width: 100%;
    background: white;
    flex-direction: row;
  }

  .clinic-thumb {
    border-radius: 10px;
    padding: 10px;
    width: auto;
    height: 80px;
  }

  /****************** thumbnail ********************/

  .thumb {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow:
      6px 6px 12px #c5c7cc,
      -6px -6px 12px #ffffff;
    margin-bottom: 12px;
  }

  .article-card {
    background: #e6e9ef;
    padding: 20px;
    border-radius: 22px;
    margin: 15px;
    box-shadow:
      10px 10px 20px #c5c7cc,
      -10px -10px 20px #ffffff;
  }

  /****************** about and contact styles ********************/

  .contact-container {
    width: 100%;
    margin: 20px auto;
    background: #0f172a;
    padding: 40px 30px;
    border-radius: 20px;
    box-sizing: border-box;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    color: white;
  }

  .contact-title {
    text-align: center;
    margin-bottom: 10px;
  }

  .contact-description {
    text-align: center;
    opacity: 0.8;
    margin-bottom: 30px;
  }

  .form-group {
    margin-bottom: 20px;
  }

  .form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    opacity: 0.9;
  }

  .input-modern {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    box-sizing: border-box;
    background: #1e293b;
    color: white;
    transition: 0.3s;
  }

  .input-modern:focus {
    background: #273449;
    box-shadow: 0 0 0 2px #3b82f6;
  }

  textarea.input-modern {
    resize: none;
    min-height: 120px;
  }

  .phone-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
  }

  .phone-platforms label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    background: #1e293b;
    padding: 6px 10px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
  }

  .phone-platforms input {
    accent-color: #3b82f6;
  }

  .phone-platforms label:hover {
    background: #334155;
  }

  .btn-submit {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 14px;
    font-family: inherit;
    font-size: 15px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
  }

  .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }

  /* 📱 نسخه موبایل */
  @media (max-width: 600px) {
    .contact-container {
      padding: 30px 20px;
      border-radius: 16px;
    }

    .contact-platforms {
      flex-direction: column;
      align-items: flex-start;
    }
  }

  /*****************about ***********************/

  .about-wrapper {
    background-color: #0f172a;
    max-width: 1100px;
    box-sizing: border-box;
    margin: 20px auto;
    padding: 0 20px;
  }

  .about-hero {
    text-align: center;
    margin-bottom: 50px;
  }

  .about-hero h1 {
    font-size: 24px;
    padding: 20px 0;
    color: var(--muted);
  }

  .about-hero p {
    color: var(--muted);
    line-height: 1.9;
    font-size: 15px;
  }

  /* Doctors Section */
  .doctors-section {
    margin-top: 40px;
  }

  .section-title {
    text-align: center;
    font-size: 22px;
    color: var(--muted);
  }

  .doctors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .doctor-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
  }

  .doctor-card:hover {
    transform: translateY(-6px);
  }

  .doctor-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
  }

  .doctor-content {
    padding: 20px;
  }

  .doctor-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #0f172a;
  }

  .doctor-specialty {
    font-size: 14px;
    color: #1e3a8a;
    margin-bottom: 10px;
  }

  .doctor-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 12px;
  }

  .doctor-meta {
    font-size: 13px;
    color: #444;
    background: #f1f5f9;
    padding: 8px 12px;
    border-radius: 10px;
  }

  /* Mobile */
  @media (max-width: 768px) {
    .about-hero h1 {
      font-size: 24px;
    }

    .doctors-grid {
      grid-template-columns: 1fr;
    }

    .doctor-image {
      width: 40%;
      height: 280px;
      margin: 0 auto;
      border-radius: 20px;
      object-fit: cover;
    }
  }

  /***************** article *******************/

  .articles-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 0 10px;
    padding-top: 20px;
    border-top: 1px solid white;
  }

  .article-card {
    display: flex;
    gap: 12px;
    padding: 14px;
    border-radius: 20px;
    background: #e6e9ef;
    box-shadow: var(--soft-shadow);
    text-decoration: none;
    color: inherit;
    flex-direction: column;
  }

  .article-content h3 {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 6px;
  }

  .article-content p {
    font-size: 13px;
    color: #1c1c1c;
    line-height: 1.6;
  }

  /*******************article single *****************/

  .article-container {
    background: #ffffff;
    min-height: 100vh;
    margin: 5px;
    padding: 10px;
    border-radius: 22px;
    box-sizing: border-box;
    box-shadow: var(--shadow);
  }

  .single-article-description {
    color: #000000;
    line-height: 1.8;
    opacity: 0.85;
    margin-bottom: 20px;
    font-size: 15px;
  }

  .article-main-thumb {
    width: 100%;
    border-radius: 20px;
    margin-bottom: 14px;
    box-shadow:
      6px 6px 12px #c5c7cc,
      -6px -6px 12px #ffffff;
  }

  .single-article-title {
    font-size: 20px;
    margin: 10px 0;
  }

  .article-inline-image {
    width: 100%;
    border-radius: 16px;
    margin: 18px 0;
  }

  .single-article-text {
    font-size: 14px;
    line-height: 2;
    opacity: 0.9;
  }

  /***************** singles ***********/

  .bottom-app-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--card);
    display: flex;
    border-radius: 10px 10px 0px 0;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0 8px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
  }

  .bottom-app-menu a {
    flex: 1;
    text-align: center;
    text-decoration: none;
    color: var(--muted);
    font-family: "Estedad", sans-serif;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-left: 1px solid var(--muted);
    gap: 4px;
    transition: 0.3s;
  }

  .bottom-app-menu a:last-child {
    border-left: none;
  }

  .bottom-app-menu a i {
    font-size: 15px;
    width: 28px;
    height: 28px;
  }

  .bottom-app-menu a svg {
    font-size: 15px;
    width: 28px;
    height: 28px;
  }

  .bottom-app-menu a:hover {
    transform: translateY(-3px);
    color: #38bdf8;
  }

  @media (min-width: 768px) {
    .bottom-app-menu {
      max-width: 500px;
      left: 50%;
      transform: translateX(-50%);
      border-radius: 20px 20px 0 0;
    }
  }

  /***************** singles ***********/

  /* Mobile First – max-width: 480px */
  .content-article {
    font-size: 15px;
    line-height: 2;
    color: #333;
    padding: 16px;
  }

  .content-article h1 {
    font-size: 22px;
    margin-bottom: 16px;
  }

  .content-article h2 {
    font-size: 18px;
    margin: 32px 0 12px;
    border-right: 4px solid #c9a24d;
    padding-right: 10px;
  }

  .content-article h3 {
    font-size: 16px;
    margin: 24px 0 8px;
  }

  .content-article p {
    margin-bottom: 14px;
  }

  /* Image block */
  .content-image {
    margin: 16px 0;
    text-align: center;
  }

  .content-image img {
    width: 100%;
    border-radius: 10px;
  }

  .content-box {
    padding: 14px;
    border-radius: 10px;
    margin: 12px 0;
  }

  .content-box ul {
    padding-right: 18px;
  }

  .content-box li {
    margin-bottom: 8px;
  }

  .icon-text-item {
    margin-bottom: 18px;
  }

  .icon-wrapper {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
  }

  .icon-wrapper img {
    width: 100%;
  }
}