/* ========================================
   EKPIN MAIN STYLES - CUSTOM CSS
   ======================================== */

/* EKPIN Color System (YOUR COLORS) */
.bg-ekpinBlue { background-color: #06163a; }
.bg-ekpinWhite { background-color: #ffffff; }
.bg-ekpinRed { background-color: #cc0000; }
.text-ekpinWhite { color: #f8fafc; }
.text-ekpinBlack { color: #000000; }
.text-ekpinRed { color: #dc2626; }

/* Hover States */
.hover\:text-ekpinRed:hover { color: #dc2626; }

/* ========================================
   MARQUEE ANIMATION (Top Bar)
   ======================================== */
@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.animate-marquee {
    display: inline-block;
    animation: marquee 18s linear infinite;
    white-space: nowrap;
}

.animate-marquee:hover {
    animation-play-state: paused;
}

/* ========================================
    FLOATING BUTTONS
   ======================================== */
.floating-btn {
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.floating-btn:hover {
    transform: scale(1.1);
}

/* ========================================
   SMOOTH ANIMATIONS
   ======================================== */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease-in-out forwards;
}

/* ========================================
   DROPDOWN MENU ENHANCEMENTS
   ======================================== */
.group:hover .group-hover\:block {
    display: block !important;
}

/* Dropdown shadow & positioning */
header ul ul {
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-radius: 8px;
}

/* Mobile dropdown */
.dropdown-menu {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
}

/* ========================================
    ENHANCEMENTS
   ======================================== */
input:focus, select:focus, textarea:focus {
    outline: none;
    ring: 2px;
    ring-ekpinBlue;
}

/* Service cards hover */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* ========================================
   RESPONSIVE IMPROVEMENTS
   ======================================== */
@media (max-width: 768px) {
    .animate-marquee {
        font-size: 0.875rem;
        animation-duration: 15s;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* ========================================
   LOADING STATE
   ======================================== */
body.loaded .animate-fadeIn {
    animation-play-state: running;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}
