/* =========================================================
   ABOUT PAGE
========================================================= */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "DM Sans", sans-serif;
    color: #17324d;
    background: #ffffff;
}


/* =========================================================
   NAVIGATION LINKS
========================================================= */

.nav-links {
    display: flex;
    align-items: center;
    gap: 27px;
    font-size: 13px;
    color: #444444;
}

.nav-links a {
    color: #444444;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #08b8bd;
}

/* Current page */

.nav-links a.active {
    color: #08b8bd;
    font-weight: 600;
}


/* =========================================================
   ABOUT HERO
========================================================= */

.about-hero {
    background: turquoise;
    min-height: 325px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 60px 20px;
}

.about-hero-content {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
}


/* Red label */

.about-label {
    display: inline-block;

    background: #df1b32;
    color: #ffffff;

    padding: 6px 18px;

    border-radius: 30px;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 0.5px;

    margin-bottom: 18px;
}


/* Hero heading */

.about-hero h1 {
    margin: 0 0 18px;

    color: #ffffff;

    font-family: "Playfair Display", serif;

    font-size: 52px;
    line-height: 1.2;
}


/* Hero paragraph */

.about-hero p {
    max-width: 850px;
    margin: 0 auto;

    color: #ffffff;

    font-size: 20px;
    line-height: 1.7;
}


/* =========================================================
   OUR STORY
========================================================= */

.our-story {
    background: #ffffff;

    padding: 85px 20px 90px;
}

.story-container {
    width: 100%;
    max-width: 1060px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 45px;

    align-items: center;
}


/* Story Image */

.story-image {
    width: 100%;
}

.story-image img {
    width: 100%;
    height: 420px;

    object-fit: cover;

    display: block;

    border-radius: 15px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}


/* Story Text */

.story-content {
    width: 100%;
}

.story-content h2 {
    margin: 0 0 20px;

    color: #080808;

    font-family: "Playfair Display", serif;

    font-size: 34px;
    line-height: 1.2;
}

.story-content p {
    margin: 0 0 20px;

    color: #50657a;

    font-size: 18px;
    line-height: 1.7;
}

.story-content p:last-child {
    margin-bottom: 0;
}

.story-content strong {
    color: #17324d;
}

.story-content em {
    color: #17324d;
}


/* =========================================================
   OUR VALUES
========================================================= */

.our-values {
    background: turquoise;

    padding: 70px 20px 90px;

    text-align: center;
}


/* Values heading */

.values-header {
    max-width: 800px;

    margin: 0 auto 45px;
}

.values-header h2 {
    margin: 0 0 12px;

    color: #080808;

    font-family: "Playfair Display", serif;

    font-size: 38px;
    line-height: 1.2;
}

.values-header p {
    margin: 0;

    color: #50657a;

    font-size: 18px;
    line-height: 1.6;
}


/* =========================================================
   VALUES CARDS
========================================================= */

.values-container {
    width: 100%;
    max-width: 1060px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 22px;
}


/* Individual value card */

.value-card {
    background: #ffffff;

    min-height: 200px;

    padding: 24px 25px;

    border: 1px solid #cbd9dc;

    border-radius: 13px;

    display: flex;
    flex-direction: column;
    align-items: center;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.value-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}


/* Value icon */

.value-icon {
    width: 45px;
    height: 45px;

    border-radius: 50%;

    background: #e2f8f9;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 16px;
}

.value-icon i {
    color: #05b9c1;

    font-size: 19px;
}


/* Value heading */

.value-card h3 {
    margin: 0 0 10px;

    color: #080808;

    font-family: "Playfair Display", serif;

    font-size: 22px;
    line-height: 1.3;
}


/* Value paragraph */

.value-card p {
    margin: 0;

    color: #50657a;

    font-size: 18px;
    line-height: 1.6;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .story-container {
        grid-template-columns: 1fr;
        max-width: 700px;
    }

    .story-image img {
        height: 400px;
    }

    .values-container {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    /* Hero */

    .about-hero {
        min-height: 300px;
        padding: 55px 20px;
    }

    .about-hero h1 {
        font-size: 40px;
    }

    .about-hero p {
        font-size: 17px;
        line-height: 1.6;
    }


    /* Our Story */

    .our-story {
        padding: 65px 20px 70px;
    }

    .story-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .story-image img {
        height: 300px;
    }

    .story-content h2 {
        font-size: 30px;
    }

    .story-content p {
        font-size: 17px;
    }


    /* Values */

    .our-values {
        padding: 60px 20px 70px;
    }

    .values-header {
        margin-bottom: 35px;
    }

    .values-header h2 {
        font-size: 32px;
    }

    .values-header p {
        font-size: 17px;
    }

    .values-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .value-card {
        min-height: auto;
    }

    .value-card h3 {
        font-size: 21px;
    }

    .value-card p {
        font-size: 17px;
    }
}