/* =========================================================================
   STRICT 3-COLOR BRAND PALETTE SYSTEM
   ========================================================================= */
:root {
    --brand-navy: #0c213a;   /* Primary Color: From Logo Main Title & Ship */
    --brand-slate: #7e848b;  /* Accent Color: From Logo Subtitle 'MARITIMES' */
    --brand-light: #f4f6f8;  /* Background Tint: From Logo Subtle Globe Continents */
    --pure-white: #ffffff;   /* Content System Base Layer Only */
    --section-padding: 80px 0;
}

/* =========================================================================
   GLOBAL FOUNDATION SETUP
   ========================================================================= */
body {
    font-family: 'Roboto', sans-serif;
    color: var(--brand-navy);
    background-color: var(--pure-white);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Sleek Scrollbar Themed with Logo Colors */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--brand-light);
}
::-webkit-scrollbar-thumb {
    background: var(--brand-navy);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--brand-slate); 
}

/* =========================================================================
   TOP COMMUNICATION BAR
   ========================================================================= */
.top-bar {
    background: var(--brand-navy);
    color: var(--pure-white);
    padding: 10px 0;
    font-size: 13px;
}

.top-bar .social-links a {
    color: var(--pure-white);
    margin-left: 15px;
    transition: opacity 0.3s ease;
}

.top-bar .social-links a:hover {
    opacity: 0.8;
}

/* =========================================================================
   NAVIGATION LINK STYLING
   ========================================================================= */
.navbar-brand img {
    transition: transform 0.3s ease;
}

.nav-link {
    font-weight: 600;
    color: var(--brand-navy) !important;
    margin: 0 10px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0; 
    height: 2px;
    bottom: 0; 
    left: 0;
    background: var(--brand-slate);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* =========================================================================
   PRIMARY BUTTON ACTIONS (NO GENERIC BLUE)
   ========================================================================= */
.btn-primary {
    background-color: var(--brand-navy) !important;
    border: 1px solid var(--brand-navy) !important;
    color: var(--pure-white) !important;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 700;
    transition: all 0.3s ease !important;
}

.btn-primary:hover {
    background-color: var(--brand-slate) !important;
    border-color: var(--brand-slate) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(12, 33, 58, 0.15);
}

/* =========================================================================
   HERO ROTATOR FRAME SYSTEM
   ========================================================================= */
.hero-slider .slide {
    height: 80vh;
    background-size: cover;
    background-position: center;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
}

.text-accent {
    color: var(--brand-slate) !important;
}

/* =========================================================================
   PREMIUM CONVERSION FORMS
   ========================================================================= */
.form-control, .form-select {
    border: 1px solid var(--brand-slate);
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--brand-navy);
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--brand-navy);
    box-shadow: 0 0 0 4px rgba(12, 33, 58, 0.1);
    background-color: var(--pure-white);
    outline: none;
}

/* =========================================================================
   SERVICE & INDUSTRY DISPLAY CARDS
   ========================================================================= */
.service-card, .industry-card {
    background: var(--pure-white);
    padding: 40px;
    border: 1px solid rgba(126, 132, 139, 0.15);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(12, 33, 58, 0.03);
    transition: all 0.4s ease-in-out;
    border-bottom: 4px solid transparent;
}

.service-card:hover, .industry-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--brand-navy);
    box-shadow: 0 15px 35px rgba(12, 33, 58, 0.08);
}

.icon-box, .industry-icon {
    font-size: 40px;
    color: var(--brand-navy);
    margin-bottom: 20px;
}

.divider {
    width: 60px;
    height: 4px;
    background: var(--brand-slate);
    margin-top: 15px;
}

/* =========================================================================
   COMPONENTS: LIVE UTILITY COUNTERS
   ========================================================================= */
.counter-value {
    color: #d3d3d3;
}

/* =========================================================================
   SECTIONS: INTERACTIVE SCROLL-REVEALS
   ========================================================================= */
.reveal { 
    opacity: 0; 
    transition: all 0.6s ease;
}

.services-header, .industry-header {
    background: linear-gradient(rgba(12, 33, 58, 0.85), rgba(12, 33, 58, 0.85)), 
                url('https://images.unsplash.com/photo-1578575437130-527eed3abbec?q=80&w=2070');
    background-size: cover;
    background-position: center;
    color: var(--pure-white);
    padding: 120px 0;
}

.service-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(126, 132, 139, 0.2);
}

.service-img-wrapper img {
    transition: transform 0.8s ease;
}

.service-img-wrapper:hover img {
    transform: scale(1.05);
}

/* =========================================================================
   STRUCTURAL FOOTER SECTION
   ========================================================================= */
.footer {
    background: var(--brand-light) !important;
    border-top: 1px solid rgba(126, 132, 139, 0.2);
    color: var(--brand-navy);
}

footer a.hover-primary {
    color: var(--brand-navy);
    transition: all 0.3s ease;
}

footer a.hover-primary:hover {
    color: var(--brand-slate) !important;
    padding-left: 5px;
}

.hover-opacity-100:hover {
    opacity: 0.7 !important;
    transform: translateY(-3px);
    transition: all 0.3s ease;
}

.bg-opacity-10 {
    background-color: rgba(12, 33, 58, 0.05) !important;
}

.my-get-btn {
    padding: 11px 15px !important;
}

.rounded-circle {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px !important;
    color: #082740 !important;
    border: solid 1px #d2d3d3;
    box-shadow: 0px 1px 2px 2px #d3d3d38f;
}

/* Contact page map css */
.map-btn:focus, .map-btn:active {
    border-color: var(--brand-slate) !important;
    background-color: #fff !important;
    box-shadow: 0 10px 15px rgba(12, 33, 58, 0.05) !important;
}

.carrier-jpg-blend:hover {
    opacity: 1 !important;
    transform: scale(1.05);
}
.dropdown-item:active {
    background-color: #0c213a !important;
}


/* ==========================================
   404 Page Button Custom Hover States
   ========================================== */

/* Main Homepage Button Hover */
.btn-primary {
    background-color: #0c213a;
    border-color: #0c213a;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #16365c !important; /* Slightly lighter navy for depth */
    border-color: #16365c !important;
    color: #ffffff !important;
    transform: translateY(-2px); /* Subtle premium lift effect */
    box-shadow: 0 4px 12px rgba(12, 33, 58, 0.15) !important;
}

/* Get Tariff Quote Outline Button Hover */
.btn-outline-dark {
    border: 2px solid #0c213a !important;
    color: #0c213a !important;
    background-color: transparent !important;
    transition: all 0.3s ease;
}

.btn-outline-dark:hover {
    background-color: #0c213a !important; /* Fills with corporate navy */
    border-color: #0c213a !important;
    color: #ffffff !important; /* Sharp contrast white text */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(12, 33, 58, 0.15) !important;
}