.header-transparent {
    top:-11px !important;
}
body,.xb-yacht-item .xb-item--meta li span,.xb-footer_newsletter .xb-input-form .submit_btn,.main-menu ul li .submenu li a{
    font-size: 14px;
}
.main-menu ul li .submenu li:not(:last-child) {
    margin-bottom: 10px;
}
.main-menu ul li .submenu{
    padding: 20px;
}
.xb-ser-item .xb-holder{
    padding: 20px;
}
.xb-service-wrap{
    min-height: 450px;
}
.xb-ser-item .sub-item{
    height: 400px;
    justify-content: center;
}
.xb-service-imges .img-item {
    height: 85.2%;
}
.xb-yacht-item .xb-item--title,.xb-ser-item .title {
    font-size: 18px;
}
.header__wrap.ul_li_between {
    border-radius: 0px;
}
.header-style .header__wrap,.xb-footer-inner,.xb-footer_bottom {
    margin-left: 0px;
    margin-right: 0px;
}
.main-menu ul li.menu-item-has-children > a span::after {
    content: none;
}
.header-style .header__wrap {
    background: #ffffffe6;
    border-bottom: 6px solid var(--color-primary) !important;
}
.xb-widget-title { font-size: 18px;}
.header-style .xb-header-area-sticky .header__wrap {
    background: white;
    box-shadow: 1px 3px 10px #b6b6b6;
}
footer {
    border-top: 6px solid var(--color-primary);
}
.offcanvas-search-btn .fa-search{
    color: var(--color-secondary);
}
.hero_logo{
    height: 40px;margin-bottom:10px;opacity: 0.7;
}
.offcanvas-search-btn:hover .fa-search{
    color: var(--color-white);
}
.xb-footer-top {
    margin: 30px 0px;
    background: linear-gradient(201deg, var(--color-primary), var(--color-secondary));
    border-radius: 5px;
    padding: 30px 0px;
}
.panel-content a:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}
.logo1 img {
    height: 46px;
}
.sidebar-logo img{
    height: 73px;
}
.xb-footer_widget .xb-logo img {
    height: 56px;
}
.main-menu ul li a {
    text-transform: uppercase;
    font-size: 14px;
}
.main-menu ul li a:hover,.primary-color{
    color: var(--color-primary);
}
.header-style .main-menu > ul {
    gap: 40px;
}
.xb-footer_widget .xb-content {
    display: inline-block;
    margin: 10px 0 10px;
}
#officeInfo {
    color: white;
    min-height: 200px;
    padding-bottom: 10px;
}
body{
    max-width: 100%;
    overflow-x: hidden !important;
}
.yt-player{
    position:absolute;
    top:-10%;
    /* left:-10%; */
    width: 100% !important;
    height:117%;
    overflow: hidden !important;
    border:0;
}
.yt-bg{
    position:fixed;
    top:0;
    left:0;
    width: 100%;
    height: 120vh;
    overflow:hidden;
    z-index:-1;
}
.video-heading{
    position: fixed;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 3rem;
    font-weight: 500;
    text-align: center;
    z-index: 10;
    text-shadow: 0 0 10px rgba(0,0,0,0.6);
    line-height: 4rem;
    text-transform: uppercase;
}
.hero-style .hero-slide-content {
    padding:0px;
    min-height: 100vh;
    max-width: 100%;
    overflow: hidden !important;
}
.hero-style{
    min-height: inherit;
}
.xb-item--quote img{
    opacity: 0.3 !important;
}
.homepage .yc-blog-item .xb-item--img {
    max-height: 250px;
    max-width: 90%;
}
.sec-title--two .title {
    font-size: 32px;
    line-height: 40px;
}
.xb-ser-item {
    width: 33.33%;
}
.hidden-xs{
    display:inherit;
}
.xb-ser-item.hidden-xs{
    display: block;
}
.text-blue{
    color: var(--color-secondary) !important;
}
.introduction{
    max-width: 80%;
    margin: auto;
    font-size: 14px;
    line-height: 1.7rem;
    text-align: justify;
}
.xb-yacht-item .xb-item--inner .img--1 img, .xb-yacht-item .xb-item--inner .img--2 img {
    min-height: 300px;
    max-height: 300px;
    width: 100%;
    object-fit: cover;
}


