:root {
    --bs-dark-blue: #2e388e;
    --bs-orange: #f06a24;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #111827;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

#preloader {
    position: fixed;
    inset: 0;
    background-color: var(--bs-dark-blue);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease-out;
}

/* Logo Styling */
.navbar-brand img {
    max-width: 180px; /* Controls the size of your logo */
    height: auto;
}

/* --- 3D Hero Styles --- */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: white;
}
#globe-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    cursor: grab;
}
#globe-container:active {
    cursor: grabbing;
}
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    opacity: 0.2; 
}
.hero-video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 1rem;
    background: rgba(15, 56, 90, 0.2);
    backdrop-filter: blur(2px);
    border-radius: 0.5rem;
}

.animate-item, .scroll-reveal {
    opacity: 0;
    transform: translateY(2rem);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animate-item.is-visible, .scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.word-rotator-container {
    display: inline-grid;
    align-items: start;
    vertical-align: bottom;
    text-align: left;
    height: 1.2em;
    line-height: 1.2em;
    overflow: hidden;
}
.word-rotator {
    grid-area: 1 / 1;
    animation: rotateWords 12s infinite;
}

/* UPDATED: Word rotator animation with pixels */
@keyframes rotateWords {
    0%, 20% { transform: translateY(0); }
    25%, 45% { transform: translateY(-1.2em); } /* Using em for flexibility */
    50%, 70% { transform: translateY(-2.4em); }
    75%, 95% { transform: translateY(-3.6em); }
    100% { transform: translateY(-4.8em); }
}

.navbar-custom {
    transition: background-color 0.3s ease-in-out;
}
.navbar-custom.scrolled {
    background-color: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(10px);
}
.btn-accent {
    background-color: var(--bs-orange);
    border-color: var(--bs-orange);
    color: white;
}
.btn-accent:hover {
    background-color: #d37a00;
    border-color: #d37a00;
    color: white;
}
.text-accent { color: var(--bs-orange); }
.bg-accent-subtle { background-color: #fef3e6; }

.service-card {
     cursor: pointer;
}
.service-card, .testimonial-card, .plan-step-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover, .testimonial-card:hover, .plan-step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 1.5rem rgba(0,0,0,.1);
}

.why-us-image {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 450px;
}
.fleet-image {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 450px;
    border-radius: 0.5rem;
}

.plan-step-card .icon {
    width: 80px;
    height: 80px;
    background-color: var(--bs-dark-blue);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    position: relative;
    z-index: 1;
}

.plan-steps-row {
    position: relative;
}
.plan-step-connector {
    position: absolute;
    top: 40px;
    left: 25%; 
    width: 50%; 
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--bs-dark-blue), var(--bs-dark-blue) 6px, transparent 6px, transparent 12px);
    z-index: 0;
}

.accordion-button:not(.collapsed) {
    color: var(--bs-dark-blue);
    background-color: #fef3e6;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}

.contact-form .form-control {
    background-color: #0c2d48;
    border-color: #2a5a81;
    color: white;
}
.contact-form .form-control::placeholder { color: #a0aec0; }
.contact-form .form-control:focus {
    background-color: #0c2d48;
    border-color: var(--bs-orange);
    color: white;
    box-shadow: 0 0 0 0.25rem rgba(230, 134, 0, 0.25);
}

.map-container {
    position: relative;
    background-color: #0c2d48;
    border-radius: 0.5rem;
}
.map-container .map-image {
    width: 100%;
    height: auto;
    opacity: 0.7;
    border-radius: 0.5rem;
}
.map-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: var(--bs-orange);
    border-radius: 50%;
    border: 2px solid white;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
    cursor: pointer;
    z-index: 5;
}
.map-dot:hover {
    transform: translate(-50%, -50%) scale(1.5);
}
.map-dot .map-tooltip {
    position: absolute;
    bottom: 150%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--bs-dark-blue);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    width: 250px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 10;
}
.map-dot:hover .map-tooltip {
    opacity: 1;
    visibility: visible;
}
.map-tooltip h6 {
    margin-bottom: 0.25rem;
    color: var(--bs-orange);
    font-weight: 700;
}
.map-tooltip p {
    font-size: 0.875rem;
    margin-bottom: 0;
    color: #e2e8f0;
}

.partner-logos img {
    max-height: 40px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}
.partner-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.modal-header {
    border-bottom-color: #3e6b90;
}
.modal-content {
    background-color: #0c2d48;
    color: #f8f9fa;
}

/* FIXED: Added media query for mobile parallax fix */
@media (max-width: 768px) {
    .why-us-image, .fleet-image {
        background-attachment: scroll;
    }

    .navbar-custom {
        background-color: rgba(255, 255, 255, 0.85) !important;
        backdrop-filter: blur(10px);
    }


    .hero-content .d-flex {
        flex-direction: column; /* Stacks the items vertically */
        align-items: center; /* Centers the items */
    }

    .navbar-brand img {
        max-width: 120px; /* Or any other size you prefer */
    }
}