﻿/* ============================================
   CHILTERN â€” ABOUT US PAGE
   Modular & Beautiful
   Primary: #1F7A63 | Dark: #145A4A
   CTA: #FF7A00 | BG: #F8FBFA
============================================ */

/* =====================
   0. RESET / OVERRIDES
   ===================== */
.ab-hero,
.ab-intro,
.ab-expertise,
.ab-testimonials {
    padding: 0 !important;
    margin: 0 !important;
}
.ab-hero *,
.ab-intro *,
.ab-expertise *,
.ab-testimonials * {
    font-family: 'Poppins', sans-serif !important;
}
/* Restore icon font-families broken by the wildcard above */
.ab-hero .fas, .ab-hero .far, .ab-hero .fab,
.ab-intro .fas, .ab-intro .far, .ab-intro .fab,
.ab-expertise .fas, .ab-expertise .far, .ab-expertise .fab,
.ab-testimonials .fas, .ab-testimonials .far, .ab-testimonials .fab {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
}
.ab-hero .bi, .ab-intro .bi, .ab-expertise .bi, .ab-testimonials .bi {
    font-family: "bootstrap-icons" !important;
}

/* =====================
   1. HERO
   ===================== */
.ab-hero {
    position: relative !important;
    background-size: cover !important;
    background-position: center !important;
    min-height: 380px !important;
    display: flex !important;
    align-items: flex-end !important;
    padding: 0 0 70px !important;
    overflow: hidden !important;
}
.ab-hero-overlay {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(180deg, rgba(10,50,42,0.85) 0%, rgba(20,90,74,0.92) 100%) !important;
    z-index: 1 !important;
}
.ab-hero-wave {
    position: absolute !important;
    bottom: -1px !important;
    left: 0 !important;
    width: 100% !important;
    height: 70px !important;
    z-index: 2 !important;
    display: block !important;
}
.ab-hero-inner {
    padding-top: 100px !important;
}