.panels {
    display: flex;
    height: 75vh;
    min-height: 500px;
    width: 100%;
    transition: all 0.4s ease;
    /* background-size: 100% 100%; */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.panel {
    flex: 1;
    position: relative;
    background: transparent;
    /* background-image: var(--bg); */
    /* background-size: cover; */
    /*background-position: center;*/
    cursor: pointer;
    overflow: hidden;
    transition: flex 0.6s ease, filter 0.6s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    transition: background 0.6s ease;
    z-index: 1;
}

.panel-content {
    position: relative;
    z-index: 2;
    text-align: center;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.panel-content p {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    margin-bottom: 8px;
    color: #ddd;
}

.panel-content h3 {
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-weight: 500;
    color: white;
}

.panel-content a {
    color: #fff;
    border: 1px solid #fff;
    padding: 8px 20px;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    background: transparent;
    display: inline-block;
}
.header-btn .marine-btn:hover span:nth-child(1){
    background: var(--color-primary);
    color: white;
}
.sidebar-nav li a:hover {
    background: #f05426;
}
.xb-footer_newsletter{
    margin-left: 0px !important;
}
.xb-footer_newsletter .xb-content {
    max-width: inherit;
}
.footer-office-select {
    max-width: 300px;
}
.xb-footer-inner,.xb-footer_bottom {
    padding: 30px 20px 0px;
}
.xb-footer_bottom p,.xb-footer_bottom ul li a {font-size: 14px;}
/* Hover Effect */
.panels:hover .panel {
    flex: 0.9;
    filter: brightness(60%);
}

.panels .panel:hover {
    flex: 2.2;
    filter: brightness(100%);
}

.panels .panel:hover::before {
    background: rgba(0, 0, 0, 0.2);
}

.panels .panel:hover .panel-content {
    transform: scale(1.05);
    opacity: 1;
}
.panels .panel:nth-child(2) {
    border-left: 2px solid #fff;
    border-right: 2px solid #fff;
}

.sub-title img {
    max-height: 30px;
}
.sec-title .title {
    font-size: 22px;
    line-height: 32px;
}
.yc-blog-item .xb-item--title {
    font-size: 14px;
    line-height: 18px;
    margin: 10px 0 20px;
}
.sec-title--two .sub-title{
    margin-bottom:0px;
}
.xb-testimonial-item .xb-item--content {
    font-size: 14px;
    line-height: 26px;
    margin-bottom: 25px;
}
.xb-testimonial-item .xb-item--img {
    height: 200px;
    width: 20%;
}
.xb-testimonial-item .xb-item--holder {
    width: 70%;
}
.xb-testimonial-item .xb-item--name {
    font-size: 14px;
}
.yacht-tabs .nav-link {
    font-weight: 400;
    text-transform: uppercase;
    color: #0a2b50;
    padding: 10px 25px;
    transition: 0.3s;
    border: 1px solid #e8e8e8;
    margin: 10px;
    border-radius: 5px;
}

.heading-separator {
    position: relative;
    width: 19%;            /* total width of the bar */
    height: 4px;            /* thickness */
    margin: 15px auto 0;    /* space above, centered */
    border-radius: 3px;
    background: linear-gradient(to right, var(--color-secondary) 50%, var(--color-primary) 50%);
}


.header-style .main-menu__wrap {
    transform: translateX(0px);
}
.main-menu ul li a {
    padding: 31px 0;
}
.xb-footer_newsletter .xb-input-form .submit_btn{
    color:white;
}
.main-menu ul li a:hover,.xb-footer_widget .xb-list li a:hover,.xb-footer_bottom p a:hover,.xb-footer_bottom ul li a:hover{
    text-decoration: underline;
    text-decoration-thickness: 1px; /* optional: thicker underline */
    text-underline-offset: 2px; /* adds space between text and underline */
    color: var(--color-primary);
}

.ems_news .yc-blog-wrapper {
    grid-template-columns: repeat(3, 1fr);
}
.header-style .header-menu a:hover {
    background: var(--color-primary);
}
.xb-footer_newsletter .xb-input-form .submit_btn {
    background: white;
    color: var(--color-heading) !important;
}
.xb-footer_newsletter .xb-input-form .submit_btn:hover {
    color: var(--color-primary);
}
.yacht-tabs .nav-link.active {
    background: var(--color-primary);
    color: #fff;
    border-radius: 5px;
}
.xb-social_media .social-link li a {
    background: var(--color-primary);
    color: var(--color-white);
}


.xb-ser-item .xb-holder {
    text-align: center;
    justify-content: center;
    gap: 0px;
}
.xb-ser-item:first-child .xb-holder,.xb-service-wrap,.xb-ser-item:last-child .xb-holder {
    border-radius: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    -ms-border-radius: 0px;
    -o-border-radius: 0px;
}
.xb-ser-item .xb-holder img {
    visibility: hidden;
}

.w-11{
    width: 11%;
}
.w-13{
    width: 13%;
}
.marine-btn--white span:nth-child(1) {
    font-size: 14px;
    border-radius: 5px;
    text-transform: uppercase;
}
.xb-social_media .social-link li a:hover {
    background: var(--color-heading);
    color: var(--color-white);
}
.xb-footer_bottom ul li a,.xb-footer_bottom p {
    font-weight: 300;
}
.xb-footer_bottom {
    padding: 10px;
}
.xb-footer_widget .xb-list li a {
    font-size: 14px;
    padding-left: 0px;
    font-weight: 300;
}
.xb-footer_widget .xb-list {
    gap: 5px;
}
.xb-footer_widget .xb-widget-title{
    margin-bottom: 20px;
    font-size: 18px;
}
.xb-footer_widget .xb-list li a::after{
    content:none;
}
.border-bottom-0{
    border-bottom: 0px !important;
}
.xb-footer_widget .xb-logo {
    margin-top: 0px;
}
.xb-footer_bottom p a {
    color: var(--color-primary);
}
.main-menu ul li a{color: var(--color-secondary);}
.xb-footer-top .xb-widget-title{
    text-transform: none !important;
}
.yc-blog-item .xb-item--date {
    font-size: 13px;
    gap: 5px;
}
.marine-btn--white span { padding: 14px 30px; color: var(--color-white); background: var(--color-secondary);}
.header-style .header-menu a {border: 1px solid var(--color-secondary);}
.header-style .header-menu a:hover { background: var(--color-primary); color: var(--color-white) !important; border-color: var(--color-primary); }
.xb-nav-mobile {
    color: var(--color-secondary);
}
.main-menu ul li:hover > a, .main-menu ul li.active > a {
    color: var(--color-primary) !important;
}
/* Zoom on hover */
.certifications_list .xb-item--img:hover img{
    transition: transform 0.6s ease;
}
.certifications_list .xb-team-item:hover img{
    transform: scale(1.15); /* Zoom level */
}
.certifications_list .xb-item--holder {
    cursor: pointer;
    perspective: 1000px;
    transition: transform 0.8s ease;
    transform-style: preserve-3d;
}
.certifications_list .xb-item--holder:has(.xb-item--img:hover) {
    transform: rotateY(180deg);
}
/* Responsive */
@media (max-width: 900px) {
    .xb-footer_widget .xb-logo {
        margin-top: 25px;
    }
    .panels {
        flex-direction: column;
        height: auto;
        background-image: none !important;
        filter: brightness(100%);
    }
    .logo1 img {
        height: 26px;
    }
    .xb-footer_widget .xb-content {
        max-width: 100%;
    }
    .footer-col.mt-50 {
        margin-top: 20px;
    }
    .footer-col.mt-50:last-child {
        margin-bottom: 25px;
    }
    #officeInfo {
        min-height: inherit;
    }
    .panel {
        flex: unset;
        height: 300px;
        margin-bottom: 20px;
        background-image: var(--bg);
        background-size: cover;
        background-position: center;
        filter: brightness(100%) !important;
    }

    /* Hover Effect */
    .panels:hover .panel {
        flex: unset!important;
        filter: brightness(60%);
    }

    .panels .panel:hover {
        flex: unset !important;
        filter: brightness(100%);
    }

    .panels .panel:hover::before {
        background: rgba(0, 0, 0, 0.2);
    }

    .panels .panel:hover .panel-content {
        transform: unset;
        opacity: 1;
    }
    .panels .panel:nth-child(2) {
        border-left: 0px;
        border-right: 0px;
    }
    .location-bg {
        background-position: center;
    }
}
@media (max-width: 768px) {
    .location-bg {
        background-position: center;
    }
    .hero_logo{
        height: 20px;
    }
    .introduction {
        max-width: 100%;
        margin: auto;
        font-size: 18px;
    }

    .nav-link {
        font-size: 12px;
    }

    .pt-100 {
        padding-top: 50px;
    }

    .pt-50 {
        padding-top: 25px;
    }

    .pb-50 {
        padding-bottom: 25px;
    }

    .pb-100 {
        padding-bottom: 50px;
    }

    .heading-separator {
        width: 50% !important;
    }
    .heading-separator.w-100 {
        WIDTH: 100% ! IMPORTANT;
        margin-bottom: 20px;
    }
    .yc-blog-wrapper {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .sec-title .title {
        font-size: 16px;
        line-height: 18px;
    }
    .xb-testimonial-item .xb-item--holder {
        width: 100%;
    }
    .hidden-xs,.xb-ser-item.hidden-xs{
        display:none !important;
    }
    .xb-ser-item {
        width: 50%;
    }
    .xb-ser-item .sub-item {
        display: block;
        visibility: visible;
        position: absolute;
        padding: 20px 10px;
        left: 0;
    }
    .sec-title--two .title {
        font-size: 16px;
        line-height: 20px;
        padding: 0px 10px;
    }
    .xb-testimonial-item .xb-item--name {
        font-size: 18px;
    }
    .hero-style .hero-slide-content {
        padding:0px;
        min-height: 30vh;
    }
    .yt-bg{
        width:100vw;
        height: 48vh !important;
    }
    .hero-style{
    }
    .yt-player{
        height:100%;
    }
    .video-heading{
        font-size: 1.5rem;
        top: 50%;
        line-height: 1.5rem;
    }
    .xb-testimonial-item .xb-item--img {
        width: 100%;
        height: auto !important;
        max-height: 250px;
        object-fit: cover;
    }
    .xb-testimonial-item{
        gap: 10px;
        padding:35px;
    }
    .xb-testimonial-slider .swiper-pagination.swiper-pagination-bullets {
        bottom: -25px;
    }
    .yc-blog-item {
        padding-top: 0px;
    }
}



/*Mega Menu*/
.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right:0;
    width: 100%;
    max-width: 1100px;
    background: #fff;
    padding:0px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);

    /* IMPORTANT */
    gap: 40px;
}
.mega-left li a {
    padding: 0px !important;
}
.mega-left {
    flex: 0 0 45%;
}

