﻿

/* Fonts */
:root {
  --default-font: "Vazir",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Vazir",  sans-serif;
  --nav-font: "Vazir",  sans-serif;
}
/* وقتی زبان انگلیسی فعلی است */
html.en {
    --default-font: "Quicksand", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    --heading-font: "Quicksand", sans-serif;
    --nav-font: "Quicksand", sans-serif;
}

/* اگر عربی است (باز هم Vazir یا فونت عربی دلخواه) */
html.ar {
    --default-font: "Vazir", sans-serif;
    --heading-font: "Vazir", sans-serif;
    --nav-font: "Vazir", sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
    --background-color: #ffffff; /* Background color for the entire website, including individual sections */
    --default-color: #212529; /* Default color used for the majority of the text content across the entire website */
    --heading-color: #052c3f; /* Color for headings, subheadings and title throughout the website */
    --accent-color: #D6B24C; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
    --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
    --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
    --nav-color: #ffffff; /* The default color of the main navmenu links */
    --nav-hover-color: #D6B24C; /* Applied to main navmenu links when they are hovered over or active */
    --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
    --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
    --nav-dropdown-color: #212529; /* Used for navigation links of the dropdown items in the navigation menu. */
    --nav-dropdown-hover-color: #D6B24C; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f7f9fb;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #04253d;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #07426d;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: auto !important;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
    display: none;
    background: #df1529;
    color: #ffffff;
    text-align: left;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.php-email-form .sent-message {
    display: none;
    color: #ffffff;
    background: #059652;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.php-email-form .loading {
    display: none;
    background: var(--surface-color);
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
}

    .php-email-form .loading:before {
        content: "";
        display: inline-block;
        border-radius: 50%;
        width: 24px;
        height: 24px;
        margin: 0 10px -6px 0;
        border: 3px solid var(--accent-color);
        border-top-color: var(--surface-color);
        animation: php-email-form-loading 1s linear infinite;
    }

@keyframes php-email-form-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(255, 255, 255, 0);
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

    .header .logo img {
        position: relative;
        top: -3px; /* 👈 با این مقدار لوگو بالاتر یا پایین‌تر میره */
        /*max-height: 26px;*/
      
        /*width: 45px;*/
        height: auto;
       
      
        height: 40px; /* به‌جای 26 امتحان کن */
        width: auto;
        max-height: none;
        margin-right: 8px;
        margin-left: 6px;
    }

    .header .logo .site-title {
        font-size: 20px;
        margin: 0;
        font-weight: 700;
        color: var(--heading-color);
    }

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
    --background-color: rgba(100, 100, 100, 0.85);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 14px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/* ===============================
   Custom Navbar for Dr. Babayi
   =============================== */
/* دکمه رزرو */
.btn-reserve {
    background-color: #d6b24c; /* طلایی سایت */
    color: #fff;
    padding: 8px 15px !important;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

    .btn-reserve:hover {
        background-color: #b8963a; /* کمی تیره‌تر در هاور */
        color: #fff;
    }

/* منوی زبان */
.language-menu a {
    color: #fff;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
}

    .language-menu a:hover {
        color: #D6B24C;
    }

.language-menu .dropdown-menu {
    top: 100% !important;
    left: auto !important;
    right: 0 !important;
    border: none;
    background: #fff;
    border-radius: 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    animation: dropdownFade 0.3s ease forwards;
}

    .language-menu .dropdown-menu a {
        color: #141414;
        font-weight: 500;
        padding: 8px 16px;
    }

        .language-menu .dropdown-menu a:hover {
            background-color: rgba(214,178,76,0.1);
            color: #D6B24C;
        }

/* پرچم */
.flag-icon {
    width: 20px;
    height: 15px;
}

/* انیمیشن */
@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

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

/* چینش */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (max-width: 1199px) {
    .header-actions {
        display: none;
    }
    .navmenu .btn-reserve {
        width: auto !important; /* 👈 فقط اندازه متن */
        display: inline-flex !important;
        margin: 10px 13px; /* 👈 کمی فاصله از حاشیه‌های منو */
        justify-content: center;
        align-items: center;
        padding: 8px 18px !important; /* 👈 هم‌تراز با نسخه دسکتاپ */
        border-radius: 25px;
    }

 
}
.navmenu a,
.language-menu a,
.btn-reserve {
    display: flex;
    align-items: center;
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
    color: var(--default-color);
    background: url(/assets/img/footer-bg.jpg) center no-repeat;
    background-size: cover;
    font-size: 14px;
    text-align: center;
    padding: 30px 0;
    position: relative;
}

.footer:after {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
}

.footer .container {
  position: relative;
  z-index: 1;
}

    .footer .sitename {
        font-size: 36px;
        font-weight: 700;
        position: relative;
        padding: 0;
        margin: 0 0 15px 0;
    }

.footer p {
  font-size: 15;
  font-style: italic;
  padding: 0;
  margin: 0 0 30px 0;
}

.footer .social-links {
  margin: 0 0 30px 0;
}

.footer .social-links a {
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: var(--contrast-color);
  line-height: 1;
  margin: 0 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  text-decoration: none;
}

.footer .copyright {
  padding-top: 25px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .credits {
  font-size: 13px;
  padding-top: 5px;
}
    .footer .social-links a {
        width: 36px;
        height: 36px;
        margin: 0 6px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background-color: var(--accent-color); /* طلایی */
        border-radius: 50%;
        transition: all 0.3s ease;
    }

    .footer .social-links svg {
        width: 18px;
        height: 18px;
        fill: #fff; /* آیکون سفید */
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    /* Hover لوکس، نرم */
    .footer .social-links a:hover {
        background-color: #fff;
    }

        .footer .social-links a:hover svg {
            fill: var(--accent-color);
            transform: scale(1.1);
        }


/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 140px 0 80px 0;
  text-align: center;
  position: relative;
}

.page-title h1 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  padding-left: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
    width: 100%;
    height: 100vh; /* تمام ارتفاع صفحه */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0; /* حذف فاصله پیش‌فرض */
}


    .hero img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover; /* تصویر متناسب ولی پر کننده */
        z-index: 1;
    }

    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.3); /* یا از تم سایت color-mix استفاده کن */
        z-index: 2;
    }

    .hero .container {
        position: relative;
        z-index: 3;
        text-align: center;
        color: #fff;
    }


