/*
==========================================================
Qalamation
Homepage Styles
==========================================================
*/


/*
|--------------------------------------------------------------------------
| Global Homepage
|--------------------------------------------------------------------------
*/

.home-hero,
.home-vision,
.home-how-it-works,
.home-categories {

    position: relative;

}

.section-eyebrow {

    display: inline-flex;

    align-items: center;

    color: #198754;

    font-size: 13px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1.8px;

    margin-bottom: 16px;

}

.section-title {

    margin: 0;

    color: #17221d;

    font-size: clamp(
        34px,
        4vw,
        56px
    );

    font-weight: 800;

    line-height: 1.08;

    letter-spacing: -2px;

}

.section-title span {

    display: block;

    color: #198754;

}

.section-description {

    color: #66736c;

    font-size: 17px;

    line-height: 1.8;

    margin-top: 22px;

    margin-bottom: 0;

    max-width: 650px;

}

.section-heading {

    max-width: 820px;

    margin: 0 auto 65px;

}


/*
|--------------------------------------------------------------------------
| Hero
|--------------------------------------------------------------------------
*/

.home-hero {

    min-height: 720px;

    display: flex;

    align-items: center;

    overflow: hidden;

    padding: 90px 0 100px;

    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(25, 135, 84, 0.13),
            transparent 34%
        ),
        radial-gradient(
            circle at 5% 90%,
            rgba(25, 135, 84, 0.07),
            transparent 28%
        ),
        #fbfdfc;

}

.hero-content {

    position: relative;

    z-index: 3;

}

.hero-eyebrow {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 7px 14px 7px 8px;

    border: 1px solid
        rgba(25, 135, 84, 0.18);

    background:
        rgba(255, 255, 255, 0.8);

    border-radius: 50px;

    color: #466052;

    font-size: 13px;

    font-weight: 600;

    margin-bottom: 27px;

}

.hero-eyebrow-icon {

    width: 31px;

    height: 31px;

    border-radius: 50%;

    background: #198754;

    color: #ffffff;

    display: inline-flex;

    align-items: center;

    justify-content: center;

}

.hero-title {

    color: #17221d;

    font-size: clamp(
        52px,
        6.4vw,
        92px
    );

    font-weight: 800;

    line-height: 0.98;

    letter-spacing: -4px;

    margin: 0;

    max-width: 850px;

}

.hero-title span {

    display: block;

    color: #198754;

    font-family: Georgia, serif;

    font-style: italic;

    font-weight: 500;

    letter-spacing: -3px;

}

.hero-description {

    color: #66736c;

    font-size: 18px;

    line-height: 1.8;

    max-width: 650px;

    margin: 30px 0 0;

}

.hero-actions {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 14px;

    margin-top: 35px;

}

.hero-primary-btn {

    min-height: 54px;

    padding: 0 27px;

    border-radius: 50px;

    background: #198754;

    color: #ffffff;

    border: 1px solid #198754;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    font-size: 15px;

    font-weight: 700;

    box-shadow:
        0 12px 28px
        rgba(25, 135, 84, 0.2);

    transition: 0.25s ease;

}

.hero-primary-btn:hover {

    color: #ffffff;

    background: #146c43;

    border-color: #146c43;

    transform: translateY(-2px);

    box-shadow:
        0 16px 32px
        rgba(25, 135, 84, 0.27);

}

.hero-secondary-btn {

    min-height: 54px;

    padding: 0 27px;

    border-radius: 50px;

    background: #ffffff;

    color: #273a30;

    border: 1px solid #dfe8e3;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    font-size: 15px;

    font-weight: 700;

    transition: 0.25s ease;

}

.hero-secondary-btn:hover {

    color: #198754;

    border-color: #198754;

    background: #ffffff;

    transform: translateY(-2px);

}

.hero-trust {

    display: flex;

    flex-wrap: wrap;

    gap: 22px;

    margin-top: 35px;

}

.hero-trust-item {

    display: flex;

    align-items: center;

    gap: 8px;

    color: #6c7871;

    font-size: 13px;

    font-weight: 500;

}

.hero-trust-item span {

    width: 21px;

    height: 21px;

    border-radius: 50%;

    background:
        rgba(25, 135, 84, 0.1);

    color: #198754;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    font-size: 9px;

}


/*
|--------------------------------------------------------------------------
| Hero Visual
|--------------------------------------------------------------------------
*/

.hero-visual {

    min-height: 560px;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

}

.hero-glow {

    position: absolute;

    border-radius: 50%;

    filter: blur(5px);

}

.hero-glow-one {

    width: 350px;

    height: 350px;

    background:
        rgba(25, 135, 84, 0.12);

}

