/* /home/saisriya/Diwakar/accrivo_new/public/css/about-us.css */

/* =========================
   ACCRIVO - ABOUT PAGE BASE
   (Same tokens + same background)
   ========================= */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Outfit:wght@600;700;800;900&display=swap");

:root {
    --bg-1: #38866c;
    --bg-2: #004942;

    --text: #effffa;
    --muted: rgba(255, 255, 255, 0.82);

    --mint: #a3ffe4;
    --cta: #00c78c;
    --cta-hover: #00b980;

    --card: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.12);
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

html,
body {
    margin: 0;
    padding: 0;
    font-family:
        "Inter",
        system-ui,
        -apple-system,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    background: radial-gradient(
        112.08% 96.94% at 96.28% 3.57%,
        #38866c 0%,
        #004942 100%
    );
    overflow-x: hidden;
}

*, *::before, *::after {
    box-sizing: border-box;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

/* =========================================================
   ABOUT HERO (till hero only)
   ========================================================= */
.au-hero {
    /* min-height: 100vh; */
    display: flex;
    justify-content: center;
    align-items: flex-start;

    color: var(--text);
    padding: clamp(28px, 4vw, 56px) 18px 20px;
    box-sizing: border-box;

    /* leave space for fixed nav */
    padding-top: 110px;
}

.au-hero-inner {
    width: min(980px, 100%);
    margin: 0 auto;
    text-align: left;
}

.au-kicker {
    margin: 0 0 26px;
    letter-spacing: 0.25em;
    font-size: 17px;
    font-weight: 700;
    opacity: 0.92;
}

.au-title {
    margin: 0;
    font-weight: 800;
    line-height: 1.05;
    font-size: clamp(34px, 4.6vw, 45px);
    color: #fff;
}

.au-subtitle {
    margin: 23px 0 23px;
    font-weight: 600;
    line-height: 1.35;
    font-size: 16px;
    color: #ffffff;
    max-width: 900px;
}

.au-desc {
    margin: 18px 0 18px;
    font-size: 16px;
    line-height: 1.5;
    color: #ffffff;
    max-width: 930px;
}

.au-desc--last {
    margin-top: 15px;
}

/* media frame (upload image style) */
.au-media {
    width: min(820px, 100%);
    margin-top: 26px;

    position: relative;
    border-radius: 12px;
    overflow: hidden;

    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.au-media-img {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* upload hint (if image missing) */
.au-upload-hint {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: grid;
    place-items: center;
    padding: 18px;
    box-sizing: border-box;
}

.au-upload-box {
    width: min(520px, 100%);
    border-radius: 14px;
    border: 1px dashed rgba(255, 255, 255, 0.35);
    background: rgba(0, 0, 0, 0.18);
    padding: 18px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.au-upload-ic {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 199, 140, 0.25);
    border: 1px solid rgba(0, 199, 140, 0.45);
    display: grid;
    place-items: center;
    font-weight: 900;
    color: #fff;
}

.au-upload-title {
    font-weight: 900;
    color: #fff;
    font-size: 14px;
    line-height: 1.2;
}

.au-upload-sub {
    margin-top: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.4;
}

/* divider line (your exact spec) */
.au-divider {
    margin-top: 60px;
    opacity: 0.26;
    background: #fff;
    width: 1204px;
    height: 1px;
    max-width: 114%;
    /* align-items: center; */
    margin-left: -70px;
}

/* =========================================================
   MOBILE (max-width: 480px) — about hero tuning
   ========================================================= */
@media (max-width: 480px) {
    html,
    body {
        overflow-x: hidden !important;
    }

    .au-hero {
        min-height: unset;
        padding-left: 14px !important;
        padding-right: 14px !important;
        padding-top: 88px !important;
        padding-bottom: 18px !important;
    }

    .au-hero-inner {
        width: 100% !important;
        max-width: 390px !important;
        margin: 0 auto !important;
    }

    .au-kicker {
        font-size: 12px !important;
        margin-bottom: 10px !important;
        letter-spacing: 0.28em !important;
    }

    .au-title {
        font-size: 24px !important;
        line-height: 1.18 !important;
    }

    .au-subtitle {
        font-size: 13px !important;
        line-height: 1.6 !important;
        margin-top: 10px !important;
    }

    .au-desc {
        font-size: 12.5px !important;
        line-height: 1.7 !important;
        margin-top: 10px !important;
    }

    .au-media {
        width: 100% !important;
        max-width: 360px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-top: 14px !important;
        border-radius: 14px !important;
    }

    .au-media-img,
    .au-upload-hint {
        aspect-ratio: 16 / 10 !important;
    }

    .au-divider {
        margin-top: 20px !important;
        width: 100% !important;
    }
}

/* =========================================================
   MISSION STATEMENT SECTION (matches au-divider width/position)
   ========================================================= */
.ms-section {
    padding: 30px 0 40px;
    color: var(--text);
}

.ms-inner {
    width: min(980px, 100%);
    margin: 0 auto;
    text-align: left;
}

.ms-title {
    margin: 0 0 23px;
    font-size: 45px;
    font-weight: 800;
    color: #fff;
    margin-left: -60px;
}

/* ✅ Image frame matches divider exact width + position */
.ms-media {
    margin-top: 10px;

    width: 1204px;
    max-width: 114%;
    margin-left: -70px;

    border-radius: 44px; /* ✅ more round */
    overflow: hidden;

    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

/* keep image corners perfectly smooth */
.ms-media-img {
    border-radius: 44px; /* ✅ optional but makes it perfect */
}

.ms-media-img {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* MOBILE */
@media (max-width: 480px) {
    .ms-section {
        padding: 18px 0 28px;
    }

    .ms-title {
        font-size: 22px;
        margin-bottom: 12px;
    }

    /* On mobile: no negative margin, full width */
    .ms-media {
        width: 100% !important;
        max-width: 360px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        border-radius: 18px !important;
    }

    .ms-media-img {
        aspect-ratio: 16 / 10 !important;
    }
}

/* =========================================================
   VISION SECTION
   ========================================================= */
.vs {
    padding: 0 18px 70px;
    color: var(--text);
}

.vs-inner {
    width: min(980px, 100%);
    margin: 0 auto;
}

/* title */
.vs-title {
    margin: 0 -55px 12px;
    font-size: 29px;
    font-weight: 700;
    color: #fff;
}

/* arrow list */
.vs-list {
    list-style: none;
    padding: 0;
    margin: 0 -55px 18px;
    max-width: 980px;
}

.vs-list li {
    position: relative;
    padding-left: 22px;
    margin: 10px 0;
    font-size: 16px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
}

.vs-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    top: 0;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 700;
}

/* paragraph under list */
.vs-para {
    margin: 18px -55px 26px;
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
    max-width: 940px;
}

/* ✅ Vision image-based card — matches divider width & offset */
.vs-card {
    position: relative;

    width: 1204px; /* same as au-divider width */
    max-width: 114%; /* same as au-divider max-width */
    margin-left: -70px; /* same as au-divider offset */

    border-radius: 48px;
    overflow: hidden;

    background-image: url("../images/about-us/vision/vision-card-bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: var(--shadow);
}

/* overlay to make text readable */
.vs-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.62) 0%,
        rgba(0, 0, 0, 0.38) 55%,
        rgba(0, 0, 0, 0.18) 100%
    );
}

/* content padding */
.vs-card-content {
    position: relative;
    z-index: 2;
    padding: 56px 64px;
    max-width: 860px;
}

/* Vision heading */
.vs-card-title {
    margin: 0;
    font-size: 42px;
    font-weight: 900;
    color: #fff;
}

/* underline */
.vs-card-line {
    margin-top: 10px;
    width: 92px;
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
}

/* paragraph inside card */
.vs-card-text {
    margin: 18px 0 0;
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
}

/* =========================
   MOBILE — Vision
   ========================= */
@media (max-width: 900px) {
    .vs-card {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        border-radius: 30px;
    }
    .vs-card-content {
        padding: 34px 22px;
    }
    .vs-card-title {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .vs-title {
        font-size: 22px;
    }
    .vs-list li,
    .vs-para,
    .vs-card-text {
        font-size: 13px;
    }
    .vs-card {
        border-radius: 26px;
    }
    .vs-card-content {
        padding: 26px 18px;
    }
    .vs-card-title {
        font-size: 28px;
    }
    .vs-card-line {
        width: 72px;
    }
}

/* =========================================================
   TEAM SECTION — overlapped cards (like screenshot)
   ========================================================= */
.tm {
    padding: 10px 18px 70px;
    color: var(--text);
}

.tm-inner {
    width: min(980px, 100%);
    margin: 0 auto;
}

.tm-title {
    margin: 0 0 18px;
    font-size: 42px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.02em;
}

/* the overlapped strip */
.tm-row {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 0; /* important */
    padding-top: 6px;

    /* optional: makes the whole strip feel centered like screenshot */
    width: 1240px;
    max-width: 118%;
    margin-left: -42px;
}

/* each card */
.tm-card {
    position: relative;
    flex: 0 0 170px; /* card width (tweak if needed) */
    height: 220px; /* card height */
    border-radius: 18px;
    overflow: hidden;

    /* background: rgba(255, 255, 255, 0.1); */
    /* border: 1px solid rgba(255, 255, 255, 0.2); */
    /* box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); */

    /* ✅ overlap effect */
    margin-left: -22px; /* how much each next card sits on previous */
}

/* first card should not shift left */
.tm-card:first-child {
    margin-left: 0;
}

/* make right side cards appear slightly "above" like layered */
.tm-card:nth-child(1) {
    z-index: 1;
    transform: translateY(8px);
}
.tm-card:nth-child(2) {
    z-index: 2;
    transform: translateY(6px);
}
.tm-card:nth-child(3) {
    z-index: 3;
    transform: translateY(4px);
}
.tm-card:nth-child(4) {
    z-index: 4;
    transform: translateY(2px);
}
.tm-card:nth-child(5) {
    z-index: 5;
    transform: translateY(0px);
}
.tm-card:nth-child(6) {
    z-index: 6;
    transform: translateY(2px);
}
.tm-card:nth-child(7) {
    z-index: 7;
    transform: translateY(4px);
}

/* image */
.tm-img {
    width: 104%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* subtle hover (optional but nice) */
.tm-card {
    transition:
        transform 220ms ease,
        box-shadow 220ms ease;
}
.tm-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
}
/* 3rd card slightly shorter */
.tm-card:nth-child(3) {
    height: 210px; /* was 220px */
    margin-top: 8px; /* optional: keeps bottom aligned feel */
}
.tm-card:nth-child(3) .tm-img {
    height: 100%;
    object-position: center top; /* keeps face framed */
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1000px) {
    .tm-row {
        width: 100%;
        max-width: 100%;
        margin-left: 0;

        overflow-x: auto;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }

    .tm-card {
        flex: 0 0 160px;
        height: 210px;
        margin-left: 12px; /* no overlap in mobile */
        scroll-snap-align: start;
    }
    .tm-card:first-child {
        margin-left: 0;
    }

    /* remove forced nth-child offsets on mobile for clean scroll */
    .tm-card {
        transform: none !important;
    }
}

@media (max-width: 480px) {
    .tm-title {
        font-size: 30px;
        margin-bottom: 14px;
    }
    .tm-card {
        flex-basis: 150px;
        height: 200px;
        border-radius: 16px;
    }
}

/* =========================================================
   SECTION — OUR STANDARDS & VALUES (About Us)
   matches screenshot cards + uses same divider width alignment
   ========================================================= */

.sv {
    padding: 34px 18px 30px;
    color: #fff;
}

.sv-inner {
    width: min(980px, 100%);
    margin: 0 auto;
    text-align: left;
}

.sv-title {
    margin: 0 0 18px;
    font-size: 45px;
    font-weight: 800;
    color: #fff;

    /* same feel like Mission Statement heading */
    margin-left: -60px;
}

.sv-list {
    display: grid;
    gap: 16px;

    /* EXACT like .ms-media (Mission image frame) */
    width: 1204px;
    max-width: 114%;
    margin-left: -70px;
}

/* ✅ card exact spec */
.sv-card {
    border-radius: 16px;
    border: 0.5px solid #fff;
    background: #002925;
    box-shadow: 0 0 17px 0 rgba(255, 255, 255, 0) inset;

    padding: 20px 26px;
}

.sv-card-title {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
}

.sv-card-text {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.9);
    max-width: 980px;
}

/* CTAs spacing like screenshot */
.sv-ctas {
    margin-top: 34px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

/* =========================================================
   ✅ CTA CSS copied from homepage.css (only what we need)
   ========================================================= */

/* CTA button */
.mp-cta {
    margin-top: 0;
    margin-bottom: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--cta);
    color: #ffffff;
    text-decoration: none;
    font-weight: 800;
    font-size: 28px;
    padding: 11px 16px;
    border-radius: 12px;
    border: 2px solid #ffffff;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
    transition: transform 0.15s ease,
        background 0.15s ease,
        box-shadow 0.15s ease;
    width: min(500px, 100%);
}

.mp-cta:hover {
    background: var(--cta-hover);
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
}
.mp-cta:active {
    transform: translateY(0px);
}

.mp-cta-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: grid;
    place-items: center;
}

.mp-cta-phone {
    width: 18px;
    height: 26px;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
}

/* second CTA (dark) */
.mp-access-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    color: #fff;

    font-weight: 700;
    font-size: 22px;

    min-height: 63px;
    padding: 0 26px;
    box-sizing: border-box;

    border: 1px solid #fff;
}