.hero h1 {
  margin: 0;
  font-size: 44px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h2 {
  margin: 10px 0 0 0;
  font-size: 24px;
  color: var(--heading-color);
}

.hero .btn-get-started {
  color: var(--default-color);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 40px;
  margin: 180px 0 0 0;
  border-radius: 4px;
  transition: 0.5s;
  border: 2px solid var(--accent-color);
}

.hero .btn-get-started:hover {
  color: var(--contrast-color);
  background: var(--accent-color);
  border-color: var(--accent-color);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 28px;
  }

  .hero h2 {
    font-size: 18px;
  }
}


/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h3 {
  font-weight: 700;
  font-size: 34px;
  margin-bottom: 30px;
}

.about .content p {
  margin-bottom: 30px;
}

.about .content .about-btn {
  padding: 8px 30px 9px 30px;
  color: var(--accent-color);
  border-radius: 50px;
  transition: 0.3s;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--accent-color);
}

.about .content .about-btn i {
  font-size: 16px;
  padding-left: 5px;
}

.about .content .about-btn:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.about .icon-box i {
  font-size: 40px;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.about .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px 0;
}

.about .icon-box h4 a {
  color: var(--heading-color);
  transition: 0.3s;
}

.about .icon-box p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 0;
}

.about .icon-box:hover h4 a {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.stats .stats-item i {
  color: var(--accent-color);
  font-size: 42px;
  line-height: 0;
  margin-right: 20px;
}

.stats .stats-item span {
  color: var(--heading-color);
  font-size: 36px;
  display: block;
  font-weight: 600;
}

.stats .stats-item p {
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 16px;
}

.stats .stats-item {
    background-color: var(--surface-color);
    box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

    .stats .stats-item svg {
        /* 1. رنگ‌دهی (SVG با currentColor کار می‌کند) */
        color: var(--accent-color);
        /* 2. تعیین سایز: جایگزین font-size شد */
        width: 50px;
        height: 50px;
        /* 3. هم‌راستایی و حاشیه‌بندی */
        margin-right: 20px;
        /* برای اطمینان از هم‌راستایی عمودی آیکن با متن/عدد */
        vertical-align: middle;
        /* برای بهتر شدن نمایش در کنار متن */
        display: inline-block;
    }

    .stats .stats-item span {
        color: var(--heading-color);
        font-size: 36px;
        display: block;
        font-weight: 600;
    }

    .stats .stats-item p {
        padding: 0;
        margin: 0;
        font-family: var(--heading-font);
        font-size: 16px;
    }

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  position: relative;
}

.services .service-item .icon {
  background: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  transition: 0.5s;
  border: 1px solid var(--accent-color);
  margin-right: 20px;
}

.services .service-item .icon i {
  color: var(--contrast-color);
  font-size: 24px;
  line-height: 0;
}

.services .service-item:hover .icon {
  background: var(--surface-color);
}

.services .service-item:hover .icon i {
  color: var(--accent-color);
}

.services .service-item .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

.services .service-item .title a {
  color: var(--heading-color);
}

.services .service-item .title a:hover {
  color: var(--accent-color);
}

.services .service-item .description {
  line-height: 24px;
  font-size: 14px;
}

    .services .service-item .icon svg {
        width: 28px;
        height: 28px;
        color: var(--contrast-color); 
        transition: 0.5s;
    }

    .services .service-item:hover .icon svg {
        color: var(--accent-color);
    }

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials {
  padding: 80px 0;
  position: relative;
}

.testimonials:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.testimonials .testimonials-bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.testimonials .container {
  position: relative;
  z-index: 3;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  text-align: center;
}

.testimonials .testimonial-item .testimonial-img {
  width: 100px;
  border-radius: 50%;
  border: 6px solid color-mix(in srgb, var(--default-color), transparent 85%);
  margin: 0 auto;
}

    .testimonials .testimonial-item .full-name {
        font-size: 20px;
        font-weight: bold;
        /*margin: 10px 0 5px 0;*/
        margin-bottom: 12px;
    }

    .testimonials .testimonial-item .description {
        font-size: 14px;
        /*margin: 0 0 15px 0;*/
        margin-bottom: 12px;
        color: color-mix(in srgb, var(--default-color), transparent 40%);
    }

.testimonials .testimonial-item .stars {
  margin-bottom: 15px;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto 15px auto;
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 50%);
  opacity: 0.5;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--default-color);
  opacity: 1;
}

@media (min-width: 992px) {
  .testimonials .testimonial-item p {
    width: 80%;
  }
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 18px;
  font-weight: 400;
  margin: 0 10px;
  line-height: 1;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 5px;
  }
}

.portfolio .portfolio-content {
  position: relative;
  overflow: hidden;
}

.portfolio .portfolio-content img {
  transition: 0.3s;
}

.portfolio .portfolio-content .portfolio-info {
  opacity: 0;
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.6);
  padding: 15px;
}

