



.offcanvas_buttom{
    padding: 0.25rem 0.75rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #4B8E97;
}


.tex-color{
    color: #F2F2F2;
}
.back-con{
    background: #386B70;
}

/* کلاس سفارشی برای Navbar */
/* کلاس والد navbar-custom روی ul یا nav */
.navbar-custom .nav-link {
    color: #F2F2F2;          /* رنگ اصلی لینک */
    font-weight: bold;
    transition: color 0.3s, border-bottom 0.3s;
    position: relative;
}

/* افکت زیرخط متحرک */
 .navbar-custom .nav-link::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 4px;
    background-color: #97804B;
    transition: width 0.3s;
}

.navbar-custom .nav-link:hover , a.navbar-brand:hover {
    color: #6FB6BA  ;          /* رنگ هنگام هاور */
}

.navbar-custom .nav-link:hover::after {
    width: 100%;             /* نمایش زیرخط هنگام هاور */
}



#phone-btn-static{
    background: #78e7f6;
    transition: background .2s ease;
}

#phone-btn-static:hover{
    background-color: #97804b;
}

.phone-btn {
    padding: 12px 30px;
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.phone-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

.rotate-icon {
    animation: rotatePhone 2s linear infinite;
}

@keyframes rotatePhone {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(15deg); }
    100% { transform: rotate(0deg); }
}
#offcanvasWithBothOptions ul li{
    transition: all .3s ease;
    padding: 8px;
    border-radius: 14px;
    width: 80%;
}
#offcanvasWithBothOptions ul li:hover{
    background: #97804b;
    color: #eee;
    transform: scale(1.1);
}







.service-card {
    background: #ffffff10; /* نیمه شفاف */
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 12px 25px rgba(0,0,0,0.25);
    background: #ffffff20;
}

.service-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.service-card:hover .service-img {
    transform: scale(1.1);
}

.service-title {
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.accordion-body {
    background: #ffffff10;
    border-radius: 0 0 15px 15px;
    padding: 15px;
    transition: all 0.3s ease;
}








.service-card {
    min-height: 120px; /* ارتفاع ثابت */
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
    overflow: hidden; /* جلوگیری از بیرون زدن محتوا */
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
}

.accordion-collapse {
    transition: height 0.4s ease;
}
#collapseOne , #collapseTwo , #collapseThree    {
    background: #fff;
    text-align: center;
    font-family: Yekan-Bold;
    padding: 10px;
    box-sizing: border-box;
    box-shadow: 5px 4px 6px #2c737a;
}














.section-divider {
    position: relative;
    text-align: center;
    margin: 40px 0;
    height: 50px; /* ارتفاع کمتر */
}

.divider-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 600;
    font-size: 1.3rem;
    color: #fff;
    z-index: 1;
    background-color: rgba(0,0,0,0.3);
    padding: 0 10px;
}

.divider-svg {
    width: 100%;
    height: 50px;
}









.gallery-img {
    width: 100%;
    aspect-ratio: 1 / 1; /* برای مربعی شدن */
    object-fit: cover;   /* تصویر پر کنه بدون کشیدگی */
    transition: transform 0.3s ease;
    cursor: pointer;
    border-radius: 8px; /* می‌تونی حذف یا تغییر بدی */
}

.gallery-img:hover {
    transform: scale(1.05); /* زوم ملایم هنگام هاور */
}




.back-hover:hover img{
    filter: brightness(0.5);
}
.zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-img:hover + .zoom-icon {
    opacity: 1;
}

.gallery-img:hover {
    cursor: pointer;
    transform: scale(1.1);
    transition: transform 0.3s ease;
}


.accordion-collapse {
    transition: height 0.4s ease;
}


button.rainbow-box {
    background: #cfcfcf;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
button.rainbow-box:hover{
    background: #97804B;
}

.card-hover {
    transition: all 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}



.gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.services-section h2{
    font-size: 3rem;
    font-weight: bold;
    color: #4B8E97;
    text-transform: uppercase;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.2);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    overflow: hidden;
    animation: fadeInUp 1.5s ease both;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}


.service-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    justify-content: space-around;
    padding: 10px;
}
.service-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.service-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}
.service-title {
    margin-top: 0.5rem;
    font-weight: bold;
}





.back-my {
    background: url("../img/divider.webp") no-repeat center center;
    background-size: cover;

}

