.service-detail {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.service-detail h1 {
    text-align: center;
    font-size: 36px;
    color: #001F3F;
    margin-bottom: 20px;
}

.service-detail p {
    text-align: center;
    font-size: 16px;
    color: #555;
    margin-bottom: 40px;
}

.service-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    margin-bottom: 40px;
}

.service-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-description {
    flex: 1;
}

.service-description h2 {
    font-size: 24px;
    color: #001F3F;
    margin-bottom: 10px;
}

.service-description ul {
    list-style: disc;
    margin-left: 20px;
    color: #555;
}

.service-packages {
    margin: 40px 0;
}

.service-packages h2 {
    text-align: center;
    font-size: 24px;
    color: #001F3F;
    margin-bottom: 20px;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.package {
    text-align: center;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.package-image {
    width: 100%;
    max-width: 150px;
    height: 150px;
    margin-bottom: 10px;
    border-radius: 8px;
    object-fit: cover;
}

.package h3 {
    font-size: 20px;
    color: #001F3F;
    margin-bottom: 10px;
}

.package p {
    color: #555;
}

.package .price {
    font-size: 18px;
    color: #001F3F;
    font-weight: bold;
    margin: 20px 0;
}

.cta-button {
    display: inline-block;
    background-color: #001F3F;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #0056b3;
}

/* For tablets and medium-sized devices */
@media (max-width: 768px) {
    .service-content {
        flex-direction: column;
        text-align: center;
    }

    .service-image img {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .packages-grid {
        grid-template-columns: 1fr;
    }

    .service-description ul {
        margin-left: 0;
        padding-left: 20px;
    }
}


/* Service Benefits Section */
.service-benefits {
    background-color: #e9f5ff;
    padding: 20px;
    border-left: 5px solid #0056b3;
    border-radius: 8px;
    margin-bottom: 30px;
}

.service-benefits ul {
    list-style: disc;
    padding-left: 20px;
}

.service-benefits ul li {
    margin-bottom: 10px;
}

/* Case Studies Section */
.case-studies {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.case-study {
    margin-bottom: 20px;
    padding: 15px;
    border-left: 5px solid #0056b3;
    background-color: #f1f9ff;
    border-radius: 8px;
}

.case-study h3 {
    font-size: 1.5rem;
    color: #0056b3;
    margin-bottom: 10px;
}

.case-study p {
    margin: 0 0 10px;
}

.case-study .read-more {
    color: #0056b3;
    text-decoration: none;
    font-weight: bold;
}

.case-study .read-more:hover {
    text-decoration: underline;
}

/* FAQ Section */
.faq {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-item h3 {
    font-size: 1.25rem;
    color: #0056b3;
    margin-bottom: 10px;
}

.faq-item p {
    margin: 0;
}

.call-to-action {
    background-color: #0056b3;
    color: #ffffff;
    text-align: center;
    padding: 40px 20px;
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.call-to-action h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.3;
}

.call-to-action p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.call-to-action .cta-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #ffffff;
    color: #0056b3;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.call-to-action .cta-button:hover {
    background-color: #004494;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
    h2 {
        font-size: 1.75rem;
    }

    .case-study h3 {
        font-size: 1.25rem;
    }

     .call-to-action h2 {
        font-size: 2rem;
    }

    .call-to-action p {
        font-size: 1rem;
    }

    .call-to-action .cta-button {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
}

/* For mobile devices */
@media (max-width: 480px) {
    .service-detail {
        padding: 20px 10px;
    }

    .service-detail h1 {
        font-size: 28px;
    }

    .service-description h2,
    .service-packages h2 {
        font-size: 20px;
    }

    .package {
        padding: 15px;
    }

    .cta-button {
        padding: 8px 15px;
        font-size: 14px;
    }

    .package-image {
        max-width: 100px;
    }
}