.portfolio .portfolio-content .portfolio-info h4 {
  font-size: 14px;
  padding: 5px 10px;
  font-weight: 400;
  color: #ffffff;
  display: inline-block;
  background-color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info p {
  position: absolute;
  bottom: 10px;
  text-align: center;
  display: inline-block;
  left: 0;
  right: 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.portfolio .portfolio-content .portfolio-info .preview-link,
.portfolio .portfolio-content .portfolio-info .details-link {
  position: absolute;
  left: calc(50% - 40px);
  font-size: 26px;
  top: calc(50% - 14px);
  color: #fff;
  transition: 0.3s;
  line-height: 1.2;
}

.portfolio .portfolio-content .portfolio-info .preview-link:hover,
.portfolio .portfolio-content .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info .details-link {
  left: 50%;
  font-size: 34px;
  line-height: 0;
}

.portfolio .portfolio-content:hover .portfolio-info {
  opacity: 1;
}

.portfolio .portfolio-content:hover img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .team-member {
  background-color: var(--surface-color);
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.team .team-member .member-img {
  position: relative;
  overflow: hidden;
}

.team .team-member .social {
  position: absolute;
  left: 0;
  bottom: 30px;
  right: 0;
  opacity: 0;
  transition: ease-in-out 0.3s;
  text-align: center;
}

.team .team-member .social a {
  background: color-mix(in srgb, var(--contrast-color), transparent 25%);
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0 3px;
  border-radius: 4px;
  width: 36px;
  height: 36px;
  transition: ease-in-out 0.3s;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.team .team-member .social a:hover {
  color: var(--contrast-color);
  background: var(--accent-color);
}

.team .team-member .social i {
  font-size: 18px;
  line-height: 0;
}

.team .team-member .member-info {
  padding: 25px 15px;
}

.team .team-member .member-info h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 18px;
}

.team .team-member .member-info span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.team .team-member:hover .social {
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-item {
  background-color: color-mix(in srgb, var(--accent-color), transparent 96%);
  padding: 40px 40px;
  height: 100%;
  border-radius: 15px;
}

.pricing h3 {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 20px;
}

.pricing h4 {
  color: var(--accent-color);
  font-size: 48px;
  font-weight: 700;
  font-family: var(--heading-font);
  margin-bottom: 0;
}

.pricing h4 sup {
  font-size: 28px;
}

.pricing h4 span {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 18px;
  font-weight: 500;
}

.pricing .description {
  font-size: 14px;
}

.pricing .cta-btn {
  border: 1px solid var(--default-color);
  color: var(--default-color);
  display: block;
  text-align: center;
  padding: 10px 35px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--heading-font);
  transition: 0.3s;
  margin-top: 20px;
  margin-bottom: 6px;
}

.pricing .cta-btn:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
}

.pricing ul {
  padding: 0;
  list-style: none;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  text-align: left;
  line-height: 20px;
}

.pricing ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.pricing ul li:last-child {
  padding-bottom: 0;
}

.pricing ul i {
  color: #059652;
  font-size: 24px;
  padding-right: 3px;
}

.pricing ul .na {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na i {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na span {
  text-decoration: line-through;
}

.pricing .featured {
  position: relative;
}

.pricing .featured .popular {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 4px 15px 6px 15px;
  margin: 0;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
}

.pricing .featured .cta-btn {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
}

@media (max-width: 992px) {
  .pricing .box {
    max-width: 60%;
    margin: 0 auto 30px auto;
  }
}

@media (max-width: 767px) {
  .pricing .box {
    max-width: 80%;
    margin: 0 auto 30px auto;
  }
}

@media (max-width: 420px) {
  .pricing .box {
    max-width: 100%;
    margin: 0 auto 30px auto;
  }
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .faq-container {
  margin-top: 15px;
}

    .faq .faq-container .faq-item {
        background-color: #ffffff;
        position: relative;
        padding: 20px;
        margin-bottom: 20px;
        overflow: hidden;
        transition: 0.3s;
        border-radius: 3px; /* 👈 گوشه‌های نرم‌تر و حرفه‌ای‌تر */
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* 👈 سایه ملایم و ظریف */
    }
        /* وقتی موس روی باکس میره، سایه پررنگ‌تر بشه */
        .faq .faq-container .faq-item:hover {
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
            transform: translateY(-2px);
        }
.faq .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.faq .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  margin: 0 30px 0 32px;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-container .faq-item h3 span {
  color: var(--accent-color);
  padding-right: 5px;
}

.faq .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}

.faq .faq-container .faq-item .faq-icon {
  position: absolute;
  top: 22px;
  left: 20px;
  font-size: 20px;
  line-height: 0;
  transition: 0.3s;
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;

}

    .faq .faq-container .faq-item .faq-toggle:hover {
        color: #5478BF; /* 👈 آبی ثابت هنگام فعال بودن */
    }

    .faq .faq-container .faq-active {
        background-color: #ffffff; /* 👈 سفید باقی بماند */
        transition: 0.3s;
        box-shadow: 0 6px 20px rgba(180, 180, 180, 0.25); /* 👈 سایه‌ی توسی محو */
        border: 1px solid rgba(180, 180, 180, 0.2); /* 👈 حاشیه‌ی توسی بسیار لطیف */
    }

        .faq .faq-container .faq-active h3,
        .faq .faq-container .faq-active h3:hover,
        .faq .faq-container .faq-active .faq-toggle,
        .faq .faq-container .faq-active .faq-icon,
        .faq .faq-container .faq-active .faq-content {
            color: var(--default-color);
        }
    /* تغییر رنگ تیترهای پرسش‌های متداول */
    .faq .faq-container .faq-item h3 {
        color: #5478BF; /* 👈 آبی برند کلینیک دکتر بابایی */
        font-weight: 700;
    }

    /* در حالت فعال (باز شده) هم رنگ ثابت بماند */
    .faq .faq-container .faq-active h3 {
        color: #5478BF !important;
    }

.faq .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.faq .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
}
    /* رنگ تیترهای FAQ - حالت عادی */
    .faq .faq-container .faq-item h3 {
        color: #5478BF; /* 👈 آبی برند در حالت عادی */
        font-weight: 700;
        transition: color 0.3s ease;
    }

    /* رنگ در حالت فعال (باز شده) */
    .faq .faq-container .faq-active h3 {
        color: #5478BF !important; /* 👈 آبی ثابت در حالت باز */
    }

    /* رنگ هنگام هاور روی هر باکس — توسی محو */
    .faq .faq-container .faq-item:hover h3 {
        color: #888888; /* 👈 توسی محو و آرام */
    }

.faq .faq-contact-card {
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), var(--heading-color) 30%));
    border-radius: 3px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    color: var(--contrast-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin-top: 15px;
}

    .faq .faq-contact-card .card-icon {
        margin-bottom: 20px;
    }

        .faq .faq-contact-card .card-icon i {
            font-size: 48px;
            color: color-mix(in srgb, var(--contrast-color), transparent 10%);
        }

    .faq .faq-contact-card .card-content h3 {
        color: var(--contrast-color);
        font-size: 28px;
        font-weight: 700;
        margin-bottom: 15px;
    }

    .faq .faq-contact-card .card-content p {
        color: color-mix(in srgb, var(--contrast-color), transparent 10%);
        margin-bottom: 30px;
        font-size: 16px;
        line-height: 1.6;
    }

    .faq .faq-contact-card .contact-options {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: auto;
    }

        .faq .faq-contact-card .contact-options .contact-option {
            display: flex;
            align-items: center;
            background-color: rgba(255, 255, 255, 0.15);
            padding: 15px 20px;
            border-radius: 8px;
            color: var(--contrast-color);
            transition: all 0.3s ease;
        }

            .faq .faq-contact-card .contact-options .contact-option:hover {
                background-color: rgba(255, 255, 255, 0.25);
                transform: translateX(5px);
            }

            .faq .faq-contact-card .contact-options .contact-option i {
                font-size: 20px;
                margin-right: 12px;
            }

            .faq .faq-contact-card .contact-options .contact-option span {
                font-weight: 500;
                font-size: 16px;
            }

html[dir="rtl"] .faq-toggle {
    transform: rotate(180deg);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-wrap {
    background-color: var(--surface-color);
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 3px;
}

.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  width: 56px;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease-in-out;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 40%);
  margin-right: 15px;
}

