@font-face {
    font-family: 'DIN Next LT Pro';
    src: url('../fonts/DINNextCYR-Regular.otf') format('opentype'),
         url('../fonts/DINNextW1G-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'DIN Next LT Pro';
    src: url('../fonts/DINNextCYR-Bold.otf') format('opentype'),
         url('../fonts/DINNextW1G-Bold.otf') format('opentype');;
    font-weight: bold;
    font-style: normal;
}

body {
    position: relative;
    font-family: 'DIN Next LT Pro', sans-serif; /* Fallback to sans-serif */
    overflow-x : hidden; /* Prevents vertical scrolling */
}

h1, h2, h3, p, a, .footer-contact {
    font-family: 'DIN Next LT Pro', sans-serif;
}

.container {
    margin: auto;
}

.carousel-item {
    transition: transform 2s linear !important; /* slower & smooth */
}

.case-study-content .carousel-item{
    padding-left: 20px;
}

.social-icons img{
    width: 25px;
}

.fixed-side-social-media {
    background: #5285DF;
    position: fixed;
    display: flex;
    flex-direction: column;
    right: 0;
    top: 300px;
    padding: 24px 14px;
    gap: 24px;
    border-bottom-left-radius: 12px;
    border-top-left-radius: 12px;
    z-index: 200;
}
.navigation-bar {
    background: #0D6EB8;
    color: white;
    padding: 22px 0;
    /* height: 78px; */
}

.nav-item .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    display: block; /* Prevent Bootstrap JS from hiding it */
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navbar-brand {
    padding-top: 0;
}
.navbar-toggler {
    border: none; /* Removes the default border */
}
.navbar-toggler:focus {
    box-shadow: none;
}
/* .navbar-toggler-icon {
    background-image: url(images/icons/menu-icon.svg); 
}
*/
/*active link */
/* Default styling for nav-links */
.nav-link {
    position: relative;
    color: #fff; /* White text */
    text-decoration: none;
    transition: color 0.3s ease; /* Smooth color transition */
}

.nav-link:hover{
    color: #fff;
    text-decoration: none;
  }

/* Add border-bottom animation */
.nav-link::after, .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fff; /* White border */
    transition: width 0.3s ease; /* Smooth animation for border */
}
.nav-link::before {
    left: 0;
  }
.nav-link::after {
    right: 0;
    background: #fff;
    transition: width 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.nav-link:hover:before {
    background: #fff;
    width: 100%;
    transition: width 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
  }
  
.nav-link:hover:after {
    background: transparent;
    width: 100%;
    transition: 0s;
  }

/* Active link styling */
.nav-link.active::after {
    width: 100%; /* Full width border for active link */
}
/* toggle navigation try */
/* Style for the toggle button */
.navbar-toggler {
    border: none; /* Remove default border */
    position: relative;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-right: 24px;
}

/* Middle bar */
.navbar-toggler-icon {
    position: relative;
    width: 100%;
    height: 3px;
    background-color: #fff; /* Default bar color */
    transition: transform 0.3s ease, opacity 0.3s ease; /* Smooth animation */
    background-image: none;
}

/* Top and bottom bars */
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    left: 0;
    background-color: #fff; /* Default bar color */
    transition: transform 0.3s ease, opacity 0.3s ease; /* Smooth animation */
}

/* Top bar */
.navbar-toggler-icon::before {
    top: -8px; /* Position above the middle bar */
}

/* Bottom bar */
.navbar-toggler-icon::after {
    top: 8px; /* Position below the middle bar */
}

/* When the navbar is expanded (cross icon) */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-color: transparent; /* Hide the middle bar */
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg); /* Rotate to form the top part of the "X" */
    top: 0; /* Align with the middle */
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg); /* Rotate to form the bottom part of the "X" */
    top: 0; /* Align with the middle */
}

/* end */