.mega-left ul {
    display: flex;
    flex-direction: column;   /* <<< THIS FIXES INLINE ISSUE */
    margin: 0;
    padding: 0;
    list-style: none;
}

.mega-left ul li {
    display: block;            /* force block */
}

.mega-left ul li a {
    font-size: 12px;
    font-weight: 500;
    color: var(--color-black);
    text-decoration: none;
    line-height: 12px;
}

.mega-left ul li a:hover {
    color: #f15a24; /* your orange */
}
.mega-right {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}
.mega-image {
    position: relative;
    overflow: hidden;
    padding:0px !important;
}

.mega-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 200px;
}

.preloader {
    background-color: #1e4585f2;
}
.mega-image .overlay {
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 65%);
    display: flex;
    align-items: end;
    justify-content: center;
    min-height: 100px;
    padding:10px;
}

.mega-image{
    max-height: 200px;
}
.xb-social_media.video_social_media {
    position: fixed;
    top: 30%;
    right: 10px;
    z-index: 2;
}
.xb-social_media.video_social_media ul{
    display: flex;
    flex-direction: column;
}
.certifications_title{

    max-width: 80%;
    align-items: center;
    text-align: center;
    margin: auto;
}
.certifications_list .xb-team-item::before {
    opacity: 0.9;
    width: 90% !important;
    height: 90%;
    top: 5%;
    display: none;
}
.certifications_list .xb-team-item .xb-item--name{
    opacity: 1;
    transition-delay: .1s;
    font-weight: 700;
    transform: translateY(0);
    font-size: 2rem;
}
.mega-image .overlay span {
    /* background: rgba(0,0,0,0.7); */
    color: #fff;
    padding: 5px 0px;
    font-size: 14px;
    text-transform: uppercase;
}
.menu-item:hover .mega-menu {
    display: block;
    min-width: calc(100vw);
    left: 0;
}
.main-menu ul li {
    position: initial;
}
li.menu-item.menu-item-has-children {
    position: relative !important;
}
.mega-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 60px;

    display: flex;
    gap: 40px;
}
.mega-left h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
}
.mega-image .btn-span {
    text-align: center;
    border: 1px solid white;
    background: transparent;
    font-weight: normal;
    color: white;
    min-width: 100px;
    cursor: pointer;
}
.text-left{
    text-align: left !important;
}
.mega-image .btn-span:hover{
    background:white;
    color:var(--color-secondary);
}
.location-bg{
    background: url('../img/bg/footer_banner.jpg');
    background-size: cover;
}
.location-bg::before {
    background: linear-gradient(180deg, rgb(63 70 79 / 60%) 0%, #000000 100%);
    opacity: 0.5;
}
.location-bg h1, .location-bg h2, .location-bg h3, .location-bg h4, .location-bg h5, .location-bg h6 {
    color: white;
    padding-bottom: 25px;
    text-align: center;
}
.location-bg a{
    width: fit-content;
    align-items: center;
    justify-content: center;
    margin: auto;
}
.page-heading{
    text-transform: uppercase;
    font-size: 1.8rem;
    font-weight: 400;
}
h1 strong,h2 strong,h3 strong,h4 strong,h5 strong,h6 strong{
    font-weight: 400;
}
.header-style .header__wrap {
    opacity: 1;
}
#xb-header-area .xb-header-area-sticky{
    background: #ffffffe6;
    opacity: 1;
}
.nice-select {
    border-radius: 0px;
}
.homepage .video-bg iframe {
    position: fixed !important;
    top: 50%;
    left: 50%;
    width: 177.78vh !important; /* ≈ 16/9 × 100vh */
    height: 100vh !important;
    min-width: 100vw !important;
    min-height: 56.25vw !important;
    transform: translate(-50%, -50%) !important;
    pointer-events: none; /* optional — prevent accidental taps */
}

