/* ============================================
   Fee Structure Page — Premium Professional Design
   ============================================ */

/* ---- Badge ---- */
.fee-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 22px;
    background: linear-gradient(135deg, rgba(11, 61, 46, 0.07), rgba(201, 162, 77, 0.07));
    color: var(--primary);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    border-radius: 30px;
    margin-bottom: 18px;
    border: 1px solid rgba(11, 61, 46, 0.1);
}

.fee-badge i {
    color: var(--gold);
    font-size: 0.8rem;
}

/* ---- Titles ---- */
.fee-title {
    font-size: 2.3rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.fee-title-tight {
    margin-bottom: 12px;
}

.fee-desc {
    color: #5a5a5a;
    font-size: 1.05rem;
    line-height: 1.75;
}

.fee-desc-center {
    max-width: 620px;
    margin: 0 auto 50px;
}

/* ---- Buttons ---- */
.fee-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 32px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.fee-btn-gold {
    background: var(--gold);
    color: var(--primary);
    border-color: var(--gold);
    box-shadow: 0 6px 24px rgba(201, 162, 77, 0.3);
}

.fee-btn-gold:hover {
    background: #dcb35c;
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(201, 162, 77, 0.4);
    color: var(--primary);
}

.fee-btn-outline-light {
    background: transparent;
    color: var(--gold);
    border-color: rgba(201, 162, 77, 0.4);
}

.fee-btn-outline-light:hover {
    background: rgba(201, 162, 77, 0.1);
    border-color: var(--gold);
    transform: translateY(-3px);
    color: var(--gold);
}

/* ============================================
   FEE TABLE SECTION
   ============================================ */
.fee-table-section {
    background: #fff;
}

.fee-table-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(11, 61, 46, 0.08);
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.02),
        0 8px 30px rgba(11, 61, 46, 0.06);
}

.fee-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.fee-table thead tr {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.fee-table th {
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
    padding: 18px 24px;
    text-align: left;
    border: none;
}

.fee-th-sub {
    display: block;
    font-weight: 500;
    font-size: 0.72rem;
    opacity: 0.75;
    margin-top: 2px;
}

.fee-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(11, 61, 46, 0.06);
}

.fee-table tbody tr:last-child {
    border-bottom: none;
}

.fee-table tbody tr:nth-child(even) {
    background: rgba(11, 61, 46, 0.02);
}

.fee-table tbody tr:hover {
    background: rgba(11, 61, 46, 0.05);
}

.fee-table td {
    padding: 18px 24px;
    color: #4a4a4a;
    font-size: 0.92rem;
    border: none;
}

.fee-class-label {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.93rem;
}

.fee-disclaimer {
    text-align: center;
    color: #6a6a6a;
    font-size: 0.85rem;
    margin-top: 20px;
}

.fee-disclaimer i {
    color: var(--gold);
    margin-right: 6px;
}

/* ============================================
   PAYMENT SCHEDULE SECTION
   ============================================ */
.fee-payment-section {
    background: linear-gradient(180deg, #FFF8EE, #FFF0DB);
}

.fee-pay-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.fee-pay-card {
    background: #fff;
    border: 1px solid rgba(11, 61, 46, 0.06);
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.02),
        0 4px 16px rgba(11, 61, 46, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.fee-pay-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.fee-pay-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(11, 61, 46, 0.1);
}

.fee-pay-card:hover::before {
    transform: scaleX(1);
}

.fee-pay-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, var(--primary), var(--primary-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.3rem;
    margin: 0 auto 20px;
    box-shadow: 0 4px 14px rgba(11, 61, 46, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.fee-pay-card:hover .fee-pay-icon {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 6px 22px rgba(11, 61, 46, 0.3);
}

.fee-pay-card h3 {
    font-size: 1.15rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 10px;
}

.fee-pay-card p {
    color: #5a5a5a;
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   ADDITIONAL CHARGES SECTION
   ============================================ */
.fee-extra-section {
    background: #fff;
}

.fee-extra-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.fee-extra-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #fff;
    border: 1px solid rgba(11, 61, 46, 0.06);
    border-radius: 18px;
    padding: 26px 28px;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.02),
        0 3px 12px rgba(11, 61, 46, 0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.fee-extra-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary), var(--gold));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
    border-radius: 4px 0 0 4px;
}

.fee-extra-card:hover {
    transform: translateX(6px);
    box-shadow: 0 6px 24px rgba(11, 61, 46, 0.08);
}

.fee-extra-card:hover::before {
    transform: scaleY(1);
}

.fee-extra-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(145deg, var(--primary), var(--primary-light));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.1rem;
    box-shadow: 0 3px 10px rgba(11, 61, 46, 0.2);
    transition: all 0.4s ease;
}

.fee-extra-card:hover .fee-extra-icon {
    transform: scale(1.08) rotate(-3deg);
}

.fee-extra-body h3 {
    font-size: 1.05rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 6px;
}

.fee-extra-body p {
    color: #5a5a5a;
    font-size: 0.88rem;
    line-height: 1.65;
    margin: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */
.fee-cta-section {
    position: relative;
    padding: 90px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #0a3526 50%, var(--primary-light) 100%);
    overflow: hidden;
}

.fee-cta-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(201, 162, 77, 0.1), transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(255, 255, 255, 0.05), transparent 50%);
    pointer-events: none;
}

.fee-cta-container {
    position: relative;
    z-index: 1;
}

.fee-cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.fee-cta-icon {
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(201, 162, 77, 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    font-size: 1.6rem;
    color: var(--gold);
    transition: transform 0.4s ease;
}

.fee-cta-content:hover .fee-cta-icon {
    transform: rotate(-5deg) scale(1.05);
}

.fee-cta-content h2 {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.fee-cta-content > p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 36px;
}

.fee-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .fee-title {
        font-size: 1.9rem;
    }

    .fee-table th,
    .fee-table td {
        padding: 14px 18px;
    }
}

@media (max-width: 768px) {
    .fee-title {
        font-size: 1.6rem;
    }

    .fee-table-wrapper {
        border-radius: 14px;
    }

    .fee-table th {
        font-size: 0.78rem;
        padding: 14px 12px;
    }

    .fee-table td {
        padding: 14px 12px;
        font-size: 0.85rem;
    }

    .fee-class-label {
        font-size: 0.85rem;
    }

    .fee-pay-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .fee-extra-grid {
        grid-template-columns: 1fr;
    }

    .fee-cta-section {
        padding: 60px 0;
    }

    .fee-cta-content h2 {
        font-size: 1.7rem;
    }
}

@media (max-width: 480px) {
    .fee-title {
        font-size: 1.35rem;
    }

    .fee-desc-center {
        margin-bottom: 30px;
    }

    .fee-table-wrapper {
        border-radius: 12px;
        margin: 0 -8px;
    }

    .fee-table th {
        font-size: 0.7rem;
        padding: 12px 8px;
        letter-spacing: 0;
    }

    .fee-table td {
        padding: 12px 8px;
        font-size: 0.78rem;
    }

    .fee-class-label {
        font-size: 0.78rem;
    }

    .fee-th-sub {
        display: none;
    }

    .fee-pay-card {
        padding: 26px 20px;
    }

    .fee-extra-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 14px;
        padding: 22px 18px;
    }

    .fee-extra-card:hover {
        transform: translateY(-3px);
    }

    .fee-cta-content h2 {
        font-size: 1.4rem;
    }

    .fee-cta-icon {
        width: 58px;
        height: 58px;
        font-size: 1.3rem;
    }

    .fee-cta-buttons .fee-btn {
        width: 100%;
        justify-content: center;
    }
}