.mp-access-ctaIcon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
}

.mp-access-ctaIconImg {
    width: 26px;
    height: 30px;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
}

.mp-access-cta--secondary {
    width: min(345px, 100%);
    border-radius: 16px;
    background: linear-gradient(180deg, #001f3d 0%, #000 100%);
}

.mp-access-cta:hover {
    transform: translateY(-1px);
    transition: transform 0.15s ease;
}

/* =========================================================
   MOBILE tuning for this section
   ========================================================= */
@media (max-width: 480px) {
    .sv {
        padding: 22px 14px 24px;
    }

    .sv-inner {
        width: 100% !important;
        max-width: 390px !important;
        margin: 0 auto !important;
    }

    .sv-title {
        font-size: 28px !important;
        margin-left: 0 !important;
    }

    .sv-list {
        width: 100% !important;
        max-width: 360px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* Footer and navbar CSS now provided by common.css */

/* =========================================================
   COMPREHENSIVE RESPONSIVE FIX
   Fixes overflow from hardcoded 1204px widths & negative margins
   across all intermediate screen sizes
   ========================================================= */

/* ---- TABLET: 901px–1100px ---- */
@media (max-width: 1100px) {
    /* Divider */
    .au-divider {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
    }

    /* Mission Statement */
    .ms-title {
        margin-left: 0;
    }

    .ms-media {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        border-radius: 32px;
    }

    /* Vision negative margins */
    .vs-title {
        margin-left: 0;
        margin-right: 0;
    }

    .vs-list {
        margin-left: 0;
        margin-right: 0;
    }

    .vs-para {
        margin-left: 0;
        margin-right: 0;
    }

    .vs-card {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
    }

    /* Standards & Values */
    .sv-title {
        margin-left: 0;
    }

    .sv-list {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
    }
}

/* ---- TABLET: 481px–900px ---- */
@media (min-width: 481px) and (max-width: 900px) {
    /* Hero */
    .au-hero {
        padding-top: 100px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .au-hero-inner {
        width: 100%;
    }

    .au-title {
        font-size: 32px;
        line-height: 1.15;
    }

    .au-title br {
        display: none;
    }

    .au-subtitle {
        font-size: 15px;
    }

    .au-desc {
        font-size: 15px;
    }

    /* Mission */
    .ms-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .ms-inner {
        width: 100%;
    }

    .ms-title {
        font-size: 34px;
    }

    .ms-media {
        border-radius: 28px;
    }

    .ms-media-img {
        border-radius: 28px;
    }

    /* Vision */
    .vs {
        padding-left: 20px;
        padding-right: 20px;
    }

    .vs-inner {
        width: 100%;
    }

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

    .vs-card {
        border-radius: 32px;
    }

    .vs-card-content {
        padding: 36px 28px;
    }

    .vs-card-title {
        font-size: 34px;
    }

    /* Team */
    .tm {
        padding-left: 20px;
        padding-right: 20px;
    }

    .tm-title {
        font-size: 34px;
    }

    /* Standards & Values */
    .sv {
        padding-left: 20px;
        padding-right: 20px;
    }

    .sv-inner {
        width: 100%;
    }

    .sv-title {
        font-size: 34px;
    }

    .sv-card-title {
        font-size: 20px;
    }

    .sv-card-text {
        font-size: 13px;
    }

    /* CTAs */
    .mp-cta {
        width: 100%;
        max-width: 420px;
        font-size: 22px;
        padding: 12px 16px;
    }

    .mp-access-cta--secondary {
        width: 100%;
        max-width: 320px;
        font-size: 18px;
    }

}

/* ---- SMALL MOBILE: max 480px — additional fixes ---- */
@media (max-width: 480px) {
    /* Mission section padding */
    .ms-section {
        padding-left: 14px;
        padding-right: 14px;
    }

    .ms-inner {
        width: 100%;
        max-width: 100%;
    }

    .ms-title {
        margin-left: 0;
        font-size: 24px;
    }

    .ms-media {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        border-radius: 18px;
    }

    .ms-media-img {
        border-radius: 18px;
    }

    /* Vision negative margins reset */
    .vs-title {
        margin-left: 0;
        margin-right: 0;
        font-size: 22px;
    }

    .vs-list {
        margin-left: 0;
        margin-right: 0;
    }

    .vs-para {
        margin-left: 0;
        margin-right: 0;
        font-size: 13px;
    }

    /* Standards section overflows */
    .sv-title {
        margin-left: 0;
        font-size: 24px;
    }

    .sv-list {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
    }

    .sv-card {
        padding: 16px 18px;
    }

    .sv-card-title {
        font-size: 18px;
    }

    .sv-card-text {
        font-size: 12.5px;
    }

    /* CTAs mobile */
    .sv-ctas {
        margin-top: 28px;
        gap: 14px;
        padding: 0 4px;
    }

    .mp-cta {
        width: 100%;
        font-size: 18px;
        padding: 12px 14px;
        border-radius: 12px;
    }

    .mp-cta-icon {
        width: 36px;
        height: 36px;
    }

    .mp-access-cta--secondary {
        width: 100%;
        font-size: 16px;
        min-height: 54px;
        padding: 0 18px;
        border-radius: 12px;
    }

    /* Hero title no forced break */
    .au-title br {
        display: none;
    }

    /* Divider full width */
    .au-divider {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
    }
}

/* ---- VERY SMALL: max 360px ---- */
@media (max-width: 360px) {
    .au-hero {
        padding-top: 80px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .au-kicker {
        font-size: 11px;
    }

    .au-title {
        font-size: 21px;
        line-height: 1.2;
    }

    .au-subtitle {
        font-size: 12px;
    }

    .au-desc {
        font-size: 12px;
    }

    .ms-title {
        font-size: 22px;
    }

    .vs-title {
        font-size: 20px;
    }

    .vs-card-title {
        font-size: 24px;
    }

    .vs-card-content {
        padding: 22px 14px;
    }

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

    .tm-card {
        flex-basis: 130px;
        height: 170px;
        border-radius: 14px;
    }

    .sv-title {
        font-size: 22px;
    }

    .sv-card-title {
        font-size: 16px;
    }

    .mp-cta {
        font-size: 16px;
        padding: 10px 12px;
    }

    .mp-access-cta--secondary {
        font-size: 14px;
        min-height: 48px;
    }

}
