/* ===== FEE STRUCTURE PAGE ===== */

/* --- Page Banner --- */
.page-banner {
    position: relative;
    background: linear-gradient(135deg, var(--color-primary-bg) 0%, #5c1a18 100%);
    padding: 120px 0 60px;
    color: #fff;
    overflow: hidden;
}

.page-banner::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(244, 197, 66, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.page-banner::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.banner-content {
    position: relative;
    z-index: 2;
}

.banner-content h1 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    margin: 12px 0 16px;
    line-height: 1.15;
}

.banner-tagline {
    font-size: clamp(16px, 2.2vw, 22px);
    font-weight: 300;
    opacity: 0.9;
    max-width: 650px;
    line-height: 1.5;
}

/* --- Breadcrumb --- */
.breadcrumb-list {
    gap: 8px;
    flex-wrap: wrap;
    font-size: 14px;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-list li + li::before {
    content: "/";
    opacity: 0.5;
}

.breadcrumb-list li a {
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.2s;
}

.breadcrumb-list li a:hover {
    color: var(--color-cta-bg);
}

.breadcrumb-list li.active span {
    color: #fff;
    font-weight: 500;
}

/* ===== IMPORTANT HIGHLIGHTS SECTION ===== */
.fee-highlights {
    background: #fff;
}

.fee-highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.fee-highlight-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.fee-highlight-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent, var(--color-primary-bg));
    border-radius: 4px 0 0 4px;
}

.fee-highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.fee-highlight-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    background: var(--accent-bg, rgba(139, 46, 43, 0.08));
}

.fee-highlight-icon svg {
    fill: var(--accent, var(--color-primary-bg));
}

.fee-highlight-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.fee-highlight-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

.fee-highlight-card .highlight-amount {
    display: inline-block;
    font-size: 22px;
    font-weight: 800;
    color: var(--accent, var(--color-primary-bg));
    margin-top: 8px;
}

/* ===== FEE TABLE SECTION ===== */
.fee-table-section {
    background: #f8f9fc;
}

.fee-section-intro {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.fee-section-intro p {
    color: #555;
    line-height: 1.7;
    font-size: 16px;
    margin-top: 10px;
}

.fee-year-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 22px;
    background: linear-gradient(135deg, var(--color-primary-bg), #5c1a18);
    color: #fff;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.fee-year-badge svg {
    fill: var(--color-cta-bg);
}

/* Fee Table Container */
.fee-table-container {
    margin-top: 40px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    background: #fff;
}

.fee-table-header {
    background: linear-gradient(135deg, var(--color-primary-bg) 0%, #5c1a18 100%);
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.fee-table-header h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fee-table-header h3 svg {
    fill: var(--color-cta-bg);
}

.fee-table-header .fee-label {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.fee-table-wrap {
    overflow-x: auto;
}

.fee-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.fee-table thead th {
    padding: 16px 24px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #1a1a2e;
    background: #f0f2f7;
    border-bottom: 2px solid #dde1ea;
    text-align: left;
}

.fee-table thead th:last-child {
    text-align: right;
}

.fee-table tbody tr {
    transition: background 0.2s;
}

.fee-table tbody tr:hover {
    background: #fdf5f5;
}

.fee-table tbody td {
    padding: 16px 24px;
    font-size: 15px;
    color: #444;
    border-bottom: 1px solid #eef0f5;
    line-height: 1.5;
}

.fee-table tbody td:first-child {
    font-weight: 600;
    color: #1a1a2e;
}

.fee-table tbody td:last-child {
    text-align: right;
    font-weight: 700;
    color: var(--color-primary-bg);
    white-space: nowrap;
}

.fee-table tbody td .course-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-left: 8px;
    vertical-align: middle;
}

.course-tag.ug {
    background: rgba(46, 125, 50, 0.1);
    color: #2e7d32;
}

.course-tag.pg {
    background: rgba(21, 101, 192, 0.1);
    color: #1565c0;
}

.course-tag.diploma {
    background: rgba(230, 81, 0, 0.1);
    color: #e65100;
}

.course-tag.iti {
    background: rgba(106, 27, 154, 0.1);
    color: #6a1b9a;
}

.fee-table tbody td .duration-text {
    display: block;
    font-size: 12px;
    color: #888;
    font-weight: 400;
    margin-top: 2px;
}

/* ===== ADDITIONAL CHARGES SECTION ===== */
.fee-additional {
    background: #fff;
}

.fee-additional-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.fee-add-card {
    background: #f8f9fc;
    border-radius: 16px;
    padding: 36px 32px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.fee-add-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fee-add-card h3 svg {
    fill: var(--color-primary-bg);
}

.fee-add-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fee-add-list li {
    position: relative;
    padding: 12px 0 12px 32px;
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.fee-add-list li:last-child {
    border-bottom: none;
}

.fee-add-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-cta-bg);
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px var(--color-cta-bg);
}

.fee-add-list li strong {
    color: var(--color-primary-bg);
}

/* Payment Mode Section */
.fee-payment-modes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.payment-mode-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 14px;
    font-weight: 500;
    color: #333;
    transition: box-shadow 0.2s;
}

.payment-mode-chip:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.payment-mode-chip svg {
    fill: var(--color-primary-bg);
    flex-shrink: 0;
}

/* ===== SCHOLARSHIPS / NOTE SECTION ===== */
.fee-notes-section {
    background: #f8f9fc;
}

.fee-notes-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.fee-note-block {
    background: #fff;
    border-radius: 16px;
    padding: 36px 36px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 24px;
    border-left: 5px solid var(--color-cta-bg);
}

.fee-note-block:last-child {
    margin-bottom: 0;
}

.fee-note-block h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fee-note-block h3 svg {
    fill: var(--color-primary-bg);
}

.fee-note-block p,
.fee-note-block li {
    font-size: 15px;
    color: #555;
    line-height: 1.75;
}

.fee-note-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fee-note-list li {
    padding: 8px 0 8px 28px;
    position: relative;
}

.fee-note-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary-bg);
}

