﻿/* =========================================================
   GLOBAL BASE
   ========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Poppins",system-ui,-apple-system,BlinkMacSystemFont,sans-serif;
    color: #222;
    background: #f7f7f9;
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 140px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================================================
   HEADER
   ========================================================= */

header {
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(14px);
}

.header-grid {
    display: grid;
    grid-template-columns: 180px 1fr;
    grid-template-rows: auto auto;
    column-gap: 20px;
    row-gap: 4px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 20px;
}

/* LOGO */

.logo-area {
    grid-row: 1 / span 2;
    display: flex;
    align-items: center;
}

    .logo-area img {
        height: 160px;
    }

/* MENU */

.menu-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.menu-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid #dbe3f0;
    background: #fff;
    color: #111827;
    border-radius: 999px;
    padding: .8rem 1rem;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(15,23,42,.08);
}

.menu-toggle-bars {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
}

.menu-toggle-bars span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
}

body.menu-open .menu-toggle-bars span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

body.menu-open .menu-toggle-bars span:nth-child(2) {
    opacity: 0;
}

body.menu-open .menu-toggle-bars span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.menu-toggle-text {
    line-height: 1;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* NAV */

.nav-links {
    display: flex;
    list-style: none;
    gap: 22px;
}

.nav-links a {
        font-size: .95rem;
        font-weight: 500;
        position: relative;
    }

        .nav-links a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -3px;
            width: 0;
            height: 2px;
            background: #e12727;
            transition: .2s;
        }

        .nav-links a:hover::after,
        .nav-links a.active::after {
            width: 100%;
        }

/* PHONE */

.nav-cta {
    display: flex;
    gap: 10px;
}

.phone {
    background: #2f5bea;
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: .85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* BRAND TEXT */

.brand-area {
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 8px 0;
}

.brand-ayt {
    color: #275df5;
}

.brand-securite {
    color: #1f9d55;
}

.brand-consulting {
    color: #e12727;
}

.brand-motto {
    font-size: .85em;
    opacity: .8;
    font-weight: 400;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .65rem 1.4rem;
    border-radius: 999px;
    font-size: .92rem;
    font-weight: 500;
    cursor: pointer;
}

.societe-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
}

.btn-primary {
    background: #e12727;
    color: #fff;
}

    .btn-primary:hover {
        background: #ba1e1e;
    }

.btn-outline {
    border: 1px solid #e12727;
    color: #e12727;
}

    .btn-outline:hover {
        background: #ffe6e6;
    }

/* =========================================================
   HERO
   ========================================================= */

.hero {
    background: linear-gradient(135deg,#e9f0ff 0%,#fdfbff 50%,#ffeef0 100%);
    padding: 3rem 0 2rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0,2.2fr) minmax(0,2fr);
    gap: 3rem;
    align-items: center;
}

.hero-kicker {
    text-transform: uppercase;
    font-size: .8rem;
    letter-spacing: .16em;
    color: #275df5;
    font-weight: 600;
    margin-bottom: .7rem;
}

