body, html {
    height: 100%;
    margin: 0;
    direction: rtl;
    font-family: Vazirmatn, sans-serif;
    background-color: rgba(0, 0, 0, 0.5);
    /* background-image: url('7.jpg'); تصویر پیش‌فرض برای دسکتاپ */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* تنظیم 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 #ff0707; /* حاشیه زرد */
        border-radius: 10px; /* گوشه‌های گرد */
        color: #fff; /* رنگ متن */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* سایه برای عمق‌دهی */
    }
    .modal-header
    {
        border-bottom: 0.5px solid #ff0707!important; /* حاشیه زرد */
    }

    .modal-header, .modal-footer {
        border: #ff0707; /* حذف خطوط بالای هدر و پایین فوتر */
    }

    .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: #ff0707;
        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 #ff0707;
        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 #ff0707;
        box-shadow: 0 0 0 3px #ff0707;
        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:  #ff0707; /* رنگ فیروزه‌ای ملایم با شفافیت */  
    color: #ffffff;
    border: none;
    font-weight: bold;
    padding: 10px 20px;
    transition: background-color 0.3s;
    border-radius: 8px; /* گرد کردن دکمه */
}

.btn-custom:hover {
    background-color: #ff0707;/* تغییر رنگ هنگام هاور */
}
 

/* برای گوشی‌ها و صفحه‌های عمودی */
@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-image: url('8.jpg'); /* تصویر پیش‌فرض برای دسکتاپ */
    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;
    }

