/* Define custom colors and font family */
:root {
    --opex-blue: #2D72B8;
    --opex-light-blue: #00C2B8;
}
body {
    font-family: 'Inter', sans-serif;
}
.bg-opex-blue { background-color: var(--opex-blue); }
.text-opex-blue { color: var(--opex-blue); }
.bg-opex-light-blue { background-color: var(--opex-light-blue); }
.text-opex-light-blue { color: var(--opex-light-blue); }
.text-shadow {
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}
.fluid-shape {
    position: absolute;
    z-index: -1;
    will-change: transform, opacity;
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 1.2s ease;
}

/* --- Animations for scroll effects --- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* The base state for elements that will be animated */
.animated-element {
    opacity: 0;
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
    transform: translateY(20px); /* Initial position for fadeInUp */
}
/* This class is added by JavaScript when element is in view */
.animated-element.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Video slider specific styles */
.video-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}
.video-slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}
.video-slider-item.active {
    opacity: 1;
}

/* Mobile menu overlay styles */
#mobile-menu-overlay {
    transition: transform 0.4s ease-in-out;
}
#mobile-menu-overlay.open {
    transform: translateY(0);
}

/* Hero slider styles */
.hero-slider-item {
    display: none;
    transition: opacity 1s ease-in-out;
}
.hero-slider-item.active {
    display: block;
    opacity: 1;
}

/* Specific styles for the new project sliders */
.project-slider {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    cursor: pointer; /* Indicate it's interactive */
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1-px rgba(0, 0, 0, 0.06);
}
.project-slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
.project-slider-image.active {
    opacity: 1;
}

/* Lift Protection Section Custom Styles */
.bg-opex-lift-protection {
    background: linear-gradient(135deg, var(--opex-blue) 0%, #225a91 100%);
}
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.feature-icon-wrapper {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    color: var(--opex-blue);
    border-radius: 9999px;
    transition: all 0.3s ease;
}
.feature-icon-wrapper svg {
    width: 1.5rem;
    height: 1.5rem;
}
.feature-item:hover .feature-icon-wrapper {
    background-color: var(--opex-light-blue);
    color: white;
    transform: translateY(-4px);
}

/* Lighting Section Custom Styles */
.bg-opex-lighting {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
}

/* Contact Form Styles */
.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}
.input-group label {
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    color: #9ca3af;
    transition: all 0.2s ease-in-out;
    pointer-events: none;
}
.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label,
.input-group textarea:focus + label,
.input-group textarea:not(:placeholder-shown) + label {
    top: -1.25rem;
    font-size: 0.875rem;
    color: var(--opex-blue);
    text-shadow: none;
}