.svg_back {
    top: 0;
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 200' preserveAspectRatio='none'%3E%3Cpath d='M0,100 C360,200 1080,0 1440,100 L1440,200 L0,200 Z' fill='%236FB6BA' opacity='0.5'/%3E%3C/svg%3E");
    background-size: cover;
    color: #4B8E97;
    background-repeat: no-repeat;
    z-index: 0;
}




.img-item{
    box-shadow: 5px 6px 3px #8f8f8f;
}
.text-item{
    width: 500px;
    font-weight: bold;
    font-size: 20px;
    transform: translate(-80px,-65px);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 20px;
    color: #000;
}
.text-item p {
    text-align: center;
}

.link-wave {
    text-decoration: none;
    color: #97804B;
    background-color: white;
    padding: 10px 30px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.link-wave:hover {
    background-color: #97804B;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.conference {
    background: #4B8E97;
    color: #eee;
    border-radius: 20px;
    position: relative;
    overflow: visible;
    padding: 60px 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.conference img {
    position: absolute;
    bottom: 0px;
    right: 20px;
}

.conference .text {
    flex: 1;
    padding-right: 180px;
}

.text {
    text-align: center;
}


.btn-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #55d0dd;
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 22px;
    cursor: pointer;
    display: none; /* پیش‌فرض مخفی */
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.btn-top:hover {
    background: #2b2f32;
}
#backToTop{
    display: none;
    position: fixed;
    z-index: 999;
}

.back-custom{
    background: #a5a5a5;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}




.sport-card {
    cursor: pointer;
}

/* overlay مخفی به صورت پیش‌فرض */
.sport-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* رنگ نیمه شفاف */
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* وقتی موس روی کارت است */
.sport-card:hover .overlay {
    opacity: 1;
}







/* استایل اسپینر اولیه */
.spinner-border {
    position: fixed;         /* همیشه وسط صفحه */
    top: 50%;
    left: 50%;
    z-index: 2000;           /* بالاتر از همه */
    color: #55d0dd;          /* رنگ سفارشی (رنگ اصلیت) */
    opacity: 1;
}

/* وقتی fade-out فعال شد */
.spinner-border.fade-out {
    opacity: 0;
}

/* متن یا محتوای اصلی که بعد لودینگ نمایش داده میشه */

.text-animated {
    opacity: 0;
    transition: opacity 0.6s ease;
    font-family: "Yekan-light";
    pointer-events: none;

}

/* وقتی کلاس show اضافه بشه */
.text-animated.show {
    opacity: 1;
    pointer-events: auto;
}






/* دکمه گوشه */
.contact-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #4B8E97;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 999;
    transition: transform 0.2s;
}

.contact-toggle:hover {
    transform: scale(1.1);
}

/* باکس تماس */
/* دکمه زنگ‌خور */


/* موج‌های پشت دکمه */
.contact-toggle::before,
.contact-toggle::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgb(16, 64, 69);
    top: 0;
    left: 0;
    animation: pulse 1.5s infinite;
}

.contact-toggle::after {
    animation-delay: 0.75s;
}

/* انیمیشن زنگ */
@keyframes ring {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(15deg); }
    20% { transform: rotate(-15deg); }
    30% { transform: rotate(10deg); }
    40% { transform: rotate(-10deg); }
    50% { transform: rotate(5deg); }
    60% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
}

/* انیمیشن موج */
@keyframes pulse {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* باکس تماس */
.contact-box-fixed {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    gap: 10px;
    z-index: 998;
}

.contact-box-fixed .contact-link {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-box-fixed .whatsapp {
    color: #ffffff;
}





.contact-box-fixed.show {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background-color 0.2s, transform 0.2s;
}

.contact-link:hover {
    background-color: rgba(255,255,255,0.2);
}

.contact-link.whatsapp {
    background-color: #25D366;
}

.contact-link.whatsapp:hover {
    background-color: #1ebe5d;
}





.menu-footer {
    text-align: right;
    font-family: Yekan-Bold;
}
.menu-footer li i{
    margin: 10px;
}

.menu-footer li a{
    position: relative;          /* لازم */
    display: inline-block;       /* بهتر برای کنترل عرض و جای‌گذاری */
    text-decoration: none;       /* حذف خط پیش‌فرض */
    color: inherit;              /* رنگ ارث‌بری */
    padding-bottom: 4px;         /* جا برای خط */
}

.menu-footer li a:hover{
    color: #97804b;
}

.menu-footer li a::after{
    content: "";
    position: absolute;
    bottom: 0;                   /* به‌جای -3px */
    left: 0;
    height: 2px;
    width: 100%;
    background-color: #97804B;
    transform: scaleX(0);        /* روان‌تر از تغییر width */
    transform-origin: left center;
    transition: transform 0.3s ease;
}

.menu-footer li a:hover::after {
    transform: scaleX(1);
}
/*===================================================================social========*/

.social-box {
    display: flex;
    gap: 15px;
    justify-content: center; /* وسط‌چین */
    margin: 20px 0;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    transition: transform 0.3s, background-color 0.3s;
}

.social-icon.telegram {
    background-color: #0088cc;
}

.social-icon.whatsapp {
    background-color: #25d366;
}

.social-icon.instagram {
    background: radial-gradient(circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285AEB 90%);
}

.social-icon:hover {
    transform: scale(1.1);
    opacity: 0.9;
}
/*=====================================================================gallery footer=====================*/

.footer-gallery {
    padding: 20px;
    background-color: #1d7b85;
    border-radius: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 60px);
    grid-gap: 10px;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s, opacity 0.3s;
    cursor: pointer;
}

.gallery-grid img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}





