/* =========================================================
   GMD ABOUT US
   Desktop / Tablet / Mobile
   ========================================================= */

.gmd-about {
    --gmd-blue: #1d4ed8;
    --gmd-navy: #172554;
    --gmd-text: #475569;
    --gmd-border: #e2e8f0;

    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 40px;
    font-family: inherit;
    color: var(--gmd-text);
    line-height: 1.7;
}

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

.gmd-about h1,
.gmd-about h2,
.gmd-about h3 {
    font-family: inherit;
    color: var(--gmd-navy);
    line-height: 1.25;
    margin: 0 0 15px;
    font-weight: 750;
}

.gmd-about h2 {
    font-size: clamp(24px, 3vw, 34px);
}

.gmd-about h3 {
    font-size: 21px;
}

.gmd-about p {
    font-size: 16px;
    line-height: 1.75;
    margin: 0 0 16px;
}

/* =========================================================
   HERO
   ========================================================= */

.gmd-about-hero {
    background: linear-gradient(
        125deg,
        #172554 0%,
        #1d4ed8 55%,
        #0878df 100%
    );
    padding: 65px 35px;
    border-radius: 24px;
    text-align: center;
    color: #fff;
}

.gmd-about-eyebrow {
    display: inline-block;
    padding: 7px 17px;
    margin-bottom: 22px;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(255,255,255,.12);
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fff;
}

.gmd-about .gmd-about-hero h1 {
    font-size: clamp(30px, 4.5vw, 52px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 22px;
}

.gmd-about-hero h1 span {
    display: block;
    color: #dbeafe;
}

.gmd-about-hero p {
    max-width: 700px;
    margin: 0 auto 28px;
    font-size: 18px;
    color: #eff6ff;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.gmd-about .gmd-about-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 9px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    transition: background .2s ease,
                transform .2s ease;
}

.gmd-about .gmd-about-btn-white {
    background: #fff;
    color: #1d4ed8;
}

.gmd-about .gmd-about-btn-white:hover {
    background: #dbeafe;
    color: #172554;
    transform: translateY(-2px);
}

.gmd-about .gmd-about-btn-blue {
    background: #1d4ed8;
    color: #fff;
}

.gmd-about .gmd-about-btn-blue:hover {
    background: #172554;
    color: #fff;
    transform: translateY(-2px);
}

/* =========================================================
   SECTION HEADINGS
   ========================================================= */

.gmd-about-label {
    display: block;
    color: #2563eb;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.gmd-about-intro {
    max-width: 850px;
    margin: 0 auto;
    padding: 55px 15px 25px;
    text-align: center;
}

.gmd-about-section {
    margin-top: 45px;
}

.gmd-about-heading {
    text-align: center;
    margin-bottom: 28px;
}

.gmd-about-heading p {
    margin-bottom: 0;
}

/* =========================================================
   RESPONSIVE GRIDS
   ========================================================= */

.gmd-about-grid {
    display: grid;
    gap: 20px;
}

.gmd-about-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gmd-about-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* =========================================================
   DEAL AND SUPPORT CARDS
   ========================================================= */

.gmd-about .gmd-about-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
    border: 1px solid var(--gmd-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(15,23,42,.04);
    text-decoration: none;
    color: var(--gmd-text);
    transition: transform .2s ease,
                box-shadow .2s ease,
                border-color .2s ease;
}

.gmd-about .gmd-about-card:hover {
    transform: translateY(-4px);
    border-color: #93c5fd;
    box-shadow: 0 8px 24px rgba(29,78,216,.09);
    color: var(--gmd-text);
}

.gmd-about-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 15px;
    margin-bottom: 22px;
    flex-shrink: 0;
}

.gmd-about .gmd-about-icon svg {
    display: block;
    width: 30px;
    height: 30px;
    max-width: 30px;
    max-height: 30px;
}

.gmd-about-card p {
    font-size: 15px;
    margin-bottom: 20px;
}

.gmd-about-link {
    display: block;
    margin-top: auto;
    color: #1d4ed8;
    font-size: 14px;
    font-weight: 700;
}

/* =========================================================
   OUR VALUES
   ========================================================= */

.gmd-about-values {
    background: #f8fafc;
    border: 1px solid var(--gmd-border);
    border-radius: 22px;
    padding: 38px;
}

.gmd-about-value {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 23px;
    background: #fff;
    border: 1px solid var(--gmd-border);
    border-radius: 15px;
}

.gmd-about-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    background: #dbeafe;
    border-radius: 12px;
    color: #1d4ed8;
    font-weight: 800;
    font-size: 17px;
}

