body {
    background-color: #ffffff;
    color: #000000;
}

/* Smooth, premium scrolling */
html {
    scroll-behavior: smooth;
}

.nav-dropdown {
    position: relative;
}
.nav-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: #FCFCFC;
    border: 1px solid rgba(0,0,0,0.05);
    border-top: 2px solid #D9181E; /* Red Spine */
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
    padding: 8px 0;
    z-index: 50;
}
.nav-dropdown:hover .nav-dropdown-content {
    display: block;
}

/* Mobile Menu Slide-down Animation */
#mobile-menu {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}
#mobile-menu.open {
    max-height: calc(100vh - 5rem);
    opacity: 1;
}

/* Nav Link styling for premium look */
.nav-link {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Map Interaction - subtle pulse effect for the hero route */
.route-pulse {
    animation: pulse-route 3s infinite ease-in-out;
}

@keyframes pulse-route {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Mobile menu animation */
#mobile-menu {
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

#mobile-menu.open {
    max-height: 100vh;
    opacity: 1;
}

/* Customizing Tailwind line clamp */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


body {
    background-color: #FCFCFC;
    color: #0A0A0A;
}

/* Navbar specific styling */
.nav-line {
    width: 20px;
    height: 1px;
    background-color: #0A0A0A;
    transition: width 0.3s ease;
}

.nav-link {
    position: relative;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    /* 12px - corporate tiny caps */
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(10, 10, 10, 0.6);
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #D9181E;
}

/* Custom Logo 'e' match */
.logo-e {
    display: inline-block;
    width: 1.1em;
    height: 1.1em;
    border: 3px solid #D9181E;
    border-radius: 50%;
    position: relative;
    margin-left: -2px;
    vertical-align: middle;
    transform: translateY(-10%);
}

.logo-e::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0.5em;
    height: 1px;
    background-color: #FCFCFC;
    /* Cutout to mimic the letter shape */
}

/* Image Hover Effect */
.hero-image-container {
    position: relative;
    overflow: hidden;
}

.hero-image-container img {
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-image-container:hover img {
    transform: scale(1.03);
}

/* Mobile Menu Animation */
#mobile-menu {
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}











/* --- ANIMATIONS --- */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* Moves exactly halfway (1 set) */
    }
}

.animate-scroll {
    animation: scroll 25s linear infinite;
}

/* Pause animation on hover (Optional - Add if you want user interaction) */
.animate-scroll:hover {
    animation-play-state: paused;
}



/* --- MAP ANIMATIONS --- */
@keyframes flyRoute {
    0% {
        offset-distance: 0%;
    }
    100% {
        offset-distance: 100%;
    }
}
.animate-fly-route {
    animation: flyRoute 8s linear infinite;
}

@keyframes ping-slow {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}
.animate-ping-slow {
    animation: ping-slow 2.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}





/* --- DASHBOARD ANIMATIONS --- */
@keyframes growBar {
    0% { height: 0%; }
    100% { height: var(--bar-height); }
}
.bar-animate {
    animation: growBar 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.bar-1 { --bar-height: 80%; }
.bar-2 { --bar-height: 65%; }
.bar-3 { --bar-height: 45%; }
.bar-4 { --bar-height: 55%; }

@keyframes flyPlane {
    0% { offset-distance: 0%; }
    100% { offset-distance: 100%; }
}
.animate-fly-plane {
    animation: flyPlane 6s linear infinite;
}

/* Progress Ring SVG stroke offset calculation */
.progress-ring__circle {
    transition: stroke-dashoffset 0.35s;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
}




/* WHATSAPP */

   /* Popup & Button Base Styles */
   #wa-chat-wrapper {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99999;
    font-family: 'Inter', sans-serif;
}

/* The Floating Button */
#wa-btn {
    width: 60px;
    height: 60px;
    background: #25D366; /* WhatsApp Green */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    position: absolute;
    bottom: 0;
    right: 0;
    transition: transform 0.3s;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.5);
}
#wa-btn.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}
#wa-btn:hover {
    transform: scale(1.1);
}
#wa-btn svg {
    width: 35px;
    height: 35px;
    fill: white;
}

/* The Chat Popup */
#wa-popup {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 360px;
    max-width: calc(100vw - 40px);
    height: 480px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.9);
    transform-origin: bottom right;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
#wa-popup.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

/* Header */
.wa-header {
    background: #075E54;
    color: white;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.wa-avatar {
    width: 42px;
    height: 42px;
    background: #ece5dd;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    color: #075E54;
    font-size: 18px;
}
.wa-info { flex: 1; }
.wa-info h4 { margin: 0; font-size: 16px; font-weight: 600; }
.wa-info p { margin: 0; font-size: 12px; color: #a5d6a7; }
.wa-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.8;
}
.wa-close:hover { opacity: 1; }

/* Chat Body */
.wa-body {
    flex: 1;
    background: #ECE5DD;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23c9b99a' fill-opacity='0.2'%3E%3Cpath d='M0 0h60v60H0z'/%3E%3C/g%3E%3C/svg%3E");
}
.wa-msg {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
    position: relative;
    background: white;
    color: #333;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}
.wa-msg.bot {
    border-top-left-radius: 2px;
    align-self: flex-start;
}
.wa-time {
    font-size: 10px;
    color: #999;
    float: right;
    margin-left: 10px;
    margin-top: 6px;
}

/* Input Area */
.wa-input-area {
    background: #f0f0f0;
    padding: 12px;
    display: flex;
    gap: 8px;
    align-items: center;
}
#wa-input {
    flex: 1;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 10px 16px;
    font-size: 14px;
    outline: none;
    background: white;
}
#wa-send {
    background: #25D366;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.2s;
}
#wa-send:hover { background: #1ebd55; }
#wa-send svg { width: 22px; height: 22px; fill: white; }





/* INTRO */

/* --- PREMIUM PRELOADER --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #ffff; /* Brand Black */
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-logo {
    opacity: 0;
    transform: scale(0.95);
    animation: logoIntro 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

@keyframes logoIntro {
    to { opacity: 1; transform: scale(1); }
}

.loader-line {
    width: 0;
    height: 2px;
    background: #D9181E; /* Brand Red */
    margin-top: 20px;
    animation: drawLine 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

@keyframes drawLine {
    to { width: 180px; }
}

.loader-text {
    opacity: 0;
    margin-top: 15px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #D9181E;
    font-family: 'Inter', sans-serif;
    font-size: 0.55rem;
    font-weight: 700;
    animation: fadeUp 0.8s ease 1s forwards;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.loader-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.8;
    letter-spacing: 0.1em;
}