html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    padding-top: 119.53px;
    overflow-x: hidden;
}

.logo {
    width: auto;
    max-height: 67.75px;
}

.container {
    padding: 0;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: white !important;
    padding-top: 21px;
    padding-bottom: 21px;
}

    .navbar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        max-width: 100%;
        padding-left: 50px;
        padding-right: 50px;
    }

.navbar-nav .nav-item {
    margin-right: 50px;
}

    .navbar-nav .nav-item:last-child {
        margin-right: 60px;
    }

.navbar-nav .nav-link {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    color: rgb(6, 7, 16) !important;
    text-transform: uppercase;
    font-size: 17.84px;
    padding: 0 !important;
    transition: color 0.3s ease-in-out;
}

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: var(--main-color) !important;
    }

.navbar-toggler {
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
    outline: none;
}

    .navbar-toggler:focus {
        outline: none;
        box-shadow: none;
    }

    .navbar-toggler:focus-visible {
        outline: 2px solid rgb(35, 44, 101);
        border-radius: 4px;
    }

/* Custom Burger Lines */
.burger-line {
    display: block;
    width: 30px;
    height: 4px;
    background-color: var(--main-color);
    transition: background-color 0.3s ease-in-out;
}

.navbar-toggler:hover .burger-line,
.navbar-toggler:active .burger-line,
.navbar-toggler[aria-expanded="true"] .burger-line {
    background-color: rgb(35, 44, 101);
}

h1, h2, h3, p, a {
    font-family: 'Open Sans', sans-serif;
}

.search-icon {
    font-size: 24px;
    color: rgb(6, 7, 16);
    margin-right: 50px;
}

    .search-icon:hover {
        transform: scale(1.2);
        transition: transform 0.2s ease-in-out;
        color: var(--main-color);
    }

.search-btn {
    background-color: var(--main-color);
    color: white !important;
    width: 220px;
    height: 41px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 600;
    border-radius: 0;
    text-decoration: none;
    border: none;
    transition: background-color 0.3s ease-in-out;
}

    .search-btn:hover {
        background-color: rgb(35, 44, 101) !important;
    }

.contact-btn {
    background-color: var(--main-color);
    color: white !important;
    width: 220px;
    height: 41px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 600;
    border-radius: 0;
    text-decoration: none;
    border: none;
    transition: background-color 0.3s ease-in-out;
}

    .contact-btn:hover {
        background-color: rgb(35, 44, 101) !important;
    }

.contact-btn-marine {
    background-color: rgb(35, 44, 101);
    color: white !important;
    width: 220px;
    height: 41px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 600;
    border-radius: 0;
    text-decoration: none;
    border: none;
    transition: background-color 0.3s ease-in-out;
}

    .contact-btn-marine:hover {
        background-color: var(--main-color) !important;
    }

.long-btn {
    background-color: var(--main-color);
    color: white !important;
    height: 41px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 600;
    border-radius: 0;
    text-decoration: none;
    border: none;
    transition: background-color 0.3s ease-in-out;
    padding: 0 30px;
    width: fit-content;
    min-width: max-content;
}

    .long-btn:hover {
        background-color: rgb(35, 44, 101) !important;
    }

/* ~~~~~~~~~~~~~~~~ Burger Menu ~~~~~~~~~~~~~~~~ */
.burger-menu {
    width: 34px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    position: relative;
    margin-left: 50px;
}

    /* Burger Lines */
    .burger-menu span {
        display: block;
        width: 100%;
        height: 5px;
        background-color: var(--main-color);
        transition: background-color 0.3s ease-in-out;
    }

    .burger-menu:hover span,
    .burger-menu:active span {
        background-color: rgb(35, 44, 101) !important;
    }

/* ~~~~~~~~~~~~~~~~ Right Menu (Opens Below the Burger) ~~~~~~~~~~~~~~~~ */
.right-menu {
    width: 250px;
    height: auto;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: rgb(35, 44, 101);
    padding: 40px;
    border-radius: 0;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    text-align: left;
    display: none;
    margin-top: 20px;
}

    .right-menu.open {
        display: block;
    }

.right-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .right-menu-list li {
        padding: 10px 0;
    }

        .right-menu-list li a {
            color: white;
            font-size: 16px;
            text-decoration: none;
            display: block;
            transition: color 0.3s;
            text-transform: uppercase;
        }

            .right-menu-list li a:hover {
                color: white;
                font-weight: 600;
            }

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s;
}

    .close-btn:hover {
        color: white;
        font-weight: bold;
    }

/* ~~~~~~~~~~~~~~~~ Breadcrumb Section ~~~~~~~~~~~~~~~~ */
.breadcrumbs-section {
    background-color: rgb(35, 44, 101);
    padding: 25px 0;
    width: 100%;
}

    .breadcrumbs-section .container {
        padding-left: 50px;
        padding-right: 50px;
        width: 100%;
        max-width: 100%;
    }

.breadcrumbs-title {
    color: white;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 600;
    margin: 0;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: white;
    padding: 0 8px 0 0;
    font-size: 17px;
    font-weight: 500;
}

