/* =========================================================
   CONTACT PAGE
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f7fa;
    color: #172b3a;
}


/* =========================================================
   HEADER (matches the shared site navigation)
========================================================= */

.site-header {
    width: 100%;
    position: relative;
    z-index: 1000;
    background: #ffffff;
}

.navbar {
    width: 100%;
    min-height: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4%;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    box-shadow: none;
    box-sizing: border-box;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
    color: inherit;
}

.logo:hover {
    text-decoration: none;
}

.logo-image {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text h1 {
    margin: 0;
    font-size: 17px;
    line-height: 20px;
    font-weight: 700;
    color: #111111;
}

.logo-text span {
    display: block;
    margin-top: 2px;
    font-size: 10px;
    line-height: 14px;
    color: #666666;
    letter-spacing: 0.2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-left: auto;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 10px;
    color: #1f1f1f;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #0f5ea8;
    background: #eef6ff;
    text-decoration: none;
}

.nav-links .btn-login {
    border: 1px solid #0f5ea8;
    color: #0f5ea8;
    background: #ffffff;
    margin-left: 2px;
}

.nav-links .btn-login:hover {
    background: #0f5ea8;
    color: #ffffff;
}

.nav-links .btn-contact {
    background: #0f5ea8;
    color: #ffffff;
    padding-left: 13px;
    padding-right: 13px;
    margin-left: 2px;
}

.nav-links .btn-contact:hover {
    background: #0a4d87;
    color: #ffffff;
}

.topbar {
    height: 30px !important;
    min-height: 30px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 4% !important;
    background: #f5f5f5 !important;
    border-bottom: 1px solid #e3e3e3 !important;
    color: #222222 !important;
    font-size: 11px !important;
}

.topbar-left,
.topbar-right {
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
}

.topbar-left span {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    color: #222222 !important;
}

.topbar-left span,
.topbar-right a,
.topbar i {
    color: #222222 !important;
}

.topbar a {
    text-decoration: none !important;
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.mobile-menu-button {
    display: none;

    width: 42px;
    height: 38px;

    border: 0;

    background: transparent;

    cursor: pointer;

    padding: 7px;
}

.mobile-menu-button span {
    display: block;

    width: 25px;
    height: 2px;

    margin: 5px auto;

    background: #075fa8;

    transition: 0.3s ease;
}


/* =========================================================
   FULLSCREEN MOBILE MENU

   IMPORTANT:
   HIDDEN BY DEFAULT
========================================================= */

.fullscreen-menu {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100vh;

    display: none;

    background: #ffffff;

    z-index: 9999;

    overflow-y: auto;
}


/* OPEN STATE */

.fullscreen-menu.open {
    display: block;
}


/* =========================================================
   MOBILE CLOSE BUTTON
========================================================= */

.menu-close {
    position: absolute;

    top: 18px;
    right: 20px;

    width: 42px;
    height: 42px;

    border: 0;
    border-radius: 50%;

    background: #075fa8;

    color: #ffffff;

    font-size: 18px;

    cursor: pointer;

    z-index: 2;
}

.menu-close:hover {
    background: #064d88;
}


/* =========================================================
   MOBILE MENU CONTENT
========================================================= */

.fullscreen-menu-content {
    min-height: 100vh;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 70px 25px 40px;
}


/* =========================================================
   MOBILE LINKS
========================================================= */

.fullscreen-links {
    width: 100%;
    max-width: 420px;

    display: flex;
    flex-direction: column;

    gap: 3px;
}

.fullscreen-links a {
    display: block;

    width: 100%;

    padding: 13px 18px;

    text-align: center;

    color: #172b3a;

    text-decoration: none;

    font-size: 16px;
    font-weight: 600;

    border-radius: 5px;
}

.fullscreen-links a:hover,
.fullscreen-links a.active {
    color: #ffffff;

    background: #075fa8;

    text-decoration: none;
}


/* =========================================================
   MOBILE CONTACT
========================================================= */

.fullscreen-contact {
    width: 100%;
    max-width: 420px;

    margin-top: 25px;

    padding-top: 20px;

    border-top: 1px solid #e2e6ea;

    text-align: center;
}

.fullscreen-contact p {
    margin: 9px 0;

    font-size: 14px;

    color: #4c5964;
}

.fullscreen-contact i {
    width: 22px;

    color: #075fa8;
}

.fullscreen-contact a {
    color: #4c5964;

    text-decoration: none;
}

.fullscreen-contact a:hover {
    color: #075fa8;
}


/* =========================================================
   CONTACT HERO
========================================================= */

.contact-hero {
    position: relative;

    min-height: 220px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    background:
        linear-gradient(
            rgba(5, 39, 68, 0.88),
            rgba(0, 104, 163, 0.72)
        ),
        url("../images/gallary/gallery-banner.jpg");

    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.contact-hero-overlay {
    position: relative;

    z-index: 1;

    width: 100%;
    max-width: 900px;

    padding: 35px 20px;
}

.contact-hero-overlay > span {
    display: block;

    margin-bottom: 8px;

    color: #f9b76d;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.contact-hero-overlay h2 {
    margin: 0;

    color: #ffffff;

    font-size: 32px;
    line-height: 1.2;
    font-weight: 800;
}

.contact-hero-overlay p {
    margin: 8px 0 0;

    color: #ffffff;

    font-size: 14px;

    line-height: 1.6;
}

@media (max-width: 768px) {
    .contact-hero {
        min-height: 250px;
    }
}


/* =========================================================
   CONTACT PAGE
========================================================= */

.contact-page {
    width: 100%;

    max-width: 1180px;

    margin: 0 auto;

    padding: 30px 20px 38px;
}


/* =========================================================
   INTRO
========================================================= */

.contact-intro {
    max-width: 780px;

    margin: 0 auto 28px;

    text-align: center;
}

.contact-kicker {
    display: block;

    margin-bottom: 6px;

    color: #ff7518;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2px;
}

.contact-intro h2 {
    margin: 0;

    color: #0a355d;

    font-size: 30px;

    line-height: 1.2;
}

.contact-divider {
    width: 55px;
    height: 3px;

    margin: 11px auto 12px;

    background: #ff7518;

    border-radius: 3px;
}

.contact-intro p {
    margin: 0 auto;

    max-width: 700px;

    color: #687582;

    font-size: 14px;

    line-height: 1.6;
}


/* =========================================================
   OFFICE SECTION
========================================================= */

.office-section {
    width: 100%;

    margin-bottom: 30px;
}

.office-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 14px;
}


/* =========================================================
   OFFICE CARD
========================================================= */

.office-card {
    display: flex;

    gap: 12px;

    padding: 16px;

    background: #ffffff;

    border: 1px solid #e3e8ed;

    border-radius: 8px;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.05);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.office-card:hover {
    transform: translateY(-2px);

    box-shadow:
        0 7px 20px rgba(0, 0, 0, 0.08);
}


/* =========================================================
   OFFICE ICON
========================================================= */

.office-icon {
    width: 40px;
    height: 40px;

    min-width: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #eef6ff;

    color: #075fa8;

    font-size: 17px;
}

.office-content {
    min-width: 0;
}

.office-label {
    display: block;

    margin-bottom: 4px;

    color: #ff7518;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.1px;
}

.office-content h3 {
    margin: 0 0 6px;

    color: #0a355d;

    font-size: 17px;
}

.office-address {
    margin: 0 0 7px;

    color: #5e6b76;

    font-size: 11px;

    line-height: 1.45;
}

.office-coordinates {
    margin: 0 0 9px;

    color: #6c7882;

    font-size: 10px;
}

.office-coordinates i {
    color: #075fa8;

    margin-right: 4px;
}


/* =========================================================
   GOOGLE MAP BUTTON
========================================================= */

.google-location-btn {
    display: inline-flex;

    align-items: center;
    gap: 7px;

    padding: 7px 10px;

    color: #075fa8;

    background: #f2f7fc;

    border: 1px solid #d5e5f3;

    border-radius: 4px;

    font-size: 11px;
    font-weight: 600;

    text-decoration: none;

    transition: 0.2s ease;
}

.google-location-btn:hover {
    background: #075fa8;

    color: #ffffff;

    text-decoration: none;
}

body.site-typography main .office-grid .office-content h3 {
    font-size: 17px !important;
}

body.site-typography main .office-grid .office-address {
    font-size: 11px !important;
    line-height: 1.45 !important;
}

body.site-typography main .office-grid .office-coordinates {
    font-size: 9px !important;
    line-height: 1.4 !important;
}

body.site-typography main .office-grid .google-location-btn {
    font-size: 10px;
}

.google-location-btn .fa-google {
    font-size: 13px;
}


/* =========================================================
   MAP + FORM
========================================================= */

.contact-main-grid {
    display: grid;

    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);

    gap: 16px;

    align-items: stretch;
}


/* =========================================================
   COMMON BOX
========================================================= */

.contact-map-box,
.contact-form-box {
    background: #ffffff;

    border: 1px solid #e3e8ed;

    border-radius: 8px;

    padding: 16px;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.04);
}