.hero-title {
    font-size: clamp(1.4rem,2vw,1.9rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

    .hero-title span {
        color: #e12727;
    }

.hero-text {
    color: #444;
    max-width: 32rem;
    margin-bottom: 1.3rem;
}

.hero-text-tight {
    margin-top: -.5rem;
}

.hero-visual {
    position: relative;
}

/* =========================================================
   SOCIETE HERO CARD
   ========================================================= */

.societe-visual-card {
    background: #fff;
    border-radius: 1.5rem;
    padding: 1.25rem;
    box-shadow: 0 15px 35px rgba(0,0,0,.1);
    max-width: 360px;
    margin-left: auto;
}

.societe-visual-title {
    font-weight: 700;
    margin-bottom: .8rem;
}

.societe-visual-list {
    list-style: none;
    font-size: .92rem;
    color: #444;
}

    .societe-visual-list li {
        display: flex;
        gap: .5rem;
        margin-bottom: .5rem;
    }

    .societe-visual-list i {
        color: #1f9d55;
    }

.societe-visual-note {
    margin-top: .9rem;
    background: rgba(39,93,245,.08);
    border: 1px solid rgba(39,93,245,.15);
    border-radius: .9rem;
    padding: .75rem;
    font-weight: 600;
    display: flex;
    gap: .5rem;
    color: #275df5;
}

/* =========================================================
   TRUSTLINE
   ========================================================= */

.societe-trustline {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: .88rem;
    margin-top: 1rem;
    color: #555;
}

    .societe-trustline i {
        color: #1f9d55;
    }

/* =========================================================
   SECTION
   ========================================================= */

.section {
    padding: 2.2rem 0;
}

    .section.alt {
        background: #fff;
    }

.section-header {
    text-align: center;
    margin-bottom: 2.3rem;
}

.section-kicker {
    text-transform: uppercase;
    font-size: .78rem;
    letter-spacing: .16em;
    color: #275df5;
    font-weight: 600;
    margin-bottom: .4rem;
}

.section-title {
    font-size: 1.6rem;
    font-weight: 700;
}

    .section-title span {
        color: #e12727;
    }

/* =========================================================
   STATS
   ========================================================= */

.societe-stats {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: .9rem;
}

.stat {
    background: #fff;
    border-radius: 1.1rem;
    padding: 1rem;
    box-shadow: 0 8px 20px rgba(0,0,0,.05);
}

.stat-num {
    font-size: 1.4rem;
    font-weight: 800;
}

    .stat-num i {
        color: #275df5;
        font-size: 1.2rem;
    }

.stat-num {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: .3rem;
}

.stat:nth-child(1) i {
    color: #275df5;
}
/* blue */
.stat:nth-child(2) i {
    color: #e12727;
}
/* red */
.stat:nth-child(3) i {
    color: #1f9d55;
}
/* green */
.stat:nth-child(4) i {
    color: #f59e0b;
}
/* amber */

.stat-label {
    font-size: .9rem;
    color: #555;
}

/* =========================================================
   SOCIETE CARDS
   ========================================================= */

.societe-cards {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 1rem;
}

.societe-card {
    background: #fff;
    border-radius: 1.3rem;
    padding: 1.1rem;
    box-shadow: 0 10px 25px rgba(0,0,0,.05);
}

.societe-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(225,39,39,.08);
    color: #e12727;
}

.societe-card h3 {
    margin: .35rem 0;
}

.societe-card p {
    color: #555;
    font-size: .92rem;
}

/* =========================================================
   SPLIT SECTION
   ========================================================= */

.split {
    display: grid;
    grid-template-columns: 1.5fr 1.2fr;
    gap: 2.5rem;
}

    .split h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

/* STEPS */

.societe-steps {
    margin-top: 1rem;
    padding-left: 1.1rem;
}

    .societe-steps li {
        margin-bottom: .75rem;
    }

    .societe-steps span {
        color: #555;
        font-size: .93rem;
    }

/* =========================================================
   PILL GRID
   ========================================================= */

.societe-pill-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: .85rem;
}

.societe-pill {
    background: #fff;
    border-radius: 999px;
    padding: .7rem 1rem;
    display: flex;
    gap: .5rem;
    align-items: center;
    box-shadow: 0 8px 18px rgba(0,0,0,.05);
    font-weight: 600;
    font-size: .92rem;
}

/* =========================================================
   CTA
   ========================================================= */

