* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


.site-nav {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e6e6e6;
}

.site-nav .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
}

.site-nav .brand {
    font-weight: 700;
    color: #316299;
    font-size: 1.1rem;
}

.site-nav .nav-list {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.site-nav .nav-list a {
    color: #316299;
    padding: 0.25rem 0.5rem;
}

.site-nav .nav-list a:hover {
    color: #d4af37;
}


.success-message {
    background: #e6fff0;
    border: 1px solid #b7f0c9;
    color: #0b6b3a;
    padding: 1rem 0;
    margin: 1rem 0 2rem;
    border-radius: 6px;
}

h1,
h2,
h3,
h4 {
    margin-bottom: 1rem;
    color: #003d82;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.75rem;
    border-bottom: 3px solid #d4af37;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

a {
    text-decoration: none;
    color: #003d82;
    transition: color 0.3s ease;
}

a:hover {
    color: #d4af37;
}

.header {
    background: linear-gradient(135deg, #003d82, #0052a8);
    color: white;
    padding: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-section h1 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
}

.campus {
    color: #d4af37;
    font-size: 0.9rem;
    font-weight: 500;
}

.datetime-section {
    text-align: right;
    color: white;
}

.datetime-section p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

.hero {
    background: linear-gradient(rgba(0, 61, 130, 0.8), rgba(0, 61, 130, 0.8));
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h2 {
    color: white;
    border-bottom: none;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.quote {
    font-style: italic;
    font-size: 1.2rem;
    margin: 2rem auto;
    max-width: 700px;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 4px solid #d4af37;
    border-radius: 8px;
}

.quote cite {
    display: block;
    margin-top: 0.5rem;
    font-size: 1rem;
    color: #d4af37;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: #d4af37;
    color: #002b5c;
}

.btn-primary:hover {
    background-color: #c5a028;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background-color: #d4af37;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #003d82;
}


.btn-outline-secondary {
    background-color: #d4af37;
    color: white;
    border: 2px solid white;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
    background-color: #c5a028;
    color: #002b5c;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
    outline: none;
}

.btn-outline-secondary:active {
    background-color: #b8911f;
    color: #002b5c;
}


.section {
    padding: 3rem 0;
}

.section-alt {
    background-color: white;
}


.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 61, 130, 0.15);
}

.card h3 {
    color: #003d82;
    margin-bottom: 1rem;
}

.card p {
    color: #555;
}

.program-section {
    margin-bottom: 2rem;
}

.program-list {
    list-style-position: inside;
    padding-left: 1rem;
}

.program-list li {
    margin: 0.75rem 0;
    color: #555;
}

.program-list strong {
    color: #003d82;
}

.media-section h3 {
    margin-bottom: 1rem;
}

figure {
    margin: 1rem 0;
}

figure img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

figcaption {
    text-align: center;
    margin-top: 0.5rem;
    color: #666;
    font-style: italic;
}

video {
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.video-description {
    text-align: center;
    margin-top: 0.5rem;
    color: #666;
}


.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    font-style: normal;
}

.contact-info p {
    margin: 0.5rem 0;
}


.faq {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq summary {
    cursor: pointer;
    font-weight: 600;
    color: #003d82;
    padding: 0.5rem;
}

.faq summary:hover {
    color: #d4af37;
}

.faq p {
    margin-top: 1rem;
    padding-left: 0.5rem;
    color: #555;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #d4af37;
}

.profile-info h3 {
    color: #003d82;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.profile-info p {
    color: #666;
    font-size: 1.2rem;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.info-table th,
.info-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.info-table th {
    background-color: #f8f8f8;
    color: #003d82;
    font-weight: 600;
    width: 40%;
}

.info-table td {
    color: #555;
}

.info-table tbody tr:hover {
    background-color: #f5f5f5;
}

.courses-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.courses-table thead {
    background-color: #003d82;
    color: white;
}

.courses-table th,
.courses-table td {
    padding: 1rem;
    text-align: left;
}

.courses-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
}

.courses-table tbody tr:hover {
    background-color: #f8f8f8;
}


.form-floating>label {
    padding-left: 1rem;
}

.form-floating>.form-control {
    padding-left: 1rem;
}

.form-floating.focused {
    color: var(--bs-primary);
}


.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.input-group:focus-within {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    border-radius: 0.375rem;
}


.progress-bar {
    transition: width 0.5s ease-in-out;
}

.card {
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}


.form-section {
    background: white;
    margin-bottom: 2rem;
}

.form-section legend {
    color: var(--bs-primary);
    padding: 0 1rem;
}

.section-card {
    border-left: 4px solid var(--bs-primary);
}

.section-card .card-header {
    background: #f8f9fa;
}

.section-card .card-body {
    padding: 1rem 1.25rem;
}

.section-card .form-group {
    margin-bottom: 1rem;
}

.section-card .form-control,
.section-card .form-select {
    width: 100%;
}


.section-card {
    border-radius: 8px;
    background: #ffffff;
}

.section-card .card-header {
    font-weight: 600;
    border-bottom: 1px solid #e9ecef;
}

.form-group label {
    font-weight: 500;
    display: block;
    margin-bottom: 0.25rem;
}

.form-control,
.form-select,
textarea.form-control {
    border-radius: 0.45rem;
    padding: 0.6rem 0.75rem;
}

.form-floating>label {
    padding-left: 0.75rem;
}

.form-floating>.form-control {
    padding: 0.8rem 0.75rem;
    min-height: 44px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    align-items: start;
}

.error-message {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.invalid-feedback {
    font-size: 0.9rem;
}

.btn-group .btn {
    padding: 0.5rem 0.9rem;
}

.radio-group {
    gap: 1.5rem;
}

.error-message {
    display: none;
}

.form-control.is-invalid+.error-message {
    display: block;
}

.footer {
    background-color: #002b5c;
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #d4af37;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin: 0.5rem 0;
}

.footer-links a {
    color: white;
}

.footer-links a:hover {
    color: #d4af37;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}


@media (max-width: 768px) {

    .hero h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }


    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .profile-image {
        margin: 0 auto;
        width: 120px;
        height: 120px;
    }
}

@media print {

    .navbar,
    .cta-buttons,
    .action-buttons,
    .form-actions,
    .footer {
        display: none;
    }

    .section {
        page-break-inside: avoid;
    }
}

.form-section form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 2rem;
    align-items: start;
}

.form-section form label,
.form-section form input,
.form-section form textarea,
.form-section form select {
    width: 100%;
}

.form-section form h2 {
    grid-column: 1 / -1;
}

.form-section .form-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.profile-section {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
}

.profile-section .profile-actions {
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.card,
.contact-info,
.form-section {
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

@media (max-width: 720px) {
    .form-section form {
        grid-template-columns: 1fr;
    }

    .profile-section {
        grid-template-columns: 1fr;
    }
}


:root {
    --brand: #316299;
    --accent: #d4af37;
    --bg: #ffffff;
    --muted: #6c757d;
    --success: #0b6b3a;
}

body {
    background: #f7f9fb;
    color: #1a1a1a;
    font-family: Inter, Segoe UI, Arial, Helvetica, sans-serif
}

.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 1rem
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0
}

.header-left h1 {
    margin: 0;
    font-size: 1.4rem
}

.header-left .lead {
    margin: 0;
    color: #e6eef9
}

.header-right .date,
.header-right .time {
    background: #fff;
    color: var(--brand);
    padding: .25rem .5rem;
    border-radius: 6px;
    margin-left: .4rem
}

.site-nav .nav-list a {
    padding: .5rem .75rem;
    border-radius: 6px
}

.site-nav .nav-list a[aria-current="page"] {
    background: var(--brand);
    color: #fff
}

.form-section {
    background: var(--bg);
    border-radius: 10px;
    padding: 1.25rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06)
}

form#regForm {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 1.5rem;
    align-items: start
}

form#regForm h2 {
    grid-column: 1 / -1;
    color: var(--brand);
    margin-bottom: .25rem
}

form#regForm label {
    font-weight: 600;
    font-size: .95rem;
    color: #333
}

form#regForm input,
form#regForm textarea,
form#regForm select {
    padding: .6rem .75rem;
    border: 1px solid #e3e7ee;
    border-radius: 8px;
    background: #fff
}