.contact .info-item .title-text {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 2px 0;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .info-item:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.contact .php-email-form {
    background-color: var(--surface-color);
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    border-radius: 3px;
}

@media (max-width: 575px) {
  .contact .php-email-form {
    padding: 20px;
  }
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}
.contact .info-item svg.icon {
    width: 57px;
    height: 57px;
    min-width: 57px;
    color: var(--accent-color);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease-in-out;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--accent-color), transparent 40%);
    margin-right: 15px;
    padding: 15px;
    overflow: visible;
    display: block;
}
.contact .info-item:hover svg.icon {
    background: var(--accent-color);
    color: var(--contrast-color);
}
[dir="rtl"] .contact .info-item svg.icon {
    margin-right: 0;
    margin-left: 12px;
}
#contactSuccess,
#contactError {
    border-radius: 0 !important;
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.portfolio-details .portfolio-info {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  background-color: var(--surface-color);
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
  border-radius:3px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 2px 15px;
  border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}

.service-details .services-img {
    margin-bottom: 20px;
    border-radius: 3px;
}

.service-details h1 {
  font-size: 26px;
  font-weight: 700;
}

.service-details h2 {
  font-size: 20px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}
.btn-care {
    display: flex; /* فعال کردن مدل فلکس برای نیم‌محور وسط‌چین */
    justify-content: center; /* وسط‌چین افقی */
    align-items: center; /* وسط‌چین عمودی */
    width: 100%; /* کل عرض container را بگیرد */
    background-color: #d6b24c;
    color: #fff;
    padding: 12px 15px; /* کمی بیشتر برای تناسب با عرض کامل */
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
    box-sizing: border-box; /* کنترل کامل padding و width */
}

    .btn-care:hover {
        background-color: #b8963a;
        color: #fff;
    }



/* ----------------------------------------------------------
# Service Details - Independent Reservation Form
   CSS کاملاً جدا از hero-reserve و contact-form
---------------------------------------------------------- */

.service-reserve-section {
    background-color: var(--surface-color);
    padding: 60px 0;
    overflow: visible;
}

