:root {
    --primary-blue: #0A2463;
    --secondary-blue: #247BA0;
    --accent-orange: #06D6A0;
    --primary-hover: #082050;
    --secondary-hover: #1D6280;
    --accent-hover: #05B88A;
    --light-bg: #e8eaed;
    --page-bg: #e8f2ef;
    --dark-text: #0d1b2a;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    overflow-x: hidden;
    background: linear-gradient(
        135deg,
        #e8f2ef 0%,
        #ddeee8 20%,
        #eaf0ee 40%,
        #d6ebe3 60%,
        #e4f0ec 80%,
        #e8f2ef 100%
    );
    background-size: 400% 400%;
    animation: seaShimmer 18s ease-in-out infinite;
}

@keyframes seaShimmer {
    0%   { background-position: 0% 50%; }
    25%  { background-position: 50% 100%; }
    50%  { background-position: 100% 50%; }
    75%  { background-position: 50% 0%; }
    100% { background-position: 0% 50%; }
}

/* Force Inter across all elements */
* {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

/* Skip to main content link for accessibility */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent-orange);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    font-weight: 600;
    z-index: 10000;
    border-radius: 0 0 4px 0;
}

.skip-to-content:focus {
    top: 0;
}

/* Enhanced focus indicators for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.nav-link:focus-visible,
.btn:focus-visible,
.filter-btn:focus-visible {
    outline: 3px solid var(--accent-orange);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(6, 214, 160, 0.2);
}

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.navbar {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(10, 36, 99, 0.2);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: white !important;
}

.nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: white !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
}

.hero-section {
    color: white;
    padding: 100px 0 60px;
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    --parallax-offset: 0px;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 100px;
    padding: 0.3rem 1rem;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(4px);
    background: rgba(255,255,255,0.08);
}

@media (max-width: 768px) {
    .hero-eyebrow {
        margin-top: 38px;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(10, 36, 99, 0.42), rgba(10, 36, 99, 0.49)), url('image/offshore boat supply.webp');
    background-size: cover;
    background-position: center center;
    will-change: transform;
    transform: translateY(var(--parallax-offset)) translateZ(0);
    z-index: -1;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-section .lead {
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.hero-section-small {
    color: white;
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
    --parallax-offset: 0px;
}

.hero-section-small::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(10, 36, 99, 0.42), rgba(10, 36, 99, 0.49)), url('image/offshore boat supply.webp');
    background-size: cover;
    background-position: center center;
    will-change: transform;
    transform: translateY(var(--parallax-offset)) translateZ(0);
    z-index: -1;
}

.btn-marine {
    background: var(--accent-orange);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(6, 214, 160, 0.3);
}

.btn-marine:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(6, 214, 160, 0.4);
    background: var(--accent-hover);
    color: white;
}

.btn-outline-marine {
    border: 2px solid white;
    color: white;
    background: transparent;
    padding: 10px 28px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline-marine:hover {
    background: white;
    color: var(--primary-blue);
    transform: scale(1.05);
}

.stats-card {
    background: transparent;
    border-radius: 0;
    padding: 1.5rem 1rem;
    text-align: center;
    border-right: 1px solid #e5e7eb;
    transition: none;
    margin-bottom: 0;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stats-card:last-child {
    border-right: none;
}

.stats-card:hover {
    transform: none;
    box-shadow: none;
}

.stats-container {
    padding: 2.5rem 0;
    position: relative;
    z-index: 10;
    background: #f8f9fb;
    border-bottom: 1px solid #e9ecef;
}

.stats-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-blue);
    display: block;
    line-height: 1.1;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 5px 20px rgba(10, 36, 99, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e9ecef;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(36, 123, 160, 0.2);
    border-color: var(--secondary-blue);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    margin-bottom: 0;
}

.map-placeholder {
    height: 300px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 10px;
}

.vessel-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(10, 36, 99, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.vessel-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(36, 123, 160, 0.25);
}

.vessel-img {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.vessel-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Equal-height vessel cards with pinned button */
.vessel-item {
    display: flex;
}

