* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}
@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 700;
    src: url("../fonts/eot/IRANSansWeb_Bold.eot");
    src: url("../fonts/eot/IRANSansWeb_Bold.eot?#iefix")
            format("embedded-opentype"),
        url("../fonts/woff2/IRANSansWeb_Bold.woff2") format("woff2"),
        url("../fonts/woff/IRANSansWeb_Bold.woff") format("woff"),
        url("../fonts/ttf/IRANSansWeb_Bold.ttf") format("truetype");
}
@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 500;
    src: url("../fonts/eot/IRANSansWeb_Medium.eot");
    src: url("../fonts/eot/IRANSansWeb_Medium.eot?#iefix")
            format("embedded-opentype"),
        url("../fonts/woff2/IRANSansWeb_Medium.woff2") format("woff2"),
        url("../fonts/woff/IRANSansWeb_Medium.woff") format("woff"),
        url("../fonts/ttf/IRANSansWeb_Medium.ttf") format("truetype");
}
@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/eot/IRANSansWeb.eot");
    src: url("../fonts/eot/IRANSansWeb.eot?#iefix") format("embedded-opentype"),
        url("../fonts/woff2/IRANSansWeb.woff2") format("woff2"),
        url("../fonts/woff/IRANSansWeb.woff") format("woff"),
        url("../fonts/ttf/IRANSansWeb.ttf") format("truetype");
}
body {
    line-height: 1;
    direction: rtl;
    font-family: IRANSans, sans-serif;
    color: #333;
    flex-direction: column;
    min-height: 100vh; /* ارتفاع کل صفحه */

}
html {
    font-size: 62.5%;
}
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}
span {
    display: block;
    font-size: 1.4rem;
    letter-spacing: 0.05rem;
    color: #a8c1f7;
    margin-bottom: 1.4rem;
    text-align: center;
}
.requierd {
    color: #08a9e6;
    display: inline-block;
    margin: 0;
}
.error-message {
    display: inline;
    color: #ff0000;
    font-size: 1.2rem;
    margin-top: 5px;
    max-width: 100%;
}
/* MAIN SECTION */
.main__heading {
    font-size: 4.8rem;
    padding: 8rem 0 2.4rem;
    text-align: center;
    line-height: 1.35;
    font-weight: 700;
    color: #2563eb;
    text-shadow: 1px 1px 2px black;
}
.main__description {
    margin-bottom: 4.8rem;
    font-size: 1.8rem;
    text-align: center;
}
.main__container {
    background-color: #d3e0fb;
    margin: 4.8rem 12.8rem 9.6rem;
    padding: 4.8rem;
    border-radius: 3.2rem;
    box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.2);
}

/* HEADER */
.header {
    background: #fff;
    box-shadow: 0 0 0.8rem rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 10;
}
.header__container {
  display: flex;
  align-items: center;
  justify-content: center; /* برای وسط‌چین افقی */
  position: relative; /* تا بتونی لوگو رو جدا موقعیت بدی */
  padding: 2rem; /* اختیاری برای فاصله داخلی */
}

/* .header__logo img {
    height: 4rem;
} */

#logo {
    height: 4rem;
}

#logo.animated {
    animation: spinMove 1.8s ease-in-out forwards;
}

@keyframes spinMove {
    0% {
        transform: translateX(0) rotate(0deg);
    }
    50% {
        transform: translateX(-80px) rotate(360deg);
    }
    100% {
        transform: translateX(0) rotate(0deg);
    }
}


.header__nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3.2rem;
    list-style: none;
    font-size: 2rem;
}
.header__link:link,
.header__link:visited {
    display: inline-block;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s;
}
.header__link:hover,
.header__link:active {
    color: #2563eb;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between; /* سه ستون */
  padding: 2rem 4rem;
}

.header__logo {
  flex-shrink: 0; /* اجازه نده جمع شه */
}

.header__nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.header__btn {
  display: none;
  flex-shrink: 0; /* دکمه موبایل هم نریزه */
}

.header__btn--back {
    border: none;
    background: none;
    cursor: pointer;
    display: block;
}
.header__icon--back {
    width: 4.4rem;
    height: 4.4rem;
    color: #2563eb;
}

/* FOOTER */
.footer {
    padding: 0 4.8rem;
    background-color: #2563eb;
    color: #d3e0fb;
}
.footer__container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8rem;
    row-gap: 0;
    padding: 3.2rem 0;
}
.footer__widget {
    grid-column: 1/2;
}
.footer__logo img {
    height: 4.4rem;
    margin-bottom: 1.2rem;
}
.footer__widget p {
    font-size: 1.4rem;
    line-height: 2;
}

/** CONTACT US (in the footer)**/
.contact-us {
    grid-column: 2/3;
}
.contact-us__heading {
    font-size: 3.6rem;
    font-weight: 500;
    margin-bottom: 4.8rem;
}
.contact-us__title {
    font-size: 1.8rem;
    margin-bottom: 2.4rem;
}
.contact-us__description {
    font-size: 1.4rem;
    line-height: 2;
    margin-bottom: 2.4rem;
}
.contact-us__icon-box {
    display: flex;
    justify-content: center;
    gap: 2.4rem;
    margin-bottom: 1.2rem;
}
.contact-us__icon {
    display: inline-block;
    width: 3.2rem;
}
.contact-us__numbers {
    text-align: center;
    margin-bottom: 1.8rem;
    text-decoration: none;
}
.contact-us__number:link,
.contact-us__number:visited {
    display: inline-block;
    color: #d3e0fb;
    font-size: 1.6rem;
    line-height: 1.5;
    margin: 0 0.6rem;
}
.contact-us__number:hover,
.contact-us__number:active {
    text-decoration: underline;
}
.container--row-2 {
    grid-column: 1/-1;
    text-align: center;
}
/******************************/

.footer__widget--col-left {
    grid-column: 3/4;
    text-align: right;
}
.footer__widget--col-left ul {
    list-style: none;
}
.footer__widget--col-left a:link,
.footer__widget--col-left a:visited {
    display: inline-block;
    color: #d3e0fb;
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
}

.footer__widget--col-left a{
    text-decoration: none;
}

.footer__widget--col-left a:hover,
.footer__widget--col-left a:active {
    text-decoration: underline;
}
.footer__text {
    font-size: 1.2rem;
    color: #d3e0fb;
    text-align: center;
    grid-column: 1/-1;
    padding-top: 2.4rem;
    border-top: 1px solid #d3e0fb;
}