.service-reserve-form {
   /* max-width: 600px;*/
    margin: 0 auto;
    background: color-mix(in srgb, var(--background-color), transparent 30%);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
    border-radius: 8px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

    .service-reserve-form .form-title {
        text-align: center;
        font-weight: 700;
        color: var(--heading-color);
        margin-bottom: 25px;
    }

    .service-reserve-form .form-group {
        margin-bottom: 18px;
    }

    .service-reserve-form input,
    .service-reserve-form select,
    .service-reserve-form textarea {
        width: 100%;
        background-color: color-mix(in srgb, var(--background-color), transparent 50%);
        border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
        border-radius: 1px;
        padding: 10px 15px;
        color: var(--default-color);
        font-size: 15px;
        outline: none;
        transition: 0.3s ease;
    }

        .service-reserve-form input:focus,
        .service-reserve-form select:focus,
        .service-reserve-form textarea:focus {
            border-color: var(--accent-color);
            outline: none !important;
            box-shadow: none !important;

        }

    .service-reserve-form textarea {
        resize: none;
        min-height: 100px;
    }

        .service-reserve-form input::placeholder,
        .service-reserve-form textarea::placeholder {
            color: rgba(0,0,0,0.3);
            
        }


.btn-service-reserve {
    width: 100%;
    background-color: var(--accent-color);
    color: var(--contrast-color);
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 600;
    transition: 0.4s ease;
    border: none;
}

    .btn-service-reserve:hover {
        background: color-mix(in srgb, var(--accent-color), transparent 20%);
    }

@media (max-width: 768px) {
    .service-reserve-form {
        padding: 25px;
        border-radius: 6px;
    }
}


.service-reserve-section,
.service-reserve-form {
    width: 100%;
}

.col-lg-4 .service-reserve-form {
    margin-left: -calc(var(--bs-gutter-x) * 0.5); /* جبران پدینگ چپ ستون */
    margin-right: -calc(var(--bs-gutter-x) * 0.5); /* جبران پدینگ راست ستون */
    width: calc(100% + var(--bs-gutter-x)); /* افزایش عرض فرم برای هم‌راستایی */
}

.service-reserve-form,
.service-reserve-form * {
    box-sizing: border-box;
}
.service-reserve-section .container {
    max-width: 1140px; 
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    margin-left: auto;
    margin-right: auto;
}

.col-lg-4 .service-reserve-form {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
}

.service-details .service-reserve-section {
    background-color: transparent; 
    padding-top: 0; 
}

.service-details .service-reserve-form {
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    border-radius: 3px;
    background-color: var(--surface-color);
    padding: 10px 30px; /* دقیقا مثل services-list */
    margin-top: 20px; /* کمی فاصله از دکمه مراقبت‌ها */
    box-shadow: none; /* بدون سایه برای هماهنگی با services-list */
    max-width: none;
    width: 100%;
    box-sizing: border-box;
}

.col-lg-4 .service-reserve-form {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}

@media (min-width: 992px) {
    .service-details .service-reserve-section .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
.btn-care {
    margin-top: 25px; /* فاصله از services-list بالا */
    margin-bottom: 35px; /* فاصله از فرم رزرو پایین */
}

@media (max-width: 768px) {
    .btn-care {
        margin-top: 20px;
        margin-bottom: 25px;
    }
}

.care-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

    .care-modal.active {
        visibility: visible;
        opacity: 1;
    }

.care-modal-content {
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
    width: 90%;
    max-width: 800px;
    padding: 2rem;
    border-radius: 12px;
    background-color: color-mix(in srgb, var(--surface-color), transparent 5%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    color: var(--default-color);
    direction: inherit; /* 👈 ارث از زبان فعال سایت (FA/LTR) */
    text-align: start; /* 👈 هوشمند چپ/راست بر اساس direction */
}

.care-sticky-layer {
    position: sticky;
    top: 0;
    direction: ltr; /* 👈 جهت محاسبه درست مختصات چپ */
    z-index: 10;
    height: 0; /* 👈 فقط کنترلی، نیازی به فضای خالی نیست */
}

.care-close {
    position: absolute;
    top: 3px;
    font-size: 30px;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    padding: 0 3px;
    cursor: pointer;
    transition: all 0.25s ease;
}

[dir="rtl"] .care-close {
    left: 2px; /* 👈 در حالت راست‌چین، دکمه در سمت چپ */
    right: auto;
}

[dir="ltr"] .care-close {
    right: 2px; /* 👈 در حالت چپ‌چین، دکمه در سمت راست */
    left: auto;
}

.care-close:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.care-modal-body h3,
.care-modal-body h4 {
    color: var(--heading-color);
    font-weight: 700;
}

.care-modal-body h3 {
    font-size: 26px;
    margin-bottom: 15px;
}

.care-modal-body h4 {
    font-size: 20px;
    margin-top: 25px;
}

.care-modal-body p {
    font-size: 15px;
    line-height: 1.8;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.care-modal-body ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

    .care-modal-body ul li {
        display: flex;
        align-items: center;
        font-size: 15px;
        margin-bottom: 8px;
    }

    .care-modal-body ul i {
        color: var(--accent-color);
        font-size: 18px;
        margin-inline-end: 8px; 
    }
/* Placeholder – استاندارد */
.service-reserve-form ::placeholder {
    color: rgba(0, 0, 0, 0.35);
    font-weight: 200;
    opacity: 1; /* مهم برای فایرفاکس */
}




/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}


/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery .isotope-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
    padding: 0;
    list-style: none;
}

    .gallery .isotope-filters li {
        display: inline-block;
        padding: 10px 20px;
        background: var(--surface-color);
        color: var(--default-color);
        border-radius: 30px;
        cursor: pointer;
        font-weight: 500;
        font-size: 15px;
        transition: 0.3s;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

        .gallery .isotope-filters li:hover {
            background: color-mix(in srgb, var(--accent-color), transparent 80%);
        }

        .gallery .isotope-filters li.filter-active {
            background: var(--accent-color);
            color: var(--contrast-color);
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        }

@media (max-width: 576px) {
    .gallery .isotope-filters {
        gap: 8px;
    }

        .gallery .isotope-filters li {
            padding: 8px 14px;
            font-size: 14px;
        }
}

.gallery .gallery-item {
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .gallery .gallery-item {
        margin-bottom: 20px;
    }
}

.gallery .gallery-card {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
}

    .gallery .gallery-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    }

        .gallery .gallery-card:hover .gallery-overlay {
            opacity: 1;
            transform: translateY(0);
        }

        .gallery .gallery-card:hover .gallery-image img {
            transform: scale(1.1);
        }

.gallery .gallery-image {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 75%;
    overflow: hidden;
}

    .gallery .gallery-image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.7s ease;
    }

.gallery .gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
    color: var(--contrast-color);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

    .gallery .gallery-overlay h4 {
        font-size: 20px;
        font-weight: 600;
        margin-bottom: 8px;
        color: var(--contrast-color);
    }

    .gallery .gallery-overlay p {
        font-size: 14px;
        margin-bottom: 15px;
        opacity: 0.9;
    }

    .gallery .gallery-overlay .gallery-actions {
        display: flex;
        gap: 15px;
    }

        .gallery .gallery-overlay .gallery-actions a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--accent-color);
            color: var(--contrast-color);
            font-size: 18px;
            transition: 0.3s;
        }

            .gallery .gallery-overlay .gallery-actions a:hover {
                background: color-mix(in srgb, var(--accent-color), transparent 20%);
                transform: scale(1.1);
            }

.gallery .glightbox-clean .gslide-description {
    background: #272727;
}

.gallery .glightbox-clean .gslide-title {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

#hero,
.gallery,
.faq,
.contact {
    position: relative;
    overflow: hidden;
}

    #hero::after,
    .gallery::after,
    .faq::after,
    .contact::after {
        content: '';
        position: absolute;
        bottom: -1px;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #fff; /* یا رنگ پس‌زمینه‌ای که خط سفید رو محو کنه */
    }
.map-container {
    margin-top: 40px;
    margin-bottom: 50px;
    overflow: hidden;
    border-radius: 1px;
}
/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about {
    padding: 100px 0;
}

    .about .about-content h2 {
        font-size: 2.8rem;
        font-weight: 300;
        margin-bottom: 2rem;
        line-height: 1.3;
    }

    .about .about-content p.lead {
        font-size: 1.25rem;
        font-weight: 300;
        color: color-mix(in srgb, var(--default-color), transparent 20%);
        margin-bottom: 2rem;
        line-height: 1.7;
    }

    .about .about-content p {
        font-size: 1.1rem;
        line-height: 1.8;
        margin-bottom: 3rem;
        color: color-mix(in srgb, var(--default-color), transparent 15%);
    }

    .about .stats-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        margin-top: 2rem;
    }

