@font-face {
    font-family: titr;
    src: url(../fonts/Rubik/static/Rubik-Bold.ttf);
}
@font-face {
    font-family: titr2;
    src: url(../fonts/Lalezar-Regular.ttf);
}
@font-face {
    font-family: titr3;
    src: url(../fonts/Alexandria/static/Alexandria-Bold.ttf);
}
@font-face {
    font-family: titr4;
    src: url(../fonts/Rubik/static/Rubik-Bold.ttf);
}
.titr{
    font-size: 18px;
    font-family: titr;
    text-shadow: 0.1rem 0.1rem 0.8rem #000;
}
.titr2{
    font-family: titr2;
    font-size: 28px;
    text-shadow: 0.1rem 0.1rem 0.8rem #fff;
}
.titr3{
    font-family: titr3;
    font-size: 20px;
}
.titr4{
    font-family: titr4;
    font-size: 17px;
}
.titr5{
    font-family: titr3;
    font-size: 13px;
    text-shadow: 1px 2px #06ee9d;
}
.titr5:hover{
    font-size: 17px;
    transition: 800ms;
}
.titr6{
    color: #000;
    font-family: titr4;
    font-size: 17px;
}
html, body {
    max-width: 100%;
    overflow-x: hidden;
}
/* navbar */
.navbar-dark .navbar-nav .active>.nav-link,
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link.show,
.navbar-dark .navbar-nav .show>.nav-link{
    color: rgb(212, 129, 93) !important;
}
#logo{
    /* background-color: yellow; */
    margin-right: 30px;
}
#name{
    margin-right: 20px;
}
#menu{
    /* background-color: bisque; */
    position: relative;
    margin-left: auto;
    margin-right: auto;     
}
/* end navbar */
/* home */
section, div {
  margin: 0;
  padding: 0;
}

.landing{
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -1;
    height: 710px !important;
    background: transparent !important;
}
.home-wrap{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.home-inner{
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url(../images/IMG_3005.jpeg);
    background-position: center center;
    background-size: cover;
   

}
.caption{
    
    width:500px;
    height: 220px;    
    /* right: 525px; */
    position: absolute;
    /* margin: 0 auto;   */
    top: 18%;
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(231, 216, 216, 0.39);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(253, 252, 250, 0.212);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.349);
}
.caption2{
    position: relative;
    /* background-color: #d4ff00; */
    height: 280px;
    width:100%;    
    right: 20px;
    margin: 0 auto;
    bottom: 300px;
    display:block;
    z-index: 1;
    
}
.caption2 a{
    padding: 30px;
    /* background-color: rgb(224, 22, 22); */
    display: inline-flex;
    height: 80px;
    text-decoration: none;
    background-color: rgba(231, 216, 216, 0.39);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(253, 252, 250, 0.212);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.349);
}
#overlay{
    position: absolute;
    bottom: 250px;
    /* left: 50%;  */
    transform: translateX(50%);
    /* transform: translateY(100%); */
    transition: 0.8s;
    background-color: rgb(212, 129, 93);
    opacity: 0;
    
}
.caption2 a:hover #overlay{
    transform: translateY(0);
    opacity: 1;
}
#overlay2{
    position: absolute;
    bottom: 250px;
    /* left: 565px; */
    transform: translateY(100%);
    transition: 0.8s;
    background-color: rgb(212, 129, 93);
    opacity: 0;
}
.caption2 a:hover #overlay2{
    transform: translateY(0);
    opacity: 1;
}
#overlay3{
    position: absolute;
    bottom: 250px;
    /* left: 395px; */
    transform: translateY(100%);
    transition: 0.8s;
    background-color: rgb(212, 129, 93);
    opacity: 0;
}
.caption2 a:hover #overlay3{
    transform: translateY(0);
    opacity: 1;
}
#overlay4{
    position: absolute;
    bottom: 250px;
    /* left: 240px; */
    transform: translateX(-50%);
    transition: 0.8s;
    background-color: rgb(212, 129, 93);
    opacity: 0;
}
.caption2 a:hover #overlay4{
    transform: translateY(0);
    opacity: 1;
}
#overlay5{
    position: absolute;
    bottom: 100px;
    /* left: 715px; */
    transform: translateX(50%);
    transition: 0.8s;
    background-color: rgb(212, 129, 93);
    opacity: 0;
}
.caption2 a:hover #overlay5{
    transform: translateY(0);
    opacity: 1;
}
#overlay6{
    position: absolute;
    bottom: 100px;
    /* left: 560px; */
    transform: translateY(100%);
    transition: 0.8s;
    background-color: rgb(212, 129, 93);
    opacity: 0;
}
.caption2 a:hover #overlay6{
    transform: translateY(0);
    opacity: 1;
}
#overlay7{
    position: absolute;
    bottom: 100px;
    /* left: 405px; */
    transform: translateY(100%);
    transition: 0.8s;
    background-color: rgb(212, 129, 93);
    opacity: 0;
}
.caption2 a:hover #overlay7{
    transform: translateY(0);
    opacity: 1;
}
#overlay8{
    position: absolute;
    bottom: 100px;
    /* left: 235px; */
    transform: translateX(-50%);
    transition: 0.8s;
    background-color: rgb(212, 129, 93);
    opacity: 0;
}
.caption2 a:hover #overlay8{
    transform: translateY(0);
    opacity: 1;
}