.gmd-about-value h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.gmd-about-value p {
    font-size: 15px;
    margin: 0;
}

/* =========================================================
   HOW IT WORKS
   ========================================================= */

.gmd-about-step {
    text-align: center;
    padding: 25px 20px;
}

.gmd-about-step > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    margin: 0 auto 18px;
    background: #1d4ed8;
    color: #fff;
    border-radius: 50%;
    font-size: 23px;
    font-weight: 800;
}

.gmd-about-step p {
    margin: 0;
    font-size: 15px;
}

/* =========================================================
   BUSINESS PARTNER SECTION
   ========================================================= */

.gmd-about-business {
    margin-top: 45px;
    padding: 45px 35px;
    border-radius: 22px;
    background: linear-gradient(
        135deg,
        #eff6ff,
        #e0e7ff
    );
    border: 1px solid #dbeafe;
    text-align: center;
}

.gmd-about-business > p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.gmd-about-business-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    margin: 28px 0;
}

.gmd-about-business-grid > div {
    background: rgba(255,255,255,.8);
    padding: 22px 15px;
    border-radius: 13px;
    border: 1px solid #dbeafe;
}

.gmd-about-business-grid strong {
    display: block;
    font-size: 17px;
    color: #172554;
    margin-bottom: 6px;
}

.gmd-about-business-grid span {
    display: block;
    font-size: 14px;
    line-height: 1.6;
}

/* =========================================================
   CLOSING MESSAGE
   ========================================================= */

.gmd-about-closing {
    text-align: center;
    padding: 50px 15px 20px;
}

.gmd-about-closing h2 {
    font-size: clamp(23px, 3vw, 32px);
}

.gmd-about-closing p {
    margin-bottom: 25px;
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.gmd-about a:focus-visible {
    outline: 3px solid #2563eb;
    outline-offset: 4px;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

    .gmd-about {
        padding: 15px 15px 30px;
    }

    .gmd-about-hero {
        padding: 50px 25px;
    }

    .gmd-about .gmd-about-card {
        padding: 22px;
    }

    .gmd-about-values {
        padding: 25px;
    }

    .gmd-about-value {
        padding: 18px;
        gap: 12px;
    }

    .gmd-about-grid {
        gap: 15px;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .gmd-about {
        padding: 10px 12px 25px;
    }

    .gmd-about-hero {
        padding: 38px 20px;
        border-radius: 16px;
    }

    .gmd-about .gmd-about-hero h1 {
        font-size: 30px;
        line-height: 1.2;
    }

    .gmd-about-hero h1 span {
        margin-top: 8px;
        font-size: 25px;
    }

    .gmd-about-eyebrow {
        font-size: 10px;
        letter-spacing: 1px;
        padding: 6px 12px;
    }

    .gmd-about-hero p {
        font-size: 15px;
    }

    .gmd-about-intro {
        padding: 35px 5px 10px;
    }

    .gmd-about p {
        font-size: 15px;
    }

    .gmd-about h2 {
        font-size: 25px;
    }

    .gmd-about h3 {
        font-size: 19px;
    }

    .gmd-about-section {
        margin-top: 30px;
    }

    .gmd-about-heading {
        margin-bottom: 20px;
    }

    .gmd-about-grid-three,
    .gmd-about-grid-two,
    .gmd-about-business-grid {
        grid-template-columns: 1fr;
    }

    .gmd-about .gmd-about-card {
        padding: 23px;
        border-radius: 15px;
    }

    .gmd-about-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }

    .gmd-about .gmd-about-icon svg {
        width: 25px;
        height: 25px;
    }

    .gmd-about-values {
        padding: 22px 14px;
        border-radius: 16px;
    }

    .gmd-about-value {
        padding: 18px 14px;
    }

    .gmd-about-value h3 {
        font-size: 17px;
    }

    .gmd-about-step {
        padding: 15px 10px;
    }

    .gmd-about-business {
        margin-top: 30px;
        padding: 30px 18px;
        border-radius: 16px;
    }

    .gmd-about-business-grid {
        gap: 10px;
        margin: 20px 0;
    }

    .gmd-about-closing {
        padding: 35px 5px 15px;
    }

    .gmd-about .gmd-about-btn {
        padding: 13px 20px;
        font-size: 14px;
    }

}

/* Respect reduced motion preferences */

@media (prefers-reduced-motion: reduce) {

    .gmd-about *,
    .gmd-about *::before,
    .gmd-about *::after {
        transition: none !important;
    }

    .gmd-about .gmd-about-card:hover,
    .gmd-about .gmd-about-btn:hover {
        transform: none;
    }
}
