/* =========================================================
   DALISAY GROCERY
   CONTACT PAGE
========================================================= */


/* =========================================================
   HERO
========================================================= */

.contact-hero {

    position: relative;

    min-height: 500px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            100deg,
            rgba(0,59,106,.98),
            rgba(0,59,106,.82),
            rgba(0,59,106,.42)
        ),
        url("../images/dalisay-store.jpg")
        center / cover no-repeat;

}


.contact-hero::after {

    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 90px;

    background:
        linear-gradient(
            to top,
            #003b6a,
            transparent
        );

}


.contact-hero-overlay {

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 80% 40%,
            rgba(255,193,7,.14),
            transparent 35%
        );

}


.contact-hero-content {

    position: relative;

    z-index: 2;

    max-width: 750px;

    padding: 100px 0;

    color: #fff;

}


.contact-eyebrow {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 8px 16px;

    margin-bottom: 20px;

    border: 1px solid
        rgba(255,193,7,.5);

    border-radius: 30px;

    background:
        rgba(255,193,7,.12);

    color: #ffc107;

    font-size: 12px;

    font-weight: 900;

    letter-spacing: 2px;

}


.contact-hero h1 {

    margin: 0;

    font-size: clamp(
        48px,
        7vw,
        82px
    );

    font-weight: 900;

    line-height: .95;

    letter-spacing: -3px;

}


.contact-hero h1 strong {

    display: block;

    color: #ffc107;

}


.contact-hero-content p {

    max-width: 620px;

    margin: 28px 0;

    color: rgba(255,255,255,.82);

    font-size: 17px;

    line-height: 1.8;

}


.contact-hero-actions {

    display: flex;

    align-items: center;

    gap: 12px;

}


.contact-hero-button,
.contact-call-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    min-height: 50px;

    padding: 0 22px;

    border-radius: 5px;

    text-decoration: none;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: .7px;

    transition: .3s ease;

}


.contact-hero-button {

    background: #ffc107;

    color: #003b6a;

}


.contact-hero-button:hover {

    background: #fff;

    color: #003b6a;

    transform: translateY(-3px);

}


.contact-call-button {

    border: 1px solid
        rgba(255,255,255,.3);

    color: #fff;

    background:
        rgba(255,255,255,.08);

}


.contact-call-button:hover {

    background: #fff;

    color: #003b6a;

}


.contact-call-button i {

    font-size: 18px;

}



/* =========================================================
   INFORMATION
========================================================= */

.contact-info-section {

    padding: 100px 0;

    background: #003b6a;

}


.contact-section-heading {

    max-width: 720px;

    margin: 0 auto 50px;

    text-align: center;

    color: #fff;

}


.contact-section-heading span {

    color: #ffc107;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 2px;

}


.contact-section-heading h2 {

    margin: 12px 0;

    font-size: clamp(
        35px,
        5vw,
        52px
    );

    font-weight: 900;

    line-height: 1;

}


.contact-section-heading h2 strong {

    color: #ffc107;

}


.contact-section-heading p {

    margin: 20px auto 0;

    max-width: 600px;

    color: rgba(255,255,255,.65);

    line-height: 1.8;

}


.contact-info-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;

}


.contact-info-card {

    display: flex;

    gap: 18px;

    padding: 30px;

    border: 1px solid
        rgba(255,255,255,.08);

    border-radius: 10px;

    background:
        rgba(255,255,255,.05);

    transition: .3s ease;

}


.contact-info-card:hover {

    transform: translateY(-6px);

    background:
        rgba(255,255,255,.08);

    border-color:
        rgba(255,193,7,.35);

}


.contact-info-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 55px;

    height: 55px;

    flex-shrink: 0;

    border-radius: 9px;

    background: #ffc107;

    color: #003b6a;

    font-size: 25px;

}


.contact-info-content {

    min-width: 0;

}


.contact-info-content > span {

    color: #ffc107;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 1.5px;

}


.contact-info-content h3 {

    margin: 7px 0;

    color: #fff;

    font-size: 18px;

    font-weight: 900;

    word-break: break-word;

}


.contact-info-content .email-text {

    font-size: 15px;

}


.contact-info-content p {

    margin: 0 0 15px;

    color: rgba(255,255,255,.55);

    font-size: 12px;

    line-height: 1.6;

}


/* =========================================================
   CONTACT ACTION LINKS
========================================================= */

/*
   Used for the EMAIL "SEND MESSAGE" button.
   This goes to the contact form instead of opening
   the visitor's Gmail/mail application.
*/

