/* =============================================
   ABOUT PAGE CSS - JK Drive Technology
   Typography from jkdrive.lk Elementor (post-10.css):
     Teko: hero 50px/30px, bar 34px, section headings 31px, why-lines 24px, expertise titles 30px
     Bai Jamjuree 18px: two-column body (justify)
   ============================================= */

/* ------------------------------------------------------------------
   1) ABOUT HERO  – matches Penci slider on live (Teko 50 / Teko 30)
   ------------------------------------------------------------------ */
.about-hero {
    position: relative;
    min-height: 400px;
    background: url('../images/about/hero.jpg') center center / cover no-repeat;
    background-attachment: scroll;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0.30) 100%);
    z-index: 1;
}

.about-hero-inner {
    position: relative;
    z-index: 2;
    padding: 80px 20px;
}

.about-hero-title {
    font-family: var(--font-heading);
    font-size: 50px;
    font-weight: 400;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0 0 8px;
    line-height: 1.05;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.about-hero-sub {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 400;
    color: var(--white);
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
    letter-spacing: 1px;
    line-height: 1.2;
}

/* ------------------------------------------------------------------
   2) SATISFACTION BAR – Elementor gradient + Teko 34px
   ------------------------------------------------------------------ */
.about-satisfaction-bar {
    background: transparent;
    background-image: linear-gradient(180deg, #957756 0%, rgba(145, 97, 46, 0.87) 100%);
    padding: 15px 0;
    text-align: center;
}

.about-satisfaction-bar p {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 400;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0;
    line-height: 1.15;
}

/* ---- Why Cards ---- */
.why-card {
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.why-card:hover, .why-card-accent {
    border-color: var(--accent);
    box-shadow: 0 8px 30px rgba(19, 44, 145,0.12);
}

.why-card-accent { background: var(--accent); border-color: var(--accent); }
.why-card-accent h4, .why-card-accent p { color: var(--white) !important; }
.why-card-accent .why-icon { background: rgba(255,255,255,0.2); }
.why-card-accent .why-icon i { color: var(--white); }

.why-icon {
    width: 70px;
    height: 70px;
    background: rgba(19, 44, 145,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.why-icon i { font-size: 28px; color: var(--accent); }

.why-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.why-card p { font-size: 14px; color: var(--mid-gray); line-height: 1.7; margin: 0; }

/* ============================================================
   ABOUT COMBINED SECTION – matches screenshot exactly
   ============================================================ */

.about-combined-section {
    background: var(--white);
    padding: 60px 0 50px;
}

/* ── Section headings – Teko 31px / #333 (Elementor headings) ── */
.ac-heading {
    font-family: var(--font-heading);
    font-size: 31px;
    font-weight: 400;
    color: #333333;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 20px;
    line-height: 1.1;
}

/* ── Left: about text ── */
.about-combined-left { padding-right: 28px; padding-bottom: 30px; }

/* Bai Jamjuree 18px justified – Elementor text columns */
.ac-text {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 400;
    color: #333333;
    line-height: 1.65;
    margin: 0;
    text-align: justify;
}

.ac-text strong { color: #1a1a1a; font-weight: 600; }

/* ── Vertical divider between cols ── */
.ac-vertical-divider {
    width: 1px;
    background: var(--light-gray);
    height: 100%;
    min-height: 160px;
    align-self: stretch;
}

/* ── Right: Why JK – stacked icon boxes #253D99 (Elementor) ── */
.about-combined-right { padding-left: 30px; padding-bottom: 30px; }

.ac-why-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ac-why-list li {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ac-icon-box {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    background: #253d99;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
}

.ac-why-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 400;
    color: #333333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

/* ── Expertise intro (left, medium grey – matches screenshot) ── */
.ac-expertise-intro {
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 400;
    color: #666666;
    margin: 32px 0 28px;
    border-top: 1px solid var(--light-gray);
    padding-top: 24px;
    line-height: 1.65;
    text-align: left;
}

.ac-expertise-intro strong { color: #333333; font-weight: 700; }

/* ── 5-item grid: 2 + 2 + 1 centred; white bg; royal-blue icons; bold black titles ── */
.ac-expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 48px;
    row-gap: 36px;
    max-width: 1100px;
    margin: 0 auto 44px;
}

.ac-exp-item {
    min-width: 0;
}

.ac-exp-item-wide {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: min(520px, 100%);
}

.ac-exp-item-inner {
    background: transparent;
    padding: 12px 14px 28px;
    text-align: center;
    height: 100%;
}

.ac-exp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    color: var(--accent);
    font-size: 52px;
    line-height: 1;
    background: none;
    width: auto;
    height: auto;
}

.ac-exp-icon i {
    display: block;
    line-height: 1;
}

.ac-exp-title {
    font-family: var(--font-body);
    font-size: 19px;
    font-weight: 700;
    color: #111111;
    text-transform: none;
    letter-spacing: 0;
    margin: 0 0 14px;
    line-height: 1.35;
}

.ac-exp-desc {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    color: #666666;
    line-height: 1.55;
    margin: 0;
}

/* ── Quality text + certs row ── */
.ac-quality-row {
    border-top: 1px solid var(--light-gray);
    padding-top: 30px;
    margin-bottom: 24px;
}

.ac-quality-text {
    font-family: var(--font-body);
    font-size: 18px;
    color: #333333;
    line-height: 1.65;
    margin: 0;
    text-align: justify;
}

.ac-quality-text strong { color: #1a1a1a; font-weight: 600; }

/* ── ISO 9000 + CE certification badges (image-based) ── */
.ac-cert-badges {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.ac-cert-img {
    display: block;
    object-fit: contain;
    background: transparent;
}

.ac-cert-iso-img {
    width: 110px;
    height: auto;
    max-height: 110px;
}

.ac-cert-ce-img {
    width: 90px;
    height: auto;
    max-height: 90px;
}

/* ── Full-width closing text ── */
.ac-closing-text {
    font-family: var(--font-body);
    font-size: 18px;
    color: #333333;
    font-style: italic;
    border-top: 1px solid var(--light-gray);
    padding-top: 18px;
    margin: 0;
    line-height: 1.65;
    text-align: justify;
}

.ac-closing-text strong { color: #1a1a1a; font-style: normal; font-weight: 600; }

/* ---- Never Fails Split (two-column: dark panel + photo) ---- */
.never-fails-split {
    display: flex;
    min-height: 320px;
    width: 100%;
}

/* Left dark navy panel */
.nf-left {
    width: 50%;
    background: #1a2a4a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nf-left-inner {
    padding: 60px 55px;
    max-width: 480px;
    text-align: center;
}

.nf-title {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 400;
    color: var(--white);
    line-height: 1.25;
    margin-bottom: 16px;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nf-text {
    font-family: var(--font-body);
    font-size: 15px;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.4em;
    margin-bottom: 28px;
}

/* Outlined pill button – matching screenshot */
.nf-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1.5px solid rgba(255,255,255,0.65);
    color: var(--white);
    font-family: var(--font-nav);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 11px 28px;
    border-radius: 30px;
    text-decoration: none;
    transition: var(--transition);
}

.nf-btn:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.nf-btn i { font-size: 11px; }

/* Right photo panel */
.nf-right {
    width: 50%;
    overflow: hidden;
    position: relative;
}

.nf-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 320px;
}

/* ---- Why Choose Us (flat text list style – matches screenshot) ---- */
.why-choose-section {
    padding: var(--section-pad) 0;
    background: var(--white);
}

.why-choose-title {
    font-family: var(--font-heading);
    font-size: 31px;
    font-weight: 400;
    color: #333333;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 28px;
    line-height: 1.1;
}

.why-choose-title span {
    font-weight: 700;
    color: var(--accent);
}

.why-choose-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.why-choose-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-family: var(--font-body);
    font-size: 18px;
    color: #333333;
    line-height: 1.55;
}

.wc-check {
    color: var(--accent);
    font-size: 18px;
    font-weight: 900;
    flex-shrink: 0;
    margin-top: 2px;
    line-height: 1.55;
}

.why-choose-list li p {
    margin: 0;
    font-family: var(--font-body);
    font-size: 18px;
    color: #333333;
    line-height: 1.55;
}

.why-choose-list li strong {
    color: #1a1a1a;
    font-weight: 600;
}

.why-choose-closing {
    font-family: var(--font-body);
    font-size: 18px;
    color: #333333;
    line-height: 1.65;
    margin: 0;
    text-align: justify;
}

.why-choose-closing strong {
    color: #1a1a1a;
    font-weight: 600;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .about-image-block { padding-bottom: 20px; padding-right: 20px; }
    .about-img-main { height: 300px; }
    .about-img-secondary { width: 40%; }

    /* Combined section */
    .about-combined-left { padding-right: 0; }
    .about-combined-right { padding-left: 0; margin-top: 30px; }
    .ac-heading { font-size: 28px; }

    /* Never Fails split – stack on tablet */
    .never-fails-split { flex-direction: column; }
    .nf-left, .nf-right { width: 100%; }
    .nf-left-inner { padding: 50px 30px; }
    .nf-right img { min-height: 260px; }
}

@media (max-width: 767px) {
    .about-image-block { padding: 0; margin-bottom: 20px; }
    .about-img-secondary { display: none; }
    .about-cert-badges { gap: 10px; }
    .nf-left-inner { padding: 40px 20px; }
    .nf-title { font-size: 26px; }
    .ac-cert-badges { gap: 14px; }
    .ac-cert-iso-img { width: 90px; }
    .ac-cert-ce-img { width: 75px; }
    .ac-text,
    .ac-quality-text,
    .ac-expertise-intro,
    .why-choose-list li,
    .why-choose-closing {
        font-size: 17px;
    }
    .ac-expertise-grid {
        grid-template-columns: 1fr;
        row-gap: 28px;
        column-gap: 0;
    }
    .ac-exp-item-wide {
        grid-column: auto;
        max-width: 100%;
        justify-self: stretch;
    }
    .ac-exp-icon { font-size: 46px; margin-bottom: 16px; }
    .ac-exp-title { font-size: 18px; }
    .why-choose-title { font-size: 28px; }
}

/* ------------------------------------------------------------------
   Responsive – About Hero & Satisfaction Bar (Teko scales)
   ------------------------------------------------------------------ */
@media (max-width: 991px) {
    .about-hero { min-height: 380px; }
    .about-hero-title { font-size: 42px; letter-spacing: 2px; }
    .about-hero-sub { font-size: 26px; }
    .about-satisfaction-bar p { font-size: 28px; letter-spacing: 2px; }
}

@media (max-width: 575px) {
    .about-hero { min-height: 320px; }
    .about-hero-inner { padding: 50px 16px; }
    .about-hero-title { font-size: 34px; letter-spacing: 1.5px; }
    .about-hero-sub { font-size: 22px; }
    .about-satisfaction-bar { padding: 14px 0; }
    .about-satisfaction-bar p { font-size: 22px; letter-spacing: 1px; line-height: 1.25; }
}
