/* Pharmacovigilance Course Page Styles */

/* Why Choose Section - Minimal Features Grid */
.minimal-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
    text-align: left;
}

.m-feature-item {
    display: flex;
    gap: 20px;
    padding-bottom: 20px;
}

.m-feature-icon {
    width: 45px;
    height: 45px;
    background: #f8f9fa;
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    flex-shrink: 0;
    border: 2px solid var(--secondary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.m-feature-content h4 {
    margin: 0 0 5px 0;
    color: var(--secondary);
    font-weight: 700;
    font-size: 1.1rem;
}

.m-feature-content p {
    margin: 0;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

/* Eligibility Section - Stripes Layout */
.eligibility-stripes {
    margin: 40px 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.eligibility-stripe {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 25px 35px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.3s ease;
}

.eligibility-stripe:nth-child(even) {
    background: #fafafa;
}

.eligibility-stripe:hover {
    background: #fff8e1;
}

.eligibility-stripe:last-child {
    border-bottom: none;
}

.stripe-icon {
    font-size: 2.2rem;
    flex-shrink: 0;
    width: 60px;
    text-align: center;
}

.stripe-content {
    flex: 1;
    text-align: left;
}

.stripe-content h4 {
    margin: 0 0 5px 0;
    color: var(--secondary);
    font-size: 1.15rem;
    font-weight: 700;
}

.stripe-content p {
    margin: 0;
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* Salary Insights Section - Table Styling */
.salary-table-wrapper {
    margin-top: 30px;
    width: 100%;
    overflow-x: auto;
}

.salary-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.salary-table thead tr {
    background-color: var(--secondary);
    color: white;
}

.salary-table th {
    padding: 18px 25px;
    font-weight: 600;
    font-size: 1rem;
    background: var(--secondary);
    color: #fff;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.salary-table th:first-child {
    border-left: none;
}

.salary-table td {
    padding: 18px 25px;
    border-bottom: 1px solid #f0f0f0;
    border-left: 1px solid #f0f0f0;
    font-size: 0.95rem;
    color: #333;
}

.salary-table td:first-child {
    border-left: none;
}

.salary-table tr:last-child td {
    border-bottom: none;
}

.salary-table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

.salary-table tbody tr:hover {
    background-color: #fff8e1;
    transition: background 0.3s ease;
}

.salary-table td:nth-child(3) {
    font-weight: 700;
    color: var(--secondary);
}

/* Syllabus Section - Single Column Layout & Spacing */
.curriculum-modern {
    padding-top: 50px !important;
    padding-bottom: 40px !important;
}

.curriculum-grid-modern {
    display: block !important;
}

.curriculum-modules {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    max-width: 900px !important;
    margin: 20px auto 0 !important;
}

.curriculum-card {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 0 !important;
}

.curriculum-card.dark h3 {
    color: #fff !important;
}

.curriculum-card.dark p {
    color: #ffffff !important;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 15px;
}

.curriculum-card.dark p.module-summary {
    font-size: 1.1rem;
    margin-bottom: 0.8rem !important;
    color: #ffb800 !important;
    line-height: 1.4;
    text-align: justify;
    font-weight: 500;
}

.curriculum-card.dark .curriculum-list li {
    color: #fff !important;
}

.curriculum-card.dark .curriculum-list li i {
    color: #ffb800 !important;
}

/* Syllabus Points - 2-Column Layout */
.curriculum-list {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px 40px !important;
    margin-top: 20px !important;
    list-style: none !important;
    padding: 0 !important;
}

@media (max-width: 768px) {
    .curriculum-list {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
}

/* Overview Subtitle Stylized */
.overview-subtitle {
    font-size: 1.45rem !important;
    font-weight: 700 !important;
    color: var(--secondary) !important;
    margin-top: 40px !important;
    margin-bottom: 25px !important;
    text-align: left;
    position: relative;
    padding-left: 15px;
    border-left: 5px solid var(--primary);
    line-height: 1.2;
}

/* Overview Features List - Premium Cards */
.overview-features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.overview-feature-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-bottom: 3px solid transparent;
}

.overview-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
    border-bottom-color: var(--primary);
}

.ov-icon-wrapper {
    width: 45px;
    height: 45px;
    background: #fff8e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.overview-feature-card:hover .ov-icon-wrapper {
    background: var(--primary);
    transform: rotateY(360deg);
}

.ov-icon-wrapper i {
    color: var(--primary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.overview-feature-card:hover .ov-icon-wrapper i {
    color: #fff;
}

.ov-text {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--secondary);
    line-height: 1.2;
}


/* Adjust Responsive Layouts */
@media (max-width: 768px) {

    /* Hero Fixes */
    .hero {
        padding-top: 20px !important;
    }

    .hero h1 {
        font-size: 2.5rem !important;
        line-height: 1.3 !important;
        margin-top: 10px !important;
    }

    .hero .hero-text {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        /* text-align: center; */
    }

    .hero-grid {
        display: block !important;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    /* Features Fixes */
    .minimal-features-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .m-feature-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    /* Syllabus Fixes */
    .curriculum-modules {
        padding: 0 15px;
    }

    /* Salary Table Mobile Fix */
    .salary-table th,
    .salary-table td {
        padding: 10px 8px !important;
        font-size: 0.8rem !important;
    }

    .salary-table th {
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem !important;
    }
}