/* static/css/services.css */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Services Page Container */
.services-page {
    padding-top: 80px; /* Clear header */
    min-height: calc(100vh - 200px); /* Ensure footer space */
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Service Header */
.service-header {
    text-align: center;
    padding: 60px 0;
    background: #f9fafb;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.service-header h1 {
    font-size: 40px;
    font-weight: 800;
    color: #1e3a8a;
    margin-bottom: 15px;
}

.service-header p {
    font-size: 18px;
    color: #4b5563;
    max-width: 800px;
    margin: 0 auto;
}

/* Service Details */
.service-details {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-details.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-image {
    flex: 1;
    min-width: 300px;
}

.service-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.service-content {
    flex: 2;
    min-width: 300px;
}

.service-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 20px;
}

.service-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1e3a8a;
    margin-top: 30px;
    margin-bottom: 15px;
}

.service-content p {
    font-size: 16px;
    color: #4b5563;
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-content ul {
    list-style-type: none;
    margin-bottom: 20px;
}

.service-content li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    font-size: 16px;
    color: #4b5563;
}

.service-content li::before {
    content: "✓";
    color: #e50914;
    position: absolute;
    left: 0;
    font-size: 14px;
}

.service-content a.cta-button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 18px;
    font-weight: 700;
    background: #e50914;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.service-content a.cta-button:hover {
    background: #bf0812;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-container {
        padding: 15px;
    }

    .service-header h1 {
        font-size: 36px;
    }

    .service-header p {
        font-size: 16px;
    }

    .service-details {
        flex-direction: column;
    }

    .service-image, .service-content {
        min-width: 100%;
    }

    .service-content h2 {
        font-size: 28px;
    }

    .service-content h3 {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .service-header {
        padding: 40px 0;
    }

    .service-header h1 {
        font-size: 28px;
    }

    .service-header p {
        font-size: 14px;
    }

    .service-content h2 {
        font-size: 24px;
    }

    .service-content h3 {
        font-size: 18px;
    }

    .service-content a.cta-button {
        padding: 10px 20px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .service-header {
        padding: 30px 0;
    }

    .service-header h1 {
        font-size: 24px;
    }

    .service-header p {
        font-size: 12px;
    }

    .service-content h2 {
        font-size: 20px;
    }

    .service-content h3 {
        font-size: 16px;
    }

    .service-content p, .service-content li {
        font-size: 14px;
    }

    .service-content a.cta-button {
        padding: 8px 16px;
        font-size: 14px;
    }
}