:root {
    --brand-blue: #1171b9;
    --brand-navy: #07111f;
    --header-height: 76px;
}

/* ---- Site header ---- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(180deg, #06101d 0%, #0a1628 100%);
    border-bottom: 1px solid rgba(17, 113, 185, 0.28);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.site-header__inner {
    max-width: 1280px;
    margin: 0 auto;
    min-height: var(--header-height);
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.site-header__logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    text-decoration: none;
}

.site-header__logo img {
    display: block;
    max-height: 58px;
    width: auto;
    max-width: 260px;
}

.site-nav {
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
}

.site-nav__list,
.site-nav .site-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;
    float: none !important;
}

.site-nav__item,
.site-nav__lang,
.site-nav li {
    position: relative;
    display: block;
    float: none;
}

.site-nav__item > a,
.site-nav > ul > li > a,
.main-menu > ul > li > a,
.hd-style1 .main-menu > ul > li > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 12px;
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.2;
    text-decoration: none;
    text-transform: none;
    white-space: nowrap;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
}

.site-nav__item > a:hover,
.site-nav__item.is-active > a,
.site-nav > ul > li > a:hover,
.main-menu > ul > li > a:hover {
    color: #fff !important;
    background: rgba(17, 113, 185, 0.18);
}

.site-nav__item.is-active > a,
.site-nav > ul > li.active > a {
    color: #fff !important;
}

.site-nav__item.is-active > a::after,
.site-nav > ul > li.active > a::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 4px;
    height: 2px;
    background: var(--brand-blue);
    border-radius: 2px;
}

.site-nav__item > a i,
.main-menu ul li a i {
    margin-left: 0;
    font-size: 11px;
    opacity: 0.75;
}

/* Kill old theme active dashed underline */
.main-menu ul li.active::before,
.site-nav li.active::before,
.site-nav__item.is-active::before {
    display: none !important;
    content: none !important;
    border: 0 !important;
}

.site-nav__dropdown,
.site-nav ul ul,
.main-menu ul ul {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 220px;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: #0c1a2e;
    border: 1px solid rgba(17, 113, 185, 0.35);
    border-radius: 10px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    z-index: 1001;
}

.site-nav__item:hover > .site-nav__dropdown,
.site-nav li:hover > ul,
.main-menu ul li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.site-nav__dropdown li,
.main-menu ul ul li {
    width: 100%;
    float: none;
}

.site-nav__dropdown a,
.main-menu ul ul li a {
    display: block;
    padding: 10px 12px;
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    border-radius: 6px;
    background: transparent !important;
}

.site-nav__dropdown a:hover,
.main-menu ul ul li a:hover {
    background: rgba(17, 113, 185, 0.22) !important;
    color: #fff !important;
}

.site-nav__lang {
    margin-left: 8px;
}

.site-nav__lang > a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    padding: 7px 12px !important;
    border: 1px solid rgba(17, 113, 185, 0.7);
    border-radius: 999px;
    color: #fff !important;
    background: rgba(17, 113, 185, 0.15);
    font-size: 12px !important;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.site-nav__lang > a:hover,
.site-nav__lang > a.active {
    background: var(--brand-blue) !important;
    border-color: var(--brand-blue);
    color: #fff !important;
}

.site-nav__lang > a::after {
    display: none !important;
}

/* Footer logo */
.footer-wedget-one img {
    width: auto !important;
    max-width: 280px;
    max-height: 72px;
    margin-top: 0;
    filter: none;
}

.footer-wedget-four .inner-text,
.footer-wedget-four .inner-text a,
.footer-wedget-four a[href^="mailto:"] {
    color: #ffffff !important;
}

.footer-wedget-four .inner-text a:hover {
    color: #9fd4f5 !important;
}

/* Legacy theme header leftovers */
.hd-style1 .hd-sec {
    display: none;
}

/* ---- Page loader (drill-ship clip) ---- */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(1px);
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#preloader.is-done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#preloader-status {
    position: static;
    margin: 0;
    width: min(420px, 72vw);
    height: auto;
    background: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

#preloader-video {
    width: 100%;
    height: auto;
    display: block;
    background: transparent;
}

body:not(.is-loaded) {
    overflow: hidden;
}


.video-hero {
    position: relative;
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100dvh - var(--header-height));
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--brand-navy);
}

.video-hero video,
.pagehding-video video,
.video-band video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-hero-overlay,
.pagehding-video .pagehding-overlay,
.video-band-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 17, 31, 0.82) 0%, rgba(7, 17, 31, 0.45) 55%, rgba(7, 17, 31, 0.28) 100%);
}

