@font-face {
    font-family: 'Quicksand';
    src: url('/fonts/Quicksand/Quicksand-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

:root {
    /* fonts */
    --font: 'Quicksand';

    /* Colors */
    --primary-color: #E93323;
    --secondary-color: #1C478C;
    --secondary-color-light: #0065A1;
    --secondary-color-ultralight: #D6E5F1;
    --body-text-color: #000000;
    --body-text-color-light: #3A3A3A;
    --light-bg: #F3F3F3;
    --ultra-light-bg: #F6F9FC;
    --white: #ffffff;

    /* Container Size */
    --content-width: 1240px;
    --gutter-x: 1.5rem;

    /* Radius */
    --radius-m: 0.625rem;
    --radius-l: 0.938rem;

    /* Headings Sizes */
    --h1: clamp(2rem, 1.389vw + 1.556rem, 3.25rem);
    --h2: clamp(1.8rem, 1.125vw + 1.44rem, 2.8125rem);
    --h3: clamp(1.4rem, 0.458vw + 1.253rem, 1.8125rem);
    --h4: clamp(1.2rem, 0.472vw + 1.049rem, 1.625rem);

    /* Text sizes */
    --text-m: clamp(1rem, 0.417vw + 0.867rem, 1.375rem)
}

body {
    font-family: var(--font);
    color: var(--body-text);
}

.container {
    max-width: var(--content-width);
    padding-inline: var(--gutter-x);
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.btn {
    display: inline-block;
    font-size: var(--text-m);
    padding: .8rem 2.1rem;
    line-height: 1.1;
    border-radius: var(--radius-m);
    font-weight: 600;
    border: 2px solid;
    transition: all .3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color)
}
.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color)
}

.btn-secondary {
    background-color: var(--secondary-color-light);
    color: var(--white);
    border-color: var(--secondary-color-light);
}

.btn-secondary:hover,
.btn-secondary:active,
.btn-secondary:focus {
    background-color: transparent;
    color: var(--secondary-color-light);
    border-color: var(--secondary-color-light);
}

.btn-secondary-outline {
    border-color: var(--secondary-color-light);
    color: var(--secondary-color);
}

.btn-secondary-outline:hover,
.btn-secondary-outline:active,
.btn-secondary-outline:focus {
    border-color: var(--secondary-color-light);
    color: var(--white);
    background: var(--secondary-color-light);
}

.btn-white-outline {
    color: var(--white);
    border-color: var(--white);
}

.btn-white-outline:hover,
.btn-white-outline:active,
.btn-white-outline:focus {
    color: var(--secondary-color-light);
    background: var(--white);
    border-color: var(--white);
}

h1 {
    font-size: var(--h1);
    line-height: 1.19em;
    letter-spacing: -0.0185em;
    font-weight: bold;
}

h2 {
    font-size: var(--h2);
    line-height: 3.75rem;
    letter-spacing: -0.06rem;
    font-weight: bold;
}

h3 {
    font-size: var(--h3);
    line-height: 2rem;
    letter-spacing: 0rem;
    font-weight: bold;
}

h4{
    font-size: var(--h4);
    line-height: 2rem;
    font-weight: bold;
}

p {
    font-size: var(--text-m);
    line-height: 2rem;
    letter-spacing: 0rem;
}

.divider {
    max-width: 68px;
    background-color: var(--secondary-color-light);
    width: 100%;
    display: inline-block;
    height: 3px;
}


/* Header Styling */
header.header {
    width: 100%;
    height: auto;
    z-index: 999;
}

/* HERO SECTION STYLING */
.hero-section {
    background: url(/assets/hero-bg.png) no-repeat;
    padding-block: 180px 90px;
    background-size: cover;
    position: relative;
    background-position: center;
}
.hero-section__wrapper {
    z-index: 2;
    position: relative;
}

.hero-section__content {
    max-width: 520px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
}

.hero-section_button-group {
    gap: 20px;
}

/* FEATURES SECTION */
.features-section {
    padding-block: 4rem;
    background: var(--secondary-color-ultralight);
    position: relative;
}

.features-section:before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: url(/assets/feature-bg.png);
    position: absolute;
    top: 0;
}

.features-wrapper {
    z-index: 1;
    position: relative;
}

.feature-item__content h4 {
    margin-bottom: .35rem;
    color: var(--body-text-color-light);
}

