﻿/* -------------------------------------------------------
   GWM Home Page - "Azure-like" layout (scoped)
   Wrapper: .home_azure
------------------------------------------------------- */

.home_azure {
    --ha-bg: #ffffff;
    --ha-bg-alt: #f6f8fb;
    --ha-text: #0b1220;
    --ha-muted: rgba(11, 18, 32, 0.68);
    --ha-border: rgba(11, 18, 32, 0.12);
    --ha-shadow: 0 10px 30px rgba(11, 18, 32, 0.10);
    --ha-shadow-soft: 0 6px 18px rgba(11, 18, 32, 0.08);
    --ha-radius: 16px;
    --ha-radius-sm: 12px;
}

    .home_azure,
    .home_azure * {
        box-sizing: border-box;
    }

.home_azure {
    background: var(--ha-bg);
    color: var(--ha-text);
}

    /* HERO */
    .home_azure .ha-hero {
        position: relative;
        background: radial-gradient(1200px 500px at 20% 0%, rgba(13, 110, 253, 0.14), rgba(13, 110, 253, 0) 60%), radial-gradient(1000px 500px at 80% 20%, rgba(255, 193, 7, 0.18), rgba(255, 193, 7, 0) 55%), linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
        border-bottom: 1px solid var(--ha-border);
    }

    .home_azure .ha-eyebrow {
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--ha-muted);
        font-size: 0.9rem;
    }

    .home_azure .ha-hero-image {
        max-height: 420px;
        filter: drop-shadow(0 18px 40px rgba(11, 18, 32, 0.18));
    }

    .home_azure .ha-hero-note {
        display: flex;
        gap: 10px;
        align-items: center;
        color: var(--ha-muted);
        font-size: 0.95rem;
    }

    .home_azure .ha-dot {
        width: 10px;
        height: 10px;
        border-radius: 999px;
        background: rgba(13, 110, 253, 0.85);
    }

    /* SECTIONS */
    .home_azure .ha-section {
        background: var(--ha-bg);
    }

    .home_azure .ha-section-alt {
        background: var(--ha-bg-alt);
        border-top: 1px solid var(--ha-border);
        border-bottom: 1px solid var(--ha-border);
    }

    /* CARDS */
    .home_azure .ha-card {
        border: 1px solid var(--ha-border);
        border-radius: var(--ha-radius);
        box-shadow: var(--ha-shadow-soft);
        transition: transform 160ms ease, box-shadow 160ms ease;
        background: #fff;
    }

        .home_azure .ha-card:hover {
            transform: translateY(-2px);
            box-shadow: var(--ha-shadow);
        }

    .home_azure .ha-icon {
        width: auto;
        height: 44px;
        padding:5px 10px;
        border-radius: 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        background: rgba(13, 110, 253, 0.12);
        border: 1px solid rgba(13, 110, 253, 0.20);
    }

    /* Lists */
    .home_azure .ha-list {
        margin: 12px 0 0;
        padding-left: 18px;
        color: var(--ha-text);
    }

        .home_azure .ha-list li {
            margin: 6px 0;
            color: var(--ha-muted);
        }

    /* Buttons */
    .home_azure .ha-btn {
        border-radius: 12px;
        padding-left: 18px;
        padding-right: 18px;
    }

    /* CTA row */
    .home_azure .ha-cta-row {
        display: flex;
        justify-content: center;
    }

    /* Images */
    .home_azure .ha-image {
        border-radius: var(--ha-radius);
        box-shadow: var(--ha-shadow-soft);
    }

    /* Side card */
    .home_azure .ha-sidecard {
        border: 1px solid var(--ha-border);
        border-radius: var(--ha-radius);
        background: #fff;
        box-shadow: var(--ha-shadow-soft);
        padding: 18px;
    }

    .home_azure .ha-sidecard-title {
        font-weight: 700;
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .home_azure .ha-sidecard-text {
        color: var(--ha-muted);
    }

    .home_azure .ha-divider {
        height: 1px;
        background: var(--ha-border);
        margin: 14px 0;
    }

    /* Mini feature blocks */
    .home_azure .ha-mini {
        border: 1px solid var(--ha-border);
        border-radius: var(--ha-radius-sm);
        background: #fff;
        padding: 14px;
        box-shadow: var(--ha-shadow-soft);
    }

    .home_azure .ha-mini-title {
        font-weight: 700;
        margin-bottom: 8px;
    }

    /* Callouts */
    .home_azure .ha-callout {
        border-left: 4px solid rgba(13, 110, 253, 0.8);
        background: rgba(13, 110, 253, 0.06);
        border-radius: var(--ha-radius-sm);
        padding: 17px 7px;
    }

    .home_azure .ha-callout-title {
        font-weight: 800;
        margin-bottom: 6px;
    }

    .home_azure .ha-callout-text {
        color: var(--ha-muted);
    }

    /* Forms */
    .home_azure .form-label {
        font-weight: 600;
    }

    .home_azure .ha-asterix {
        color: #dc3545;
        font-weight: 700;
    }

    /* -----------------------------------------
   Hover Reveal Cards (Capabilities)
------------------------------------------ */

    .home_azure .ha-card-hover {
        position: relative;
        overflow: hidden;
        min-height: 240px;
        transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
    }

        .home_azure .ha-card-hover .card-body {
            position: relative;
            padding-bottom: 64px; /* room for reveal panel */
        }

    .home_azure .ha-card-front {
        transition: transform 220ms ease, opacity 220ms ease;
    }

    .home_azure .ha-hover-hint {
        margin-top: 12px;
        font-size: 0.85rem;
        color: rgba(13,110,253,0.9);
        font-weight: 600;
        letter-spacing: 0.02em;
    }

    .home_azure .ha-card-details {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 18px;
        /* Solid equivalent of rgba(13,110,253,0.12) on white */
        background: #E2EEFF;
        border-top: 1px solid rgba(13, 110, 253, 0.20);
        color: #0d6efd;
        transform: translateY(100%);
        opacity: 0;
        transition: transform 260ms ease, opacity 220ms ease;
    }

    /*.home_azure .ha-card-hover:hover .ha-card-details {
        transform: translateY(0%);
        opacity: 1;*/
        /* Keep SAME look on hover (no transparency) */
        /*background: #E2EEFF;
    }*/

    .home_azure .ha-card-hover:hover .ha-card-details {
        transform: translateY(0%);
        opacity: 1;
        width: 100%;
        height: 300px;
        background: #E2EEFF; /* Solid, no transparency */
    }




/* Touch / mobile: show details without hover */
@media (max-width: 991px) {
    .home_azure .ha-card-hover {
        min-height: auto;
    }

        .home_azure .ha-card-hover .card-body {
            padding-bottom: 1rem;
        }

    .home_azure .ha-card-details {
        position: relative;
        transform: none;
        opacity: 1;
        padding: 10px 0 0 0;
        background: transparent;
    }

    .home_azure .ha-hover-hint {
        display: none;
    }
}


/* -----------------------------------------
   Contact form layout + reCAPTCHA placement
------------------------------------------ */

.home_azure .ha-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 6px;
    padding-top: 14px;
    border-top: 1px solid var(--ha-border);
}

.home_azure .ha-form-note {
    max-width: 520px;
}

.home_azure .ha-form-submit {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

/* Keep the reCAPTCHA badge from looking like a random overlay */
.home_azure .grecaptcha-badge {
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(11, 18, 32, 0.18) !important;
}


/* Permanent hide reCAPTCHA checkbox */
.grecaptcha-badge {
    visibility: hidden;
}


/* Small screens: stack note + button nicely */
@media (max-width: 991px) {
    .home_azure .ha-form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .home_azure .ha-form-submit {
        justify-content: flex-start;
    }
}