/* ===================================================================contac us */
.main {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    font-family: "Yekan-bold";
}

/* بخش چپ (توضیحات و شیوه‌های ارتباط) */
.left-section, .right-section {
    flex: 1;
    padding: 20px;
    box-sizing: border-box;
}

/* استایل بخش چپ */
/* استایل بخش چپ */
.left-section {
    width: 50%;
    background-color: #eee;
    border-radius: 8px;
    margin-right: 20px;
    text-align: right; /* راست‌چین کردن متن */
    font-size: 18px; /* تغییر به اندازه فونت مناسب برای متن */
    padding: 20px; /* فضای داخلی */
}

/* استایل برای لیست */
.left-section ul {
    padding: 0;
    margin: 0;
}

.left-section ul li {
    list-style: none; 
    padding: 15px;
    font-size: 20px; 
    color: #333; 
    line-height: 1.6; 
    border-bottom:1px solid #000 ;
    margin-top: 18px;
}

.left-section ul li i {
    margin-left: 10px; 
    color: #97804b; 
    font-size: 24px;
}

.contact-form input::placeholder, 
.contact-form textarea::placeholder {
    text-align: right; 
    font-size: 16px; 
}

.right-section {
    width: 50%;
    background-color: #4b8e97;
    border-radius: 8px;
    color: #eee;
    text-align: right;
}



.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-form button {
    padding: 10px 15px;
    background-color: #c0bfbf;
    width: 100%;
    color: rgb(55, 55, 55);
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #565656;
}

/* استایل نقشه */
.map-section {
    width: 100%;
    height: 400px;
    margin-top: 20px;
    text-align: right;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}


/* ========================================================about us  */



.header-about {
    background: #97804B;
    color: white;
    padding: 60px 0;
    text-align: center;
}

.header-about h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.header-about p {
    font-size: 18px;
}

/* بخش درباره ما */
.about-us {
    background-color: #ffffff;
    padding: 40px 20px;

    text-align: right;
}

.about-us h2 {
    font-size: 30px;
    margin-bottom: 20px;
    text-align: center;
}

.about-us p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* بخش خدمات ما */
.services-about {
    background-color: #4b8e97;
    padding: 40px 20px;
}

.services-about h2 {
    color: #eee;
    font-size: 30px;
    margin-bottom: 20px;
    text-align: center;
}

.service-item {
    background-color: #ffffff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    text-align: right;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.service-item p {
    font-size: 16px;
    line-height: 1.5;
}

/* بخش تماس با ما */
.contact-us {
    background-color: #ffffff;
    padding: 40px 20px;
    text-align: center;
}

.contact-us h2 {
    font-size: 30px;
    margin-bottom: 20px;
}

.contact-us p {
    font-size: 18px;
    margin-bottom: 10px;
}





/* ===============================================cookie */

/*.cookie-banner {*/
/*    position: fixed;*/
/*    bottom: 20px;*/
/*    left: 50%;*/
/*    transform: translateX(-50%);*/
/*    padding: 10px 20px;*/
/*    text-align: center;*/
/*    font-size: 18px;*/
/*    display: none;*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*    border-radius: 12px;*/
/*    z-index: 1000;*/
/*    width: auto;*/
/*    max-width: 500px;*/
/*    background: rgba(218, 216, 216, 0.15);*/
/*    backdrop-filter: blur(12px);*/
/*    -webkit-backdrop-filter: blur(15px);*/
/*    border: 1px solid rgba(255, 255, 255, 0.3);*/
/*    color: #1e1e1e;*/
/*    box-shadow: 3px 8px 20px rgba(0,0,0,0.2);*/
/*}*/
/*.cookie-banner a {*/
/*    color: #2588c3;*/
/*}*/
/*.cookie-banner a:hover {*/
/*    color: #16567c;*/
/*}*/
/*.cookie-content {*/
/*    max-width: 100%;*/
/*}*/

