/* IACST Modern Responsive Theme */
:root {
    --iacst-navy: #0c2340;
    --iacst-navy-light: #1a3a5c;
    --iacst-gold: #c9a227;
    --iacst-gold-light: #e8c547;
    --iacst-text: #2d3748;
    --iacst-muted: #64748b;
    --iacst-bg: #f8fafc;
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--iacst-text);
    background: var(--iacst-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.iacst-navbar {
    background: linear-gradient(135deg, var(--iacst-navy) 0%, var(--iacst-navy-light) 100%);
    box-shadow: 0 2px 12px rgba(0,0,0,.15);
}

.navbar-collapse {
    overflow: visible;
}

.iacst-navbar .dropdown-menu {
    z-index: 1050;
}

.hero-login-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    max-width: 22rem;
}

.navbar-brand .brand-text {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #fff;
}

.nav-link {
    font-weight: 500;
    font-size: 0.9rem;
}

.nav-link:hover { color: var(--iacst-gold-light) !important; }

.login-form .form-control {
    min-width: 120px;
    max-width: 160px;
}

.hero-section {
    background: linear-gradient(135deg, var(--iacst-navy) 0%, #1e4976 60%, var(--iacst-navy-light) 100%);
    color: #fff;
    padding: 4rem 0 5rem;
}

.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    color: var(--iacst-gold-light);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.hero-title {
    font-family: 'Merriweather', serif;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-lead {
    font-size: 1.1rem;
    opacity: 0.92;
    max-width: 36rem;
    line-height: 1.6;
}

.hero-banner {
    max-height: 280px;
    object-fit: contain;
}

.content-area {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 8px rgba(0,0,0,.06);
    flex: 1;
}

.content-area h2 {
    font-family: 'Merriweather', serif;
    color: var(--iacst-navy);
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--iacst-gold);
}

.content-area p {
    line-height: 1.7;
    color: var(--iacst-text);
}

.content-area table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.content-area table th,
.content-area table td {
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
}

.content-area table th {
    background: var(--iacst-navy);
    color: #fff;
}

.content-area table tr:nth-child(even) {
    background: #f1f5f9;
}

.iacst-footer {
    background: #a4a4a4;
    color: #f1f1f1;
    padding: 0;
}

.iacst-footer .iacst-footer-legacy {
    background: #a4a4a4;
    color: #f1f1f1;
    clear: both;
}

.iacst-footer .footer-legacy-text {
    font-size: 0.8rem;
    line-height: 1.65;
    color: #f1f1f1;
}

.iacst-footer .footer-logo-link {
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.5rem;
}

.iacst-footer .footer-logo-link img {
    border: none;
    vertical-align: middle;
}

.iacst-footer .footer-fb-link img {
    vertical-align: middle;
    margin-left: 0.25rem;
}

.iacst-footer a {
    color: #fff;
    text-decoration: none;
}

.iacst-footer a:hover { color: var(--iacst-gold-light); }

.MajorTitle {
    color: var(--iacst-navy);
    font-weight: 700;
}

@media (max-width: 991px) {
    .login-form {
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
    }
    .login-form .form-control {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-section { padding: 2.5rem 0 3rem; }
    .content-area { border-radius: 0; margin: 0 -12px; }
}