.navigation-bar .navbar-nav .nav-item {
    margin-right: 36px; /* Reduced margin to allow more space for labels */
    padding-top: 4px;
}
.navigation-bar .navbar-nav .nav-item:last-of-type {
    margin-right: 0;
    display: flex;
}

.navbar-expand-lg .navbar-collapse {
    justify-content: flex-end;
}

.navigation-bar .navbar-nav .nav-item .nav-link {
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap; /* Prevents text from wrapping to the next line */
    position: relative;
}

.navigation-bar .navbar-nav .nav-item .btn-light {
    margin-right: 0; /* No extra margin for Admin Login */
}

.navigation-bar .navbar-nav .nav-item .dropdown-toggle::after {
    content: url(../images/icons/keyboard_arrow_down.png); /* Replaces the chevron with a down arrow */
    font-size: 12px; /* Adjust the size of the arrow */
    color: #5F6368; /* Sets the color of the arrow */
    margin-left: 5px; /* Adds some spacing between the text and the arrow */
    border: none;
    position: absolute;
    top: 12px;
    /*left: unset;*/
    left: 44px;
    width: unset;
    background: transparent !important;
    background-color: transparent !important;
}

.nav-item .btn-outline-light {
    padding: 5px 15px;
    border-radius: 5px;
    white-space: nowrap; /* Prevents text from wrapping to the next line */
    /*margin-right: 16px;*/
}

.btn-light {
    border: 1px solid white;
    padding: 5px 15px;
    border-radius: 5px;
    white-space: nowrap; /* Prevents text from wrapping to the next line */
}

.crew-admin-font{
    font-size: 14px;
    padding-top: 7px !important;
}

.btn:hover {
    color: inherit;
    background: inherit;
}

.btn-light:hover {
    background: #FFFFFF;
    color: #000;
    border-color: #FFFFFF;
}

.btn-contact-us {
    background-color: black; /* Black background */
    color: white; /* White text */
    border: none; /* Removes border */
    padding: 10px 20px; /* Adds padding */
    border-radius: 5px; /* Adds rounded corners */
    font-size: 16px; /* Sets font size */
    font-weight: 500; /* Sets font weight */
    cursor: pointer; /* Changes cursor to pointer */
    text-transform: capitalize; /* Makes text uppercase */
    width: auto;
    line-height: 30px;
}

.btn-contact-us:hover {
    background-color: #333; /* Darker black on hover */
    color: #fff; /* Keeps text white on hover */
}
.contact-us-button {
    display: flex;
    justify-content: center;
    flex-direction: column-reverse;
    margin: 0 auto;
    height: 551px;
    align-items: center;
}

.main-footer{
    padding: 60px 79px 30px; /* Top: 60px, Left/Right: 79px, Bottom: 58px */
}
.company-page {
    margin-top: 160px !important;
}
footer nav a {
    text-decoration: none; /* Removes underline from footer navigation links */
    color: black; /* Ensures the links are black */
    font-size: 16px;  /* Sets the font size of footer navigation links */
    font-weight: 500; /* Sets the font weight of footer navigation links */
}

.custom-logo {
    padding-left: 71px;
    padding-bottom: 30px;
}

.footer-contact {
    text-align: left; /* Aligns text to the left */
    padding-left: 92px; /* Adds consistent left padding */
    padding-top: 40px; /* Adds consistent top padding */
    font-size: 16px; /* Sets the font size */
}

.footer-contact p {
    display: flex; /* Uses flexbox for alignment */
    align-items: baseline; /* Aligns label and value properly */
    margin-bottom: 10px; /* Adds consistent spacing between lines */
}

.footer-label {
    min-width: 80px; /* Ensures consistent width for labels */
}

.footer-value {
    font-weight: 500; /* Sets a slightly lighter weight for values */
    margin-left: 20px; /* Adds spacing between label and value */
}

