@font-face {
    font-family: "shabnam";
    src: url("../fonts/Shabnam/Shabnam-FD.woff2") format("woff2");
}

@font-face {
    font-family: IRANSans;
    src: url('../fonts/IRANSans/IRANSansWeb.eot');
    src: url('../fonts/IRANSans/IRANSansWeb.eot') format('embedded-opentype'), url('../fonts/IRANSans/IRANSansWeb(FaNum).woff') format('woff'), url('../fonts/IRANSans/IRANSansWeb.ttf') format('truetype');
    font-weight: 400;
    font-style: normal
}

@font-face {
    font-family: vazir;
    src: url('../fonts/vazir/Vazir-Light-FD-WOL.eot');
    src: url('../fonts/vazir/Vazir-Light-FD-WOL.eot') format('embedded-opentype'), url('../fonts/vazir/Vazir-Light-FD-WOL.woff') format('woff'), url('../fonts/vazir/Vazir-Light-FD-WOL.ttf') format('truetype');
    font-weight: 400;
    font-style: normal
}

@font-face {
    font-family: vazir-bold;
    src: url('../fonts/vazir/vazir-Bold.eot');
    src: url('../fonts/vazir/vazir-Blod.eot') format('embedded-opentype'), url('../fonts/vazir/Vazir-Bold-FD.woff') format('woff'), url('../fonts/vazir/vazir-Bold.ttf') format('truetype');
    font-weight: 400;
    font-style: normal
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0; /* حذف padding اضافی */
}

body {
    display: flex;
    flex-direction: column; /* تغییر جهت برای تطابق بهتر با دستگاه‌های مختلف */
    font-family: "shabnam", sans-serif;
    background-color: #e4e4e4;
    align-items: center;
    justify-content: center; /* اضافه شده برای وسط‌چین کردن محتوا */
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    margin: 0; /* حذف margin اضافی */
    padding: 20px; /* افزودن padding برای فاصله‌گذاری داخلی */
}

.container {
    width: 100%;
    /*تغییرعرضبه100%برایتطابقبهتر*/max-width: 1200px;
    /*حداکثرعرضبرایدسکتاپ*/display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px auto 0px;
    background-color: rgb(236, 236, 236);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.logo-container {
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    align-items: center;
    justify-content: center; 
    width: 250px;
    height: 250px;
    margin-top: 20px;
    border-radius: 50%;
    aspect-ratio: 1 / 1; /* اطمینان از نسبت یکسان عرض به ارتفاع */
    background-color: #F5F5F5;
}

.logo {
    width: 230px;
    height: auto;
    filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.3));
    -webkit-filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.3));
}

@keyframes rotateImageXHalf {
    0% {
        transform: rotateX(0deg);
    }
    50% {
        transform: rotateX(90deg);
    }
    100% {
        transform: rotateX(180deg);
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


.roya {
    width: 230px;
    height: auto;
    filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.2));
    -webkit-filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.2));
}

.dreams {
    display: none;
    width: 230px;
    height: auto;
    filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.2));
    -webkit-filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.2));
}


.typo-container {
    display: flex;
    justify-content: center;
    margin: 10px auto;
}

.typo {
    width: 200px;
    height: auto;
    filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.3));
}

.title {
    margin: 5px auto 50px;
    font-size: 20px;
    color: #3d25ca;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.address-container {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    align-content: center;
    justify-content: center;
    width: 100%;
    padding: 20px 10px;
    margin-bottom: 50px;
    border-radius: 5px;
    /* background-color: rgb(230, 230, 230); */
    /* box-shadow: 0 4px 8px rgba(0,0,0,0.08); */
    /* font-family: IRANSansX; */
    font-size: 14px;
}

.address-title {
    font-weight: bold;
    margin-right: 10px;
}

.address {
    display: inline-block;
    line-height: 30px;
    padding-right: 5px;
    text-align: justify;
}

.social{
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    margin: 0px auto 20px;
    /* padding: 20px; تغییر padding برای تطابق بهتر */
    border-radius: 5px;
    flex-wrap: wrap;
    background-color: rgb(230, 230, 230);
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);

}


.social-desc {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    text-align: justify;
    line-height: 35px;
    max-width: 90%;
    padding: 10px;
    margin: 5px auto;
    font-size: 20px;
    color: #ffffff;
    /*background: rgba(216, 115, 32, 0.8);
    */background: linear-gradient(145deg, #FFA726, #FB8B00);
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.2);
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.social-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    margin: 0px auto 20px;
    padding: 20px; /* تغییر padding برای تطابق بهتر */
    border-radius: 5px;
    flex-wrap: wrap;
    background-color: rgb(230, 230, 230);
}

.social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px;
    text-align: center;
    filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.3));

}

.social-item a {
    text-decoration: none;
    color: #2c5cfc;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    margin: 0;
    padding: 0;   
}

.social-item span {
    margin-top: 10px;
    font-size: 14px;
}

.map-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* وسط‌چین کردن عمودی */
    justify-content: center; /* وسط‌چین کردن افقی */
    margin: 10px;
}

.map-title {
    display: flex;
    max-width: 350px;
    text-align: center;
    line-height: 27px;
    margin-bottom: 20px;
    color: #2c5cfc;
    font-size: 16px;
}

.map {
    display: flex;
    border: 2px solid #dfdfdf;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    width: 100%; /* تغییر عرض به 100% برای تطابق بهتر */
    max-width: 600px; /* حداکثر عرض برای دسکتاپ */
    height: auto;
    border-radius: 10px;
}