.contact-info-content a {

    display: inline-flex;

    align-items: center;

    gap: 5px;

    color: #ffc107;

    text-decoration: none;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: .8px;

    transition: .25s ease;

}


.contact-info-content a:hover {

    color: #fff;

}


.contact-info-content a i {

    font-size: 16px;

    transition:
        transform .2s ease;

}


.contact-info-content a:hover i {

    transform:
        translateX(4px);

}


/*
   Used for the PHONE card.
   This is NOT a clickable phone link.
*/

.contact-action-text {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    color: #ffc107;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: .8px;

}


.contact-action-text i {

    font-size: 16px;

}



/* =========================================================
   CONTACT FORM
========================================================= */

.contact-form-section {

    padding: 100px 0;

    background: #f4f7f9;

}


.contact-form-wrapper {

    display: grid;

    grid-template-columns:
        .85fr 1.15fr;

    overflow: hidden;

    border-radius: 12px;

    background: #fff;

    box-shadow:
        0 25px 60px
        rgba(0,59,106,.12);

}


.contact-form-intro {

    position: relative;

    padding: 60px 50px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #003b6a,
            #002c50
        );

    color: #fff;

}


.contact-form-intro::after {

    content: "";

    position: absolute;

    right: -100px;
    bottom: -100px;

    width: 300px;
    height: 300px;

    border: 50px solid
        rgba(255,193,7,.08);

    border-radius: 50%;

}


.form-eyebrow {

    color: #ffc107;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 2px;

}


.contact-form-intro h2 {

    margin: 15px 0;

    font-size: 42px;

    font-weight: 900;

    line-height: 1;

}


.contact-form-intro h2 strong {

    display: block;

    color: #ffc107;

}


.contact-form-intro > p {

    max-width: 400px;

    color: rgba(255,255,255,.65);

    font-size: 14px;

    line-height: 1.8;

}


.contact-form-benefits {

    margin-top: 35px;

}


.contact-form-benefits > div {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 14px;

}


.contact-form-benefits i {

    color: #ffc107;

    font-size: 20px;

}


.contact-form-benefits span {

    color: rgba(255,255,255,.82);

    font-size: 12px;

}


.form-contact-box {

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    gap: 14px;

    margin-top: 40px;

    padding: 18px;

    border: 1px solid
        rgba(255,255,255,.1);

    border-radius: 8px;

    background:
        rgba(255,255,255,.06);

}


.form-contact-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 45px;

    height: 45px;

    border-radius: 7px;

    background: #ffc107;

    color: #003b6a;

    font-size: 21px;

}


.form-contact-box small {

    display: block;

    margin-bottom: 4px;

    color: #ffc107;

    font-size: 8px;

    font-weight: 900;

    letter-spacing: 1px;

}


.form-contact-box strong {

    color: #fff;

    font-size: 12px;

}


.contact-form-card {

    padding: 55px 50px;

}


.form-row {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 20px;

}


.form-group {

    margin-bottom: 22px;

}


.form-group label {

    display: block;

    margin-bottom: 8px;

    color: #003b6a;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 1px;

}


.form-group label span {

    color: #dc3545;

}


.input-wrapper,
.textarea-wrapper {

    position: relative;

}


.input-wrapper > i,
.textarea-wrapper > i {

    position: absolute;

    top: 50%;

    left: 15px;

    transform: translateY(-50%);

    color: #8b9aa7;

    font-size: 18px;

    pointer-events: none;

}


.textarea-wrapper > i {

    top: 20px;

    transform: none;

}


.input-wrapper input,
.input-wrapper select,
.textarea-wrapper textarea {

    width: 100%;

    border: 1px solid #dfe6eb;

    border-radius: 5px;

    outline: none;

    background: #f9fbfc;

    color: #003b6a;

    font-family: inherit;

    font-size: 13px;

    font-weight: 600;

    transition: .25s ease;

}


.input-wrapper input,
.input-wrapper select {

    height: 50px;

    padding:
        0 15px 0 45px;

}


.textarea-wrapper textarea {

    resize: vertical;

    min-height: 140px;

    padding:
        15px 15px 15px 45px;

    line-height: 1.6;

}


.input-wrapper input:focus,
.input-wrapper select:focus,
.textarea-wrapper textarea:focus {

    border-color: #003b6a;

    background: #fff;

    box-shadow:
        0 0 0 3px
        rgba(0,59,106,.06);

}


.input-wrapper select {

    appearance: auto;

    cursor: pointer;

}


