/* Homepage styles */

/* Import base styles and components */
@import "base-zW0DGQa.css";
@import "components/header-FQ0_1JI.css";
@import "components/hero-MMeiMQJ.css";
@import "components/card_service-JwZyVJz.css";
@import "components/text_content-92yg7qr.css";
@import "components/stat-rEPf0At.css";
@import "components/link_arrow-UjWqbLF.css";
@import "components/card_event-zqtuDMt.css";
@import "components/footer-cxZLcZV.css";

/* ============================================ */
/* GLOBAL - MOBILE */
/* ============================================ */

section:not(.stats):not(.hero),
.stats__content {
    max-width: 1550px;
    margin-left: 16px;
    margin-right: 16px;
}

/* ============================================ */
/* SERVICES SECTION - MOBILE */
/* ============================================ */

.services {
    display: flex;
    flex-direction: column;
    gap: 74px;
    padding: 0;
    padding-bottom: 51px;
    padding-top: 39px;
}

.service {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.service__icon {
    width: 57px;
    height: 57px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service__icon img {
    width: 57px;
    height: 57px;
}

.service__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
}

.service__title {
    font-family: 'Lora', serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    color: var(--color-bordeaux);
}

.service__description {
    font-family: "Grantha Sangam MN";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    color: var(--color-bordeaux);
}

/* ============================================ */
/* EVENTS SECTION - MOBILE */
/* ============================================ */

.events {
    padding: 91px 0 64px 0;
    background-color: var(--color-white);
}

.events__header {
    margin-bottom: 52px;
}

.events__title {
    font-family: 'Lora', serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: 38px;
    color: var(--color-bordeaux);
    margin-bottom: 16px;
}

.events__title-wrapper {
    margin-bottom: 7px;
}

.events__link {
    font-size: 16px;
    line-height: 22px;
    color: var(--color-bordeaux);
    text-decoration: underline;
}

.events__grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.events__grid::-webkit-scrollbar {
    display: none;
}

.event {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 201px;
    flex-shrink: 0;
    scroll-snap-align: start;
}

.event__image {
    width: 201px;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
}

.event__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.event__text {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.event__content .btn {
    height: 28px;
    text-wrap: nowrap;
    color: var(--color-bordeaux);
    font-family: "Grantha Sangam MN";
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0.48px;
    text-transform: uppercase;
}

/* ============================================ */
/* STATS SECTION - MOBILE */
/* ============================================ */

.stats {
    position: relative;
    padding-bottom: 0;
}

.stats__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 0;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.stats__image-wrapper {
    position: relative;
    display: flex;
    width: 100%;
    height: 463px;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    background: linear-gradient(180deg, #F2F1EC 2.11%, rgba(242, 241, 236, 0.00) 48.11%), url('/assets/images/home/vignes-BtcYn3U.jpg') lightgray 50% / cover no-repeat;
}

.stats__bg {
    display: none;
}

.stat {
    text-align: center;
}

.stat__title {
    font-family: 'Lora', serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    color: var(--color-bordeaux);
    margin-bottom: 8px;
}

.stat__description {
    font-family: "Grantha Sangam MN";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    color: var(--color-bordeaux);
}

/* ============================================ */
/* HISTORY SECTION - MOBILE */
/* ============================================ */

.history {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 64px;
    padding: 0 0 64px 0;
    margin-top: 64px;
}

.history__images {
    display: flex;
    justify-content: center;
    width: 100%;
    aspect-ratio: 797 / 827;
    position: relative;
}

.history__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.history__content-wrapper {
    width: 100%;
}

.history__content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.history__content-wrapper .history__content:nth-child(2) {
    margin-left: 0px;
    margin-top: 9px;
}

.history__content .btn {
    width: fit-content;
    margin-top: 25px;
}

.history__title {
    font-family: 'Lora', serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: 38px;
    color: var(--color-bordeaux);
}

.history__intro {
    font-family: 'Lora', serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 510;
    line-height: 24px;
    color: var(--color-bordeaux);
}

.history__description {
    font-family: "Grantha Sangam MN";
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 22px;
    color: var(--color-bordeaux);
}

/* ============================================ */
/* RESPONSIVE - TABLET & DESKTOP */
/* ============================================ */

@media (max-width: 666px) {
    .events {
        margin-right: 0px !important;
    }
}

/* Services - 517px to 767px */
@media (min-width: 517px) and (max-width: 767px) {
    .service__description {
        max-width: 85%;
        margin: 0 auto;
    }
}

/* Events - 680px+ */
@media (min-width: 680px) {
    .events__grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 24px;
        overflow-x: visible;
        scroll-snap-type: none;
        padding: 0;
        margin: 0;
    }

    .event {
        width: 100%;
        min-width: 200px;
    }

    .event__image {
        width: 100%;
        height: auto;
        aspect-ratio: 201 / 120;
    }

    .stats__bg {
        height: 100%;
        width: 100%;
    }

    .stats__image-wrapper {
        max-height: 430px;
        max-width: 100%;
    }

    .history__images {
        width: 100%;
        aspect-ratio: 797 / 827;
    }

    .history__images img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

/* Services & History - 768px+ */
@media (min-width: 768px) {
    .service__description {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Stats - 800px+ */
@media (min-width: 800px) {
    .stats__content {
        display: flex;
        gap: 100px;
        align-items: flex-start;
        justify-content: center;
    }
}

/* Services & History - 768px to 1022px */
@media (min-width: 768px) and (max-width: 1022px) {
    .services {
        align-items: center;
    }

    .history {
        padding: 60px 0;
        gap: 40px;
        align-items: center;
    }

    .history__images {
        width: 100%;
        aspect-ratio: 797 / 827;
        display: flex;
        justify-content: center;
    }

    .history__image {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .history__content-wrapper {
        width: 100%;
    }
}

/* Services & History - 1023px+ */
@media (min-width: 1023px) {
    .services {
        align-items: center;
    }

    .history {
        flex-direction: row;
        gap: 40px;
        padding: 60px 0;
        align-items: center;
        justify-content: center;
    }

    .history__images {
        flex: 0 0 auto;
        order: 2;
        width: 100%;
        aspect-ratio: 797 / 827;
    }

    .history__image {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .history__content-wrapper {
        flex: 0 1 auto;
        width: 100%;
    }


    section:not(.stats):not(.hero),
    .stats__content {
        margin-left: 24px;
        margin-right: 24px;
    }

    /* Services */
    .services {
        padding: 0;
        padding-top: 80px;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 40px;
    }

    .service {
        flex: 0 1 auto;
        gap: 24px;
        max-width: 375px;
    }

    /* Events */
    .events__header {
        margin-bottom: 64px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Stats */
    .stats__bg {
        height: 100%;
        width: 100%;
    }

    .stats__image-wrapper {
        max-height: 430px;
        max-width: 100%;
    }

    .stats__content {
        padding: 0;
        margin-top: 90px;
        margin-bottom: 32px;
        position: relative;
        z-index: 1;
    }

    .stat__title {
        font-family: 'Lora', serif;
        font-size: 20px;
        font-style: normal;
        font-weight: 600;
        line-height: 24px;
    }

    .stat__description {
        font-family: "Grantha Sangam MN";
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 26px;
        margin-top: 20px;
    }

    /* History */
    .history {
        flex-direction: row;
        gap: 40px;
        padding: 60px 0;
        padding-bottom: 0px;
        margin-top: 0;
        align-items: center;
        justify-content: space-between;
        min-height: auto;
        max-height: none;
    }

    .history__content-wrapper {
        flex: 0 1 auto;
        max-width: 550px;
    }

    .history__content-wrapper .history__content:nth-child(2) {
        margin-left: 80px;
        margin-top: 80px;
    }

    .history__content {
        flex: 1;
        order: 1;
        margin-top: 33px;
        gap: 16px;
    }

    .history__title {
        padding-bottom: 60px;
    }

    .history__intro,
    .history__descriptions {
        margin-left: 130px;
    }

    .history__intro {
        font-size: 21px;
    }

    .history__descriptions {
        display: flex;
        flex-direction: column;
        gap: 7px;
    }

    .history__description {
        font-size: 17px;
    }

    .history__images {
        flex: 0 0 auto;
        order: 2;
        width: clamp(400px, 40vw, 797px);
        max-width: 797px;
        aspect-ratio: 797 / 827;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .history__images img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

/* Desktop - 1200px+ */
@media (min-width: 1200px) {

    section:not(.stats):not(.hero),
    .stats__content {
        margin-left: 100px;
        margin-right: 100px;
    }

    /* Events */
    .events {
        padding: 120px 0;
    }

    .events__header {
        margin-bottom: 64px;
    }

    .events__grid {
        gap: 32px;
    }

    /* Stats */
    .stats__bg {
        height: 100%;
        width: 100%;
    }

    .stats__image-wrapper {
        max-height: 430px;
        max-width: 100%;
    }

    /* History */
    .history__images {
        width: clamp(400px, 40vw, 797px);
        max-width: 797px;
        aspect-ratio: 797 / 827;
    }

    .history__images img {
        width: 100%;
        height: 85%;
        object-fit: contain;
    }
}

/* Desktop - 1300px+ */
@media (min-width: 1300px) {

    .history__intro,
    .history__descriptions {
        margin-left: 0px;
    }
}

/* Desktop - 1600px+ */
@media (min-width: 1600px) {

    section:not(.stats):not(.hero),
    .stats__content {
        max-width: 1550px;
        margin-left: 192px;
        margin-right: 192px;
    }

    /* History */
    .history {
        padding: 80px 0;
        gap: 60px;
    }

    .history__content-wrapper {
        max-width: 600px;
    }

    .history__images {
        width: 797px;
        aspect-ratio: 797 / 827;
    }

    .history__image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .history__content {
        flex: 1;
        margin-top: 62px;
    }

    .history__title {
        font-size: 56px;
        line-height: 64px;
    }

    .history__intro,
    .history__descriptions {
        margin-left: 130px;
    }

    .history__intro {
        font-size: 24px;
        line-height: 34px;
    }

    .history__descriptions {
        display: flex;
        flex-direction: column;
        gap: 7px;
    }

    .history__description {
        font-size: 20px;
        line-height: 26px;
    }

    /* Stats */
    .stats__bg {
        height: 100%;
        width: 100%;
    }

    .stats__image-wrapper {
        max-height: 430px;
        max-width: 100%;
    }

    .history__images {
        width: 797px;
        aspect-ratio: 797 / 827;
    }

    .history__content-wrapper .history__content:nth-child(2) {
        margin-left: 130px;
        margin-top: 80px;
    }
}


/* Desktop - 1920px+ */
@media (min-width: 1920px) {

    section:not(.stats):not(.hero),
    .stats__content {
        min-width: 1550px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Services */
    .services {
        padding: 80px 0;
    }

    .service__icon {
        width: 96px;
        height: 96px;
    }

    .service__icon img {
        width: 96px;
        height: 96px;
    }

    .service__title {
        font-size: 32px;
        line-height: 40px;
    }

    .service__description {
        font-size: 20px;
        line-height: 26px;
        max-width: 380px;
    }

    /* History */
    .history__images {
        width: 797px;
        aspect-ratio: 797 / 827;
    }

    .history__image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}