/* Service Detail Hero Section */
.service-detail-hero {
    background: linear-gradient(rgba(40, 170, 225, 0.1), rgba(40, 170, 225, 0.05));
    padding: 4rem 1rem 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../photos/pattern-dots.svg');
    background-size: 20px;
    opacity: 0.15;
    pointer-events: none;
}

.service-detail-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.breadcrumbs {
    margin-bottom: 1.5rem;
    color: var(--light-text);
    font-size: 0.95rem;
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.service-detail-hero h1 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-size: 2.8rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--light-text);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Service Overview Section */
.service-overview {
    padding: 5rem 0;
    background-color: var(--background-color);
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.overview-text h2 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
}

.overview-text p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.overview-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(40, 170, 225, 0.15);
}

.overview-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.overview-content:hover .overview-image img {
    transform: scale(1.05);
}

/* Service Features Section */
.service-features {
    padding: 5rem 0;
    background-color: var(--light-background);
}

.service-features h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
    font-size: 2.2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px rgba(40, 170, 225, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(40, 170, 225, 0.15);
}

.feature-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--light-text);
    line-height: 1.6;
    margin: 0;
}

/* Service Details Section */
.service-details-section {
    padding: 5rem 0;
    background-color: var(--background-color);
}

.service-details-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
    font-size: 2.2rem;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.detail-item {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px rgba(40, 170, 225, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(40, 170, 225, 0.15);
}

.detail-item h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    position: relative;
    padding-left: 1.5rem;
}

.detail-item h3::before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.detail-item p {
    color: var(--light-text);
    line-height: 1.6;
    margin: 0;
}

/* Case Study Section */
.case-study-section {
    padding: 5rem 0;
    background-color: var(--light-background);
}

.case-study-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
    font-size: 2.2rem;
}

.case-study {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px rgba(40, 170, 225, 0.1);
    padding: 3rem;
    border: 1px solid var(--border-color);
}

.case-study-content h3 {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.case-study-content p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.case-study-content p:last-child {
    margin-bottom: 0;
}

.case-study-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(40, 170, 225, 0.15);
}

.case-study-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.case-study:hover .case-study-image img {
    transform: scale(1.05);
}

/* Eligibility Section */
.eligibility-section {
    padding: 5rem 0;
    background-color: var(--background-color);
}

.eligibility-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
    font-size: 2.2rem;
}

.eligibility-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.eligibility-text p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.eligibility-text ul {
    list-style: none;
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.eligibility-text li {
    position: relative;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    padding-left: 1.5rem;
}

.eligibility-text li::before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.info-card {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 20px rgba(40, 170, 225, 0.2);
    text-align: center;
}

.info-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.info-card p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    opacity: 0.9;
}

.info-card .cta-button {
    background-color: white;
    color: var(--primary-color);
    border: none;
}

.info-card .cta-button:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background-color: var(--light-background);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
    font-size: 2.2rem;
}

.faq-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.faq-item {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px rgba(40, 170, 225, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(40, 170, 225, 0.15);
}

.faq-item h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.faq-item p {
    color: var(--light-text);
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
}

.cta-content p {
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.primary-cta {
    background-color: white;
    color: var(--primary-color);
    padding: 0.9rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.primary-cta:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
}

.secondary-cta {
    background-color: transparent;
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    border: 2px solid white;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.secondary-cta:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.detail-item,
.case-study,
.faq-item {
    animation: fadeInUp 0.6s ease-out forwards;
}

.feature-card:nth-child(2),
.detail-item:nth-child(2),
.faq-item:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3),
.detail-item:nth-child(3),
.faq-item:nth-child(3) {
    animation-delay: 0.4s;
}

.feature-card:nth-child(4),
.detail-item:nth-child(4),
.faq-item:nth-child(4) {
    animation-delay: 0.6s;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .overview-content,
    .case-study,
    .eligibility-content {
        grid-template-columns: 1fr;
    }
    
    .overview-image,
    .case-study-image {
        margin-top: 2rem;
    }
    
    .case-study {
        padding: 2rem;
    }
    
    .details-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .service-detail-hero {
        padding: 3rem 1rem 4rem;
    }

    .service-detail-hero h1 {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .overview-text h2,
    .service-features h2,
    .service-details-section h2,
    .case-study-section h2,
    .eligibility-section h2,
    .faq-section h2,
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .feature-card,
    .detail-item,
    .faq-item {
        padding: 1.5rem;
    }
    
    section {
        padding: 3rem 0;
    }

    .features-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    .feature-card {
        padding: 1.5rem;
        border-radius: 1rem;
        box-shadow: 0 4px 10px rgba(40, 170, 225, 0.10);
        margin-bottom: 1.5rem;
    }
    .feature-icon svg {
        width: 40px;
        height: 40px;
    }
    .feature-card h3 {
        font-size: 1.15rem;
    }
}

@media (max-width: 480px) {
    .feature-icon svg {
        width: 32px;
        height: 32px;
    }
    
    .feature-card h3,
    .detail-item h3,
    .faq-item h3 {
        font-size: 1.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Accessibility - Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    .feature-card,
    .detail-item,
    .case-study,
    .faq-item {
        animation: none !important;
    }
    
    .overview-content:hover .overview-image img,
    .case-study:hover .case-study-image img,
    .feature-card:hover,
    .detail-item:hover,
    .faq-item:hover,
    .primary-cta:hover,
    .secondary-cta:hover {
        transform: none;
    }
} 