.about-breadcrumb {
    background-position: center;
    background-size: cover;
    background-image: linear-gradient(rgba(10, 24, 44, 0.62), rgba(10, 24, 44, 0.62)), url("../images/resources/bg.jpg");
}

.about-breadcrumb .inner-content {
    padding: 22px 0;
}

.about-breadcrumb .title h1 {
    color: #ffffff;
    line-height: 1.2;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.28);
}

.about-breadcrumb .breadcrumb-menu ul li,
.about-breadcrumb .breadcrumb-menu ul li.active,
.about-breadcrumb .breadcrumb-menu ul li a {
    color: #edf3ff !important;
}

.about-breadcrumb .breadcrumb-menu ul li a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

.about-page-section {
    position: relative;
    padding: 90px 0 100px;
    background:
        radial-gradient(circle at 8% 10%, rgba(11, 78, 171, 0.08), transparent 36%),
        radial-gradient(circle at 90% 95%, rgba(191, 146, 59, 0.09), transparent 34%),
        #f8fafc;
}

.about-overview-head {
    max-width: 860px;
    margin: 0 auto 42px;
    text-align: center;
}

.about-overview-kicker {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(11, 78, 171, 0.1);
    color: #0b4eab;
}

.about-overview-title {
    margin: 0;
    color: #122033;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.15;
    font-weight: 800;
}

.about-overview-title span {
    display: block;
    margin-top: 8px;
    color: #0b4eab;
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
}

.about-intro-card {
    overflow: hidden;
    border: 1px solid #dbe3ef;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(19, 35, 60, 0.08);
}

.about-intro-grid {
    display: grid;
    grid-template-columns: minmax(280px, 44%) 1fr;
    align-items: stretch;
}

.about-intro-media {
    position: relative;
    min-height: 340px;
    background: #e8edf4;
}

.about-intro-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-intro-text {
    padding: 34px 34px 32px;
}

.about-intro-text p,
.about-history-body p {
    margin-bottom: 14px;
    color: #445266;
    line-height: 1.9;
    font-size: 16px;
}

.about-history-shell {
    margin-top: 56px;
    padding: 30px;
    border: 1px solid #dbe3ef;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(22, 40, 64, 0.07);
}

.about-history-shell .single-history-content {
    border: 1px solid #e4eaf3;
    border-radius: 16px;
    background: #fdfefe;
    overflow: hidden;
}

.about-history-shell .single-history-content .img-box {
    width: 100% !important;
    float: none !important;
    padding: 0 !important;
}

.about-history-shell .single-history-content .img-box .inner {
    padding-right: 0 !important;
}

.about-history-shell .img-box .inner {
    height: 250px;
    overflow: hidden;
}

.about-history-shell .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.about-history-shell .text-box {
    width: 100% !important;
    float: none !important;
    min-height: 0 !important;
    padding: 24px 24px 28px;
}

.about-history-shell .single-history-content .text-box .inner {
    padding: 0 !important;
}

.about-history-shell .single-history-content .text-box .title {
    padding: 0 !important;
}

.about-history-shell .title h3 {
    margin-bottom: 10px;
    color: #122033;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 700;
}

.about-history-shell .owl-dots {
    margin-top: 22px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 10px;
}

.about-history-shell .owl-dot span {
    width: 10px;
    height: 10px;
    margin: 0;
    border-radius: 50%;
    background: #c4cedd;
    transition: all 0.2s ease;
}

.about-history-shell .owl-dot.active span,
.about-history-shell .owl-dot:hover span {
    background: #0b4eab;
    transform: scale(1.2);
}

@media (max-width: 991px) {
    .about-page-section {
        padding: 72px 0 84px;
    }

    .about-intro-grid {
        grid-template-columns: 1fr;
    }

    .about-intro-media {
        min-height: 300px;
    }
}