.societe-cta {
    background: linear-gradient(135deg,#e9f0ff,#ffeef0);
}

.societe-cta-box {
    background: rgba(255,255,255,.75);
    border-radius: 1.6rem;
    padding: 1.25rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
}

.societe-cta-actions {
    display: flex;
    flex-direction: column;
    gap: .65rem;
    align-items: flex-end;
}

/* =========================================================
   FOOTER
   ========================================================= */

footer {
    background: #111827;
    color: #e5e7eb;
    padding: 2.3rem 0 1.5rem;
    margin-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.3fr;
    gap: 2.5rem;
    font-size: .9rem;
}

.footer-title {
    font-weight: 600;
    margin-bottom: .8rem;
}

.footer-links li {
    margin-bottom: .4rem;
}

.footer-bottom {
    border-top: 1px solid #1f2937;
    margin-top: 1.5rem;
    padding-top: 1rem;
    text-align: center;
    font-size: .8rem;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width:900px) {

    html {
        scroll-padding-top: 24px;
    }

    header {
        position: static;
        backdrop-filter: none;
    }

    .hero-grid,
    .split,
    .societe-stats,
    .societe-cards,
    .societe-pill-grid,
    .footer-grid,
    .domains,
    .tag-grid,
    .contact-quick,
    .contact-info-grid,
    .certifications-grid,
    .societe-cta-box {
        grid-template-columns: 1fr;
    }

    .header-grid {
        row-gap: 12px;
        padding: 14px 20px 18px;
    }

    .menu-area {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .menu-toggle {
        display: inline-flex;
        align-self: flex-end;
    }

    .menu-panel {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        width: 100%;
        padding: 16px;
        border: 1px solid #e5e7eb;
        border-radius: 20px;
        background: #fff;
        box-shadow: 0 18px 35px rgba(15,23,42,.08);
    }

    body.menu-open .menu-panel {
        display: flex;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 6px;
        justify-content: flex-start;
        margin-top: 0;
    }

    .nav-links a {
        display: block;
        padding: .9rem 1rem;
        border-radius: 14px;
        background: #f8fafc;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: #eef2ff;
        color: #1d4ed8;
    }

    .nav-cta {
        flex-direction: column;
        width: 100%;
    }

    .phone {
        width: 100%;
        justify-content: center;
        border-radius: 14px;
        padding: .8rem 1rem;
        text-align: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .societe-hero-cta {
        display: grid;
        grid-template-columns: 1fr;
    }

    .contact-form-card,
    .societe-visual-card {
        max-width: none;
        margin-left: 0;
    }

    .seo-copy-box {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 2rem 0 1.5rem;
    }
}

/* =========================================================
   INDEX PAGE COMPONENTS
   (moved from style.css so index can use societe.css)
   ========================================================= */


/* DOMAIN GRID */

.domains {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 1.5rem;
}

/* DOMAIN CARD */

.domain-card {
    background: #fff;
    padding: 1.8rem 1.6rem;
    border-radius: 1.3rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.domain-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

    /* color variants */

    .domain-icon.incendie {
        background: #ffe4e4;
        color: #e12727;
    }

    .domain-icon.surete {
        background: #e3f1ff;
        color: #275df5;
    }

    .domain-icon.sst {
        background: #e5f6ea;
        color: #1f9d55;
    }

.domain-title {
    font-weight: 700;
    margin-bottom: .5rem;
}

.domain-text {
    font-size: .9rem;
    color: #555;
    margin-bottom: 1.2rem;
}

.domain-link {
    font-size: .9rem;
    font-weight: 600;
    color: #275df5;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

/* CONTACT PREVIEW CARD */

.tag-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1rem 1.1rem;
    font-size: .9rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

    .tag-card strong {
        display: block;
        margin-bottom: .4rem;
    }

/* =========================================================
   FORMATIONS PREVIEW (INDEX)
   ========================================================= */

.tag-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 1.5rem;
}

.tag-card {
    background: #fff;
    border-radius: 1.3rem;
    padding: 1.5rem 1.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    font-size: 0.95rem;
    color: #444;
}

    .tag-card strong {
        display: block;
        font-size: 1.05rem;
        margin-bottom: .5rem;
        color: #111;
    }

.tag-card a {
        margin-top: .6rem;
        display: inline-flex;
        align-items: center;
        gap: .35rem;
    }

.seo-copy {
    background: #fff;
    border-top: 1px solid #eef2f7;
    border-bottom: 1px solid #eef2f7;
}

.seo-copy-box {
    display: grid;
    grid-template-columns: minmax(0,1.6fr) minmax(280px,.9fr);
    gap: 1.5rem;
    align-items: start;
}

.seo-copy-text p + p {
    margin-top: .9rem;
}

.seo-copy-list {
    list-style: none;
    display: grid;
    gap: .8rem;
}

.seo-copy-list li {
    background: #f8fafc;
    border: 1px solid #e5edf7;
    border-radius: 16px;
    padding: .95rem 1rem;
    color: #334155;
}

.seo-copy-list strong {
    display: block;
    margin-bottom: .2rem;
    color: #0f172a;
}

/* BRAND LINE */
/* =========================================================
   BRAND LINE (HEADER COMPANY SIGNATURE)
   ========================================================= */

.brand-area {
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    white-space: nowrap;
}

/* Company name block */

.brand-ayt {
    font-weight: 700;
    letter-spacing: .03em;
    display: flex;
    gap: 6px;
    align-items: center;
}

/* AY-T (logo blue) */

.brand-ayt-main {
    color: #2f5bea;
    font-weight: 800;
}

/* Consulting */

.brand-ayt-consulting {
    color: #222;
    font-weight: 600;
}

/* Sécurité */

.brand-ayt-security {
    color: #e12727;
    font-weight: 700;
}

/* Motto */

.brand-motto {
    margin-left: 12px;
    font-size: .95rem;
    font-style: italic;
    color: #1f9d55;
    font-weight: 600;
    opacity: .9;
}

/*Prestations*/

/* DOMAIN ICONS */

.domain-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}


/* CTA */

.prestation-cta {
    background: linear-gradient(135deg,#e9f0ff,#ffeef0);
}

    .prestation-cta .btn {
        font-size: 1rem;
    }


/* =========================================================
   CONTACT PAGE IMPROVEMENTS
   ========================================================= */

/* QUICK CONTACT CARDS */

.contact-quick {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 12px;
    margin-top: 20px;
}

.contact-quick-card {
    display: flex;
    gap: 12px;
    align-items: center;
    background: #fff;
    padding: 14px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,.05);
    transition: .25s;
}

    .contact-quick-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 15px 35px rgba(0,0,0,.08);
    }

/* ICON BASE */

.cq-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* EMAIL */

.contact-quick-card:nth-child(1) .cq-icon {
    background: #e8f0ff;
    color: #2f5bea;
}

/* TOGO PHONE */

.contact-quick-card:nth-child(2) .cq-icon {
    background: #e7f7ef;
    color: #1f9d55;
}

/* FRANCE PHONE */

.contact-quick-card:nth-child(3) .cq-icon {
    background: #ffeaea;
    color: #e12727;
}

.cq-title {
    font-weight: 600;
    font-size: .9rem;
}

.cq-text {
    font-size: .85rem;
    color: #555;
}


/* =========================================================
   CONTACT FORM
   ========================================================= */

.contact-form-card {
    background: #fff;
    padding: 22px;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
    max-width: 420px;
    margin-left: auto;
}

.contact-form-title {
    font-weight: 700;
    margin-bottom: 12px;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    font-size: .9rem;
    margin-bottom: 12px;
}

.contact-form input,
.contact-form textarea {
    border-radius: 8px;
    border: 1px solid #dcdcdc;
    padding: 10px;
    font-family: "Poppins",sans-serif;
    transition: .2s;
}

    .contact-form input:focus,
    .contact-form textarea:focus {
        border-color: #2f5bea;
        outline: none;
        box-shadow: 0 0 0 2px rgba(47,91,234,.08);
    }

.contact-submit {
    width: 100%;
    margin-top: 10px;
}

.contact-form-note {
    font-size: .8rem;
    margin-top: 10px;
    color: #666;
    display: flex;
    gap: 6px;
    align-items: center;
}


/* =========================================================
   CONTACT INFO CARDS
   ========================================================= */

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}

.contact-info-card {
    background: #fff;
    padding: 18px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,.05);
    transition: .25s;
}

    .contact-info-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 15px 35px rgba(0,0,0,.08);
    }

