/* Services Section CSS - Modern card design */

/* Services Section */
.services-section {
    padding: 100px 0;
    background: var(--light);
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-label {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-size: 14px;
}

.services-title {
    font-size: 2.5rem;
    color: var(--dark);
    margin: 0;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-card-image {
    height: 250px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.1);
}

.service-card-content {
    padding: 30px;
}

.service-card-title {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.service-card-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-card-link:hover {
    color: var(--dark);
}

.service-card-link i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.service-card-link:hover i {
    transform: translateX(-5px);
}

/* Service Page Template CSS */

/* Service Hero Section */
.service-hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.service-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.service-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(2, 67, 91, 0.8), rgba(255, 39, 20, 0.6));
    z-index: 2;
}

.service-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
}

.service-hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.service-hero-description {
    font-size: 1.25rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.service-hero-ctas {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.service-cta-primary {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
}

.service-cta-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
}

.service-cta-secondary {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    background: transparent;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.service-cta-secondary:hover {
    background: white;
    color: var(--dark);
    transform: translateY(-2px);
}

/* Service Overview Section */
.service-overview {
    padding: 100px 0;
}

.service-overview-title {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 20px;
    font-weight: 700;
}

.service-overview-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 40px;
}

.service-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.service-benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-benefit-icon i {
    font-size: 1.5rem;
}

.service-benefit-title {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.service-benefit-text {
    color: #666;
    line-height: 1.6;
}

/* Service Sidebar */
.service-sidebar {
    position: sticky;
    top: 30px;
}

.service-contact-card {
    background: var(--dark);
    color: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
}

.service-contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.service-contact-card p {
    margin-bottom: 25px;
    opacity: 0.9;
}

.service-contact-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.service-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-contact-btn.primary {
    background: var(--primary);
    color: white;
}

.service-contact-btn.primary:hover {
    background: #e6241a;
    transform: translateY(-2px);
}

.service-contact-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.service-contact-btn.secondary:hover {
    background: rgba(255,255,255,0.1);
}

.service-contact-phones {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Service Process Section */
.service-process {
    padding: 100px 0;
    background: var(--light);
}

.service-process-header {
    text-align: center;
    margin-bottom: 60px;
}

.service-process-title {
    font-size: 2.5rem;
    color: var(--dark);
    font-weight: 700;
}

.service-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-step-item {
    position: relative;
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-step-item:hover {
    transform: translateY(-5px);
}

.service-step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.125rem;
}

.service-step-icon {
    width: 70px;
    height: 70px;
    background: var(--light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-step-icon i {
    font-size: 2rem;
}

.service-step-title {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.service-step-text {
    color: #666;
    line-height: 1.6;
}

/* Service FAQ Section */
.service-faq {
    padding: 100px 0;
}

.service-faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.service-faq-title {
    font-size: 2.5rem;
    color: var(--dark);
    font-weight: 700;
}

.service-faqs {
    max-width: 800px;
    margin: 0 auto;
}

.service-faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.service-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 30px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.service-faq-question:hover {
    background: var(--light);
}

.service-faq-question h3 {
    font-size: 1.125rem;
    color: var(--dark);
    font-weight: 600;
    margin: 0;
}

.service-faq-toggle {
    width: 30px;
    height: 30px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.service-faq-item.active .service-faq-toggle {
    transform: rotate(45deg);
}

.service-faq-answer {
    padding: 0 30px 25px;
    color: #666;
    line-height: 1.7;
    display: none;
}

.service-faq-item.active .service-faq-answer {
    display: block;
}

/* Service CTA Band */
.service-cta-band {
    padding: 80px 0;
    background: linear-gradient(45deg, var(--dark), var(--primary));
    color: white;
}

.service-cta-content {
    text-align: center;
}

.service-cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.service-cta-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.service-cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.service-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-cta-btn.primary {
    background: white;
    color: var(--dark);
}

.service-cta-btn.primary:hover {
    background: var(--light);
    transform: translateY(-3px);
}

.service-cta-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.service-cta-btn.secondary:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

/* Related Services Section */
.service-related {
    padding: 100px 0;
    background: var(--light);
}

.service-related-header {
    text-align: center;
    margin-bottom: 60px;
}

.service-related-title {
    font-size: 2.5rem;
    color: var(--dark);
    font-weight: 700;
}

.service-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-related-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.service-related-card:hover {
    transform: translateY(-5px);
}

.service-related-image {
    height: 200px;
    overflow: hidden;
}

.service-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-related-card:hover .service-related-image img {
    transform: scale(1.1);
}

.service-related-content {
    padding: 25px;
}

.service-related-card-title {
    font-size: 1.125rem;
    color: var(--dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.service-related-description {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.service-related-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-related-link:hover {
    color: var(--dark);
}

.service-related-link i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.service-related-link:hover i {
    transform: translateX(-3px);
}

/* Responsive Design */
@media (max-width: 991px) {
    .services-title,
    .service-hero-title,
    .service-overview-title,
    .service-process-title,
    .service-faq-title,
    .service-related-title {
        font-size: 2rem;
    }

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

    .service-hero {
        height: 50vh;
        min-height: 400px;
    }

    .service-sidebar {
        position: static;
        margin-top: 40px;
    }

    .service-hero-ctas,
    .service-cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .services-section,
    .service-overview,
    .service-process,
    .service-faq,
    .service-related {
        padding: 60px 0;
    }

    .service-cta-band {
        padding: 60px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card-content,
    .service-contact-card {
        padding: 25px 20px;
    }

    .service-step-item {
        padding: 30px 20px;
    }

    .service-faq-question {
        padding: 20px;
    }

    .service-faq-answer {
        padding: 0 20px 20px;
    }
}

/* FAQ JavaScript Enhancement */
.service-faq-item {
    transition: all 0.3s ease;
}

.service-faq-item.active {
    box-shadow: 0 5px 25px rgba(255, 39, 20, 0.1);
}

/* Remove old service-item CSS */
.service-item,
.service-img,
.service-detail {
    display: none;
}