.breadcrumb-item a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

    .breadcrumb-item a:hover {
        text-decoration: underline;
    }

.breadcrumb-item.active {
    color: var(--main-color);
    font-weight: bold;
}

/* Floating Breadcrumbs (Hidden by Default) */
.floating-breadcrumbs {
    position: fixed;
    top: 119.53px;
    left: 0;
    width: 100%;
    background-color: rgba(35, 44, 101, 1);
    z-index: 999;
    padding: 5px 0;
    display: none;
}

/* Floating Breadcrumbs Title */
.floating-breadcrumbs-title {
    color: white;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 600;
    margin: 0;
}

/* Breadcrumb Navigation */
.floating-breadcrumbs .container {
    padding-left: 50px;
    padding-right: 50px;
    width: 100%;
    max-width: 100%;
}

.floating-breadcrumbs .breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
}

.floating-breadcrumbs .breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: white;
    padding: 0 8px;
    font-size: 17px;
    font-weight: 500;
}

.floating-breadcrumbs .breadcrumb-item a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

    .floating-breadcrumbs .breadcrumb-item a:hover {
        text-decoration: underline;
    }

.floating-breadcrumbs .breadcrumb-item.active {
    color: var(--main-color);
    font-weight: bold;
    padding-left: 1px;
}

/* ~~~~~~~~~~~~~~~~ Hero Section ~~~~~~~~~~~~~~~~ */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: 800px;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 110%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.hero.contact-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-section {
    padding-top: 90px;
    padding-bottom: 90px;
    background-color: #f9f9f9;
}

    .contact-section .container {
        padding-left: 50px;
        padding-right: 50px;
    }

        .contact-section .container .row .section-text {
            margin-bottom: -20px;
        }

    .contact-section .social-media {
        padding-top: 30px;
        padding-left: 0px;
    }

    .contact-section .contact-btn {
        margin-top: 20px;
    }

.form-control.textarea-remarks {
    height: 150px;
    resize: vertical;
}

.form-control.custom-select {
    appearance: none;
    background-color: white;
    padding: 10px;
    font-size: 16px;
    color: black;
    position: relative;
    width: 100%;
    cursor: pointer;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 10" fill="var(--main-color)"><polygon points="0,0 20,0 10,10"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
}

.contact-form {
    padding-right: 110px;
}

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        width: 100%;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 3px;
        font-size: 14px;
    }

    .contact-form .umbraco-forms-form textarea {
        min-width: 100%;
    }

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 18px;
}

    .checkbox-group label {
        display: flex;
        align-items: center;
        font-size: 16px;
        color: black;
        gap: 8px;
        cursor: pointer;
        line-height: 1.5;
    }

.umbraco-forms-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    vertical-align: middle;
    position: relative;
    top: -1px;
    margin-bottom: 0px;
    margin-right: 10px;
}

.networking-col {
    padding-left: 0px;
}

.networking-info {
    text-align: left;
}

    .networking-info p {
        font-size: 16px;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
    }

    .networking-info i {
        font-size: 20px;
        color: var(--main-color);
        margin-right: 10px;
    }

/* Show fallback image if video is unsupported */
@supports not (object-fit: cover) {
    .hero-video {
        display: none;
    }

    .hero-img {
        display: block;
    }
}

.info-section {
    background-color: #f9f9f9;
    padding-top: 90px;
    padding-bottom: 90px;
    text-align: center;
}

.info-title {
    color: rgb(35, 44, 101);
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 34px;
}

.info-subtitle {
    color: rgb(35, 44, 101);
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 34px;
    margin-top: -10px;
}

.info-text {
    color: black;
    font-size: 17px;
    margin: 0 auto 34px auto;
    font-weight: 300;
}

    .info-text a {
        color: var(--main-color);
        font-weight: bold;
        text-decoration: none;
    }

        .info-text a:hover {
            color: rgb(35, 44, 101);
        }

.centered-image {
    width: 250px;
    display: block;
    margin: 20px auto 20px auto;
}

.one-column-section {
    padding-top: 90px;
    padding-bottom: 90px;
    background-color: #f9f9f9;
}

/* Two-Column Section */
.two-column-section {
    padding-top: 90px;
    padding-bottom: 90px;
}

.two-column-section-img-scroll {
    padding-top: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #c5c5c5;
}

.two-column-teaser-section {
    padding-top: 90px;
}

.two-column-section .row {
    min-height: 500px;
}

.two-column-teaser-section .row {
    min-height: 500px;
}

.two-column-teaser-section .text-content {
    color: black;
}


.two-column-section .white-background {
    color: black;
    padding: 30px 50px;
}

.two-column-section .section-text ul {
    list-style: none;
    padding-left: 0; 
}

.two-column-section .section-text li {
    line-height: 2;
    position: relative;
    padding-left: 1.6em;
}

.two-column-section .section-text ul li::before {
    content: "";
    display: inline-block;
    background: var(--main-color);
    border-radius: 99px;
    width: 5px;
    height: 5px;
    position: absolute;
    left: 0;
    top: 0.8em;
}

.image-section {
    min-height: 500px;
    position: relative;
    z-index: 1;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    height: 130%;
    transition: transform 0.2s ease-out;
}

