/* =========================================
 *   UK DIVE TRAINING
 *   ABOUT PAGE STYLESHEET
 *   ========================================= */


/* ABOUT HERO */

.about-hero {
    background: var(--navy);
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.about-hero h1 {
    color: white;
    margin: 20px 0;
}

.about-hero h1 span {
    color: var(--turquoise);
}

.about-hero p {
    color: var(--muted);
    max-width: 650px;
    margin: auto;
    font-size: 18px;
}


/* ABOUT LUKE */

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-layout h2,
.qualifications h2 {
    color: var(--navy);
}


/* IMAGE PLACEHOLDERS */

.image-placeholder {
    min-height: 350px;
    background: #e5eef2;
    border: 2px dashed var(--blue);
    border-radius: 10px;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    padding: 25px;
    color: var(--blue);
    font-weight: 700;
    flex-direction: column;
    gap: 12px;
}

.image-placeholder span {
    font-size: 13px;
    font-weight: 400;
    color: #617786;
}

.image-placeholder {
    overflow: hidden;
    border-radius: 16px;
}

.image-placeholder img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


.image-placeholder2 img {
    display: block;
    width: 100%%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* DIVING HISTORY */

.experience-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--navy);
    color: white;
}

.experience-copy {
    padding: 75px 10%;
}

.experience-copy h2 {
    color: white;
}

.experience-copy p {
    color: var(--muted);
}

.experience-image img {
    background: #e5eef2;

    display: block;
    align-items: center;
    justify-content: center;
    text-align: center;
    object-fit: cover;
    color: var(--blue);
    padding: 25px;
    border: 2px dashed var(--blue);
}

.experience-image p {
    color: #617786;
    font-size: 13px;
}


/* QUALIFICATIONS */

.qualifications {
    background: var(--background);
}

.qualification-intro {
    max-width: 850px;
    margin-bottom: 40px;
}

.qualification-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.qualification-card {
    background: white;
    border: 1px solid #dce7ec;
    border-radius: 10px;
    padding: 35px;
    box-shadow: 0 8px 30px #061b2c0b;
}

.qualification-card h3 {
    color: var(--blue);
    margin-top: 0;
}

.qualification-card ul {
    padding-left: 20px;
    color: #617786;
    line-height: 2.1;
}

.qualification-card li::marker {
    color: var(--turquoise);
}

.qualification-closing {
    margin-top: 40px;
    margin-bottom: 0;
}


/* MOBILE RESPONSIVENESS */

@media(max-width: 800px) {

    .about-layout,
    .qualification-grid,
    .experience-section {
        grid-template-columns: 1fr;
    }

    .experience-image {
        min-height: 300px;
    }

    .about-hero {
        padding: 70px 20px;
    }

    .experience-copy {
        padding: 60px 7%;
    }

    .qualification-card {
        padding: 25px;
    }

}

/* Training agency logos in footer */
.footer-agencies {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px auto 20px;
    width: 100%;
}

.footer-agencies img {
    display: block;
    width: 100%;
    max-width: 420px;
    height: auto;
    object-fit: contain;
}
