/* ========================================
   ABOUT PAGE STYLES
   Heritage Life Solutions
   ======================================== */

/* ========================================
   SECTION BACKGROUNDS
   ======================================== */
.about-section {
    padding: var(--section-padding-desktop) 0;
}

.about-section-white {
    background: var(--color-white);
}

.about-section-turquoise {
    background: var(--color-turquoise);
}

/* ========================================
   TWO COLUMN LAYOUT
   Default: Text 60% LEFT, Image 40% RIGHT
   ======================================== */
.about-two-col {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 3rem;
    align-items: center;
}

.about-two-col-text {
    order: 1;
}

.about-two-col-image {
    order: 2;
}

/* Flipped layout: Image 40% LEFT, Text 60% RIGHT */
.about-two-col-flip {
    grid-template-columns: 40% 60%;
}

.about-two-col-flip .about-two-col-text {
    order: 2;
}

.about-two-col-flip .about-two-col-image {
    order: 1;
}

/* ========================================
   SECTION 1 LAYOUT
   Wider text area for headshot section
   ======================================== */
.about-section-1 {
    grid-template-columns: 1fr auto;
}

/* ========================================
   IMAGES
   ======================================== */
.about-two-col-image img {
    width: 100%;
    height: auto;
    border-radius: var(--button-radius);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

/* Headshot - Match homepage size (225px) */
.about-headshot {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.about-headshot img {
    width: 225px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ========================================
   PAGE TITLE (H1)
   ======================================== */
.about-page-title {
    font-family: var(--font-family);
    font-size: var(--h1-size);
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* ========================================
   SECTION TITLES (H2) - WHITE BACKGROUND
   ======================================== */
.about-section-title {
    font-family: var(--font-family);
    font-size: var(--h2-size);
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 1.5rem;
    line-height: 1.3;
    display: inline-block;
    border-bottom: 3px solid var(--color-turquoise);
    padding-bottom: 0.5rem;
}

/* ========================================
   SECTION TITLES (H2) - TURQUOISE BACKGROUND
   ======================================== */
.about-section-title-light {
    font-family: var(--font-family);
    font-size: var(--h2-size);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

/* ========================================
   PARAGRAPH TEXT
   ======================================== */
.about-section-white p {
    font-family: var(--font-family);
    font-size: var(--p-size);
    color: var(--color-navy);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.about-section-turquoise p {
    font-family: var(--font-family);
    font-size: var(--p-size);
    color: var(--color-white);
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* ========================================
   SUBHEADINGS (H3)
   ======================================== */
.about-subheading {
    font-family: var(--font-family);
    font-size: var(--h3-size);
    font-weight: 700;
    color: var(--color-navy);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.about-trust-heading {
    font-family: var(--font-family);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-white);
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

/* ========================================
   CHECKLIST - GREEN CIRCLE WITH WHITE CHECKMARK
   White Background Version
   ======================================== */
.about-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.about-checklist li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
    color: var(--color-navy);
    font-family: var(--font-family);
    font-size: var(--p-size);
}

.about-checklist li .check-icon {
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 20px;
    height: 20px;
    background: var(--color-secondary);
    border-radius: 50%;
}

.about-checklist li .check-icon::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* ========================================
   CHECKLIST - TURQUOISE BACKGROUND VERSION
   Same green style, white text
   ======================================== */
.about-checklist-light {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.about-checklist-light li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
    color: var(--color-white);
    font-family: var(--font-family);
    font-size: var(--p-size);
}

.about-checklist-light li .check-icon {
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 20px;
    height: 20px;
    background: var(--color-secondary);
    border-radius: 50%;
}

.about-checklist-light li .check-icon::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* ========================================
   CTA SECTION - WHITE BACKGROUND
   ======================================== */
.about-cta-section {
    text-align: center;
}

.about-cta-title {
    font-family: var(--font-family);
    font-size: var(--h2-size);
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 1.5rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .about-two-col,
    .about-two-col-flip,
    .about-section-1 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-two-col-image,
    .about-two-col-flip .about-two-col-image {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }

    .about-two-col-text,
    .about-two-col-flip .about-two-col-text {
        order: 1;
    }

    .about-headshot {
        order: -1;
    }

    .about-headshot img {
        width: 180px;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: var(--section-padding-mobile) 0;
    }

    .about-page-title {
        font-size: 28px;
    }

    .about-section-title,
    .about-section-title-light,
    .about-cta-title {
        font-size: 28px;
    }

    .about-subheading {
        font-size: 20px;
    }

    .about-trust-heading {
        font-size: 18px;
    }

    .about-headshot img {
        width: 120px;
    }
}

@media (max-width: 480px) {
    .about-headshot img {
        width: 100px;
    }
}
