/* Component styles extracted from inline styles */

/* Service Cards */
.service-card {
    opacity: 1 !important; /* Force visibility */
    transform: none !important; /* Reset any transforms */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.icon-box {
    background: linear-gradient(135deg, #3B82F6 0%, #1E40AF 100%);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.water-hero {
    background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
    position: relative;
    overflow: hidden;
}

.water-hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Scroll Animation Styles */
.service-card {
    transform: translateY(20px);
    opacity: 0.5;
    transition: transform 0.6s ease-out, opacity 0.6s ease-out, box-shadow 0.3s ease;
}

.service-card.animate-in {
    transform: translateY(0);
    opacity: 1;
}

.approach-step {
    transform: translateX(-20px);
    opacity: 0.5;
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

.approach-step.animate-in {
    transform: translateX(0);
    opacity: 1;
}

.commitment-card {
    transform: scale(0.95);
    opacity: 0.5;
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

.commitment-card.animate-in {
    transform: scale(1);
    opacity: 1;
}

section h2 {
    transform: translateY(10px);
    opacity: 0.5;
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

section h2.animate-in {
    transform: translateY(0);
    opacity: 1;
}

/* Make initial state less dramatic */
.service-card, .approach-step, .commitment-card, section h2 {
    opacity: 0.8;
}

/* Add smooth scrolling to the whole page */
html {
    scroll-behavior: smooth;
}

/* Service tab transitions */
.service-card {
    transition: opacity 0.3s ease-in-out;
}

.service-tab {
    transition: all 0.3s ease-in-out;
}

.category-description {
    transition: opacity 0.3s ease-in-out;
}

/* Reset any hiding animations */
.approach-step,
.commitment-card,
section h2 {
    opacity: 1 !important;
    transform: none !important;
}

/* Make sure grid containers are visible */
.grid {
    opacity: 1 !important;
    visibility: visible !important;
}

.why-choose-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    opacity: 1 !important;
    visibility: visible !important;
}

.why-choose-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.icon-container {
    width: 3rem;
    height: 3rem;
    background: #3B82F6;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
} 