/* ============================================================
   Trisha Web
   Contact Information
   Premium Responsive Design
============================================================ */

.tw-contact-info {
    --tw-primary: #1268f3;
    --tw-primary-dark: #0a45b8;
    --tw-navy: #071d49;
    --tw-text: #172033;
    --tw-muted: #697386;
    --tw-border: #e7ebf2;
    --tw-card: #ffffff;

    position: relative;
    overflow: hidden;

    padding: 100px 0;

    background: #f6f9ff;

    background-image:
        var(--tw-contact-bg);

    background-size: cover;
    background-repeat: no-repeat;
    background-position:
        var(--tw-contact-position, center center);
}


.tw-contact-info__overlay {
    position: absolute;
    inset: 0;

    background:
        rgba(255, 255, 255, var(--tw-contact-overlay, .04));

    pointer-events: none;
}


.tw-contact-info > .container {
    position: relative;
    z-index: 2;
}


/* ============================================================
   Heading
============================================================ */

.tw-contact-info__heading {
    max-width: 760px;
    margin: 0 auto 55px;

    text-align: center;
}


.tw-contact-info__badge {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 8px 15px;

    margin-bottom: 16px;

    border: 1px solid rgba(18, 104, 243, .18);

    border-radius: 50px;

    background: rgba(18, 104, 243, .07);

    color: var(--tw-primary);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}


.tw-contact-info__title {
    margin: 0 0 16px;

    color: var(--tw-navy);

    font-size: clamp(32px, 4vw, 50px);

    line-height: 1.12;

    font-weight: 800;

    letter-spacing: -1.3px;
}


.tw-contact-info__description {
    max-width: 680px;

    margin: 0 auto;

    color: var(--tw-muted);

    font-size: 17px;

    line-height: 1.8;
}


/* ============================================================
   Main Grid
============================================================ */

.tw-contact-info__grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(0, .95fr);

    gap: 28px;

    align-items: stretch;
}


/* ============================================================
   Contact Cards
============================================================ */

.tw-contact-info__cards {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}


.tw-contact-card {
    display: flex;

    gap: 16px;

    min-height: 150px;

    padding: 25px;

    background:
        rgba(255, 255, 255, .96);

    border: 1px solid var(--tw-border);

    border-radius: 20px;

    box-shadow:
        0 12px 35px rgba(20, 45, 90, .07);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}


.tw-contact-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(18, 104, 243, .28);

    box-shadow:
        0 20px 45px rgba(20, 45, 90, .12);
}


.tw-contact-card__icon {
    flex: 0 0 52px;

    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background:
        linear-gradient(
            135deg,
            var(--tw-primary),
            var(--tw-primary-dark)
        );

    color: #fff;

    font-size: 19px;

    box-shadow:
        0 10px 22px rgba(18, 104, 243, .22);
}


.tw-contact-card__body {
    min-width: 0;
}


.tw-contact-card__title {
    margin: 2px 0 7px;

    color: var(--tw-navy);

    font-size: 16px;

    font-weight: 800;
}


.tw-contact-card__value {
    display: block;

    color: var(--tw-text);

    font-size: 15px;

    line-height: 1.55;

    font-weight: 700;

    text-decoration: none;

    word-break: break-word;

    transition: color .2s ease;
}


a.tw-contact-card__value:hover {
    color: var(--tw-primary);
}


.tw-contact-card__note {
    margin: 6px 0 0;

    color: var(--tw-muted);

    font-size: 12px;

    line-height: 1.5;
}


/* ============================================================
   Map
============================================================ */

.tw-contact-map {
    display: flex;

    flex-direction: column;

    min-height: 100%;

    overflow: hidden;

    background:
        rgba(255, 255, 255, .97);

    border: 1px solid var(--tw-border);

    border-radius: 24px;

    box-shadow:
        0 15px 45px rgba(20, 45, 90, .09);
}


.tw-contact-map__header {
    padding: 27px 28px 18px;
}


.tw-contact-map__header h3 {
    margin: 0 0 7px;

    color: var(--tw-navy);

    font-size: 22px;

    font-weight: 800;
}


.tw-contact-map__header p {
    margin: 0;

    color: var(--tw-muted);

    font-size: 14px;

    line-height: 1.65;
}


.tw-contact-map__frame {
    position: relative;

    flex: 1;

    min-height: 330px;

    overflow: hidden;

    background: #eef3fa;
}


