@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Oswald:wght@200..700&display=swap');

:root {
    --color-white: #ffffff;
    --color-dark-text: #151515;
    --color-card-dark: #202020;
    --color-primary-green: #64BF7F;
    --color-indigo-blue: #2E3159;
    --color-accent-yellow: #E5B744;
    --color-light-green: #E8F5EC;
    --color-light-blue: #EAEAEE;
    --color-gray-666: #666666;
    --color-gray-100: #f5f5f7;
    --nav-text: #2E3159;
    --text-opaque-70: rgba(255, 255, 255, 0.7);
    --text-opaque-40: rgba(255, 255, 255, 0.4);
    --black-opaque-80: rgba(0, 0, 0, 0.8);
    --black-opaque-10: rgba(0, 0, 0, 0.1);
    --black-opaque-5: rgba(0, 0, 0, 0.05);

    --font-headings: 'Oswald', sans-serif;
    --font-body: 'Montserrat', sans-serif;

    --tab-height-sm: 20px;
    --tab-height-lg: 30px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-white);
}

.container {
    padding-inline: clamp(16px, 2.5vw, 24px);
}

.section-padding {
    padding-block: 40px;
}

@media (min-width: 768px) {
    .container {
        padding-inline: clamp(24px, 3.5vw, 64px);
    }

    .section-padding {
        padding-block: 60px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding-inline: clamp(64px, 8vw, 140px);
    }
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
    font-family: var(--font-headings);
    font-weight: 500;
    line-height: 1.1;
    margin: 0 0 0.6em;
}

h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

h3 {
    font-size: clamp(1.5rem, 2.6vw, 1.8rem);
}

h4 {
    font-size: clamp(1.25rem, 2.2vw, 1.5rem);
}

h5 {
    font-size: clamp(1.1rem, 1.8vw, 1.25rem);
}

h6 {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
}

p {
    font-size: clamp(14px, 1.1vw, 18px);
    font-family: var(--font-body);
}

.section-heading h5 {
    font-weight: 400;
    color: var(--color-primary-green);
}

.section-heading h2 {
    text-transform: uppercase;
}

.hero-section {
    width: 100%;
    padding: 12px;
    position: relative;
}

.hero-section .hero-section-bg {
    width: 100%;
}

.hero-section .container {
    position: absolute;
    top: 50%;
    width: 100%;
    left: 0;
}