.video-hero-copy {
    position: relative;
    z-index: 2;
    padding: 90px 0 70px;
}

.video-hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 36px;
    align-items: center;
    padding: 70px 0 60px;
}

.video-hero-layout .video-hero-copy {
    padding: 0;
}

.video-hero-form {
    width: 100%;
    max-width: 420px;
    margin-left: auto;
}

.brand-contact-form {
    width: 100%;
}

.brand-contact-form__head {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand-contact-form__head h3 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    letter-spacing: -0.01em;
}

.brand-contact-form__head p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    line-height: 1.5;
}

.brand-contact-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 12px;
    margin-bottom: 18px;
}

.brand-contact-form__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
}

.brand-contact-form__field--full {
    grid-column: 1 / -1;
}

.brand-contact-form__field > span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.brand-contact-form__field input,
.brand-contact-form__field textarea {
    width: 100%;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 0;
    background: transparent;
    color: #fff;
    padding: 8px 0 10px;
    font-size: 15px;
    line-height: 1.3;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.brand-contact-form__field textarea {
    resize: vertical;
    min-height: 72px;
    line-height: 1.45;
}

.brand-contact-form__field input:focus,
.brand-contact-form__field textarea:focus {
    border-bottom-color: var(--brand-blue);
    box-shadow: 0 1px 0 0 var(--brand-blue);
}

.brand-contact-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    border: 0;
    background: var(--brand-blue);
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.02em;
    padding: 13px 22px;
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.brand-contact-form__submit i {
    font-size: 12px;
    transition: transform 0.25s ease;
}

.brand-contact-form__submit:hover {
    background: #0e63a3;
    box-shadow: 0 8px 20px rgba(17, 113, 185, 0.35);
}

.brand-contact-form__submit:hover i {
    transform: translateX(4px);
}

.brand-contact-form--hero {
    background: linear-gradient(165deg, rgba(7, 17, 31, 0.22) 0%, rgba(7, 17, 31, 0.12) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 2px solid var(--brand-blue);
    padding: 26px 26px 24px;
    backdrop-filter: blur(16px) saturate(1.15);
    -webkit-backdrop-filter: blur(16px) saturate(1.15);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.brand-contact-form--hero .brand-contact-form__grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.brand-contact-form--hero .brand-contact-form__field--full {
    grid-column: auto;
}

.brand-contact-form--hero .brand-contact-form__head {
    margin-bottom: 22px;
    padding-bottom: 14px;
}

.brand-contact-form--hero .brand-contact-form__head h3 {
    font-size: 24px;
}

.brand-contact-form--hero .brand-contact-form__field > span {
    transition: color 0.25s ease;
}

.brand-contact-form--hero .brand-contact-form__field:focus-within > span {
    color: #9fd4f5;
}

.brand-contact-form--hero .brand-contact-form__field input,
.brand-contact-form--hero .brand-contact-form__field textarea {
    padding: 10px 0 12px;
}

.brand-contact-form--page {
    background: #fff;
    border: 1px solid rgba(17, 113, 185, 0.14);
    border-left: 2px solid var(--brand-blue);
    padding: 28px 30px;
    box-shadow: 0 10px 28px rgba(7, 17, 31, 0.05);
}

.brand-contact-form--page .brand-contact-form__head {
    border-bottom-color: rgba(7, 17, 31, 0.08);
}

.brand-contact-form--page .brand-contact-form__head--compact {
    margin-bottom: 16px;
    padding-bottom: 12px;
}

.brand-contact-form--page .brand-contact-form__head h3 {
    color: #07111f;
}

.brand-contact-form--page .brand-contact-form__head p {
    color: #5b6775;
}

.brand-contact-form--page .brand-contact-form__field > span {
    color: #7a8794;
}

.brand-contact-form--page .brand-contact-form__field input,
.brand-contact-form--page .brand-contact-form__field textarea {
    border-bottom-color: #d7e1ec;
    color: #07111f;
}

.brand-contact-form--page .brand-contact-form__field input:focus,
.brand-contact-form--page .brand-contact-form__field textarea:focus {
    border-bottom-color: var(--brand-blue);
}

@media (max-width: 575px) {
    .brand-contact-form__grid {
        grid-template-columns: 1fr;
    }

    .video-hero-form {
        max-width: none;
        margin-left: 0;
    }
}

.brand-flash-wrap {
    position: relative;
    z-index: 20;
    padding: 12px 0 0;
}

.brand-flash {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 14px;
}

.brand-flash--success {
    background: #e8f7ee;
    color: #146c43;
    border: 1px solid #b7e4c7;
}

.brand-flash--error {
    background: #fdecec;
    color: #b02a37;
    border: 1px solid #f1c0c5;
}

.contact-map {
    width: 100%;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid #e6ebf0;
    box-shadow: 0 10px 30px rgba(7, 17, 31, 0.06);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: 0;
}

.contact-intro {
    padding-right: 12px;
}

.contact-intro__title {
    margin: 0 0 18px;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #07111f;
    text-align: left;
}

.contact-intro__title span {
    color: var(--brand-blue);
}

.contact-intro p {
    margin: 0 0 12px;
    color: #5b6775;
    font-size: 15px;
    line-height: 1.7;
}

.contact-intro p:last-child {
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .contact-intro {
        padding-right: 0;
        margin-bottom: 28px;
    }

    .contact-intro__title {
        font-size: 28px;
    }
}

@media (max-width: 991px) {
    .video-hero-layout {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 48px 0 40px;
    }

    .video-hero {
        height: auto;
        min-height: calc(100dvh - 64px);
    }
}

.video-hero-copy h1 {
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 18px;
    text-transform: none;
}

.video-hero-copy h1 span {
    color: var(--brand-blue);
}

.video-hero-copy p {
    color: #d7e0ea;
    font-size: 17px;
    max-width: 560px;
    margin-bottom: 28px;
}

.video-hero-copy ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.video-hero-copy ul li {
    display: inline-block;
    margin-right: 10px;
}

.video-hero-copy ul li a {
    display: inline-block;
    padding: 10px 22px;
    background: var(--brand-blue);
    color: #fff;
    font-weight: 600;
    font-size: 13px;
}

.video-hero-copy ul li:last-child a {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.pagehding-video {
    position: relative;
    overflow: hidden;
    background: var(--brand-navy);
    padding: 72px 0;
}

.pagehding-image {
    position: relative;
    overflow: hidden;
    background-color: var(--brand-navy);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 72px 0;
}

.pagehding-video .page-heading,
.pagehding-image .page-heading {
    position: relative;
    z-index: 2;
}

/* Breadcrumb: Home = white link, current page title = light blue (not gray) */
.pagehding-sec .page-heading ul li,
.page-heading ul li {
    color: #9fd4f5 !important;
}

.pagehding-sec .page-heading ul li a,
.page-heading ul li a {
    color: #ffffff !important;
}

.pagehding-sec .page-heading ul li a:hover,
.page-heading ul li a:hover {
    color: #9fd4f5 !important;
}

.pagehding-sec .page-heading ul li:last-child,
.page-heading ul li:last-child,
.page-heading__current {
    color: #9fd4f5 !important;
}

.pagehding-sec .page-heading ul li:last-child a,
.page-heading ul li:last-child a {
    color: #9fd4f5 !important;
}

.video-band {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--brand-navy);
}

.video-band-copy {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 560px;
}

.video-band-copy h1 {
    color: #fff;
    margin-bottom: 16px;
}

.video-band-copy p {
    color: #d7e0ea;
    margin-bottom: 0;
}

.about-us-img {
    background: #07111f;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
}

.about-us-img img {
    max-width: 220px;
    height: auto;
}

.ref-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.ref-item p {
    color: #555;
    margin: 0;
    font-size: 14px;
}

.service2-details h2 a {
    font-size: 18px;
}

.service2-item > .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.service2-item > .row > [class*="col-"] {
    display: flex;
    margin-bottom: 24px;
}

.service2-item .service2-inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service2-item .service2-inner .media {
    display: flex;
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
}

.service2-item .service2-inner .media-body,
.service2-item .service2-details {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.service2-item .service2-details p {
    margin-bottom: 0;
}

@media (max-width: 1199px) {
    .site-header__inner {
        padding: 0 16px;
        gap: 12px;
    }

    .site-header__logo img {
        max-height: 44px;
        max-width: 180px;
    }

    .site-nav__item > a,
    .site-nav > ul > li > a,
    .main-menu > ul > li > a {
        font-size: 12px;
        padding: 8px 8px;
    }
}

@media (max-width: 991px) {
    .site-header__inner {
        min-height: 64px;
    }

    .mean-container a.meanmenu-reveal {
        top: -52px;
        color: #fff;
    }

    .mean-container a.meanmenu-reveal span {
        background: #fff;
    }

    .mean-container .mean-nav {
        background: #0a1628;
    }

    .mean-container .mean-nav ul li a {
        color: #fff;
        border-color: rgba(255, 255, 255, 0.08);
    }

    .video-hero-copy h1 {
        font-size: 32px;
    }

    .video-hero {
        height: auto;
        min-height: calc(100dvh - 64px);
    }
}
