/* =====================================================================
   Content pages (About Us / Contact Us) — Ghana Educational Directory
   All selectors are .gpage- namespaced to avoid Bootstrap 3 conflicts.
   Theme: #004D2E primary, #006B3F secondary, #C9920A gold, #E1F5EE surface
   ===================================================================== */

.gpage {
    font-family: 'DM Sans', 'Open Sans', sans-serif;
    color: #1A1A1A;
}

.gpage * {
    box-sizing: border-box;
}

/* Full-bleed helper (breaks out of the layout's container-fluid padding) */
.gpage__bleed {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* ── Hero ───────────────────────────────────────────────────────── */
.gpage-hero {
    background: linear-gradient(135deg, #004D2E, #006B3F);
    border-bottom: 3px solid #C9920A;
    padding: 48px 0;
    color: #fff;
}

.gpage-hero__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.gpage-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(201, 146, 10, 0.18);
    color: #F5E6B8;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.gpage-hero__badge i {
    font-size: 14px;
}

.gpage-hero h1.gpage-hero__title {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 14px;
    padding: 0;
    line-height: 1.2;
}

.gpage-hero__lead {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    max-width: 720px;
    margin: 0 auto;
}

/* ── Generic section ────────────────────────────────────────────── */
.gpage-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 20px;
}

.gpage-section--surface {
    background: #E1F5EE;
}

.gpage-section__head {
    text-align: center;
    margin-bottom: 32px;
}

.gpage-section h2.gpage-section__title {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: #004D2E;
    margin: 0 0 10px;
    padding: 0;
    line-height: 1.25;
}

.gpage-section__sub {
    font-size: 14px;
    line-height: 1.6;
    color: #4a4a4a;
    max-width: 720px;
    margin: 0 auto;
}

.gpage-prose p {
    font-size: 14px;
    line-height: 1.7;
    color: #333;
    margin: 0 0 16px;
}

/* ── Stats row ──────────────────────────────────────────────────── */
.gpage-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 8px;
}

.gpage-stat {
    flex: 1 1 180px;
    max-width: 240px;
    text-align: center;
    padding: 20px 16px;
    background: #fff;
    border: 1px solid #d9e9e2;
    border-radius: 12px;
}

.gpage-stat__num {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: #C9920A;
    line-height: 1;
}

.gpage-stat__label {
    font-size: 12px;
    color: #4a4a4a;
    margin-top: 6px;
}

/* ── Pillar cards (2×2) ─────────────────────────────────────────── */
.gpage-pillars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.gpage-pillar {
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 12px;
    padding: 22px;
}

.gpage-pillar__icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #E1F5EE;
    color: #006B3F;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 12px;
}

.gpage-pillar h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #004D2E;
    margin: 0 0 8px;
    padding: 0;
}

.gpage-pillar p {
    font-size: 13px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* ── Buttons ────────────────────────────────────────────────────── */
.gpage-btn {
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 11px 24px;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background 0.2s ease, transform 0.15s ease;
}

.gpage-btn--gold {
    background: #C9920A;
    color: #1A1A1A;
}

.gpage-btn--gold:hover,
.gpage-btn--gold:focus {
    background: #B07F08;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.gpage-btn--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}

.gpage-btn--ghost:hover,
.gpage-btn--ghost:focus {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    text-decoration: none;
}

.gpage-cta-row {
    text-align: center;
    margin-top: 28px;
}

/* ── Foundation cross-link block ────────────────────────────────── */
.gpage-foundation {
    background: #003D25;
    color: #fff;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
}

.gpage-foundation h2 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 10px;
}

.gpage-foundation p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
    max-width: 640px;
    margin: 0 auto 20px;
}

/* ── Contact layout ─────────────────────────────────────────────── */
.gpage-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 32px;
    align-items: start;
}

.gpage-contact-info__item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 22px;
}

.gpage-contact-info__icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: #E1F5EE;
    color: #006B3F;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.gpage-contact-info__label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #8a8a8a;
    margin-bottom: 2px;
}

.gpage-contact-info__value {
    font-size: 14px;
    color: #1A1A1A;
    line-height: 1.5;
}

.gpage-contact-info__value a {
    color: #006B3F;
    text-decoration: none;
}

.gpage-contact-info__value a:hover {
    text-decoration: underline;
}

.gpage-social {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.gpage-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #004D2E;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.gpage-social a:hover {
    background: #006B3F;
}

.gpage-map {
    margin-top: 24px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #d9e9e2;
    line-height: 0;
}

.gpage-map iframe {
    width: 100%;
    height: 260px;
    border: 0;
    display: block;
}

/* ── Contact form ───────────────────────────────────────────────── */
.gpage-form {
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 12px;
    padding: 26px;
}

.gpage-form__row {
    margin-bottom: 16px;
}

.gpage-form label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}

.gpage-form .gpage-input,
.gpage-form .gpage-textarea {
    width: 100%;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: #1A1A1A;
    padding: 10px 12px;
    border: 1px solid #ccd6d1;
    border-radius: 8px;
    background: #fbfdfc;
}

.gpage-form .gpage-input:focus,
.gpage-form .gpage-textarea:focus {
    outline: none;
    border-color: #006B3F;
    box-shadow: 0 0 0 3px rgba(0, 107, 63, 0.12);
}

.gpage-form .gpage-textarea {
    min-height: 130px;
    resize: vertical;
}

/* Honeypot — visually hidden, off-screen */
.gpage-form .gpage-hp {
    position: absolute;
    left: -5000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.gpage-form .field-validation-error,
.gpage-form .text-danger {
    display: block;
    color: #CE1126;
    font-size: 12px;
    margin-top: 4px;
}

/* ── Alerts ─────────────────────────────────────────────────────── */
.gpage-alert {
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 13px;
    margin-bottom: 20px;
}

.gpage-alert--success {
    background: #E1F5EE;
    border: 1px solid #006B3F;
    color: #004D2E;
}

.gpage-alert--error {
    background: #fdecee;
    border: 1px solid #CE1126;
    color: #8a0d1a;
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .gpage-hero {
        padding: 36px 0;
    }

    .gpage-hero h1.gpage-hero__title {
        font-size: 26px;
    }

    .gpage-section {
        padding: 36px 16px;
    }

    .gpage-pillars {
        grid-template-columns: 1fr;
    }

    .gpage-contact-grid {
        grid-template-columns: 1fr;
    }
}