/* Ensure container hides the overflow */
.homepage .video-bg {
    overflow: hidden !important;
    width: 100vw !important;
    height: 100vh !important;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
}
.training_categories_list h2{
    /* max-width: 50%; */
    font-weight: 500 !important;
    /* font-size: 2.5rem; */
}
.training_categories_list h2 strong{
    font-weight: 500 !important;
    /* font-size: 2.5rem; */
}
.training_categories_list_final h2{
    max-width: inherit !important;
}
.crew-image{
    position:relative;
    border-radius: 5px;
}

.crew-image img{
    max-height: 350px;
    width: 100%;
    object-fit: cover;
    border-radius: 5px;
}
.crew-image:hover img{
    transition: transform 0.6s ease;
    transform: scale(1.05); /* Zoom level */
}
.crew-image .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    top:0;
    left:0;
    width: 100%;
    height:100%;
}
.crew-image:hover .overlay{
    background: rgba(0, 0, 0, 0.36);
}
.crew-image h2{
    text-transform: uppercase;
    font-weight: 500;
    padding-bottom: 15px;
    color: white;
}
.crew-image p{
    color: white;
}
.xb-team-item::before {
    background: rgb(255 255 255 / 75%);
}
.bg-gray{
    background: #f2f2f3;
}
.crew-services {
    padding: 10px 0;
}

