/* ============================================================
   FEE STRUCTURE PAGE — fees.css
   University of Goma
============================================================ */

/* ---- TOKENS ---- */
:root {
    --fees-blue:      #063852;
    --fees-blue-mid:  #0b5578;
    --fees-gold:      #d89a2b;
    --fees-gold-dark: #b87918;
    --fees-ink:       #173b4b;
    --fees-muted:     #60727a;
    --fees-pale:      #f1f6f8;
    --fees-white:     #ffffff;
    --fees-border:    #dce7eb;

    /* Heading scale */
    --fees-h1:  clamp(24px, 3.6vw, 38px);
    --fees-h2:  clamp(20px, 2.6vw, 28px);
    --fees-h3:  16px;
    --fees-body: 14px;
    --fees-sm:   13px;

    /* Spacing */
    --fees-section-py: 52px;
    --fees-gap:        20px;
}

/* ---- RESET / BASE ---- */
.fees-page {
    color: var(--fees-ink);
    background: #f4f7f9;
    font-size: var(--fees-body);
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
    box-sizing: border-box;
}

.fees-page *, .fees-page *::before, .fees-page *::after {
    box-sizing: inherit;
}

.fees-container {
    width: 100%;
    max-width: 1140px;
    margin-inline: auto;
    padding-inline: 20px;
}

/* ---- KICKERS ---- */
.fees-kicker,
.fees-kicker-dark {
    display: block;
    margin-bottom: 10px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.fees-kicker      { color: var(--fees-gold); }
.fees-kicker-dark { color: var(--fees-blue-mid); }

/* ---- HERO ---- */
.fees-hero {
    display: flex;
    align-items: flex-end;
    min-height: 360px;
    padding: 120px 20px 44px;
    background:
        linear-gradient(110deg, rgba(6,56,82,.96) 0%, rgba(11,85,120,.56) 100%),
        url('../images/17072026-_G0A8459.jpg') center / cover no-repeat;
}

.fees-hero-inner {
    width: 100%;
    max-width: 1140px;
    margin-inline: auto;
    color: var(--fees-white);
}

.fees-hero-inner h1 {
    margin: 0 0 12px;
    font-size: var(--fees-h1);
    line-height: 1.15;
    max-width: 640px;
    font-weight: 800;
}

.fees-hero-inner > p {
    margin: 0 0 24px;
    font-size: var(--fees-body);
    color: rgba(255,255,255,.8);
    max-width: 500px;
    line-height: 1.75;
}

.fees-hero-inner::after {
    content: "";
    display: block;
    width: 52px;
    height: 3px;
    margin-top: 20px;
    background: var(--fees-gold);
}

.fees-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2px;
}

/* ---- BUTTONS ---- */
.fees-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 11px 22px;
    font-size: var(--fees-sm);
    font-weight: 700;
    line-height: 1;
    border-radius: 4px;
    text-decoration: none;
    border: 2px solid transparent;
    transition: background .2s, color .2s, border-color .2s;
    cursor: pointer;
    white-space: nowrap;
}

.fees-btn svg { width: 15px; height: 15px; flex-shrink: 0; }

.fees-btn--primary  { background: var(--fees-gold);  color: var(--fees-blue);  border-color: var(--fees-gold); }
.fees-btn--primary:hover { background: var(--fees-gold-dark); border-color: var(--fees-gold-dark); color: var(--fees-white); }

.fees-btn--outline  { background: transparent; color: var(--fees-white); border-color: rgba(255,255,255,.5); }
.fees-btn--outline:hover { background: rgba(255,255,255,.1); border-color: var(--fees-white); }

.fees-btn--blue  { background: var(--fees-blue); color: var(--fees-white); border-color: var(--fees-blue); }
.fees-btn--blue:hover { background: var(--fees-blue-mid); border-color: var(--fees-blue-mid); }

.fees-btn--ghost { background: transparent; color: var(--fees-blue); border-color: var(--fees-border); }
.fees-btn--ghost:hover { border-color: var(--fees-blue); }

.fees-btn--sm { padding: 9px 16px; font-size: 12px; }

/* ---- SECTIONS ---- */
.fees-section      { padding: var(--fees-section-py) 0; }
.fees-section--alt { background: var(--fees-white); }

.fees-section-head {
    max-width: 560px;
    margin-bottom: 32px;
}
.fees-section-head h2 {
    margin: 0 0 10px;
    color: var(--fees-blue);
    font-size: var(--fees-h2);
    line-height: 1.2;
    font-weight: 700;
}
.fees-section-head p {
    margin: 0;
    color: var(--fees-muted);
    font-size: var(--fees-body);
    line-height: 1.75;
}

/* ---- FEE LOGIC CARDS ---- */
.fees-logic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--fees-gap);
    margin-bottom: 32px;
}