.feature-item__content span {
    font-weight: 400;
    font-size: 20px;
    line-height: 32px;
}

/* IMAGE WITH TEXT  */
.image-with-text-section {
    padding-block: 126px 135px;

}

.image-with-text-header {
    max-width: 655px;
    margin: 0 auto;
    padding-bottom: 6.5rem;
}

.image-with-text-header p {
    max-width: 500px;
    margin: 0 auto;
}

.image-with-text-content-wrapper {
    gap: 75px;
    padding-inline: 20px;
}

.image-with-text-content-wrapper .image-with-text__image-wrap {
    max-width: 55%;
}

.image-with-text-content-wrapper .image-with-text__content-wrap {
    max-width: 45%;
}

.image-with-text__image-wrap img {
    border-radius: var(--radius-l);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-with-text__content-wrap {
    padding-right: 2rem;
}

.image-with-text__content-wrap h2 {
    margin-top: -.8rem;
}

.image-with-text__content-wrap p {
    margin-top: .6rem;
}

/* Start To finish section */
.start-to-finish-section {
    background: var(--secondary-color-light);
    color: var(--white);
    padding-top: 160px;
    padding-bottom: 340px;
}

.start-to-finish__header {
    max-width: 470px;
}

.start-to-finish-section-wrapper {
    gap: 160px;
}

.start-to-finish-cta__wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.start-to-finish__list ul {
    padding: 0;
}

.start-to-finish__list li {
    position: relative;
    list-style: none;
    display: flex;
    gap: 28px;
    align-items: center;
}

.start-to-finish__list li p {
    margin: 0;
    border-bottom: 2px solid var(--primary-color);
    line-height: 80px;
    width: 100%;
}

.start-to-finish__list li:last-child p {
    border-bottom: 0;
}

.start-to-finish__list li:before {
    content: '';
    display: block;
    background: url(/assets/check-light.svg) no-repeat;
    background-size: contain;
    width: 32px;
    height: 32px;
}

.start-to-finish-cta {
    background: var(--secondary-color-ultralight);
    color: var(--body-text-color);
    position: relative;
    padding: 50px 50px 50px 50px;
    border-radius: var(--radius-m);
    margin-top: 4rem;
    max-width: calc(var(--content-width) - 20px);
    margin-bottom: calc(-17rem * 2);
    overflow: hidden;
}

.start-to-finish-cta__inner {
    padding-inline: 1rem;
}

.start-to-finish-cta:before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    background: url(/assets/bg-pattern.webp);
    z-index: 0;
    top: 0;
    opacity: .2;
    background-size: cover;
    left: 0;
}

.start-to-finish-cta__wrapper p {
    max-width: 700px;
    margin-top: .2rem;
    z-index: 2;
}

.start-to-finish-cta ul.cta-list-items li {
    font-size: calc(var(--text-m) + 1px);
    list-style: none;
    position: relative;
    text-align: left;
    display: flex;
    gap: 20px;
    align-items: center;
    font-weight: bold;
    color: var(--body-text-color-light);
}

.start-to-finish-cta ul.cta-list-items li:before {
    content: '';
    display: block;
    background: url(/assets/check-dark.svg) no-repeat;
    background-size: contain;
    width: 32px;
    height: 32px;
}

.cta-list-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    padding: 0;
    max-width: 900px;
    gap: 35px;
    margin-top: 2.4rem;
}

/* Custom Notepad Section */
section.custom-notepads-section {
    padding-top: calc(8.5rem * 2);
    padding-bottom: 100px   ;
    background: var(--light-bg);
}
.custom-notepads__products-list{
    padding-inline: 20px;
    gap: 28px;
    margin-top: 30px;
}
.custom-notepads__product {
    flex: 1;
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    align-items: center;
    padding: 13px 35px 30px 35px;
    box-shadow: 0px 4px 4px 0px #00000040;
    border-radius: var(--radius-l);
    transition: all .3s ease;
}
.custom-notepads__product:hover {
    transform: translate(0, -10px);
    transition: all .3s ease;
}
.custom-notepads__product-img-wrap{
    aspect-ratio:  1/1.2;
    object-fit: contain;
}

/* Proven section */
.proven-sec{
    padding-block: 105px;
}
.proven-sec .image-with-text-content-wrapper{
    padding-inline: 0;
}
.proven-sec .image-with-text__content-wrap{
    padding-right: 1.4rem;
}


