html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    direction: rtl;
    font-family: Vazirmatn, sans-serif;
}

/* بک‌گراند واقعی */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("43.gif");
    background-size: cover; /* به جای contain */
    background-position: top center; /* بچسبه بالا */
    background-repeat: no-repeat;
    z-index: -3;
}

/* واید فقط عکس 34 */
@media (min-aspect-ratio: 16/9) {
    body::before {
        background-image: url("38.gif");
        background-size: cover;
    }
}


@media (max-width: 1024px) {
    body {
        background-attachment: scroll;
    }
}


/* تنظیم wrapper برای پر کردن کل صفحه */
.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* بخش محتوا */
.content {
    flex: 1;
    padding-top: 120px;
}

/* فوتر */
.footer {
    background-color:  rgba(0, 0, 0, 0.5);
    color: white;
    line-height: 2rem;
}

/* استایل هدر شیشه‌ای */
.glass-header {
    background-color: rgba(0, 0, 0, 0.2); /* رنگ تیره با شفافیت */
    backdrop-filter: blur(5px); /* افکت بلور */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* سایه‌ای برای عمق‌دهی */
}

/* جعبه‌های خدمات */
.service-box {
    background-color: rgba(0, 0, 0, 0.2); /* رنگ تیره با شفافیت */
    transition: all 0.3s ease;
    border-width: 1px;
    
}
.service-box:hover {
    background-color: rgba(0, 0, 0, 0.8); /* رنگ تیره با شفافیت */

    /* background-color: #e2e6ea; */
}
.service-box h5{
    color: #e2e6ea;
}
.icon {
    font-size: 2rem;
    color: #ffc107; /* رنگ زرد برای آیکون */
}
/* نوار پایین صفحه برای حالت موبایل و تبلت */
.bottom-navbar {
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1000;
}
.bottom-navbar .nav-link {
    color: white;
}

/* استایل لوگو */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
}
.navbar-brand a {
    color: #e2e6ea;
}
.navbar-brand span {
    color: #ffc107; /* رنگ زرد */
}

       /* استایل برای مودال شیشه‌ای */
       .modal-content {
        background-color: rgba(255, 255, 255, 0.2); /* رنگ پس‌زمینه شفاف */
        backdrop-filter: blur(10px); /* افکت بلور */
        border: none; /* حذف حاشیه مودال */
        border: 0.5px solid #003603; /* حاشیه زرد */
        border-radius: 10px; /* گوشه‌های گرد */
        color: #fff; /* رنگ متن */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* سایه برای عمق‌دهی */
    }
    .modal-header
    {
        border-bottom: 0.5px solid #003603!important; /* حاشیه زرد */
    }

    .modal-header, .modal-footer {
        border: #003603; /* حذف خطوط بالای هدر و پایین فوتر */
    }

    .modal-title {
        font-weight: bold;
    }

    .btn-close {
        filter: brightness(0) invert(1); /* تغییر رنگ آیکون بستن */
    }
    .timeline {
        position: relative;
        padding: 2rem 0;
        list-style: none;
      }
      .timeline::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 4px;
        background: #ddd;
        left: 20px;
        margin: 0;
      }
      .timeline-item {
        position: relative;
        margin-left: 40px;
        margin-bottom: 20px;
      }
      .timeline-item::before {
        content: '';
        position: absolute;
        top: 10px;
        left: -36px;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: #0d6efd;
      }
      .timeline-content {
        background: #f8f9fa;
        padding: 1rem;
        border-radius: .5rem;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
      }
      .timeline-time {
        font-size: 0.9rem;
        color: #6c757d;
      }
      .glass-container {
        background-color: rgba(255, 255, 255, 0.2); /* پس‌زمینه شفاف */
        backdrop-filter: blur(10px); /* افکت بلور */
        border-radius: 15px;
        padding: 20px;
        max-width: 100%;
        margin: 50px auto;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        color: #fff;
    }

    /* استایل تب‌ها */
    .nav-tabs .nav-link {
        color: #003603;
        border: none;
        font-size: 1rem;
    }

    .nav-tabs .nav-link.active {
        background-color: rgba(255, 255, 255, 0.1);
        color: #fff;
        border-radius: 8px;
    }

    .tab-content {
        padding: 20px;
        color: #fff;
    }

    /* ریسپانسیو برای دستگاه‌های کوچک‌تر */
    @media (max-width: 576px) {
        .glass-container {
            margin: 20px;
            padding: 15px;
        }

        .nav-tabs .nav-link {
            font-size: 0.9rem;
        }

        .tab-content {
            padding: 15px;
        }
    }

    @media (max-width: 768px) {
        .glass-container {
            padding: 18px;
        }
    }

    .timeline-1 {
        border-left: 3px solid #003603;
        border-bottom-right-radius: 4px;
        border-top-right-radius: 4px;
        background: rgba(177, 99, 163, 0.09);
        margin: 0 auto;
        position: relative;
        padding: 50px;
        list-style: none;
        text-align: left;
        max-width: 50%;
      }
      
      @media (max-width: 767px) {
        .timeline-1 {
          max-width: 98%;
          padding: 25px;
        }
      }
      
      .timeline-1 .event {
        border-bottom: 1px dashed #ffffff;
        padding-bottom: 25px;
        margin-bottom: 25px;
        position: relative;
      }
      
      @media (max-width: 767px) {
        .timeline-1 .event {
          padding-top: 30px;
        }
      }
      
      .timeline-1 .event:last-of-type {
        padding-bottom: 0;
        margin-bottom: 0;
        border: none;
      }
      
      .timeline-1 .event:before,
      .timeline-1 .event:after {
        position: absolute;
        display: block;
        top: 0;
      }
      
      .timeline-1 .event:before {
        left: -207px;
        content: attr(data-date);
        text-align: right;
        font-weight: 100;
        font-size: 0.9em;
        min-width: 120px;
      }
      
      @media (max-width: 767px) {
        .timeline-1 .event:before {
          left: 0px;
          text-align: left;
        }
      }
      
      .timeline-1 .event:after {
        -webkit-box-shadow: 0 0 0 3px #003603;
        box-shadow: 0 0 0 3px #003603;
        left: -55.8px;
        background: #fff;
        border-radius: 50%;
        height: 9px;
        width: 9px;
        content: "";
        top: 5px;
      }
      
      @media (max-width: 767px) {
        .timeline-1 .event:after {
          left: -31.8px;
        }
      }

      .glass-background {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: none;
    }
    .glass-input {
        background: rgba(255, 255, 255, 0.2);
        color: #fff;
        border: 1px solid rgba(255, 255, 255, 0.3);
        backdrop-filter: blur(5px);
    }
    .glass-input::placeholder {
        color: rgba(255, 255, 255, 0.7);
    }
    .btn-custom {
    background-color:  #003603; /* رنگ فیروزه‌ای ملایم با شفافیت */  
    color: #ffffff;
    border: none;
    font-weight: bold;
    padding: 10px 20px;
    transition: background-color 0.3s;
    border-radius: 8px; /* گرد کردن دکمه */
}

