
/* =====================================================
   SDP PORTAL 2027
   CONTACT PAGE STYLES
   Works alongside global style.css
   ===================================================== */


/* =========================================
   1. CONTACT HERO
========================================= */

.contact-hero {
    padding: 20px 0 0;
}

.contact-hero-panel {
    min-height: 610px;

    position: relative;
    overflow: hidden;
    isolation: isolate;

    padding: 30px 38px;

    border-radius: 25px;

    background:
        linear-gradient(
            115deg,
            rgba(7, 34, 63, 0.97),
            rgba(18, 61, 112, 0.91),
            rgba(39, 100, 151, 0.70)
        );

    color: #ffffff;
}


/* Decorative circles */

.contact-hero-panel::before,
.contact-hero-panel::after {
    content: "";

    position: absolute;
    z-index: -1;

    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;
}

.contact-hero-panel::before {
    width: 680px;
    height: 680px;

    right: -130px;
    top: -180px;
}

.contact-hero-panel::after {
    width: 480px;
    height: 480px;

    right: -30px;
    top: -80px;
}


.contact-hero-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-edition {
    color: rgba(255, 255, 255, 0.6);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.16em;
}


.contact-hero-content {
    position: absolute;

    left: clamp(30px, 7vw, 95px);
    right: 30px;

    top: 49%;

    transform: translateY(-40%);
}