.hero-section .hero-content {
    color: var(--color-white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.hero-content h1 {
    text-transform: uppercase;
    margin: 0;
}

.hero-content p {
    font-weight: 500;
}

.hero-content p a {
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.hero-content p a:hover {
    color: var(--color-primary-green);
}

.hero-content p span {
    color: var(--color-primary-green);
}

@media (max-width: 1024px) {

    .hero-section .container {
        transform: translateY(90%);
    }

    .hero-content {
        padding-inline: 30px;
    }

    .hero-section {
        position: relative;
        min-height: auto;
        padding-top: 80px;
    }
}

@media (max-width: 554px) {
    .hero-section .container {
        transform: translateY(100%);
    }

    .hero-content h1 {
        font-size: 28px;
    }
}

@media (max-width: 471px) {

    .hero-section .container {
        background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../images/hero-background.webp) no-repeat;
        background-size: cover;
        padding-block: 50px;
        transform: translateY(0%);
        position: static;
        border-radius: 25px;
    }

    .hero-content {
        flex-direction: column;
        gap: 20px;
    }

    .hero-section-bg {
        display: none;
    }
}

/* Brand Story section */

.brand-story .section-heading h2 {
    max-width: 335px;
}

.brand-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-top: 50px;
}

.brand-story--desc {
    display: flex;
    flex-direction: column;
    gap: 25px;
    justify-content: center;
    padding-block: 15px;
    color: var(--color-gray-666);
}

.brand-story--desc p {
    font-weight: 500;
    font-size: clamp(16px, 1.3vw, 20px);
}

.brand-story--small-image {
    border-radius: 25px;
    overflow: hidden;
}

.brand-story--small-image img {
    border-radius: 25px;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.brand-story--right h3 {
    margin-top: 10px;
}

.brand-story--right p:first-of-type {
    margin-bottom: 15px;
}

@media (max-width: 900px) {
    .brand-story-grid {
        grid-template-columns: 1fr;
    }
}

/* Mission and Vision section */

.mission-vision {
    position: relative;
}

.mission-vision-bg {
    padding-inline: 12px;
}

.mission-vision .container {
    position: absolute;
    top: 10%;
    left: 0;
    width: 100%;
}

.mission-vision .section-heading h2 {
    color: var(--color-white);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.mission-vision-block img {
    width: 100%;
    max-height: 350px;
    border-radius: 25px;
    margin-bottom: 10px;
}

.mission-vision h3,
.mission-vision p {
    color: var(--color-white);
}

.mission-vision p:first-of-type {
    margin-bottom: 15px;
}

@media (max-width: 1496px) {
    .mission-vision-bg img {
        height: 126vh;
    }
}

@media (max-width: 900px) {
    .mission-vision-bg img {
        height: 112vh;
    }

    .mission-vision-grid {
        gap: 10px;
    }
}

@media (max-width: 758px) {

    .mission-vision {
        padding-inline: 12px;
    }

    .mission-vision .container {
        background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../images/hero-background.webp);
        padding-block: 40px;
        border-radius: 10px;
        position: relative;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: top;
    }

    .mission-vision-bg {
        display: none;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
}

/* Features sections */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    row-gap: 64px;
    column-gap: 32px;
}

.row {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: subgrid;
    align-items: center;
}

/* Fallback for browsers without subgrid support */
@supports not (grid-template-columns: subgrid) {
    .row {
        grid-template-columns: repeat(6, 1fr);
    }
}

.row .media {
    grid-column: span 2;
}

.row .content {
    grid-column: span 4;
}

.row.flip .media {
    grid-column: 5 / 7;
    grid-row: 1;
}

.row.flip .content {
    grid-column: 1 / 5;
    grid-row: 1;
}

.media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.feature-grid .row .content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.content>p.text {
    font-size: 1rem;
    margin-bottom: 26px;
    max-width: 60ch;
}

.features-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 20px;
    column-gap: 40px;
}

.features-points div {
    padding-top: 18px;
    border-top: 1px solid rgba(0, 0, 0, 0.20);
    font-size: 14px;
    font-family: var(--font-body);
    line-height: 1.5;
}

.features-points strong {
    color: var(--ink);
    font-weight: 600;
}

@media (max-width: 860px) {
    .feature-grid {
        row-gap: 40px;
        grid-template-columns: 1fr;
    }

    .row {
        grid-template-columns: 1fr;
    }

    .row.flip {
        display: block;
    }

    .row .media,
    .row.flip .media,
    .row .content,
    .row.flip .content {
        grid-column: 1 / -1;
    }

    .row.flip .media {
        order: 1;
    }

    .row.flip .content {
        order: 2;
    }

    .feature-grid .row .content h3 {
        margin-top: 15px;
    }

    .features-points {
        grid-template-columns: 1fr;
    }
}

/* FAQ Section */

.faq-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    border: 1px solid var(--color-light-blue);
    border-radius: 15px;
    overflow: hidden;
    transition: .3s;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 18px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    text-align: left;
}

.faq-question span:first-child {
    font-size: clamp(14px, 1rem, 24px);
    font-weight: 500;
    text-transform: uppercase;
    color: var(--color-card-dark);
    line-height: 1.5;
    font-family: var(--font-headings);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

.faq-answer p {
    padding: 0 30px 30px;
    font-size: 16px;
    color: var(--color-gray-666);
    line-height: 1.4;
}

.faq-icon {
    position: relative;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    background: #333;
    transition: .3s;
}

.faq-icon::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    border-radius: 999px;
    transform: translateY(-50%);
}

.faq-icon::after {
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    border-radius: 999px;
}

.faq-item.active .faq-question span:first-child {
    color: var(--color-primary-green);
}

.faq-item.active .faq-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

@media (max-width:768px) {

    .faq-question {
        padding: 20px;
    }

    .faq-answer p {
        padding: 0 20px 20px;
        font-size: 16px;
    }
}

.faq-card {
    position: relative;
    height: fit-content;
}

.faq-card img {
    width: 100%;
}

.faq-card-content {
    position: absolute;
    max-width: 411px;
    top: 50%;
    transform: translateY(-50%);
    left: 11%;
    color: var(--color-white);
}

.faq-card-content h3 {
    margin-bottom: 25px;
}

.faq-card-content p {
    margin-bottom: 25px;
}

.send-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 14px;
    width: fit-content;
    padding: 10px 10px 10px 15px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    color: var(--color-white);
    background-color: var(--color-primary-green);
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(100, 191, 127, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.send-button-icon {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    background-color: var(--color-white);
    border-radius: 6px;
}

.send-button-icon img {
    width: 16px;
    height: 16px;
}

.send-button:hover {
    transform: translateY(-1px);
    background-color: #57a86a;
    box-shadow: 0 18px 30px rgba(100, 191, 127, 0.32);
}

@media (max-width: 900px) {
    .faq-wrapper {
        grid-template-columns: 1fr;
    }

    .faq-card {
        max-width: 450px;
    }
}