/* Services Page Specific Styles */

/* Service Hero Section */
.service-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    animation: backgroundMove 20s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.service-hero h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    animation: slideInUp 1s ease-out;
}

.service-hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: slideInUp 1s ease-out 0.3s both;
}

.service-hero i {
    margin-right: 15px;
    font-size: 3rem;
    color: #ffd700;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
    font-size: 1rem;
    animation: slideInUp 1s ease-out 0.6s both;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 1;
}

.breadcrumb span {
    opacity: 0.6;
}

/* Service Main Content */
.service-main {
    padding: 80px 0;
    background: #f8f9fa;
}

.service-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.service-article {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Table of Contents */
.table-of-contents {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 40px;
    border-left: 4px solid #2c5aa0;
}

.table-of-contents h2 {
    color: #2c5aa0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
}

.table-of-contents li {
    margin-bottom: 8px;
}

.table-of-contents a {
    color: #333;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    display: block;
    transition: all 0.3s ease;
    font-weight: 500;
}

.table-of-contents a:hover {
    background: #2c5aa0;
    color: white;
    transform: translateX(5px);
}

/* Service Sections */
.service-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.service-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.service-section h2 {
    color: #2c5aa0;
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.service-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    border-radius: 2px;
}

.service-section h3 {
    color: #333;
    font-size: 1.4rem;
    margin: 25px 0 15px 0;
    font-weight: 600;
}

.service-section h4 {
    color: #555;
    font-size: 1.2rem;
    margin: 20px 0 10px 0;
}

.service-section p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.service-section ul {
    margin-bottom: 20px;
}

.service-section li {
    margin-bottom: 8px;
    color: #666;
    line-height: 1.6;
}

.service-section ul ul {
    margin-top: 10px;
    margin-left: 20px;
}

/* Highlight Boxes */
.highlight-box {
    background: linear-gradient(45deg, #e3f2fd, #f3e5f5);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #2c5aa0;
    margin: 25px 0;
}

.highlight-box h3 {
    color: #2c5aa0;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.highlight-box ul {
    margin: 0;
}

.highlight-box li {
    color: #333;
    font-weight: 500;
}

/* Warning/Alert Boxes */
.warning-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.warning-box h4 {
    color: #856404;
    margin-bottom: 10px;
}

.warning-box p {
    color: #856404;
    margin: 0;
}

.success-box {
    background: #d1edff;
    border: 1px solid #74b9ff;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.success-box h4 {
    color: #0056b3;
    margin-bottom: 10px;
}

.success-box p {
    color: #0056b3;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(45deg, #2c5aa0, #667eea);
    color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin: 40px 0;
}

.cta-section h2 {
    color: white;
    margin-bottom: 15px;
}

.cta-section h2::after {
    background: #ffd700;
}

.cta-section p {
    color: white;
    opacity: 0.9;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 15px 35px rgba(255, 107, 107, 0.4);
}

/* Service Sidebar */
.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.sidebar-widget:hover {
    transform: translateY(-5px);
}

.sidebar-widget h3 {
    color: #2c5aa0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
}

.quick-info {
    list-style: none;
    padding: 0;
}

.quick-info li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quick-info li:last-child {
    border-bottom: none;
}

.quick-info strong {
    color: #333;
    font-weight: 600;
}

.team-list {
    list-style: none;
    padding: 0;
}

.team-list li {
    padding: 8px 0;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 20px;
}

.team-list li:last-child {
    border-bottom: none;
}

.team-list li::before {
    content: '👨‍⚕️';
    position: absolute;
    left: 0;
    top: 8px;
}

.contact-info p {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
}

.contact-info i {
    color: #2c5aa0;
    width: 20px;
    text-align: center;
}

/* Statistics Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #2c5aa0;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #2c5aa0;
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.step-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    border-top: 4px solid #2c5aa0;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: #2c5aa0;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.step-card h4 {
    color: #333;
    margin: 15px 0 10px 0;
}

.step-card p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* FAQ Section */
.faq-section {
    margin-top: 40px;
}

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    background: #f8f9fa;
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question i {
    color: #2c5aa0;
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.show {
    padding: 20px;
    max-height: 500px;
}

.faq-answer p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 992px) {
    .service-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-sidebar {
        position: static;
        top: auto;
    }
    
    .service-hero h1 {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .service-hero {
        padding: 100px 0 60px;
    }
    
    .service-hero h1 {
        font-size: 2rem;
    }
    
    .service-hero p {
        font-size: 1.1rem;
    }
    
    .service-article {
        padding: 25px;
    }
    
    .table-of-contents {
        padding: 20px;
    }
    
    .service-section h2 {
        font-size: 1.6rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .service-hero h1 {
        font-size: 1.8rem;
    }
    
    .service-main {
        padding: 40px 0;
    }
    
    .service-article {
        padding: 20px;
    }
    
    .cta-section {
        padding: 25px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.8rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar-widget {
        padding: 20px;
    }
}

/* Animation Keyframes */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes backgroundMove {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(-20px) translateY(-10px);
    }
    50% {
        transform: translateX(-10px) translateY(-20px);
    }
    75% {
        transform: translateX(-30px) translateY(-5px);
    }
}

/* Print Styles */
@media print {
    .service-hero,
    .service-sidebar,
    .cta-section {
        display: none;
    }
    
    .service-content {
        grid-template-columns: 1fr;
    }
    
    .service-article {
        box-shadow: none;
        padding: 0;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .service-main {
        background: #1a1a1a;
    }
    
    .service-article {
        background: #2d2d2d;
        color: #fff;
    }
    
    .service-section h2,
    .service-section h3 {
        color: #4a9eff;
    }
    
    .service-section p,
    .service-section li {
        color: #ccc;
    }
    
    .sidebar-widget {
        background: #2d2d2d;
        color: #fff;
    }
    
    .table-of-contents {
        background: #3d3d3d;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    .service-hero::before,
    .service-hero h1,
    .service-hero p,
    .breadcrumb {
        animation: none;
    }
    
    .btn,
    .sidebar-widget,
    .table-of-contents a {
        transition: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .service-hero {
        background: #000080;
    }
    
    .btn-primary {
        background: #ff0000;
    }
    
    .highlight-box {
        background: #ffff00;
        color: #000;
    }
}
