/* فونت عمومی */
body {
    font-family: "Vazirmatn", sans-serif;
    background-color: #f5f5f5;
}



/* NAVBAR */
.navbar-custom {
    background-color: #2d2d30;
}
.navbar-custom .nav-link,
.navbar-custom .navbar-brand {
    color: #ddd !important;
}
.navbar-custom .nav-link:hover {
    color: #fff !important;
}


/* نوار بالا */
.navbar {
    background-color: #2d2d30 !important;
}

.navbar .nav-link {
    color: #ddd !important;
    font-size: 18px;
}

.navbar .nav-link:hover {
    color: #fff !important;
}

/* باکس اعلان */
.notice-box {
    background: #ccff99;
    color: #b30000;
    font-weight: bold;
    border-radius: 10px;
}

/* اسلایدر */
.carousel-item img {
    height: 420px;
    object-fit: cover;
    filter: grayscale(40%);
}


/* استایل مدال */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.modal-header {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    background-color: #28a745 !important; /* سبز آزمایشگاهی */
}

.modal-body h6 {
    font-size: 1.1rem;
    line-height: 1.6;
}


/* بخش خدمات */
.services-box {
    font-family: "B Titr";
}

.service-item {
    transition: all 0.3s ease;
    border-radius: 15px;
}

.service-item:hover {
    background: #f1f1f1;
    transform: translateY(-5px);
}

.service-icon {
    transition: transform 0.3s ease;
}

.service-item:hover .service-icon {
    transform: scale(1.07);
}


.about-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.section-title {
    color: #9c27b0;
    font-weight: bold;
    margin-bottom: 15px;
}

.about-text {
    font-size: 1.1rem;
    text-align: justify;
    line-height: 1.9;
    color: #444;
}

.about-img {
    max-width: 320px;
    border-radius: 15px;
}

.service-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.07);
    transition: 0.3s;
    min-height: 420px;
}

.service-card:hover {
    transform: translateY(-7px);
}

.service-img {
    transition: 0.3s;
}

.service-card:hover .service-img {
    transform: scale(1.08);
}

.section-title {
    color: #9c27b0;
    font-weight: bold;
}

.work-hours-section {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 20px;
}

.work-box {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  padding: 25px;
  max-width: 500px;
}

.section-title {
  font-weight: bold;
  color: #9c27b0;
}

.subtitle {
  font-size: 1.2rem;
  color: #555;
}

.work-box p {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.8;
  margin-bottom: 8px;
}

.contact-section {
    background-color: #ffffff;
}

.contact-box {
    background: #fafafa;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.contact-item .icon {
    font-size: 1.3rem;
    margin-left: 10px;
    color: #9c27b0;
}

.section-title {
    font-weight: bold;
    color: #9c27b0;
}


.contact-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.icon-title {
    color: #9c27b0;
    margin-left: 8px;
}

.contact-item {
    font-size: 1.05rem;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    line-height: 1.9;
}

.map-box iframe {
    border-radius: 15px;
}

.site-footer {
    background: #fafafa;
    border-top: 1px solid #e0e0e0;
}

.back-to-top {
    font-size: 1.8rem;
    color: #9c27b0;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    color: #6a1b9a;
}

.map-box iframe{
    width:100%;
    border:0;
}




/* اعلان‌ها */
.notice-box {
    background-color: #c8f07a;
    border-radius: 8px;
    padding: 1.5rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* بخش توجه */
.attention h1 {
    font-weight: bold;
    color: #333;
}
.attention h3 {
    margin-top: 1rem;
    font-size: 1.1rem;
}
.btn-online {
    margin-top: 2rem;
    padding: .75rem 1.5rem;
    font-size: 1.1rem;
}

/* Footer اصلی قدیمی */
.old-footer {
    background-color: #2d2d30;
    color: #eee;
    padding: 32px;
    margin-top: 5rem;
}
.old-footer a {
    color: #eee;
}
.old-footer a:hover {
    color: #999;
}