.btn-custom:hover {
    background-color: #003603;/* تغییر رنگ هنگام هاور */
}
 .service-box{
    max-height:500px;
    overflow-y:auto;
        background:linear-gradient(
        135deg,
        rgba(255,255,255,.12),
        rgba(255,255,255,.05)
    );
    backdrop-filter:blur(10px);
    border-radius:20px;
    padding:15px;
}

.service-item{
    position:relative;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:12px 15px;
    margin-bottom:10px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.1);
    border-radius:15px;
    cursor:pointer;
    transition:.3s;
}
.service-box::-webkit-scrollbar-thumb{
    background:rgba(255,255,255,.25);

    box-shadow:
        0 0 10px rgba(255,255,255,.15),
        0 0 20px rgba(255,255,255,.08),
        inset 0 1px 1px rgba(255,255,255,.2);
}
.service-item:hover{
    transform:translateY(-2px);
    background:rgba(255,255,255,.12);
}

.service-item input{
    display:none;
}

.service-item .checkmark{
    width:24px;
    height:24px;
    border-radius:50%;
    border:2px solid #28a745;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-left:10px;
    transition:.3s;
}

.service-item input:checked + .checkmark{
    background:#28a745;
}

.service-item input:checked + .checkmark:after{
    content:"✓";
    color:#fff;
    font-weight:bold;
}

.price{
    color:#ffc107;
    font-weight:bold;
}

.total-box{
    background:#003603;
    padding:15px;
    border-radius:15px;
    margin-top:15px;
    text-align:center;
    color:#fff;
}

.selected-services{
    margin-top:10px;
    font-size:14px;
    text-align:right;
}
.service-item{
    position:relative;
    overflow:hidden;
}

.service-price{
    position:absolute;
    left:15px;
    top:50%;
    transform:translateY(-50%);
    background:#ffc107;
    padding:4px 10px;
    border-radius:20px;
    font-size:12px;
    font-weight:bold;
    opacity:0;
    transition:.3s;
}

.service-item:hover .service-price,
.service-item:has(input:checked) .service-price{
    opacity:1;
}
.service-price{
    font-size:12px;
    opacity:.6;
    transition:.3s;
    white-space:nowrap;
}

.service-item input:checked ~ .service-price{
    opacity:1;
    font-weight:700;
    color:#ffc107;
}

@media (max-width:768px){

    .service-item{
        display:flex;
        justify-content:space-between;
        align-items:center;
        gap:10px;
    }

    .service-price{
        opacity:1;
        font-size:11px;
    }
}
.total-box{
    position:sticky;
    bottom:0;
    z-index:100;
    background:#003603;
}
/* Chrome, Edge, Safari */
.service-box::-webkit-scrollbar{
    width:10px;
}

