/* =========================================================
   CONTACT PAGE
   Layout only. Copy, links and form fields stay.
========================================================= */

.contact-page {
    background: #ffffff;
    color: #4a4a4a;
    font-family: "Google Sans Flex", sans-serif;
}

.contact-page img {
    max-width: 100%;
}

.contact-page .nav-toggle {
    display: none;
}

/* ---------------------------------------------------------
   HEADER
--------------------------------------------------------- */

.contact-page header {
    background: linear-gradient(to right, #ffffff, #eef8ff);
    box-shadow: 0 1px 0 rgba(0, 60, 143, 0.06), 0 8px 24px rgba(0, 40, 80, 0.06);
    padding: 0;
}

.contact-page header .container {
    width: min(1160px, calc(100% - 48px));
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.contact-page header .branding {
    display: flex;
    align-items: center;
    min-width: 0;
}

.contact-page header .branding img {
    width: 118px;
    height: auto;
    margin-right: 16px;
}

.contact-page header .company-info h1 {
    margin: 0;
    color: #0072BC;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.contact-page header .company-info p {
    margin: 4px 0 0;
    color: #666;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    white-space: nowrap;
}

.contact-page header nav {
    display: flex;
    align-items: center;
    gap: 26px;
    margin: 0;
}

.contact-page header nav a {
    position: relative;
    color: #003C8F;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    padding: 8px 0;
    text-decoration: none;
}

.contact-page header nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #00AEEF;
    transition: width .25s ease;
}

.contact-page header nav a:hover,
.contact-page header nav a[href="contact.html"] {
    color: #00AEEF;
}

.contact-page header nav a:hover::after,
.contact-page header nav a[href="contact.html"]::after {
    width: 100%;
}

/* ---------------------------------------------------------
   HERO
--------------------------------------------------------- */

.contact-page .page-hero.contact-hero {
    height: auto;
    min-height: 420px;
    padding: 72px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(180deg, rgba(0, 28, 64, 0.5), rgba(0, 24, 56, 0.7)),
        url("../images/contact/banner.JPG") center center / cover no-repeat;
}

.contact-page .page-hero::before {
    display: none;
}

.contact-page .contact-hero .hero-content {
    width: min(760px, calc(100% - 32px));
    max-width: 760px;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

.contact-page .contact-hero h2 {
    margin: 0;
    color: #ffffff;
    font-size: 56px;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.contact-page .contact-hero h2::after {
    content: "";
    display: block;
    width: 54px;
    height: 3px;
    margin: 16px auto 0;
    border-radius: 3px;
    background: #00AEEF;
}

.contact-page .contact-hero p {
    margin: 16px 0 0;
    color: #E5E5E5;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
}

/* ---------------------------------------------------------
   CONTACT
--------------------------------------------------------- */

.contact-page .contact {
    padding: 72px 0 36px;
    background: #F8FBFC;
}

.contact-page .contact-container {
    width: min(1160px, calc(100% - 48px));
    display: block;
}

.contact-page .contact-intro {
    max-width: 680px;
    margin: 0 auto 28px;
    text-align: center;
}

.contact-page .contact-intro h2,
.contact-page .map-section h2 {
    margin: 0;
    color: #003C8F;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    text-align: center;
}

.contact-page .contact-intro h2::after,
.contact-page .map-section h2::after {
    content: "";
    display: block;
    width: 54px;
    height: 3px;
    margin: 14px auto 0;
    border-radius: 3px;
    background: #00AEEF;
}

.contact-page .contact-intro .subtitle {
    max-width: 560px;
    margin: 16px auto 0;
    color: #063652;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.65;
    text-align: center;
}

.contact-page .contact-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: stretch;
    overflow: hidden;
    border: 1px solid #e7f4fb;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(0, 40, 80, 0.08);
}

.contact-page .contact-info {
    padding: 36px 28px;
    background: linear-gradient(165deg, #0072BC 0%, #003C8F 62%);
    color: #ffffff;
}

.contact-page .info-box {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.contact-page .info-box h3 {
    margin: 0 0 22px;
    color: #4FC3F7;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-align: left;
}

.contact-page .info-rows {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.contact-page .info-row {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    margin: 0;
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
}

.contact-page .info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    color: #4FC3F7;
    font-size: 16px;
}

.contact-page .info-row p {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 15px;
    line-height: 1.55;
}

.contact-page .info-row strong {
    color: #ffffff;
    font-weight: 700;
}

.contact-page .info-box a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
}

.contact-page .info-box a:hover {
    color: #4FC3F7;
}

.contact-page .info-box h4 {
    margin: 26px 0 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    text-align: left;
}

.contact-page .info-box .subtitle {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    text-align: left;
}

.contact-page .contact-social {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 16px;
}

.contact-page .contact-social a {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transform: none;
    box-shadow: none;
}

.contact-page .contact-social a:nth-child(1) { background: #1877F2; }
.contact-page .contact-social a:nth-child(2) { background: #25D366; }
.contact-page .contact-social a:nth-child(3) { background: #7360F2; }
.contact-page .contact-social a:nth-child(4) { background: #229ED9; }

.contact-page .contact-social a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 40, 80, 0.16);
}

.contact-page .contact-social i {
    font-size: 16px;
}

.contact-page .contact-form {
    padding: 40px 36px;
    border: 0;
    border-radius: 0;
    background: #ffffff;
    box-shadow: none;
}

.contact-page .form-intro {
    margin: 0 0 22px;
    color: #003C8F;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.02em;
    text-align: left;
}

.contact-page .form-intro::after {
    content: "";
    display: block;
    width: 42px;
    height: 3px;
    margin-top: 14px;
    border-radius: 3px;
    background: #00AEEF;
}

.contact-page .contact-form form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.contact-page .contact-form input,
.contact-page .contact-form textarea {
    width: 100%;
    margin: 0;
    padding: 14px 16px;
    border: 1px solid #e7f4fb;
    border-radius: 14px;
    background: #F8FBFC;
    color: #111;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
}

.contact-page .contact-form input::placeholder,
.contact-page .contact-form textarea::placeholder {
    color: #8aa4b8;
}

.contact-page .contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-page .contact-form textarea,
.contact-page .contact-form button {
    grid-column: 1 / -1;
}

.contact-page .contact-form input:focus,
.contact-page .contact-form textarea:focus {
    border-color: #00AEEF;
    outline: none;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.15);
}

.contact-page .contact-form button {
    width: fit-content;
    justify-self: start;
    min-height: 48px;
    margin-top: 4px;
    padding: 14px 32px;
    border: 0;
    border-radius: 999px;
    background: #009FE3;
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0, 114, 188, 0.24);
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.contact-page .contact-form button:hover {
    background: #007BC1;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 114, 188, 0.22);
}

/* ---------------------------------------------------------
   MAP
--------------------------------------------------------- */

.contact-page .map-section {
    padding: 12px 0 88px;
    background: #F8FBFC;
}

.contact-page .map-section .container {
    width: min(1160px, calc(100% - 48px));
    display: block;
    padding: 28px;
    border: 1px solid #e7f4fb;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(0, 40, 80, 0.06);
}

.contact-page .map-section h2 {
    margin-bottom: 22px;
    text-align: center;
}

.contact-page .map-section iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
    border-radius: 18px;
    box-shadow: none;
}

/* ---------------------------------------------------------
   FOOTER
--------------------------------------------------------- */

.contact-page .footer {
    padding: 72px 0 0;
    background: #111111;
}

.contact-page .footer .footer-grid {
    width: min(1160px, calc(100% - 48px));
}

.contact-page .footer h2,
.contact-page .footer h4 {
    color: #ffffff;
    font-size: 18px;
}

.contact-page .footer h4::after,
.contact-page .footer-about h2::after {
    display: block;
    width: 42px;
    height: 2px;
    margin-top: 10px;
    background: #00AEEF;
}

.contact-page .footer .footer-email,
.contact-page .footer .footer-email a,
.contact-page footer.footer .footer-grid .footer-email {
    white-space: normal;
    overflow-wrap: anywhere;
}

.contact-page #scrollTopBtn {
    border-radius: 999px;
    background: #0d9de3;
}

/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 1100px) {

    .contact-page header .company-info h1,
    .contact-page header .company-info p {
        white-space: normal;
    }

    .contact-page header .company-info h1 {
        font-size: 18px;
    }

    .contact-page header .branding img {
        width: 100px;
    }

    .contact-page header nav {
        gap: 16px;
    }

    .contact-page .contact-hero h2 {
        font-size: 36px;
    }

}

@media (max-width: 900px) {

    .contact-page header .container {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        width: min(1160px, calc(100% - 32px));
        min-height: 72px;
    }

    .contact-page header .company-info {
        display: none;
    }

    .contact-page header .branding img {
        width: 112px;
        margin-right: 0;
    }

    .contact-page .nav-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        padding: 11px 9px;
        border: 0;
        border-radius: 8px;
        background: transparent;
        cursor: pointer;
    }

    .contact-page .nav-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        border-radius: 2px;
        background: #003C8F;
        transition: transform .2s ease, opacity .2s ease;
    }

    .contact-page header.nav-open .nav-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .contact-page header.nav-open .nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    .contact-page header.nav-open .nav-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .contact-page header nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        margin: 0;
        padding: 8px 0 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: linear-gradient(to right, #ffffff, #eef8ff);
        box-shadow: 0 16px 28px rgba(0, 40, 80, 0.12);
    }

    .contact-page header.nav-open nav {
        display: flex;
    }

    .contact-page header nav a {
        padding: 14px 22px;
        font-size: 16px;
        text-align: left;
    }

    .contact-page header nav a::after {
        display: none;
    }

    .contact-page .page-hero.contact-hero {
        min-height: 280px;
        padding: 56px 16px;
    }

    .contact-page .contact-hero h2 {
        font-size: 36px;
    }

    .contact-page .contact {
        padding: 56px 0 28px;
    }

    .contact-page .contact-container,
    .contact-page .map-section .container {
        width: min(1160px, calc(100% - 32px));
    }

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

    .contact-page .contact-form {
        padding: 32px 24px;
    }

    .contact-page .info-rows {
        grid-template-columns: 1fr;
    }

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

    .contact-page .footer-about {
        grid-column: 1 / -1;
    }

}

@media (max-width: 640px) {

    .contact-page .contact-hero h2,
    .contact-page .contact-intro h2,
    .contact-page .map-section h2,
    .contact-page .form-intro {
        font-size: 30px;
    }

    .contact-page .contact-hero p,
    .contact-page .contact-intro .subtitle {
        font-size: 15px;
    }

    .contact-page .contact-info,
    .contact-page .contact-form,
    .contact-page .map-section .container {
        padding: 22px 16px;
    }

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

    .contact-page .info-rows {
        grid-template-columns: 1fr;
    }

    .contact-page .map-section {
        padding-bottom: 56px;
    }

    .contact-page .map-section iframe {
        height: 260px;
    }

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

    .contact-page #scrollTopBtn span {
        display: none;
    }

    .contact-page #scrollTopBtn {
        width: 46px;
        height: 46px;
        padding: 0;
        border-radius: 50%;
    }

}
