/* Homepage enhancements: hero CTAs, offers, below-fold, blogs */

.hero-lead {
    max-width: 34ch;
    margin: 12px auto 0;
    color: var(--TextColor);
    font-size: clamp(14px, 1.05vw, 16px);
    line-height: 1.7;
    font-family: IRANSansWeb_Medium;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 18px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 22px;
    border-radius: 999px;
    text-decoration: none;
    font-family: IRANSansWeb_Bold;
    font-size: 14px;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.hero-btn--primary {
    background: var(--menuItmeBlueMid);
    color: #fff;
    border: 2px solid var(--menuItmeBlueMid);
}

.hero-btn--primary:hover {
    background: var(--darkBlue);
    border-color: var(--darkBlue);
    transform: translateY(-1px);
}

.hero-btn--ghost {
    background: #fff;
    color: var(--menuItmeBlueMid);
    border: 2px solid var(--blueBorder);
}

.hero-btn--ghost:hover {
    background: var(--blueBorder);
    color: #fff;
}

.hero-trust {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.hero-trust li {
    font-size: 12px;
    color: var(--darkBlue);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(85, 157, 255, 0.35);
    border-radius: 999px;
    padding: 6px 12px;
    font-family: IRANSansWeb_Medium;
}

body>main>header .headerSection#LowAbuotUsSection .contentHeader header .boxHeader #DoScroll {
    margin-top: 12px;
    flex-shrink: 0;
}

@media (min-width:981px) {
    .hero-actions {
        margin-top: 14px;
    }

    .hero-trust {
        margin-top: 14px;
    }
}

@media (max-height:800px) and (min-width:981px) {
    .hero-lead {
        margin-top: 8px;
        font-size: 13px;
    }

    .hero-actions {
        margin-top: 10px;
        gap: 8px;
    }

    .hero-btn {
        min-height: 36px;
        padding: 0 16px;
        font-size: 13px;
    }

    .hero-trust {
        margin-top: 10px;
        gap: 6px;
    }

    .hero-trust li {
        font-size: 11px;
        padding: 4px 10px;
    }

    body>main>header .headerSection#LowAbuotUsSection .contentHeader header .boxHeader #DoScroll {
        margin-top: 8px;
    }
}

/* Offer cards */
#SearchForm {
    gap: 18px;
}

.offer-card {
    position: relative;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    background: #0b2f66;
    box-shadow: 0 10px 28px rgba(4, 54, 123, 0.14);
    transition: transform .25s ease, box-shadow .25s ease;
}

.offer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(4, 54, 123, 0.22);
}