@media (min-width: 1700px) {
    .image-section {
        height: 150%;
    }
}

.col-md-6 {
    overflow: hidden;
    padding-left: 0px;
    padding-right: 0px;
}

.text-content {
    padding: 86px 73px;
    color: white;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-weight: 300;
    position: relative;
    z-index: 2;
    background-color: inherit;
}

.addresses-section {
    padding-top: 90px;
    padding-bottom: 90px;
    background-color: #fff;
}

    .addresses-section .container .row:not(:last-child) {
        margin-bottom: 45px;
    }

.address-container {
    text-align: center;
}

.address-text {
    font-size: 16px;
    color: #000;
    margin-bottom: 30px;
}

.location-icon {
    color: var(--main-color);
    font-size: 20px;
    margin-bottom: 5px;
}

.map-container {
    border-radius: 0;
    overflow: hidden;
    margin-left: 30px;
    margin-right: 30px;
}

.section-title {
    font-size: 35px;
    font-weight: bold;
    margin-bottom: 15px;
}

.section-title-marine {
    font-size: 35px;
    font-weight: bold;
    margin-bottom: 15px;
    color: rgb(35, 44, 101);
}

.section-subtitle-marine {
    font-size: 25px;
    font-style: italic;
    margin-bottom: 25px;
    color: rgb(35, 44, 101);
    margin-top: -18px;
}

.section-text {
    font-size: 17px;
    margin-bottom: 30px;
    line-height: 1.3;
}

    .section-text a {
        color: var(--main-color);
        font-weight: bold;
        text-decoration: none;
    }

        .section-text a:hover {
            color: rgb(35, 44, 101);
        }