.crew-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15%, 1fr));
    gap: 24px;
}

.crew-card {
    color: #ffffff;
    padding: 40px 30px;
    position: relative;
    min-height: 280px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: 0.8s ease 0s 1 normal both running fadeUp;
    box-shadow: rgba(0, 0, 0, 0.18) 0px 12px 28px;
    background: linear-gradient(rgb(28 68 132) 0%, rgb(12 45 98) 100%);
    border-radius: 6px;
}
.crew-card::before {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 3px;
    opacity: 0.4;
    background: linear-gradient(90deg, rgb(201, 168, 106), rgb(255, 255, 255));
}
.crew-card::after {
    content: "";
    position: absolute;
    bottom: 25px;
    left: 30px;
    width: 40px;
    height: 2px;
    background: var(--color-primary);
    opacity: 0.5;
}

.crew-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 18px;
    line-height: 1.4;
    color: var(--color-white);
}

.crew-card p {
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.9;
}

.crew-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}
.bg-orange {
    background: var(--color-primary) !important;
}
.crew-application-form {
    background: #ffffff;
    padding: 40px;
    border-radius: 6px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.crew-application-form .form-group {
    margin-bottom: 20px;
}

.crew-application-form label {
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

.crew-application-form input,
.crew-application-form select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.checkbox-group input {
    width: auto;
    margin-right: 8px;
}

.btn-submit {
    background: #1f355d;
    color: #fff;
    padding: 14px 40px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
}

.btn-submit:hover {
    background: #162945;
}
/* ===========================
   PREMIUM YACHT CONTACT FORM
   (Fraser-style Inspiration)
   =========================== */

.crew-application-form {
    background: #ffffff;
    padding: 50px 40px;
    border-radius: 8px;
    box-shadow: 0px 16px 45px rgba(0, 0, 0, 0.12);
    /* max-width: 720px; */
    margin: 0 auto;
    font-family: "Open Sans", Arial, sans-serif;
}

.crew-application-form h2,
.crew-application-form p {
    text-align: center;
}

.crew-application-form label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1f355d;
}

.crew-application-form input[type="text"],
.crew-application-form input[type="email"],
.crew-application-form input[type="tel"],
.crew-application-form input[type="file"],
.crew-application-form select {
    width: 100%;
    padding: 14px 16px;
    height: inherit;
    font-size: 15px;
    border: 1px solid #c5c5c5;
    border-radius: 4px;
    margin-bottom: 22px;
    transition: 0.3s ease;
    color: #1f355d;
}

.crew-application-form input:focus,
.crew-application-form select:focus {
    border-color: #162945;
    outline: none;
    box-shadow: 0 0 0 3px rgba(22, 41, 69, 0.12);
}

.crew-application-form .checkbox-group {
    margin-bottom: 24px;
}

.crew-application-form .checkbox-group label {
    font-weight: 500;
    font-size: 14px;
    color: #1f355d;
}

.crew-application-form .checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.15);
}

