/* =========================================
   CONTACT PAGE
   LIGHT + DARK MODE
========================================= */

:root {

    --contact-bg: #f5f7fb;
    --contact-card: #ffffff;
    --contact-text: #172033;
    --contact-muted: #687386;
    --contact-border: #e3e7ee;

    --contact-primary: #d60000;
    --contact-dark: #081a3b;

    --contact-shadow:
        0 10px 35px rgba(0,0,0,.08);

}


/* =========================================
   BODY
========================================= */

body {

    background: var(--contact-bg);
    color: var(--contact-text);

    transition:
        background .25s ease,
        color .25s ease;

}


/* =========================================
   HEADER
========================================= */

.contact-header {

    background: #ffffff;

    border-bottom:
        1px solid var(--contact-border);

    position: sticky;

    top: 0;

    z-index: 9999;

}


.contact-header-inner {

    min-height: 72px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

}


.contact-brand {

    display: flex;

    align-items: center;

    gap: 12px;

    text-decoration: none;

    color: var(--contact-text);

}


.contact-brand img {

    width: 125px;

    max-width: 35vw;

    height: auto;

    display: block;

}


.contact-brand div {

    display: flex;

    flex-direction: column;

}


.contact-brand strong {

    font-size: 17px;

    line-height: 1.1;

}


.contact-brand span {

    font-size: 11px;

    color: var(--contact-muted);

}


/* =========================================
   HEADER BUTTONS
========================================= */

.contact-header-actions {

    display: flex;

    align-items: center;

    gap: 10px;

}


.theme-toggle,
.back-home {

    border: 1px solid var(--contact-border);

    background: var(--contact-card);

    color: var(--contact-text);

    height: 40px;

    padding: 0 14px;

    border-radius: 8px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    cursor: pointer;

    text-decoration: none;

    transition: .2s ease;

}


.theme-toggle {

    width: 40px;

    padding: 0;

}


.theme-toggle:hover,
.back-home:hover {

    background: var(--contact-primary);

    border-color: var(--contact-primary);

    color: #ffffff;

}


/* =========================================
   HERO
========================================= */

.contact-hero {

    min-height: 360px;

    background:
        linear-gradient(
            rgba(8,26,59,.72),
            rgba(8,26,59,.72)
        ),
        url("../images/contact-banner.jpg")
        center/cover no-repeat;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 50px 20px;

}


.contact-hero-overlay {

    max-width: 760px;

    color: #ffffff;

}


.hero-label {

    display: inline-block;

    background: var(--contact-primary);

    padding: 6px 12px;

    border-radius: 30px;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;

    margin-bottom: 15px;

}


.contact-hero h1 {

    font-size: 42px;

    line-height: 1.15;

    margin: 0 0 15px;

    font-weight: 800;

}


.contact-hero p {

    margin: 0;

    font-size: 16px;

    line-height: 1.7;

    opacity: .92;

}


/* =========================================
   CONTACT PAGE
========================================= */

.contact-page {

    padding: 70px 0;

}


.contact-grid {

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 30px;

}


.contact-info,
.contact-form {

    background: var(--contact-card);

    border:
        1px solid var(--contact-border);

    border-radius: 14px;

    padding: 35px;

    box-shadow: var(--contact-shadow);

}


/* =========================================
   HEADINGS
========================================= */

.section-heading span,
.map-heading span,
.social-heading span {

    color: var(--contact-primary);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;

}


.section-heading h2,
.map-heading h2,
.social-heading h2 {

    margin: 6px 0 8px;

    font-size: 26px;

}


.section-heading p {

    margin: 0 0 25px;

    color: var(--contact-muted);

    line-height: 1.6;

}


/* =========================================
   CONTACT INFO
========================================= */

.info {

    display: flex;

    align-items: flex-start;

    gap: 15px;

    padding: 17px 0;

    border-bottom:
        1px solid var(--contact-border);

}


.info:last-child {

    border-bottom: none;

}


.info-icon {

    flex: 0 0 45px;

    width: 45px;

    height: 45px;

    border-radius: 10px;

    background:
        rgba(214,0,0,.08);

    color: var(--contact-primary);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 18px;

}


.info h3 {

    margin: 0 0 5px;

    font-size: 15px;

}


.info p {

    margin: 0;

    color: var(--contact-muted);

    line-height: 1.5;

    word-break: break-word;

}


/* =========================================
   FORM
========================================= */

.form-field {

    margin-bottom: 18px;

}


.form-field label {

    display: block;

    margin-bottom: 7px;

    font-size: 13px;

    font-weight: 600;

}


.contact-form input,
.contact-form textarea {

    width: 100%;

    box-sizing: border-box;

    padding: 13px 14px;

    border:
        1px solid var(--contact-border);

    border-radius: 8px;

    background: var(--contact-bg);

    color: var(--contact-text);

    font-family: inherit;

    font-size: 14px;

    outline: none;

    transition: .2s ease;

}


.contact-form input:focus,
.contact-form textarea:focus {

    border-color:
        var(--contact-primary);

    box-shadow:
        0 0 0 3px
        rgba(214,0,0,.08);

}


.contact-form textarea {

    resize: vertical;

    min-height: 150px;

}


