/* =====================================================================
   Arrtha Motors – Official MG Dealership & Service Network
   About Us Page Stylesheet (assets/css/about.css)
   ===================================================================== */

:root {
    --ab-purple: #ab17e7;
    --ab-purple-rgb: 171, 23, 231;
    --ab-purple-dark: #810fb5;
    --ab-purple-light: #f5e8fc;
    --ab-dark: #0f172a;
    --ab-dark-rgb: 15, 23, 42;
    --ab-hero-bg: #0c0a1f;
    --ab-text-muted: #64748b;
    --ab-border: #e2e8f0;
    --ab-radius: 16px;
    --ab-radius-lg: 24px;
}

/* Base resets & typography */
.ab-page-wrap {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1e293b;
    background: #ffffff;
    overflow-x: hidden;
}

/* ================= HERO HEADER ================= */
.ab-hero-section {
    position: relative;
    background: linear-gradient(135deg, #0a0614 0%, #15092b 45%, #220a40 100%);
    padding: 130px 0 90px;
    color: #ffffff;
    overflow: hidden;
}

.ab-hero-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(171, 23, 231, 0.28) 0%, rgba(171, 23, 231, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.ab-hero-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, rgba(99, 102, 241, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.ab-hero-content {
    position: relative;
    z-index: 2;
}

.ab-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(171, 23, 231, 0.22);
    border: 1px solid rgba(171, 23, 231, 0.55);
    color: #f1bfff;
    padding: 7px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 20px;
    backdrop-filter: blur(8px);
}

.ab-hero-title {
    font-family: 'Archivo', sans-serif;
    font-size: clamp(32px, 4.4vw, 54px);
    font-weight: 800;
    line-height: 1.18;
    color: #ffffff;
    margin-bottom: 20px;
}

.ab-hero-title span {
    background: linear-gradient(135deg, #f4b4ff 0%, #ab17e7 60%, #e28eff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ab-hero-desc {
    font-size: clamp(16px, 1.8vw, 19px);
    line-height: 1.7;
    color: #cbd5e1;
    max-width: 720px;
    margin-bottom: 35px;
}

.ab-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.ab-btn-primary {
    background: linear-gradient(135deg, #ab17e7 0%, #c438f7 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 30px;
    border-radius: 999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(171, 23, 231, 0.4);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
}

.ab-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(171, 23, 231, 0.6);
    color: #ffffff;
}

.ab-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 30px;
    border-radius: 999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.ab-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    color: #ffffff;
}

/* ================= FLOATING BREADCRUMB BAR ================= */
.ab-breadcrumb-bar {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 14px 0;
    font-size: 14px;
}

.ab-breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ab-breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #64748b;
}

.ab-breadcrumb-list a {
    color: #475569;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.ab-breadcrumb-list a:hover {
    color: var(--ab-purple);
}

.ab-breadcrumb-list .active {
    color: var(--ab-purple);
    font-weight: 700;
}

/* ================= SECTION HEADERS ================= */
.ab-sec-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 55px;
}

.ab-sec-tag {
    display: inline-block;
    color: var(--ab-purple);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
    background: var(--ab-purple-light);
    padding: 6px 16px;
    border-radius: 999px;
}

.ab-sec-title {
    font-family: 'Archivo', sans-serif;
    font-size: clamp(28px, 3.4vw, 42px);
    font-weight: 800;
    color: var(--ab-dark);
    line-height: 1.25;
    margin-bottom: 16px;
}

.ab-sec-desc {
    font-size: 16.5px;
    line-height: 1.7;
    color: var(--ab-text-muted);
    margin: 0;
}

/* ================= INTRO / WELCOME SECTION ================= */
.ab-intro-section {
    padding: 90px 0;
    background: #ffffff;
}

.ab-intro-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--ab-radius-lg);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.04);
    padding: 45px;
    position: relative;
    overflow: hidden;
}

.ab-intro-lead {
    font-size: clamp(18px, 2.2vw, 22px);
    line-height: 1.7;
    color: #1e293b;
    font-weight: 500;
    margin-bottom: 25px;
    border-left: 4px solid var(--ab-purple);
    padding-left: 20px;
}

.ab-feature-box {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: var(--ab-radius);
    padding: 26px;
    height: 100%;
    transition: all 0.3s ease;
}

.ab-feature-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(171, 23, 231, 0.08);
    border-color: rgba(171, 23, 231, 0.25);
}

.ab-feature-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ab17e7 0%, #c438f7 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
    box-shadow: 0 8px 18px rgba(171, 23, 231, 0.3);
}

.ab-feature-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--ab-dark);
    margin-bottom: 10px;
}