.btn-submit {
    display: block;
    width: 100%;
    background: #162945;
    border: none;
    color: #ffffff;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    transition: 0.25s ease;
}

.btn-submit:hover {
    background: #1f355d;
    transform: translateY(-2px);
    box-shadow: 0px 10px 25px rgba(22, 41, 69, 0.25);
}

/* Optional: make file upload label clearer */
.crew-application-form input[type="file"] {
    padding: 10px 14px;
    border: dashed 1px #c5c5c5;
    color: #162945;
}
.hero-yt-banner:before {
    content: ' ';
    position: absolute;
    top: 0;
    background: #0000009e;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .certifications_list .xb-team-item, .certifications_list .xb-item--img, .certifications_list .xb-item--img img {
        width: 100%;
    }
    /* parent section of the video */
    .homepage .hero-slide-content {
        height: 100vh !important;
        overflow: hidden !important;
    }

    /* iframe itself */
    .homepage .yt-bg iframe {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;

        width: 177.78vh !important;   /* 16:9 cover logic */
        height: 100vh !important;

        min-width: 100vw !important;
        min-height: 56.25vw !important;

        transform: translate(-50%, -50%) !important;
    }
    .skewInImg {
        clip-path: unset;
    }
    .crew-services-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(90%, 1fr));
        gap: 24px;
    }
}