.border-btn {
    color: white !important;
    border: 2px solid white;
    border-radius: 0;
    width: 220px;
    height: 41px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

    .border-btn:hover {
        background-color: white;
        color: rgb(66, 105, 159) !important;
    }

/* ~~~~~~~~~~~~~~~~ FOOTER MENU SECTION ~~~~~~~~~~~~~~~~ */
.footer-menu {
    background-color: #white;
    color: black;
    overflow: visible;
}

    .footer-menu .row {
        display: flex;
        flex-wrap: wrap;
    }

.footer-title {
    color: rgb(35, 44, 101);
    padding-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    display: inline-block;
}

/* ~~~~~~~~~~~~~~~~ Column 1: Background Image ~~~~~~~~~~~~~~~~ */
.contact-image {
    background-size: contain;
    background-position: calc(100% - 70px) center; /* Shift image to the left */
    background-repeat: no-repeat;
    min-height: 360px;
    opacity: 0.1;
    overflow: visible;
}

/* ~~~~~~~~~~~~~~~~ Column 2: Contact Info ~~~~~~~~~~~~~~~~ */
.contact-info, .customer-service, .social-media {
    position: relative;
    z-index: 2;
    font-size: 14px;
    padding-top: 70px;
    padding-left: 45px;
    word-wrap: break-word;
    white-space: normal;
    overflow-wrap: break-word;
    display: block;
    max-width: 100%;
    word-break: break-word;
}

    .contact-info p {
        display: flex;
        align-items: flex-start;
        margin-bottom: 10px;
    }

    .contact-info i {
        font-size: 18px;
        color: var(--main-color);
        margin-right: 10px;
        width: 24px;
        text-align: center;
        line-height: 1.3;
    }

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

    .contact-item i {
        font-size: 18px;
        color: var(--main-color);
        margin-right: 10px;
        width: 24px;
        text-align: center;
        line-height: 1.3;
        flex-shrink: 0;
    }

.contact-text {
    line-height: 1.4;
}

/* ~~~~~~~~~~~~~~~~ Customer Service List ~~~~~~~~~~~~~~~~ */
.customer-service ul {
    list-style: none;
    padding: 0;
}

    .customer-service ul li {
        margin-bottom: 5px;
    }

        .customer-service ul li a {
            color: black;
            text-decoration: none;
            transition: color 0.3s;
        }

            .customer-service ul li a:hover {
                color: var(--main-color);
                font-weight: 600;
            }

/* ~~~~~~~~~~~~~~~~ Column 4: Social Media ~~~~~~~~~~~~~~~~*/
.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    background-color: rgb(35, 44, 101);
    color: white !important;
    font-size: 18px;
    width: 35px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    border-radius: 8px;
    margin-right: 6px;
    transition: background-color 0.3s;
    text-decoration: none;
}

    .social-icon i {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .social-icon:hover {
        background-color: var(--main-color);
        transform: scale(1.05);
    }

/*  ~~~~~~~~~~~~~~~~  FOOTER  ~~~~~~~~~~~~~~~~  */
.footer {
    display: flex;
    justify-content: space-between; /* Ensures text stays left & right */
    align-items: center;
    background-color: rgb(35, 44, 101);
    color: white;
    height: 35px;
}

    .footer .container {
        padding-left: 50px;
        padding-right: 50px;
        width: 100%;
        max-width: 100%;
    }

.footer-text {
    font-size: 13px;
    margin: 0;
}

/* Align Left Text */
.text-left {
    text-align: left;
}

/* Align Right Text */
.text-right {
    text-align: right;
}

/*  ~~~~~~~~~~~~~~~~  CALL BUTTON  ~~~~~~~~~~~~~~~~  */
.call-button-container {
    position: fixed;
    bottom: 50px;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    pointer-events: none;
    z-index: 1000;
    text-align: center;
}

.call-button {
    background-color: var(--main-color);
    color: white;
    width: 75px;
    height: 75px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 50%;
    font-size: 35px;
    text-decoration: none;
    pointer-events: auto;
    position: relative;
    margin-right: 45px;
    transition: all 0.4s ease-in-out;
    overflow: visible;
}

    .call-button:hover {
        background-color: rgb(35, 44, 101);
    }

.call-text-button {
    display: none;
    position: absolute;
    color: white;
    font-size: 11px;
    z-index: 9999;
    text-transform: uppercase;
}

.speech-bubble {
    display: none;
    position: absolute;
    background-color: var(--main-color);
    border-radius: 20px;
    padding: 10px 15px;
    max-width: 300px;
    text-align: center;
    text-align: center;
    bottom: 90px; /* Height of the button plus some space */
    right: 16px; /* Align with the right edge of the container */
    z-index: 9999;
    transition: background-color 0.4s ease;
}

    .speech-bubble::after {
        content: "";
        position: absolute;
        top: 100%; /* Position right at the bottom of the bubble */
        left: 25%; /* Center the tail under the bubble */
        width: 0;
        height: 0;
        border: 10px solid transparent;
        border-top-color: var(--main-color);
        transform: translateX(-50%); /* Center the tail */
        z-index: 9999;
        transition: border-top-color 0.4s ease;
    }

.call-button-container:hover .call-text-button {
    display: block !important;
}

.call-button-container:hover .speech-bubble,
.call-button-container:hover .speech-bubble::after {
    display: block !important;
}

.call-button-container:hover .speech-bubble {
    background-color: rgb(35, 44, 101);
}

    .call-button-container:hover .speech-bubble::after {
        border-top-color: rgb(35, 44, 101);
    }

.call-button-img {
    width: 55px;
    height: auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: transform 0.4s ease;
}



/* ~~~~~~~~~~~~~~~~ QUOTE SECTION ~~~~~~~~~~~~~~~~ */
.quote-section {
    text-align: center;
    padding-top: 90px;
    padding-bottom: 90px;
    background-color: #f9f9f9;
}

.quote-text {
    font-weight: 700;
    color: rgb(35, 44, 101);
    font-style: italic;
    line-height: 1.3;
    position: relative;
    display: inline-block; /* Ensures the text is inline but can be centered */
    max-width: 90%; /* Prevents the text from being too wide */
}

.quote-author {
    color: rgb(35, 44, 101);
    font-style: italic;
    line-height: 1.3;
}

    .quote-text::before,
    .quote-text::after {
        color: var(--main-color);
        font-family: "Font Awesome 5 Free"; /* Make sure this matches your actual FontAwesome font-family */
        content: "\f10d"; /* FontAwesome unicode for left quote */
    }

    .quote-text::after {
        content: "\f10e"; /* FontAwesome unicode for right quote */
    }

/*  ~~~~~~~~~~~~~~~~  POP IMAGE  ~~~~~~~~~~~~~~~~  */
.pop-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .pop-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.4s ease-in-out;
    }

    .pop-image:hover img {
        transform: scale(1.10);
    }

/*  ~~~~~~~~~~~~~~~~  DUAL CARD/TEASER SECTION  ~~~~~~~~~~~~~~~~  */
.dual-card-section {
    padding-top: 90px;
    padding-bottom: 90px;
}

.dual-card-section .card-box{
    padding-right: 15px;
    padding-left: 15px;
}

    .dual-card-section .container .row:not(:last-child) {
        margin-bottom: 35px;
    }