form#regForm input[type="color"] {
    padding: 0;
    height: 2.5rem;
    width: 3.25rem
}

form#regForm textarea {
    min-height: 96px
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem
}

.field-full {
    grid-column: 1 / -1
}

.form-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    gap: .5rem;
    margin-top: .5rem
}

.cancelbtn,
.signupbtn {
    padding: .6rem 1rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 700
}

.cancelbtn {
    background: #f0f0f0;
    color: #333
}

.signupbtn {
    background: var(--accent);
    color: #042a4a
}

.signupbtn:hover {
    filter: brightness(.98);
    transform: translateY(-1px)
}

input:focus,
textarea:focus,
select:focus {
    outline: 3px solid rgba(49, 98, 153, .12);
    box-shadow: 0 2px 8px rgba(49, 98, 153, .06)
}


.profile-section {
   
    display: block;
    margin: 1.5rem 0;
}


.profile-card {
    max-width: 920px;
    margin: 0 auto;
    background: var(--bg);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}

.profile-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .98rem
}

.profile-table thead th {
    background: var(--brand);
    color: #fff;
    padding: .8rem;
    text-align: left
}

.profile-table td,
.profile-table th {
    padding: .7rem;
    border-bottom: 1px solid #eef2f6
}

.profile-table caption {
    margin-bottom: .5rem;
    font-weight: 700;
    color: var(--brand)
}