.form-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding-top: 5px;

}


.privacy-check {

    display: flex;

    align-items: flex-start;

    gap: 9px;

    cursor: pointer;

}


.privacy-check input {

    position: absolute;

    opacity: 0;

}


.privacy-check span {

    width: 17px;

    height: 17px;

    flex-shrink: 0;

    border: 1px solid #ccd6dc;

    border-radius: 3px;

    background: #fff;

}


.privacy-check input:checked + span {

    border-color: #ffc107;

    background:
        #ffc107
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23003b6a' d='M7.6 14.6 3.4 10.4l1.4-1.4 2.8 2.8 7-7L16 6.2z'/%3E%3C/svg%3E")
        center / 12px
        no-repeat;

}


.privacy-check small {

    max-width: 270px;

    color: #82909c;

    font-size: 10px;

    line-height: 1.5;

}


.contact-submit {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    min-height: 48px;

    padding: 0 22px;

    border: 0;

    border-radius: 5px;

    background: #ffc107;

    color: #003b6a;

    font-family: inherit;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: .7px;

    cursor: pointer;

    transition: .3s ease;

}


.contact-submit:hover {

    background: #003b6a;

    color: #fff;

    transform: translateY(-2px);

}


.contact-submit i {

    font-size: 17px;

}



/* =========================================================
   SOCIAL
========================================================= */

.contact-social-section {

    padding: 90px 0;

    background: #003b6a;

}


.contact-social-inner {

    display: grid;

    grid-template-columns:
        .8fr 1.2fr;

    gap: 70px;

    align-items: center;

}


.social-text > span {

    color: #ffc107;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 2px;

}


.social-text h2 {

    margin: 10px 0;

    color: #fff;

    font-size: 42px;

    font-weight: 900;

}


.social-text h2 strong {

    color: #ffc107;

}


.social-text p {

    max-width: 450px;

    color: rgba(255,255,255,.6);

    font-size: 13px;

    line-height: 1.8;

}


.social-links {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 12px;

}


.social-link {

    display: flex;

    align-items: center;

    gap: 12px;

    min-height: 100px;

    padding: 18px;

    border: 1px solid
        rgba(255,255,255,.08);

    border-radius: 8px;

    color: #fff;

    text-decoration: none;

    transition: .3s ease;

}


.social-link:hover {

    border-color: #ffc107;

    background:
        rgba(255,193,7,.08);

    transform: translateY(-5px);

}


.social-link > i:first-child {

    font-size: 25px;

    color: #ffc107;

}


.social-link div {

    flex: 1;

}


.social-link small {

    display: block;

    margin-bottom: 3px;

    color: rgba(255,255,255,.4);

    font-size: 8px;

    font-weight: 900;

    letter-spacing: 1px;

}


.social-link strong {

    font-size: 12px;

}


.social-link .arrow {

    color: rgba(255,255,255,.35);

    font-size: 18px;

}



/* =========================================================
   HELP
========================================================= */

.contact-help-section {

    padding: 100px 0;

    background: #f4f7f9;

}


.contact-help-heading {

    margin-bottom: 40px;

    text-align: center;

}


.contact-help-heading span {

    color: #d09e00;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 2px;

}


.contact-help-heading h2 {

    margin-top: 10px;

    color: #003b6a;

    font-size: 40px;

    font-weight: 900;

}


.contact-help-heading h2 strong {

    color: #d09e00;

}


.help-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;

}


.help-card {

    display: flex;

    align-items: flex-start;

    gap: 18px;

    padding: 30px;

    border: 1px solid #e3e9ed;

    border-radius: 9px;

    background: #fff;

    text-decoration: none;

    transition: .3s ease;

}


.help-card:hover {

    transform: translateY(-6px);

    border-color: #ffc107;

    box-shadow:
        0 15px 35px
        rgba(0,59,106,.1);

}


.help-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 50px;

    height: 50px;

    flex-shrink: 0;

    border-radius: 8px;

    background: #fff7d6;

    color: #003b6a;

    font-size: 24px;

}


.help-card h3 {

    margin: 0 0 8px;

    color: #003b6a;

    font-size: 17px;

    font-weight: 900;

}


.help-card p {

    margin: 0 0 15px;

    color: #71808d;

    font-size: 11px;

    line-height: 1.7;

}


.help-card span {

    display: inline-flex;

    align-items: center;

    gap: 5px;

    color: #d09e00;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: .7px;

}


.help-card span i {

    font-size: 16px;

}