.card-box {
    background: white;
    overflow: hidden;
    padding-right: 0px;
    padding-left: 0px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

    .card-box img {
        width: 100%;
        height: auto;
        display: block;
    }

.card-content {
    padding: 30px 15px 20px 15px;
}

.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

    .image-container a {
        display: inline-block;
    }

/*  ~~~~~~~~~~~~~~~~  CATEGORY SEARCH  ~~~~~~~~~~~~~~~~  */
.category-search {
    padding: 30px 0 30px 0;
    text-align: center;
}

    .category-search .container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

.category-search-title {
    font-weight: 600;
    color: rgb(35, 44, 101);
    font-size: 16px;
    margin-right: 10px;
    margin-bottom: 0;
    white-space: nowrap;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 0;
    margin: 0;
    list-style: none;
    justify-content: center;
}

    .category-list li {
        display: flex;
        align-items: center;
        white-space: nowrap;
    }

        .category-list li:not(:last-child)::after {
            content: "|";
            color: var(--main-color);
            margin-left: 15px;
        }

        .category-list li .active {
            font-weight: bold;
        }

    .category-list a {
        text-decoration: none;
        color: rgb(35, 44, 101);
        font-size: 16px;
        transition: color 0.3s ease-in-out;
    }

        .category-list a:hover {
            color: var(--main-color);
        }


/*  ~~~~~~~~~~~~~~~~  NEWS SECTION  ~~~~~~~~~~~~~~~~  */
.news-section {
    padding-top: 90px;
    padding-bottom: 90px;
}

.news-section .news-text{
    min-height: 45px;
}

.news-card {
    background: white;
    overflow: hidden;
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 30px 10px 40px 10px;
    text-align: left;
}

.news-title {
    font-size: 18px;
    font-weight: bold;
    color: rgb(35, 44, 101);
}

.news-text {
    font-size: 14px;
    color: rgb(50, 50, 50);
    margin-bottom: 15px;
}

.news-item-image {
    max-height: 460px;
}

.news-date {
    font-size: 13px;
}

.news-item-categories a {
    color: var(--main-color);
    font-weight: bold;
    font-size: 13px;
    text-decoration: none;
}

    .news-item-categories a:hover {
        color: rgb(35, 44, 101);
    }

/*  ~~~~~~~~~~~~~~~~  THREE COLUMN SECTION  ~~~~~~~~~~~~~~~~  */
.three-col-section {
    padding-top: 90px;
    padding-bottom: 90px;
}

.feature-card {
    background: white;
    overflow: hidden;
}

.feature-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.feature-content {
    padding: 30px 10px 0 10px;
    text-align: left;
}

.feature-title {
    font-size: 18px;
    font-weight: bold;
    color: rgb(35, 44, 101);
}

.feature-text {
    font-size: 14px;
    color: rgb(50, 50, 50);
    margin-bottom: 15px;
}

/*  ~~~~~~~~~~~~~~~~  PAGINATION ~~~~~~~~~~~~~~~~  */
.pagination-container {
    display: flex;
    justify-content: flex-end;
}

.pagination {
    margin: 0;
}

    .pagination .page-link {
        background-color: rgb(35, 44, 101);
        color: white;
        border: none;
        margin: 0 15px;
        padding: 8px 12px;
    }

        .pagination .page-link:hover {
            background-color: var(--main-color);
        }

    .pagination .active .page-link {
        background-color: var(--main-color);
    }

    .pagination .page-item .page-link {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        border-radius: 0;
        color: white;
        font-weight: 600;
        margin: 0 5px;
    }

    .pagination .page-item.active .page-link {
        background-color: var(--main-color);
        color: white;
    }

    .pagination.flex-wrap {
        row-gap: 0.5rem;
    }

.title-bg-section {
    padding-top: 90px;
    min-height: 800px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
}

.bg-image {
    background-blend-mode: overlay;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-bottom: 90px;
    display: flex;
}

.title-content {
    position: absolute;
    bottom: 5%;
    left: 60%;
    transform: translateX(-40%);
    text-align: left;
    width: max-content;
    max-width: 100%; /* Ensure it doesn't overflow */
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    padding-left: 15px;
    padding-right: 15px;
}

.hero-banner {
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: rgb(66, 105, 159);
}

.hero-banner-content {
    text-align: center;
    color: white;
}

.hero-banner-title {
    font-size: 35px;
    font-weight: bold;
    margin-bottom: 15px;
}

.hero-banner-text {
    font-size: 25px;
    font-weight: 500;
    line-height: 1.3;
}

/* ~~~~~~~~~~~~~~~~ TIMELINE ~~~~~~~~~~~~~~~~~*/
.timeline-container {
    display: flex;
    justify-content: center; /* Centers the timeline horizontally */
    width: 100%;
    padding-bottom: 90px;
}

.timeline {
    position: relative;
    max-width: 600px; /* Adjust based on design */
    width: 100%;
}

    .timeline::before {
        content: "";
        position: absolute;
        top: 28px;
        left: 50%;
        width: 4px;
        height: calc(100% - 94px); /* Adjusts to the first and last circles */
        background-color: rgba(35, 44, 101, 1);
        transform: translateX(-50%);
    }

.timeline-item {
    align-items: center; /* Ensures vertical alignment */
    position: relative;
    margin-bottom: 30px;
    width: 100%;
    min-height: 50px; /* Adjust height if needed */
}

.circle {
    width: 20px;
    height: 20px;
    background-color: rgba(35, 44, 101, 1);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%); /* Keep the circle in the center */
    transition: background 0.3s ease-in-out;
    z-index: 2;
}

    .circle:hover {
        background-color: #1595d3;
    }

.timeline.content {
    width: calc(50% - 50px); /* Ensures the text stays close to the center */
    background: white;
    border-radius: 5px;
    padding: 5px 15px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%); /* Centers the text vertically with the circle */
}

/* Active content styling */
.content.active .year {
    color: #1595d3 !important;
    transition: 0.3s ease-in-out;
}

/* Active circle styling */
.circle.active {
    background-color: #1595d3; /* Change circle color */
}

.timeline.content:hover {
    transform: scale(1.05);
}

.year {
    font-weight: bold;
    color: rgb(35, 44, 101);
    text-decoration: none;
    font-size: 18px;
    margin-bottom: 5px;
}

    .year:hover {
        color: #1595d3;
        text-decoration: none;
    }