.hero-glow-two {

    width: 180px;

    height: 180px;

    right: 0;

    top: 30px;

    background:
        rgba(218, 170, 75, 0.13);

}

.hero-paper {

    width: 390px;

    min-height: 480px;

    background: #ffffff;

    border-radius: 6px 28px 6px 28px;

    box-shadow:
        0 30px 80px
        rgba(28, 54, 40, 0.16);

    position: relative;

    z-index: 2;

    transform: rotate(3deg);

    overflow: hidden;

    border: 1px solid
        rgba(25, 135, 84, 0.08);

}

.hero-paper-top {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 27px 30px;

    border-bottom: 1px solid #eef2ef;

}

.hero-paper-logo {

    width: 43px;

    height: 43px;

    border-radius: 13px;

    background: #198754;

    color: #ffffff;

    display: flex;

    align-items: center;

    justify-content: center;

}

.hero-paper-top span,
.hero-paper-top small {

    display: block;

}

.hero-paper-top span {

    color: #1c2d24;

    font-weight: 800;

}

.hero-paper-top small {

    color: #8b9790;

    margin-top: 2px;

}

.hero-paper-content {

    padding: 37px 32px;

}

.hero-paper-label {

    color: #198754;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 20px;

}

.hero-paper-line {

    height: 9px;

    width: 100%;

    border-radius: 20px;

    background: #e9efec;

    margin-bottom: 13px;

}

.hero-line-lg {

    height: 18px;

    width: 92%;

    background: #263c31;

}

.hero-line-md {

    height: 18px;

    width: 65%;

    background: #263c31;

    margin-bottom: 25px;

}

.hero-line-sm {

    width: 70%;

}

.hero-quote {

    margin-top: 37px;

    padding: 22px;

    border-left: 3px solid #198754;

    background: #f5faf7;

}

.hero-quote i {

    color: #198754;

    margin-bottom: 8px;

}

.hero-quote p {

    margin: 0;

    color: #526158;

    font-family: Georgia, serif;

    font-size: 16px;

    font-style: italic;

    line-height: 1.6;

}

.hero-paper-footer {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 18px 30px;

    border-top: 1px solid #eef2ef;

    color: #8b9790;

    font-size: 11px;

}

.hero-paper-footer div {

    display: flex;

    align-items: center;

    gap: 6px;

}

.hero-floating-card {

    position: absolute;

    z-index: 4;

    background: #ffffff;

    border-radius: 15px;

    padding: 13px 16px;

    display: flex;

    align-items: center;

    gap: 11px;

    box-shadow:
        0 15px 35px
        rgba(28, 54, 40, 0.13);

}

.hero-floating-card > span {

    width: 42px;

    height: 42px;

    border-radius: 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        rgba(25, 135, 84, 0.1);

    color: #198754;

}

.hero-floating-card strong,
.hero-floating-card small {

    display: block;

}

.hero-floating-card strong {

    color: #263a30;

    font-size: 13px;

}

.hero-floating-card small {

    color: #8b9790;

    font-size: 10px;

    margin-top: 2px;

}

.hero-floating-write {

    left: -20px;

    top: 95px;

}

.hero-floating-read {

    right: -20px;

    bottom: 80px;

}


/*
|--------------------------------------------------------------------------
| Vision
|--------------------------------------------------------------------------
*/

.home-vision {

    padding: 110px 0;

    background: #ffffff;

}

.vision-wrapper {

    padding: 70px;

    border-radius: 30px;

    background:
        linear-gradient(
            135deg,
            #f4faf6,
            #fbfdfc
        );

    border: 1px solid #e8f0eb;

}

.vision-link {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: #198754;

    font-weight: 700;

    text-decoration: none;

    margin-top: 30px;

}

.vision-link i {

    transition: 0.2s ease;

}

.vision-link:hover {

    color: #146c43;

}

.vision-link:hover i {

    transform: translateX(5px);

}

.vision-grid {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;

}

.vision-card {

    background: #ffffff;

    border: 1px solid #e8efeb;

    border-radius: 18px;

    padding: 25px;

    display: flex;

    align-items: flex-start;

    gap: 17px;

    transition: 0.25s ease;

}

.vision-card:hover {

    transform: translateY(-5px);

    border-color:
        rgba(25, 135, 84, 0.3);

    box-shadow:
        0 15px 35px
        rgba(28, 54, 40, 0.08);

}

.vision-icon {

    width: 50px;

    height: 50px;

    min-width: 50px;

    border-radius: 15px;

    background:
        rgba(25, 135, 84, 0.1);

    color: #198754;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 19px;

}