/* Breadcrumb */
.ab-breadcrumb {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 18px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}
.ab-breadcrumb a {
    color: rgba(255,255,255,0.65) !important;
    text-decoration: none !important;
    transition: color .25s !important;
}
.ab-breadcrumb a:hover { color: #FF7A00 !important; }
.ab-breadcrumb-sep {
    color: rgba(255,255,255,0.3) !important;
    font-size: 11px !important;
}
.ab-breadcrumb-current {
    color: #fff !important;
    font-weight: 600 !important;
}

/* Hero Title */
.ab-hero-title {
    font-size: 48px !important;
    font-weight: 800 !important;
    color: #fff !important;
    line-height: 1.1 !important;
    margin: 0 0 14px !important;
    letter-spacing: -0.5px !important;
    text-transform: none !important;
}
.ab-hero-sub {
    font-size: 16px !important;
    color: rgba(255,255,255,0.7) !important;
    font-weight: 300 !important;
    margin: 0 !important;
    letter-spacing: 0.2px !important;
}

/* =====================
   2. SHARED COMPONENTS
   ===================== */
.ab-tag {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    background: #E8F5F1 !important;
    color: #1F7A63 !important;
    padding: 6px 16px !important;
    border-radius: 50px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    margin-bottom: 14px !important;
}
.ab-tag i { font-size: 13px !important; }
.ab-tag-light {
    background: rgba(255,255,255,0.12) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    backdrop-filter: blur(6px) !important;
}
.ab-tag-light i { color: #FF7A00 !important; }

.ab-heading {
    font-size: 34px !important;
    font-weight: 700 !important;
    color: #1A1A1A !important;
    line-height: 1.2 !important;
    margin: 0 0 6px !important;
    text-transform: none !important;
    letter-spacing: -0.3px !important;
}
.ab-heading-center { text-align: center !important; }
.ab-heading-white { color: #fff !important; }

.ab-bar {
    width: 44px !important;
    height: 3px !important;
    background: #1F7A63 !important;
    border-radius: 3px !important;
    margin-bottom: 22px !important;
}
.ab-bar-white { background: rgba(255,255,255,0.5) !important; }

/* =====================
   3. INTRO SECTION
   ===================== */
.ab-intro {
    padding: 90px 0 80px !important;
    background: #F8FBFA !important;
}

/* Image block */
.ab-img-block {
    position: relative !important;
    padding: 0 !important;
}
.ab-img-main {
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: 0 16px 48px rgba(0,0,0,0.1) !important;
    position: relative !important;
    z-index: 2 !important;
}
.ab-img-main img {
    width: 100% !important;
    height: 460px !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform .5s ease !important;
}
.ab-img-main:hover img {
    transform: scale(1.03) !important;
}
.ab-img-badge {
    position: absolute !important;
    bottom: -16px !important;
    right: -16px !important;
    background: linear-gradient(135deg, #1F7A63, #145A4A) !important;
    color: #fff !important;
    padding: 18px 22px !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 28px rgba(31,122,99,0.35) !important;
    z-index: 3 !important;
    max-width: 180px !important;
}
.ab-img-badge-text {
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    display: block !important;
}
.ab-img-dots {
    position: absolute !important;
    top: -20px !important;
    left: -20px !important;
    width: 100px !important;
    height: 100px !important;
    z-index: 1 !important;
    background-image: radial-gradient(#1F7A63 2px, transparent 2px) !important;
    background-size: 14px 14px !important;
    opacity: 0.25 !important;
}

/* Intro content */
.ab-intro-content {
    padding-left: 10px !important;
}
.ab-text {
    margin-bottom: 28px !important;
}
.ab-text p,
.ab-text li {
    font-size: 15px !important;
    color: #4A4A4A !important;
    line-height: 1.85 !important;
    margin-bottom: 12px !important;
}
.ab-text ul {
    padding-left: 0 !important;
    list-style: none !important;
}
.ab-text ul li {
    position: relative !important;
    padding-left: 26px !important;
}
.ab-text ul li::before {
    content: "\F272" !important;
    font-family: bootstrap-icons !important;
    position: absolute !important;
    left: 0 !important;
    color: #1F7A63 !important;
    font-size: 15px !important;
}
.ab-text h2,
.ab-text h3,
.ab-text h4 {
    color: #1A1A1A !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
}

/* Actions row */
.ab-actions {
    display: flex !important;
    align-items: center !important;
    gap: 24px !important;
    flex-wrap: wrap !important;
}
.ab-btn-primary {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: #FF7A00 !important;
    color: #fff !important;
    padding: 14px 34px !important;
    border-radius: 50px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    transition: all .3s ease !important;
    box-shadow: 0 4px 18px rgba(255,122,0,0.28) !important;
    border: none !important;
}
.ab-btn-primary:hover {
    background: #e56e00 !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(255,122,0,0.38) !important;
}
.ab-btn-primary i {
    font-size: 18px !important;
    transition: transform .3s ease !important;
}
.ab-btn-primary:hover i { transform: translateX(3px) !important; }

.ab-rics-logo {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}
.ab-rics-logo img {
    width: 48px !important;
    height: 48px !important;
    object-fit: contain !important;
    background: #fff !important;
    border-radius: 50% !important;
    padding: 6px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08) !important;
}
.ab-rics-logo span {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #1F7A63 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* =====================
   4. EXPERTISE CARDS
   ===================== */
.ab-expertise {
    padding: 80px 0 !important;
    background: #fff !important;
}
.ab-card-expertise {
    background: #F8FBFA !important;
    border-radius: 16px !important;
    padding: 36px 32px 32px !important;
    height: 100% !important;
    position: relative !important;
    overflow: hidden !important;
    border: 1px solid rgba(31,122,99,0.06) !important;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease !important;
}
.ab-card-expertise:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 14px 40px rgba(31,122,99,0.1) !important;
    border-color: rgba(31,122,99,0.15) !important;
}
.ab-card-expertise-accent {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 4px !important;
    background: linear-gradient(90deg, #1F7A63, #FF7A00) !important;
    transform: scaleX(0) !important;
    transform-origin: left !important;
    transition: transform .4s ease !important;
}
.ab-card-expertise:hover .ab-card-expertise-accent {
    transform: scaleX(1) !important;
}
.ab-card-expertise-top {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    margin-bottom: 20px !important;
}
.ab-card-icon {
    width: 56px !important;
    height: 56px !important;
    border-radius: 14px !important;
    background: #E8F5F1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    transition: all .3s ease !important;
}
.ab-card-expertise:hover .ab-card-icon {
    background: #1F7A63 !important;
    box-shadow: 0 4px 14px rgba(31,122,99,0.3) !important;
}
.ab-card-icon i {
    font-size: 24px !important;
    color: #1F7A63 !important;
    transition: color .3s ease !important;
}
.ab-card-expertise:hover .ab-card-icon i {
    color: #fff !important;
}
.ab-card-expertise-top h3 {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #1A1A1A !important;
    margin: 0 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    line-height: 1.3 !important;
}
.ab-card-expertise-body p {
    font-size: 14px !important;
    color: #4A4A4A !important;
    line-height: 1.8 !important;
    margin: 0 !important;
}

/* =====================
   5. TESTIMONIALS
   ===================== */
.ab-testimonials {
    background: #fff !important;
    overflow: hidden !important;
    padding: 0 !important;
}
.ab-test-body {
    padding: 70px 60px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    height: 100% !important;
    min-height: 500px !important;
    background: #F8FBFA !important;
    position: relative !important;
}
.ab-test-body .ab-tag {
    display: inline-flex !important;
    width: fit-content !important;
}
.ab-test-body .ab-heading {
    font-size: 30px !important;
    color: #1A1A1A !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
    text-transform: none !important;
    letter-spacing: -0.3px !important;
    line-height: 1.2 !important;
}
.ab-test-body .ab-bar {
    background: #1F7A63 !important;
}
.ab-test-ellipse {
    margin-bottom: 18px !important;
}
.ab-test-ellipse img {
    max-width: 60px !important;
    opacity: 0.12 !important;
}

/* Slider */
.ab-test-slider { position: relative !important; }
.ab-test-slide { padding: 0 !important; }
.ab-quote-icon {
    font-size: 40px !important;
    color: #1F7A63 !important;
    opacity: 0.2 !important;
    line-height: 1 !important;
    display: block !important;
    margin-bottom: 8px !important;
}
.ab-test-quote,
.ab-test-quote p {
    font-size: 17px !important;
    font-style: italic !important;
    color: #4A4A4A !important;
    line-height: 1.8 !important;
    font-weight: 400 !important;
    margin: 0 !important;
}

/* Owl overrides — use ID for max specificity over style.css */
#clientsaySlider.ab-test-slider .owl-nav {
    display: flex !important;
    gap: 10px !important;
    margin-top: 28px !important;
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
}
#clientsaySlider.ab-test-slider .owl-nav .owl-prev,
#clientsaySlider.ab-test-slider .owl-nav .owl-next {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: #E8F5F1 !important;
    color: #1F7A63 !important;
    font-size: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    transition: all .3s ease !important;
    line-height: 1 !important;
    cursor: pointer !important;
    padding: 0 !important;
}
#clientsaySlider.ab-test-slider .owl-nav .owl-prev span,
#clientsaySlider.ab-test-slider .owl-nav .owl-next span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    color: #1F7A63 !important;
}
#clientsaySlider.ab-test-slider .owl-nav .owl-prev span i,
#clientsaySlider.ab-test-slider .owl-nav .owl-next span i {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    font-size: 16px !important;
    color: #1F7A63 !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}
#clientsaySlider.ab-test-slider .owl-nav .owl-prev:hover,
#clientsaySlider.ab-test-slider .owl-nav .owl-next:hover {
    background: #1F7A63 !important;
    color: #fff !important;
    transform: scale(1.1) !important;
    box-shadow: 0 4px 14px rgba(31,122,99,0.3) !important;
}
#clientsaySlider.ab-test-slider .owl-nav .owl-prev:hover span,
#clientsaySlider.ab-test-slider .owl-nav .owl-next:hover span,
#clientsaySlider.ab-test-slider .owl-nav .owl-prev:hover span i,
#clientsaySlider.ab-test-slider .owl-nav .owl-next:hover span i {
    color: #fff !important;
}
.ab-test-slider .owl-dots { display: none !important; }

