/* ============================================================
   REGISTRATION PAGE — registration.css
   University of Goma
============================================================ */

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

    /* Heading scale — single source of truth */
    --reg-h1:  clamp(26px, 3.8vw, 40px);
    --reg-h2:  clamp(20px, 2.6vw, 28px);
    --reg-h3:  16px;
    --reg-body: 14px;
    --reg-sm:   13px;

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

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

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

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

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

/* ---- HERO ---- */
.reg-hero {
    display: flex;
    align-items: flex-end;
    min-height: 380px;
    padding: 120px 20px 44px;
    background:
        linear-gradient(100deg, rgba(6,56,82,.95) 0%, rgba(6,56,82,.52) 100%),
        url('../images/29072026-HG0A9132.jpg') center / cover no-repeat;
}

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

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

.reg-hero-inner > p {
    margin: 0 0 24px;
    font-size: var(--reg-body);
    color: rgba(255,255,255,.82);
    max-width: 520px;
    line-height: 1.7;
}

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

/* ---- BUTTONS ---- */
.reg-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2px;
}

.reg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 11px 22px;
    font-size: var(--reg-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;
}

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

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

.reg-btn--outline-light { background: transparent; color: var(--reg-white); border-color: rgba(255,255,255,.4); }
.reg-btn--outline-light:hover { background: rgba(255,255,255,.08); border-color: var(--reg-white); }

.reg-btn--card { background: var(--reg-blue); color: var(--reg-white); border-color: var(--reg-blue); margin-top: auto; }
.reg-btn--card:hover { background: var(--reg-blue-mid); border-color: var(--reg-blue-mid); }

.reg-btn--lg { padding: 13px 26px; font-size: var(--reg-body); }

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

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

/* ---- INTRO GRID ---- */
.reg-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: center;
}

.reg-intro-copy h2 {
    margin: 0 0 14px;
    color: var(--reg-blue);
    font-size: var(--reg-h2);
    line-height: 1.2;
    font-weight: 700;
}
.reg-intro-copy p {
    color: var(--reg-muted);
    font-size: var(--reg-body);
    line-height: 1.8;
    margin: 0 0 12px;
}

.reg-intro-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 10px 10px 0 rgba(216,154,43,.24);
    border: 1px solid rgba(8,55,80,.07);
}

/* ---- STEPS ---- */
.reg-steps {
    display: flex;
    flex-direction: column;
    border-left: 2px solid var(--reg-border);
    margin-left: 20px;
}

.reg-step {
    display: flex;
    gap: 20px;
    padding: 0 0 32px 28px;
    position: relative;
}

.reg-step::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--reg-gold);
    border: 2px solid var(--reg-white);
    box-shadow: 0 0 0 2px var(--reg-gold);
}

.reg-step:last-child { padding-bottom: 0; }

.reg-step-num {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--reg-blue);
    color: var(--reg-gold);
    font-size: 12px;
    font-weight: 900;
    border-radius: 6px;
    letter-spacing: 1px;
}

.reg-step-body h3 {
    margin: 6px 0 8px;
    color: var(--reg-blue);
    font-size: var(--reg-h3);
    font-weight: 700;
    line-height: 1.3;
}
.reg-step-body p {
    margin: 0 0 10px;
    color: var(--reg-muted);
    font-size: var(--reg-body);
    line-height: 1.75;
}

.reg-link {
    color: var(--reg-blue-mid);
    font-weight: 700;
    font-size: var(--reg-sm);
    text-decoration: none;
    border-bottom: 2px solid var(--reg-gold);
    padding-bottom: 1px;
    transition: color .2s;
}
.reg-link:hover { color: var(--reg-gold-dark); }

/* ---- RESOURCE CARDS ---- */
.reg-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--reg-gap);
}

.reg-card {
    display: flex;
    flex-direction: column;
    padding: 24px 20px 20px;
    background: var(--reg-white);
    border: 1px solid var(--reg-border);
    border-top: 3px solid var(--reg-gold);
    box-shadow: 0 4px 16px rgba(6,56,82,.05);
    transition: transform .22s, box-shadow .22s;
}
.reg-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(6,56,82,.1);
}

.reg-card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--reg-pale);
    border-radius: 8px;
    margin-bottom: 14px;
    color: var(--reg-blue);
    flex-shrink: 0;
}
.reg-card-icon svg { width: 20px; height: 20px; }

.reg-card h3 {
    margin: 0 0 8px;
    color: var(--reg-blue);
    font-size: var(--reg-h3);
    font-weight: 700;
}
.reg-card p {
    margin: 0 0 16px;
    color: var(--reg-muted);
    font-size: var(--reg-sm);
    line-height: 1.7;
    flex: 1;
}

/* ---- CONTACT BAND ---- */
.reg-contact-band {
    background: var(--reg-blue);
    padding: var(--reg-section-py) 0;
}

.reg-contact-inner {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 44px;
    align-items: center;
}

.reg-contact-copy .reg-kicker { color: var(--reg-gold); }

.reg-contact-copy h2 {
    margin: 0 0 12px;
    color: var(--reg-white);
    font-size: var(--reg-h2);
    line-height: 1.2;
    font-weight: 700;
}
.reg-contact-copy p {
    color: rgba(255,255,255,.76);
    font-size: var(--reg-body);
    line-height: 1.8;
    margin: 0 0 20px;
}

.reg-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.reg-contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,.82);
    font-size: var(--reg-body);
}
.reg-contact-list li svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--reg-gold);
}
.reg-contact-list a {
    color: rgba(255,255,255,.88);
    text-decoration: none;
    transition: color .2s;
}
.reg-contact-list a:hover { color: var(--reg-gold); }

.reg-contact-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

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

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

    .reg-hero { min-height: 300px; padding: 110px 20px 36px; }

    .reg-intro-grid,
    .reg-contact-inner { grid-template-columns: 1fr; gap: 28px; }

    .reg-intro-image { order: -1; }
    .reg-intro-image img { box-shadow: 8px 8px 0 rgba(216,154,43,.2); }

    .reg-steps { margin-left: 12px; }
    .reg-step  { padding-left: 20px; gap: 14px; }

    .reg-contact-actions { flex-direction: row; flex-wrap: wrap; }
    .reg-contact-actions .reg-btn { flex: 1 1 auto; }
}

/* Mobile */
@media (max-width: 560px) {
    .reg-cards { grid-template-columns: 1fr; }
    .reg-hero-actions { flex-direction: column; }
    .reg-hero-actions .reg-btn,
    .reg-contact-actions .reg-btn { width: 100%; }
}

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