/* Main styles for GLET Solutions */
body { overflow-x: hidden; }

/* Custom color classes */
.text-delft-blue { color: #223658; }
.text-davy-gray { color: #545253; }
.text-tan { color: #f1ae70; }
.bg-delft-blue { background-color: #223658; }
.bg-davy-gray { background-color: #545253; }
.bg-tan { background-color: #f1ae70; }
.hover\:text-delft-blue:hover { color: #223658; }
.hover\:text-tan:hover { color: #f1ae70; }
.hover\:bg-delft-blue:hover { background-color: #223658; }
.hover\:bg-tan:hover { background-color: #f1ae70; }
.hover\:bg-davy-gray:hover { background-color: #545253; }
.border-delft-blue { border-color: #223658; }
.focus\:ring-delft-blue:focus { --tw-ring-color: #223658; }
.focus\:border-delft-blue:focus { border-color: #223658; }

/* Animation Classes - Similar to Animate.css */
.animate-element {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-element.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.fadeInUp {
    animation: fadeInUp 0.8s ease-out forwards;
}

.fadeInLeft {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.fadeInRight {
    animation: fadeInRight 0.8s ease-out forwards;
}

.bounceInDown {
    animation: bounceInDown 1s ease-out forwards;
}

.zoomIn {
    animation: zoomIn 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounceInDown {
    0% {
        opacity: 0;
        transform: translateY(-100px) scale(0.3);
    }
    50% {
        opacity: 1;
        transform: translateY(30px) scale(1.05);
    }
    70% {
        transform: translateY(-10px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes zoomIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animation delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }
.delay-800 { animation-delay: 0.8s; }
.delay-850 { animation-delay: 0.85s; }
.delay-900 { animation-delay: 0.9s; }
.delay-950 { animation-delay: 0.95s; }

/* Ensure icons are always visible */
svg {
    display: block !important;
    visibility: visible !important;
}

/* Animation fallback */
[data-animation] {
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Force visibility for instrumentation products section */
.instrumentation-card {
    opacity: 1 !important;
    visibility: visible !important;
}

.instrumentation-card svg {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.instrumentation-card h4 {
    opacity: 1 !important;
    visibility: visible !important;
    color: white !important;
    font-weight: 600 !important;
}

/* Ensure all text in instrumentation section is visible */
.bg-gradient-to-r h4.text-white {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* Partner logo styling for better background matching */
.partner-logo {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9)) !important;
}

.partner-logo:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(248, 250, 252, 0.95)) !important;
}

.partner-logo img {
    mix-blend-mode: multiply;
    filter: contrast(1.1) brightness(1.05) saturate(1.1);
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    filter: contrast(1.15) brightness(1.1) saturate(1.15) drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    transform: scale(1.02);
}

/* Ensure logo containers have proper background */
.partner-logo > div {
    background: linear-gradient(135deg, #ffffff, #f8fafc) !important;
    border: 1px solid rgba(207, 170, 128, 0.1);
    transition: all 0.3s ease;
}

.partner-logo:hover > div {
    background: linear-gradient(135deg, #ffffff, #f1f5f9) !important;
    border-color: rgba(207, 170, 128, 0.2);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}