.timeline .content p {
    margin: 0;
    font-size: 14px;
    color: #444;
}

/* Ensure content aligns horizontally next to the circle */
.timeline-item:nth-child(odd) .content {
    text-align: left;
    margin-left: 55%;
}

.timeline-item:nth-child(even) .content {
    text-align: right;
    margin-right: 55%;
}

.history-section {
    padding-bottom: 0;
}

    .history-section .row {
        background-color: #f9f9f9;
    }

    .history-section .text-content {
        color: black;
    }

.history-year {
    color: var(--main-color);
    font-size: 35px;
    font-weight: bold;
    margin-bottom: 15px;
}

.history-title {
    color: rgb(35, 44, 101);
    font-size: 35px;
    font-weight: bold;
    margin-bottom: 15px;
}

.history-space {
    padding: 45px 0 45px 0;
}

.umbraco-forms-container.col-md-6:not(:last-of-type) {
    float: left;
    padding-right: 15px;
}

.umbraco-forms-container.col-md-6 .form-group:not(:last-of-type) {
    margin-bottom: 12px;
}

.umbraco-forms-container.col-md-12 .form-group:not(:last-of-type) {
    padding-bottom: 15px;
}

.umbraco-forms-container .error {
    margin-top: 20px;
    font-size: 14px;
    color: red;
}

.umbraco-forms-container label {
    font-size: 14px;
}

.form-wrap__group-wrap {
    padding-top: 15px;
}

.field-validation-error {
    font-size: 12px;
    color: red;
    display: block;
    margin-top: 3px;
}

.form-wrap__group__title {
    padding-top: 20px;
    padding-bottom: 15px;
    font-weight: bold;
}

.inner {
    position: relative;
    display: inline-block; /* or block if you're going full-width */
    width: 100%; /* ensures select and icon align together */
}

    .inner select {
        width: 100%;
        appearance: none; /* hide native arrow */
        -webkit-appearance: none;
        -moz-appearance: none;
        padding-right: 2rem; /* add space for the icon */
    }

    .inner .icon {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none; /* icon won't block clicks */
        font-size: 1rem;
        color: #999; /* optional */
    }

.modal-content .btn-close {
    width: 5px;
    height: 5px;
}
/*  ~~~~~~~~~~~~~~~~ Large screens  ~~~~~~~~~~~~~~~~  */
@media (min-width: 2560px) {
    .hero {
        height: 1000px;
    }

        .hero.contact-hero {
            height: 1000px;
        }
}

@media (max-width: 1450px) {
    .navbar-nav .nav-item {
        margin-right: 20px;
    }

        .navbar-nav .nav-item:last-child {
            margin-right: 25px;
        }

    .burger-menu {
        margin-left: 25px;
    }

    .search-icon {
        margin-right: 25px;
    }

    .contact-btn {
        width: 180px;
        height: 38px;
        font-size: 14px;
    }
}

