/* =========================================================
   CSS used by PhilosophyAbout.html
   Extracted from style.css (brand overrides on top of Bootstrap 5.3.3).
   Still required externally (loaded via <link> in the page):
     - Bootstrap 5.3.3 CSS  (grid, card, badge, utilities)
     - Font Awesome 6.5.1
     - Google Fonts: Inter, Cairo
   ========================================================= */

/* ---------- THEME VARIABLES ---------- */
:root {
    --anmc-primary: #1D3565;
    --anmc-navy: #1F3163;
    --anmc-blue: #526FA8;
    --anmc-light: #F5F7FC;
    --anmc-accent: #9E2638;
    --anmc-red: #B3171E;
    --anmc-gold: #C7A65A;
    --anmc-text: #273858;
    --anmc-border: #C9CEE0;
    --anmc-whatsapp: #25D366;
    --anmc-grad-title: linear-gradient(90deg, #1D3565 0%, #2A3566 45%, #9E2638 100%);
    /* Bootstrap overrides */
    --bs-font-sans-serif: "Inter", "Cairo", Arial, sans-serif;
    --bs-body-font-family: var(--bs-font-sans-serif);
    --bs-body-color: var(--anmc-text);
    --bs-body-color-rgb: 39, 56, 88;
    --bs-heading-color: inherit;
    --bs-primary: var(--anmc-primary);
    --bs-primary-rgb: 29, 53, 101;
    --bs-link-color: var(--anmc-text);
    --bs-link-color-rgb: 39, 56, 88;
    --bs-link-hover-color: var(--anmc-accent);
    --bs-link-hover-color-rgb: 158, 38, 56;
    --bs-border-color: var(--anmc-border);
    --bs-focus-ring-color: rgba(199, 166, 90, .45);
}

body {
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
}

.title-grad {
    width: fit-content;
    background: var(--anmc-grad-title);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- PAGE BACKGROUND ---------- */
.page-bg {
    background: radial-gradient(ellipse 42% 30% at 12% 42%, rgba(196, 200, 230, .75), transparent 70%), radial-gradient(ellipse 45% 22% at 95% 58%, rgba(214, 218, 238, .8), transparent 70%), radial-gradient(ellipse 40% 18% at 30% 88%, rgba(222, 225, 240, .7), transparent 70%), linear-gradient(180deg, #FFFFFF 0%, #F3F4FA 40%, #F7F8FC 75%, #FFFFFF 100%);
    padding-bottom: 64px;
}

/* ---------- SECTION TITLES ---------- */
.section-title {
    width: fit-content;
    font-size: 38px;
    font-weight: 400;
    letter-spacing: -.3px;
    margin-bottom: 14px;
}

    .section-title b {
        font-weight: 700;
        color: var(--anmc-primary);
    }

.section-title--bold {
    font-weight: 700;
}

    .section-title--bold b {
        font-weight: 700;
    }

.section-sub {
    font-size: 17.5px;
    color: #1A2440;
}

@media (max-width: 991.98px) {
    .section-title {
        font-size: 32px;
    }

    .section-sub {
        font-size: 16px;
    }
}

@media (max-width: 575.98px) {
    .section-title {
        font-size: 27px;
        margin-bottom: 8px;
    }

    .section-sub {
        font-size: 15px;
    }
}

/* ---------- ABOUT: PHILOSOPHY / VISION & MISSION / VALUES ---------- */
.text-accent {
    color: var(--anmc-accent);
}

.philosophy {
    padding: 58px 0 0;
}

    .philosophy .section-sub {
        font-size: 20px;
        color: var(--anmc-primary);
    }

.drives {
    margin-top: 74px;
    padding-left: 34px;
}

.drives-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--anmc-primary);
    margin-bottom: 22px;
}

.drives-line {
    width: 36px;
    height: 3px;
    background: #8E2236;
}

.drives-text {
    width: fit-content;
    max-width: 100%;
    font-size: 19px;
    line-height: 1.8;
    background: linear-gradient(90deg, #1D3565 0%, #1D3565 60%, #9E2638 88%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.vision-mission {
    padding: 74px 0 0;
}

.vm-col-line {
    position: relative;
}

@media (min-width: 992px) {
    .vm-col-line::before {
        content: "";
        position: absolute;
        left: 0;
        top: 36px;
        width: 2px;
        height: 224px;
        background: var(--anmc-primary);
    }

    .vm-col-line > .vm-card {
        margin-left: 24px;
    }
}

.vm-card {
    --bs-card-bg: #1A2B4B;
    --bs-card-cap-bg: #253654;
    --bs-card-border-width: 0;
    --bs-card-border-radius: 24px;
    --bs-card-cap-padding-x: 30px;
    --bs-card-cap-padding-y: 24px;
    --bs-card-spacer-x: 30px;
    --bs-card-spacer-y: 24px;
    position: relative;
    overflow: hidden;
    color: #fff;
}

    .vm-card .card-header {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 18px;
        min-height: 128px;
        border: 0;
    }

.vm-card--mission .card-header {
    min-height: 130px;
}

.vm-icon {
    width: 46px;
    height: 46px;
    font-size: 17px;
    border: 1px solid rgba(190, 200, 235, .45);
    color: #E6EAF8;
}

.vm-card--mission .vm-icon {
    background: #4B2B52;
    border-color: #6A3A63;
}

.vm-badge {
    padding: 4px 9px;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .3px;
    color: #C9D0E6;
    background: rgba(255, 255, 255, .1);
}

.vm-title {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
}

.vm-card .card-body {
    font-size: 16px;
    line-height: 1.7;
}

.vm-card:not(.vm-card--mission)::after {
    content: "";
    position: absolute;
    right: -8px;
    bottom: -34px;
    width: 160px;
    height: 149px;
    background: url("assets/logo-mark.svg") no-repeat center / contain;
    opacity: .08;
    pointer-events: none;
}

.values {
    padding: 82px 0 8px;
}

    .values .section-sub {
        font-size: 20px;
        color: var(--anmc-primary);
    }

.values-row {
    margin-top: 44px;
}

.value-card {
    --bs-card-bg: #F0F0F7;
    --bs-card-border-width: 0;
    --bs-card-border-radius: 14px;
    --bs-card-spacer-x: 25px;
    --bs-card-spacer-y: 20px;
    min-height: 236px;
    padding: 5px !important;
}

.value-card--pink {
    --bs-card-bg: #F6E7E8;
}

.value-no {
    display: block;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--anmc-red);
    margin-bottom: 14px;
}

.value-icon {
    display: block;
    width: fit-content;
    font-size: 30px;
    margin-bottom: 14px;
    background: linear-gradient(135deg, #1D3565 20%, #B3171E 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.value-title {
    font-size: 19.5px;
    font-weight: 400;
    color: var(--anmc-primary);
    margin-bottom: 14px;
}

.value-text {
    font-size: 12.5px;
    line-height: 1.5;
    color: #3A4870;
}

@media (max-width: 991.98px) {
    .philosophy {
        padding-top: 46px;
    }

        .philosophy .section-sub, .values .section-sub {
            font-size: 17px;
        }

    .drives {
        margin-top: 44px;
        padding-left: 0;
    }

    .drives-title {
        font-size: 26px;
    }

    .drives-text {
        font-size: 17px;
        line-height: 1.7;
    }

    .vision-mission {
        padding-top: 54px;
    }

    .values {
        padding-top: 60px;
    }
}

@media (max-width: 575.98px) {
    .drives-title br {
        display: none;
    }

    .drives-text {
        font-size: 16px;
    }

    .vm-card .card-body {
        font-size: 15px;
    }
}
