/* About page content */
.about-page .about-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--color-primary);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.about-page .about-eyebrow::before {
    width: 28px;
    height: 3px;
    content: "";
    background: var(--color-secondary);
    border-radius: 10px;
}

.about-page .about-section-heading .title {
    margin-bottom: 26px;
    font-size: clamp(36px, 4vw, 56px);
    line-height: 1.1;
}

.about-page .about-rich-copy p {
    margin-bottom: 18px;
    font-size: 17px;
    line-height: 1.75;
}

.about-page .about-rich-copy p:last-child {
    margin-bottom: 0;
}

.about-page .about-profile-visual {
    position: relative;
    padding: 0 28px 28px 0;
}

.about-page .about-profile-visual::before {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 75%;
    height: 75%;
    content: "";
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 18px;
}

.about-page .about-profile-visual > img {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 560px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(14, 39, 105, 0.18);
}

.about-page .about-profile-badge {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 60px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 18px 22px;
    color: var(--color-heading);
    font-weight: 700;
    background: var(--white);
    border-radius: 12px 0 0 12px;
    box-shadow: 0 14px 35px rgba(14, 39, 105, 0.2);
}

.about-page .about-profile-badge i {
    color: var(--color-primary);
    font-size: 24px;
}

.about-page .about-emphasis {
    padding: 20px 22px;
    color: var(--dark);
    font-weight: 600;
    background: rgba(37, 99, 235, 0.07);
    border-left: 4px solid var(--color-primary);
    border-radius: 0 10px 10px 0;
}

/* Story */
.about-page .about-story-section {
    position: relative;
    overflow: hidden;
}

.about-page .about-story-section .container {
    position: relative;
    z-index: 1;
}

.about-page .about-story-shape {
    position: absolute;
    top: -180px;
    right: -120px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.2), transparent 68%);
    border-radius: 50%;
}

.about-page .about-story-section .about-eyebrow,
.about-page .about-story-section .title {
    color: var(--white);
}

.about-page .about-story-section .about-rich-copy p {
    color: rgba(255, 255, 255, 0.78);
}

.about-page .about-story-section .about-rich-copy strong {
    color: var(--white);
}

.about-page .about-story-lines {
    display: grid;
    gap: 10px;
    margin: 25px 0;
}

.about-page .about-story-lines span {
    position: relative;
    padding-left: 27px;
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
}

.about-page .about-story-lines span::before {
    position: absolute;
    top: 10px;
    left: 0;
    width: 9px;
    height: 9px;
    content: "";
    background: var(--color-secondary);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.14);
}

.about-page .about-story-card {
    position: relative;
    padding: 44px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    backdrop-filter: blur(8px);
}

.about-page .about-story-card i {
    margin-bottom: 22px;
    color: var(--color-secondary);
    font-size: 36px;
}

.about-page .about-story-card blockquote {
    margin: 0;
    color: var(--white);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 600;
    line-height: 1.35;
}

.about-page .about-story-ending {
    padding: 30px 10px 0;
}

/* Vision and mission */
.about-page .about-direction-section .row > [class*="col-"] {
    display: flex;
}

.about-page .about-direction-card {
    position: relative;
    width: 100%;
    padding: 42px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(14, 39, 105, 0.08);
}

.about-page .about-direction-card::after {
    position: absolute;
    top: 0;
    right: 0;
    width: 140px;
    height: 140px;
    content: "";
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.15), transparent 70%);
}

.about-page .about-direction-icon,
.about-page .about-why-icon {
    display: grid;
    width: 62px;
    height: 62px;
    margin-bottom: 25px;
    color: var(--white);
    font-size: 25px;
    background: var(--bg-gradient);
    border-radius: 16px;
    place-items: center;
}