@media (max-width: 576px) {
    .about .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.about .stats-grid .stat-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 8px;
    background: color-mix(in srgb, var(--accent-color), transparent 95%);
    transition: transform 0.3s ease;
}

    .about .stats-grid .stat-item:hover {
        transform: translateY(-5px);
    }

    .about .stats-grid .stat-item .stat-number {
        display: block;
        font-size: 2.5rem;
        font-weight: 300;
        color: var(--accent-color);
        margin-bottom: 0.5rem;
    }

    .about .stats-grid .stat-item .stat-label {
        font-size: 0.9rem;
        color: color-mix(in srgb, var(--default-color), transparent 30%);
        font-weight: 500;
    }

.about .image-wrapper {
    position: relative;
}

    .about .image-wrapper .main-image {
        border-radius: 12px;
        box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 85%);
    }

    .about .image-wrapper .floating-image {
        position: absolute;
        bottom: -30px;
        right: -30px;
        width: 200px;
        height: 200px;
        border-radius: 50%;
        overflow: hidden;
        border: 8px solid var(--surface-color);
        box-shadow: 0 15px 40px color-mix(in srgb, var(--default-color), transparent 80%);
    }

@media (max-width: 768px) {
    .about .image-wrapper .floating-image {
        width: 150px;
        height: 150px;
        bottom: -20px;
        right: -20px;
        border-width: 6px;
    }
}

.about .image-wrapper .floating-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about .values-section {
    margin-top: 120px;
}

    .about .values-section h3 {
        font-size: 2.2rem;
        font-weight: 300;
        margin-bottom: 1rem;
    }

    .about .values-section .section-description {
        font-size: 1.1rem;
        color: color-mix(in srgb, var(--default-color), transparent 30%);
        margin-bottom: 4rem;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.7;
    }

    .about .values-section .value-item {
        text-align: center;
        padding: 2rem 1rem;
        transition: transform 0.3s ease;
    }

        .about .values-section .value-item:hover {
            transform: translateY(-5px);
        }

        .about .values-section .value-item .value-icon {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: color-mix(in srgb, var(--accent-color), transparent 90%);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            transition: all 0.3s ease;
        }

            .about .values-section .value-item .value-icon i {
                font-size: 2rem;
                color: var(--accent-color);
            }

        .about .values-section .value-item h4 {
            font-size: 1.3rem;
            font-weight: 400;
            margin-bottom: 1rem;
        }

        .about .values-section .value-item p {
            font-size: 1rem;
            line-height: 1.7;
            color: color-mix(in srgb, var(--default-color), transparent 25%);
            margin: 0;
        }

        .about .values-section .value-item:hover .value-icon {
            background: var(--accent-color);
            transform: scale(1.1);
        }

            .about .values-section .value-item:hover .value-icon i {
                color: var(--contrast-color);
            }

        .about .values-section .value-item .value-icon svg {
            width: 32px;
            height: 32px;
            color: var(--accent-color); /* کنترل رنگ با currentColor */
            stroke-width: 1.5;
            transition: all 0.3s ease;
        }
        .about .values-section .value-item:hover .value-icon {
            background: var(--accent-color);
            transform: scale(1.1);
        }

            .about .values-section .value-item:hover .value-icon svg {
                color: #fff;
                color: var(--contrast-color);
            }



.about .certifications-section {
    margin-top: 80px;
    padding: 4rem 0;
    background: color-mix(in srgb, var(--accent-color), transparent 98%);
    border-radius: 16px;
}

    .about .certifications-section h3 {
        font-size: 2rem;
        font-weight: 300;
        margin-bottom: 1rem;
    }

    .about .certifications-section .section-description {
        font-size: 1.1rem;
        color: color-mix(in srgb, var(--default-color), transparent 30%);
        margin-bottom: 3rem;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.7;
    }

    .about .certifications-section .certification-item {
        padding: 1.5rem;
        background: var(--surface-color);
        border-radius: 12px;
        text-align: center;
        transition: all 0.3s ease;
        height: 120px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 2rem;
    }

        .about .certifications-section .certification-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px color-mix(in srgb, var(--default-color), transparent 85%);
        }

        .about .certifications-section .certification-item img {
            max-height: 60px;
            max-width: 100%;
            opacity: 0.7;
            transition: opacity 0.3s ease;
            filter: grayscale(100%);
        }

        .about .certifications-section .certification-item:hover img {
            opacity: 1;
            filter: grayscale(0%);
        }

@media (max-width: 992px) {
    .about {
        padding: 80px 0;
    }

        .about .about-content {
            margin-bottom: 3rem;
        }

            .about .about-content h2 {
                font-size: 2.4rem;
            }

        .about .values-section {
            margin-top: 80px;
        }

        .about .image-wrapper .floating-image {
            position: relative;
            bottom: auto;
            right: auto;
            margin: 2rem auto 0;
            display: block;
        }
}

@media (max-width: 768px) {
    .about .about-content h2 {
        font-size: 2rem;
    }

    .about .stats-grid .stat-item .stat-number {
        font-size: 2rem;
    }

    .about .values-section .value-item {
        margin-bottom: 2rem;
    }

    .about .certifications-section {
        margin-top: 60px;
        padding: 3rem 1rem;
    }
}
.about .certifications-section {
    margin-top: 4rem;
    padding-top: 3rem;
    background-color: transparent;
    /* خط جداکننده صاف بدون radius */
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    border-radius: 0; /* ✅ حذف گردی گوشه‌ها */
    background: none; /* ✅ حذف پس‌زمینه سفید */
    box-shadow: none; /* ✅ حذف هر سایه احتمالی */
}

