:root {
    --navy: #102a43;
    --navy-light: #193f5d;
    --gold: #ffc857;
    --gold-dark: #d99a16;
    --teal: #176b70;
    --page-bg: #f3f6fa;
    --text: #263746;
    --muted: #697887;
    --border: #dce4ec;
    --success: #247847;
    --danger: #bd3030;
    --shadow: 0 12px 35px rgba(16, 42, 67, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 25px; }
body {
    margin: 0;
    background: var(--page-bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.65;
}
a { color: inherit; }
img { max-width: 100%; }

/* Header and college branding */
.site-header {
    position: relative;
    z-index: 10;
    background: #fff;
    border-bottom: 3px solid var(--gold);
    box-shadow: 0 3px 14px rgba(16, 42, 67, .06);
}
.header-inner {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 12px;
    padding-bottom: 12px;
}
.college-brand { display: flex; align-items: center; gap: 15px; min-width: 0; }
.logo-link { display: inline-flex; flex: 0 0 auto; border-radius: 50%; }
.college-logo {
    width: 78px;
    height: 78px;
    padding: 4px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #e4e8ed;
    border-radius: 50%;
}
.college-details h1 {
    margin: 0 0 2px;
    color: var(--navy);
    font-size: clamp(18px, 2vw, 25px);
    font-weight: 800;
    line-height: 1.3;
}
.college-details p { margin: 0; color: var(--muted); font-size: 13px; }
.institution-label {
    display: inline-block;
    margin-top: 5px;
    color: var(--teal);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex: 0 0 auto;
}
.btn-register-header {
    flex: 0 0 auto;
    padding: 10px 16px;
    border: 1px solid var(--navy);
    border-radius: 7px;
    background: var(--navy);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}
.btn-register-header:hover, .btn-register-header:focus {
    background: var(--navy-light);
    color: #fff;
}

/* QR card in top bar: styled like the supplied screenshot */
.header-payment-card {
    width: 220px;
    padding: 6px;
    flex: 0 1 220px;
    border: 1px solid #d6e0eb;
    border-radius: 12px;
    background: #fff;
}
.header-qr-placeholder {
    min-height: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 9px;
    border: 1px dashed #c4d3e3;
    border-radius: 8px;
    background: #f8fafc;
    text-align: center;
}
.header-qr-icon { color: var(--teal); font-size: 31px; line-height: 1.2; }
.header-qr-placeholder strong, .header-qr-caption strong {
    color: var(--navy);
    font-size: 12px;
    font-weight: 800;
}
.header-qr-placeholder small, .header-qr-caption small {
    color: var(--muted);
    font-size: 10px;
    line-height: 1.45;
}
.header-qr-image-link {
    display: flex;
    min-height: 110px;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border: 1px dashed #c4d3e3;
    border-radius: 8px;
    background: #f8fafc;
}
.header-qr-image {
    display: block;
    width: 86px;
    height: 86px;
    object-fit: contain;
}
.header-qr-caption {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 5px 2px 1px;
    text-align: center;
}

/* Banner */
.programme-hero {
    position: relative;
    overflow: hidden;
    padding: 28px 0 32px;
    background:
        radial-gradient(circle at 90% 10%, rgba(255, 200, 87, .19), transparent 30%),
        linear-gradient(135deg, #102a43 0%, #17445c 55%, #176b70 100%);
}
.programme-hero::before, .programme-hero::after {
    position: absolute;
    z-index: 0;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}
.programme-hero::before { top: -170px; right: -50px; }
.programme-hero::after { bottom: -205px; left: -95px; width: 320px; height: 320px; }
.programme-hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 1050px; margin: 0 auto; padding: 28px 25px 25px; color: #fff; text-align: center; }
.hero-kicker {
    display: inline-block;
    margin-bottom: 17px;
    padding: 6px 13px;
    border: 1px solid rgba(255,200,87,.65);
    border-radius: 30px;
    color: var(--gold);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.hero-content h2 {
    max-width: 1000px;
    margin: 0 auto 22px;
    color: #fff;
    font-size: clamp(25px, 3.4vw, 42px);
    font-weight: 800;
    line-height: 1.3;
    text-wrap: balance;
}
.hero-date {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 19px;
    border-radius: 7px;
    background: var(--gold);
    color: var(--navy);
    font-size: 16px;
    font-weight: 800;
}
.hero-institution { margin: 18px 0 0; color: #e6eff6; font-size: 14px; }
.banner-image-wrapper {
    overflow: hidden;
    border: 4px solid rgba(255,255,255,.75);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 15px 40px rgba(0,0,0,.2);
}
.programme-banner { display: block; width: 100%; height: auto; max-height: 570px; object-fit: contain; background: #fff; }

/* Programme overview */
.programme-overview { position: relative; z-index: 2; padding: 0 0 16px; }
.overview-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 25px 28px;
    border: 1px solid var(--border);
    border-top: 3px solid var(--gold);
    border-radius: 0 0 12px 12px;
    background: #fff;
    box-shadow: var(--shadow);
}
.overview-icon {
    display: flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #edf4f8;
    color: var(--navy);
    font-size: 28px;
}
.overview-card h2 { margin: 0 0 5px; color: var(--navy); font-size: 20px; font-weight: 800; }
.overview-card p { margin: 0; color: var(--muted); font-size: 13px; }
.overview-date { min-width: 175px; padding-left: 22px; border-left: 1px solid var(--border); }
.overview-date span { display: block; margin-bottom: 4px; color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.overview-date strong { color: var(--teal); font-size: 14px; }

/* Registration area */
.registration-section { padding: 40px 0 65px; }
.section-heading { margin-bottom: 30px; text-align: center; }
.section-eyebrow { display: inline-block; margin-bottom: 6px; color: var(--teal); font-size: 10px; font-weight: 800; letter-spacing: 1.7px; text-transform: uppercase; }
.section-heading h2 { margin: 0 0 9px; color: var(--navy); font-size: clamp(26px, 3vw, 34px); font-weight: 800; }
.section-heading p { max-width: 650px; margin: 0 auto; color: var(--muted); font-size: 14px; }
.form-card {
    overflow: hidden;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow);
}
.card-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 25px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.card-heading h3 { margin: 0 0 4px; color: var(--navy); font-size: 21px; font-weight: 800; }
.card-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.step-number { display: inline-flex; width: 39px; height: 39px; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 10px; background: #edf3f8; color: var(--navy); font-size: 14px; font-weight: 800; }
.form-label { display: block; margin-bottom: 7px; color: var(--navy); font-size: 13px; font-weight: 700; }
.form-control { min-height: 45px; border: 1px solid #d5dee7; border-radius: 7px; color: var(--text); font-size: 14px; }
.form-control::placeholder { color: #98a5b1; opacity: 1; }
.form-control:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(23,107,112,.12); }
textarea.form-control { min-height: 95px; resize: vertical; }
.form-text { margin-top: 5px; color: var(--muted); font-size: 11px; }
.upload-panel { margin-top: 2px; padding: 19px; border: 1px dashed #aabac9; border-radius: 9px; background: #f8fafc; }
.upload-panel .form-control { background: #fff; }
.file-message { margin: 8px 0 0; font-size: 12px; overflow-wrap: anywhere; }
.file-message:empty { display: none; }
.file-message.success { color: var(--success); }
.file-message.error { color: var(--danger); }
.declaration-box { display: flex; align-items: flex-start; gap: 11px; padding: 16px; border: 1px solid var(--border); border-radius: 8px; background: #fbfcfd; }
.declaration-box .form-check-input { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 4px; cursor: pointer; }
.declaration-box .form-check-input:checked { border-color: var(--teal); background-color: var(--teal); }
.declaration-box .form-check-label { color: #526170; font-size: 12px; line-height: 1.7; cursor: pointer; }
.btn-submit {
    display: flex;
    width: 100%;
    min-height: 49px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 18px;
    border: 0;
    border-radius: 7px;
    background: var(--navy);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}
.btn-submit:hover, .btn-submit:focus { background: var(--teal); color: #fff; }
.btn-submit:disabled { background: #718096; cursor: not-allowed; }
.privacy-note { margin: 13px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; text-align: center; }

/* Payment panel */
.payment-card { overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.payment-card-top { position: relative; padding: 23px 20px 21px; background: linear-gradient(135deg, var(--navy), #17445c); color: #fff; text-align: center; }
.payment-card-top .step-number { position: absolute; top: 17px; right: 17px; background: rgba(255,255,255,.14); color: #fff; }
.payment-label { display: block; margin-bottom: 5px; color: #dce8f0; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.fee-amount { color: var(--gold); font-size: 51px; font-weight: 800; line-height: 1.25; }
.currency-symbol { margin-right: 2px; font-size: 31px; vertical-align: 7px; }
.payment-card-top p { margin: 5px 0 0; color: #e2ebf1; font-size: 12px; }
.payment-card-body { padding: 22px; }
.payment-card-body h3 { margin: 0 0 8px; color: var(--navy); font-size: 19px; font-weight: 800; text-align: center; }
.payment-instruction { margin: 0 0 17px; color: var(--muted); font-size: 12px; text-align: center; }
.qr-container { display: flex; min-height: 200px; align-items: center; justify-content: center; padding: 12px; border: 1px solid var(--border); border-radius: 9px; background: #fff; }
.payment-qr-link { display: flex; width: 100%; align-items: center; justify-content: center; }
.payment-qr { display: block; width: 100%; max-width: 240px; max-height: 260px; object-fit: contain; }
.qr-placeholder { display: flex; width: 100%; min-height: 170px; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 18px; border: 1px dashed #c4d0dc; border-radius: 7px; background: #f8fafc; color: var(--muted); text-align: center; }
.qr-placeholder > span { color: var(--teal); font-size: 42px; line-height: 1; }
.qr-placeholder strong { color: var(--navy); font-size: 14px; }
.qr-placeholder small { max-width: 180px; font-size: 11px; overflow-wrap: anywhere; }
.payment-warning { margin-top: 18px; padding: 13px; border-left: 3px solid var(--gold-dark); border-radius: 0 6px 6px 0; background: #fff8e7; }
.payment-warning strong { display: block; margin-bottom: 4px; color: #805b0b; font-size: 12px; }
.payment-warning p { margin: 0; color: #725d32; font-size: 11px; line-height: 1.7; }
.payment-status-info { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 17px; color: var(--muted); font-size: 11px; text-align: center; }
.status-dot { display: inline-block; width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #d9a52d; }

/* Schedule */
.schedule-card { margin-top: 20px; padding: 22px; border: 1px solid var(--border); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.schedule-card h3 { margin: 0 0 18px; padding-bottom: 13px; border-bottom: 1px solid var(--border); color: var(--navy); font-size: 18px; font-weight: 800; }
.schedule-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 17px; }
.schedule-row:last-child { margin-bottom: 0; }
.schedule-icon { display: flex; width: 37px; height: 37px; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 8px; background: #edf4f8; font-size: 17px; }
.schedule-row small { display: block; margin-bottom: 3px; color: var(--muted); font-size: 11px; }
.schedule-row strong { display: block; color: var(--navy); font-size: 12px; line-height: 1.5; }

/* Footer */
.site-footer { padding: 24px 12px; border-top: 3px solid var(--gold); background: var(--navy); color: #fff; font-size: 13px; line-height: 1.9; }
.site-footer p { margin-bottom: 3px; }
.site-footer a { color: var(--gold); font-weight: 700; text-decoration: none; }
.site-footer a:hover, .site-footer a:focus { color: #fff; text-decoration: underline; }

/* Responsive layout */
@media (max-width: 1199.98px) {
    .header-inner { gap: 16px; }
    .header-payment-card { width: 190px; flex-basis: 190px; }
    .header-qr-placeholder, .header-qr-image-link { min-height: 100px; }
    .header-qr-image { width: 75px; height: 75px; }
    .header-actions { gap: 8px; }
}
@media (max-width: 991.98px) {
    .header-inner { align-items: flex-start; }
    .header-actions { align-items: center; }
    .header-payment-card { width: 180px; flex-basis: 180px; }
    .overview-card { grid-template-columns: auto minmax(0, 1fr); }
    .overview-date { grid-column: 1 / -1; padding: 15px 0 0; border-top: 1px solid var(--border); border-left: 0; }
    .registration-section { padding-top: 32px; }
    .payment-card, .schedule-card { max-width: 620px; margin-right: auto; margin-left: auto; }
}
@media (max-width: 767.98px) {
    .header-inner { flex-wrap: wrap; align-items: center; }
    .college-brand { flex: 1 1 100%; }
    .header-actions { width: 100%; justify-content: space-between; }
    .header-payment-card { width: 220px; flex-basis: 220px; }
    .header-qr-placeholder, .header-qr-image-link { min-height: 110px; }
    .header-qr-image { width: 86px; height: 86px; }
}
@media (max-width: 575.98px) {
    body { font-size: 14px; }
    .header-inner { gap: 12px; padding-top: 12px; padding-bottom: 12px; }
    .college-brand { gap: 10px; }
    .college-logo { width: 56px; height: 56px; padding: 3px; }
    .college-details h1 { font-size: 16px; }
    .college-details p { font-size: 11px; line-height: 1.5; }
    .institution-label { font-size: 9px; letter-spacing: .5px; }
    .header-actions { align-items: center; gap: 9px; }
    .header-payment-card { width: 190px; flex: 1 1 190px; }
    .header-qr-placeholder { min-height: 100px; }
    .header-qr-image-link { min-height: 100px; }
    .header-qr-image { width: 72px; height: 72px; }
    .header-qr-placeholder strong, .header-qr-caption strong { font-size: 11px; }
    .header-qr-placeholder small, .header-qr-caption small { font-size: 9px; }
    .btn-register-header { padding: 9px 10px; font-size: 11px; }
    .programme-hero { padding: 20px 0 23px; }
    .hero-content { padding: 17px 6px; }
    .hero-kicker { font-size: 9px; letter-spacing: 1px; }
    .hero-content h2 { font-size: 25px; line-height: 1.35; }
    .hero-date { padding: 9px 12px; font-size: 13px; }
    .hero-institution { font-size: 12px; }
    .banner-image-wrapper { border-width: 2px; border-radius: 7px; }
    .overview-card { gap: 13px; padding: 18px 15px; }
    .overview-icon { width: 43px; height: 43px; border-radius: 9px; font-size: 22px; }
    .overview-card h2 { font-size: 17px; }
    .overview-card p { font-size: 12px; }
    .overview-date strong { font-size: 14px; }
    .registration-section { padding: 29px 0 42px; }
    .section-heading { margin-bottom: 22px; }
    .section-heading h2 { font-size: 26px; }
    .section-heading p { font-size: 12px; }
    .form-card { padding: 19px 15px; border-radius: 9px; }
    .card-heading { margin-bottom: 19px; padding-bottom: 15px; }
    .card-heading h3 { font-size: 18px; }
    .card-heading p { font-size: 11px; }
    .form-control { font-size: 13px; }
    .upload-panel { padding: 13px; }
    .payment-card-body, .schedule-card { padding: 18px; }
    .site-footer { padding: 20px 12px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}


/* Updated compact header contact details */
.header-inner { min-height: 0; padding-top: 10px; padding-bottom: 10px; }
.header-actions { gap: 14px; }
.header-contact { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.header-contact-item { display: flex; align-items: center; gap: 9px; color: var(--navy); text-decoration: none; min-width: 0; }
.header-contact-item:hover, .header-contact-item:focus { color: var(--teal); }
.contact-icon { display: flex; width: 30px; height: 30px; flex: 0 0 30px; align-items: center; justify-content: center; border-radius: 8px; background: #edf4f8; color: var(--teal); font-size: 17px; }
.header-contact-item small, .header-contact-item strong { display: block; line-height: 1.35; }
.header-contact-item small { color: var(--muted); font-size: 10px; }
.header-contact-item strong { max-width: 250px; overflow-wrap: anywhere; color: var(--navy); font-size: 11px; font-weight: 700; }

/* Uploaded college building photo as a flex/banner image */
.programme-hero { padding: 22px 0 26px; }
.banner-image-wrapper { border: 3px solid rgba(255,255,255,.85); border-radius: 8px; }
.programme-banner { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; }

/* Payment QR button beside screenshot upload */
.upload-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 9px; }
.upload-heading .form-label { margin: 0; }
.btn-show-qr { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 8px 12px; border: 1px solid var(--teal); border-radius: 7px; background: #fff; color: var(--teal); font-size: 12px; font-weight: 800; }
.btn-show-qr:hover, .btn-show-qr:focus { border-color: var(--teal); background: var(--teal); color: #fff; }
.payment-qr-prompt { margin: 3px 0 0; padding: 20px 15px; border: 1px dashed #c4d3e3; border-radius: 9px; background: #f8fafc; text-align: center; }
.payment-qr-prompt-icon { display: block; margin-bottom: 8px; color: var(--teal); font-size: 35px; line-height: 1; }
.payment-qr-prompt strong { display: block; margin-bottom: 5px; color: var(--navy); font-size: 13px; }
.payment-qr-prompt p { margin: 0 0 12px; color: var(--muted); font-size: 11px; }

/* QR modal */
.payment-modal-content { overflow: hidden; border: 0; border-radius: 13px; box-shadow: 0 18px 55px rgba(0,0,0,.25); }
.payment-modal-content .modal-header { align-items: flex-start; border-bottom: 1px solid var(--border); background: #f8fafc; }
.payment-modal-content .modal-title { margin: 0; color: var(--navy); font-size: 18px; font-weight: 800; }
.modal-subtitle { margin: 2px 0 0; color: var(--teal); font-size: 12px; font-weight: 700; }
.modal-qr-frame { display: flex; min-height: 240px; align-items: center; justify-content: center; padding: 12px; border: 1px solid var(--border); border-radius: 9px; background: #fff; }
.modal-payment-qr { display: block; width: 100%; max-width: 300px; max-height: 330px; object-fit: contain; }
.modal-qr-instruction { margin: 14px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.modal-qr-missing { padding: 35px 15px; border: 1px dashed #c4d3e3; border-radius: 8px; background: #f8fafc; color: var(--navy); }
.modal-qr-missing p { margin: 7px 0 0; color: var(--muted); font-size: 12px; }
.btn-modal-close { border: 0; background: var(--navy); color: #fff; font-weight: 700; }
.btn-modal-close:hover, .btn-modal-close:focus { background: var(--teal); color: #fff; }

/* Footer address */
.footer-college-name { margin: 0 0 3px; color: #fff; font-size: 18px; font-weight: 800; }
.footer-address { margin: 0 0 10px; color: #dce8f0; font-size: 12px; }

@media (max-width: 1199.98px) {
    .header-contact-item strong { max-width: 190px; }
    .header-actions { gap: 9px; }
}
@media (max-width: 991.98px) {
    .header-inner { align-items: center; }
    .header-actions { align-items: center; }
    .header-contact-item strong { max-width: 210px; }
}
@media (max-width: 767.98px) {
    .header-inner { flex-wrap: wrap; }
    .college-brand { flex: 1 1 100%; }
    .header-actions { width: 100%; justify-content: space-between; }
    .header-contact { flex: 1 1 auto; }
    .header-contact-item strong { max-width: min(58vw, 300px); }
    .programme-hero { padding: 14px 0 18px; }
}
@media (max-width: 575.98px) {
    .header-contact-item { gap: 7px; }
    .contact-icon { width: 27px; height: 27px; flex-basis: 27px; font-size: 15px; }
    .header-contact-item small { font-size: 9px; }
    .header-contact-item strong { max-width: 56vw; font-size: 10px; }
    .btn-register-header { padding: 8px 10px; font-size: 10px; }
    .upload-heading { align-items: flex-start; }
    .btn-show-qr { font-size: 11px; }
    .footer-college-name { font-size: 16px; }
    .footer-address { font-size: 11px; }
}


/* Full-width FDP flex banner with programme details embedded in the artwork */
.programme-hero-banner {
    width: 100%;
    padding: 0;
    margin: 0;
    background: #102a43;
    overflow: hidden;
}
.programme-hero-banner::before,
.programme-hero-banner::after { display: none; }
.programme-hero-banner .banner-image-wrapper {
    width: 100%;
    max-width: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    background: #102a43;
}
.programme-hero-banner .programme-banner {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    max-height: none;
    object-fit: cover;
    object-position: center;
}
@media (max-width: 767.98px) {
    .programme-hero-banner .programme-banner {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}


/* Three navbar contact links: phone, email and official website */
.header-contact { gap: 5px; }
.header-contact-item strong { line-height: 1.25; }
@media (max-width: 767.98px) {
    .header-contact { gap: 5px; }
}


/* FINAL FIX: full-viewport banner and visible college website contact */
.site-header { position: relative; z-index: 20; }
.header-inner { width: 100%; max-width: 1440px; }
.header-actions { display: flex; align-items: center; flex: 0 1 auto; min-width: 0; }
.header-contact { display: flex; flex-direction: column; flex: 0 1 auto; min-width: 0; }
.header-contact-item { display: flex !important; visibility: visible !important; opacity: 1 !important; }
.header-contact-item strong { overflow-wrap: anywhere; }
.programme-hero-banner { display: block; width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); padding: 0 !important; }
.programme-hero-banner .banner-image-wrapper { display: block; width: 100%; max-width: none; margin: 0; padding: 0; border: 0; border-radius: 0; overflow: hidden; }
.programme-hero-banner .programme-banner { display: block; width: 100%; max-width: none; height: auto; aspect-ratio: 3 / 1; object-fit: cover; object-position: center; }
@media (max-width: 767.98px) {
  .header-inner { align-items: flex-start; }
  .header-actions { width: 100%; align-items: flex-start; }
  .header-contact { flex: 1 1 auto; }
  .header-contact-item strong { max-width: 65vw; }
  .programme-hero-banner .programme-banner { aspect-ratio: 2 / 1; object-fit: cover; object-position: center; }
}


/* Final layout corrections: responsive building banner, text-based FDP details, no navbar register button */
.btn-register-header { display: none !important; }
.programme-hero-banner {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 !important;
    overflow: hidden;
    background: #102a43;
}
.programme-hero-banner .banner-image-wrapper {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    overflow: hidden;
    background: #102a43;
}
.programme-hero-banner .programme-banner {
    display: block;
    width: 100%;
    max-width: none;
    height: auto !important;
    aspect-ratio: auto !important;
    max-height: none;
    object-fit: contain !important;
    object-position: center;
}
.programme-details-text {
    padding: 30px 0;
    background: #f4f8fb;
    color: #102a43;
    text-align: center;
    border-bottom: 1px solid #dce6ee;
}
.programme-details-text .container { max-width: 1100px; }
.programme-eyebrow {
    margin: 0 0 8px;
    color: #b77900;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}
.programme-details-text h2 {
    margin: 0 auto 10px;
    color: #102a43;
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 800;
    line-height: 1.25;
}
.programme-theme {
    margin: 0 auto 18px;
    color: #3c5368;
    font-size: clamp(15px, 1.8vw, 20px);
    font-weight: 600;
}
.programme-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin: 0 0 12px;
}
.programme-meta span {
    display: inline-block;
    padding: 9px 15px;
    border: 1px solid #d3e0e9;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
}
.programme-host { margin: 0; color: #52687b; font-size: 13px; }
@media (max-width: 767.98px) {
    .programme-details-text { padding: 22px 0; }
    .programme-meta { gap: 8px; }
    .programme-meta span { width: 100%; max-width: 320px; }
    .programme-host { padding: 0 8px; line-height: 1.5; }
}


/* FDP details overlay on the college banner photo */
.programme-hero-banner {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}
.programme-hero-banner .banner-image-wrapper {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #102a43;
}
.programme-hero-banner .programme-banner {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
}
.banner-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(10px, 3.2vw, 44px);
    text-align: center;
    color: #fff;
    background: linear-gradient(90deg, rgba(7, 25, 47, .88) 0%, rgba(7, 25, 47, .72) 58%, rgba(7, 25, 47, .32) 100%);
    text-shadow: 0 2px 4px rgba(0,0,0,.65);
}
.banner-college { margin: 0 0 2px; font-size: clamp(10px, 1.6vw, 21px); font-weight: 800; letter-spacing: .08em; }
.banner-address { margin: 0 0 clamp(4px, .8vw, 10px); font-size: clamp(8px, 1vw, 13px); }
.banner-overlay h1 { max-width: 1000px; margin: 0 0 clamp(3px, .8vw, 10px); color: #ffd36a; font-size: clamp(15px, 3.1vw, 42px); line-height: 1.12; font-weight: 900; }
.banner-title { max-width: 1050px; margin: 0 0 3px; font-size: clamp(10px, 2vw, 27px); line-height: 1.2; font-weight: 750; }
.banner-theme { margin: 0 0 clamp(5px, 1vw, 12px); font-size: clamp(9px, 1.5vw, 19px); font-weight: 600; }
.banner-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(4px, 1vw, 12px); }
.banner-meta span { display: inline-block; padding: clamp(3px, .65vw, 8px) clamp(7px, 1.4vw, 18px); border: 1px solid rgba(255,255,255,.8); border-radius: 999px; background: #f8c64e; color: #102a43; text-shadow: none; font-size: clamp(9px, 1.25vw, 16px); font-weight: 800; }

/* Red required-field asterisks */
.required-star { color: #dc3545; font-weight: 900; }
@media (max-width: 575.98px) {
    .banner-overlay { padding: 5px 8px; }
    .banner-college { font-size: clamp(8px, 2.2vw, 11px); letter-spacing: .03em; }
    .banner-address { font-size: clamp(6px, 1.6vw, 8px); margin-bottom: 2px; }
    .banner-overlay h1 { font-size: clamp(10px, 3vw, 15px); margin-bottom: 2px; }
    .banner-title { font-size: clamp(8px, 2.3vw, 11px); margin-bottom: 1px; }
    .banner-theme { font-size: clamp(7px, 1.9vw, 9px); margin-bottom: 3px; }
    .banner-meta { gap: 3px; }
    .banner-meta span { padding: 2px 5px; font-size: clamp(7px, 1.8vw, 9px); }
}


/* Definitive FDP banner overlay fix: keep text positioned over the image. */
.programme-hero-banner .banner-image-wrapper { position: relative !important; display: block !important; width: 100% !important; overflow: hidden !important; line-height: 0; }
.programme-hero-banner .programme-banner { display: block !important; width: 100% !important; max-width: 100% !important; height: auto !important; margin: 0 !important; }
.programme-hero-banner .banner-overlay { position: absolute !important; inset: 0 !important; z-index: 5 !important; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; box-sizing: border-box !important; width: 100% !important; height: 100% !important; line-height: normal; }
.programme-hero-banner .banner-overlay p, .programme-hero-banner .banner-overlay h1 { position: relative; z-index: 6; }
@media (max-width: 575.98px) { .programme-hero-banner .banner-overlay { padding: 5px 8px !important; } }
