@font-face {
    font-family: 'IRANYekan';
    src: url('./webfonts/iranyekan/IRANYekanXVF.woff') format('woff-variations'),
        url('./webfonts/iranyekan/IRANYekanXVF.woff') format('woff');
    font-weight: 100 1000;
    font-display: fallback;
}

@font-face {
    font-family: 'Dana';
    src: url('./webfonts/dana/DanaVF.woff') format('woff-variations'),
        url('./webfonts/dana/DanaVF.woff') format('woff');
    font-weight: 100 1000;
    font-display: fallback;
}

:root {
    --body-font-family: "Dana";
    --alt-font-family: "IRANYekan"
}

.modal {
    --sb-track-color: #232E33;
    --sb-thumb-color: #2d5f87cd;
    --sb-size: 12px;
}

.modal::-webkit-scrollbar {
    width: var(--sb-size)
}

.modal::-webkit-scrollbar-track {
    background: var(--sb-track-color);
    border-radius: 3px;
}

.modal::-webkit-scrollbar-thumb {
    background: var(--sb-thumb-color);
    border-radius: 3px;
    border: 1px solid #232E33;
}

@supports not selector(::-webkit-scrollbar) {
    .modal {
        scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);
    }
}

.is-boxed {
    font-family: var(--body-font-family) !important;
    text-align: right;
    -moz-font-feature-settings: "ss02";
    -webkit-font-feature-settings: "ss02";
    font-feature-settings: "ss02";
}

.faded-bg-image {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    z-index: -1;
}

.site-footer {
    /* background: linear-gradient(45deg, #0b005a, #00a1ff); */
    background: linear-gradient(45deg, #00345a, #00a1ff);
}

.site-footer a {
    color: #72fffc;
}

.site-footer-inner {
    padding: 10px 10px 8px;
}

.footer-p {
    font-size: 14px !important;
}

.p-color {
    color: #fff;
}

.btns-div {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin-top: 60px;
}

.pretty-button {
    padding: 10px 0;
    font-size: 18px;
    color: #fff;
    background-color: transparent;
    border: 2px solid #00c1c5;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    width: 175px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #036485c4;
}

.pretty-button:hover {
    border: none;
    background-color: #001cd3;
    box-shadow: rgba(255, 255, 255, 0.393) 0px 5px 15px;
    transform: scale(1.1);
}

.pretty-button:focus {
    outline: none;
}

.footer-social-links li+li {
    margin-left: 0;
}

.main-div {
    margin-top: 100px;
}

.body-wrap {
    /* background: linear-gradient(45deg, #0a005a85, #00a1ff); */
    background: linear-gradient(45deg, #00355a7d, #00a1ff);
}

.hero-square-4 {
    width: 230px;
    z-index: 2;
}

#logo-img-m {
    width: 300px;
}

.p-title-div {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.p-img-div {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
}

.logo-div-m {
    display: flex;
    justify-content: center;
    margin: -30px 0 30px 0;
}

.contact-div {
    display: flex;
}

.footer-p {
    margin-bottom: 0;
    font-size: 17px;
    text-align: right;
}

/* modal start */

/* Modal Customization */
.modal-custom {
    width: 600px;
    height: fit-content;
    background-color: transparent;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background-color: #002e3f;
    color: #ffffff;
    border-bottom: 1px solid #b8b8b8;
}

.modal-title {
    font-size: 18px;
    font-weight: bold;
}

.modal-body {
    font-size: 14px;
    line-height: 2.5;
    color: #e1e1e1;
    padding: 10px;
    text-align: right;
    background: linear-gradient(to bottom, #002e3f, #001085);
    border-radius: 0 0 10px 10px;
}

.contact-btn {
    padding: 0 5px;
}

.contact-info p {
    margin-bottom: 10px;
    font-size: 18px;
}

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

.modal-footer {
    border-top: none;
    background-color: #f8f9fa;
    border-radius: 0 0 15px 15px;
    display: flex;
    justify-content: center;
}

.hero-title {
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 800;
    font-size: 55px;
}

.modal-text {
    font-size: 16px;
}

/* Button Customization */
.btn-custom {
    background-color: #007bff;
    color: #ffffff;
    border-radius: 25px;
    padding: 8px 20px;
    font-size: 14px;
    transition: background-color 0.3s;
}

.btn-custom:hover {
    background-color: #0056b3;
}

.modal-close-btn {
    background-color: transparent;
    border: none;
    width: 40px;
}

.contact-info i {
    margin-left: 5px;
}

/* modal end */
.hero-inner {
    justify-content: center !important;
}

#partnersModal .modal-custom {
    width: 1140px !important;
}

/* _________ our partners modal start __________ */
.modal-header {
    border-bottom: 1px solid #e0e0e0;
    /* Light divider between header and content */
}

.partners-flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    /* Space between each logo card */
    padding: 20px 0;
}

.partner-card {
    background-color: #f9f9f9;
    border-radius: 15px;
    padding: 10px 0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 200px;
}

.img-size-sync {
    width: 100% !important;
}

.hero-copy {
    padding: 0 !important;
}

.partner-card img {
    width: 100px;
    height: auto;
    border-radius: 10px;
    /* Rounded logos */
    margin-bottom: 10px;
}

.partner-card:hover {
    transform: translateY(-5px);
    /* Lifts card on hover */
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
    /* Darker shadow on hover */
}

.partner-name {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    line-height: normal;
    margin: 10px 5px;
}

/* Ensure responsiveness */
@media (max-width: 768px) {
    .partner-card {
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    .partners-flex-container {
        gap: 20px;
    }

    .partner-card {
        max-width: 100px;
    }
}

/* _________ our partners modal end __________ */


@media only screen and (min-width: 991px) {
    .logo-div-m {
        display: none;
    }
}

@media only screen and (max-width: 990px) {
    .hero-inner {
        display: unset;
    }

    .hero-copy {
        width: 100%;
        z-index: 100;
        position: relative;
        direction: rtl;
        margin-top: 90px;
    }

    .hero-illustration {
        opacity: 0.5;
        display: block !important;
        width: unset !important;
    }

    .main-div {
        margin-top: 0;
    }

    .hero-square-4 {
        display: none !important;
        ;
    }

    #logo-img {
        margin-right: 70px;
    }

    .hero-title {
        text-align: center;
    }

    .hero-paragraph {
        text-align: center;
    }

    .btns-div {
        justify-content: center;
        margin-top: 25px;
    }

    .hero-title {
        display: none;
    }

    #logo-img-m {
        width: 250px;
    }

    .site-footer-inner {
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
    }

    .footer-copyright {
        justify-content: center !important;
        margin-top: 15px;
    }

    .footer-social-links {
        justify-content: center !important;
        margin-top: 15px;
    }

    .site-footer-inner {
        padding-top: 0;
        padding-bottom: 0;
    }
}

@media only screen and (max-width: 480px) {
    #logo-img-m {
        width: 180px;
    }

    .contact-info p {
        font-size: 16px;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-paragraph {
        font-size: 19px;
    }

    .pretty-button {
        font-size: 17px;
        width: 200px;
    }

    .btns-div {
        flex-direction: column;
        align-items: center;
    }

    .hero-copy {
        margin-top: 40px;
    }

    .partner-name {
        font-size: 11px;
    }
}

@media only screen and (max-width: 390px) {
    .footer-p {
        font-size: 15px;
    }
}