.vision-card h4 {

    color: #22352b;

    font-size: 17px;

    font-weight: 750;

    margin: 2px 0 8px;

}

.vision-card p {

    color: #758179;

    font-size: 13px;

    line-height: 1.7;

    margin: 0;

}


/*
|--------------------------------------------------------------------------
| How It Works
|--------------------------------------------------------------------------
*/

.home-how-it-works {

    padding: 110px 0;

    background: #f9fbfa;

}

.how-steps {

    display: grid;

    grid-template-columns:
        1fr auto 1fr auto 1fr auto 1fr;

    align-items: center;

    gap: 15px;

}

.how-step {

    min-height: 310px;

    background: #ffffff;

    border: 1px solid #e7eeea;

    border-radius: 20px;

    padding: 30px 24px;

    position: relative;

    transition: 0.25s ease;

}

.how-step:hover {

    transform: translateY(-7px);

    border-color:
        rgba(25, 135, 84, 0.3);

    box-shadow:
        0 18px 45px
        rgba(28, 54, 40, 0.09);

}

.how-step-number {

    position: absolute;

    top: 22px;

    right: 22px;

    color: #dfe8e3;

    font-size: 28px;

    font-weight: 800;

}

.how-step-icon {

    width: 60px;

    height: 60px;

    border-radius: 18px;

    background:
        rgba(25, 135, 84, 0.1);

    color: #198754;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 22px;

    margin-bottom: 28px;

}

.how-step h4 {

    color: #203329;

    font-size: 19px;

    font-weight: 750;

    margin-bottom: 13px;

}

.how-step p {

    color: #758179;

    font-size: 14px;

    line-height: 1.75;

    margin: 0;

}

.how-step-line {

    color: #a9b9b0;

}

.how-action {

    margin-top: 55px;

}


/*
|--------------------------------------------------------------------------
| Categories
|--------------------------------------------------------------------------
*/

.home-categories {

    padding: 110px 0 120px;

    background: #ffffff;

}

.categories-heading {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 40px;

    margin-bottom: 55px;

}

.categories-view-all {

    color: #198754;

    text-decoration: none;

    font-weight: 700;

    display: inline-flex;

    align-items: center;

    gap: 9px;

    white-space: nowrap;

    padding-bottom: 7px;

}

.categories-view-all i {

    transition: 0.2s ease;

}

.categories-view-all:hover {

    color: #146c43;

}

.categories-view-all:hover i {

    transform: translateX(5px);

}

.categories-grid {

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 22px;

}

.category-card {

    min-height: 300px;

    padding: 28px;

    border: 1px solid #e7eeea;

    border-radius: 20px;

    background: #ffffff;

    color: inherit;

    text-decoration: none;

    display: flex;

    flex-direction: column;

    transition: 0.25s ease;

}

.category-card:hover {

    color: inherit;

    transform: translateY(-7px);

    border-color:
        rgba(25, 135, 84, 0.35);

    box-shadow:
        0 20px 50px
        rgba(28, 54, 40, 0.1);

}

.category-card-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 28px;

}

.category-icon {

    width: 60px;

    height: 60px;

    border-radius: 18px;

    background:
        rgba(25, 135, 84, 0.1);

    color: #198754;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 22px;

}

.category-arrow {

    color: #b2bdb7;

    font-size: 13px;

    transition: 0.2s ease;

}

.category-card:hover .category-arrow {

    color: #198754;

    transform: translate(
        3px,
        -3px
    );

}

.category-card h4 {

    color: #203329;

    font-size: 20px;

    font-weight: 750;

    margin-bottom: 12px;

}

.category-card p {

    color: #758179;

    font-size: 14px;

    line-height: 1.7;

    margin-bottom: 25px;

    display: -webkit-box;

    -webkit-line-clamp: 3;

    -webkit-box-orient: vertical;

    overflow: hidden;

}

.category-meta {

    margin-top: auto;

    padding-top: 18px;

    border-top: 1px solid #edf1ef;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

}

.category-meta span {

    color: #8a958f;

    font-size: 12px;

    display: flex;

    align-items: center;

    gap: 7px;

}

.category-meta strong {

    color: #198754;

    font-size: 12px;

    display: flex;

    align-items: center;

    gap: 6px;

}

.categories-empty {

    padding: 70px 25px;

    border: 1px dashed #cfdcd5;

    border-radius: 20px;

    text-align: center;

    background: #fbfdfc;

}

.categories-empty-icon {

    width: 70px;

    height: 70px;

    margin: 0 auto 20px;

    border-radius: 50%;

    background:
        rgba(25, 135, 84, 0.1);

    color: #198754;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 25px;

}

