/* ServiceDetail.css */

.service-container {
    padding-top: 80px;
    min-height: 100vh;
    background-color: #ffffff;
    padding-bottom: 80px;
}

/* Header */
.service-header {
    text-align: center;
    padding: 60px 20px;
}

.service-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    /* Gray-900 */
    margin-bottom: 1rem;
}

.service-subtitle {
    color: #4b5563;
    /* Gray-600 */
    font-size: 1.125rem;
    line-height: 1.6;
}

.service-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Common */
.service-section {
    margin-bottom: 5rem;
}

.section-label {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #111827;
}

.section-desc {
    color: #4b5563;
    margin-bottom: 2.5rem;
}

/* Purpose Grid (Top 3 Cards) */
.purpose-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .purpose-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.purpose-card {
    background-color: #f9fafb;
    /* Gray-50 */
    border-radius: 1rem;
    padding: 2rem;
    height: 16rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.purpose-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.purpose-card-text {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.5;
}

.purpose-icon {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    font-size: 4rem;
    opacity: 0.9;
}

/* Curriculum Grid (Bottom 4 Columns) */
.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .curriculum-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .curriculum-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.curriculum-card {
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 2rem;
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.curriculum-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.curriculum-number {
    display: block;
    color: #2563eb;
    /* Blue-600 */
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.curriculum-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
    min-height: 3.5rem;
    /* Align heights */
}

.curriculum-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.875rem;
    color: #4b5563;
}

.curriculum-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.curriculum-bullet {
    margin-right: 0.5rem;
    color: #9ca3af;
}

.curriculum-btn {
    width: 100%;
    margin-top: 1.5rem;
    padding: 0.75rem 1rem;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    color: #374151;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.curriculum-btn:hover {
    background-color: #f3f4f6;
}

/* CTA Banner */
.cta-banner {
    background-color: #f9fafb;
    border-radius: 1rem;
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 5rem;
}

@media (min-width: 768px) {
    .cta-banner {
        flex-direction: row;
        text-align: left;
    }
}

.cta-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
}

.cta-text {
    color: #6b7280;
    font-size: 0.875rem;
}

.cta-button {
    background-color: #2563eb;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.3);
    transition: background-color 0.2s;
    white-space: nowrap;
}

.cta-button:hover {
    background-color: #1d4ed8;
}