.about .certifications-section .section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.about .certifications-section .section-header h3 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.about .certifications-section .section-header p {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.about .certifications-section .certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  align-items: center;
}

.about .certifications-section .certifications-grid .certification-item {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  background-color: var(--surface-color);
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.about .certifications-section .certifications-grid .certification-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.about .certifications-section .certifications-grid .certification-item img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(0.7);
  transition: filter 0.3s ease;
}

.about .certifications-section .certifications-grid .certification-item:hover img {
  filter: grayscale(0) opacity(1);
}

/*-- Services --*/
/*.section-title {
    margin-bottom: 50px;
    margin-top: -7px;
}

.service-item {
    margin-bottom: 30px;
    box-shadow: 0px 0px 25px 0px rgba(221, 221, 221, 0.7490196078);
    text-align: center;
    position: relative;
    padding-top: 25px;
    padding-bottom: 25px;
    padding-left: 10px;
    padding-right: 10px;
}

    .service-item:before {
        position: absolute;
        content: "";
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        opacity: 0.5;
        background-color: #0046c0;
        opacity: 0;
        z-index: -1;
        transition: 0.5s all ease;
    }

    .service-item:hover {
        box-shadow: none;
    }

        .service-item:hover:before {
            opacity: 1;
        }

        .service-item:hover .service-front {
            display: none;
            transform: scale(0.5);
        }

        .service-item:hover .service-end {
            display: block;
            transform: scale(1);
        }

            .service-item:hover .service-end p {
                margin-bottom: 24px;
            }

    .service-item .service-front {
        transition: 0.5s all ease;
        display: block;
    }

        .service-item .service-front i {
            display: block;
            color: #4d93e9;
            font-size: 65px;
            margin-bottom: 20px;
        }

        .service-item .service-front h3 {
            font-weight: 600;
            font-size: 22px;
            margin-bottom: 14px;
        }

        .service-item .service-front p {
            margin-bottom: 0;
        }

    .service-item .service-end {
        position: relative;
        display: none;
        transform: scale(0.5);
        padding-top: 4px;
        padding-bottom: 5px;
    }

        .service-item .service-end i {
            position: absolute;
            left: 0;
            right: 0;
            top: 10%;
            font-size: 170px;
            color: #fff;
            opacity: 0.1;
            z-index: -1;
        }

        .service-item .service-end h3 {
            color: #ffffff;
            font-weight: 600;
            font-size: 22px;
            margin-bottom: 20px;
        }

        .service-item .service-end p {
            margin-bottom: 0;
            color: #ffffff;
        }

        .service-item .service-end a {
            display: inline-block;
            color: #0046c0;
            background-color: #ffffff;
            padding: 12px 15px;
        }

            .service-item .service-end a:hover {
                color: #ffffff;
                background-color: #111111;
            }*/

/*-- End Services --*/




/*-- Start Reserve --*/
/* 🔹 Hero Section مخصوص صفحه رزرو */
.hero-reserve-section {
    position: relative;
    min-height: 450px; /* ارتفاع معمولی */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    padding: 60px 0;
}

.hero-reserve-section img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-reserve-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 2;
}

.hero-reserve-section .container {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
}

.hero-reserve-section .hero-text-box h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero-reserve-section .hero-text-box p {
  font-size: 22px;
  margin-bottom: 20px;
}

.hero-reserve-section .btn-get-started {
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 10px 35px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: 0.3s;
}

.hero-reserve-section .btn-get-started:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/* 🔸 بخش زیر هیرو (سه ستون) */
.hero-reserve-wrapper .hero-content {
  display: grid;
  grid-template-columns: 5fr 3fr 4fr; /* نسبت ۵:۳:۴ */
  gap: 2rem;
  align-items: start;
}
.hero-reserve-wrapper {
    position: relative;
    overflow: visible !important; /* 👈 اجازه بده رزرو از محدوده بیرون بیاد */
    z-index: 20; /* جلوتر از هیرو */
    isolation: isolate; /* جدا از stacking هیرو اصلی */
}

/* فرم رزرو */
.hero-reserve-wrapper .hero-form .reserve-card {
    background: var(--surface-color);
    border-radius: var(--radius-md);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    padding: 2rem;
    margin-top: -150px; /* فرم شناور روی هیرو */
    position: relative;
    z-index: 9999;
    isolation: isolate;
    border-radius:5px;
}

    .hero-reserve-wrapper .reserve-card input,
    .hero-reserve-wrapper .reserve-card select,
    .hero-reserve-wrapper .reserve-card textarea {
        width: 100%;
        background-color: color-mix(in srgb, var(--background-color), transparent 50%);
        border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
        color: var(--default-color);
        font-size: 14px;
        padding: 10px 15px;
        box-shadow: none;
       /* border-radius: 5px;*/
        transition: border-color 0.3s ease;

        margin-bottom: 1rem;
    }

    .hero-reserve-wrapper .reserve-card button {
        background: var(--accent-color);
        color: var(--contrast-color);
        border: none;
        border-radius: 30px;
        padding: 0.8rem;
        width: 100%;
        font-weight: 600;
        transition: 0.3s;
    }

.hero-reserve-wrapper .reserve-card button:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/* متن معرفی */
.hero-reserve-wrapper .hero-text {
  background-color: color-mix(in srgb, var(--accent-color), transparent 96%);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  line-height: 1.8;
}

.hero-reserve-wrapper .hero-text h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.hero-reserve-wrapper .hero-text ul {
  list-style: none;
  padding: 0;
}

.hero-reserve-wrapper .hero-text li {
  position: relative;
  padding-right: 1rem;
  margin-bottom: 0.5rem;
}

.hero-reserve-wrapper .hero-text li::before {
  content: "•";
  position: absolute;
  right: 0;
  color: var(--accent-color);
}