.about-page .about-card-label {
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.about-page .about-direction-card h3 {
    margin: 7px 0 20px;
    font-size: 30px;
}

.about-page .about-direction-card p {
    font-size: 16px;
    line-height: 1.7;
}

.about-page .about-direction-card .about-card-lead {
    color: var(--dark);
    font-size: 19px;
    font-weight: 600;
}

.about-page .about-check-list {
    display: grid;
    gap: 11px;
    margin: 20px 0 25px;
    padding: 0;
    list-style: none;
}

.about-page .about-check-list li {
    position: relative;
    padding-left: 29px;
    color: var(--color-heading);
}

.about-page .about-check-list li::before {
    position: absolute;
    top: 1px;
    left: 0;
    color: var(--color-secondary);
    content: "\f058";
    font-family: var(--fontawesome);
    font-weight: 900;
}

/* Why choose us */
.about-page .about-why-section .site-heading p {
    max-width: 780px;
    margin: 22px auto 0;
    font-size: 17px;
}

.about-page .about-why-grid > [class*="col-"] {
    display: flex;
}

.about-page .about-why-card {
    position: relative;
    width: 100%;
    min-height: 300px;
    padding: 34px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid #e7edf7;
    border-radius: 16px;
    transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.about-page .about-why-card:hover {
    border-color: rgba(37, 99, 235, 0.35);
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(14, 39, 105, 0.12);
}

.about-page .about-card-number {
    position: absolute;
    top: 22px;
    right: 25px;
    color: rgba(37, 99, 235, 0.1);
    font-size: 50px;
    font-weight: 800;
    line-height: 1;
}

.about-page .about-why-card h3 {
    margin-bottom: 15px;
    font-size: 23px;
    line-height: 1.25;
}

.about-page .about-why-card p {
    margin: 0;
    line-height: 1.7;
}

/* Closing call to action */
.about-page .about-closing-section {
    padding-top: 0;
}

.about-page .about-closing-panel {
    position: relative;
    padding: 75px 12%;
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(135deg, var(--dark) 0%, var(--color-primary) 72%, #238d65 140%);
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(14, 39, 105, 0.22);
}

.about-page .about-closing-panel::before,
.about-page .about-closing-panel::after {
    position: absolute;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
}

.about-page .about-closing-panel::before {
    top: -120px;
    left: -100px;
    width: 310px;
    height: 310px;
}

.about-page .about-closing-panel::after {
    right: -80px;
    bottom: -150px;
    width: 380px;
    height: 380px;
}

.about-page .about-closing-panel > * {
    position: relative;
    z-index: 1;
}

.about-page .about-closing-panel .about-eyebrow {
    color: var(--white);
}

.about-page .about-closing-panel h2 {
    margin-bottom: 22px;
    color: var(--white);
    font-size: clamp(34px, 4vw, 52px);
}

.about-page .about-closing-panel p {
    max-width: 850px;
    margin: 0 auto 25px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    line-height: 1.75;
}

.about-page .about-closing-panel p strong {
    color: var(--white);
}

.about-page .about-closing-lines {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 24px;
    margin-bottom: 32px;
    color: var(--white);
    font-size: 18px;
}

.about-page .about-closing-panel .btn {
    color: var(--dark);
    background: var(--white);
}

.about-page .about-closing-panel .btn:hover,
.about-page .about-closing-panel .btn:focus-visible {
    color: var(--white);
}

.about-page .about-closing-panel .btn i {
    margin-left: 7px;
}

.about-page .about-closing-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

@media (max-width: 991px) {
    .about-page .about-profile-visual > img {
        min-height: 430px;
    }

    .about-page .about-direction-card,
    .about-page .about-story-card {
        padding: 35px;
    }

    .about-page .about-closing-panel {
        padding: 60px 8%;
    }
}

@media (max-width: 767px) {
    .about-page .about-section-heading .title {
        font-size: 32px;
    }

    .about-page .about-rich-copy p {
        font-size: 16px;
    }

    .about-page .about-profile-visual {
        padding: 0 12px 18px 0;
    }

    .about-page .about-profile-visual > img {
        min-height: 330px;
    }

    .about-page .about-profile-badge {
        bottom: 35px;
        padding: 14px 17px;
    }

    .about-page .about-direction-card,
    .about-page .about-story-card,
    .about-page .about-why-card {
        padding: 28px;
    }

    .about-page .about-story-card blockquote {
        font-size: 23px;
    }

    .about-page .about-direction-card h3 {
        font-size: 26px;
    }

    .about-page .about-why-card {
        min-height: auto;
    }

    .about-page .about-closing-panel {
        padding: 50px 24px;
        border-radius: 18px;
    }

    .about-page .about-closing-panel h2 {
        font-size: 31px;
    }

    .about-page .about-closing-panel p,
    .about-page .about-closing-lines {
        font-size: 16px;
    }

    .about-page .about-closing-lines {
        display: grid;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-page .about-why-card {
        transition: none;
    }
}