.vessel-item .vessel-card {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.vessel-item .vessel-card .p-4,
.vessel-item .vessel-card .p-3 {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.vessel-item .vessel-card .p-4 p.small:last-of-type,
.vessel-item .vessel-card .p-3 p.small:last-of-type {
    flex: 1;
}

.vessel-item .vessel-card .btn {
    margin-top: auto;
}

/* Spec table styling */
#assetSpecs tr,
#specsExtra tr {
    border-left: 3px solid #006b8f;
}

#assetSpecs td.spec-key,
#specsExtra td.spec-key {
    width: 40%;
    color: #003d5c;
    background: #f8f9fa;    font-weight: 600;
}

#assetSpecs td.spec-val,
#specsExtra td.spec-val {
    color: #495057;
}

.specs-toggle-btn {
    border-color: #006b8f;
    color: #006b8f;
}

.specs-toggle-btn:hover {
    background: #006b8f;
    color: white;
}

.vessel-gradient-1 {
    background: linear-gradient(135deg, #0A2463 0%, #247BA0 100%) !important;
}

.vessel-gradient-2 {
    background: linear-gradient(135deg, #247BA0 0%, #06D6A0 100%) !important;
}

.vessel-gradient-3 {
    background: linear-gradient(135deg, #06D6A0 0%, #247BA0 100%) !important;
}

.vessel-gradient-4 {
    background: linear-gradient(135deg, #0A2463 0%, #06D6A0 100%) !important;
}

.service-link {
    color: var(--accent-orange);
    font-weight: 600;
    transition: all 0.3s;
}

.service-link:hover {
    color: var(--accent-hover);
    transform: translateX(5px);
    display: inline-block;
}

.vessel-category {
    background: var(--light-bg);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary-blue);
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.section-title {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-orange);
}

.section-title.text-start::after {
    left: 0;
    transform: none;
}

.contact-form .form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.8rem;
    transition: all 0.3s;
}

.contact-form .form-control:focus {
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 0.2rem rgba(36, 123, 160, 0.25);
}

.footer {
    background: var(--primary-blue);
    color: white;
    padding: 3rem 0 1rem;
}

.footer h4,
.footer h5,
.footer h6 {
    color: white;
}

.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -2px 10px rgba(10, 36, 99, 0.1);
    z-index: 1000;
    padding: 0.5rem 0;
}

.mobile-nav-item {
    flex: 1;
    text-align: center;
    color: #6c757d;
    text-decoration: none;
    font-size: 0.75rem;
    transition: all 0.3s;
}

.mobile-nav-item.active {
    color: var(--accent-orange);
}

.mobile-nav-item i {
    display: block;
    font-size: 1.3rem;
    margin-bottom: 0.2rem;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 78px 0 40px;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .mobile-bottom-nav {
        display: none !important;
    }
    
    body {
        padding-bottom: 0;
    }
    
    .stats-card {
        margin-bottom: 1rem;
    }
    
    .stats-container {
        padding: 3rem 1rem; /* Add 1rem horizontal padding */
    }
    
    /* Maximize logo size on mobile while keeping menu on right */
    .navbar-brand {
        flex: 0 1 auto;
        max-width: calc(100% - 60px); /* Reserve space for menu button */
    }
    
    .navbar-brand img {
        height: 35px !important;
        max-width: 100%;
    }
    
    .navbar-brand span {
        font-size: 8px !important;
        margin-left: 12px !important;
    }
    
    .navbar-toggler {
        margin-left: auto;
    }
    
    /* Add extra spacing between Contact and Call Now in mobile navbar */
    .navbar-collapse .nav-item:last-child {
        margin-bottom: 15px;
    }
}

/* Mobile navbar active state styling */
@media (max-width: 991px) {
    /* Remove green underline indicator in mobile navbar */
    .nav-link::after {
        display: none !important;
    }
    
    /* Make active nav link bold and green */
    .nav-link.active {
        font-weight: 700 !important;
        color: var(--accent-orange) !important;
    }
}

.filter-btn {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    background: transparent;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    margin: 0.25rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary-blue);
    color: white;
    transform: scale(1.05);
}

