/* -----------------------------------------------------------
   GLOBAL RESET
----------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* -----------------------------------------------------------
   TYPOGRAPHY — Elegant, Academic, Professional
----------------------------------------------------------- */
body {
    font-family: "Inter", "Segoe UI", system-ui, sans-serif;
    color: #1a1a1a;
    background: #f7f8fa;
    line-height: 1.7;
}

h1, h2, h3, h4 {
    font-family: "Inter", "Segoe UI", system-ui, sans-serif;
    font-weight: 800;
    letter-spacing: -0.5px;
}

p {
    font-size: 17px;
    color: #333;
}

/* -----------------------------------------------------------
   HEADER
----------------------------------------------------------- */
.cmi-header {
    background: #0A1A2F;
    color: white;
    padding: 12px 20px;
    border-bottom: 3px solid #1E3A8A;
}

.header-inner {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-area img {
    height: 42px;
}

.logo-area span {
    font-size: 20px;
    font-weight: 800;
}

/* Desktop Menu */
.desktop-menu {
    display: flex;
    gap: 18px;
}

.desktop-menu a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.desktop-menu a:hover {
    opacity: 0.7;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: white;
    color: #0A1A2F;
    min-width: 180px;
    top: 28px;
    right: 0;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.dropdown-content a {
    display: block;
    padding: 10px 15px;
    color: #0A1A2F;
    text-decoration: none;
    font-size: 14px;
}

.dropdown-content a:hover {
    background: #f0f2f5;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Mobile Menu Button */
.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 26px;
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: #0A1A2F;
}

.mobile-menu a {
    padding: 14px 20px;
    color: white;
    text-decoration: none;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* -----------------------------------------------------------
   ELEGANT HERO SECTION (UPDATED)
----------------------------------------------------------- */
.elegant-hero {
    background: linear-gradient(135deg, #0A1A2F, #1E3A8A);
    padding: 80px 20px; /* reduced height */
    text-align: center;
    color: white;
}

.hero-inner {
    max-width: 900px;
    margin: auto;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 18px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 22px;
    font-weight: 400;
    color: #D4AF37; /* GOLD */
    margin-bottom: 40px;
}

/* Buttons */
.btn-primary {
    background: #D4AF37;
    color: #0A1A2F;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    margin-right: 12px;
    transition: background 0.2s ease;
}

.btn-primary:hover {
    background: #c19c2f;
}

.btn-secondary {
    background: white;
    color: #0A1A2F;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    border: 2px solid white;
    transition: opacity 0.2s ease;
}

.btn-secondary:hover {
    opacity: 0.85;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 34px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .elegant-hero {
        padding: 60px 20px;
    }
}

/* -----------------------------------------------------------
   CHANCELLOR MESSAGE
----------------------------------------------------------- */
.chancellor-message {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

.chancellor-message h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.signature {
    margin-top: 20px;
    font-size: 20px;
    font-weight: 700;
    color: #1E3A8A;
}

/* -----------------------------------------------------------
   PROGRAMS SECTION
----------------------------------------------------------- */
.programs {
    background: #f0f2f5;
    padding: 60px 20px;
}

.programs h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

.program-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.program-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.program-card i {
    font-size: 42px;
    color: #1E3A8A;
    margin-bottom: 15px;
}

.program-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

/* -----------------------------------------------------------
   FOOTER
----------------------------------------------------------- */
.cmi-footer {
    background: #0A1A2F;
    color: white;
    padding: 50px 20px 25px;
    margin-top: 60px;
}

.footer-inner {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.footer-col h4 {
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 700;
}

.footer-col p,
.footer-col a {
    font-size: 15px;
    color: #E5E7EB;
    text-decoration: none;
    margin-bottom: 8px;
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    margin-top: 25px;
    font-size: 13px;
    color: #9CA3AF;
}

/* -----------------------------------------------------------
   BACK TO TOP BUTTON
----------------------------------------------------------- */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #1E3A8A;
    color: white;
    border: none;
    padding: 14px 18px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    display: none;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: opacity 0.3s ease;
}

.back-to-top.show {
    display: block;
}

/* -----------------------------------------------------------
   ELEGANT FORM BLOCKS
----------------------------------------------------------- */
.apply-section {
    padding: 60px 20px;
}

.apply-container {
    max-width: 850px;
    margin: auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.apply-container h2 {
    text-align: center;
    font-size: 30px;
    margin-bottom: 10px;
    color: #0A1A2F;
}

.apply-intro {
    text-align: center;
    margin-bottom: 30px;
    color: #555;
}

/* FORM BLOCKS */
.form-block {
    margin-bottom: 45px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e5e7eb;
}

.form-section-title {
    font-size: 22px;
    font-weight: 700;
    color: #1E3A8A;
    margin-bottom: 20px;
}

.apply-form label {
    display: block;
    margin-top: 18px;
    font-weight: 600;
    color: #0A1A2F;
}

.apply-form input,
.apply-form select,
.apply-form textarea {
    width: 100%;
    padding: 12px;
    margin-top: 6px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 16px;
    background: #f9fafb;
}

.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
    outline: none;
    border-color: #1E3A8A;
    background: white;
}

/* RADIO GROUPS */
.radio-group {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sub-label {
    margin-top: 20px;
    font-weight: 600;
    color: #0A1A2F;
}

/* SUBMIT BUTTON */
.apply-btn {
    margin-top: 20px;
    width: 100%;
    padding: 16px;
    font-size: 18px;
}

/* -----------------------------------------------------------
   ELEGANT FORM BLOCKS
----------------------------------------------------------- */
.apply-section {
    padding: 60px 20px;
}

.apply-container {
    max-width: 850px;
    margin: auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.apply-container h2 {
    text-align: center;
    font-size: 30px;
    margin-bottom: 10px;
    color: #0A1A2F;
}

.apply-intro {
    text-align: center;
    margin-bottom: 30px;
    color: #555;
}

/* FORM BLOCKS */
.form-block {
    margin-bottom: 45px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e5e7eb;
}

.form-section-title {
    font-size: 22px;
    font-weight: 700;
    color: #1E3A8A;
    margin-bottom: 20px;
}

.apply-form label {
    display: block;
    margin-top: 18px;
    font-weight: 600;
    color: #0A1A2F;
}

.apply-form input,
.apply-form select,
.apply-form textarea {
    width: 100%;
    padding: 12px;
    margin-top: 6px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 16px;
    background: #f9fafb;
}

.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
    outline: none;
    border-color: #1E3A8A;
    background: white;
}

/* RADIO GROUPS */
.radio-group {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sub-label {
    margin-top: 20px;
    font-weight: 600;
    color: #0A1A2F;
}

/* SUBMIT BUTTON */
.apply-btn {
    margin-top: 20px;
    width: 100%;
    padding: 16px;
    font-size: 18px;
}