/* Subject Coverage Section */
.subject-coverage-section {
    padding: 80px 0;
    background: #ffffff;
}

.subject-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
}

.subject-title {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.3;
    color: #161616;
    margin-bottom: 15px;
}

.subject-subtitle p{
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: #575e62;
    margin: 0;
}

.subject-subtitle .highlight-text {
    color: #233F8C;
}

/* Subject Grid */
.subject-grid {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.subject-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}
.subject-category {
    background: #ffffff;
    border-radius: 8px;
    padding: 0;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #e9ecef;
    width: 100%;
}

.subject-category:hover {
    box-shadow: 0 2px 12px rgba(54, 127, 211, 0.15);
    border-color: #367fd3;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: #ffffff;
    border-bottom: none;
    position: relative;
}

.category-header::after {
        content: '';
    border-left: 1px solid #231f20;
    border-bottom: 1px solid #231f20;
    transform: rotate(-45deg);
    position: absolute;
    right: 20px;
    font-size: 10px;
    color: #367fd3;
    height: 7px;
    width: 7px;
    transition: transform 0.3s 
ease;
}

.subject-category.active .category-header::after {
    transform: rotate(136deg);
}

.category-icon {
    width: 28px;
    height: 28px;
    line-height: 1;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon svg {
    width: 28px;
    height: 28px;
    display: block;
}

.category-title {
font-size: 16px;
    font-weight: 500;
    color: #231f20;
    margin: 0;
    flex: 1;
    line-height: 1.3;
}

.subject-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    display: none;
}

.subject-category.active .subject-list {
    max-height: 500px;
    padding: 0 20px 20px 20px;
    display: block;
}

.subject-list li {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: #5a5a6e;
    padding: 6px 0;
    padding-left: 18px;
    position: relative;
}
.subject-list li a{
    color: #367fd3;
    text-decoration: underline;
}
.subject-list li a:hover{
    text-decoration: none;
}

.subject-list li::before {
    content: '-';
    position: absolute;
    left: 0;
    color: #6b7280;
    font-weight: 400;
    font-size: 14px;
}

/* CTA Section */
.subject-cta {
    text-align: center;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.cta-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: #231f20;
    margin: 0;
}

.cta-link {
    color: #367fd3;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cta-link:hover {
    color: #2a5fa8;
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .subject-grid {
        gap: 18px;
    }
}

@media (max-width: 1024px) {
    .subject-title {
        font-size: 28px;
    }

    .subject-grid {
        gap: 16px;
    }

    .category-title {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .subject-coverage-section {
        padding: 60px 0;
    }

    .subject-header {
        margin-bottom: 35px;
        padding: 0 20px;
    }

    .subject-title {
        font-size: 24px;
    }

    .subject-subtitle p{
        font-size: 15px;
    }

    .subject-grid {
        flex-direction: column;
        gap: 15px;
        padding: 0 20px;
    }

    .subject-column {
        gap: 15px;
    }

    .category-header {
        padding: 16px 18px;
    }

    .category-title {
        font-size: 15px;
    }

    .subject-category.active .subject-list {
        padding: 0 18px 18px 18px;
    }

    .subject-cta {
        margin: 0 20px;
        padding: 25px 20px;
    }

    .cta-text {
        font-size: 15px;
    }
}

@media (max-width: 575px) {
    .subject-coverage-section {
        padding: 50px 0;
    }

    .subject-title {
        font-size: 24px;
    }

    .subject-subtitle p{
        font-size: 14px;
    }

    .subject-grid {
        padding: 0 15px;
        gap: 12px;
    }

    .category-header {
        padding: 14px 16px;
    }

    .category-icon {
        font-size: 24px;
    }

    .category-title {
        font-size: 14px;
    }

    .subject-category.active .subject-list {
        padding: 0 16px 16px 16px;
    }

    .subject-list li {
        font-size: 12px;
        padding: 5px 0;
        padding-left: 16px;
    }

    .subject-cta {
        margin: 0 15px;
        padding: 20px 18px;
    }

    .cta-text {
        font-size: 14px;
    }
    .subject-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 100%;
    width: 100%;
    flex: 0 0 100%;
}
}