.tw-contact-map__frame iframe {
    display: block;

    width: 100%;
    height: 100%;

    min-height: 330px;

    border: 0;
}


.tw-contact-map__empty {
    flex: 1;

    min-height: 330px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: 30px;

    text-align: center;

    background:
        linear-gradient(
            145deg,
            #edf4ff,
            #f9fbff
        );
}


.tw-contact-map__empty-icon {
    width: 64px;
    height: 64px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 15px;

    border-radius: 18px;

    background:
        rgba(18, 104, 243, .10);

    color: var(--tw-primary);

    font-size: 24px;
}


.tw-contact-map__empty strong {
    color: var(--tw-navy);

    font-size: 18px;
}


.tw-contact-map__empty p {
    max-width: 350px;

    margin: 8px 0 0;

    color: var(--tw-muted);

    font-size: 14px;

    line-height: 1.6;
}


.tw-contact-map__button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    align-self: flex-start;

    margin: 20px 28px 28px;

    padding: 12px 19px;

    border-radius: 11px;

    background: var(--tw-navy);

    color: #fff;

    font-size: 13px;

    font-weight: 700;

    text-decoration: none;

    transition:
        background .2s ease,
        transform .2s ease;
}


.tw-contact-map__button:hover {
    background: var(--tw-primary);

    color: #fff;

    transform: translateY(-2px);
}


/* ============================================================
   CTA
============================================================ */

.tw-contact-info__cta {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 25px;

    margin-top: 30px;

    padding: 25px 28px;

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            #071d49,
            #103e88
        );

    box-shadow:
        0 18px 45px rgba(7, 29, 73, .18);
}


.tw-contact-info__cta-content {
    display: flex;

    align-items: center;

    gap: 15px;
}


.tw-contact-info__cta-icon {
    flex: 0 0 48px;

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background:
        rgba(255, 255, 255, .12);

    color: #fff;

    font-size: 18px;
}


.tw-contact-info__cta-content strong {
    display: block;

    margin-bottom: 3px;

    color: #fff;

    font-size: 17px;

    font-weight: 800;
}


.tw-contact-info__cta-content span {
    color: rgba(255, 255, 255, .72);

    font-size: 13px;
}


.tw-contact-info__cta-button {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    flex-shrink: 0;

    padding: 13px 21px;

    border-radius: 11px;

    background: #fff;

    color: var(--tw-primary);

    font-size: 13px;

    font-weight: 800;

    text-decoration: none;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.tw-contact-info__cta-button:hover {
    color: var(--tw-primary-dark);

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, .15);
}


/* ============================================================
   Tablet
============================================================ */

@media (max-width: 991.98px) {

    .tw-contact-info {
        padding: 80px 0;
    }

    .tw-contact-info__grid {
        grid-template-columns: 1fr;
    }

    .tw-contact-map {
        min-height: 500px;
    }

}


/* ============================================================
   Mobile
============================================================ */

@media (max-width: 767.98px) {

    .tw-contact-info {
        padding: 65px 0;
    }

    .tw-contact-info__heading {
        margin-bottom: 35px;
    }

    .tw-contact-info__title {
        font-size: 32px;
    }

    .tw-contact-info__description {
        font-size: 15px;
    }

    .tw-contact-info__cards {
        grid-template-columns: 1fr;
    }

    .tw-contact-card {
        min-height: auto;

        padding: 21px;
    }

    .tw-contact-map {
        min-height: 420px;

        border-radius: 20px;
    }

    .tw-contact-map__frame,
    .tw-contact-map__empty {
        min-height: 280px;
    }

    .tw-contact-map__frame iframe {
        min-height: 280px;
    }

    .tw-contact-info__cta {
        flex-direction: column;

        align-items: flex-start;

        padding: 22px;
    }

    .tw-contact-info__cta-button {
        width: 100%;

        justify-content: center;
    }

}


/* ============================================================
   Small Mobile
============================================================ */

@media (max-width: 479.98px) {

    .tw-contact-info {
        padding: 52px 0;
    }

    .tw-contact-info__title {
        font-size: 28px;
    }

    .tw-contact-card {
        gap: 13px;
    }

    .tw-contact-card__icon {
        flex-basis: 46px;

        width: 46px;
        height: 46px;

        border-radius: 13px;
    }

    .tw-contact-info__cta-content {
        align-items: flex-start;
    }

}