/*  ~~~~~~~~~~~~~~~~ Laptops & Small Desktops (≥1024px and <1400px)  ~~~~~~~~~~~~~~~~  */
@media (max-width: 1400px) {
    body {
        padding-top: 99.27px;
    }

    .floating-breadcrumbs {
        top: 99.27px;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .logo {
        width: auto;
        max-height: 47.27px;
    }

    .text-content {
        padding: 60px 40px;
    }

    .contact-btn, .border-btn {
        width: 180px;
        height: 38px;
        font-size: 14px;
    }

    .call-button {
        font-size: 30px;
    }

    .hero {
        height: 720px;
    }

    .hero-video {
        height: 110%;
        object-fit: cover;
    }

    .hero-img {
        display: block;
        width: 100%;
        height: 100%;
    }

    .hero.contact-hero {
        height: 720px;
    }


    .contact-image {
        background-position: calc(100% - 50px) center; /* Shift image to the left */
    }

    .breadcrumbs-title {
        font-size: 20px;
    }
}

/*  ~~~~~~~~~~~~~~~~ (≤1200px)  ~~~~~~~~~~~~~~~~  */
@media (max-width: 1200px) {
    body {
        padding-top: 91.39px;
    }

    .floating-breadcrumbs {
        top: 91.39px;
    }

    .logo {
        width: auto;
        max-height: 39.39px;
    }

    .navbar-nav .nav-item {
        margin-right: 20px;
    }

        .navbar-nav .nav-item:last-child {
            margin-right: 25px;
        }

    .burger-menu {
        margin-left: 25px;
    }

    .search-icon {
        margin-right: 25px;
    }

    .contact-btn {
        width: 180px;
        height: 38px;
        font-size: 14px;
    }

    .contact-image {
        background-position: calc(100% - 30px) center; /* Shift image to the left */
    }

    .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .call-button {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }

    .call-button-img {
        width: 45px;
    }

    .speech-bubble {
        padding: 7px 13px;
        max-width: 300px;
        text-align: center;
        text-align: center;
        bottom: 75px; /* Height of the button plus some space */
        right: 8px; /* Align with the right edge of the container */
        z-index: 9999;
    }

    .hero {
        height: 720px;
    }

    .hero-video {
        height: 110%;
        object-fit: cover;
    }

    .hero-img {
        display: block;
        width: 100%;
        height: 100%;
    }

    .hero.contact-hero {
        height: 720px;
    }

    .breadcrumbs-title {
        font-size: 20px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .breadcrumb {
        padding-right: 15px;
        padding-left: 15px;
    }

    .title-content {
        left: 53%;
    }

    .floating-breadcrumbs .breadcrumb-item + .breadcrumb-item::before {
        font-size: 15px;
    }
}

/* ~~~~~~~~~~~~~~~~ Min-width 1025px ~~~~~~~~~~~~~~~~ */
@media (min-width: 1025px) {
    .image-section {
        background-attachment: fixed;
        background-position: center center;
        transition: background-position 0.4s ease-out;
    }
}

/* ~~~~~~~~~~~~~~~~ Tablets (≥768px and <1024px) ~~~~~~~~~~~~~~~~ */
@media (max-width: 1024px) {
    body {
        padding-top: 91.39px;
    }

    .floating-breadcrumbs {
        top: 91.39px;
    }

    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 100% !important;
    }

    .navbar-nav {
        flex-direction: column;
        text-align: center;
    }

        .navbar-nav .nav-item:last-child {
            margin-right: 20px;
        }

    .logo {
        width: auto;
        max-height: 39.38px;
    }

    .search-icon {
        font-size: 22px;
        margin-right: 20px;
    }

    .burger-menu {
        margin-left: 30px;
    }

    .contact-btn {
        width: 160px;
        height: 36px;
        font-size: 13px;
    }

    .hero {
        height: 600px;
    }

    .hero-video {
        height: 110%;
        object-fit: cover;
    }

    .hero-img {
        display: block;
        width: 100%;
        height: 100%;
    }

    .hero.contact-hero {
        height: 600px;
    }


    .text-content {
        padding: 40px 20px;
    }

    .footer {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        height: auto;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .footer-menu {
        font-size: 14px;
    }

    .footer-title {
        font-size: 16px;
    }

    .footer-text {
        text-align: start;
    }

    .contact-info,
    .customer-service,
    .social-media {
        font-size: 13px;
    }

    .social-icons {
        justify-content: flex-start;
    }

    .contact-image {
        background-position: calc(100% - 10px) center;
    }

    .image-section {
        background-attachment: scroll !important;
        background-position: center center !important;
    }

    .contact-form {
        padding-right: 30px;
    }

    .breadcrumbs-section .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .breadcrumbs-title {
        font-size: 20px;
    }

    .breadcrumb {
        align-items: center;
        flex-wrap: wrap;
        font-size: 14px;
    }

    .breadcrumb-item + .breadcrumb-item::before {
        padding: 0 5px 0 0;
        font-size: 14px;
    }

    .breadcrumb-item a {
        font-size: 14px;
    }

    .floating-breadcrumbs .breadcrumb-item a {
        font-size: 14px;
    }

    .floating-breadcrumbs .breadcrumb-item + .breadcrumb-item::before {
        font-size: 14px;
    }
    
    .two-column-section .white-background {
        color: black;
        padding: 20px 40px;
    }

    .footer .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}
/* ~~~~~~~~~~~~~~~~ Responsive max-width 992px  ~~~~~~~~~~~~~~~~ */
@media (max-width: 992px) {
    #navbarNav {
        position: absolute;
        top: 100%;
        right: 0;
        width: 250px;
        background-color: rgb(35, 44, 101);
        padding: 30px;
        text-align: left;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
        border-radius: 0;
        display: none;
    }

        #navbarNav.show {
            display: block;
        }

        #navbarNav .burger-menu {
            display: none;
        }

        #navbarNav .right-menu-list {
            display: none;
            padding-top: 10px;
        }

        #navbarNav.show .right-menu-list {
            display: block;
        }

        #navbarNav .right-menu-list li {
            padding: 10px 0;
        }

            #navbarNav .right-menu-list li a {
                color: white !important;
                font-size: 16px;
                text-transform: uppercase;
                font-weight: 400;
                transition: color 0.3s ease-in-out;
                display: block;
            }

                #navbarNav .right-menu-list li a:hover {
                    color: white !important;
                    font-weight: bold;
                }

        #navbarNav .nav-link {
            font-weight: 400;
        }

            #navbarNav .nav-link:hover {
                color: white !important;
                font-weight: bold;
            }

        #navbarNav .contact-btn:hover {
            background-color: none;
            outline: 2px solid white;
        }

    .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding: 20px 0;
    }

        .navbar-nav .nav-item {
            padding: 10px 0;
        }

        .navbar-nav .nav-link {
            color: white !important;
            font-size: 16px;
            text-transform: uppercase;
            font-weight: 500;
            transition: color 0.3s ease-in-out;
        }

            .navbar-nav .nav-link:hover {
                color: var(--main-color) !important;
            }

    .search-icon {
        color: white !important;
        font-size: 24px;
        margin-top: 20px;
        display: block;
        padding-bottom: 20px;
    }

    .close-btn {
        position: absolute;
        top: 10px;
        right: 15px;
        font-size: 24px;
        color: white;
        background: none;
        border: none;
        cursor: pointer;
        transition: color 0.3s;
    }

        .close-btn:hover {
            color: white;
            font-weight: bold;
        }

    .image-section {
        background-attachment: scroll !important;
        background-position: center center !important;
    }

    .hero {
        height: 400px;
    }

    .hero-video {
        display: none;
    }

    .hero-img {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero.contact-hero {
        height: 400px;
    }

    .feature-content {
        padding: 30px 10px 30px 10px;
        text-align: left;
    }

    .title-content {
        left: 40%;
    }

        .title-content .section-title-marine {
            font-size: 30px;
        }
}

