/* ============================================
   ROLOF IMT – STUDENT REGISTRATION PAGE
   register.css  |  extends style2.css + portal.css + studentlogin.css
   ============================================ */

/* ============================================
   BODY
   ============================================ */
.register-body {
    background: #f0f4fc;
}

/* ============================================
   HERO
   ============================================ */
.reg-hero {
    background-image: linear-gradient(rgba(4, 43, 107, 0.84), rgba(4, 43, 107, 0.72)),
                      url('../images/campus.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 200px;
    display: flex;
    align-items: center;
}

.reg-hero-overlay {
    width: 100%;
    padding: 48px 0 36px;
}

.reg-hero-content { color: #fff; }

.reg-hero-title {
    font-size: 34px;
    font-weight: 700;
    margin: 10px 0 8px;
    text-shadow: 1px 2px 8px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.reg-hero-subtitle {
    font-size: 15px;
    color: rgba(255,255,255,0.88);
    margin: 0;
}

/* ============================================
   REGISTRATION SECTION
   ============================================ */
.reg-section { background: #f0f4fc; }

/* ============================================
   REGISTRATION CARDS
   ============================================ */
.reg-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 28px rgba(0,0,0,0.09);
    border: 1px solid #e4eaf6;
    transition: all 0.35s ease;
}

.reg-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 48px rgba(0,0,0,0.14);
}

/* Featured / highlighted card */
.reg-card-featured {
    border: 2px solid var(--primary-color);
    box-shadow: 0 8px 36px rgba(11,94,215,0.16);
    position: relative;
}

.reg-card-featured::before {
    content: 'Most Popular';
    position: absolute;
    top: 18px;
    right: -1px;
    background: var(--accent-color);
    color: #333;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 5px 14px;
    border-radius: 6px 0 0 6px;
    z-index: 10;
}

/* ============================================
   CARD IMAGE / ILLUSTRATION ZONE
   ============================================ */
.reg-card-image {
    height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

/* Certificate — soft blue background */
.reg-card-certificate .reg-card-image {
    background: linear-gradient(145deg, #eef3ff 0%, #dde8ff 100%);
}

/* Bootcamp — warm orange/red tint matching stamp colours */
.reg-card-bootcamp .reg-card-image {
    background: linear-gradient(145deg, #fff3ee 0%, #fde8dc 100%);
}

/* National Diploma — deep navy tint */
.reg-card-nd .reg-card-image {
    background: linear-gradient(145deg, #eef3ff 0%, #d6e3ff 100%);
}

/* ============================================
   ILLUSTRATIONS (CSS-drawn, no images needed)
   ============================================ */
.reg-illustration {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
}

/* Badge ring — Certificate & ND */
.ri-badge-ring {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 5px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(11,94,215,0.2);
    background: #fff;
    position: relative;
}

.ri-badge-ring::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px dashed rgba(11,94,215,0.2);
}

.ri-badge-inner {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
}

/* ND variant — gold ring */
.ri-badge-ring-nd {
    border-color: #c05c00;
    box-shadow: 0 4px 18px rgba(192,92,0,0.2);
}

.ri-badge-ring-nd::before {
    border-color: rgba(192,92,0,0.2);
}

.ri-badge-inner-nd {
    background: linear-gradient(135deg, #fd7e14, #c05c00);
}

/* Bootcamp stamp */
.ri-stamp {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ri-stamp-ring {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 5px solid #b02a37;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 18px rgba(176,42,55,0.25);
}

.ri-stamp-ring::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px dashed rgba(176,42,55,0.25);
}

.ri-stamp-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: #b02a37;
}

.ri-stamp-top,
.ri-stamp-bot {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #b02a37;
}

.ri-stamp-inner i {
    font-size: 28px;
    color: #b02a37;
}

/* Floating programme tags below illustration */
.ri-floating-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.ri-floating-tags span {
    background: rgba(11,94,215,0.08);
    color: var(--primary-dark);
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid rgba(11,94,215,0.15);
    white-space: nowrap;
}

.boot-illustration .ri-floating-tags span {
    background: rgba(176,42,55,0.07);
    color: #8b1a25;
    border-color: rgba(176,42,55,0.15);
}

.nd-illustration .ri-floating-tags span {
    background: rgba(192,92,0,0.07);
    color: #7a3800;
    border-color: rgba(192,92,0,0.15);
}

/* ============================================
   CARD BODY
   ============================================ */
.reg-card-body {
    padding: 24px 28px 16px;
    flex: 1;
}

/* Programme type badge */
.reg-card-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.tag-cert { background: #eef1fb; color: var(--primary-dark); }
.tag-boot { background: #fff0f0; color: #b02a37; }
.tag-nd   { background: #fff4e6; color: #7a3800; }

.reg-card-body h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.25;
    margin: 0 0 12px;
    text-align: center;
}

.reg-card-body p {
    font-size: 13.5px;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0 0 16px;
    text-align: center;
}

/* Feature checklist */
.reg-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid #eef1fb;
    padding-top: 14px;
}

.reg-feature-list li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    color: var(--text-dark);
}

.reg-card-certificate .reg-feature-list li i { color: var(--primary-color); }
.reg-card-bootcamp   .reg-feature-list li i { color: #b02a37; }
.reg-card-nd         .reg-feature-list li i { color: #c05c00; }

/* ============================================
   CARD FOOTER / BUTTON
   ============================================ */
.reg-card-footer {
    padding: 20px 28px 26px;
    text-align: center;
    border-top: 1px solid #f0f3fa;
}

.btn-reg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;
    border: none;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.btn-reg-cert {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
}
.btn-reg-cert:hover {
    background: linear-gradient(135deg, var(--primary-dark), #021a45);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(11,94,215,0.32);
}

.btn-reg-boot {
    background: linear-gradient(135deg, #dc3545, #8b1a25);
    color: #fff;
}
.btn-reg-boot:hover {
    background: linear-gradient(135deg, #8b1a25, #6b0f1a);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(176,42,55,0.32);
}

.btn-reg-nd {
    background: linear-gradient(135deg, #fd7e14, #c05c00);
    color: #fff;
}
.btn-reg-nd:hover {
    background: linear-gradient(135deg, #c05c00, #8a3f00);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(192,92,0,0.32);
}

.reg-card-note {
    font-size: 12px;
    color: var(--text-light);
    margin: 12px 0 0;
}

.reg-card-note a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}
.reg-card-note a:hover { text-decoration: underline; }

/* ============================================
   EXISTING ACCOUNT ROW
   ============================================ */
.reg-existing-account {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1.5px solid #d8e0f0;
    border-radius: 50px;
    padding: 14px 28px;
    font-size: 14px;
    color: var(--text-light);
    box-shadow: var(--shadow-sm);
    flex-wrap: wrap;
    justify-content: center;
}

.reg-existing-account i { color: var(--primary-color); font-size: 20px; }

.reg-login-link {
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}
.reg-login-link:hover { color: var(--primary-dark); text-decoration: underline; }

/* ============================================
   HELP STRIP
   ============================================ */
.reg-help-strip {
    background: var(--primary-dark);
}

.rhs-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    color: rgba(255,255,255,0.85);
}

.rhs-icon {
    width: 46px;
    height: 46px;
    background: rgba(255,255,255,0.10);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--accent-color);
    flex-shrink: 0;
}

.rhs-item strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.rhs-item p {
    font-size: 13px;
    color: rgba(255,255,255,0.70);
    margin: 0;
    line-height: 1.6;
}

.rhs-item a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}
.rhs-item a:hover { text-decoration: underline; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
    .reg-hero { background-attachment: scroll; }
    .reg-hero-title { font-size: 26px; }
    .reg-card-featured::before { font-size: 10px; padding: 4px 10px; }
}

@media (max-width: 767px) {
    .reg-hero-title { font-size: 22px; }
    .reg-card-image { height: 180px; }
    .ri-badge-ring, .ri-stamp-ring { width: 90px; height: 90px; }
    .ri-badge-inner { width: 66px; height: 66px; font-size: 26px; }
    .reg-card-body { padding: 20px 20px 12px; }
    .reg-card-footer { padding: 16px 20px 22px; }
    .rhs-item { flex-direction: column; gap: 10px; }
}

@media (max-width: 575px) {
    .reg-existing-account { font-size: 13px; padding: 12px 18px; }
}
