/* Regulatory Affairs 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;
}

/* Boxed Feature Item modifier */
.m-feature-item.boxed {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.m-feature-item.boxed:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: #ffb700;
}

.m-feature-item.boxed .m-feature-icon {
    background: #fff8e1;
    border-color: #ffb700;
    color: #ffb700;
}

.m-feature-item.boxed .m-feature-content p {
    margin-top: 10px;
}

.m-feature-item.boxed .m-feature-content ul {
    margin-top: 10px;
    padding-left: 15px;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* 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: 20px;
    margin-bottom: 40px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    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 - 4-Column Grid Layout */
.curriculum-modern {
    padding-top: 50px !important;
    padding-bottom: 40px !important;
}

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

.curriculum-modules {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
    max-width: 100% !important;
    margin: 20px auto 0 !important;
}

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

.curriculum-card.dark p {
    text-align: justify;
    font-size: 1rem;
    color: #ffb700;
    line-height: 1.7;
    margin: 0;
}

/* Generic Section Utilities */
.section-subtitle {
    color: var(--secondary);
    font-size: 1.6rem;
    margin-top: 50px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

.section-p-text {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1rem;
    color: #444;
    line-height: 1.7;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.wide-text {
    max-width: 1150px !important;
}

/* NEW VISUAL ATTRACTIONS FOR RA PAGE */
/* Feature Highlights Grid */
.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.highlight-box {
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.highlight-box:hover {
    background: #fff8e1;
    border-color: #ffb700;
    transform: translateY(-5px);
}

.highlight-box i {
    font-size: 2.2rem;
    color: #ffb700;
    margin-bottom: 15px;
    display: block;
}

.highlight-box h5 {
    color: var(--secondary);
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.highlight-box p {
    margin: 0;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Tools Grid Premium Redesign */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tool-card {
    background: linear-gradient(145deg, #ffffff, #fcfcfc);
    border: 1px solid rgba(255, 183, 0, 0.2);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, rgba(255, 183, 0, 0.08), transparent);
    z-index: -1;
    transition: height 0.4s ease;
}

.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-color: #ffb700;
}

.tool-card:hover::before {
    height: 100%;
}

.brand-initial {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--secondary), #1a365d);
    color: #ffb700;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.tool-card:hover .brand-initial {
    transform: translateY(-5px) rotate(5deg) scale(1.1);
    background: linear-gradient(135deg, #ffb700, #ff9500);
    color: var(--secondary);
    border-color: #fff;
    box-shadow: 0 15px 30px rgba(255, 183, 0, 0.3);
}

.tool-card h4 {
    margin: 0;
    color: var(--secondary);
    font-size: 1.25rem;
    font-weight: 700;
}

/* Vertical Timeline for Placement Assistance */
.placement-timeline {
    position: relative;
    max-width: 900px;
    margin: 40px auto;
    padding: 20px 0;
}

.placement-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 40px;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #ffb700, #ff8c00);
    border-radius: 4px;
}

.timeline-item {
    position: relative;
    padding-left: 100px;
    margin-bottom: 30px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-icon {
    position: absolute;
    left: 20px;
    top: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--secondary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 4px solid #fff;
    box-shadow: 0 0 0 3px #eee;
    font-size: 1.1rem;
    z-index: 2;
}

.timeline-content {
    background: #fff;
    border: 1px solid #eee;
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    border-color: #ffb700;
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.timeline-content h4 {
    color: var(--secondary);
    margin: 0 0 10px 0;
    font-size: 1.25rem;
    font-weight: 700;
}

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

/* Job Roles Grid */
.job-roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.job-role-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    border-left: 5px solid var(--secondary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.job-role-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
    border-left-color: #ffb700;
}

.job-role-card h4 {
    color: var(--secondary);
    font-size: 1.2rem;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.job-role-card p {
    color: #555;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

/* Career Progression Steps horizontally */
.progression-steps {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    gap: 15px;
}

.progression-step {
    flex: 1;
    min-width: 160px;
    text-align: center;
    background: #fff;
    padding: 25px 15px;
    border-radius: 12px;
    border: 2px solid #eee;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.progression-step:hover {
    border-color: #ffb700;
    transform: translateY(-5px);
}

.progression-step h4 {
    font-size: 1.1rem;
    color: var(--secondary);
    margin: 0 0 10px 0;
    font-weight: 700;
}

.progression-step span {
    font-size: 0.85rem;
    color: #fff;
    background: var(--secondary);
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.progression-arrow {
    color: #ffb700;
    font-size: 1.5rem;
}

/* Strategic Link Box */
.strategic-link-box {
    background: var(--secondary);
    color: #fff;
    padding: 30px;
    border-radius: 12px;
    height: 100%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.strategic-link-box h3 {
    color: #ffb700;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.strategic-link-box p {
    text-align: justify;
    margin-bottom: 15px;
    font-size: 1rem;
    color: #fff;
    line-height: 1.7;
}

.strategic-link-box p:last-child {
    margin-bottom: 0;
    color: #ffb700;
    font-weight: 600;
}

/* Programme Info Strips */
.programme-info {
    margin-top: 30px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.04);
}

.programme-info-strip {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid #eee;
    transition: background 0.3s ease;
}

.programme-info-strip:last-child {
    border-bottom: none;
}

.programme-info-strip:hover {
    background: #fff8e1;
}

.programme-info-strip:nth-child(even) {
    background: #fafafa;
}

.programme-info-strip:nth-child(even):hover {
    background: #fff8e1;
}

.info-label {
    min-width: 220px;
    padding: 18px 25px;
    background: var(--secondary);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    border-right: 4px solid #ffb700;
}

.info-value {
    flex: 1;
    padding: 18px 25px;
    font-size: 1rem;
    color: #333;
    display: flex;
    align-items: center;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .programme-info-strip {
        flex-direction: column;
    }

    .info-label {
        min-width: 100%;
        padding: 12px 18px;
        font-size: 0.85rem;
    }

    .info-value {
        padding: 12px 18px;
        font-size: 0.85rem;
    }
}

/* Training Mode Section */
.training-mode-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.training-mode-card {
    background: #fff;
    border-radius: 12px;
    padding: 35px 30px;
    height: 100%;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #eee;
    border-top: 4px solid var(--secondary);
    transition: all 0.3s ease;
}

.training-mode-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
    border-top-color: #ffb700;
}

.training-mode-card h3 {
    color: var(--secondary);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.training-mode-card h3 i {
    color: #ffb700;
    font-size: 1.5rem;
    font-weight: 900 !important;
    display: inline-block !important;
}

.training-mode-card p {
    text-align: justify;
    margin-bottom: 0;
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
}

/* Adjust Responsive Layouts */
@media (max-width: 768px) {
    .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;
    }

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

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

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

    .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;
    }

    .curriculum-modules {
        grid-template-columns: repeat(2, 1fr) !important;
        padding: 0 15px;
    }

    .training-mode-grid {
        grid-template-columns: 1fr;
    }

    .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);
    }

    .progression-steps {
        flex-direction: column;
    }

    .progression-arrow {
        transform: rotate(90deg);
        margin: 5px 0;
    }

    .placement-timeline::before {
        left: 20px;
    }

    .timeline-icon {
        left: 0;
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-content {
        padding: 20px;
    }
}

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

    .curriculum-modules {
        grid-template-columns: 1fr !important;
    }
}