/* ~~~~~~~~~~~~~~~~ Mobile max-width 768px  ~~~~~~~~~~~~~~~~  */
@media (max-width: 768px) {
    body {
        padding-top: 82.92px;
    }

    .floating-breadcrumbs {
        top: 81.92px;
    }

        .floating-breadcrumbs .col-auto {
            width: -webkit-fill-available;
        }

    .logo {
        width: auto;
        max-height: 28.36px;
    }

    .contact-btn {
        width: 140px;
        height: 34px;
        font-size: 12px;
    }

    .image-section {
        min-height: 400px;
    }

    .text-content {
        padding: 30px;
    }

    .footer-menu {
        font-size: 13px;
    }

    .footer-title {
        font-size: 15px;
    }

    .footer-menu .row {
        text-align: left;
    }

    .contact-info,
    .customer-service,
    .social-media {
        text-align: left !important;
        padding-top: 0px;
        padding-bottom: 20px;
        margin-bottom: 0px;
        font-size: 12px;
    }

    .footer {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
    }

        .footer .row {
            text-align: center;
        }

    .footer-text {
        text-align: start;
    }

    .text-left, .text-right {
        text-align: center;
    }

    .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .contact-image {
        background-size: 20%;
        background-position: 45px center;
        min-height: 150px;
    }

    .hero {
        height: 300px;
    }

    .hero-video {
        display: none;
    }

    .hero-img {
        display: block;
        width: 100%;
        height: 100%;
    }

    .hero.contact-hero {
        height: 300px;
    }

    .contact-form {
        padding-right: 12px;
    }

    .networking-col {
        padding: 90px 12px 0 12px;
    }

    .breadcrumbs-row {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .breadcrumbs-title {
        text-align: left !important;
        margin-bottom: 10px;
    }

    .breadcrumb {
        justify-content: flex-start !important;
        font-size: 14px;
    }

    .breadcrumb-item + .breadcrumb-item::before {
        padding: 0 5px;
    }

    .breadcrumb-item.active {
        padding-left: 0; 
    }

    .two-column-section .white-background {
        color: black;
        padding: 40px 10px;
    }

    .text-content {
        text-align: left !important;
    }

    .timeline .year {
        font-size: 12px;
    }

    .timeline .content p {
        font-size: 10px;
    }

    .history-year {
        font-size: 28px;
    }

    .history-title {
        font-size: 28px;
    }

    .title-content {
        left: 40%;
    }

        .title-content .section-title-marine {
            font-size: 25px;
        }

    .hero-banner-text {
        font-size: 20px;
        font-weight: 500;
    }
}

/* ~~~~~~~~~~~~~~~~ Mobile Phones (<480px) ~~~~~~~~~~~~~~~~ */
@media (max-width: 480px) {
    body {
        padding-top: 70px;
    }

    .floating-breadcrumbs {
        top: 70px;
    }

    .navbar {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .info-title {
        font-size: 28px;
    }

    .info-text {
        font-size: 15px;
        padding: 0 10px;
    }

    .section-title {
        text-align: start;
        font-size: 28px;
    }

    .section-text {
        font-size: 15px;
        text-align: start;
    }

    .text-content {
        padding: 30px 15px;
        text-align: center;
    }

    .border-btn, .contact-btn {
        width: 160px;
        height: 36px;
        font-size: 13px;
    }

    .footer-menu {
        font-size: 12px;
        padding-bottom: 20px;
        padding-top: 20px;
    }

    .footer-title {
        font-size: 14px;
    }

    .footer-menu .row {
        text-align: center;
    }

    .footer .row {
        text-align: center;
    }

    .contact-info,
    .customer-service,
    .social-media {
        font-size: 11px;
    }

    .contact-image {
        background-size: 20%;
        background-position: 45px center;
        min-height: 115px;
    }

    .footer-text {
        text-align: start;
    }

    .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .hero-banner-title {
        font-size: 28px;
    }

    .section-title-marine {
        text-align: start;
        font-size: 28px;
    }

    .section-subtitle-marine {
        text-align: start;
        font-size: 18px;
    }

    .category-search .container {
        flex-direction: column;
        align-items: center;
    }

    .category-list {
        justify-content: center;
    }

    .title-content {
        left: 40%;
    }

        .title-content .section-title-marine {
            font-size: 20px;
        }

    .info-subtitle {
        font-size: 20px;
    }
}


.form-wrap {
    padding-top: 20px;
}
