﻿/* Services Page Styles - Updated Layout */

/* Updated Page Header Styling to match contact.css */
.page-header-section {
    background-color: #f0f7ff;
    color: #1e3a5f;
    border-bottom: 4px solid #2563eb;
    margin-bottom: 3rem;
}

    .page-header-section .display-3 {
        font-weight: 800;
        font-size: 2.8rem;
    }

    .page-header-section .lead {
        color: #4b5563;
        font-size: 1.2rem;
    }

.badge {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
}

/* Section Headings */
.section-heading {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    position: relative;
    display: inline-block;
}

    .section-heading::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: linear-gradient(90deg, #0d6efd, #17a2b8);
        border-radius: 2px;
    }

.section-subtext {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 3.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
.services-section {
    background-color: #ffffff;
    padding: 4rem 0;
}

    .services-section .row {
        display: flex;
        justify-content: center;
    }

/* Service Cards - Enhanced Styling */
.service-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 2px solid transparent;
    height: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

    .service-card:hover {
        transform: translateY(-12px) scale(1.02);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        border-color: #0d6efd;
    }

.service-card-inner {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    z-index: 1;
}

/* Service Icon - Modern Design */
.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0d6efd 0%, #17a2b8 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.25);
    transition: all 0.4s ease;
}

    .service-icon i {
        font-size: 2rem;
        color: #ffffff;
    }

.service-card:hover .service-icon {
    transform: rotate(15deg) scale(1.1);
    box-shadow: 0 12px 25px rgba(23, 162, 184, 0.35);
}

/* Service Content */
.service-content {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2c3e50;
    line-height: 1.3;
}

.service-description {
    color: #6c757d;
    line-height: 1.7;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 400;
}

/* Get Quote Button - Modern Design */
.learn-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #0d6efd 0%, #17a2b8 100%);
    border: none;
    padding: 1rem 2rem;
    cursor: pointer;
    font-size: 1rem;
    margin-top: auto;
    transition: all 0.3s ease;
    text-decoration: none;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

    .learn-more-btn:hover {
        background: linear-gradient(135deg, #17a2b8 0%, #0d6efd 100%);
        color: #ffffff;
        gap: 1rem;
        text-decoration: none;
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(13, 110, 253, 0.4);
    }

    .learn-more-btn i {
        font-size: 0.9rem;
        transition: transform 0.3s ease;
    }

    .learn-more-btn:hover i {
        transform: translateX(6px);
    }

/* Enhanced CTA Section - Redesigned */
.services-cta {
    background: linear-gradient(135deg, #1a3a6e 0%, #2a4a7e 100%);
    border-radius: 20px;
    padding: 3.5rem;
    margin-top: 5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

    .services-cta::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    }

    .services-cta::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, #0d6efd, #17a2b8);
    }

.cta-content {
    position: relative;
    z-index: 2;
}

.services-cta h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.services-cta-text {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 400;
    line-height: 1.6;
}

.cta-btn-container {
    position: relative;
    z-index: 2;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #0d6efd 0%, #17a2b8 100%);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
    cursor: pointer;
}

    .btn-cta-primary:hover {
        background: linear-gradient(135deg, #17a2b8 0%, #0d6efd 100%);
        color: white;
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(13, 110, 253, 0.4);
        text-decoration: none;
    }

    .btn-cta-primary:active {
        transform: translateY(-1px);
    }

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    cursor: pointer;
}

    .btn-cta-secondary:hover {
        background: rgba(255, 255, 255, 0.2);
        color: white;
        transform: translateY(-3px);
        text-decoration: none;
        border-color: rgba(255, 255, 255, 0.5);
    }

.cta-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-cta-primary:hover .cta-icon,
.btn-cta-secondary:hover .cta-icon {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 1199.98px) {
    .services-section .row {
        justify-content: center;
    }

    .service-card-inner {
        padding: 2rem;
    }
}

@media (max-width: 991.98px) {
    .page-header-section .display-3 {
        font-size: 2.8rem;
    }

    .section-heading {
        font-size: 2.4rem;
    }

    .services-cta {
        padding: 2.5rem;
        margin-top: 4rem;
    }

        .services-cta h3 {
            font-size: 1.8rem;
        }

    .services-cta-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 767.98px) {
    .page-header-section .display-3 {
        font-size: 2.3rem;
    }

    .section-heading {
        font-size: 2rem;
    }

    .section-subtext {
        font-size: 1.1rem;
    }

    .service-card {
        margin-bottom: 1.5rem;
    }

    .services-cta {
        padding: 2rem;
        text-align: center;
        margin-top: 3rem;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        padding: 0.9rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }

    .services-cta .row > div {
        margin-bottom: 1.5rem;
    }

    .services-cta .col-lg-4 {
        text-align: center !important;
    }
}

@media (max-width: 575.98px) {
    .page-header-section {
        padding: 3rem 0;
    }

        .page-header-section .display-3 {
            font-size: 2rem;
        }

    .service-card-inner {
        padding: 1.75rem;
    }

    .service-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.5rem;
    }

        .service-icon i {
            font-size: 1.8rem;
        }

    .service-title {
        font-size: 1.5rem;
    }

    .service-description {
        font-size: 1.05rem;
    }

    .learn-more-btn {
        padding: 0.85rem 1.75rem;
        font-size: 0.95rem;
    }

    .services-cta {
        padding: 1.75rem;
    }

        .services-cta h3 {
            font-size: 1.6rem;
        }

    .services-cta-text {
        font-size: 1rem;
    }
}
