/* ── MACS - Mantra Access Control System Page Styles ─────── */

:root {
    /* Integration with Layout.css variables */
    --macs-primary: var(--ma-type-primary, #034694);
    --macs-secondary: var(--ma-type-secondary, #ff6d00);

    /* Page specific variants based on primary */
    --macs-navy: #0f2460;
    --macs-blue: #2563eb;
    --macs-blue-dark: #1e40af;
    --macs-blue-mid: #2563eb;
    --macs-blue-light: #dbeafe;
    --macs-blue-pale: #eff6ff;
    --macs-blue-bg: #f8faff;
    --macs-text: #1e293b;
    --macs-muted: #64748b;
    --macs-border: #e2e8f0;

    --ma-font-family: var(--ma-body-font-family);
}

.fw-black {
    font-weight: 900 !important;
}

.font-style-normal {
    font-style: normal !important;
}


body {
    font-family: var(--ma-font-family);
    color: var(--macs-text);
}

.hero_image img {
    border-radius: 20px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ── HERO ── */
/* Section 1: Hero */
.enterprise_security_hero_section {
    background: linear-gradient(135deg, #FAFAFA 0%, #FFFFFF 50%, #EFF6FF 100%);
    padding: 130px 0px 80px 0px;
    position: relative;
    overflow: hidden;
}

.hero_content h1 {
    margin-bottom: 25px;
}

.hero_content p {
    margin-bottom: 35px;
}


.hero_cta_btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    background-color: var(--ma-type-primary);
    color: var(--ma-white);
    font-size: var(--ma-body-text);
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
}

.hero_cta_btn:hover,
.hero_cta_btn:focus,
.hero_cta_btn:active {
    background-color: var(--ma-type-primaryhoverdark);
    color: var(--ma-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(38, 68, 140, 0.3);
}



/* ── Section base ── */
.ind-section {
    padding: 100px 0;
    background: #fff;
}

.ind-section--alt {
    background: var(--macs-blue-bg);
}


.ind-section h2 {
    margin-bottom: 0px;
}

.text_pri {
    color: var(--ma-type-primary) !important;
}


/* ── Why MACS ── */
.macs-why-card {
    background: #fff;
    border: 1.5px solid var(--macs-border);
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.macs-why-card:hover {
    border-color: var(--macs-primary);
    box-shadow: 0 10px 30px rgba(3, 70, 148, 0.08);
    transform: translateY(-5px);
}

.macs-why-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #034694 0%, #4F7EB4 100%);
    color: var(--ma-white);
    flex-shrink: 0;
}

.macs-why-card h6 {
    margin-bottom: 10px;
}

.macs-why-card p {
    margin: 0;
}

/* ── Module List ── */
.macs-mod-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 50px;
}

.macs-mod-row {
    display: grid;
    grid-template-columns: 280px 1fr;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 20px rgba(15, 36, 96, .08);
    border: 1.5px solid #dbeafe;
    transition: all 0.3s ease;
}

.macs-mod-row:hover {
    box-shadow: 0 12px 40px rgba(3, 70, 148, 0.12);
    transform: translateY(-5px);
}

.macs-mod-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #034694 0%, #1C599F 50%, #356BA9 100%);
}

.macs-mod-visual-bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 160px;
    opacity: .08;
    color: #fff;
    pointer-events: none;
}

.macs-mod-icon {
    font-size: 48px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.macs-mod-num {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .7);
    margin-bottom: 8px;
}

.macs-mod-vname {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.3;
}

.macs-mod-abbr {
    display: inline-block;
    background: rgba(255, 255, 255, .2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
}

.macs-mod-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.macs-mod-content .lead {
    font-size: 15px;
    color: var(--macs-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.macs-mod-feats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 30px;
}

.macs-mod-feat {
    font-size: 14px;
    color: #374151;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.macs-mod-feat i {
    color: var(--macs-primary);
    font-size: 14px;
    margin-top: 3px;
}

/* ── Platform Highlights ── */
.macs-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border: 1.5px solid var(--macs-border);
    border-radius: 16px;
    overflow: hidden;
    margin-top: 50px;
    background: #fff;
}

.macs-hl {
    padding: 30px 35px;
    border-right: 1px solid #dbeafe;
    border-bottom: 1px solid #dbeafe;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.macs-hl:nth-child(2n) {
    border-right: none;
}

.macs-hl:nth-last-child(-n+2) {
    border-bottom: none;
}

.macs-hl i {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #034694 0%, #4F7EB4 100%);
    color: var(--ma-white);
    font-size: 20px;
    flex-shrink: 0;
}

.macs-hl-text h6 {
    margin-bottom: 8px;
}

.macs-hl-text p {
    margin: 0;
}

/* ── Benefits ── */
.macs-ben {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1.5px solid var(--macs-border);
    height: 100%;
}

.macs-ben-head {
    padding: 30px;
    background: linear-gradient(135deg, #034694 0%, #1C599F 50%, #356BA9 100%);
    display: flex;
    align-items: center;
    gap: 16px;
}

.macs-ben-head i {
    font-size: 32px;
    color: rgba(255, 255, 255, 0.6);
}

.macs-ben-head h6 {
    color: var(--ma-white);
    margin: 0;
}

.macs-ben-body {
    padding: 30px;
}

.macs-ben-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.macs-ben-body ul li {
    font-size: var(--ma-body-text);
    color: var(--ma-grey130);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.macs-ben-body ul li i {
    color: var(--macs-primary);
    font-size: var(--ma-body-text);
    margin-top: 1px;
}

/* ── Stats ── */
.macs-stat-box {
    border: 1px solid var(--ma-grey40);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.macs-stat-box:hover {
    border-color: var(--macs-primary);
    transform: translateY(-5px);
}

.macs-stat-val {
    font-size: 48px;
    color: var(--ma-type-primary);
    line-height: 1;
}

.macs-stat-val span {
    font-size: 28px;
    margin-left: 2px;
}

.macs-stat-lbl {
    font-size: var(--ma-body-text);
    color: var(--ma-grey130);
    margin-top: 12px;
}

/* ── Generic Cards ── */
.ind-card {
    background: #fff;
    border: 1.5px solid var(--macs-border);
    border-radius: 18px;
    padding: 40px 30px;
    transition: all 0.3s ease;
    height: 100%;
}

.ind-card:hover {
    border-color: var(--macs-primary);
    box-shadow: 0 10px 30px rgba(3, 70, 148, 0.08);
    transform: translateY(-5px);
}

.ind-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: var(--macs-blue-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--macs-primary);
    margin-bottom: 24px;
}

.ind-card h6 {
    margin-bottom: 12px;
}

.ind-card p {
    margin: 0;
}



/* ── CTA ── */
.ind-cta {
    background: linear-gradient(135deg, var(--ma-type-primaryhoverdark) 0%, var(--ma-type-primary) 60%, var(--ma-type-primaryhoverdark) 100%);
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.ind-cta h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    margin-bottom: 20px;
}

.ind-cta p {
    font-size: 17px;
    color: rgba(255, 255, 255, .8);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.ind-cta-btn {
    display: inline-block;
    background: var(--ma-white);
    color: var(--ma-type-primary);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    padding: 12px 36px;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 1px solid var(--ma-white);
}

.ind-cta-btn:hover {
    background: var(--ma-type-primary);
    color: var(--ma-white);
    transform: translateY(-2px);
    border-color: var(--ma-white);
}

.ind-cta-link {
    display: inline-block;
    margin-top: 24px;
    color: rgba(255, 255, 255, .7);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
    display: block;
}

.ind-cta-link:hover {
    color: #fff;
}

/* ── Responsive ── */
@media (max-width: 992px) {
    .ind-section {
        padding: 70px 0;
    }

    .macs-mod-row {
        grid-template-columns: 1fr;
    }

    .macs-mod-visual {
        flex-direction: row;
        text-align: left;
        justify-content: flex-start;
        gap: 20px;
        padding: 30px;
    }

    .macs-mod-visual-bg {
        font-size: 120px;
    }

    .macs-mod-feats {
        grid-template-columns: 1fr;
    }

    .macs-highlights {
        grid-template-columns: 1fr;
    }

    .macs-hl:last-child {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .ind-hero {
        min-height: auto;
    }

    .ind-hero-body {
        padding: 60px 0 40px;
        text-align: center;
    }

    .ind-hero-lead {
        margin-inline: auto;
    }

    .macs-mod-visual {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .macs-mod-visual {
        padding: 30px 20px;
    }

    .macs-mod-content {
        padding: 30px 20px;
    }

    .ind-cta {
        padding: 70px 20px;
    }
}

/* ------------------------------ FAQ Section (from Biometrics) ------------------------------ */
.frequently-asked-questions-section {
    background-color: var(--ma-white);
    padding: 80px 0;
}

.fq-aside {
    position: sticky;
    top: 120px;
}

.fq-aside h2 {
    margin-bottom: 20px;
}

.fq-aside p {
    margin-bottom: 30px;
}

.fq-contact {
    display: flex;
    align-items: center;
    gap: 14px;
    background-color: var(--ma-white);
    border: 1px solid var(--ma-grey40);
    border-radius: 12px;
    padding: 30px;
}

.fq-contact-ico {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--ma-type-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.fq-contact span {
    font-size: 11px;
    color: var(--muted);
    display: block;
    margin-bottom: 2px;
}

.fq-contact a {
    font-size: 15px;
    font-weight: 700;
    color: var(--ma-tag-black);
    text-decoration: none;
}

.fq-contact a:hover {
    color: var(--ma-type-primary);
}

/* FAQ items */
.fq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fq-item {
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: box-shadow .25s;
}

.fq-item.open {
    box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
}

.fq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    transition: background .2s;
    background-color: var(--ma-white);
}

.fq-q-text {
    margin-bottom: 0;
    font-size: 16px;
    font-family: var(--ma-font-semibold);
    color: var(--ma-tag-black);
}

.fq-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: var(--ma-bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--ma-type-primary);
    transition: transform .3s, background .3s;
}

.fq-item.open .fq-icon {
    transform: rotate(180deg);
    background: var(--ma-type-primary);
    color: #fff;
}

.fq-a {
    display: none;
    padding: 0 20px 18px;
    background-color: var(--ma-white);
}

.fq-item.open .fq-a {
    display: block;
}

.fq-a p {
    margin-bottom: 0;
    color: var(--ma-grey130);
    line-height: 1.6;
}

@media(max-width:1024px) {
    .fq-aside {
        position: static;
    }
}

/* Workforce Management Section */
.workforce-mgmt-section {
    background: #fff;
    border-top: 1px solid var(--macs-border);
}

.workforce_image_wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(15, 36, 96, 0.15);
}

.workforce_image_wrapper img {
    transition: transform 0.5s ease;
    width: 100%;
}

.workforce-mgmt-section:hover .workforce_image_wrapper img {
    transform: scale(1.02);
}

@media (max-width: 992px) {
    .workforce-mgmt-section {
        padding: 60px 0;
    }
}