/* ===================================================
   ABOUTS PAGE CUSTOM STYLES (MATCHING TARGET MOCKUP)
   =================================================== */

.abouts-page {
    padding-top: 40px;
    padding-bottom: 10px;
    color: var(--dark-navy);
}

/* --- 1. HERO SECTION --- */
.abouts-hero-section {
    position: relative;
    padding-bottom: 40px;
}

.abouts-hero-lines-img {
    position: absolute;
    top: 80px;
    left: 47%;
    transform: translateX(-50%);
    width: 50px;
    height: auto;
    object-fit: contain;
    pointer-events: none;
    z-index: 5;
}

.abouts-badge-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    color: var(--dark-navy);
    letter-spacing: 0.5px;
    border: 1.5px solid var(--dark-navy);
    border-radius: 100px;
    padding: 6px 16px;
    /* background-color: #ffffff; */
    /* box-shadow: 2px 2px 0 var(--dark-navy); */
    margin-bottom: 24px;
}

.abouts-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--orange);
}

.abouts-hero-title {
    font-family: var(--font-title);
    font-size: clamp(36px, 4.5vw, 64px);
    font-weight: 500;
    line-height: 1.1;
    color: #132557;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.abouts-title-underline-wrap {
    position: relative;
    display: inline-block;
    font-family: var(--font-title);
}

.abouts-title-underline-svg {
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 10px;
    pointer-events: none;
}

.abouts-hero-subtitle {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 400;
    color: #475569;
    line-height: 1.6;
    max-width: 580px;
}

/* --- OUR MISSION PAPER NOTEPAD --- */
.abouts-mission-wrap {
    position: relative;
    padding: 10px;
}

.abouts-mission-card-wrap {
    position: relative;
    transform: rotate(-1.8deg);
    transition: transform 0.3s ease;
}

.abouts-mission-card-wrap:hover {
    transform: rotate(0deg) translateY(-4px);
}

.abouts-mission-rays {
    position: absolute;
    top: -15px;
    left: -20px;
    z-index: 10;
    pointer-events: none;
}

.abouts-mission-notepad {
    position: relative;
    z-index: 2;
    background-color: #FAF7F2;
    border: 1.8px solid var(--dark-navy);
    border-radius: 14px;
    box-shadow: 4px 6px 16px rgba(19, 37, 87, 0.07);
    padding: 35px 30px 25px 50px;
    min-height: 390px;
}

.abouts-paperclip-wrap {
    position: absolute;
    top: -18px;
    right: 40px;
    width: 24px;
    height: 48px;
    z-index: 10;
    transform: rotate(10deg);
}

.abouts-notepad-holes {
    position: absolute;
    left: 18px;
    top: 30px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.abouts-notepad-holes .hole {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #e5ddcf;
    border: 1.5px solid var(--dark-navy);
}

.abouts-notepad-bookmarks {
    position: absolute;
    right: -24px;
    top: 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1;
}

.abouts-notepad-bookmarks .bm {
    width: 35px;
    height: 82px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border: none;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.12);
}