.profile-section h2 {
    display: inline-block;
    
    font-size: 1.15rem;

    margin: 0 0 0.75rem 0;
  
    padding: 0.25rem 0.5rem;

    border-radius: 6px;
    background: rgba(49, 98, 153, 0.06);
    color: var(--brand);
    border-bottom: none;
    
}

.profile-card .profile-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem
}

.profile-card .profile-actions .cta-btn {
    background: var(--accent);
    color: #042a4a;
    padding: .5rem .75rem;
    border-radius: 8px;
    border: none
}

.profile-card .profile-actions .secondary-btn {
    background: #f0f0f0;
    color: #333;
    padding: .5rem .75rem;
    border-radius: 8px;
    border: none
}

@media (max-width:720px) {
    form#regForm {
        grid-template-columns: 1fr
    }

    .form-actions {
        justify-content: space-between
    }

    .profile-actions {
        flex-direction: row
    }
}

.color-swatch {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border-radius: 3px;
    border: 1px solid rgba(0, 0, 0, .08);
    vertical-align: middle;
    margin-right: .5rem
}

/* utility */
.text-muted {
    color: var(--muted);
    font-size: .9rem
}

.success-message {
    background: #e6fff0;
    border: 1px solid #b7f0c9;
    color: var(--success);
    padding: .75rem;
    border-radius: 6px;
    margin-top: .5rem
}

.input-error {
    color: #b91c1c;
    font-size: .9rem;
    margin-top: .25rem
}

.is-invalid {
    box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.06);
    border-color: #dc2626
}

.help-text {
    color: var(--muted);
    font-size: 0.85rem;
    margin-top: 0.25rem
}

.site-header {
    background-color: #316299;
    color: #fff;
    padding: 0.75rem 0
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between
}
#successMessage {
    display: none
}

/* Show success message when JS adds .visible */
.success-message.visible {
    display: block;
}

/* Button inside success message spacing */
.success-message .goto-btn {
    margin-left: 1rem;
}