/* ===== FAQ ACCORDION ===== */
.fee-faq-section {
    background: #fff;
}

.fee-faq-wrapper {
    max-width: 820px;
    margin: 0 auto;
}

.fee-faq-item {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.fee-faq-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.fee-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    background: #fff;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    text-align: left;
    transition: background 0.2s;
    font-family: inherit;
    gap: 16px;
}

.fee-faq-question:hover {
    background: #fdf5f5;
}

.fee-faq-question svg {
    flex-shrink: 0;
    fill: var(--color-primary-bg);
    transition: transform 0.3s ease;
}

.fee-faq-item.active .fee-faq-question svg {
    transform: rotate(180deg);
}

.fee-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 24px;
}

.fee-faq-item.active .fee-faq-answer {
    max-height: 400px;
    padding: 0 24px 20px;
}

.fee-faq-answer p {
    font-size: 15px;
    color: #555;
    line-height: 1.75;
}

/* ===== CONTACT STRIP ===== */
.fee-contact-strip {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
    padding: 48px 0;
}

.fee-contact-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.fee-contact-text h3 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.fee-contact-text p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.fee-contact-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.fee-contact-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.fee-contact-chip:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.fee-contact-chip svg {
    fill: var(--color-cta-bg);
    flex-shrink: 0;
}

/* ===== CTA Section (reuse) ===== */
.overview-cta {
    background: linear-gradient(135deg, var(--color-primary-bg) 0%, #5c1a18 100%);
    padding: 60px 0;
}

.overview-cta .cta-content {
    gap: 30px;
}

.overview-cta .cta-text h2 {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}

.overview-cta .cta-text p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 550px;
    line-height: 1.6;
}

.overview-cta .cta-actions {
    gap: 16px;
    flex-shrink: 0;
}

.overview-cta .cta-btn.apply {
    display: inline-block;
    padding: 14px 36px;
    background: linear-gradient(90deg, #f7c948 0%, #e3a617 100%);
    color: #222;
    font-weight: 700;
    border: none;
    box-shadow: 0 2px 12px rgba(247, 201, 72, 0.15);
    border-radius: 8px;
    font-size: 16px;
    letter-spacing: 0.5px;
    transition: background 0.2s, box-shadow 0.2s, color 0.2s;
    text-transform: uppercase;
}

.overview-cta .cta-btn.apply:hover {
    background: linear-gradient(90deg, #e3a617 0%, #f7c948 100%);
    color: #000;
    box-shadow: 0 4px 18px rgba(247, 201, 72, 0.22);
}

.overview-cta .cta-btn-outline {
    display: inline-block;
    padding: 14px 36px;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.overview-cta .cta-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .fee-highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fee-additional-grid {
        grid-template-columns: 1fr;
    }

    .fee-payment-modes {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-banner {
        padding: 100px 0 40px;
    }

    .fee-highlights-grid {
        grid-template-columns: 1fr;
    }

    .fee-table thead th,
    .fee-table tbody td {
        padding: 12px 16px;
        font-size: 13px;
    }

    .fee-table-header {
        padding: 18px 20px;
    }

    .fee-table-header h3 {
        font-size: 17px;
    }

    .fee-additional-grid {
        grid-template-columns: 1fr;
    }

    .fee-payment-modes {
        grid-template-columns: 1fr;
    }

    .fee-note-block {
        padding: 24px 20px;
    }

    .fee-contact-inner {
        flex-direction: column;
        text-align: center;
    }

    .fee-contact-links {
        justify-content: center;
    }

    .overview-cta .cta-content {
        flex-direction: column;
        text-align: center;
    }

    .overview-cta .cta-text p {
        margin: 0 auto;
    }

    .overview-cta .cta-actions {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .fee-faq-question {
        padding: 16px 18px;
        font-size: 14px;
    }

    .fee-contact-chip {
        font-size: 13px;
        padding: 10px 18px;
    }
}
