/* ==========================================================================
   FEES STRUCTURE PAGE STYLES
   ========================================================================== */

/* 1. Section Layout
   -------------------------------------------------------------------------- */
.fees-section {
    padding: 60px 0;
    min-height: 80vh;
    background-color: var(--white);
    background-image: linear-gradient(to bottom, #ffffff, #fdfbf7);
}

.fees-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.fees-section .section-header h2 {
    color: var(--secondary-maroon);
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.fees-section .section-header p {
    color: var(--primary-teal);
    font-size: 1.1rem;
    font-weight: 500;
}

/* 2. Fees Table Styles
   -------------------------------------------------------------------------- */

/* Responsive container for the table */
.fees-table-container {
    overflow-x: auto;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.fees-table th,
.fees-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Header styling */
.fees-table th {
    background-color: var(--secondary-maroon);
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Row hover and zebra striping */
.fees-table tbody tr {
    transition: background-color 0.2s ease;
}

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

.fees-table tbody tr:hover {
    background-color: rgba(139, 26, 50, 0.05);
}

/* Cell typography */
.fees-table td {
    font-family: var(--font-primary);
    color: var(--dark-gray);
    font-weight: 500;
    font-size: 1rem;
}

/* Highlight the first column (Course Names) */
.fees-table td:first-child {
    font-weight: 700;
    color: var(--secondary-maroon);
}

/* 3. Disclaimer and Notice Box
   -------------------------------------------------------------------------- */
.disclaimer-alert {
    background-color: #fff4f4;
    border-left: 5px solid #d32f2f;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-sm);
}

.disclaimer-alert p {
    color: #c62828;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.disclaimer-alert strong {
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 4. Bank Account Details Section
   -------------------------------------------------------------------------- */
.bank-details-container {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    border-top: 5px solid var(--primary-teal);
}

.bank-details-container h3 {
    color: var(--primary-teal);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bank-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.bank-info-item {
    display: flex;
    flex-direction: column;
}

.bank-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 0.25rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.bank-value {
    font-size: 1.1rem;
    color: var(--dark-text);
    font-weight: 700;
    font-family: 'Courier New', Courier, monospace;
    background: #f9f9f9;
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid #eee;
}

/* 5. Mobile Responsiveness
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .fees-section {
        padding: 40px 0;
    }

    .fees-section .section-header h2 {
        font-size: 2rem;
    }

    .fees-table th,
    .fees-table td {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .bank-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* 6. Footer Wave Fix
   -------------------------------------------------------------------------- */
#footer .custom-shape-divider-top .shape-fill {
    fill: #fdfbf7;
}
