/* ==========================================================================
   About Us Page — Premium UI/UX Upgrade
   Additive enhancement layer loaded AFTER about-page.css / terms-page.css.
   Upgrades every section (intro, stats strip, team pillars, why-choose-us,
   closing CTA) to a consistent, modern, premium visual system.
   ========================================================================== */

:root{
    --ap-accent: #17a4e9;
    --ap-accent-dark: #0f7fbf;
    --ap-heading: #1a1a1a;
    --ap-text: #62686d;
    --ap-radius: 12px;
    --ap-border: #eef1f4;
    --ap-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
    --ap-shadow-hover: 0 18px 40px rgba(15, 23, 42, 0.12);
}

/* ---- Page title bar ---- */
.terms-page-title{
    position: relative;
    overflow: hidden;
}
.terms-page-title:before{
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 30%, rgba(23,164,233,.18), transparent 55%);
    pointer-events: none;
}

/* ---- About Intro ---- */
.about-intro-section{
    padding: 75px 0 65px;
}
.about-intro-heading{
    font-size: 34px;
    font-weight: 700;
    color: var(--ap-heading);
    margin: 0 0 22px;
    position: relative;
    padding-bottom: 18px;
}
.about-intro-heading:after{
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--ap-accent), #4bd2fe);
    border-radius: 2px;
}
.about-intro-lead{
    font-size: 17px;
    line-height: 1.85;
    color: var(--ap-heading);
    margin-bottom: 18px;
    text-align: justify;
}
.about-intro-lead a{
    color: var(--ap-accent);
    font-weight: 700;
}
.about-intro-text{
    font-size: 15.5px;
    line-height: 1.85;
    color: var(--ap-text);
    text-align: justify;
}
.about-intro-image{
    border-radius: var(--ap-radius);
    overflow: hidden;
    box-shadow: var(--ap-shadow-hover);
    line-height: 0;
    transition: transform .4s ease;
}
.about-intro-image:hover{
    transform: translateY(-4px);
}
.about-intro-image img{
    width: 100%;
    display: block;
}

/* ---- Stats strip ---- */
.about-stats-section{
    padding: 0 0 75px;
}
.about-stat-card{
    text-align: center;
    background: #ffffff;
    border: 1px solid var(--ap-border);
    border-radius: var(--ap-radius);
    padding: 34px 20px;
    box-shadow: var(--ap-shadow);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.about-stat-card:hover{
    transform: translateY(-6px);
    box-shadow: var(--ap-shadow-hover);
    border-color: rgba(23,164,233,.35);
}
.about-stat-card strong{
    display: block;
    font-size: 38px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--ap-accent), #4bd2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 8px;
}
.about-stat-label{
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--ap-heading);
    margin-bottom: 4px;
}
.about-stat-sub{
    display: block;
    font-size: 12.5px;
    color: var(--ap-text);
}

/* ---- Our Team ---- */
.about-team-section{
    padding: 0 0 80px;
    background: #f9fbfd;
    padding-top: 75px;
}
.sec-title-center{
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}
.sec-title-center h2{
    font-size: 30px;
    font-weight: 700;
    color: var(--ap-heading);
    margin: 0 0 14px;
}
.sec-title-center p{
    font-size: 15.5px;
    color: var(--ap-text);
    line-height: 1.8;
    margin: 0;
}
.about-pillar-card{
    height: 100%;
    background: #ffffff;
    border: 1px solid var(--ap-border);
    border-radius: var(--ap-radius);
    padding: 38px 30px;
    text-align: center;
    box-shadow: var(--ap-shadow);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.about-pillar-card:hover{
    transform: translateY(-8px);
    box-shadow: var(--ap-shadow-hover);
    border-color: rgba(23,164,233,.35);
}
.about-pillar-icon{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ap-accent), #4bd2fe);
    color: #ffffff;
    font-size: 27px;
    margin-bottom: 22px;
    box-shadow: 0 12px 26px rgba(23,164,233,.32);
}
.about-pillar-card h5{
    font-size: 18px;
    font-weight: 700;
    color: var(--ap-heading);
    margin: 0 0 14px;
}
.about-pillar-card p{
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--ap-text);
    margin: 0;
    text-align: justify;
}

/* ---- Why Choose Us ---- */
.about-why-section{
    padding: 80px 0;
}
.about-why-image{
    border-radius: var(--ap-radius);
    overflow: hidden;
    box-shadow: var(--ap-shadow-hover);
    line-height: 0;
    transition: transform .4s ease;
}
.about-why-image:hover{
    transform: translateY(-4px);
}
.about-why-image img{
    width: 100%;
    display: block;
}
.about-why-heading{
    font-size: 30px;
    font-weight: 700;
    color: var(--ap-heading);
    margin: 0 0 26px;
}
.about-why-list{
    list-style: none;
    margin: 0;
    padding: 0;
}
.about-why-list li{
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #f8fafc;
    border: 1px solid var(--ap-border);
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--ap-text);
    line-height: 1.7;
    transition: border-color .3s ease, background-color .3s ease, transform .3s ease;
}
.about-why-list li:hover{
    background: #ffffff;
    border-color: rgba(23,164,233,.35);
    transform: translateX(4px);
}
.about-why-list li i{
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--ap-accent);
    font-size: 17px;
}
.about-why-list li strong{
    color: var(--ap-heading);
}
.about-why-list li span{
    flex: 1;
    min-width: 0;
}
.about-why-list.is-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 16px;
    text-align: left;
}
.about-why-list.is-grid li{
    margin-bottom: 0;
    height: 100%;
}
.about-why-list.is-grid li:hover{
    transform: translateY(-3px);
}
@media (max-width: 767px){
    .about-why-list.is-grid{
        grid-template-columns: 1fr;
    }
}

/* ---- Closing CTA ---- */
.about-closing{
    margin-top: 60px;
    background: linear-gradient(135deg, #0d1b2a, #123452 60%, var(--ap-accent));
    border-radius: 18px;
    padding: 50px 60px;
    text-align: center;
    box-shadow: var(--ap-shadow-hover);
}
.about-closing p{
    font-size: 16px;
    color: rgba(255,255,255,.85);
    line-height: 1.8;
    max-width: 720px;
    margin: 0 auto 10px;
    text-align: center;
}
.about-closing-cta{
    font-size: 19px !important;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 26px !important;
}
.about-closing .theme-btn{
    background: linear-gradient(135deg, #ffffff, #eaf7ff);
    color: var(--ap-accent-dark) !important;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    padding: 14px 34px;
    box-shadow: 0 10px 26px rgba(0,0,0,.25);
    transition: transform .2s ease, box-shadow .2s ease;
}
.about-closing .theme-btn:hover{
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0,0,0,.3);
}

/* ---- Responsive ---- */
@media (max-width: 767px){
    .about-intro-section{ padding: 55px 0 45px; }
    .about-why-section{ padding: 55px 0; }
    .about-team-section{ padding-top: 55px; padding-bottom: 55px; }
    .about-closing{ padding: 38px 26px; }
    .about-intro-heading{ font-size: 27px; }
    .about-why-heading, .sec-title-center h2{ font-size: 24px; }
}
