:root {
    --site-blue: #005e82;
    --site-blue-soft: #58858d;
    --site-accent: #35a8dd;
    --site-dark: #111827;
    --site-text: #1f2937;
    --site-muted: #6b7280;
    --site-border: #d7dde5;
    --site-bg: #ffffff;
    --site-shell: #f7fbfd;
    --container-max: 1200px;
    --gutter: 15px;
    --nav-h: 60px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--site-text);
    background: var(--site-bg);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.site {
    overflow-x: hidden;
}

.page-content {
    min-height: 40vh;
}

.boxed {
    width: 100%;
}

.container {
    width: min(100%, var(--container-max));
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: calc(var(--gutter) * -1);
    margin-right: calc(var(--gutter) * -1);
}

[class*="col-"] {
    width: 100%;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

.col-12,
.col-md-12,
.col-lg-12 {
    width: 100%;
}

.col-md-3,
.col-lg-3 {
    width: 25%;
}

.col-md-4 {
    width: 33.333333%;
}

.col-md-6 {
    width: 50%;
}

.col-md-8,
.col-lg-8 {
    width: 66.666667%;
}

.col-md-9 {
    width: 75%;
}

.d-flex {
    display: flex !important;
}

.align-items-center {
    align-items: center !important;
}

.align-items-start {
    align-items: flex-start !important;
}

.justify-content-center {
    justify-content: center !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.text-center {
    text-align: center !important;
}

.text-white {
    color: #fff !important;
}

.text-decoration-none {
    text-decoration: none !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

.p-3 {
    padding: 1rem !important;
}

.list-unstyled {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-40 {
    margin-bottom: 40px !important;
}

.button,
.content-reveal,
.nav-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 24px;
    border: 0;
    border-radius: 999px;
    background: var(--site-blue);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.button:hover,
.content-reveal:hover,
.nav-cta-btn:hover {
    background: var(--site-blue-soft);
    color: #fff;
    transform: translateY(-1px);
}

.flat-row,
.block.gray,
.blog-page-sec {
    padding: 40px 0;
}

.gray {
    background: #f8fbfd;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d1d9e2;
    border-radius: 8px;
    background: #fff;
}

textarea {
    min-height: 140px;
    resize: vertical;
}

.submit,
button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: 0;
    border-radius: 999px;
    background: var(--site-blue);
    color: #fff;
    font-weight: 700;
}

.flat-divider.d40px,
.flat-divider.d50px {
    display: block;
    width: 100%;
}

.flat-divider.d40px {
    height: 40px;
}

.flat-divider.d50px {
    height: 50px;
}

.widget {
    margin-bottom: 30px;
}

.widget-title {
    margin: 0 0 20px;
    font-size: 22px;
    font-weight: 800;
}

.textwidget p {
    margin: 0 0 14px;
}

.page-title {
    position: relative;
}

.page-title.d-flex.align-items-center {
    justify-content: center;
    min-height: 270px;
    padding: 0;
    color: #fff;
    text-align: center;
}

.page-title.d-flex.align-items-center .container,
.page-title.d-flex.align-items-center .row,
.page-title.d-flex.align-items-center .col-md-12,
.page-title.d-flex.align-items-center .page-title-heading {
    width: 100%;
    text-align: center;
}

.page-title-heading .title {
    margin: 0;
    font-size: 44px;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
}

.blog-post {
    background: #fff;
    border: 1px solid #e8eef5;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    margin-bottom: 28px;
}

.post-head img,
.post-featured-img img {
    width: 100%;
}

.post-content,
.post-body {
    padding: 24px;
}

.sidebar-box .widget,
.rd-question-box,
.service-single-sidebar,
.rd-services-box {
    background: #fff;
    border: 1px solid #e8eef5;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    padding: 24px;
}

.sidebar-box .widget-title {
    font-size: 24px;
}

.sticky-header-shell {
    position: relative;
    z-index: 100;
}

.site-brand {
    background: #fff;
    border-bottom: 1px solid #eef2f7;
}

.site-brand .col-md-12 {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-top: 8px !important;
    padding-bottom: 8px;
}

#logo.logo {
    display: flex;
    align-items: center;
    margin: 0;
}

#logo.logo .site-logo-img {
    max-height: 80px;
    width: auto;
}

.header-widgets {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
    margin: 0;
}

.header-widgets .widget {
    margin: 0;
}

.info-icon {
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-icon .icons,
.info-glyph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #eef8fc;
    color: var(--site-blue);
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
}

.info-icon .content {
    font-size: 14px;
    line-height: 1.4;
    color: #374151;
}

.info-icon .content a {
    color: var(--site-blue);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #eef8fc;
    color: var(--site-blue);
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.social-links a:hover {
    background: var(--site-blue);
    color: #fff;
}

.social-links svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

nav.navbar.bootsnav {
    position: relative;
    background: #fff;
    border-bottom: 1px solid #eef2f7;
    z-index: 99;
}

nav.navbar.bootsnav.is-stuck {
    position: sticky;
    top: 0;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

#navbar-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

#navbar-menu .nav.navbar-nav {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

#navbar-menu .nav.navbar-nav > li {
    position: relative;
    list-style: none;
}

#navbar-menu .nav.navbar-nav > li > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 18px 16px;
    text-decoration: none;
    color: var(--site-dark);
    font-weight: 700;
}

#navbar-menu .nav.navbar-nav > li.active > a,
#navbar-menu .nav.navbar-nav > li > a:hover {
    color: var(--site-blue);
}