/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .contact-info-grid {

        grid-template-columns:
            1fr;

    }


    .contact-info-card {

        max-width: 650px;

        width: 100%;

        margin: auto;

    }


    .contact-form-wrapper {

        grid-template-columns:
            1fr;

    }


    .contact-social-inner {

        grid-template-columns:
            1fr;

        gap: 40px;

    }

}


@media (max-width: 767px) {

    .contact-hero {

        min-height: 450px;

    }


    .contact-hero-content {

        padding: 80px 20px;

    }


    .contact-hero h1 {

        font-size: 52px;

    }


    .contact-hero-actions {

        flex-direction: column;

        align-items: stretch;

        max-width: 300px;

    }


    .contact-form-intro {

        padding: 45px 30px;

    }


    .contact-form-card {

        padding: 40px 25px;

    }


    .form-row {

        grid-template-columns:
            1fr;

        gap: 0;

    }


    .form-bottom {

        align-items: stretch;

        flex-direction: column;

    }


    .contact-submit {

        width: 100%;

    }


    .social-links {

        grid-template-columns:
            1fr;

    }


    .help-grid {

        grid-template-columns:
            1fr;

    }

}


@media (max-width: 480px) {

    .contact-hero h1 {

        font-size: 43px;

        letter-spacing: -2px;

    }


    .contact-hero-content p {

        font-size: 14px;

    }


    .contact-info-card {

        padding: 22px;

    }


    .contact-info-icon {

        width: 48px;

        height: 48px;

        font-size: 21px;

    }


    .contact-form-intro h2 {

        font-size: 35px;

    }


    .contact-form-card {

        padding: 35px 20px;

    }


    .contact-help-heading h2 {

        font-size: 32px;

    }

}

/* =========================================================
   CONTACT FORM ALERTS
========================================================= */

.contact-alert {

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 14px 16px;

    margin-bottom: 20px;

    border-radius: 10px;

    font-size: 13px;

    font-weight: 700;

    line-height: 1.5;

}


.contact-alert i {

    font-size: 21px;

    flex-shrink: 0;

}


.contact-alert-success {

    background: #dff5e7;

    color: #18743a;

    border: 1px solid #b9e6c9;

}


.contact-alert-error {

    background: #f8d7da;

    color: #842029;

    border: 1px solid #f1bfc4;

}


/* =========================================================
   SUCCESS MODAL
========================================================= */

.contact-success-overlay {

    position: fixed;

    inset: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 20, 40, 0.78);

    backdrop-filter: blur(6px);

    display: flex;

    align-items: center;

    justify-content: center;

    z-index: 99999;

    padding: 20px;

    animation: successFadeIn .25s ease forwards;

}


.contact-success-modal {

    width: 100%;

    max-width: 480px;

    background: #ffffff;

    border-radius: 18px;

    padding: 40px 35px;

    text-align: center;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, .35);

    animation: successModalIn .35s ease forwards;

}


.contact-success-icon {

    width: 75px;

    height: 75px;

    margin: 0 auto 20px;

    border-radius: 50%;

    background: #003b6a;

    color: #ffc107;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 42px;

}


.contact-success-modal h2 {

    margin: 0 0 12px;

    color: #003b6a;

    font-size: 28px;

    font-weight: 900;

    letter-spacing: .5px;

}


.contact-success-modal p {

    margin: 0 auto 28px;

    max-width: 380px;

    color: #666;

    font-size: 14px;

    line-height: 1.7;

}


.contact-success-modal p strong {

    color: #003b6a;

}


.contact-success-button {

    border: none;

    background: #ffc107;

    color: #003b6a;

    padding: 13px 28px;

    border-radius: 9px;

    font-size: 13px;

    font-weight: 900;

    cursor: pointer;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    transition: .2s ease;

}


.contact-success-button:hover {

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(0, 0, 0, .15);

}


.contact-success-button i {

    font-size: 19px;

}


/* =========================================================
   MODAL ANIMATION
========================================================= */

@keyframes successFadeIn {

    from {

        opacity: 0;

    }

    to {

        opacity: 1;

    }

}


@keyframes successModalIn {

    from {

        opacity: 0;

        transform: translateY(25px) scale(.95);

    }

    to {

        opacity: 1;

        transform: translateY(0) scale(1);

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 576px) {

    .contact-success-modal {

        padding: 32px 24px;

    }


    .contact-success-modal h2 {

        font-size: 24px;

    }


    .contact-success-modal p {

        font-size: 13px;

    }

}