.sub-footer{
    background: linear-gradient(177.9deg, #FFFFFF 31.94%, #9CEDFE 153.12%);
}

.footer-bottom {
    border-top: 1px solid #dcdddc;
    padding: 38px 90px 42px;
}

.footer-bottom a{
    color: unset;
    text-decoration: none;
}

.dot {
    font-size: 14px; /* Sets the size of the dot */
    color: black; /* Sets the color of the dot */
}

.pr-100 {
    padding-right: 100px; /* Adds 166px padding to the right */
}
/* company-page css - start */
.our-story-content{
    font-size: 24px;
    line-height: 36px;

}

.heading-large {
    font-size: 68px; /* Sets the font size */
    line-height: 78px; /* Sets the line height */
    margin-bottom: 20px; /* Adds bottom margin */
    text-transform: uppercase;
    font-weight: 700;
}
.team-section {
    text-align: center;
    padding: 0 113px;
    padding-top: 132px;
}
.team-behind-text {
    font-size: 167px;
    text-transform: uppercase;
    color: white;
    /* text-shadow: 0px 0px 2px black;  */
    -webkit-text-stroke: 1px #000000;
    line-height: 130px;
    font-weight: 700;
}
.team-member {
    text-align: left;
    border: 1px solid #000;
    border-radius: 9.64px;
    padding: 37px 32px;
    min-height: 551px;
    margin-bottom: 32px;
}
.team-member h3{
    font-size: 19.28px;
    font-weight: 700;
    position: relative;
}

.team-member h3 span{
    position: absolute;
    right: 0;
    top: -9px;
}
.team-member:hover h3 span img {
    transform: rotate(45deg); /* Rotates the image by 30 degrees */
    transition: transform 0.3s ease-in-out; /* Smooth animation over 0.3 seconds */
}

.team-member p{
    font-size: 14px;
    font-weight: 400;
}
.team-member-img {
    margin-top: 48px;
}
.who-we-sail-with {
    text-align: center;
    padding: 0 50px;
}
.who-we-sail-with .heading-large, .shipmoney-case-study .team-behind-text{
    font-size: 68px; /* Sets the font size */
    line-height: 78px; /* Sets the line height */
    font-weight: 700;
    text-transform: uppercase;
    -webkit-text-stroke: 0px black;
}

.partner-logos {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping to the next line */
    justify-content: left; /* Centers the logos */
    gap: 24px; /* Adds spacing between logos */
    row-gap: 90px; /* Adds spacing between rows */
}

.partner-logos > div {
    flex: 0 0 calc(20% - 20px); /* Ensures 5 logos per row (20% width each) */
    text-align: center; /* Centers the logos inside their container */
}

.pl-121 {
    padding-left: 121px; /* Adds 121px padding to the left */
}

.pl-100 {
    padding-left: 100px; /* Adds 113px padding to the left */
}

.screen-slider {
    width: 100%; /* Matches the container width */
    height: 100%; /* Matches the container height */
    position: relative;
}

.slider-container {
    display: flex; /* Enables horizontal alignment of the image */
    animation: move-left-to-right 40s linear infinite; /* Animation for continuous movement */
    width: max-content; /* Ensures the container width matches the image width */
}

.slider-container img {
    height: 100%; /* Ensures the image fits the container height */
    display: block; /* Removes any inline spacing below the image */
}

@keyframes move-left-to-right {
    0% {
        transform: translateX(0); /* Start from outside the right edge */
    }
    100% {
        transform: translateX(-100%); /* Move to outside the left edge */
    }
}
.waypoints{
    padding-left: 78px;
    padding-top: 50px;
    padding-bottom: 50px;
}
.waypoints-content {
    display: flex; /* Enables flexbox layout */
    justify-content: space-between; /* Adds space between the two sections */
    align-items: flex-start; /* Aligns items at the top */
    gap: 83px; /* Adds spacing between the sections */
}

.waypoints-text {
    flex: 0 0 40%; /* Takes up 30% of the container width */
}
.waypoints-text .control-arrows{
    justify-content: flex-start;
    margin: 0;
}

.waypoints-text p{ 
    font-size: 36px; /* Sets the font size */
    line-height: 52px; /* Sets the line height */
    font-weight: 700; /* Sets the font weight */
}

.image-content {
    flex: 0 0 60%; /* Width of the visible area */
    height: auto; /* Adjust height based on the image */
    overflow: hidden; /* Hides the overflowing part of the image */
    position: relative; /* Ensures the child elements are positioned relative to this container */
}

.shipmoney-case-study{
    background: linear-gradient(304.89deg, #1F6ABB 31.87%, #3FB7FD 89.83%, #48D5FF 119.33%);
    padding: 100px 0;
    text-align: center;
}

.case-study-content {
    margin-top: 55px; /* Adds top margin */
    padding: 0 30px;

}
.desktop-carousel{

}
.mobile-carousel{
    display: none;
}
.case-study-card{
    border: 1px solid #DDDDDD;
    padding: 41px 32px;
    border-radius: 12px;
    color: #FFFFFF;
    text-align: left;
    background: linear-gradient(149.82deg, rgba(255, 255, 255, 0.12) 28.89%, rgba(255, 255, 255, 0.3) 124.89%);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.case-study-card position: {
    flex: 1;
}
/* .case-study-cards .col-md-4{
    padding: 0 12px;
} */
.case-study-cards .heading-large {
    font-size: 28px; /* Sets the font size */
    font-weight: 700; /* Sets the font weight */
    line-height: 120%; /* Sets the line height */
    display: flex;
    column-gap: 20px;
}
.control-arrows {
    display: flex;
    justify-content: flex-end;
    margin-right: 85px;
    margin-top: 69px;
    gap: 32px;
}
.view-more-button{
    margin-top: -50px; /* Adjusts the position of the button */
    position: relative;
}
.carousel-control-next, .carousel-control-prev {
    position: relative;
    width: auto;
    color: #fff;
    text-decoration: none;
    outline: 0;
    opacity: 0.9;
}


/* Position indicators at the bottom */
.bottom-indicators {
    position: absolute;
    bottom: 10px; /* Adjust the distance from the bottom */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 10px; /* Space between indicators */
}

/* Position the right control */
.right-control {
    position: absolute;
    top: 50%;
    right: 10px; /* Adjust the distance from the right */
    transform: translateY(-50%);
    z-index: 5;
}
.lets-talk {
    background: linear-gradient(313.82deg, #1F6ABB 13.8%, #3FB7FD 78.52%, #48D5FF 122.95%);
    padding: 120px 0;
}
.lets-talk a{
    text-decoration: none;
}
.lets-talk .team-behind-text {
    font-size: 106.67px;
    font-weight: 750;
    text-align: center;
    text-transform: none;
    line-height: 120px;
    margin: 0;
    /* text-shadow: none; */
    -webkit-text-stroke: 0px black;
}
.lets-talk .team-behind-text span img {
    vertical-align: text-top;
}

.lets-talk .team-behind-text:hover span img {
    transform: rotate(45deg); /* Rotates the image by 30 degrees */
    transition: transform 0.3s ease-in-out; /* Smooth animation over 0.3 seconds */
}
.modal-dialog {
    max-width: 90%;
}
.modal-body {
    padding: 62px;
}

.modal-body button{
    float: right;
}
.team-behind-model {
    display: flex;
    gap: 75px;
}
.team-behind-model img {
   height: 100%;
}

.team-behind-model-content h3 {
    font-size: 32px;
    font-weight: 700;
    line-height: 120%;
}

.team-behind-model-content h4 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 42px;
}

.team-behind-model-content p {
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
    color: #707070;
}

/* Replace the default close button icon */
.btn-close {
    background: url('../images/icons/cancel_close-icon.png') no-repeat center center;
    background-size: contain;
    width: 24px; /* Adjust the size of the button */
    height: 24px;
    border: none; /* Remove border */
    opacity: 1; /* Ensure full visibility */
}

.btn-close:hover {
    opacity: 0.8; /* Add a hover effect */
}
/* company-page css --end */

.carousel-control-prev:disabled img,
.carousel-control-next:disabled img {
    filter: grayscale(100%) brightness(80%);
    opacity: 0.5;
}

/* Scroll to top */
.scroll-btn {
    position: fixed;
    bottom: 30px;
    right: 52px;
    display: none; /* hidden by default */
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.005); /* more transparent white */
    border: 0px;
    border-radius: 3px;
    cursor: pointer;
    z-index: 1050;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px); /* optional frosted glass effect */
}

.scroll-btn:hover svg {
    stroke: #007bff; /* Bootstrap primary blue */
}

.scroll-btn:hover {
    background: rgba(255, 255, 255, 0.85); /* slightly less transparent on hover */
    border-color: #007bff;
}





@media (min-width: 1200px) {
    .navigation-bar .container {
        padding-left: 0px;
    }
    .navigation-bar .navbar-nav .nav-item {
        margin-right: 20px;
    }
    .our-global-reach-cards{
        gap: 160px;
    }
    .transforming-crew-payment .team-behind-text{
        font-size: 150px;
    }
    .why-use-shipmoney .team-behind-text{
        font-size: 150px;
        padding-left: 100px;
    }
    .team-behind-text {
        font-size: 144px;
    }
    .pl-121 {
        padding-left: 100px;
    }
    .team-member {
        padding: 23px 20px;
        min-height: 470px;
    }
    .waypoints{
        padding-top: 130px;
        padding-left: 40px;
    }
    .waypoints-content{
        gap: 30px;
    }
    .waypoints-text{
        flex: 0 0 35%;
    }
    .image-content {
        flex: 0 0 65%;
    }
    .footer-bottom{
        padding: 38px 55px 42px;
    }
}
@media (max-width: 576px) {
    .nav-item.dropdown {
        position: static; /* Remove dropdown behavior */
    }

    .nav-item.dropdown .dropdown-menu, .main-footer .dropdown .dropdown-menu  {
        display: block; /* Always show the menu */
        position: static; /* Remove absolute positioning */
        background: none; /* Remove background styling */
        border: none; /* Remove default border */
        padding: 0; /* Remove padding */
    }

    .nav-item.dropdown .dropdown-toggle,  .main-footer .dropdown-toggle{
        pointer-events: none; /* Disable dropdown toggle functionality */
    }

    .nav-item.dropdown ul.dropdown-menu {
        border-left: 1px solid #FFFFFF; /* Keep the left border */
        margin-top: 10px; /* Add spacing above the list */
        border-radius: 0;
        margin-left: 38px;
        visibility: visible;
        opacity: 1;
    }

    .dropdown-item {
        color: #FFFFFF;
        font-size: 16px;
        font-weight: 300;
        line-height: 100%;
        margin-bottom: 16px;
    }

    .main-footer .dropdown-item {
        color: #000000;
    }
    .main-footer ul.dropdown-menu {
        border-left: 1px solid #000000 !important;
        margin-top: 10px;
        border-radius: 0;
        margin-left: 21px;
    }
    .main-footer ul.dropdown-menu {
        color: #2D2D2D;
        font-weight: 300;

    }
    .navigation-bar .navbar-nav .nav-item .nav-link {
        font-size: 16px;
        font-weight: 500;
    }

    .waypoints-text{
        flex: 0 0 100%;
    }

    .nav-item.dropdown ul.dropdown-menu li {
        margin-bottom: 5px; /* Add spacing between list items */
    }

    .nav-item.me-3 {
        display: flex; 
        justify-content: space-between; 
        align-items: flex-end; 
        gap: 20px;
    }

    .nav-item.me-3 .btn {
        flex: 1; 
        text-align: center; 
        margin: 0;
    }

    .company-page {
        margin-top: 120px !important;
        margin-bottom: 0 !important;
        overflow-x: hidden;
    }
    .navigation-bar .navbar-nav .nav-item {
        margin-left: 0 !important;
    }
    .nav-item:last-of-type {
        margin-top: 58px;
    }
    .navbar-collapse {
        height: 100vh;
    }
    .team-section {
        padding: 0 18px; /* Adjusts padding for smaller screens */
    }
    .team-section .team-behind-text, .waypoints .team-behind-text {
        font-size: 64px; /* Adjusts font size for smaller screens */
        line-height: 78px; /* Adjusts line height for smaller screens */
    }
    .waypoints{
        padding-left: 18px;
        padding-right: 18px;
    }
    .waypoints-content {
        flex-direction: column;
    }
    .our-story, .our-story-summary{
        padding: 0 18px;
    }
    .partner-logos {
        display: none;
        flex-wrap: wrap; /* Allow wrapping to the next row */
        gap: 16px; /* Add spacing between items */
    }

    .partner-logos > div {
        flex: 0 0 calc(50% - 16px); /* Each div takes 50% width minus the gap */
        max-width: calc(50% - 16px); /* Ensure max width is 50% minus the gap */
    }
    .view-more-button{
        margin-top: 54px;
    }
    .btn-contact-us{
        padding: 9px 52px;
    }
    .who-we-sail-with {
        padding: 0 18px;
    }
    .who-we-sail-with .heading-large {
        margin-top: 152px;
    }
    .case-study-cards {
        flex-wrap: nowrap; /* Prevent wrapping */
    }

    .case-study-content {
        padding: 0 18px;
    }
    .desktop-carousel{
        display: none;
    }
    .mobile-carousel{
        display: block;
    }

    .case-study-cards .col-md-4 {
        flex: 0 0 100%; /* Make each card take full width */
        max-width: 100%; /* Ensure the card spans the full width */
    }

    .case-study-cards .col-md-12 {
        flex: 0 0 100%; /* Make each card take full width */
        max-width: 100%; /* Ensure the card spans the full width */
    }

    .carousel-inner {
        display: flex;
    }
    .control-arrows {
        justify-content: center;
        margin-right: 0;
    }

    .case-study-cards .col-md-4{
        padding-top: 20px;
    }
    .contact-us-button {
        height: auto;
    }
    .lets-talk{
        padding: 51px 0;
    }
    .lets-talk .team-behind-text {
        font-size: 52px;
        line-height: 59px;
    }
    .lets-talk .team-behind-text span img {
        width: 40px;
    }
    .main-footer{
        padding: 32px 18px;
    }
    footer nav a {
        display: block;
        margin: 24px 0;
    }
    .footer-contact{
        padding-left: 18px;
        padding-top: 62px;
    }

    .custom-logo{
        text-align: center;
        margin-top: 52px;
        padding-left: 0;
        padding-bottom: 0;
    }
    .sub-footer{
        padding: 0;
        text-align: center;
    }
    .copy-right-shipmoney {
        margin-top: 90px;
    }
    .footer-bottom {
        border: none;
        padding: 33px 0;
    }
    .social-icons {
        text-align: center !important;
    }
    .navbar-brand img {
        /*content: url('../images/mobile-logo.png');*/ /* Replace with the mobile logo */
        content: url('../images/logo.svg');
        /*max-width: 120px;*/ /* Adjust the size for smaller screens */
        margin-left: 10px;
    }
    .modal-body {
        padding: 27.5px;
    }
    .modal-dialog {
        max-width: 100%;
    }
    .team-behind-model {
        flex-direction: column;
        gap: 0;
    }
    .shipmoney-case-study .container {
        padding: 0;
    }
    .dropdown-toggle::after {
        display: none;
    }
    .fixed-side-social-media {
        top: 200px;
        display: none;
    }

    .navigation-bar .navbar-nav .nav-item:last-of-type {
        position: fixed;
        bottom: 20px;
        width: 100%;
        padding-right: 44px;
    }
    .heading-large {
        font-size: 66px;
    }

    .company-meet-the {
        margin-bottom: 0px;
    }    
}