/* Test image */
.ab-test-img {
    position: relative !important;
    height: 100% !important;
    min-height: 500px !important;
    overflow: hidden !important;
}
.ab-test-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform .6s ease !important;
}
.ab-test-img:hover img { transform: scale(1.04) !important; }
.ab-test-img-overlay {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(180deg, rgba(248,251,250,0.05) 0%, rgba(248,251,250,0.02) 100%) !important;
    pointer-events: none !important;
}

/* =====================
   6. RESPONSIVE
   ===================== */
@media (max-width: 1199px) {
    .ab-hero-title { font-size: 40px !important; }
    .ab-heading { font-size: 30px !important; }
    .ab-test-body { padding: 50px 40px !important; }
    .ab-test-body .ab-heading { font-size: 28px !important; }
}
@media (max-width: 991px) {
    .ab-hero { min-height: 320px !important; }
    .ab-hero-title { font-size: 34px !important; }
    .ab-hero-inner { padding-top: 80px !important; }
    .ab-intro { padding: 60px 0 50px !important; }
    .ab-heading { font-size: 26px !important; }
    .ab-img-main img { height: 350px !important; }
    .ab-img-block { margin-bottom: 30px !important; }
    .ab-expertise { padding: 60px 0 !important; }
    .ab-test-body {
        padding: 40px 30px !important;
        min-height: 0 !important;
    }
    .ab-test-img { min-height: 350px !important; }
    .ab-test-body .ab-heading { font-size: 24px !important; }
    .ab-test-quote, .ab-test-quote p { font-size: 16px !important; }
}
@media (max-width: 767px) {
    .ab-hero { min-height: 280px !important; }
    .ab-hero-title { font-size: 28px !important; }
    .ab-hero-sub { font-size: 14px !important; }
    .ab-hero-wave { height: 40px !important; }
    .ab-intro { padding: 40px 0 30px !important; }
    .ab-heading { font-size: 23px !important; }
    .ab-img-main img { height: 280px !important; }
    .ab-img-badge {
        bottom: -10px !important;
        right: -8px !important;
        padding: 12px 16px !important;
    }
    .ab-img-badge-text { font-size: 15px !important; }
    .ab-img-dots { display: none !important; }
    .ab-expertise { padding: 40px 0 !important; }
    .ab-card-expertise { padding: 28px 24px 24px !important; }
    .ab-card-expertise-top h3 { font-size: 18px !important; }
    .ab-test-body { padding: 30px 20px !important; }
    .ab-test-quote,
    .ab-test-quote p { font-size: 15px !important; }
    .ab-test-img { min-height: 280px !important; }
    .ab-btn-primary { padding: 12px 26px !important; font-size: 13px !important; }
}
@media (max-width: 575px) {
    .ab-hero { min-height: 240px !important; }
    .ab-hero-inner { padding-top: 70px !important; }
    .ab-hero-title { font-size: 24px !important; }
    .ab-breadcrumb { font-size: 11px !important; }
    .ab-heading { font-size: 21px !important; }
    .ab-intro { padding: 30px 0 24px !important; }
    .ab-img-main img { height: 230px !important; }
    .ab-actions {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 14px !important;
    }
    .ab-btn-primary {
        width: 100% !important;
        justify-content: center !important;
    }
    .ab-card-icon { width: 46px !important; height: 46px !important; }
    .ab-card-icon i { font-size: 20px !important; }
    .ab-test-slider .owl-nav .owl-prev,
    .ab-test-slider .owl-nav .owl-next {
        width: 38px !important;
        height: 38px !important;
        font-size: 14px !important;
    }
    .ab-expertise { padding: 30px 0 !important; }
}