.service-box::-webkit-scrollbar-track{
    background:rgba(255,255,255,.05);
    border-radius:20px;
    backdrop-filter:blur(10px);
}

.service-box::-webkit-scrollbar-thumb{
    background:linear-gradient(
        180deg,
        rgba(255,255,255,.35),
        rgba(255,255,255,.15)
    );

    border:1px solid rgba(255,255,255,.15);
    border-radius:20px;

    backdrop-filter:blur(20px);

    box-shadow:
        inset 0 1px 1px rgba(255,255,255,.2),
        0 4px 12px rgba(0,0,0,.15);

    transition:.3s;
}

.service-box::-webkit-scrollbar-thumb:hover{
    background:linear-gradient(
        180deg,
        rgba(255,255,255,.5),
        rgba(255,255,255,.25)
    );

    box-shadow:
        inset 0 1px 1px rgba(255,255,255,.3),
        0 6px 20px rgba(255,255,255,.1);
}

.service-box::-webkit-scrollbar-corner{
    background:transparent;
}

/* Firefox */
.service-box{
    scrollbar-width:thin;
    scrollbar-color:
        rgba(255,255,255,.35)
        rgba(255,255,255,.05);
}
            .scrolling-text-container {
                width: 100%;
                overflow: hidden;
                white-space: nowrap;
                height: 40px;
                position: relative;
            }
            
            .scrolling-text {
                display: inline-block;
                padding-right: 100%;
                animation: scrollText 60s linear infinite;
            }
            
            .scrolling-text span {
                display: inline-block;
                margin-left: 80px;
                font-size: 18px;
                font-weight: 500;
                font-family: Vazirmatn;
                color: #eeeeee;
            }
            
            @keyframes scrollText {
                0%   { transform: translateX(100%); }
                100% { transform: translateX(-100%); }
            }

                .glass-box {
            background: rgba(20, 20, 20, 0.1);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.15);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
            position: relative;
        }
             .glass-dark {
    background-color:  rgba(0, 0, 0, 0.2);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-right: 1px solid rgba(255, 255, 255, 0.1);
            border-left: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.4);
            transition: all 0.4s ease;
        }
            .video-box{
    height:100%;
    background:#111;
    border-radius:15px;
    overflow:hidden;
    position:relative;
    box-shadow:0 10px 30px rgba(0,0,0,.25);
}

.video-box video{
    width:100%;
    height:280px;
    object-fit:cover;
}

.video-content{
    padding:20px;
    color:white;
}

.video-badge{
    position:absolute;
    top:15px;
    right:15px;
    z-index:5;
    background:#198754;
    color:white;
    padding:8px 14px;
    border-radius:50px;
    font-size:14px;
    font-weight:600;
}
/* استایل شیشه‌ای متن */
.glass-dark {
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
}

/* تصویر ریسپانسیو */
.slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* موبایل: تصویر کامل دیده شود و ارتفاع خودکار */
@media (max-width: 767px) {
    .carousel-item .slider-img {
        height: auto;
        object-fit: contain;
    }
}
       .glass-table{
                background-color: rgba(0, 0, 0, 0.2); /* پس‌زمینه شفاف */
                backdrop-filter: blur(10px); /* افکت بلور */
                border-radius: 15px;
                border-color: #ff0707;
                padding: 20px;
                max-width: 100%;
                margin: 50px auto;
                box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
                color: #fff;

            }
            .glass-table:hover{
                background-color: rgba(0, 0, 0, 0.8); /* پس‌زمینه شفاف */
                color: #fff0f0!important;
            }
            .glass-table tbody tr:hover {
                background-color: rgba(0, 0, 0, 0.8); /* پس‌زمینه شفاف */
                color: #fff0f0 !important; /* رنگ متن در حالت هاور */
            }

            .glass-table tbody tr:hover td {
                color: #fff0f0 !important; /* رنگ متن داخل ستون‌ها در حالت هاور */
            }
            .glass-table {
                border-collapse: collapse; /* حذف فاصله بین خطوط جدول */
            }

            .glass-table th, .glass-table td {
                border-bottom: 1px solid #ff0707; /* رنگ خطوط جدول */
            }

            .glass-table thead th {
                border-bottom: 1px solid #ff0707!important; /* خطوط ضخیم‌تر برای قسمت سرستون */
            }

/* برای گوشی‌ها و صفحه‌های عمودی */
@media screen and (max-width: 768px), screen and (orientation: portrait) {
    body, html {
          height: 100%;
    margin: 0;
    direction: rtl;
    font-family: Vazirmatn, sans-serif;
    background-color: rgba(0, 0, 0, 0.5);
    /* تصویر پیش‌فرض برای دسکتاپ */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    }
}

    .video-bg {
      position: fixed;
      top: 0;
      left: 0;
      min-width: 100%;
      min-height: 100%;
      object-fit: cover;
      z-index: -1;
    }

