﻿
:root {
    --primary-color: #00bcd4;
    --primary-color-light: #66e4f3;
    --text-color-dark: #2c3e50;
    --text-color-light: #7f8c8d;
}

.exam-mega {
    position: relative;
}


.exam-mega-menu {
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 10px;
    width: 720px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .18s ease-out;
    z-index: 999;
}

.exam-mega:hover .exam-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.exam-mega-inner {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 16px;
}

.exam-mega-left ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.exam-cat-item {
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: background .15s, color .15s;
}

    .exam-cat-item + .exam-cat-item {
        margin-top: 4px;
    }

    .exam-cat-item h4 {
        font-size: 14px;
        margin: 0 0 2px;
        font-weight: 600;
    }

    .exam-cat-item p {
        font-size: 12px;
        margin: 0;
        color: #6b7280;
    }

    .exam-cat-item.active,
    .exam-cat-item:hover {
        background: #eef2ff;
        color: #111827;
    }


.exam-mega-right {
    min-height: 260px;
    padding-left: 4px;
    border-left: 1px solid #e5e7eb;
}


.exam-panel {
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

    .exam-panel.active {
        display: grid;
    }


.exam-card {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, background .15s;
    font-size: 14px;
}

    .exam-card .icon {
        margin-right: 10px;
        font-size: 18px;
    }

    .exam-card .title {
        font-weight: 500;
        color: #111827;
    }

    .exam-card:hover {
        background: #ffffff;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
        transform: translateY(-2px);
    }


.ed-ghost-btn {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid #ddd;
    border-radius: 8px;
    color: var(--text-color-dark);
    background-color: transparent;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-item .ed-ghost-btn.w-100 {
    width: 100%;
}

.ed-ghost-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}


.pricing-item {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: #fff;
}

    .pricing-item:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
        border-color: var(--primary-color);
    }


.pricing-header .plan-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color-dark);
    margin-bottom: 5px;
}

.pricing-header .price {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 5px;
}

    .pricing-header .price .period {
        font-size: 1rem;
        font-weight: 400;
        color: var(--text-color-light);
    }

.pricing-header .plan-subtitle {
    color: var(--text-color-light);
    margin-bottom: 25px;
}

.pricing-features {
    text-align: left;
    padding-bottom: 30px;
    border-bottom: 1px dashed #eee;
    margin-bottom: 30px !important;
}

    .pricing-features li {
        color: var(--text-color-dark);
        font-weight: 500;
        font-size: 1rem;
    }

    .pricing-features .fa-check {
        color: var(--primary-color);
    }

    .pricing-features .fa-xmark {
        color: #e74c3c;
    }


.pricing-item.popular-plan {
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding-top: 60px; 
}

   
    .pricing-item.popular-plan .popular-tag {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        margin: 0 auto;
        width: 100%;
        background-color: #e74c3c;
        color: #fff;
        padding: 8px 0;
        font-size: 0.9rem;
        font-weight: 700;
        text-transform: uppercase;
        clip-path: polygon(0 0, 100% 0, 100% 80%, 0% 100%);
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
        z-index: 10;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

    .pricing-item.popular-plan:hover {
        transform: translateY(-12px);
    }