/* Services Page Specific Styles */
.services-page {
    padding-top: 80px; /* Account for fixed header */
}

.services-hero {
    background: linear-gradient(rgba(26, 79, 139, 0.9), rgba(26, 79, 139, 0.9)),
                url('https://images.unsplash.com/photo-1554224155-8d04cb21cd6c?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 4rem 2rem;
}

.services-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.services-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.service-section {
    padding: 4rem 2rem;
}

.service-section:nth-child(even) {
    background-color: var(--light-bg);
}

.service-section h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.service-detail-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.service-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(76, 175, 80, 0.1), rgba(33, 150, 243, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-detail-card:hover::before {
    opacity: 1;
}

.service-detail-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.service-detail-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.service-detail-card p {
    color: var(--text-color);
    position: relative;
    z-index: 2;
}

.contact-widget {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-width: 450px;
    width: 90%;
    border: 1px solid rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(5px);
}

.widget-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    position: relative;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.widget-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
}

.widget-content p {
    text-align: center;
    margin-bottom: 2rem;
    color: #666;
    font-size: 1.1rem;
}

.widget-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.widget-buttons a {
    padding: 1rem;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.widget-buttons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    z-index: 1;
}

.widget-buttons a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.widget-buttons .widget-icon {
    width: 24px;
    height: 24px;
}



.whatsapp-btn {
    background-color: #25D366;
    color: white !important;
}

.email-btn {
    background-color: #EA4335;
    color: white !important;
}

.phone-btn {
    background-color: #1a4f8b;
    color: white !important;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s;
}

.close-btn:hover {
    transform: rotate(90deg);
}

.close-icon {
    width: 24px;
    height: 24px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-hero h1 {
        font-size: 2rem;
    }

    .service-section h2 {
        font-size: 2rem;
    }

    .widget-buttons {
        flex-direction: column;
    }
}