/* ===== Subjects Coverage Section ===== */
section.subjectCoverageSection {
    padding: var(--section-bg-py) 0;
    background: var(--color-bg-secondary, #F4F2FF);
}


section.subjectCoverageSection.white-background {
    padding: var(--section-bg-py) 0;
    background:  linear-gradient(48.95deg, #F7F5FC 0%, #FFFFFF 48.22%, #F5F3FF 100%);
;
}

/* ===== Card Layout ===== */
.subjects-card {
    display: flex;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 4px 32px rgba(91, 80, 232, 0.10);
}

/* ===== Left Panel ===== */
.subjects-left {
    max-width: 532px;
    width: 100%;
    background: #685ADB;
    padding: 40px 87px 0 45px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
}

.subjects-left::before {
    content: '';
    position: absolute;
    top: -34px;
    right: -32px;
    width: 247px;
    height: 247px;
    background: #6254D0;
    border-radius: 50%;
}


.subjects-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    line-height: 170%;
    text-transform: uppercase;
    color: #685ADB;
    background: white;
    border-radius: 20px;
    padding: 7px 15px;
    margin-bottom: 40px;
    width: fit-content;
    position: relative;
    z-index: 1;
}

.subjects-left h2 {
    max-width: 398px;
    width: 100%;
    font-size: 39px;
    font-weight: 900;
    line-height: 140%;
    color: #ffffff;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.subjects-left h2 .gradient-text {
    color: rgba(255, 255, 255, 0.85);
}

.subjects-left-desc {
    font-size: 16px;
    font-weight: 500;
    line-height: 180%;
    color: white;
    position: relative;
    z-index: 1;
}

/* ===== Right Panel ===== */
.subjects-right {
    flex: 1;
    background: #ffffff;
    padding: 40px 38px;
    display: flex;
    flex-direction: column;
    border: 1px solid #EBE8F4;
    box-shadow: 0px 1px 10.1px 0px #EBE8F4;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}

/* ===== Subjects Grid ===== */
.subjects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px 16px;
    flex: 1;
    padding-bottom: 40px;
    border-bottom: 1px solid #EBE8F4;
}

/* ===== Subject Item ===== */
.subject-item {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s ease;
}

.subject-item:hover {
    transform: translateX(6px);
}

.subject-dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    background: #5B50E8;
    border-radius: 50%;
}

.subject-name,
.subject-name span,
.subject-name a {
    font-weight: 400;
    font-size: 15px;
    line-height: 100%;
    color: #1F2A2E;
}

.subject-name a {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(31, 42, 46, 0.3);
    transition: color 0.2s, text-decoration-color 0.2s;
}

.subject-name a:hover {
    color: #5B50E8;
    text-decoration-color: #5B50E8;
}

/* ===== Closing Line ===== */
.subjects-closing-line {
    font-family: var(--font-primary);
    font-size: var(--fs-base);
    line-height: var(--lh-relaxed);
    color: var(--color-text);
    font-weight: var(--fw-regular);
    text-align: center;
    margin-top: 23px;
}

.subjects-closing-line strong {
    font-weight: var(--fw-semibold);
    color: var(--color-heading);
}

/* ===== CTA ===== */
.subjects-cta-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 17px;
}

.subjects-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    background: #685ADB;
    padding: 14px 25px;
    height: 39px;
    border-radius: 100px;
    border: none;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(91, 80, 232, 0.30);
    position: relative;
    overflow: visible;
    animation: ctaPulse4 2s ease-out infinite;
}
@keyframes ctaPulse4 {
    0%   { box-shadow: 0 0 0 0 rgba(104, 90, 219, 0.45); }
    70%  { box-shadow: 0 0 0 12px rgba(104, 90, 219, 0); }
    100% { box-shadow: 0 0 0 0 rgba(104, 90, 219, 0); }
}

.subjects-cta-btn:hover {
    color: #fff;
    background: var(--color-primary-hover);
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
    .subjects-left {
        flex: 0 0 38%;
        padding: 44px 32px;
    }

    .subjects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .subjects-card {
        flex-direction: column;
    }

    .subjects-left {
        flex: none;
        padding: 40px 32px;
    }

    .subjects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .subjects-card {
        border-radius: 20px;
    }
    .subjects-left::before {
        top: -53px;
        right: -55px;
        width: 199px;
        height: 199px;
    }
    .subjects-left {
        max-width: 100%;
        padding: 32px 24px 36px;
    }

    .subjects-left h2 {
        font-size: var(--fs-2xl);
    }

    .subjects-right {
        padding: 28px 20px;
    }

    .subjects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 12px;
    }
}