.ci-head {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 8px;
}

.ci-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* ADDRESS */

.contact-info-card:nth-child(1) .ci-icon {
    background: #ffeaea;
    color: #e12727;
}

/* TIME */

.contact-info-card:nth-child(2) .ci-icon {
    background: #e8f0ff;
    color: #2f5bea;
}

/* SECURITY */

.contact-info-card:nth-child(3) .ci-icon {
    background: #e7f7ef;
    color: #1f9d55;
}

.ci-title {
    font-weight: 600;
}

.ci-body {
    font-size: .9rem;
    color: #555;
}


/* =========================================================
   CONTACT AFTER MESSAGE
   ========================================================= */

.contact-after-message {
    margin-top: 20px;
    background: #fff;
    padding: 18px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,.05);
}

.contact-steps {
    margin-top: 12px;
    padding-left: 18px;
}

    .contact-steps li {
        margin-bottom: 10px;
    }

    .contact-steps span {
        display: block;
        font-size: .9rem;
        color: #555;
    }


/* =========================================================
   FAQ
   ========================================================= */

.contact-faq {
    max-width: 800px;
    margin: auto;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,.05);
}

    .faq-item summary {
        cursor: pointer;
        font-weight: 600;
    }

    .faq-item p {
        margin-top: 8px;
        font-size: .9rem;
        color: #555;
    }

