/* ==============================
   ABOUT PAGE – HEADER
================================= */

.about-header {
    text-align: center;
    padding: 90px 20px 50px;
    background-color: var(--about-background);
    color: black;
}

.about-header h1 {
    font-size: 64px;
    margin-bottom: 15px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

/* ==============================
   ABOUT PAGE – INTRODUCTION
================================= */

.about-container {
    padding: 30px 8% 100px;
    background-color: var(--about-background);
    color: black;
}

.about-intro {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 3px solid #333333;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    border: 4px solid black;
    border-radius: 0;
    display: block;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 64px;
    margin-bottom: 25px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.about-text p {
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ==============================
   ABOUT PAGE – SKILLS
================================= */

.about-skills {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 3px solid #333333;
}

.about-skills h2,
.about-education h2,
.about-contact h2 {
    font-size: 32px;
    margin-bottom: 30px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.skill-item {
    padding: 25px;
    background-color: var(--education-background);
    color: black;
    text-align: center;
    border-radius: 8px;
}

/* ==============================
   ABOUT PAGE – EDUCATION AND CV
================================= */

.about-education {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 3px solid #333333;
}

.education-content {
    display: flex;
    gap: 30px;
    align-items: stretch;
}

.cv-container {
    flex: 1;
    min-width: 0;
    display: flex;
    margin: 30px auto;
}

.cv-container iframe {
    width: 100%;
    height: 100%;
    min-height: 1000px;
    border: 2px solid black;
}

.education-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.education-details h2 {
    margin-bottom: 5px;
}

.education-details h3 {
    margin-top: 0;
}

.education-item {
    padding: 25px;
    background-color: var(--education-background);
    color: black;
    border-radius: 8px;
}

.education-item h3 {
    margin-bottom: 12px;
}

/* ==============================
   ABOUT PAGE – CONTACT
================================= */

.about-contact {
    text-align: center;
    padding: 50px 20px 30px;
    margin-bottom: 30px;
    border-bottom: 3px solid #333333;
}

.about-contact p {
    margin-bottom: 25px;
}

/* ==============================
   ABOUT PAGE – MOBILE LAYOUT
================================= */

@media (max-width: 700px) {
    .about-intro {
        flex-direction: column;
        gap: 30px;
    }

    .about-image img {
        max-width: 100%;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-header h1 {
        font-size: 36px;
    }

    .education-content {
        flex-direction: column;
    }

    .cv-container,
    .education-details {
        width: 100%;
    }
}