.nav-link-caret,
.submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: currentColor;
}

.nav-link-caret::before,
.submenu-toggle::before,
.faq-chevron::before,
.service-card-arrow::before,
.go-top::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
}

.submenu-toggle {
    cursor: pointer;
    user-select: none;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    margin: 0;
    padding: 12px 0;
    list-style: none;
    background: #fff;
    border: 1px solid #e6edf5;
    box-shadow: 0 20px 28px rgba(15, 23, 42, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 30;
}

.dropdown:hover > .dropdown-menu,
.dropdown.open > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 18px;
    color: #374151;
    text-decoration: none;
    white-space: normal;
}

.dropdown-menu li a:hover {
    background: #f3faff;
    color: var(--site-blue);
}

#mobileMenuBtn {
    display: none;
}

.footer {
    background: #0f172a;
    color: #e5eef9;
}

.footer-widgets {
    padding: 50px 0 28px;
}

.footer .widget-title {
    color: #fff !important;
}

.footer .textwidget,
.footer .textwidget a {
    color: #d9e8f7;
}

.footer .textwidget a {
    text-decoration: none;
}

.footer .textwidget a:hover {
    color: #fff;
}

.footer-content {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 0;
}

.only_show {
    display: none;
}

.copyright-content {
    text-align: center;
    font-size: 14px;
}

.copyright-content a {
    color: #8ed7ff;
    text-decoration: none;
}

.go-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--site-blue);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 12px 18px rgba(15, 23, 42, 0.22);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 100;
}

.go-top.is-visible {
    opacity: 1;
    visibility: visible;
}

.go-top::before {
    transform: rotate(-135deg);
    margin-top: 4px;
}

.go-top:hover {
    transform: translateY(-2px);
}

.faq-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
}

.faq-chevron::before {
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.faq-chevron.is-open::before {
    transform: rotate(-135deg);
}

.service-card-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

.service-card-arrow-prev::before {
    transform: rotate(135deg);
}

.service-card-arrow-next::before {
    transform: rotate(-45deg);
}

@media (max-width: 991.98px) {
    .col-md-3,
    .col-md-4,
    .col-md-6,
    .col-md-8,
    .col-md-9,
    .col-lg-3,
    .col-lg-8 {
        width: 100%;
    }

    .site-brand .col-md-12 {
        display: block;
        text-align: center;
        padding-top: 14px !important;
    }

    .header-widgets {
        display: none !important;
    }

    #mobileMenuBtn {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 5px !important;
        position: absolute !important;
        top: 45% !important;
        right: 15px !important;
        transform: translateY(-50%) !important;
        width: 44px !important;
        height: 44px !important;
        padding: 10px 9px !important;
        background: var(--site-blue) !important;
        border: 0 !important;
        border-radius: 6px !important;
        z-index: 1050 !important;
    }

    #mobileMenuBtn .bar {
        width: 22px !important;
        height: 2px !important;
        background: #ffffff !important;
        border-radius: 2px !important;
        transition: transform 0.25s ease, opacity 0.2s ease !important;
    }

    #mobileMenuBtn.open .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg) !important;
    }

    #mobileMenuBtn.open .bar:nth-child(2) {
        opacity: 0 !important;
    }

    #mobileMenuBtn.open .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg) !important;
    }

    nav.navbar.bootsnav .container {
        padding: 0 !important;
    }

    #navbar-menu {
        display: none !important;
        position: fixed !important;
        top: 70px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: #fff !important;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18) !important;
        z-index: 99999 !important;
        max-height: calc(100vh - 80px) !important;
        overflow-y: auto !important;
        padding: 10px 0 !important;
        margin: 0 !important;
        border: 0 !important;
    }

    #navbar-menu.show {
        display: block !important;
    }

    #navbar-menu .nav.navbar-nav {
        display: block !important;
        width: 100% !important;
    }

    #navbar-menu .nav.navbar-nav > li {
        display: block !important;
        width: 100% !important;
        border-bottom: 1px solid #eee !important;
    }

    #navbar-menu .nav.navbar-nav > li > a {
        display: block !important;
        padding: 14px 20px !important;
    }

    #navbar-menu .dropdown {
        position: relative;
    }

    #navbar-menu .dropdown > .submenu-toggle {
        position: absolute;
        top: 0;
        right: 0;
        width: 52px;
        height: 48px;
        line-height: 48px;
    }

    #navbar-menu .dropdown.open > .submenu-toggle {
        transform: rotate(180deg);
    }

    #navbar-menu .dropdown-menu {
        display: none !important;
        position: static !important;
        width: 100% !important;
        min-width: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
        box-shadow: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        background: #f7fbfd !important;
    }

    #navbar-menu .dropdown.open > .dropdown-menu {
        display: block !important;
    }

    #navbar-menu .dropdown-menu li a {
        padding: 11px 32px !important;
        border-top: 1px solid #e5eef3 !important;
    }

    .nav-cta-btn {
        display: block;
        margin: 12px 16px 6px;
        text-align: center;
    }

    .footer-widgets {
        padding-bottom: 14px;
    }

    .only_show {
        display: block !important;
    }

    .mobile-view iframe {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .page-title-heading .title {
        font-size: 30px;
    }

    .page-title.d-flex.align-items-center {
        min-height: 200px;
    }

    .mobile-hide {
        display: none !important;
    }

    .mb-xs-30 {
        margin-bottom: 30px !important;
    }
}