/* end home */
/* products */
.area{
    margin: 0 auto;
    padding: 4rem 2rem 1rem;
    /* background-color: #00FF00 */
}
.btn-secondary{
    margin-top: 1.5rem;
    border-width: 0.1rem;
    margin: 1rem;
    color: #000;
    background-color: rgb(212, 129, 93);
    border-color:  rgb(212, 129, 93);
}
/* End products */
/* Services */
.col-2{
    background-color: rgba(231, 216, 216, 0.39);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(253, 252, 250, 0.212);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.349);
}
.a{
    text-decoration: none;
    cursor:pointer;
    color: #000;
    background-color: rgba(231, 216, 216, 0.39);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(253, 252, 250, 0.212);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.349);
    
}
.a:hover{
    text-shadow: 5px 5px 10px #00FF00;
    transition: 0.5s;
}
.jumbotron{
    margin-bottom: 0;
    padding: 2rem 0 3.5rem;
    border-radius: 0;
    background: url(../images/IMG_3007.jpeg);
    background-position: center center;
    background-size: cover;

}
.underline{
    width: 15rem;
    height: 0.2rem;
    background-color: rgb(212, 129, 93);
    margin: 1rem auto 2rem;
}
.service{
    background-color: rgba(231, 216, 216, 0.39);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(253, 252, 250, 0.212);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.349);
}
.service i{
    color: rgb(212, 129, 93);
    
}
/* End Services */
/* product-group */
.a2{
    text-decoration: none;
    cursor:pointer;
    color:antiquewhite;
}
.a3{
    text-decoration: none;
    cursor:pointer;
    color:rgb(0, 0, 0);
    size: 10px;
}
.group-background{
    position: relative;
    

}
.fixed-wrap{
    clip: rect(0,auto,auto,0);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1 !important;
   
}
.fixed{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    background-image: url(../images/Tarkibi.jpg);
    background-size: cover;
    background-position: center center;

}
.group-background .dark{
    background-color: rgba(0,0,0,0.7);
    color: #fff;
    padding: 7rem 2rem;
}
/* End product-group*/
/* rare medicine */
.raremed{
    width: 160px;
}
#rareMeds img{
    width: 100%;
    border-radius: 50%;

}
blockquote{
    text-align: justify;
    margin-top: 50px;
    background-color: rgba(231, 216, 216, 0.39);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(253, 252, 250, 0.212);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.349);

}
blockquote i{
    color:  rgb(212, 129, 93);
    margin: 1rem;

}
.hr{
    border-bottom: 0.1rem solid  rgb(212, 129, 93)  ;
}
/* End rare medicine */
/* insta */
#author .jumbotron{
    padding: 1rem 0 3rem;

}
.container .card{
    box-shadow: 3px 3px 5px rgb(212, 129, 93) ;
    border-radius: 10px;
    margin:auto;
    width: 400px;
}
.container .card:hover{
    background-color: #4bb9a9;
}
.container .card:hover i{
    color: rgb(239, 213, 179);
}
.container .card:hover h3,
.container .card:hover p{
    color: #fff;
}
#authorimg{
    width: 350px;
    height: 300px;
    margin-top: -5rem;
}
.card-body i{
    color: #000;
}
.card-body i:hover{
    color: #000 !important;
}
/* End insta *//* =======================================
   استایل فوتر مدرن و حرفه‌ای
   ======================================= */
.modern-footer {
    background-color: #2c3e50; /* یک پس‌زمینه تیره برای کنتراست */
    color: #ecf0f1;
    padding: 40px 0 10px 0;
    font-family: titr4, Tahoma, sans-serif;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.footer-section .footer-title {
    font-family: titr2, Tahoma, sans-serif;
    font-size: 20px;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

/* بخش درباره ما */
.footer-section.about {
    text-align: center;
}
.footer-logo {
    max-width: 150px;
    margin-bottom: 20px;
}
.footer-description {
    line-height: 1.8;
    color: #bdc3c7;
}

/* بخش تماس */
.footer-section.contact .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #bdc3c7;
}
.footer-section.contact .contact-item i {
    font-size: 18px;
    margin-left: 15px;
    width: 20px;
    text-align: center;
}
.footer-section.contact .contact-item a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-section.contact .contact-item a:hover {
    color: rgb(212, 129, 93);
}

/* بخش لینک‌ها و شبکه‌های اجتماعی */
.footer-section.links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-section.links ul li {
    margin-bottom: 10px;
}
.footer-section.links ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-section.links ul li a:hover {
   color: rgb(212, 129, 93);
;
}
.social-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}
.social-links a:hover {
    background-color: rgb(76, 159, 200);
    transform: scale(1.1);
}