.contact-overline {
    margin-bottom: 22px;

    color: rgba(255, 255, 255, 0.65);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.contact-hero-content h1 {
    margin: 0;

    font: 800 clamp(5rem, 12vw, 10rem)/0.86 var(--font-heading);

    letter-spacing: -0.11em;
}

.contact-hero-content h1 span {
    color: rgba(255, 255, 255, 0.43);
}

.contact-intro {
    max-width: 390px;

    margin-top: 35px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 14px;
    line-height: 1.9;
}


.contact-hero-footer {
    position: absolute;

    left: 38px;
    right: 38px;
    bottom: 25px;

    display: flex;
    justify-content: space-between;

    color: rgba(255, 255, 255, 0.55);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
}



/* =========================================
   2. CONTACT MAIN SECTION
========================================= */

.contact-main-section {
    padding-top: 110px;
    padding-bottom: 110px;
}


.contact-main-heading {
    max-width: 580px;

    margin-bottom: 45px;
}

.contact-main-heading p {
    max-width: 400px;

    margin-top: 20px;

    color: var(--sdp-muted);

    font-size: 13px;
    line-height: 1.9;
}



/* =========================================
   3. EMAIL CARD
========================================= */

.contact-email-card {
    position: relative;
    overflow: hidden;

    padding: 30px 35px;

    border: 1px solid var(--sdp-border);
    border-radius: 22px;

    background: #ffffff;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.contact-email-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 20px 50px rgba(12, 39, 68, 0.08);
}


.contact-email-top {
    display: flex;
    justify-content: space-between;

    padding-bottom: 20px;

    border-bottom: 1px solid var(--sdp-border);

    color: var(--sdp-muted);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.contact-email-number {
    color: var(--sdp-blue);
}


.contact-email-middle {
    padding: 60px 0 65px;
}

.contact-email-icon {
    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    margin-bottom: 25px;

    border-radius: 16px;

    background: var(--sdp-ice);
    color: var(--sdp-blue);

    font: 700 28px var(--font-heading);
}

.contact-email-middle p {
    margin-bottom: 12px;

    color: var(--sdp-muted);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.17em;
}

.contact-email-address {
    display: inline-block;

    color: var(--sdp-ink);

    font: 700 clamp(1.4rem, 4.2vw, 3.5rem)/1.2 var(--font-heading);

    letter-spacing: -0.065em;

    overflow-wrap: anywhere;

    transition: color 0.25s ease;
}

.contact-email-address:hover {
    color: var(--sdp-blue);
}


.contact-email-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding-top: 25px;

    border-top: 1px solid var(--sdp-border);
}

.contact-email-bottom > span {
    color: var(--sdp-muted);

    font-size: 11px;
    line-height: 1.7;
}


.contact-email-button {
    display: inline-flex;
    align-items: center;
    gap: 20px;

    padding: 14px 21px;

    border-radius: 999px;

    background: var(--sdp-blue);
    color: #ffffff;

    font-size: 11px;
    font-weight: 700;

    white-space: nowrap;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.contact-email-button:hover {
    background: var(--sdp-blue-deep);
    color: #ffffff;

    transform: translateY(-3px);
}

.contact-email-button span {
    font-size: 17px;
}



/* =========================================
   4. CLOSING CTA
========================================= */

.contact-closing {
    padding-bottom: 100px;
}

.contact-closing-inner {
    min-height: 430px;

    position: relative;
    overflow: hidden;
    isolation: isolate;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    padding: clamp(35px, 6vw, 75px);

    border-radius: 25px;

    background: var(--sdp-blue-deep);
    color: #ffffff;
}

.contact-closing-inner::before,
.contact-closing-inner::after {
    content: "";

    position: absolute;
    z-index: -1;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
}

.contact-closing-inner::before {
    width: 550px;
    height: 550px;

    right: -100px;
    top: -250px;
}

.contact-closing-inner::after {
    width: 350px;
    height: 350px;

    right: 0;
    top: -150px;
}


.contact-closing-inner h2 {
    margin: 22px 0;

    font: 800 clamp(3rem, 7vw, 6rem)/0.95 var(--font-heading);

    letter-spacing: -0.09em;
}

.contact-closing-inner h2 span {
    color: var(--sdp-blue-soft);
}

.contact-closing-inner p {
    max-width: 420px;

    margin-bottom: 28px;

    color: rgba(255, 255, 255, 0.68);

    font-size: 13px;
    line-height: 1.9;
}


.btn-light-custom {
    display: inline-flex;
    align-items: center;
    gap: 18px;

    padding: 14px 22px;

    border: 1px solid #ffffff;
    border-radius: 999px;

    background: #ffffff;
    color: var(--sdp-blue);

    font-size: 11px;
    font-weight: 700;

    transition: all 0.25s ease;
}

.btn-light-custom:hover {
    background: transparent;
    color: #ffffff;

    transform: translateY(-3px);
}

.btn-light-custom span {
    font-size: 17px;
}



/* =========================================
   5. MOBILE RESPONSIVENESS
========================================= */

@media (max-width: 767.98px) {

    .contact-hero {
        padding-top: 10px;
    }

    .contact-hero-panel {
        min-height: 600px;

        padding: 22px 20px;

        border-radius: 19px;
    }

    .contact-hero-top {
        gap: 10px;
    }

    .contact-edition {
        font-size: 7px;
    }

    .contact-hero-content {
        left: 23px;
        right: 20px;

        top: 46%;

        transform: translateY(-35%);
    }

    .contact-hero-content h1 {
        font-size: clamp(3.8rem, 15vw, 5.8rem);
    }

    .contact-overline {
        font-size: 8px;
    }

    .contact-intro {
        margin-top: 25px;

        font-size: 12px;
    }

    .contact-hero-footer {
        left: 22px;
        right: 22px;
        bottom: 22px;

        font-size: 7px;
    }


    .contact-main-section {
        padding-top: 75px;
        padding-bottom: 75px;
    }

    .contact-main-heading {
        margin-bottom: 30px;
    }

    .contact-email-card {
        padding: 23px 20px;

        border-radius: 18px;
    }

    .contact-email-middle {
        padding: 45px 0;
    }

    .contact-email-address {
        font-size: clamp(1.3rem, 6vw, 2rem);
    }

    .contact-email-bottom {
        align-items: flex-start;
        flex-direction: column;

        gap: 18px;
    }

    .contact-email-button {
        width: fit-content;
    }


    .contact-closing {
        padding-bottom: 70px;
    }

    .contact-closing-inner {
        min-height: 430px;

        padding: 35px 25px;

        border-radius: 20px;
    }

    .contact-closing-inner h2 {
        font-size: clamp(3rem, 12vw, 4.5rem);
    }

}



/* =========================================
   6. SMALL MOBILE
========================================= */

@media (max-width: 380px) {

    .contact-hero-content h1 {
        font-size: 3.5rem;
    }

    .contact-hero-footer span:last-child {
        display: none;
    }

    .contact-email-card {
        padding: 20px 16px;
    }

}