/* Ongoing section */
.ongoing-section__content-left-col{
    background: var(--ultra-light-bg);
}
.ongoing-section__content-left-wrap {
    max-width: 610px;
    margin: auto 0 auto auto;
    padding-inline: 20px;
    padding-right: 6rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}
.ongoing-section__content-right-wrap {
    max-width: 610px;
    padding-left: 4.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
}

.ongoing-section__content-left-col,
.ongoing-section__content-right-col {
    padding-block: 4.5rem;
}

.ongoing-section__content-right-col{
    background-color: var(--secondary-color-ultralight);
    position: relative;
}
.ongoing-section__content-right-col:before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    background: url(/assets/bg-pattern.webp);
    z-index: 0;
    top: 0;
    opacity: .3;
    background-size: contain;
}

.ongoing-section__content-right-wrap h4:last-of-type{
    margin-top: 2rem;
    margin-bottom: 0;
}
.ongoing-section__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

/* CTA Section */
.cta-section {
    padding-block: 6rem;
    background: url(/assets/cta-bg.webp) no-repeat;
    background-size: cover;
    background-position: bottom center;
}

.cta-section-wrapper h2{
    margin-bottom: -10px;
    color: var(--secondary-color-light)
}


/* MEDIA QUERIES */
@media (max-width: 1220px) {
    .start-to-finish-section-wrapper {
        gap: 0;
        justify-content: space-between;
    }
    .ongoing-section__content-right-wrap{
        padding-right: 2rem;
    }
}
@media (max-width: 992px) {
    section.hero-section:before {
        content: '';
        background: #cbc6c6;
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        opacity: .7;
        z-index: 0;
    }
    .image-with-text__content-wrap {
        padding-right: 0;
    }
    .start-to-finish-section-wrapper{
        flex-direction: column;
        gap: 2rem;
    }
    .start-to-finish__header{
        max-width: 100%;
    }
    .ongoing-section__content-left-wrap {
        padding-right: 2rem;
    }
    .ongoing-section__content-right-wrap{
        padding-left: 3rem;
    }
    .image-with-text-content-wrapper {
        gap: 60px;
    }
}

@media (max-width: 767px) {
    .custom-notepads__product {
        width: 100%;
    }

    .start-to-finish-cta {
        margin-top: 3rem;
    }

    .ongoing-section__content-right-wrap,
    .ongoing-section__content-left-wrap{
        max-width: 100%;
        margin: 0;
        padding-inline: var(--gutter-x);
    }

    .cta-list-items {
        grid-template-columns: repeat(1, 1fr);
    }

    .start-to-finish-cta{
        padding-inline: var(--gutter-x)
    }

    .ongoing-section__wrapper {
        grid-template-columns: 1fr;
    }

    .custom-notepads__products-list,
    .image-with-text-content-wrapper{
        padding-inline: 0;
    }

    .image-with-text-content-wrapper .image-with-text__image-wrap,
    .image-with-text-content-wrapper .image-with-text__content-wrap {
        max-width: 100%;
    }

    .image-with-text-header {
        padding-bottom: 80px;
    }

    .image-with-text-section {
        padding-block: 80px 80px;
    }

    h2 {
        line-height: 2.5rem;
        letter-spacing: -0.04rem;
    }
    .ongoing-section__content-left-col, .ongoing-section__content-right-col,
    .cta-section {
        padding-block: 3rem;
    }
    section.custom-notepads-section{
        padding-bottom: 3rem;
    }
    .start-to-finish-section{
        padding-top: 3rem;
    }
}


@media (max-width: 420px) {
    .hero-section__description {
        flex-direction: column;
        align-items: flex-start !important;
    }
    .image-with-text-section {
        padding-block: 50px;
    }
    .start-to-finish__list li,
    .start-to-finish-cta ul.cta-list-items li{
        gap: 14px;
    }
    .start-to-finish__list li:before,
    .start-to-finish-cta ul.cta-list-items li:before {
        width: 22px;
        height: 22px;
    }
    .start-to-finish__list li p {
        line-height: 24px;
        padding-bottom: 20px;
        padding-top: 20px;
    }
    .hero-section__description img,
    .ongoing-section__content-left-wrap img {
        max-width: 60px;
    }
    .hero-section_button-group {
        flex-direction: column;
    }
}