.fees-logic-card {
    padding: 24px 20px;
    background: var(--fees-white);
    border: 1px solid var(--fees-border);
    border-top: 3px solid var(--fees-gold);
    box-shadow: 0 4px 16px rgba(6,56,82,.05);
    transition: transform .22s, box-shadow .22s;
}
.fees-logic-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(6,56,82,.09);
}

.fees-logic-num {
    font-size: 11px;
    font-weight: 900;
    color: var(--fees-gold);
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.fees-logic-card h3 {
    margin: 0 0 8px;
    color: var(--fees-blue);
    font-size: var(--fees-h3);
    font-weight: 700;
}
.fees-logic-card p {
    margin: 0;
    color: var(--fees-muted);
    font-size: var(--fees-sm);
    line-height: 1.75;
}
.fees-logic-card strong { color: var(--fees-blue); }

/* ---- PDF BAND ---- */
.fees-pdf-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 24px;
    background: var(--fees-blue);
    border-radius: 8px;
}

.fees-pdf-band-left {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--fees-white);
    min-width: 0;
}

.fees-pdf-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(216,154,43,.18);
    border-radius: 7px;
    color: var(--fees-gold);
}
.fees-pdf-icon svg { width: 20px; height: 20px; }

.fees-pdf-band-left strong {
    display: block;
    font-size: var(--fees-body);
    color: var(--fees-white);
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fees-pdf-band-left span {
    font-size: var(--fees-sm);
    color: rgba(255,255,255,.62);
}

/* ---- FEE COMPONENTS CHECKLIST ---- */
.fees-components {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.fees-components li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: var(--fees-pale);
    border-left: 3px solid var(--fees-gold);
    font-size: var(--fees-body);
    line-height: 1.65;
    color: var(--fees-ink);
}
.fees-components li svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--fees-gold);
}
.fees-components li strong { color: var(--fees-blue); }

/* ---- BOTTOM GRID ---- */
.fees-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

/* Notice */
.fees-notice {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 22px;
    background: linear-gradient(135deg, rgba(216,154,43,.09), rgba(216,154,43,.03));
    border: 1px solid rgba(216,154,43,.3);
    border-left: 4px solid var(--fees-gold);
    border-radius: 6px;
}

.fees-notice-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fees-gold);
    border-radius: 50%;
    color: var(--fees-blue);
}
.fees-notice-icon svg { width: 18px; height: 18px; }

.fees-notice h3 {
    margin: 0 0 6px;
    color: var(--fees-blue);
    font-size: var(--fees-h3);
    font-weight: 700;
}
.fees-notice p {
    margin: 0;
    color: var(--fees-muted);
    font-size: var(--fees-sm);
    line-height: 1.75;
}

/* Contact card */
.fees-contact-card {
    padding: 22px;
    background: var(--fees-white);
    border: 1px solid var(--fees-border);
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(6,56,82,.05);
}

.fees-contact-card h3 {
    margin: 0 0 8px;
    color: var(--fees-blue);
    font-size: var(--fees-h3);
    font-weight: 700;
}
.fees-contact-card p {
    margin: 0 0 14px;
    color: var(--fees-muted);
    font-size: var(--fees-sm);
    line-height: 1.75;
}

.fees-contact-list {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.fees-contact-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--fees-sm);
    color: var(--fees-ink);
}
.fees-contact-list li svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: var(--fees-gold);
}
.fees-contact-list a {
    color: var(--fees-blue-mid);
    text-decoration: none;
    font-weight: 600;
}
.fees-contact-list a:hover { color: var(--fees-gold-dark); }

.fees-contact-card-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* ================================================================
   RESPONSIVE
================================================================ */

/* Tablet landscape */
@media (max-width: 1024px) {
    .fees-logic-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet portrait */
@media (max-width: 768px) {
    :root { --fees-section-py: 40px; }

    .fees-hero { min-height: 280px; padding: 110px 20px 36px; }
    .fees-bottom-grid { grid-template-columns: 1fr; }

    .fees-pdf-band { flex-direction: column; align-items: flex-start; }
    .fees-pdf-band .fees-btn { width: 100%; }
}

/* Mobile */
@media (max-width: 560px) {
    .fees-logic-grid  { grid-template-columns: 1fr; }
    .fees-components  { grid-template-columns: 1fr; }
    .fees-hero-actions { flex-direction: column; }
    .fees-hero-actions .fees-btn { width: 100%; }
    .fees-contact-card-actions .fees-btn { flex: 1 1 auto; }
}

/* Very small screens */
@media (max-width: 360px) {
    .fees-container { padding-inline: 14px; }
    .fees-hero { padding-inline: 14px; }
    .fees-pdf-band { padding: 16px; }
}