/* Trust Badges */
.trust-badges {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(10, 36, 99, 0.1);
}

.trust-badge-item {
    text-align: center;
    padding: 1rem;
}

.trust-badge-icon {
    font-size: 2.5rem;
    color: var(--accent-orange);
    margin-bottom: 0.5rem;
}

/* Form Validation Styles */
.form-control.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-valid {
    border-color: #06D6A0;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2306D6A0' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.invalid-feedback {
    display: none;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-control.is-invalid ~ .invalid-feedback {
    display: block;
}

.valid-feedback {
    display: none;
    color: #06D6A0;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-control.is-valid ~ .valid-feedback {
    display: block;
}

/* Loading Spinner */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 36, 99, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.spinner-overlay.active {
    opacity: 1;
    visibility: visible;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--accent-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9998;
}

.toast-notification {
    background: white;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 5px 20px rgba(10, 36, 99, 0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 300px;
    transform: translateX(400px);
    animation: slideIn 0.3s forwards;
}

@keyframes slideIn {
    to { transform: translateX(0); }
}

.toast-notification.success {
    border-left: 4px solid #06D6A0;
}

.toast-notification.error {
    border-left: 4px solid #dc3545;
}

.toast-notification.info {
    border-left: 4px solid #247BA0;
}

.toast-icon {
    font-size: 1.5rem;
}

.toast-notification.success .toast-icon {
    color: #06D6A0;
}

.toast-notification.error .toast-icon {
    color: #dc3545;
}

.toast-notification.info .toast-icon {
    color: #247BA0;
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(10, 36, 99, 0.08);
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e9ecef;
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(36, 123, 160, 0.2);
}

.testimonial-stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.testimonial-info h6 {
    margin: 0;
    color: var(--primary-blue);
    font-weight: 600;
}

.testimonial-info small {
    color: #6c757d;
}

/* Floating CTA Button */
.floating-cta {
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 1000;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.floating-cta .btn {
    border-radius: 50px;
    padding: 1rem 2rem;
    font-weight: 600;
    box-shadow: 0 5px 25px rgba(6, 214, 160, 0.4);
}

/* Section Dividers */
.section-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent-orange), transparent);
    margin: 3rem 0;
}

/* Improved Card Hover Effects */
.service-card, .vessel-card, .testimonial-card {
    position: relative;
    overflow: hidden;
}

.service-card::before, .vessel-card::before, .testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(6, 214, 160, 0.1), transparent);
    transition: left 0.5s;
}