/*!* استایل برای دکمه‌ها *!*/
/*.cookie-btn {*/
/*    padding: 8px 16px; !* اندازه کوچکتر *!*/
/*    margin: 5px;*/
/*    cursor: pointer;*/
/*    font-size: 14px; !* اندازه کوچکتر برای دکمه *!*/
/*    border-radius: 5px; !* گرد کردن دکمه‌ها *!*/
/*    background: linear-gradient(135deg, #6EE7B7, #1d7b85);*/
/*    color: white;*/
/*    border: none;*/

/*    transition: background-color 0.3s ease;*/
/*}*/

/*.cookie-btn:hover {*/
/*    background-color: #45a049;*/
/*}*/

/*!* استایل برای دکمه رد کردن *!*/
/*#decline-btn {*/
/*    background-color: #f44336;*/
/*}*/

/*#decline-btn:hover {*/
/*    background-color: #d32f2f;*/
/*}*/

/*!* استایل برای دکمه رد کردن هنگام فشرده شدن *!*/
/*#accept-btn, #decline-btn {*/
/*    display: inline-block;*/
/*}*/
/*===============================================================================PALICY============*/


.privacy-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: right;
}

.privacy-container h2 {
    color: #4CAF50;
    font-size: 28px;
    margin-bottom: 25px;
    text-align: center;
}

.privacy-container h3 {
    font-size: 20px;
    margin-top: 30px;
    color: #555;
}

.privacy-container p {
    margin-bottom: 15px;
    font-size: 16px;

}

.privacy-container a {
    color: #4CAF50;
    text-decoration: none;
}

.privacy-container a:hover {
    text-decoration: underline;
}
/*===========================================404================*/


.error-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.error-code {
    font-size: 8rem;
    font-weight: bold;
    color: #97804b;
}
.error-message {
    font-size: 1.5rem;
    margin-bottom: 30px;
}
.btn-home {
    background-color: #97804b;
    color: white;
    padding: 10px 25px;
    border-radius: 8px;
    transition: background 0.3s;
}
.btn-home:hover {
    background-color: #7a673d;
    color: white;
}







/*==============================================================================animation buttom*/

/* حالت اولیه دکمه */
#send-btn {
    background: #1d7b85;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* حالت در حال ارسال */
#send-btn.loading {
    background: #888;
    position: relative;
}
#send-btn.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid #fff;
    border-top: 3px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

@keyframes spin {
    100% { transform: translateY(-50%) rotate(360deg); }
}

/* حالت موفقیت */
#send-btn.success {
    background: #0a8da8;
}
#send-btn.success::after {
    content: "✓";
    font-weight: bold;
    color: #fff;
    font-size: 18px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

/*====================================================================gallery================*/

.gallery-img {
    width: 100%;
    height: 300px; /* ارتفاع ثابت برای تصاویر */
    object-fit: cover; /* تصویر رو کراپ می‌کنه بدون کشیدگی */
    border-radius: 10px;
    transition: transform 0.3s;
}

.back-hover:hover .gallery-img {
    transform: scale(1.05); /* افکت بزرگ شدن روی هاور */
}

.zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: rgba(255,255,255,0.8);
    opacity: 0;
    transition: opacity 0.3s;
}

.back-hover:hover .zoom-icon {
    opacity: 1;
}
/*==============================================================rouls===================================*/
.clinic-rules {
    direction: rtl; /* راست‌چین */
    background: rgba(255, 255, 255, 0.9); /* شیشه‌ای */
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    font-family: 'Vazir', Tahoma, sans-serif;
    line-height: 1.8;
    color: #333;
    margin: 20px 0;
}

.clinic-rules ul {
    padding-right: 20px; /* فاصله از راست */
    margin: 15px 0 0 0;
}

.clinic-rules li {
    margin-bottom: 10px;
}

.clinic-rules a {
    color: #1a73e8;
    text-decoration: none;
}

.clinic-rules a:hover {
    text-decoration: underline;
}