/* ویدیو */
.hero-reserve-wrapper .hero-video .video-wrapper {
  position: relative;
  background-size: cover;
  background-position: center;
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.hero-reserve-wrapper .hero-video .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent-color);
  color: #fff;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.hero-reserve-wrapper .hero-video .play-btn:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/* واکنش‌گرا */
@media (max-width: 991px) {
  .hero-reserve-wrapper .hero-content {
    grid-template-columns: 1fr;
  }
    .hero-reserve-wrapper .hero-form .reserve-card {
        margin-top: -120px; /* هنوز شناوره، فقط کمتر تا در صفحه موبایل درست دیده شه */
        position: relative;
        z-index: 9999;
    }
}
/*.service-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid #d4b47c;*/ /* طلایی */
    /*display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all .3s ease;
    background-color: #ffffff;*/ /* حالت عادی سفید */
/*}

    .service-icon-wrapper svg {
        width: 32px;
        height: 32px;
        stroke: #d4b47c;*/ /* آیکون در حالت عادی طلایی */
        /*fill: none;
        transition: all .3s ease;
    }

    .service-icon-wrapper:hover {
        background-color: #d4b47c;*/ /* هاور: دایره طلایی */
    /*}

        .service-icon-wrapper:hover svg {
            stroke: #ffffff;*/ /* هاور: آیکون سفید */
        /*}*/


 /* 3 Block in Main Page*/


.column-wrapper {
    border-radius: 12px;
    padding: 28px 22px;
    margin: 6px;
}

.column-wrapper h4 {
    color: #D6B24C;
    font-weight: 700;
    margin-bottom: 25px;
}

.card-flip {
    perspective: 1000px;
    height: 140px;
    margin-bottom: 18px;
}

.card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform .8s ease;
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden; /* مهم‌ترین بخش — لایه‌های درونی رو محدود می‌کنه */
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,.05);
    isolation: isolate;
    /*background: linear-gradient(to bottom, #fff 0%, #f8f9fa 100%);*/
}

.card-front h5,
.card-back h5 {
    color: #5478BF;
    font-size: 1rem;
    font-weight: 600;
}

.card-front p,
.card-back p {
    color: #555;
    font-size: .85rem;
    line-height: 1.5;
}

.card-back {
    transform: rotateY(180deg);
}

.flipped .card-inner {
    transform: rotateY(180deg);
}

/* ریسپانسیو */
@media (max-width: 991px) {
    .column-wrapper {
        margin: 10px 0;
        padding: 24px 20px;
    }

    .card-flip {
        height: 160px;
    }

    .card-front p,
    .card-back p {
        font-size: .8rem;
    }
}

@media (max-width: 576px) {
    .card-flip {
        height: 180px;
    }
}

.column-wrapper {
    position: relative;
    background: transparent;
    border-radius: 12px;
    /* box-shadow: 0 0 0 rgba(0,0,0,0.08);*/
    padding: 70px 24px 28px;
    margin: 10px;
    /*  box-shadow: 0 4px 10px -4px rgba(0, 0, 0, 0.06);*/
    background: linear-gradient(to bottom, #fff 0%, #f8f9fa 100%);
}

    .column-wrapper h4 {
        position: absolute;
        top: 12px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 1.2rem;
        font-weight: 700;
        color: #D6B24C;
        background: #fff;
        padding: 0 18px;
        z-index: 2;
    }
/* انیمیشن فلیپ نرم‌تر و لوکس‌تر */
.card-inner {
    transition: transform 1.2s cubic-bezier(0.55,0.06,0.35,1);
}

.flipped .card-inner {
    transform: rotateY(180deg);
}

/* -------------------- افکت نوری مه‌طلایی -------------------- */
/*.lux-grid {
                    position: absolute;
                    inset: 0;
                    display: grid;
                    grid-template-columns: repeat(16, 1fr);
                    grid-template-rows: repeat(10, 1fr);
                    z-index: 2;
                    pointer-events: none;
                    border-radius: inherit;*/ /* 🔹 گوشه‌ها را از کارت می‌گیرد */
/*overflow: hidden;
                }*/
.lux-grid {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(16, 1fr);
    grid-template-rows: repeat(10, 1fr);
    pointer-events: none;
    background: linear-gradient(90deg, rgba(180,220,255,0.05) 0%, rgba(255,255,255,0.12) 50%, rgba(180,220,255,0.05) 100%);
    mix-blend-mode: screen;
    border-radius: inherit; /* 🔹 از کارت می‌گیره */
    overflow: hidden;
    pointer-events: none; /* اطمینان از اینکه روی رویداد کلیک اثر نذاره */
    z-index: 1; /* زیر لایه‌ی متن و بالا از پس‌زمینه */
    pointer-events: none;
}

    .lux-grid span {
        background: linear-gradient(135deg, rgba(160,200,255,0.35) 0%, rgba(100,160,225,0.22) 100%);
        mix-blend-mode: screen;
        filter: blur(0.6px);
        opacity: 0;
    }

    .lux-grid.animate span {
        animation: luxWave 3.2s cubic-bezier(0.55,0.06,0.35,1) forwards;
    }

@keyframes luxWave {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        opacity: 0;
    }
}

/* برای محل متن کارت */
.card-face {
    position: relative;
    z-index: 3; /* جلوتر از نور */
}

.card-flip {
    position: relative;
    border-radius: 14px; /* گردی گوشه‌های خود کارت */
    overflow: hidden; /* برش لایه‌های داخلی بیرون از محدوده */
    isolation: isolate; /* کلید حیاتی برای mix-blend-mode */
    z-index: 0;
}

    /* لایه فید آبی */
    .card-flip .lux-grid {
        position: absolute;
        inset: 0;
        z-index: 1;
        pointer-events: none;
        border-radius: inherit; /* گوشه‌ها دقیقاً برابر کارت */
        overflow: hidden;
        /* ✨ این خط جادوئی باعث میشه radius حتی با transform هم رعایت بشه */
        -webkit-mask-image: radial-gradient(circle, #000 99%, transparent 100%);
        mask-image: radial-gradient(circle, #000 99%, transparent 100%);
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
    }