.categories-empty h4 {

    color: #263a30;

    font-weight: 750;

}

.categories-empty p {

    color: #7c8881;

    margin: 10px 0 0;

}


/*
|--------------------------------------------------------------------------
| Large Tablet
|--------------------------------------------------------------------------
*/

@media (
    min-width: 992px
)
and (
    max-width: 1199.98px
) {

    .hero-title {

        font-size: 64px;

    }

    .hero-paper {

        width: 340px;

    }

    .hero-floating-write {

        left: -5px;

    }

    .hero-floating-read {

        right: -5px;

    }

    .vision-wrapper {

        padding: 50px;

    }

    .how-steps {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 20px;

    }

    .how-step-line {

        display: none;

    }

    .categories-grid {

        grid-template-columns:
            repeat(3, minmax(0, 1fr));

    }

}


/*
|--------------------------------------------------------------------------
| Tablet
|--------------------------------------------------------------------------
*/

@media (
    max-width: 991.98px
) {

    .home-hero {

        padding: 75px 0 85px;

    }

    .hero-content {

        text-align: center;

    }

    .hero-title {

        max-width: 700px;

        margin-left: auto;

        margin-right: auto;

    }

    .hero-description {

        margin-left: auto;

        margin-right: auto;

    }

    .hero-actions,
    .hero-trust {

        justify-content: center;

    }

    .hero-visual {

        margin-top: 25px;

    }

    .hero-paper {

        width: 380px;

    }

    .hero-floating-write {

        left: 10%;

    }

    .hero-floating-read {

        right: 10%;

    }

    .vision-wrapper {

        padding: 50px 40px;

    }

    .how-steps {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 20px;

    }

    .how-step-line {

        display: none;

    }

    .categories-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }

}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (
    max-width: 767.98px
) {

    .section-title {

        font-size: 38px;

        letter-spacing: -1.5px;

    }

    .section-description {

        font-size: 15px;

        line-height: 1.7;

    }

    .home-hero {

        min-height: auto;

        padding: 55px 0 65px;

    }

    .hero-eyebrow {

        margin-bottom: 22px;

    }

    .hero-title {

        font-size: 50px;

        letter-spacing: -2.5px;

    }

    .hero-title span {

        letter-spacing: -2px;

    }

    .hero-description {

        font-size: 16px;

        margin-top: 24px;

    }

    .hero-actions {

        flex-direction: column;

    }

    .hero-actions .btn {

        width: 100%;

    }

    .hero-trust {

        gap: 12px 18px;

    }

    .hero-visual {

        min-height: 480px;

        margin-top: 15px;

    }

    .hero-paper {

        width: 310px;

        min-height: 420px;

    }

    .hero-paper-top {

        padding: 22px;

    }

    .hero-paper-content {

        padding: 28px 24px;

    }

    .hero-paper-footer {

        padding: 15px 22px;

    }

    .hero-floating-card {

        padding: 10px 12px;

    }

    .hero-floating-card > span {

        width: 36px;

        height: 36px;

    }

    .hero-floating-write {

        left: 0;

        top: 80px;

    }

    .hero-floating-read {

        right: 0;

        bottom: 55px;

    }

    .home-vision,
    .home-how-it-works,
    .home-categories {

        padding: 75px 0;

    }

    .vision-wrapper {

        padding: 35px 22px;

        border-radius: 22px;

    }

    .vision-grid {

        grid-template-columns: 1fr;

    }

    .vision-card {

        padding: 22px;

    }

    .section-heading {

        margin-bottom: 45px;

    }

    .how-steps {

        grid-template-columns: 1fr;

    }

    .how-step {

        min-height: auto;

    }

    .categories-heading {

        display: block;

        margin-bottom: 40px;

    }

    .categories-view-all {

        margin-top: 25px;

    }

    .categories-grid {

        grid-template-columns: 1fr;

    }

    .category-card {

        min-height: 280px;

    }

}


/*
|--------------------------------------------------------------------------
| Small Mobile
|--------------------------------------------------------------------------
*/

@media (
    max-width: 399.98px
) {

    .hero-title {

        font-size: 42px;

    }

    .hero-trust {

        flex-direction: column;

        align-items: center;

    }

    .hero-visual {

        min-height: 430px;

    }

    .hero-paper {

        width: 270px;

    }

    .hero-paper-content {

        padding: 25px 20px;

    }

    .hero-floating-card {

        transform: scale(0.85);

    }

    .hero-floating-write {

        left: -15px;

    }

    .hero-floating-read {

        right: -15px;

    }

    .vision-card {

        display: block;

    }

    .vision-icon {

        margin-bottom: 18px;

    }

}