/* =========================================================
   INLINE BRAND NAME (USE ANYWHERE IN TEXT)
   ========================================================= */

.brand-inline {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    font-weight: 700;
    letter-spacing: .02em;
}

/* AY-T */

.brand-inline-ayt {
    color: #2f5bea;
    font-weight: 800;
}

/* Consulting */

.brand-inline-consulting {
    color: #222;
    font-weight: 600;
}

/* Sécurité */

.brand-inline-security {
    color: #e12727;
    font-weight: 700;
}

/* =========================================================
   INLINE BRAND NAME - DARK BACKGROUND (FOOTER)
   ========================================================= */

.brand-inline-dark {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    font-weight: 700;
    letter-spacing: .02em;
}

    /* AY-T */

    .brand-inline-dark .brand-inline-ayt {
        color: #4f7cff;
        font-weight: 800;
    }

    /* Consulting */

    .brand-inline-dark .brand-inline-consulting {
        color: #ffffff;
        font-weight: 600;
    }

    /* Sécurité */

    .brand-inline-dark .brand-inline-security {
        color: #ff4b4b;
        font-weight: 700;
    }

/* =========================================================
   CERTIFICATIONS SECTION
   ========================================================= */

/* =========================================================
   CERTIFICATIONS SECTION
   ========================================================= */

.certifications {
    background: #fff;
    border-top: 1px solid #eee;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(260px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.cert-card {
    display: flex;
    gap: .85rem;
    background: #f7f7f9;
    padding: 1.1rem;
    border-radius: 1.2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,.05);
    transition: .25s;
    min-height: 100%;
}

    .cert-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 35px rgba(0,0,0,.08);
    }

.cert-logos {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    align-items: center;
    justify-content: flex-start;
    min-width: 92px;
}

    .cert-logos img {
        width: 72px;
        height: 72px;
        object-fit: contain;
        filter: drop-shadow(0 4px 8px rgba(0,0,0,.08));
    }

.cert-content h3 {
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: .45rem;
}

.cert-content p {
    font-size: .89rem;
    color: #555;
    margin-bottom: .65rem;
    line-height: 1.5;
}

.cert-list {
    padding-left: 1rem;
    font-size: .88rem;
    color: #444;
}

    .cert-list li {
        margin-bottom: .3rem;
    }

        .cert-list li::marker {
            color: #1f9d55;
        }

/* RESPONSIVE */

@media (max-width: 980px) {
    .certifications-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .certifications-grid {
        grid-template-columns: 1fr;
    }

    .cert-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .cert-logos {
        min-width: auto;
    }
}

.logo-area a {
    display: inline-block;
}

.logo-area img {
    cursor: pointer;
}

/* =====================================
   MOBILE HEADER FIX
   ===================================== */

@media (max-width:900px) {

    .header-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        text-align: center;
    }

    .logo-area {
        justify-content: center;
    }

        .logo-area img {
            height: 110px;
        }

    .menu-area {
        align-items: stretch;
    }

    .nav-links {
        justify-content: flex-start;
    }

    .nav-cta {
        justify-content: flex-start;
    }

    .brand-area {
        flex-direction: column;
        align-items: center;
        text-align: center;
        white-space: normal;
        gap: 6px;
    }

    .brand-ayt {
        justify-content: center;
    }

    .brand-motto {
        margin-left: 0;
    }
}
.form-success {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.form-success-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
}

    .form-success-box button {
        margin-top: 15px;
        padding: 10px 20px;
        background: #e21d1d;
        color: white;
        border: none;
        border-radius: 6px;
        cursor: pointer;
    }