.ab-feature-text {
    font-size: 14.5px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* ================= STATS STRIP ================= */
.ab-stats-section {
    background: linear-gradient(135deg, #130a24 0%, #200d3d 100%);
    padding: 60px 0;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.ab-stat-item {
    text-align: center;
    padding: 15px;
}

.ab-stat-num {
    font-family: 'Archivo', sans-serif;
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #ffffff 0%, #e9b3ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ab-stat-label {
    font-size: 14px;
    font-weight: 700;
    color: #c4b5fd;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* ================= MANAGING DIRECTOR SECTION ================= */
.ab-md-section {
    padding: 95px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.ab-md-card {
    background: #ffffff;
    border-radius: var(--ab-radius-lg);
    border: 1px solid #e2e8f0;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.ab-md-photo-wrap {
    position: relative;
    height: 100%;
    min-height: 440px;
    background: #0f172a;
    overflow: hidden;
}

.ab-md-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ab-md-photo-wrap:hover .ab-md-photo {
    transform: scale(1.03);
}

.ab-md-badge-floating {
    position: absolute;
    bottom: 22px;
    left: 22px;
    right: 22px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 16px 20px;
    color: #ffffff;
}

.ab-md-name {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 2px;
}

.ab-md-role {
    font-size: 13px;
    color: #d8b4fe;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin: 0;
}

.ab-md-body {
    padding: 50px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ab-md-quote-icon {
    font-size: 38px;
    color: rgba(171, 23, 231, 0.3);
    margin-bottom: 18px;
}

.ab-md-text {
    font-size: 16.5px;
    line-height: 1.82;
    color: #334155;
    margin-bottom: 24px;
}

.ab-md-signoff {
    border-top: 1px solid #f1f5f9;
    padding-top: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.ab-md-signature-title {
    font-weight: 800;
    font-size: 18px;
    color: var(--ab-dark);
    margin: 0;
}

.ab-md-signature-sub {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

.ab-md-tag-pill {
    background: var(--ab-purple-light);
    color: var(--ab-purple);
    font-weight: 700;
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 999px;
    letter-spacing: 0.5px;
}

/* ================= GALLERY: TEAM & HAPPY CUSTOMERS ================= */
.ab-gallery-section {
    padding: 95px 0;
    background: #ffffff;
}

.ab-gallery-card {
    position: relative;
    border-radius: var(--ab-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background: #0f172a;
    aspect-ratio: 4 / 3;
    transition: all 0.4s ease;
}

.ab-gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.ab-gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(171, 23, 231, 0.2);
}

.ab-gallery-card:hover img {
    transform: scale(1.08);
    filter: brightness(0.92);
}

.ab-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(12, 10, 31, 0.88) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: #ffffff;
    pointer-events: none;
}

.ab-gallery-badge {
    align-self: flex-start;
    background: rgba(171, 23, 231, 0.85);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 8px;
}

.ab-gallery-title {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.35;
}

/* ================= FACILITIES & SHOWROOMS ================= */
.ab-locations-section {
    padding: 95px 0;
    background: #f8fafc;
}

.ab-loc-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--ab-radius);
    padding: 34px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.ab-loc-card:hover {
    transform: translateY(-5px);
    border-color: rgba(171, 23, 231, 0.35);
    box-shadow: 0 16px 36px rgba(171, 23, 231, 0.1);
}

.ab-loc-header {
    margin-bottom: 18px;
}

.ab-loc-type-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.badge-showroom {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.badge-service {
    background: #f5f3ff;
    color: #5b21b6;
    border: 1px solid #ddd6fe;
}

.ab-loc-name {
    font-family: 'Archivo', sans-serif;
    font-size: 21px;
    font-weight: 800;
    color: var(--ab-dark);
    margin: 0;
}

.ab-loc-address {
    font-size: 14.5px;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 20px;
    display: flex;
    gap: 12px;
}

.ab-loc-address i {
    color: var(--ab-purple);
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 3px;
}

.ab-loc-contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
    padding: 14px;
    background: #f8fafc;
    border-radius: 12px;
    font-size: 13.5px;
}

.ab-loc-contacts a {
    color: #334155;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.ab-loc-contacts a:hover {
    color: var(--ab-purple);
}

.ab-loc-btn {
    background: #ffffff;
    border: 1.5px solid var(--ab-purple);
    color: var(--ab-purple) !important;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 20px;
    border-radius: 999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
    width: 100%;
}

.ab-loc-btn:hover {
    background: var(--ab-purple);
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(171, 23, 231, 0.35);
}

/* ================= BRAND PILLARS ================= */
.ab-pillars-section {
    padding: 95px 0;
    background: #ffffff;
}

.ab-pillar-card {
    border: 1px solid #e2e8f0;
    border-radius: var(--ab-radius);
    padding: 32px 26px;
    height: 100%;
    transition: all 0.3s ease;
    background: #ffffff;
}

.ab-pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    border-color: var(--ab-purple);
}

.ab-pillar-icon {
    font-size: 28px;
    color: var(--ab-purple);
    margin-bottom: 16px;
}

.ab-pillar-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--ab-dark);
    margin-bottom: 10px;
}

.ab-pillar-desc {
    font-size: 14.5px;
    color: var(--ab-text-muted);
    line-height: 1.65;
    margin: 0;
}

/* ================= CTA BANNER ================= */
.ab-cta-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #2e0854 100%);
    padding: 70px 0;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ab-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.ab-cta-content h2 {
    font-family: 'Archivo', sans-serif;
    font-size: clamp(26px, 3.2vw, 36px);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
}

.ab-cta-content p {
    font-size: 16px;
    color: #cbd5e1;
    margin: 0;
    max-width: 620px;
}

.ab-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* ================= RESPONSIVE ADJUSTMENTS ================= */
@media (max-width: 991px) {
    .ab-hero-section {
        padding: 100px 0 70px;
    }
    .ab-md-photo-wrap {
        min-height: 380px;
    }
    .ab-md-body {
        padding: 35px 25px;
    }
    .ab-cta-box {
        flex-direction: column;
        text-align: center;
    }
    .ab-cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .ab-intro-card {
        padding: 25px 20px;
    }
    .ab-md-quote-icon {
        font-size: 30px;
        margin-bottom: 12px;
    }
    .ab-md-text {
        font-size: 15px;
    }
    .ab-hero-actions {
        flex-direction: column;
    }
    .ab-btn-primary, .ab-btn-secondary {
        width: 100%;
        justify-content: center;
    }
}