.send-message-btn {

    width: 100%;

    border: 0;

    border-radius: 8px;

    background: var(--contact-primary);

    color: #ffffff;

    padding: 14px 18px;

    font-family: inherit;

    font-size: 14px;

    font-weight: 600;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    cursor: pointer;

    transition: .2s ease;

}


.send-message-btn:hover {

    background: var(--contact-dark);

    transform: translateY(-1px);

}


.contact-status {

    min-height: 20px;

    margin: 12px 0 0;

    text-align: center;

    font-size: 13px;

}


/* =========================================
   MAP
========================================= */

.map-section {

    padding: 0 0 70px;

}


.map-heading {

    margin-bottom: 20px;

}


.map-wrapper {

    overflow: hidden;

    border-radius: 14px;

    border:
        1px solid var(--contact-border);

    box-shadow: var(--contact-shadow);

}


.map-wrapper iframe {

    display: block;

    width: 100%;

    border: 0;

}


/* =========================================
   SOCIAL
========================================= */

.social-media {

    padding: 65px 0;

    background: var(--contact-card);

}


.social-heading {

    text-align: center;

    margin-bottom: 25px;

}


.social-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 15px;

}


.social-card {

    min-height: 65px;

    background: var(--contact-dark);

    color: #ffffff;

    border-radius: 10px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    transition: .2s ease;

}


.social-card:hover {

    background: var(--contact-primary);

    transform: translateY(-2px);

}


/* =========================================
   FOOTER
========================================= */

.contact-footer {

    background: var(--contact-dark);

    color: #ffffff;

    padding: 30px 0;

}


.footer-content {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

}


.contact-footer h2 {

    margin: 0 0 5px;

    font-size: 18px;

}


.contact-footer p {

    margin: 0;

    color: rgba(255,255,255,.75);

    font-size: 12px;

}


.copyright {

    white-space: nowrap;

}


/* =========================================
   DARK MODE
========================================= */

body.dark-mode {

    --contact-bg: #0b1220;

    --contact-card: #111a2b;

    --contact-text: #f1f5f9;

    --contact-muted: #a9b4c5;

    --contact-border: #263247;

    --contact-shadow:
        0 10px 35px rgba(0,0,0,.35);

}


body.dark-mode .contact-header {

    background: #111a2b;

}


body.dark-mode .contact-hero {

    background:
        linear-gradient(
            rgba(0,0,0,.78),
            rgba(0,0,0,.78)
        ),
        url("../images/contact-banner.jpg")
        center/cover no-repeat;

}


body.dark-mode .contact-form input,
body.dark-mode .contact-form textarea {

    background: #0b1220;

}


body.dark-mode .social-media {

    background: #0b1220;

}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .contact-grid {

        grid-template-columns: 1fr;

    }

    .social-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .contact-header-inner {

        min-height: 62px;

        padding: 0 10px;

    }


    .contact-brand {

        gap: 8px;

    }


    .contact-brand img {

        width: 95px;

    }


    .contact-brand strong {

        font-size: 13px;

    }


    .contact-brand span {

        font-size: 9px;

    }


    .contact-header-actions {

        gap: 6px;

    }


    .theme-toggle,
    .back-home {

        height: 35px;

        border-radius: 7px;

    }


    .theme-toggle {

        width: 35px;

    }


    .back-home {

        width: 35px;

        padding: 0;

    }


    .back-home span {

        display: none;

    }


    .contact-hero {

        min-height: 270px;

        padding: 35px 18px;

    }


    .contact-hero h1 {

        font-size: 27px;

    }


    .contact-hero p {

        font-size: 12px;

        line-height: 1.6;

    }


    .hero-label {

        font-size: 9px;

        padding: 5px 9px;

    }


    .contact-page {

        padding: 35px 0;

    }


    .contact-grid {

        gap: 18px;

    }


    .contact-info,
    .contact-form {

        padding: 22px 17px;

        border-radius: 11px;

    }


    .section-heading h2 {

        font-size: 20px;

    }


    .section-heading p {

        font-size: 12px;

    }


    .info {

        gap: 11px;

        padding: 14px 0;

    }


    .info-icon {

        flex-basis: 38px;

        width: 38px;

        height: 38px;

        font-size: 15px;

    }


    .info h3 {

        font-size: 13px;

    }


    .info p {

        font-size: 11px;

    }


    .contact-form input,
    .contact-form textarea {

        font-size: 13px;

        padding: 12px;

    }


    .map-section {

        padding-bottom: 35px;

    }


    .map-wrapper iframe {

        height: 280px;

    }


    .social-media {

        padding: 40px 0;

    }


    .social-grid {

        grid-template-columns: 1fr 1fr;

        gap: 9px;

    }


    .social-card {

        min-height: 55px;

        font-size: 11px;

        border-radius: 8px;

    }


    .footer-content {

        flex-direction: column;

        text-align: center;

    }


    .copyright {

        white-space: normal;

    }

}


/* =========================================
   VERY SMALL PHONES
========================================= */

@media (max-width: 380px) {

    .contact-brand img {

        width: 82px;

    }


    .contact-brand strong {

        font-size: 11px;

    }


    .contact-brand span {

        font-size: 8px;

    }


    .contact-hero h1 {

        font-size: 23px;

    }


    .social-grid {

        grid-template-columns: 1fr;

    }

}