/* Services Page Styles */
.services-hero {
    background: linear-gradient(135deg, #ffffff 0%, #0066cc 100%);
    color: white;
    padding: 8rem 2rem;
    text-align: center;
    position: relative;
}

.services-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

.services-hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    animation: fadeInUp 1s ease-out 0.2s forwards;
    opacity: 0;
}

.services-intro {
    padding: 4rem 2rem;
    text-align: center;
    background: #f8fafc;
}

.services-intro h2 {
    color: #003366;
    margin-bottom: 1rem;
}
.services-intro h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #003366;
}
.services-intro p {
    color: #666;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: #003366;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-card:hover::before {
    width: 100%;
    opacity: 0.1;
}

.service-icon {
    font-size: 2.5rem;
    color: #003366;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: #003366;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-btn {
    display: inline-flex;
    align-items: center;
    color: #003366;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-btn i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.service-btn:hover {
    color: #003366;
}

.service-btn:hover i {
    transform: translateX(5px);
}

.emergency-cta {
    background: white;
    color: #003366;
    padding: 4rem 2rem;
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    text-align: center;
}

.emergency-cta .container {
    width: 100%;
    max-width: 1200px;
}
.emergency-cta h2 {
    margin-bottom: 1rem;
    
}
.emergency-cta p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.emergency-btn {
    display: inline-flex;
    align-items: center;
    background: #003366;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

.emergency-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255,102,0,0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-hero {
        padding: 6rem 2rem;
    }
    
    .services-hero h1 {
        font-size: 2.2rem;
    }
    
    .services-hero p {
        font-size: 1.1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}