/* Site custom styles - layout inspired by common Bootstrap 3 e-services templates */

* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
    margin: 0;
    background: #f4f5f7;
    color: #333;
}

a {
    text-decoration: none;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.main-container {
    padding-top: 40px;
    background: #fff url('/assets/images/header-bg.png') center top repeat;
    background-size: 220px;
}

/* ---------- Header ---------- */
.header_s {
    background: #fff url('/assets/images/header-bg.png') center center / cover no-repeat;
    box-shadow: none;
}

.top-header {
    background: transparent;
    padding: 14px 0;
}

.top-header .container,
.top-header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    max-width: none;
    width: 100%;
    padding: 0 20px;
}

.top-header .navbar-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1c3f94;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 0;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

.top-header .lang-an {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #1c3f94;
    border-radius: 0;
    padding: 8px 30px;
    color: #1c3f94;
    font-weight: 600;
    font-size: 14px;
    background: #fff;
}

.top-header .lang-an .fa {
    border: 1px solid #1c3f94;
    border-radius: 50%;
    padding: 3px;
    font-size: 12px;
}

.top-header .lang-an-sm {
    padding: 4px 10px;
    font-size: 12px;
    gap: 5px;
}

.top-header .lang-an-sm .fa {
    padding: 2px;
    font-size: 10px;
}

.logo-block {
    width: 100%;
    text-align: center;
    padding: 0 !important;
    margin: 58px 0 -60px 0 !important;
    line-height: 0;
    font-size: 0;
    background: transparent;
    position: relative;
    z-index: 30;
}

.logo-block a {
    display: inline-block;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0;
}

.logo-block img {
    max-width: 100%;
    width: 860px;
    height: auto;
    max-height: 260px;
    display: block;
    margin: 0 auto !important;
    padding: 0 !important;
    object-fit: contain;
    object-position: center center;
}

.btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    border: 1px solid #d7d9e0;
    background: #fff;
    color: #2b3a67;
    cursor: pointer;
    font-size: 14px;
}

.btn-primary {
    background: #0c3a8f;
    border-color: #0c3a8f;
    color: #fff;
}

.menu-block {
    background: #fff;
}

.ownavigation {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 0;
    border-top: 1px solid #eee;
}

#navbar .nav {
    display: flex;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}

#navbar .nav li a {
    color: #2b3a67;
    font-weight: 600;
    font-size: 14px;
}

#navbar .nav li a:hover {
    color: #5b6fd8;
}

/* ---------- Page banner ---------- */
.page-banner {
    background: url('/assets/images/banner.png') center bottom / cover no-repeat;
    height: 520px;
    text-align: center;
    position: relative;
    margin-top: -20px;
}

.page-banner .page-title {
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 1px;
}

.custom-hero-banner-wrap {
    width: 100%;
    margin-top: 72px;
    position: relative;
    z-index: 1;
}

.custom-hero-banner-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.custom-hero-overlay-logo {
    position: absolute;
    top: -190px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 660px;
    width: 80%;
    height: auto;
    z-index: 6;
    pointer-events: none;
}

.custom-hero-title {
    position: absolute;
    left: 50%;
    top: 46%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.4px;
    z-index: 7;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
    white-space: nowrap;
}

/* ---------- Services menu ---------- */
.nav-menu-services {
    margin: -24px calc(-50vw + 50% + 19.5px) 10px;
    width: calc(100vw - 39px);
}

.nav-menu-services.banner-overlap {
    margin-top: -100px;
    position: relative;
    z-index: 5;
}

#ServiceMenu {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.srv-btn-card {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.srv-btn-card:last-child {
    border-bottom: none;
}

.srv-btn-card a {
    display: flex;
    align-items: center;
    gap: 26px;
    width: 100%;
    padding: 24px 40px 24px 24px;
    background: #0c3a8f;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    text-align: left;
    text-decoration: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    transition: background-color .15s ease;
}

.srv-btn-card a:focus,
.srv-btn-card a:active,
.srv-btn-card a:visited {
    outline: none;
    text-decoration: none;
    color: #fff;
}

.srv-btn-card a.menu-active {
    background: #8b8b8b;
}

.srv-btn-card .icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    color: #fff;
    flex-shrink: 0;
}

/* ---------- Panel / form ---------- */
.panel {
    background: #fff;
    border-radius: 0;
    box-shadow: none;
    margin: 0 calc(-50vw + 50%) 40px;
    width: 100vw;
}

.panel-body {
    padding: 40px 10px 56px;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d7d9e0;
    border-radius: 4px;
    font-size: 14px;
}

.lblTitle {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 13px;
    color: #444;
}

.col-only-btn-inline {
    display: flex;
    align-items: flex-end;
}

.inquiry-form-group {
    width: 100%;
    padding: 0;
}

.inquiry-form-group .lblTitle {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.inquiry-form-group .form-control {
    height: 36px;
    font-size: 14px;
    padding: 6px 16px;
    border-radius: 6px;
    margin-bottom: 24px;
    width: 100%;
}

.inquiry-form-group .btn-primary {
    padding: 6px 18px;
    font-size: 13px;
    border-radius: 4px;
}

.alert {
    padding: 12px 16px;
    border-radius: 6px;
    background: #eef0fb;
    color: #2b3a67;
}

.alert-error {
    background: #fdeceb;
    color: #b13a2f;
}

/* ---------- Footer ---------- */
.bg-main-blue {
    background: #0c3a8f;
    color: #cfd4e8;
    padding: 40px 0 10px;
}

.quicklist {
    list-style: none;
    margin: 0;
    padding: 0 0 0 52px;
}

.quicklist li {
    margin-bottom: 10px;
    position: relative;
}

.quicklist li::before {
    content: '\f105';
    font-family: 'FontAwesome';
    position: absolute;
    left: -26px;
    top: 0;
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
}

.quicklist a {
    color: #ffffff;
    font-size: 15px;
    font-weight: 400;
    display: inline-block;
    line-height: 1.5;
}

.quicklist a:hover {
    color: #fff;
}

.app-download-section {
    text-align: center;
    margin-bottom: 20px;
}

.app-title {
    color: #fff;
    margin-bottom: 10px;
}

.app-icons-container {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.mobile_img {
    height: 40px;
    width: auto;
}

.footer-main {
    background: #1a1a1a;
}

.bottom-footer {
    padding: 18px 0;
    text-align: center;
    color: #9aa3c4;
    font-size: 13px;
}

.bottom-footer a {
    color: #cfd4e8;
}

.social-icons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 10px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 16px;
    border-radius: 4px;
}

.social-icons a:hover {
    background: rgba(255, 255, 255, .16);
    color: #fff;
}

/* ---------- Layout helpers (lightweight grid) ---------- */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.row > [class*="col-"] {
    padding: 0 10px;
}

.col-md-3 { width: 25%; }
.col-md-4 { width: 33.333%; }
.col-md-6 { width: 50%; }
.col-md-9 { width: 75%; }

@media (max-width: 768px) {
    .row > [class*="col-md-"] {
        width: 100%;
    }

    #navbar .nav {
        flex-direction: column;
        gap: 10px;
    }

    .ownavigation {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