.footer {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 90px;
    justify-content: center;
    align-items: center;
}

.copyright {
    display: flex;
    align-items: center;
    justify-content: center;
}

.enamad {
    position: absolute;
    left: 20px;
    bottom: 10px;
}

.enamad img {
    width: 90px;
    height: auto;
}


.copyright span {
    font-size: 10px;
}

.copyright a {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;  
}

.copyright img {
    width: 70px;
    height: auto;
    object-fit: cover;
    margin-left: 5px;
    fill: #fff;
}

.phone-container {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    text-align: center;
    width: 100%;
    margin: 20px auto 0px;
    padding: 10px 0px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    background-color: rgb(230, 230, 230);
}

.tel-desc {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 90%;
    padding: 10px 0px;
    font-size: 20px;
    line-height: 30px;
    color: #ffffff;
    /*background: rgba(80, 60, 245, 0.9);
    */background: linear-gradient(145deg,rgba(80, 60, 245, 0.9), rgba(50, 30, 200, 0.9));
    padding: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    margin: 10px auto 30px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.phone {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 5px;
    align-items: center;
    margin: 10px;
    padding: 10px 50px;
    text-align: center;
    flex-wrap: wrap;
}

.p6220, .p021, .p0200 {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
    font-size: 20px;
}

.mobile-container {
    display: flex;
    flex-wrap: wrap;
    background: #e6e6e6;
    flex-direction: column;
    align-items: center;
}

.mobile-title {
    display: flex;
    margin-top: 10px;
    color: rgb(190, 54, 0);
    font-weight: bold;
}

.mobile-numbers {
    display: flex;
    flex-direction: column;
    margin: 5px 5px 10px;
    font-size: 20px;
}

.enamad {
    margin-top: 15px;
    text-align: center;
}

.enamad img {
    width: 120px; /* اندازه لوگو */
    height: auto;
}

@media (max-width: 768px) { /* اضافه شده برای تطابق با دستگاه‌های کوچک‌تر */
    
    body {
        padding: 0px;
    }

    .container {
        max-width: 100%;
        display: flex;
        margin: 0px 0px;
        border-radius: 5px;
    }
  
    .logo-container {
        width: 100px;
        height: 100px;
        max-width: 100%;
        margin:10px auto 0px;
    }
    .logo {
        width: 100px;
        height: auto;
    }
    
    .roya {
        width: 100px;
        height: auto;
    }
        
    .typo {
        width: 80px;
        height: auto;
        margin: 0px auto;
    }
      
    .title {
        font-size: 16px;
        margin: 0px auto;
    }

    .address-container{
        max-width: 90%;
        margin: 30px auto ;
        padding: 5px 10px;
        border-radius: 2px;
        font-size: 12px;
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        -ms-border-radius: 2px;
        -o-border-radius: 2px;
}

    .address {
        line-height: 20px;
    }
    
  
    .social-container {
        margin: 0px auto 10px;
        padding: 10px; /* تغییر padding برای تطابق بهتر */
    }
    
    .social-desc {
        /* margin-top: -10px; */
        font-size: 12px;
        /* margin-bottom: px; */
        line-height: 20px;
    }
    /* .social-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 50px;
        text-align: center;
    } */
    
    .social-item img {
        width: 50px;
        height: 50px;
    }
    
    .social-item span {
        margin-top: 5px;
        font-size: 10px;
    }


    .map-container {
        align-items: center; /* وسط‌چین کردن عمودی */
        justify-content: center; /* وسط‌چین کردن افقی */
        max-width: 70%;
        margin: 10px;
    }

    .map-title {
        padding: 10px;
        font-size: 12px;
        max-width: 300px;
        margin-bottom: 0px;
        line-height: 18px;
    }

    .map{
        width: 80%;
        max-width: 80%;
        align-items: center; /* وسط‌چین کردن عمودی */
        justify-content: center; /* وسط‌چین کردن افقی */
    }

    .phone-container {
        margin: 5px auto 0px;
        padding: 10px 0px 20px;
        border-radius: 5px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.08);
        background-color: rgb(230, 230, 230);
    }

    .tel-desc {    
        margin-top: 10px;
        font-size: 12px;
        margin-bottom: 5px;
        line-height: 20px;
    }
 
    .phone {
        flex-direction: row;
        justify-content:space-around;
        gap: 1px;
        margin: 2px;
        padding: 1px 1px;
        text-align: center;
        align-items: center;
        flex-wrap: wrap;
    }
    
    .p6220, .p021, .p0200 {
        gap: 4px;
        text-align: center;
        font-size: 14px;
    }
 
    .mobile-title {
        font-size: 14px;
        font-weight: bold;
    }
    
    .mobile-numbers {
        flex-direction: column;
        margin: 5px 5px 10px;
        font-size: 14px;
    }

    .copyright {
        flex-direction: column;
        gap: 8px;
    }
    .enamad {
    position: static;
    margin-top: 15px;
    text-align: center;
    width: 100%;
    }

    .enamad img {
        width: 75px;
    }

}


@keyframes enlarge-shrink {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.5); /* سایز بزرگ‌تر */
    }
    100% {
        transform: scale(1);
    }
}
.social-item {
    animation: none; /* شروع بدون انیمیشن */
    animation-fill-mode: forwards;
}


