@media (max-width: 991.98px) {
    .lastUpdate {
        font-size: 0.75rem !important;
    }
}

@font-face {
    font-family: "Vazir";
    src: url("../fonts/vazir-font/Vazir.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

body, * :not(.fa) {
    font-family: "Vazir" !important;
}

html, body {
    scroll-behavior: smooth; /* smooth scroll برای کلیه لینک‌ها */
}


a {
    text-decoration: none !important;
}

.clickable-img {
    width: 100%;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);

}

.clickable-img:hover {
    transform: scale(1.05);
}

.iframe-wrapper {
    position: relative;
    width: 100%;
    height: 80vh; /* ارتفاع مناسب برای نمایش پروژه */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}


@media (min-width: 992px) {
    .clickable-img {
        width: 350px;
    }
}


.title1 {
    color: #2f5496 !important;
}


main {
    width: 100% !important;
    background-color: #ffffff !important;
    text-align: justify;
}

body {
    margin: 0px !important;
    padding: 0px !important;
}


#info {
    background-color: #d1ecff !important;
}


.imageBox {
    width: 9rem;
    height: 9rem;
    overflow: hidden;
    border-color: #b0bccd !important;
    position: relative;
}

.imageBox img {
    width: 90%;
    height: 90%;
    position: absolute;
    bottom: 0;
    left: -1px;
}



/* =========================
   Last Update
========================= */

.lastUpdate {
    right: 0 !important;
}


/* =========================
   Text Shadow
========================= */

.shado {
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}


/* =========================
   Decorative Flower
========================= */

.flower {
    background-image: url("../images/gol.webp");
    background-position: bottom right !important;
    background-repeat: no-repeat;
    background-size: contain;
    height: 70vh;
}


/* =========================
   Cards
========================= */

.card {
    border-radius: 16px;
    background: #fff;
    box-shadow:
            0 8px 20px rgba(0, 0, 0, 0.18),
            0 25px 60px rgba(0, 0, 0, 0.22);
    transition: all 0.4s ease;
}

.card:not(.border-primary) {
    border: none;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow:
            0 14px 30px rgba(0, 0, 0, 0.25),
            0 35px 80px rgba(0, 0, 0, 0.32);
}

.card.border-primary {
    box-shadow:
            0 12px 28px rgba(0, 0, 0, 0.28),
            0 30px 75px rgba(0, 0, 0, 0.35);
}

.card.border-primary:hover {
    box-shadow:
            0 18px 38px rgba(0, 0, 0, 0.35),
            0 45px 100px rgba(0, 0, 0, 0.45);
}


/* =========================
   Mobile Cards
========================= */

@media (max-width: 768px) {
    .card {
        box-shadow:
                0 10px 24px rgba(0, 0, 0, 0.22),
                0 28px 65px rgba(0, 0, 0, 0.28);
    }
}


/* =========================
   Contact Card
========================= */

.contact-card {
    border: none;
    border-radius: 16px;
    background: #fff;
    box-shadow:
            0 12px 30px rgba(0, 0, 0, 0.20),
            0 35px 80px rgba(0, 0, 0, 0.28);
    transition: all 0.4s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow:
            0 18px 40px rgba(0, 0, 0, 0.30),
            0 45px 100px rgba(0, 0, 0, 0.38);
}

.contact-card a {
    font-weight: 600;
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* =========================
   Disabled Form
========================= */

.disabled-form {
    opacity: 0.7;
    pointer-events: none;
}

.form-control {
    border-radius: 10px;
}

.form-control:disabled {
    background-color: #f5f5f5;
}