.contact-map-box {
    display: flex;
    flex-direction: column;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {
    margin-bottom: 10px;
}

.contact-map-box .section-heading span {
    display: block;

    margin-bottom: 4px;

    color: #ff7518;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.5px;
}

.contact-main-grid .section-heading > h2 {
    margin: 0;

    color: #0a355d;
}


/* =========================================================
   MAP
========================================================= */

.contact-map {
    width: 100%;

    flex: 1;
    min-height: 330px;

    border-radius: 6px;

    overflow: hidden;

    border: 1px solid #dce4ea;
}

.leaflet-container {
    font-family: Arial, Helvetica, sans-serif;
}

.leaflet-popup-content {
    margin: 12px 14px;

    font-size: 13px;

    line-height: 1.5;
}


/* =========================================================
   MAP POPUP
========================================================= */

.map-popup {
    min-width: 210px;
}

.map-popup h3 {
    margin: 0 0 5px;

    color: #075fa8;

    font-size: 17px;
}

.map-popup .popup-type {
    display: block;

    margin-bottom: 7px;

    color: #ff7518;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.8px;
}

.map-popup p {
    margin: 0 0 8px;

    color: #555;

    font-size: 12px;
}

.map-popup a {
    display: inline-block;

    padding: 6px 9px;

    background: #075fa8;

    color: #ffffff;

    border-radius: 3px;

    text-decoration: none;

    font-size: 11px;
}

.map-popup a:hover {
    background: #064d88;
    color: #ffffff;
}


/* =========================================================
   MAP NOTE
========================================================= */

.map-note {
    display: flex;

    gap: 7px;

    margin-top: 9px;

    color: #6d7882;

    font-size: 10px;

    line-height: 1.4;
}

.map-note i {
    color: #075fa8;

    margin-top: 1px;
}


/* =========================================================
   FORM
========================================================= */

.contact-form {
    width: 100%;
}

.form-group {
    margin-bottom: 9px;
}

.form-group label {
    display: block;

    margin-bottom: 5px;

    color: #334653;

    font-size: 12px;
    font-weight: 600;
}

.input-wrapper {
    position: relative;
}

.input-wrapper > i {
    position: absolute;

    left: 11px;
    top: 50%;

    transform: translateY(-50%);

    color: #78909f;

    font-size: 12px;
}

.input-wrapper input {
    width: 100%;

    height: 39px;

    padding: 8px 10px 8px 34px;

    border: 1px solid #d7e0e6;

    border-radius: 4px;

    outline: none;

    color: #273845;

    background: #ffffff;

    font-size: 12px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.input-wrapper input:focus,
.contact-form textarea:focus {
    border-color: #075fa8;

    box-shadow:
        0 0 0 2px rgba(7, 95, 168, 0.08);
}

.contact-form textarea {
    width: 100%;

    min-height: 105px;

    padding: 10px;

    resize: vertical;

    border: 1px solid #d7e0e6;

    border-radius: 4px;

    outline: none;

    color: #273845;

    font-family: inherit;

    font-size: 12px;

    line-height: 1.5;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #9aa6ae;
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.contact-submit {
    width: 100%;

    min-height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    border: 0;

    border-radius: 4px;

    background: #075fa8;

    color: #ffffff;

    font-size: 13px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.contact-submit:hover {
    background: #064d88;
}

.contact-submit:disabled {
    opacity: 0.65;

    cursor: not-allowed;
}

body.site-typography main .contact-main-grid .contact-map-box,
body.site-typography main .contact-main-grid .contact-form-box {
    padding: 12px;
}

body.site-typography main .contact-main-grid .section-heading {
    margin-bottom: 7px;
}

body.site-typography main .contact-main-grid .section-heading > h2 {
    font-size: 20px !important;
}

body.site-typography main .contact-main-grid .section-heading > h4 {
    font-size: 14px !important;
    line-height: 1.35 !important;
}

body.site-typography main .contact-main-grid .contact-map {
    min-height: 260px;
}

body.site-typography main .contact-main-grid .map-note {
    margin-top: 6px;
    font-size: 9px;
}

body.site-typography main .contact-main-grid .form-group {
    margin-bottom: 6px;
}

body.site-typography main .contact-main-grid .form-group label {
    margin-bottom: 3px;
    font-size: 11px;
}

body.site-typography main .contact-main-grid .input-wrapper input {
    height: 34px;
    font-size: 11px;
}

body.site-typography main .contact-main-grid .contact-form textarea {
    height: 75px;
    min-height: 75px;
    padding: 8px;
    font-size: 11px;
}

body.site-typography main .contact-main-grid .contact-submit {
    min-height: 36px;
    font-size: 12px;
}

/* =========================================================
   FORM MESSAGE
========================================================= */

.contact-form-message {
    display: none;

    margin-top: 10px;

    padding: 9px 11px;

    border-radius: 4px;

    font-size: 12px;

    line-height: 1.4;
}

.contact-form-message.success {
    display: block;

    background: #eaf7ee;

    color: #22703b;

    border: 1px solid #ccebd5;
}

.contact-form-message.error {
    display: block;

    background: #fff0f0;

    color: #a02c2c;

    border: 1px solid #f0cccc;
}

.contact-form-message.warning {
    display: block;

    background: #fff8e6;

    color: #805b00;

    border: 1px solid #f0dda5;
}


/* =========================================================
   QUICK CONTACT
========================================================= */

.quick-contact {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 10px;

    margin-top: 16px;
}

.quick-contact-item {
    display: flex;

    align-items: center;

    gap: 8px;

    padding: 6px 10px;

    background: #ffffff;

    border: 1px solid #e3e8ed;

    border-radius: 7px;
}

.quick-icon {
    width: 32px;
    height: 32px;

    min-width: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #eef6ff;

    color: #075fa8;
}

.quick-contact-item span {
    display: block;

    margin-bottom: 0;

    color: #ff7518;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1px;
    line-height: 1;
}

.quick-contact-item a {
    display: block;

    color: #344955;

    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;

    text-decoration: none;
}

.quick-contact-item a:hover {
    color: #075fa8;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    width: 100%;

    background: #17344a;

    color: #ffffff;
    padding: 0;
}

body.site-typography footer .copyright {
    margin-top: 8px;
    padding: 8px 5%;
}

footer .f-col p a {
    color: #ffffff;
}

body.site-typography footer .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    color: #ffffff;
    font-size: 13px;
}

body.site-typography footer .footer-grid .f-col h5 {
    margin-bottom: 8px !important;
    color: #ffffff !important;
    font-size: 14px !important;
    line-height: 1.35;
}

body.site-typography footer .footer-grid .f-col p,
body.site-typography footer .footer-grid .f-col li,
body.site-typography footer .footer-grid .f-col li a {
    color: #ffffff !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
}

body.site-typography footer .footer-grid .f-col p {
    margin-bottom: 8px !important;
}


/* =========================================================
   FOOTER GRID
========================================================= */