/* بخش پایینی فوتر */
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    color: #95a5a6;
}
.footer-bottom p {
    margin: 5px 0;
    font-size: 14px;
}
.footer-bottom a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
    transition: all 0.5s ease;
}
.footer-bottom a:hover {
    color: #00FF00;
}

/* رسپانسیو برای فوتر */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    .footer-section {
        margin-bottom: 30px;
    }
    .social-links {
        justify-content: center;
    }
}
/* view */
.success{
    width: 100%;
    height: 40px;
    background-color: #d4ff00;
    font-style: italic;
    text-align: center;
}
.error{
    width: 100%;
    height: 40px;
    background-color: #ff0008;
    font-style: italic;
    text-align: center;
}
/* --- استایل‌های اختصاصی صفحه آپلود نسخه --- */
/* استایل‌های کلی فرم */
.form-group {
    width: 100%;
    margin-bottom: 20px;
    text-align: right;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}
.form-group input[type="text"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Vazirmatn', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group input[type="text"]:focus,
.form-group input[type="tel"]:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}
.warning-text {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 10px;
    text-align: center;
    display: block;
}

/* --- استایل جدید و زیباتر برای دکمه‌های بیمه --- */
.radio-group {
    display: flex;
    justify-content: center;
    gap: 5px;
    font-family: 'Vazirmatn', sans-serif;
}
.radio-group .radio-option {
    position: relative;
    flex: 1;
}
.radio-group .radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}
.radio-group .radio-option .radio-label {
    display: block;
    padding: 8px 12px;
    background-color: #f1f1f1;
    border: 1px solid #ddd;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    border-radius: 5px;
}
.radio-group .radio-option:first-child .radio-label {
    border-radius: 5px 0 0 5px;
}
.radio-group .radio-option:last-child .radio-label {
    border-radius: 0 5px 5px 0;
}
.radio-group .radio-option input[type="radio"]:checked + .radio-label {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
    font-weight: bold;
}
.radio-group .radio-option .radio-label:hover {
     background-color: #77b7fbff;
}
.radio-group .radio-option input[type="radio"]:checked + .radio-label:hover {
    background-color: #0056b3;
}

.message {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
}
.message.success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.message.error { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

@media (max-width: 600px) {
    .radio-group {
        flex-direction: column;
    }
    .radio-group .radio-option .radio-label {
        border-radius: 5px !important;
    }
}
/* استایل‌های جدید برای دکمه‌های سرویس */
.buttons-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.service-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    padding: 15px;
    border-radius: 10px;
    width: 120px;
}

.service-button img {
    width: 90px;
    height: 110px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.button-title {
    margin-top: 10px;
    color: #000;
    font-family: titr4;
    font-size: 17px;
    text-align: center;
}

/* افکت هاور فقط برای دستگاه‌های غیر موبایل */
@media (hover: hover) {
    .service-button:hover {
        background-color: rgba(212, 129, 93, 0.1);
        transform: translateY(-5px);
    }
    
    .service-button:hover img {
        transform: scale(1.05);
    }
}

/* انیمیشن ورود دکمه‌ها */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* اعمال انیمیشن به دکمه‌ها با تأخیر */
.service-button:nth-child(1) { animation: fadeInUp 0.5s ease forwards; animation-delay: 0.1s; }
.service-button:nth-child(2) { animation: fadeInUp 0.5s ease forwards; animation-delay: 0.2s; }
.service-button:nth-child(3) { animation: fadeInUp 0.5s ease forwards; animation-delay: 0.3s; }
.service-button:nth-child(4) { animation: fadeInUp 0.5s ease forwards; animation-delay: 0.4s; }
.service-button:nth-child(5) { animation: fadeInUp 0.5s ease forwards; animation-delay: 0.5s; }
.service-button:nth-child(6) { animation: fadeInUp 0.5s ease forwards; animation-delay: 0.6s; }
.service-button:nth-child(7) { animation: fadeInUp 0.5s ease forwards; animation-delay: 0.7s; }
.service-button:nth-child(8) { animation: fadeInUp 0.5s ease forwards; animation-delay: 0.8s; }

/* استایل‌های رسپانسیو */
@media (max-width: 768px) {
    .buttons-container {
        gap: 15px;
    }
    
    .service-button {
        width: 100px;
        padding: 10px;
    }
    
    .service-button img {
        width: 70px;
        height: 90px;
    }
    
    .button-title {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .buttons-container {
        gap: 10px;
    }
    
    .service-button {
        width: 80px;
        padding: 8px;
    }
    
    .service-button img {
        width: 60px;
        height: 75px;
    }
    
    .button-title {
        font-size: 12px;
    }
}