@media (max-width: 767px) {
    .about-overview-head {
        margin-bottom: 30px;
    }

    .about-intro-text {
        padding: 22px 20px 18px;
    }

    .about-history-shell {
        margin-top: 32px;
        padding: 16px;
    }

    .about-history-shell .text-box {
        padding: 18px 16px 22px;
    }

    .about-history-shell .img-box .inner {
        height: 210px;
    }

    .about-history-shell .owl-dots {
        margin-top: 14px;
        gap: 6px;
        padding: 0 4px;
    }

    .about-history-shell .owl-dot span {
        width: 8px;
        height: 8px;
    }

    .breadcrumb-area .inner-content {
        text-align: center !important;
    }

    .breadcrumb-area .breadcrumb-menu {
        float: none !important;
        justify-content: center !important;
    }

    .breadcrumb-area .breadcrumb-title {
        font-size: 22px;
        line-height: 1.4;
    }
}

/* New alternating about layout */
.about-page-section {
    position: relative;
    padding: 92px 0 108px;
    background:
        radial-gradient(circle at 8% 10%, rgba(11, 94, 215, 0.08), transparent 34%),
        radial-gradient(circle at 92% 84%, rgba(11, 78, 171, 0.06), transparent 32%),
        #ffffff;
}

.about-page-shell {
    display: flex;
    flex-direction: column;
    gap: 96px;
}

.about-story {
    display: flex;
    align-items: center;
    gap: 64px;
}

.about-story--reverse {
    flex-direction: row-reverse;
}

.about-story-media {
    flex: 0 0 min(46%, 560px);
    padding: 5px;
    background: #ffffff;
    border: 3px solid #0b5ed7;
    border-radius: 10px;
    box-shadow:
        0 22px 52px rgba(18, 32, 51, 0.12),
        inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.about-story-media img {
    width: 100%;
    height: 100%;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: fill;
    border: 0;
    box-shadow: none;
    border-radius: 6px;
}

.about-story-content {
    flex: 1 1 auto;
    max-width: 520px;
}

.about-story-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: #0b5ed7;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 400;
}

.about-story-heading {
    font-size: clamp(24px, 2.4vw, 34px);
    line-height: 1.25;
    font-weight: 700;
}

.about-story-kicker::before {
    content: "";
    width: 18px;
    height: 1px;
    background: rgba(11, 94, 215, 0.35);
    flex: 0 0 auto;
}

.about-story-text {
    color: #445266;
    font-size: 16px;
    line-height: 1.95;
}

.about-story-text p {
    margin: 0 0 14px;
}

.about-story-text p:last-child {
    margin-bottom: 0;
}

html[dir="rtl"] .about-story-content {
    text-align: right;
}

html[dir="rtl"] .about-story-kicker {
    flex-direction: row-reverse;
}

html[dir="rtl"] .about-story-kicker::before {
    order: 2;
}

@media (max-width: 991px) {
    .about-page-section {
        padding: 72px 0 84px;
    }

    .about-page-shell {
        gap: 72px;
    }

    .about-story,
    .about-story--reverse {
        flex-direction: column;
        align-items: stretch;
        gap: 22px;
    }

    .about-story-media,
    .about-story-content {
        max-width: 100%;
        flex-basis: auto;
    }
}

@media (max-width: 767px) {
    .about-page-shell {
        gap: 56px;
    }

    .about-story-media img {
        aspect-ratio: 16 / 11;
        object-fit: fill;
        border: 0;
        box-shadow: none;
        border-radius: 6px;
    }

    .about-story-media {
        padding: 5px;
        border-width: 3px;
        box-shadow:
            0 16px 34px rgba(18, 32, 51, 0.1),
            inset 0 0 0 1px rgba(255, 255, 255, 0.45);
    }

    .about-story-kicker {
        font-size: 16px;
    }

    .about-story-heading {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .about-story-text {
        font-size: 15px;
        line-height: 1.9;
    }
}