.offer-card > img {
    width: 100%;
    height: 100%;
    min-height: 160px;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.offer-card:hover > img {
    transform: scale(1.04);
}

.offer-card__body {
    position: absolute;
    inset: auto 0 0 0;
    padding: 16px 18px;
    background: linear-gradient(180deg, transparent 0%, rgba(4, 54, 123, 0.88) 70%);
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
}

.offer-card__title {
    color: #fff;
    font-family: IRANSansWeb_Bold;
    font-size: 16px;
}

.offer-card__action {
    color: #fff;
    font-size: 12px;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    padding: 5px 10px;
    font-family: IRANSansWeb_Medium;
}

/* Below-fold landing */
.home-below {
    width: 100%;
    background:
        radial-gradient(circle at 90% 0%, rgba(85, 157, 255, 0.18), transparent 40%),
        linear-gradient(180deg, #f4f8ff 0%, #ffffff 55%);
    padding: 72px 24px 96px;
    position: relative;
    z-index: 2;
}

.home-below__inner {
    width: min(1100px, 100%);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.home-block__head {
    text-align: center;
    margin-bottom: 28px;
}

.home-block__head h2 {
    margin: 0;
    color: var(--TitleDarkBlue);
    font-family: IRANSansWeb_Bold;
    font-size: clamp(22px, 3vw, 32px);
}

.home-block__head p {
    margin: 8px 0 0;
    color: var(--TextColor);
    font-family: IRANSansWeb_Medium;
    font-size: 15px;
}

.home-popular__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.home-product-card {
    background: #fff;
    border: 1px solid rgba(85, 157, 255, 0.28);
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 22px rgba(4, 54, 123, 0.08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.home-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(4, 54, 123, 0.14);
}

.home-product-card img {
    width: 100%;
    aspect-ratio: 1.15;
    object-fit: contain;
    background: #f7faff;
    padding: 18px;
}

.home-product-card__body {
    padding: 14px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
}

.home-product-card__name {
    color: var(--darkBlue);
    font-family: IRANSansWeb_Bold;
    font-size: 14px;
    line-height: 1.5;
}

.home-product-card__cta {
    color: var(--menuItmeBlueMid);
    font-size: 13px;
    font-family: IRANSansWeb_Medium;
}

.home-why__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.home-why__item {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(85, 157, 255, 0.25);
    border-radius: 18px;
    padding: 24px 20px;
    text-align: center;
}

.home-why__num {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--menuItmeBlueMid);
    color: #fff;
    font-family: IRANSansWeb_Bold;
    margin-bottom: 12px;
}

.home-why__item h3 {
    margin: 0 0 8px;
    color: var(--darkBlue);
    font-family: IRANSansWeb_Bold;
    font-size: 17px;
}

.home-why__item p {
    margin: 0;
    color: var(--TextColor);
    font-size: 14px;
    line-height: 1.7;
}

.home-why__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 28px;
}

/* Blog cards */
.home-blogs__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.home-blog-card {
    background: #fff;
    border: 1px solid rgba(85, 157, 255, 0.25);
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 22px rgba(4, 54, 123, 0.08);
    transition: transform .25s ease, box-shadow .25s ease;
    min-width: 0;
}

.home-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(4, 54, 123, 0.14);
}

.home-blog-card__media {
    aspect-ratio: 16 / 10;
    background: #eef4ff;
    overflow: hidden;
}

.home-blog-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-blog-card__body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.home-blog-card__date {
    font-size: 12px;
    color: var(--TextColor);
    opacity: .8;
    font-family: IRANSansWeb_Medium;
}

.home-blog-card__title {
    color: var(--darkBlue);
    font-family: IRANSansWeb_Bold;
    font-size: 15px;
    line-height: 1.55;
}

.home-blog-card__excerpt {
    margin: 0;
    color: #4a5f7a;
    font-size: 13px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-blog-card__cta {
    margin-top: auto;
    padding-top: 8px;
    color: var(--menuItmeBlueMid);
    font-size: 13px;
    font-family: IRANSansWeb_Medium;
}

.home-blogs__more {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

@media (max-width:980px) {
    .hero-lead {
        max-width: 36ch;
        font-size: 14px;
        margin-top: 10px;
    }

    .hero-actions {
        width: 100%;
        margin-top: 14px;
    }

    .hero-btn {
        flex: 1 1 auto;
        min-width: 140px;
        font-size: 13px;
        min-height: 42px;
    }

    .hero-trust {
        margin-top: 14px;
        gap: 6px;
    }

    .hero-trust li {
        font-size: 11px;
        padding: 5px 10px;
    }

    .home-below {
        padding: 40px 16px 72px;
    }

    .home-below__inner {
        gap: 48px;
    }

    .home-block__head {
        margin-bottom: 20px;
    }

    .home-block__head p {
        font-size: 14px;
    }

    .home-popular__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .home-why__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .home-blogs__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .offer-card > img {
        min-height: 130px;
        max-height: 180px;
    }

    .offer-card__body {
        padding: 12px 14px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .offer-card__title {
        font-size: 14px;
    }

    .offer-card__action {
        font-size: 11px;
    }

    .home-product-card img {
        padding: 12px;
    }

    .home-product-card__name {
        font-size: 13px;
    }
}

@media (max-width:560px) {
    .home-popular__grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-btn {
        width: 100%;
    }

    .hero-trust {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-trust li {
        text-align: center;
    }
}

/* Homepage site footer */
.home-site-footer {
    width: 100%;
    background:
        linear-gradient(180deg, #04367b 0%, #032a5f 100%);
    color: #e8f1ff;
    position: relative;
    z-index: 2;
}

.home-site-footer__inner {
    width: min(1100px, 100%);
    margin: 0 auto;
    padding: 56px 24px 36px;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.home-site-footer__brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.home-site-footer__brand img {
    width: 64px;
    height: auto;
    flex-shrink: 0;
    background: #fff;
    border-radius: 50%;
    padding: 6px;
}

.home-site-footer__brand strong {
    display: block;
    font-family: IRANSansWeb_Bold;
    font-size: 18px;
    color: #fff;
    margin-bottom: 6px;
}

.home-site-footer__brand p {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: rgba(232, 241, 255, 0.85);
    max-width: 42ch;
}

.home-site-footer__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 28px;
}

.home-site-footer__col h3 {
    margin: 0 0 14px;
    font-family: IRANSansWeb_Bold;
    font-size: 15px;
    color: #fff;
}

.home-site-footer__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-site-footer__col a {
    color: rgba(232, 241, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    transition: color .2s ease;
}

.home-site-footer__col a:hover {
    color: #fff;
}

.home-site-footer__seals {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.home-site-footer__seals img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    background: #fff;
    border-radius: 10px;
    padding: 6px;
}

.home-site-footer__copy {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding: 16px 24px 20px;
    text-align: center;
}

.home-site-footer__copy p {
    margin: 0;
    font-size: 12px;
    color: rgba(232, 241, 255, 0.75);
    line-height: 1.8;
}

.home-site-footer__copy a {
    color: #fff;
    text-decoration: underline;
}

@media (max-width:980px) {
    .home-site-footer__inner {
        padding: 40px 16px 28px;
        gap: 28px;
    }

    .home-site-footer__brand {
        align-items: flex-start;
    }

    .home-site-footer__brand img {
        width: 56px;
    }

    .home-site-footer__brand strong {
        font-size: 16px;
    }

    .home-site-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px 16px;
    }

    .home-site-footer__trust {
        grid-column: 1 / -1;
    }

    .home-site-footer__copy {
        padding: 14px 16px 72px;
    }
}

@media (max-width:560px) {
    .home-site-footer__grid {
        grid-template-columns: 1fr;
    }
}