.service-card:hover::before, .vessel-card:hover::before, .testimonial-card:hover::before {
    left: 100%;
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Animation Delays for Card Grids */
.fade-in-delay-1 {
    transition-delay: 0.1s;
}

.fade-in-delay-2 {
    transition-delay: 0.2s;
}

.fade-in-delay-3 {
    transition-delay: 0.3s;
}

.fade-in-delay-4 {
    transition-delay: 0.4s;
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    .fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .fade-in-delay-1,
    .fade-in-delay-2,
    .fade-in-delay-3,
    .fade-in-delay-4 {
        transition-delay: 0s;
    }
    
    /* Disable button scale animations */
    .btn-marine:hover,
    .btn-outline-marine:hover,
    .filter-btn:hover,
    .filter-btn.active {
        transform: none;
    }
    
    /* Disable card lift animations */
    .service-card:hover,
    .stats-card:hover,
    .vessel-card:hover,
    .testimonial-card:hover {
        transform: none;
    }
    
    /* Disable navigation link underline animation */
    .nav-link::after {
        transition: none;
    }
}

/* Featured Vessels Header */
.featured-vessels-header {
    gap: 5px;
}

/* Improved Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--dark-text);
}

/* White headers for sections with blue/dark backgrounds */
.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section h4,
.hero-section h5,
.hero-section h6,
.hero-section-small h1,
.hero-section-small h2,
.hero-section-small h3,
.hero-section-small h4,
.hero-section-small h5,
.hero-section-small h6 {
    color: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
}

/* Dark headers for light backgrounds - utility class */
.text-dark-headers h1,
.text-dark-headers h2,
.text-dark-headers h3,
.text-dark-headers h4,
.text-dark-headers h5,
.text-dark-headers h6,
.text-dark-headers .section-title {
    color: var(--dark-text);
}

/* CTA Urgency Messaging */
.cta-urgency {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border-left: 4px solid #ffc107;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin: 1rem 0;
}

.cta-urgency i {
    color: #ffc107;
    font-size: 1.5rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .floating-cta {
        bottom: 80px;
        right: 10px;
    }
    
    .floating-cta .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .toast-notification {
        min-width: 250px;
    }
    
    .toast-container {
        right: 10px;
        left: 10px;
    }
}

/* Partners / Marquee Section */
.marquee-section {
    padding: 2.5rem 0;
    background: #f8f9fb;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    overflow: hidden;
}

.marquee-label {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

/* The clipping viewport with fade masks on both sides */
.marquee-viewport {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 18%,
        black 82%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 18%,
        black 82%,
        transparent 100%
    );
}

/* The scrolling track */
.marquee-track {
    display: flex;
    align-items: center;
    gap: 3rem;
    width: max-content;
    animation: marquee-scroll 28s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

/* Each logo card */
.marquee-item {
    flex-shrink: 0;
    width: 200px;
    height: 100px;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.marquee-item:hover {
    border-color: var(--secondary-blue);
    box-shadow: 0 6px 20px rgba(36,123,160,0.12);
}

.marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

@keyframes marquee-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; }
}

@media (max-width: 576px) {
    .marquee-item {
        width: 150px;
        height: 80px;
    }
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    .hero-section::before,
    .hero-section-small::before {
        will-change: auto;
        transform: none !important;
    }
}

/* ===== MODERN LAZY LOADING & PROGRESSIVE LOADING ===== */

/* Hero Background Lazy Loading with Blur-up Effect */
.hero-section::before,
.hero-section-small::before {
    /* Start with blurred low-quality placeholder */
    filter: blur(20px);
    transform: scale(1.1) translateY(var(--parallax-offset)) translateZ(0);
    transition: filter 0.8s ease-out, transform 0.3s ease-out;
}

.hero-section.loaded::before,
.hero-section-small.loaded::before {
    /* Remove blur when high-quality image loads */
    filter: blur(0);
    transform: scale(1) translateY(var(--parallax-offset)) translateZ(0);
}

/* Skeleton Loading States */
.skeleton {
    background: linear-gradient(
        90deg,
        #f0f0f0 0%,
        #f8f8f8 20%,
        #f0f0f0 40%,
        #f0f0f0 100%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    border-radius: inherit;
    position: relative;
    overflow: hidden;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Skeleton Card Variants */
.skeleton-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 5px 20px rgba(10, 36, 99, 0.08);
    border: 1px solid #e9ecef;
}

.skeleton-header {
    height: 60px;
    width: 60px;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.skeleton-title {
    height: 24px;
    width: 70%;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.skeleton-text {
    height: 16px;
    width: 100%;
    margin-bottom: 0.5rem;
    border-radius: 4px;
}

.skeleton-text-short {
    height: 16px;
    width: 60%;
    margin-bottom: 0.5rem;
    border-radius: 4px;
}

/* Stats Card Skeleton */
.skeleton-stats {
    height: 170px;
    border-radius: 15px;
}

.skeleton-number {
    height: 40px;
    width: 80px;
    margin: 0 auto 1rem;
    border-radius: 4px;
}

.skeleton-label {
    height: 16px;
    width: 120px;
    margin: 0 auto;
    border-radius: 4px;
}

/* Vessel Card Skeleton */
.skeleton-vessel-img {
    height: 200px;
    border-radius: 15px 15px 0 0;
}

.skeleton-vessel-body {
    padding: 1.5rem;
}

.skeleton-badge {
    height: 24px;
    width: 100px;
    margin-bottom: 0.5rem;
    border-radius: 20px;
}

/* Content Loaded State - Smooth Fade In */
.content-loading {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.content-loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Hide skeleton when content is loaded */
.skeleton-wrapper.loaded .skeleton {
    display: none;
}

.skeleton-wrapper.loaded .content-loading {
    opacity: 1;
    transform: translateY(0);
}

/* GPU Acceleration for Smooth Animations */
.skeleton,
.content-loading,
.hero-section::before,
.hero-section-small::before {
    will-change: transform, opacity, filter;
    backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .hero-section::before,
    .hero-section-small::before {
        filter: none !important;
        transform: none !important;
        transition: none !important;
    }
    
    .skeleton {
        animation: none;
        background: #f0f0f0;
    }
    
    .content-loading {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Language Switcher Styling */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.language-switcher select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    outline: none;
}

.language-switcher select:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.language-switcher select:focus {
    outline: 2px solid var(--accent-orange);
    outline-offset: 2px;
}

.language-switcher select option {
    background: var(--primary-blue);
    color: white;
}

.language-switcher i {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 991px) {
    .language-switcher {
        margin-top: 1rem;
        justify-content: center;
    }
}

/* Google Translate Styling */
#google_translate_element {
    display: none !important;
}

#google_translate_element select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    outline: none;
}

#google_translate_element select:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

#google_translate_element select:focus {
    outline: 2px solid var(--accent-orange);
    outline-offset: 2px;
}

/* AGGRESSIVE HIDING - Hide ALL Google Translate UI Elements */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-te-ftab,
.goog-te-menu-frame,
.goog-te-menu2,
.goog-te-balloon,
.goog-te-spinner-pos,
iframe.goog-te-banner-frame,
iframe.goog-te-menu-frame,
iframe.skiptranslate,
body > .skiptranslate,
body > iframe.skiptranslate,
#goog-gt-,
[id^="goog-gt-"],
.goog-te-spinner,
.goog-logo-link {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    z-index: -9999 !important;
}

/* Force body to stay in place */
body {
    top: 0px !important;
    position: static !important;
    margin-top: 0 !important;
}

html {
    margin-top: 0px !important;
}

body.translated-ltr,
body.translated-rtl {
    top: 0 !important;
    margin-top: 0 !important;
}

/* Hide any element with goog-te in class or id */
[class*="goog-te"]:not(#google_translate_element):not(.goog-te-gadget):not(.goog-te-gadget-simple):not(.goog-te-menu-value) {
    display: none !important;
    visibility: hidden !important;
}

[id*="goog-"]:not(#google_translate_element) {
    display: none !important;
    visibility: hidden !important;
}

/* Style Google Translate dropdown */
.goog-te-gadget {
    font-family: inherit !important;
}

.goog-te-gadget-simple {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 20px !important;
    padding: 0.4rem 0.8rem !important;
    font-size: 0.9rem !important;
    color: white !important;
    transition: all 0.3s !important;
}

.goog-te-gadget-simple:hover {
    background-color: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.goog-te-gadget-icon {
    display: none !important;
}

.goog-te-menu-value span {
    color: white !important;
}

.goog-te-menu-value span:hover {
    color: white !important;
}

@media (max-width: 991px) {
    #google_translate_element {
        margin-top: 1rem;
        text-align: center;
    }
}




/* Language Dropdown - Simple & Subtle */
.language-dropdown {
    position: relative;
    display: inline-block;
}

.lang-select {
    appearance: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 6px 30px 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lang-select:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.lang-select:focus {
    outline: none;
    border-color: #06D6A0;
    box-shadow: 0 0 0 2px rgba(6, 214, 160, 0.2);
}

.language-dropdown i {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.lang-select option {
    background: #0A2463;
    color: #fff;
    padding: 8px;
}

/* Mobile responsive */
@media (max-width: 991px) {
    .language-dropdown {
        margin-top: 10px;
        margin-bottom: 10px;
    }
}

/* =============================================
   ASH BACKGROUND — Bootstrap bg-light override
   bg-light panels sit above the #f0f2f4 page bg
   ============================================= */
.bg-light {
    background-color: #ffffff !important;
}