.bm-green { background-color: #8ce0ca; }
.bm-purple { background-color: #b4a3fb; }
.bm-yellow { background-color: #fbc876; }

.abouts-mission-title {
    font-family: var(--font-title);
    font-size: 28px;
    font-weight: 700;
    color: #132557;
    letter-spacing: 1px;
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
    text-align: left;
}

.abouts-mission-underline {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -8px;
    width: 140px;
    height: 10px;
}

.abouts-mission-text {
    font-family: 'Patrick Hand', 'Caveat', cursive;
    font-size: 24px;
    font-weight: 500;
    color: #132557;
    line-height: 1.45;
    margin-bottom: 10px;
}

.abouts-target-graphic {
    position: absolute;
    right: 20px;
    bottom: 15px;
    width: 200px;
    height: auto;
    pointer-events: none;
}

.abouts-target-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* --- 2. SUB-NAVBAR TABS BAR --- */
.abouts-tabs-section {
    padding-bottom: 20px;
}

.abouts-tabs-card {
    background-color: #FAF7F2;
    border: 1.5px solid #dcd7cd;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    padding: 4px 10px;
}

.abouts-tab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 18px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #132557;
    text-decoration: none !important;
    background-color: transparent;
    transition: color 0.2s ease;
    position: relative;
}

.abouts-tab-icon {
    width: 22px;
    height: 22px;
    color: #132557;
    transition: color 0.2s ease;
}

.abouts-tab-text {
    position: relative;
    display: inline-block;
}

.abouts-tab-underline-svg {
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 8px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.abouts-tab-divider {
    font-size: 20px;
    font-weight: 300;
    color: #94a3b8;
    opacity: 0.6;
    user-select: none;
}

.abouts-tab-item.active .abouts-tab-btn,
.abouts-tab-btn:hover {
    color: #2b5736;
}
.abouts-tab-item.active .abouts-tab-icon,
.abouts-tab-btn:hover .abouts-tab-icon {
    color: #2b5736;
}
.abouts-tab-item.active .abouts-tab-underline-svg,
.abouts-tab-btn:hover .abouts-tab-underline-svg,
.abouts-tab-item:hover .abouts-tab-underline-svg {
    opacity: 1;
}

.caption-underline-wrap {
    position: relative;
    display: inline-block;
}
.caption-underline-svg {
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 6px;
}

/* --- 3. SECTION CARDS --- */
.abouts-section-card {
    background-color: #faf7f202;
    /* border: 2px solid var(--dark-navy); */
    border-radius: 16px;
    /* box-shadow: 6px 6px 0 rgba(28, 28, 46, 0.08); */
    padding: 45px 35px;
    margin-bottom: 50px;
}

.abouts-section-title,
.uaf-main-heading {
    font-family: var(--font-title) !important;
    font-size: 32px;
    font-weight: 700;
    color: #2b5736;
    letter-spacing: 0.4px;
    margin-bottom: 0;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.abouts-title-underline-wrap {
    position: relative;
    display: inline-block;
}

.green-accent {
    color: #2b5736;
}

.abouts-section-subtitle {
    font-family: var(--font-body);
    font-size: 15px;
    color: #1c1c2e;
    max-width: 650px;
    margin: 8px auto 0;
}

.abouts-story-p,
.abouts-note-p {
    font-family: var(--font-body);
    font-size: 15.5px;
    font-weight: 400;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 16px;
}

.abouts-story-highlight {
    font-family: var(--font-body);
    font-size: 14.5px;
    font-weight: 700;
    color: #2b5736;
    line-height: 1.45;
    margin-top: 18px;
}

/* Founder Polaroid */
.abouts-founder-polaroid {
    position: relative;
    display: inline-block;
    padding-top: 15px;
}

.polaroid-clip {
    position: absolute;
    top: 6px;
    left: 36px;
    width: 24px;
    height: 52px;
    z-index: 10;
    transform: rotate(-3deg);
    pointer-events: none;
}

.polaroid-tape {
    position: absolute;
    top: -10px;
    right: 10px;
    width: 80px;
    height: 26px;
    background-color: #8da99a;
    border-left: 2px dashed rgba(255,255,255,0.4);
    border-right: 2px dashed rgba(255,255,255,0.4);
    transform: rotate(14deg);
    z-index: 10;
    opacity: 0.85;
    pointer-events: none;
}

.polaroid-frame {
    background-color: #ffffff;
    border: 1px solid #e5dfd5;
    border-radius: 8px;
    padding: 14px 14px 20px;
    box-shadow: 6px 10px 24px rgba(0, 0, 0, 0.09);
    transform: rotate(-2.5deg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 295px;
    margin: 0 auto;
}

.polaroid-frame:hover {
    transform: rotate(0deg);
}

.polaroid-photo-wrap {
    width: 100%;
    height: 290px;
    background-color: #111;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.polaroid-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.polaroid-caption {
    font-family: 'Patrick Hand', 'Caveat', cursive;
    font-size: 23px;
    font-weight: 600;
    color: #132557;
    margin-top: 12px;
    margin-bottom: 0;
    line-height: 1.25;
    text-align: center;
}

/* Founder Signature */
.abouts-signature-wrap {
    padding-top: 10px;
}

.signature-img {
    max-width: 150px;
    height: auto;
    object-fit: contain;
    margin-bottom: 6px;
    display: block;
}

.founder-name {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    color: #2b5736;
}

.founder-role {
    font-family: var(--font-body);
    font-size: 13.5px;
    color: #132557;
    line-height: 1.4;
}

/* --- 4. CREDENTIALS CERTIFICATE CARDS --- */
.cert-trees-top-left {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 5;
}

.abouts-cert-card {
    background-color: transparent;
    border: none;
    border-radius: 12px;
    padding: 12px 8px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.abouts-cert-card:hover {
    transform: translateY(-4px);
}

.cert-image-container {
    position: relative;
    width: 100%;
    height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #e0dad0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    padding: 10px;
    overflow: visible;
}

.cert-clip {
    position: absolute;
    top: -12px;
    left: 18px;
    width: 20px;
    height: 40px;
    z-index: 10;
    pointer-events: none;
}

.cert-img {
    max-height: 210px;
    width: auto;
    max-width: 100%;
    border-radius: 8px;
    object-fit: contain;
}

.cert-title {
    font-family: var(--font-title);
    font-size: 14px;
    font-weight: 700;
    color: #132557;
    letter-spacing: 0.4px;
    margin-top: 14px;
    margin-bottom: 6px;
}

.cert-meta {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 16px;
}

.cert-verify-btn {
    display: inline-block;
    padding: 8px 24px;
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 700;
    color: #2b5736;
    background-color: #FAF7F2;
    border: 1.5px solid #2b5736;
    border-radius: 8px;
    text-decoration: none !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.cert-verify-btn:hover {
    background-color: #2b5736;
    color: #ffffff !important;
}

.cert-mountains-img {
    max-width: 200px;
    width: 60%;
    height: auto;
    object-fit: contain;
}

/* --- 5. WHY TRACEAID FEATURE CARDS --- */
.abouts-feature-card {
    background-color: #FAF7F2;
    border: 1px solid #e5dfd5;
    border-radius: 14px;
    padding: 26px 16px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.abouts-feature-card:hover {
    border-color: #2b5736;
    box-shadow: 0 6px 18px rgba(43, 87, 54, 0.08);
    transform: translateY(-3px);
}

.feature-icon-outer {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.green-bg { background-color: #d1e1d4; }
.orange-bg { background-color: #ffedd5; }
.teal-bg { background-color: #ccfbf1; }
.purple-bg { background-color: #e4d2f8; }
.yellow-bg { background-color: #f8f0ae; }

.feature-icon-img {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.feature-card-title {
    font-family: var(--font-title);
    font-size: 16px;
    font-weight: 700;
    color: #2b5736;
    letter-spacing: 0.3px;
    margin-bottom: 10px;
    line-height: 1.3;
    text-align: center;
}

.feature-card-desc {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 0;
    text-align: center;
}

.feature-card-red-text {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: #dc2626;
    line-height: 1.4;
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: center;
}

.why-trees-bottom-right {
    position: absolute;
    bottom: 0px;
    right: 10px;
    z-index: 5;
    pointer-events: none;
}

/* --- 6. MEET OUR TEAM CARDS --- */
.abouts-team-card {
    background-color: #FAF7F2;
    border: 1px solid #e5dfd5;
    border-radius: 14px;
    padding: 20px;
    height: 100%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.abouts-team-card:hover {
    border-color: #2b5736;
    box-shadow: 0 6px 18px rgba(43, 87, 54, 0.08);
    transform: translateY(-4px);
}

.team-avatar-wrap {
    width: 105px;
    height: 140px;
    border-radius: 12px;
    border: 1px solid #e5dfd5;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.team-avatar-img {
    padding-top: -10px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.team-name {
    font-family: var(--font-title);
    font-size: 19px;
    font-weight: 700;
    color: #2b5736;
    margin-bottom: 3px;
    line-height: 1.25;
}

.team-role {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
    line-height: 1.3;
}

.team-bio {
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 400;
    color: #475569;
    line-height: 1.45;
    margin-bottom: 0;
}

/* --- RESPONSIVE STYLES --- */
@media (max-width: 1199.98px) {
    .abouts-hero-title {
        font-size: 42px;
    }
    .abouts-notepad-bookmarks .bm {
        width: 30px;
        height: 75px;
    }
    .abouts-notepad-bookmarks {
        right: -20px;
    }
}

@media (max-width: 991.98px) {
    .abouts-page {
        padding-top: 30px;
        padding-bottom: 50px;
    }
    .abouts-hero-section {
        padding-bottom: 40px;
    }
    .abouts-section-card {
        padding: 35px 20px;
        margin-bottom: 55px;
    }
    .abouts-mission-card-wrap {
        transform: none;
        margin-top: 25px;
    }
    .abouts-mission-notepad {
        padding: 30px 25px 50px 42px;
        min-height: auto;
    }
    .abouts-target-graphic {
        width: 110px;
        bottom: 12px;
        right: 12px;
    }
    .abouts-hero-lines-img {
        display: none;
    }
    .abouts-founder-polaroid {
        margin: 25px 0;
    }
}

@media (max-width: 767.98px) {
    .abouts-hero-title {
        font-size: 32px;
    }
    .abouts-hero-subtitle {
        font-size: 14.5px;
    }
    .abouts-tab-btn {
        flex-direction: row;
        gap: 6px;
        padding: 8px 6px;
        font-size: 12px;
    }
    .abouts-tab-icon {
        width: 18px;
        height: 18px;
    }
    .abouts-mission-notepad {
        padding: 25px 20px 50px 36px;
    }
    .abouts-mission-title {
        font-size: 24px;
    }
    .abouts-mission-text {
        font-size: 19px;
        line-height: 1.4;
    }
    .abouts-notepad-bookmarks .bm {
        width: 26px;
        height: 65px;
    }
    .abouts-notepad-bookmarks {
        right: -18px;
        top: 35px;
        gap: 10px;
    }
    .abouts-target-graphic {
        width: 90px;
        bottom: 8px;
        right: 8px;
    }
    .polaroid-frame {
        max-width: 260px;
    }
    .polaroid-photo-wrap {
        height: 250px;
    }
    .cert-mountains-img {
        max-width: 140px;
        width: 50%;
    }
    .uaf-main-heading {
        font-size: 28px !important;
    }
    .uaf-main-desc {
        font-size: 15px !important;
    }
}

@media (max-width: 575.98px) {
    .abouts-section-card {
        padding: 25px 14px;
        margin-bottom: 45px;
    }
    .abouts-tab-btn {
        flex-direction: row;
        gap: 4px;
        padding: 8px 4px;
        font-size: 11px;
        letter-spacing: 0;
    }
    .abouts-tab-icon {
        width: 16px;
        height: 16px;
    }
    .abouts-target-graphic {
        width: 75px;
        bottom: 6px;
        right: 6px;
    }
    .abouts-team-card {
        padding: 15px;
    }
    .team-avatar-wrap {
        width: 85px;
        height: 120px;
    }
    .team-name {
        font-size: 16px;
    }
    .team-role {
        font-size: 13px;
        margin-bottom: 4px;
    }
    .team-bio {
        font-size: 12.5px;
        line-height: 1.38;
    }
    .abouts-feature-card {
        padding: 22px 14px;
    }
}

/* --- 7. CLIENT STORIES / TESTIMONIALS MASONRY GRID --- */
.testimonials-masonry-grid {
    column-count: 3;
    column-gap: 24px;
}

@media (max-width: 991.98px) {
    .testimonials-masonry-grid {
        column-count: 2;
        column-gap: 20px;
    }
}

@media (max-width: 575.98px) {
    .testimonials-masonry-grid {
        column-count: 1;
    }
}

.testimonial-card-item {
    break-inside: avoid;
    margin-bottom: 24px;
	min-height:230px;
}

.testimonial-card {
    background-color: #FAF7F2;
    border: 1.5px solid #e5dfd5;
    border-radius: 12px;
    padding: 22px 20px 18px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    border-color: #2b5736;
    box-shadow: 0 6px 18px rgba(43, 87, 54, 0.08);
    transform: translateY(-3px);
}

.star-rating-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #f59e0b;
    margin-bottom: 12px;
}

.star-rating-wrap svg {
    width: 15px;
    height: 15px;
    fill: #f59e0b;
}

.testimonial-quote {
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 400;
    color: #1e293b;
    line-height: 1.55;
    margin-bottom: 16px;
}

.testimonial-author {
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 700;
    color: #0d233a;
    line-height: 1.2;
    margin: 0;
}

.testimonial-location {
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 500;
    color: #64748b;
    margin: 2px 0 0 0;
}
