:root {
    --deep-green: #062B1A;
    --deep-green-dark: #041B10;
    --deep-green-light: #0A3B24;
    --accent-gold: #D4AF37;
    --accent-gold-glow: rgba(212, 175, 55, 0.4);
    --accent-teal: #2B7A6A;
    --crisp-white: #FFFFFF;
    --light-gray: #F7F8FA;
    --text-dark: #1A1A2E;
    --text-muted: #A0B0A8;
    --content-max-width: clamp(1200px, 78vw, 1600px);
    --narrow-max-width: clamp(760px, 44vw, 920px);
    --page-gutter: clamp(1.25rem, 3vw, 4.5rem);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 150px;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--deep-green-dark);
    color: var(--crisp-white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(212, 175, 55, 0.45);
    outline-offset: 4px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
}

.text-gold {
    color: var(--accent-gold);
    text-shadow: 0 0 15px var(--accent-gold-glow);
}

/* Layout Utilities */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-immediate {
    opacity: 1;
    transform: translateY(0);
}

/* Solid Header */
.solid-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--deep-green);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.header-top {
    padding: 0.5rem 0;
    background: rgba(4, 27, 16, 0.4);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    width: 100%;
}

.header-top-inner,
.header-main-inner {
    width: min(calc(100% - var(--page-gutter) - var(--page-gutter)), var(--content-max-width));
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.header-top-inner {
    justify-content: flex-end;
}

.portal-logins {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.85rem 1.35rem;
}

.btn-top-portal,
.btn-top-link {
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    padding-bottom: 0.15rem;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.btn-top-portal {
    color: var(--accent-gold);
}

.btn-top-link {
    color: rgba(255, 255, 255, 0.82);
}

.btn-top-portal::after,
.btn-top-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.1rem;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.btn-top-portal:hover,
.btn-top-link:hover,
.btn-top-link.active {
    color: var(--accent-gold);
    opacity: 1;
}

.btn-top-portal:hover::after,
.btn-top-link:hover::after,
.btn-top-link.active::after {
    transform: scaleX(1);
}

.header-main {
    padding: 1rem 0;
    width: 100%;
    transition: all 0.3s ease;
}

.glass-header.scrolled .header-main {
    padding: 0.6rem 0;
}

.header-main-inner {
    justify-content: space-between;
    gap: clamp(1.5rem, 2vw, 3rem);
}

.solid-header.scrolled {
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mcc-logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-gold);
    letter-spacing: 2px;
}

.mcc-logo.large {
    font-size: 3rem;
}

.logo-text {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--crisp-white);
}

.nav-chevron {
    font-size: 0.8em;
    margin-left: 5px;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(1.25rem, 1.4vw, 2.15rem);
    min-width: 0;
}

.main-nav a {
    color: var(--crisp-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px var(--accent-gold);
}

.main-nav a:hover {
    color: var(--accent-gold);
}

.main-nav a:hover::after {
    width: 100%;
}

/* ==========================================================================
   BUTTONS & LINKS
   ========================================================================== */

.btn-glow-gold {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px var(--accent-gold-glow);
}

.btn-glow-gold:hover {
    background: var(--accent-gold);
    color: var(--deep-green-dark);
    box-shadow: 0 0 25px var(--accent-gold);
    transform: translateY(-2px);
}

/* FIX #3: Ensure gold button ALWAYS has dark text — prevents invisible text bug */
.btn-solid-gold {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--accent-gold);
    border: none;
    color: #041B10 !important;
    border-radius: 30px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-solid-gold:hover {
    box-shadow: 0 0 20px var(--accent-gold-glow);
    transform: translateY(-2px);
}

.btn-outline-gold {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    border-radius: 30px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background: var(--accent-gold);
    color: var(--deep-green-dark);
    box-shadow: 0 0 20px var(--accent-gold-glow);
    transform: translateY(-2px);
}

.teal-link {
    color: var(--accent-teal);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.teal-link:hover {
    color: var(--deep-green);
}

.teal-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-teal);
    transition: width 0.3s;
}

.teal-link:hover::after {
    width: 100%;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--deep-green-dark) 0%, var(--deep-green) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 5% 2rem;
    text-align: center;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    animation: float 10s infinite alternate ease-in-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(212, 175, 55, 0.15);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: rgba(10, 59, 36, 0.8);
    bottom: -200px;
    right: -200px;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 50px) scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.badge-container {
    margin-bottom: 2rem;
}

.golden-badge {
    padding: 0.5rem 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.cursor {
    display: inline-block;
    color: var(--accent-gold);
    animation: blink 0.7s infinite;
    font-weight: 300;
    margin-left: 2px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.typewriter {
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-inline: auto;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0.5rem;
}

.search-container {
    display: flex;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.search-container:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 20px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.4);
}

.search-icon {
    color: var(--text-muted);
    padding: 0 1.5rem;
    font-size: 1.2rem;
}

.hero-search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--crisp-white);
    font-size: 1.1rem;
    font-family: inherit;
    outline: none;
}

.hero-search-input::placeholder {
    color: var(--text-muted);
}

/* Accreditation Banner */
.accreditation-banner {
    background: rgba(0,0,0,0.3);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 1.5rem 0;
}

.banner-content {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
}

.trust-badge i {
    color: var(--accent-gold);
    font-size: 1.3rem;
}

/* Featured Programs */
.featured-programs {
    padding: 8rem 5%;
    background: var(--crisp-white);
    color: var(--deep-green-dark);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

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

.program-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    z-index: 1;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.1), transparent 50%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.program-card:hover .card-glow {
    opacity: 1;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: var(--deep-green-dark);
    color: var(--accent-gold);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px rgba(6, 43, 26, 0.2);
}

.program-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.program-card p {
    color: #555;
    margin-bottom: 2rem;
}

.card-link {
    color: var(--deep-green-light);
    text-decoration: none;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.card-link i {
    transition: transform 0.3s ease;
}

.card-link:hover {
    color: var(--accent-gold);
}

.card-link:hover i {
    transform: translateX(5px);
}

/* Campus Portals */
.campus-portals {
    padding: 5rem 5%;
    background: var(--deep-green-dark);
}

.portals-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.portal-card {
    height: 350px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    background-size: cover;
    background-position: center;
}

.student-portal {
    background: linear-gradient(135deg, rgba(6,43,26,0.9), rgba(6,43,26,0.9)), url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&q=80');
}

.staff-portal {
    background: linear-gradient(135deg, rgba(6,43,26,0.9), rgba(6,43,26,0.9)), url('https://images.unsplash.com/photo-1577415124269-fc1140a69e91?auto=format&fit=crop&q=80');
}

.portal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--deep-green-dark), transparent);
    z-index: 1;
}

.portal-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.portal-icon {
    font-size: 3.5rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px var(--accent-gold-glow);
}

.portal-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.portal-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Footer */
.site-footer {
    background: var(--deep-green);
    padding: 5rem 5% 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--crisp-white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-gold);
    color: var(--deep-green-dark);
}

.footer-links h4, .footer-contact h4 {
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--crisp-white);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.footer-contact i {
    color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Modern Card System */
.modern-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.modern-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    position: relative;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gold);
    border-radius: 12px 12px 0 0;
    transition: height 0.3s ease;
}

.modern-card.accent-teal::before { background: var(--accent-teal); }
.modern-card.accent-green::before { background: var(--deep-green); }

.modern-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.modern-card:hover::before {
    height: 6px;
}

.modern-card-icon {
    width: 48px;
    height: 48px;
    background: #E8F5E9;
    color: #0A3B24;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.modern-card h3 {
    font-size: 1.5rem;
    color: var(--deep-green);
    margin-bottom: 1rem;
}

.modern-card p {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.modern-card .card-bullets {
    list-style: none;
    margin-bottom: 2rem;
}

.modern-card .card-bullets li {
    position: relative;
    padding-left: 20px;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
}

.modern-card .card-bullets li::before {
    content: '•';
    color: var(--accent-gold);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-toggle {
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: var(--deep-green-dark);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    border: 1px solid var(--glass-border);
    border-top: none;
    z-index: 1001;
    flex-direction: column;
}

.nav-dropdown:hover .dropdown-content {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.dropdown-content a {
    padding: 1rem 1.5rem;
    color: var(--crisp-white) !important;
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold) !important;
    padding-left: 2rem;
}

.dropdown-content a::after {
    display: none !important;
}

/* Nested submenu (Programs > Micro Certificate Programs) */
.nav-submenu-item {
    position: relative;
    display: flex;
    flex-direction: column;
}

.nav-submenu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.submenu-chevron {
    font-size: 0.7rem;
    opacity: 0.7;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-submenu-item:hover .submenu-chevron {
    opacity: 1;
    transform: translateX(2px);
}

.nav-submenu {
    display: none;
    position: absolute;
    top: -1px;
    left: 100%;
    min-width: 280px;
    background: var(--deep-green-dark);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    border: 1px solid var(--glass-border);
    flex-direction: column;
    z-index: 1100;
}

.nav-submenu-item:hover > .nav-submenu {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.nav-submenu a {
    padding: 1rem 1.5rem;
    color: var(--crisp-white) !important;
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}

.nav-submenu a:last-child {
    border-bottom: none;
}

.nav-submenu a:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold) !important;
    padding-left: 2rem;
}

.nav-submenu a::after {
    display: none !important;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Admissions Layout Styles */
.admissions-page {
    background: var(--light-gray);
    color: var(--text-dark);
    min-height: 100vh;
}

.hero-strip {
    background: linear-gradient(135deg, var(--deep-green-dark) 0%, var(--deep-green) 100%);
    position: relative;
    padding: 180px 5% 60px;
    text-align: center;
    color: var(--crisp-white);
    border-bottom: 4px solid var(--accent-gold);
}

.hero-strip::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.hero-strip h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.hero-strip p {
    font-size: 1.2rem;
    color: var(--text-muted);
    position: relative;
    z-index: 2;
}

.content-section {
    padding: 5rem 5%;
}

.bg-white { background: var(--crisp-white); }
.bg-light-gray { background: var(--light-gray); }

.section-title {
    color: var(--deep-green);
    margin-bottom: 2rem;
    font-size: 2rem;
    display: inline-block;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-gold);
}

.section-title.center {
    display: block;
    text-align: center;
}
.section-title.center::after {
    left: 50%;
    transform: translateX(-50%);
}

.procedure-steps {
    display: flex;
    max-width: 1200px;
    margin: 3rem auto;
    position: relative;
}

.proc-step {
    flex: 1;
    padding: 2.5rem 2rem;
    color: white;
    display: flex;
    flex-direction: column;
    min-height: 350px;
    font-size: 0.95rem;
    position: relative;
}

.proc-step:first-child { border-radius: 12px 0 0 12px; }
.proc-step:last-child { border-radius: 0 12px 12px 0; }

.step-number {
    width: 40px;
    height: 40px;
    background: var(--accent-gold);
    color: var(--deep-green-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    margin: 0 auto 1.5rem;
}

.proc-step h3 {
    text-transform: uppercase;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: 1px;
    font-weight: 800;
}

.step-1 { background: #85C7B3; color: #041B10; }
.step-1 h3 { color: #041B10; }
.step-2 { background: #4DB3A0; color: #fff; }
.step-3 { background: #2B7A6A; color: #fff; }
.step-4 { background: #0A3B24; color: #fff; }

.proc-step ul {
    margin-left: 20px;
    margin-bottom: 15px;
}
.proc-step li { margin-bottom: 8px; }

.req-table-container {
    max-width: 1200px;
    margin: 2rem auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    background: var(--crisp-white);
}

.req-table {
    width: 100%;
    border-collapse: collapse;
}

.req-table td {
    padding: 2rem;
    vertical-align: top;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.req-table tr:last-child td { border-bottom: none; }

.row-blue { background: rgba(104, 187, 212, 0.1); border-left: 4px solid #68BBD4; }
.row-green { background: rgba(94, 193, 152, 0.1); border-left: 4px solid #5EC198; }
.row-pink { background: rgba(250, 121, 120, 0.1); border-left: 4px solid #FA7978; }
.row-yellow { background: rgba(235, 182, 56, 0.1); border-left: 4px solid #EBB638; }
.row-darkgreen { background: rgba(10, 59, 36, 0.1); border-left: 4px solid #0A3B24; }
.row-navy { background: rgba(59, 91, 136, 0.1); border-left: 4px solid #3B5B88; }

.req-table h3 {
    color: var(--deep-green);
    margin-bottom: 0.5rem;
}

.req-table ul { margin-left: 20px; margin-top: 10px; }
.req-table li { margin-bottom: 8px; color: #444; }

/* Apply Form Updates */
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.form-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--deep-green);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid #c9d2cd;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-dark);
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 0 rgba(8, 22, 18, 0.02);
}

.form-group textarea {
    resize: vertical;
    min-height: 90px;
    line-height: 1.4;
}

.form-group input[type="file"] {
    padding: 0.55rem 0.65rem;
    font-size: 0.92rem;
    background: #f7faf8;
    border-style: dashed;
    cursor: pointer;
}

.form-group input[type="file"]::file-selector-button {
    margin-right: 0.75rem;
    padding: 0.5rem 0.9rem;
    border: none;
    border-radius: 8px;
    background: var(--accent-gold);
    color: #041b10;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
}

.form-group input[type="date"] {
    line-height: 1.2;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #8b9692;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #98a8a0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}

.cta-band {
    background: var(--light-gray);
    padding: 6rem 5%;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.cta-band h2 {
    color: var(--deep-green);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.cta-band p {
    color: #555;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--accent-gold);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1001;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .modern-card-grid { gap: 1.5rem; }
}

@media (max-width: 900px) {
    .mobile-menu-btn { display: block; }

    .header-top {
        padding: 0.65rem 0;
    }

    .header-top-inner {
        justify-content: center;
    }

    .portal-logins {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem 1rem;
    }

    .header-main {
        padding: 1rem 0;
    }

    .header-main-inner {
        gap: 1rem;
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--deep-green);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 2rem;
        transform: translateY(-100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
        padding: 7.5rem 5% 2.5rem;
        overflow-y: auto;
    }

    .main-nav.active {
        transform: translateY(0);
    }

    .main-nav a { font-size: 1.5rem; }
    
    .nav-dropdown-toggle { font-size: 1.5rem; }

    .nav-dropdown {
        text-align: center;
    }
    
    .dropdown-content {
        position: relative;
        top: 0;
        min-width: 100%;
        box-shadow: none;
        border: none;
        padding-top: 1rem;
        display: none;
        width: min(100%, 26rem);
        margin: 0 auto;
    }

    .dropdown-content.show {
        display: flex;
    }

    .dropdown-content a {
        font-size: 1.1rem;
        text-align: center;
        padding: 0.8rem;
    }

    .nav-submenu {
        position: relative;
        top: 0;
        left: 0;
        min-width: 100%;
        box-shadow: none;
        border: none;
        padding: 0.25rem 0 0.75rem;
        display: none;
    }

    .dropdown-content.show .nav-submenu {
        display: flex;
    }

    .nav-submenu-toggle {
        justify-content: center;
    }

    .submenu-chevron {
        transform: rotate(90deg);
    }

    .nav-submenu a {
        font-size: 1rem;
        text-align: center;
        padding: 0.65rem;
        color: rgba(255,255,255,0.85) !important;
        border-bottom: none;
    }

    .hero-title { font-size: 2.8rem; }
    .hero-strip { padding: 140px 5% 40px; }
    .hero-strip h1 { font-size: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .social-links { justify-content: center; }
    .footer-contact p { justify-content: center; }
}

@media (max-width: 768px) {
    .procedure-steps {
        flex-direction: column;
        border-radius: 12px;
        box-shadow: none;
        padding-left: 20px;
        margin-left: 20px;
        border-left: 3px solid var(--accent-gold);
    }

    .proc-step {
        min-height: auto;
        border-radius: 12px !important;
        margin-bottom: 2rem;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        padding: 2rem;
    }
    
    .proc-step::before {
        content: '';
        position: absolute;
        left: -43px;
        top: 30px;
        width: 20px;
        height: 3px;
        background: var(--accent-gold);
    }

    .step-number {
        position: absolute;
        left: -58px;
        top: 10px;
        margin: 0;
    }

    .form-grid-2, .form-grid-3 {
        grid-template-columns: 1fr;
    }
    
    .banner-content { gap: 1.5rem; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
    .hero-title { font-size: 2.2rem; }
    .hero-search-input { font-size: 1rem; }
    
    .req-table, .req-table tbody, .req-table tr, .req-table td {
        display: block;
        width: 100%;
    }
    
    .req-table td {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        border-radius: 8px;
        border-bottom: none;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }
}

/* ==========================================================================
   NEW FEATURES CSS (Wizard, Contact, Newsletter)
   ========================================================================== */

/* --- FORM WIZARD --- */
.wizard-container {
    max-width: 800px;
    margin: -60px auto 4rem;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    position: relative;
    z-index: 10;
}
.progress-bar-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
}
.progress-line {
    position: absolute;
    top: 20px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: #e0e0e0;
    z-index: 1;
}
.progress-line-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--accent-gold);
    width: 0%;
    transition: width 0.4s ease;
}
.step-indicator {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 80px;
}
.step-circle {
    width: 40px;
    height: 40px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: white;
    border: 2px solid #e0e0e0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    transition: all 0.3s;
}
.step-label {
    font-size: 0.75rem;
    color: #999;
    font-weight: 600;
}
.step-indicator.active .step-circle {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: white;
}
.step-indicator.active .step-label {
    color: var(--deep-green);
}
.step-indicator.completed .step-circle {
    background: var(--accent-teal);
    border-color: var(--accent-teal);
    color: white;
}
.step-indicator.completed .step-label {
    color: var(--accent-teal);
}
.form-step {
    display: none;
    animation: fadeInStep 0.4s ease;
}
.form-step.active {
    display: block;
}
@keyframes fadeInStep {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.wizard-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #f0f0f0;
}

.input-error {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.15) !important;
}
.error-msg {
    color: #e74c3c;
    font-size: 0.78rem;
    margin-top: 6px;
    display: none;
}
.input-error + .error-msg,
.form-group.has-error .error-msg {
    display: block;
}

.radio-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.radio-card-label {
    cursor: pointer;
    display: block;
}
.radio-card-label input[type="radio"] {
    display: none;
}
.radio-card {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.radio-card:hover {
    border-color: #ddd;
    transform: translateY(-2px);
}
.radio-card-icon {
    font-size: 1.5rem;
    color: var(--accent-teal);
}
.radio-card-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--deep-green);
    margin-bottom: 0.2rem;
}
.radio-card-desc {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}
.radio-card-label input[type="radio"]:checked + .radio-card {
    border-color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.05);
}
.radio-card-label input[type="radio"]:checked + .radio-card .radio-card-icon {
    color: var(--accent-gold);
}

.summary-block {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}
.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.5rem;
}
.summary-header h4 { margin: 0; color: var(--accent-teal); }
.summary-edit { color: var(--accent-gold); font-size: 0.85rem; text-decoration: none; font-weight: 600; cursor: pointer; }
.summary-edit:hover { text-decoration: underline; }
.summary-row {
    display: flex;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}
.summary-label { width: 140px; color: #666; font-weight: 600; }
.summary-val { color: #222; font-weight: 400; flex: 1; word-wrap: break-word;}

.success-state {
    text-align: center;
    padding: 3rem 1rem;
}
.success-icon {
    font-size: 4rem;
    color: var(--accent-teal);
    margin-bottom: 1.5rem;
}

/* --- CONTACT PAGE --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    align-items: start;
}
.contact-form-container {
    background: white;
    height: 100%;
}
.map-container {
    width: 100%;
    height: 480px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
.contact-grid > div:last-child {
    display: grid;
    gap: 1.5rem;
    align-content: start;
}
.contact-success-state {
    text-align: center;
    padding: 3rem 0;
}
.contact-success-state i {
    font-size: 3rem;
    color: var(--accent-teal);
    margin-bottom: 1rem;
}
.contact-success-state h3 {
    color: var(--deep-green);
    margin-bottom: 1rem;
}
.contact-success-state p {
    color: #666;
}
.contact-location-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.contact-location-card p {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.contact-location-card .btn-outline-gold {
    margin-top: 0.5rem;
    align-self: flex-start;
}
.contact-inline-icon {
    color: var(--accent-teal);
    margin-top: 0.2rem;
    flex-shrink: 0;
}
.contact-info-block {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}
.contact-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
    color: #555;
    font-size: 1.05rem;
}
.contact-info-item i {
    color: var(--accent-gold);
    font-size: 1.2rem;
    width: 20px;
}

/* FAQ Accordion */
.faq-section {
    background: var(--light-gray);
    padding: 5rem 5%;
}
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    overflow: hidden;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}
.faq-item.active {
    border-left-color: var(--accent-gold);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}
.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--deep-green);
    font-size: 1.05rem;
}
.faq-icon {
    font-size: 1.2rem;
    color: var(--accent-gold);
    transition: transform 0.3s ease;
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.faq-answer-inner {
    padding: 0 1.5rem 1.5rem;
    color: #555;
    line-height: 1.6;
}

/* --- NEWSLETTER PAGE --- */
.newsletter-hero {
    text-align: center;
    padding: 6rem 1rem;
    background: var(--deep-green-dark);
    color: white;
}
.newsletter-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.subscribe-bar {
    max-width: 500px;
    margin: 2rem auto 0;
    display: flex;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    padding: 10px;
    border-radius: 50px;
}
.subscribe-bar input {
    flex: 1;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 30px;
    font-size: 1rem;
}
.subscribe-bar button {
    border-radius: 30px;
    padding: 0 2rem;
}

.subscribe-feedback {
    margin-top: 1rem;
    color: var(--accent-teal);
    font-weight: 700;
}

.newsletter-archive-shell {
    padding-top: 3rem;
}

.newsletter-archive-shell .section-surface {
    display: grid;
    gap: 2rem;
}

.newsletter-archive-shell .section-intro {
    max-width: 760px;
    margin: 0;
}

.year-filter-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 2rem;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    position: relative;
    z-index: 5;
    flex-wrap: wrap;
}
.year-btn {
    padding: 0.6rem 2rem;
    border: 2px solid #eee;
    background: transparent;
    border-radius: 30px;
    min-height: 44px;
    font-weight: 600;
    color: #777;
    cursor: pointer;
    transition: all 0.3s;
}
.year-btn:hover {
    border-color: var(--accent-gold);
    color: var(--deep-green);
}
.year-btn.active {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--deep-green-dark);
    box-shadow: 0 14px 30px rgba(212, 175, 55, 0.18);
}

.newsletter-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 5%;
    align-items: stretch;
}

.newsletter-archive-shell .year-filter-bar {
    justify-content: flex-start;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.newsletter-archive-shell .newsletter-grid {
    max-width: none;
    margin: 0;
    padding: 0;
}

.news-card[hidden] {
    display: none !important;
}
.news-card {
    background: white;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    box-shadow: 0 18px 45px rgba(6, 24, 16, 0.08);
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}
.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 56px rgba(6, 24, 16, 0.14);
}
.news-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
}
.card-color-1 { background: var(--deep-green); }
.card-color-2 { background: var(--accent-teal); }
.card-color-3 { background: var(--accent-gold); }
.card-color-4 { background: var(--deep-green-dark); }

.news-card-date {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--deep-green-dark);
    margin-bottom: 0.2rem;
}
.news-card-issue {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.news-card-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 1rem;
    line-height: 1.4;
}
.news-card-preview {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex: 1;
}
.news-card-link {
    color: var(--accent-teal);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
    cursor: pointer;
}
.news-card-link:hover { gap: 8px; }

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background: white;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 12px;
    position: relative;
    overflow-y: auto;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.modal-overlay.active .modal-content {
    transform: translateY(0);
}
.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    color: var(--accent-gold);
    cursor: pointer;
    line-height: 1;
    z-index: 10;
}
.modal-accent-top { height: 10px; width: 100%; }
.modal-body { padding: 3rem; }
.modal-date { font-size: 2rem; font-weight: 800; color: var(--deep-green-dark); margin-bottom: 0px; }
.modal-issue { font-size: 0.9rem; color: #888; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1.5rem; display:block; }
.modal-title { font-size: 1.5rem; color: var(--accent-teal); margin-bottom: 2rem; font-weight: 600; line-height: 1.3;}
.modal-text { font-size: 1.05rem; color: #444; line-height: 1.8; }
.modal-text p { margin-bottom: 1.2rem; }

body.portal-modal-open {
    overflow: hidden;
}

body.nav-open {
    overflow: hidden;
}

.portal-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 27, 16, 0.82);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.portal-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.portal-modal-shell {
    position: relative;
    width: min(980px, 100%);
    display: grid;
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    background: linear-gradient(135deg, #ffffff 0%, #f7f3e6 100%);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0,0,0,0.32);
    transform: translateY(20px) scale(0.98);
    transition: transform 0.25s ease;
}

.portal-modal-overlay.active .portal-modal-shell {
    transform: translateY(0) scale(1);
}

.portal-modal-intro {
    background: linear-gradient(180deg, var(--deep-green) 0%, var(--deep-green-dark) 100%);
    color: var(--crisp-white);
    padding: 3rem 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.portal-modal-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.45rem 0.9rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 999px;
    color: var(--accent-gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.portal-modal-intro h2 {
    font-size: 2.1rem;
    line-height: 1.1;
}

.portal-modal-intro p {
    color: rgba(255,255,255,0.78);
}

.portal-switcher {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.portal-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.1rem;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: var(--crisp-white);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.portal-tab:hover,
.portal-tab.active {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--deep-green-dark);
    box-shadow: 0 0 18px var(--accent-gold-glow);
}

.portal-modal-body {
    padding: 2.6rem;
    background: var(--crisp-white);
}

.portal-panel {
    display: none;
}

.portal-panel.active {
    display: block;
}

.portal-panel-label {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(43, 122, 106, 0.08);
    color: var(--accent-teal);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}

.portal-panel h3 {
    color: var(--deep-green-dark);
    font-size: 1.85rem;
    margin-bottom: 0.6rem;
}

.portal-panel > p {
    color: #596761;
    margin-bottom: 1.4rem;
}

.portal-login-form {
    display: grid;
    gap: 1rem;
}

.portal-login-form label {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    color: var(--text-dark);
    font-weight: 600;
}

.portal-login-form button {
    width: 100%;
    margin-top: 0.2rem;
}

.portal-panel-note {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #6f7a75;
}

.portal-feedback {
    display: none;
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    background: rgba(43, 122, 106, 0.08);
    border: 1px solid rgba(43, 122, 106, 0.18);
    color: var(--deep-green);
    font-weight: 600;
}

.portal-feedback.active {
    display: block;
}

.portal-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    color: var(--crisp-white);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s ease, transform 0.2s ease;
}

.portal-modal-close:hover {
    background: rgba(255,255,255,0.22);
    transform: scale(1.04);
}

@media (max-width: 900px) {
    .newsletter-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .wizard-container { padding: 2rem; margin-top: -30px; }
    .portal-modal-shell { grid-template-columns: 1fr; max-height: calc(100vh - 3rem); overflow-y: auto; }
    .portal-modal-intro, .portal-modal-body { padding: 2rem; }
}
@media (max-width: 600px) {
    .newsletter-grid { grid-template-columns: 1fr; }
    .subscribe-bar { flex-direction: column; border-radius: 12px; }
    .subscribe-bar button { padding: 1rem; border-radius: 8px; }
    .subscribe-bar input { border-radius: 8px; }
    .step-label { display: none; }
    .step-indicator.active .step-label { display: block; position:absolute; bottom:-25px; left:50%; transform:translateX(-50%); white-space:nowrap; }
    .progress-bar-container { margin-bottom: 4rem; } 
    .radio-card-grid { grid-template-columns: 1fr; }
    .modal-body { padding: 2rem 1.5rem; }
    .portal-modal-overlay { padding: 1rem; }
    .portal-modal-intro h2 { font-size: 1.7rem; }
    .portal-tab { flex: 1 1 100%; }
    .portal-modal-body { padding: 1.5rem; }
    .portal-panel h3 { font-size: 1.5rem; }
}

/* =============== ROUND 3: FORMS & NAV =============== */

.main-nav a, .nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    line-height: inherit;
    white-space: nowrap;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="date"],
select,
textarea {
    width: 100%;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    padding: 0.85rem 1rem;
    background-color: #FFFFFF;
    font-family: inherit;
    font-size: 0.95rem;
    color: #1A1A2E;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    box-sizing: border-box;
}

input::placeholder,
textarea::placeholder {
    color: #9CA3AF;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

input.error-state,
select.error-state,
textarea.error-state {
    border-color: #EF4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 2.5rem;
}

textarea {
    resize: vertical;
    min-height: 140px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.4rem;
}

.form-card-container,
.wizard-container,
.contact-form-container {
    background: #FFFFFF;
    border-radius: 16px !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08) !important;
    padding: 2.5rem !important;
}

.form-section {
    border-bottom: 1px solid #E5E7EB;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}
.form-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .form-card-container,
    .wizard-container,
    .contact-form-container {
        padding: 1.5rem !important;
    }
}

/* ==========================================================================
   HOMEPAGE REDESIGN — Hero Grid, Announcement, News, Quick Links, CTA
   ========================================================================== */

/* Hero Grid */
.hero-content-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    text-align: left;
}
.douglas-hero .hero-text-col {
    text-align: left;
}
.douglas-hero .hero-title {
    font-size: 4rem;
    line-height: 1.1;
    text-align: left;
    margin-bottom: 1.5rem;
}
.douglas-hero .hero-subtitle {
    text-align: left;
    max-width: 500px;
    margin-inline: 0;
}
.douglas-hero .badge-container {
    text-align: left;
}
.douglas-hero .btn-hero-main {
    text-align: center;
}
.douglas-hero .hero-stats-row {
    justify-content: flex-start;
}
.douglas-hero .accreditation-pills {
    justify-content: flex-start;
}
.hero-stats-row {
    display: flex;
    gap: 0;
    margin-top: 2.5rem;
}
.hero-stats-row .stat-item {
    font-size: 0.9rem;
    color: #e0e0e0;
    padding-right: 3rem;
    margin-right: 3rem;
    border-right: 1px solid rgba(255,255,255,0.15);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.hero-stats-row .stat-item.border-none {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
}
.hero-stats-row .stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-gold) !important;
    margin-bottom: 0.25rem;
}
.hero-stats-row .stat-label {
    font-size: 0.85rem !important;
    font-weight: 400 !important;
    color: var(--text-muted) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* FIX #2: Accreditation Pills */
.accreditation-pills {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.pill-badge {
    padding: 0.35rem 1rem;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
    background: rgba(212, 175, 55, 0.08);
}

/* ==========================================================================
   FIX #1: HERO CARD CAROUSEL (replaces old geo-art)
   ========================================================================== */

.hero-art-col {
    position: relative;
    height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 85%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-card {
    position: absolute;
    width: 260px;
    height: 400px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
    cursor: default;
    backface-visibility: hidden;
}

.carousel-card .card-icon-large {
    font-size: 3.5rem;
    color: var(--accent-gold);
    filter: drop-shadow(0 0 16px var(--accent-gold-glow));
}

.carousel-card .card-title {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    padding: 0 1rem;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* Card gradient backgrounds */
.carousel-card:nth-child(1) { background: linear-gradient(145deg, #0A3B24 0%, #2B7A6A 100%); }
.carousel-card:nth-child(2) { background: linear-gradient(145deg, #2B7A6A 0%, #B08D2A 100%); }
.carousel-card:nth-child(3) { background: linear-gradient(145deg, #D4AF37 0%, #0A3B24 100%); }
.carousel-card:nth-child(4) { background: linear-gradient(145deg, #062B1A 0%, #4DB3A0 100%); }
.carousel-card:nth-child(5) { background: linear-gradient(145deg, #4DB3A0 0%, #B08D2A 100%); }

/* Stacked card positions — fanned out with rotation & depth */
.card-pos-1 {
    transform: translateX(-140px) rotate(-6deg) scale(0.82);
    z-index: 1;
    opacity: 0.45;
}
.card-pos-2 {
    transform: translateX(-70px) rotate(-3deg) scale(0.91);
    z-index: 2;
    opacity: 0.7;
}
.card-pos-3 {
    transform: translateX(0) rotate(0deg) scale(1);
    z-index: 5;
    opacity: 1;
}
.card-pos-4 {
    transform: translateX(70px) rotate(3deg) scale(0.91);
    z-index: 2;
    opacity: 0.7;
}
.card-pos-5 {
    transform: translateX(140px) rotate(6deg) scale(0.82);
    z-index: 1;
    opacity: 0.45;
}

/* Hover: fan out wider */
.hero-carousel:hover .card-pos-1 {
    transform: translateX(-200px) rotate(-10deg) scale(0.82);
}
.hero-carousel:hover .card-pos-2 {
    transform: translateX(-100px) rotate(-5deg) scale(0.91);
}
.hero-carousel:hover .card-pos-3 {
    transform: translateX(0) rotate(0deg) scale(1.03);
}
.hero-carousel:hover .card-pos-4 {
    transform: translateX(100px) rotate(5deg) scale(0.91);
}
.hero-carousel:hover .card-pos-5 {
    transform: translateX(200px) rotate(10deg) scale(0.82);
}

/* Hide old geo-art elements if any remain */
.geo-art, .geo-box, .floating-icon { display: none !important; }

/* Announcement Banner */
.announcement-banner {
    background: linear-gradient(90deg, #1b4b42 0%, var(--accent-teal) 100%);
    padding: 1.8rem 2.5rem !important;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    max-width: 1400px;
    margin: -3rem auto 4rem auto !important;
    position: relative;
    z-index: 20;
    color: white;
}
.announcement-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}
.ann-info {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.ann-icon {
    font-size: 3rem;
    color: var(--accent-gold);
}
.ann-icon i {
    font-size: 2rem !important;
}
.ann-text h2 {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.5rem;
    color: white;
}
.ann-text p {
    font-size: 0.95rem !important;
    margin: 0;
    color: #e0e0e0;
}
.ann-cta .btn-solid-gold {
    padding: 0.75rem 2rem !important;
}

/* ==========================================================================
   FIX #5: NEWS HIGHLIGHT CARDS — Larger Icons
   ========================================================================== */

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}
.news-dual-card {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.news-dual-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.news-top-accent {
    height: 5px;
    width: 100%;
}
.news-card-inner {
    padding: 2rem !important;
    display: flex;
    flex-direction: column;
    min-height: 240px;
    height: 100%;
}
.news-icon-container {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.bg-teal-tint { background: rgba(43, 122, 106, 0.15); }
.bg-gold-tint { background: rgba(212, 175, 55, 0.15); }
.news-icon {
    font-size: 2rem !important;
    margin-bottom: 0 !important;
}
.text-teal { color: var(--accent-teal); }
.text-gold { color: var(--accent-gold); text-shadow: 0 0 15px var(--accent-gold-glow); }
.news-card-inner h3 {
    font-size: 1.35rem !important;
    font-weight: 700 !important;
}
.news-dual-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--deep-green-dark);
}
.news-dual-card p {
    color: #555;
    line-height: 1.6;
}
.news-card-link {
    margin-top: auto !important;
    font-weight: 600 !important;
}

/* ==========================================================================
   FIX #6: PROGRAM CARD ICONS
   ========================================================================== */

.program-dual-card {
    padding: 1.75rem !important;
    display: flex;
    flex-direction: column;
    min-height: 260px;
}
.prog-icon-container {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(10, 59, 36, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.bg-green-tint { background: rgba(10, 59, 36, 0.08); }
.text-dark-green {
    font-size: 1.5rem !important;
    color: #0A3B24 !important;
}
.program-dual-card h3 {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
}
.program-dual-card p {
    font-size: 0.9rem !important;
    color: #555 !important;
    line-height: 1.6;
}
.prog-card-link {
    margin-top: auto !important;
    font-weight: 600 !important;
    color: #2B7A6A !important;
}

/* ==========================================================================
   FIX #7: QUICK LINKS TILES — Bigger Icons, Better Spacing
   ========================================================================== */

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}
.quick-link-tile {
    background: #FFFFFF;
    padding: 2rem !important;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    min-height: 200px;
}
.quick-link-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.quick-link-icon-container {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.quick-link-icon-container .tile-icon {
    font-size: 1.4rem !important;
    margin-bottom: 0 !important;
    color: var(--accent-gold);
}
.quick-link-tile h3 {
    font-size: 1.1rem !important;
    color: var(--deep-green-dark);
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
}
.quick-link-tile p {
    font-size: 0.9rem !important;
    color: #666;
    margin-bottom: 1.5rem !important;
    flex-grow: 1;
}
.tile-link {
    color: var(--accent-teal);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
    display: inline-block;
    margin-top: auto !important;
    font-size: 0.95rem !important;
}
.tile-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-teal);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}
.quick-link-tile:hover .tile-link::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* ==========================================================================
   FIX #8: CAMPUS PORTALS — Section Heading Already Present, Sizing Fixes
   ========================================================================== */

.portal-card {
    min-height: 280px !important;
}
.portal-icon {
    font-size: 4rem !important;
}
.portal-content h2 {
    font-size: 1.5rem !important;
}

/* ==========================================================================
   FIX #4: BOTTOM CTA BAND — Inner Container, Better Sizing
   ========================================================================== */

.bottom-cta-band {
    background-color: var(--deep-green-dark);
    color: white;
    padding: 3.5rem 5% !important;
}

.cta-band-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1200px;
    margin: 0 auto;
    gap: 2.5rem;
}

.cta-col {
    padding: 0;
    text-align: left;
}
.cta-col.border-left {
    border-left: 1px solid rgba(255,255,255,0.1);
    padding-left: 2.5rem;
}
.cta-col h4 {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.75rem;
    color: white;
    white-space: nowrap;
}
.cta-col p {
    color: #A0B0A8 !important;
    margin-bottom: 1.5rem;
    font-size: 0.88rem !important;
    line-height: 1.5;
}
.cta-col a {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem !important;
}
.cta-col a:hover {
    text-decoration: underline;
}
.cta-apply-col {
    background-color: #0d281f;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem !important;
    border-radius: 12px;
    border-left: none !important;
}
.cta-apply-col h4,
.ready-to-apply-heading {
    font-size: 1.3rem !important;
}
.cta-apply-col .btn-solid-gold {
    padding: 0.9rem 2.5rem !important;
    font-size: 1rem !important;
}

/* ==========================================================================
   FIX #9 & #10: GLOBAL SECTION SPACING & TEXT BASELINE
   ========================================================================== */

.content-section, .campus-portals {
    padding: 5rem 5% !important;
}

/* Paragraphs on light backgrounds */
.bg-white p,
.bg-light-gray p,
.content-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
}

/* Ensure card descriptions never go below 0.9rem */
.modern-card p,
.news-dual-card p,
.quick-link-tile p,
.program-dual-card p {
    font-size: max(0.9rem, inherit);
}

/* Ensure links never go below 0.9rem */
.teal-link, .prog-card-link, .news-card-link, .tile-link, .cta-col a {
    font-size: 0.95rem !important;
}

/* Prevent dark-theme text colors leaking to light sections */
.bg-white, .bg-light-gray {
    color: var(--text-dark);
}
.bg-white h2, .bg-white h3,
.bg-light-gray h2, .bg-light-gray h3 {
    color: var(--deep-green-dark);
}

/* Hero button sizing */
.btn-hero-main {
    padding: 1rem 2.5rem !important;
    font-size: 1.05rem !important;
}

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS — Homepage
   ========================================================================== */

@media (max-width: 1200px) {
    .quick-links-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-band-inner { grid-template-columns: repeat(2, 1fr); }
    .cta-col.border-left { border-left: none; border-top: 1px solid rgba(255,255,255,0.1); padding-left: 0; padding-top: 2rem; }
    .cta-col:nth-child(2) { border-top: none; border-left: 1px solid rgba(255,255,255,0.1); padding-left: 2.5rem; }
    .cta-col:nth-child(4) { border-left: 1px solid rgba(255,255,255,0.1); padding-left: 2.5rem; }
}

@media (max-width: 900px) {
    .hero-content-grid, .announcement-inner, .news-grid { grid-template-columns: 1fr; }
    .douglas-hero .hero-text-col { text-align: center; }
    .douglas-hero .hero-title, .douglas-hero .hero-subtitle { text-align: center; margin-left: auto; margin-right: auto; }
    .douglas-hero .hero-subtitle { margin-inline: auto; }
    .douglas-hero .badge-container { text-align: center; }
    .douglas-hero .hero-stats-row { justify-content: center; }
    .douglas-hero .accreditation-pills { justify-content: center; }
    .hero-stats-row { justify-content: center; flex-wrap: wrap; gap: 1.5rem !important; }
    .hero-stats-row .stat-item {
        margin-right: 0;
        padding-right: 0;
        border-right: none;
        width: calc(50% - 1.5rem);
        align-items: center;
    }
    .accreditation-pills { justify-content: center; }
    /* Hide carousel on mobile */
    .hero-art-col { display: none; }
    .ann-info { display: flex; flex-direction: column; text-align: center; }
    .ann-cta { text-align: center; }
    .cta-band-inner { gap: 2rem !important; }
}

@media (max-width: 600px) {
    .quick-links-grid { grid-template-columns: 1fr; }
    .cta-band-inner { grid-template-columns: 1fr; }
    .cta-col.border-left { border-left: none !important; border-top: 1px solid rgba(255,255,255,0.1); padding-left: 0 !important; padding-top: 2rem; }
    .douglas-hero .hero-title { font-size: 2.5rem; }
    .content-section, .campus-portals { padding: 4rem 5% !important; }
}

/* ==========================================================================
   PHASE 1 + 2: EDITORIAL REFRESH SYSTEM
   ========================================================================== */

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 15px;
}

.main-nav a.active,
.nav-dropdown-toggle.active {
    color: var(--accent-gold);
}

.main-nav a.active::after,
.nav-dropdown-toggle.active::after {
    width: 100%;
}

.dropdown-content a.nav-current {
    color: var(--accent-gold) !important;
    background: rgba(212, 175, 55, 0.12);
    padding-left: 2rem;
}

.page-main {
    background: var(--light-gray);
    color: var(--text-dark);
}

.section-shell {
    padding: 5rem 5%;
}

.section-shell-light {
    background: #ffffff;
}

.section-shell-compact-bottom {
    padding-bottom: 2rem;
}

.section-surface {
    max-width: 1200px;
    margin: 0 auto;
}

.section-intro {
    max-width: 760px;
    margin: 0 auto 3rem;
    text-align: center;
}

.section-intro.left {
    margin-left: 0;
    text-align: left;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(6, 43, 26, 0.08);
    color: var(--deep-green);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-kicker-inverse {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-gold);
}

.section-copy {
    color: #3b5248;
    font-size: 1.08rem;
    line-height: 1.8;
}

.section-title-tight {
    margin-bottom: 1rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.gold-inline-link {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 700;
}

.gold-inline-link:hover {
    color: #f2d06c;
}

.required-mark {
    color: var(--accent-gold);
}

.icon-inline-left {
    margin-right: 5px;
}

.icon-inline-right {
    margin-left: 5px;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-group-compact {
    max-width: 300px;
}

.checkbox-card {
    padding: 1rem;
    border-top: 2px solid #eee;
    margin-top: 2rem;
}

.wizard-success-title {
    color: var(--deep-green);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.wizard-success-copy {
    color: #666;
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 3rem;
}

.hero-action-row.center {
    justify-content: center;
}

.subtle-link {
    color: var(--deep-green);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.subtle-link:hover {
    color: var(--accent-teal);
}

.bubble-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.05rem;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.18);
    border: 1px solid rgba(212, 175, 55, 0.5);
    color: var(--deep-green-dark);
    font-weight: 800;
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.bubble-link:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: #041b10;
    transform: translateY(-2px);
}

.bubble-link i,
.panel-link i {
    transition: transform 0.25s ease;
}

.bubble-link:hover i,
.panel-link:hover i {
    transform: translateX(4px);
}

.editorial-home-hero {
    position: relative;
    overflow: hidden;
    padding: 170px 5% 90px;
    background:
        radial-gradient(circle at top left, rgba(212, 175, 55, 0.18), transparent 30%),
        radial-gradient(circle at bottom right, rgba(43, 122, 106, 0.26), transparent 28%),
        linear-gradient(135deg, #041b10 0%, #062b1a 52%, #0b3324 100%);
}

.editorial-home-hero::before,
.editorial-home-hero::after {
    content: '';
    position: absolute;
    width: 240px;
    height: 240px;
    background-image: radial-gradient(rgba(212, 175, 55, 0.35) 1px, transparent 1px);
    background-size: 10px 10px;
    opacity: 0.24;
    pointer-events: none;
}

.editorial-home-hero::before {
    top: 60px;
    right: -40px;
    transform: rotate(12deg);
}

.editorial-home-hero::after {
    bottom: -20px;
    left: -40px;
    transform: rotate(-8deg);
}

.editorial-hero-grid,
.page-hero-grid {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
}

.hero-eyebrow,
.page-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--accent-gold);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.home-hero-title,
.page-hero-title {
    font-size: clamp(3rem, 5.6vw, 5.4rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    margin-bottom: 1.25rem;
    color: #ffffff;
}

.page-hero-title {
    font-size: clamp(2.5rem, 4.4vw, 4.2rem);
}

.home-hero-subtitle,
.page-hero-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.18rem;
    line-height: 1.8;
    max-width: 640px;
}

.hero-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-proof-inline,
.page-stat-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.8rem;
}

.hero-proof-inline span,
.page-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--crisp-white);
    font-weight: 600;
}

.hero-note-card,
.hero-floating-card,
.page-highlight-card,
.editorial-panel,
.spotlight-card,
.pathway-card,
.support-card,
.journey-card,
.news-story-card,
.conversion-card,
.route-card,
.detail-card,
.req-card,
.tuition-card,
.sidebar-panel,
.info-panel,
.story-panel {
    box-shadow: 0 18px 50px rgba(8, 22, 18, 0.08);
}

.hero-visual-frame {
    position: relative;
    min-height: 560px;
}

.hero-visual-frame,
.page-hero-media,
.spotlight-media,
.feature-media,
.story-media,
.visual-card {
    background:
        linear-gradient(135deg, rgba(8, 29, 21, 0.12), rgba(8, 29, 21, 0.24)),
        #dce6df;
}

.hero-visual-frame img,
.page-hero-media img,
.feature-media img,
.story-media img,
.visual-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-visual-frame > img {
    min-height: 560px;
    aspect-ratio: 5 / 6;
    border-radius: 32px;
}

.hero-note-card {
    margin-top: 2rem;
    max-width: 520px;
    padding: 1.4rem 1.5rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-note-card strong {
    color: var(--accent-gold);
    display: block;
    margin-bottom: 0.55rem;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-note-card p {
    color: rgba(255, 255, 255, 0.82);
}

.hero-floating-card {
    position: absolute;
    max-width: 255px;
    padding: 1.2rem 1.25rem;
    border-radius: 22px;
}

.hero-floating-card strong {
    display: block;
    line-height: 1.2;
    margin-bottom: 0.35rem;
}

.hero-floating-card.primary {
    top: 18px;
    left: -18px;
    background: var(--accent-gold);
    color: #041b10;
}

.hero-floating-card.secondary {
    right: -18px;
    bottom: 28px;
    background: #ffffff;
    color: var(--text-dark);
}

.proof-strip {
    position: relative;
    z-index: 2;
    margin-top: -44px;
    padding: 0 5%;
}

.proof-strip-grid {
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 26px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    box-shadow: 0 22px 60px rgba(5, 22, 14, 0.12);
}

.proof-item {
    padding: 1.6rem 1.5rem;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
}

.proof-item:last-child {
    border-right: none;
}

.proof-label {
    color: var(--deep-green);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    opacity: 0.82;
}

.proof-value {
    color: var(--deep-green) !important;
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.45rem;
}

.proof-item p {
    color: #355046;
    font-size: 0.98rem;
}

.spotlight-card,
.feature-split {
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
}

.spotlight-media,
.feature-media,
.story-media,
.visual-card {
    position: relative;
    overflow: hidden;
}

.spotlight-media {
    min-height: 520px;
}

.feature-media,
.story-media {
    min-height: 100%;
}

.spotlight-media img,
.feature-media img,
.story-media img,
.visual-card img {
    min-height: 100%;
}

.spotlight-content,
.feature-copy,
.story-copy {
    padding: 2.8rem;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 1.25rem 0 1.5rem;
}

.tag-row span,
.meta-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(43, 122, 106, 0.09);
    color: var(--accent-teal);
    font-size: 0.85rem;
    font-weight: 700;
}

.pathway-grid,
.support-grid,
.journey-grid,
.route-grid,
.detail-grid,
.requirements-grid,
.resource-grid,
.program-cluster,
.story-grid,
.conversion-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

.pathway-grid,
.detail-grid,
.requirements-grid,
.resource-grid,
.story-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
}

.support-grid {
    grid-template-columns: 1.1fr 0.95fr 0.95fr;
}

.journey-grid,
.route-grid,
.conversion-grid {
    grid-template-columns: repeat(4, 1fr);
}

.pathway-card,
.support-card,
.journey-card,
.conversion-card,
.route-card,
.detail-card,
.req-card,
.tuition-card,
.story-panel,
.info-panel {
    background: #ffffff;
    border-radius: 22px;
    padding: 2rem;
    position: relative;
}

.pathway-card,
.conversion-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.pathway-card::before,
.support-card::before,
.journey-card::before,
.conversion-card::before,
.route-card::before,
.detail-card::before,
.req-card::before,
.tuition-card::before,
.story-panel::before,
.info-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    border-radius: 22px 22px 0 0;
    background: var(--accent-gold);
}

.pathway-card.accent-teal::before,
.support-card.accent-teal::before,
.detail-card.accent-teal::before,
.req-card.accent-teal::before,
.story-panel.accent-teal::before {
    background: var(--accent-teal);
}

.pathway-card.accent-deep::before,
.support-card.accent-deep::before,
.journey-card.accent-deep::before,
.route-card.accent-deep::before,
.detail-card.accent-deep::before,
.req-card.accent-deep::before {
    background: var(--deep-green);
}

.pathway-card h3,
.support-card h3,
.journey-card h3,
.conversion-card h3,
.route-card h3,
.detail-card h3,
.req-card h3,
.tuition-card h3,
.story-panel h3,
.info-panel h3 {
    color: var(--deep-green-dark);
    font-size: 1.45rem;
    margin-bottom: 0.85rem;
}

.pathway-card h3 {
    min-height: 3.4em;
}

.pathway-card p,
.support-card p,
.journey-card p,
.conversion-card p,
.route-card p,
.detail-card p,
.req-card p,
.tuition-card p,
.story-panel p,
.info-panel p {
    color: #43584f;
}

.pathway-card p {
    min-height: 4.7em;
}

.card-list,
.checklist {
    list-style: none;
    margin: 1.35rem 0 1.5rem;
}

.card-list li,
.checklist li {
    position: relative;
    padding-left: 1.55rem;
    margin-bottom: 0.7rem;
    color: #44514c;
}

.card-list li::before,
.checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-gold);
}

.pathway-card .card-list {
    flex: 1 1 auto;
}

.pathway-card .subtle-link,
.conversion-card .bubble-link {
    margin-top: auto;
}

.support-card.featured,
.story-panel.featured {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    padding: 0;
    overflow: hidden;
}

.support-card.featured .feature-copy,
.story-panel.featured .story-copy {
    padding: 2rem;
}

.journey-step,
.route-index {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--deep-green-dark);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-bottom: 1rem;
}

.journey-step {
    background: var(--accent-gold);
    color: #041b10;
}

.page-hero {
    padding: 160px 5% 72px;
    background:
        radial-gradient(circle at top right, rgba(212, 175, 55, 0.16), transparent 28%),
        linear-gradient(135deg, #041b10 0%, #0a3b24 100%);
    color: #ffffff;
}

.page-hero-media {
    min-height: 420px;
    aspect-ratio: 6 / 5;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
}

.page-hero-media img {
    min-height: 420px;
}

.page-highlight-card {
    margin-top: 2rem;
    max-width: 520px;
    padding: 1.35rem 1.4rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.page-highlight-card strong {
    color: var(--accent-gold);
    display: block;
    margin-bottom: 0.5rem;
}

.interactive-panel-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 1.2rem;
    min-height: 520px;
}

.interactive-panel {
    position: relative;
    flex: 1 1 0;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    border-radius: 28px;
    overflow: hidden;
    isolation: isolate;
    background: #082017;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 65px rgba(5, 22, 14, 0.18);
    transition: flex 0.45s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.interactive-panel::before,
.interactive-panel::after {
    content: '';
    position: absolute;
    inset: 0;
}

.interactive-panel::before {
    background-image: var(--panel-image);
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
    filter: grayscale(0.08) saturate(0.84) brightness(0.92);
    transition: transform 0.45s ease, filter 0.45s ease;
}

.interactive-panel::after {
    background: linear-gradient(180deg, rgba(2, 10, 7, 0.12) 0%, rgba(2, 10, 7, 0.55) 54%, rgba(2, 10, 7, 0.9) 100%);
    transition: background 0.35s ease;
}

.interactive-panel.accent-gold {
    box-shadow: inset 0 5px 0 var(--accent-gold), 0 24px 65px rgba(5, 22, 14, 0.18);
}

.interactive-panel.accent-teal {
    box-shadow: inset 0 5px 0 var(--accent-teal), 0 24px 65px rgba(5, 22, 14, 0.18);
}

.interactive-panel.accent-deep {
    box-shadow: inset 0 5px 0 var(--deep-green), 0 24px 65px rgba(5, 22, 14, 0.18);
}

.interactive-panel-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    width: min(100%, 430px);
}

.panel-kicker {
    background: rgba(255, 255, 255, 0.12);
    color: var(--accent-gold);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.interactive-panel h3 {
    color: #ffffff;
    font-size: clamp(1.55rem, 2.2vw, 2.25rem);
    line-height: 1.08;
    margin: 0;
}

.interactive-panel p {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.75;
}

.interactive-panel .tag-row {
    margin: 0.15rem 0 0.35rem;
}

.interactive-panel .tag-row span {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.panel-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    width: fit-content;
    padding: 0.82rem 1.08rem;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.96);
    color: #041b10;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.panel-link:hover {
    background: #ffffff;
    color: var(--deep-green-dark);
    transform: translateY(-2px);
}

@media (hover: hover) and (min-width: 901px) {
    .interactive-panel-grid:hover .interactive-panel {
        flex: 0.92 1 0;
    }

    .interactive-panel-grid:hover .interactive-panel:hover {
        flex: 1.55 1 0;
        transform: translateY(-6px);
        box-shadow: 0 30px 85px rgba(5, 22, 14, 0.22);
    }

    .interactive-panel-grid:hover .interactive-panel.accent-gold:hover {
        box-shadow: inset 0 5px 0 var(--accent-gold), 0 30px 85px rgba(5, 22, 14, 0.22);
    }

    .interactive-panel-grid:hover .interactive-panel.accent-teal:hover {
        box-shadow: inset 0 5px 0 var(--accent-teal), 0 30px 85px rgba(5, 22, 14, 0.22);
    }

    .interactive-panel-grid:hover .interactive-panel.accent-deep:hover {
        box-shadow: inset 0 5px 0 var(--deep-green), 0 30px 85px rgba(5, 22, 14, 0.22);
    }

    .interactive-panel-grid:hover .interactive-panel:not(:hover)::before {
        filter: grayscale(0.16) saturate(0.7) brightness(0.76);
    }

    .interactive-panel:hover::before {
        transform: scale(1.06);
        filter: grayscale(0) saturate(1.02) brightness(1);
    }

    .interactive-panel:hover::after {
        background: linear-gradient(180deg, rgba(2, 10, 7, 0.2) 0%, rgba(2, 10, 7, 0.62) 52%, rgba(2, 10, 7, 0.94) 100%);
    }
}

.two-column-panel {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.application-layout {
    max-width: 1200px;
    margin: -55px auto 0;
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
    padding: 0 5%;
    position: relative;
    z-index: 2;
}

.application-sidebar {
    position: sticky;
    top: 138px;
    background: linear-gradient(180deg, #041b10 0%, #0a3b24 100%);
    color: #ffffff;
    padding: 2rem;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(2, 14, 8, 0.24);
}

.application-sidebar h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.application-sidebar p {
    color: rgba(255, 255, 255, 0.78);
}

.sidebar-stack {
    display: grid;
    gap: 1rem;
    margin-top: 1.75rem;
}

.sidebar-panel {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-panel strong {
    display: block;
    color: var(--accent-gold);
    margin-bottom: 0.35rem;
}

.application-main-shell {
    background: #ffffff;
    border-radius: 24px;
    padding: 2.25rem;
    box-shadow: 0 24px 64px rgba(6, 24, 16, 0.12);
}

.application-main-shell .wizard-container {
    margin-top: 0;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.application-main-shell .progress-bar-container {
    margin-bottom: 3rem;
}

.application-main-shell .summary-block {
    background: var(--light-gray);
    border: 1px solid rgba(6, 43, 26, 0.08);
    border-radius: 18px;
}

.form-section-title {
    font-size: 1.2rem;
    color: var(--accent-teal);
    margin-bottom: 2rem;
    font-weight: 800;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 2rem 0;
}

.checkbox-group input {
    margin-top: 3px;
}

.checkbox-group label {
    font-size: 0.95rem;
    color: #555;
}

.application-main-shell .wizard-buttons {
    margin-top: 2rem;
}

.application-support-rail {
    grid-column: 1 / -1;
    margin: 2rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.support-rail-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.5rem 1.6rem;
    box-shadow: 0 14px 32px rgba(7, 23, 16, 0.08);
    border: 1px solid rgba(6, 43, 26, 0.06);
}

.support-rail-card strong {
    display: block;
    color: var(--deep-green-dark);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.support-rail-card p {
    color: #59655f;
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0;
}

.site-footer {
    background: #05160f;
    padding: 4.5rem 5% 2rem;
}

.footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
    gap: 2rem;
    max-width: 1200px;
}

.footer-brand p,
.footer-links a,
.footer-contact p,
.footer-bottom {
    color: #b4c0ba;
}

.footer-brand .mcc-logo {
    font-size: 2.8rem;
}

.footer-links h4,
.footer-contact h4 {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.92rem;
}

.footer-links a {
    line-height: 1.8;
}

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

.footer-contact p {
    align-items: flex-start;
}

.footer-contact strong {
    color: #ffffff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

@media (max-width: 1200px) {
    .proof-strip-grid,
    .journey-grid,
    .route-grid,
    .conversion-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pathway-grid,
    .detail-grid,
    .requirements-grid,
    .resource-grid,
    .story-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .support-grid {
        grid-template-columns: 1fr 1fr;
    }

    .support-card.featured,
    .story-panel.featured {
        grid-column: 1 / -1;
    }

    .interactive-panel-grid {
        min-height: 460px;
    }

    .interactive-panel {
        min-height: 460px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .editorial-hero-grid,
    .page-hero-grid,
    .spotlight-card,
    .feature-split,
    .two-column-panel,
    .support-card.featured,
    .story-panel.featured {
        grid-template-columns: 1fr;
    }

    .support-grid,
    .application-layout,
    .application-support-rail {
        grid-template-columns: 1fr;
    }

    .interactive-panel-grid {
        display: grid;
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .interactive-panel {
        min-height: 380px;
    }

    .application-layout {
        margin-top: -35px;
    }

    .application-sidebar {
        position: static;
    }

    .proof-strip {
        margin-top: -30px;
    }

    .proof-item:nth-child(2) {
        border-right: none;
    }

    .hero-floating-card.primary,
    .hero-floating-card.secondary {
        position: static;
        margin-top: 1rem;
        max-width: none;
    }

    .hero-visual-frame {
        min-height: auto;
    }

    .hero-visual-frame > img {
        min-height: 420px;
    }

    .pathway-card h3,
    .pathway-card p {
        min-height: 0;
    }
}

@media (max-width: 700px) {
    .proof-strip-grid,
    .pathway-grid,
    .detail-grid,
    .requirements-grid,
    .resource-grid,
    .story-grid,
    .journey-grid,
    .route-grid,
    .conversion-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .proof-item {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .proof-item:last-child {
        border-bottom: none;
    }

    .editorial-home-hero,
    .page-hero {
        padding-top: 150px;
    }

    .home-hero-title {
        font-size: 2.8rem;
    }

    .spotlight-content,
    .feature-copy,
    .story-copy,
    .application-main-shell {
        padding: 1.5rem;
    }

    .hero-action-row,
    .cta-buttons {
        flex-direction: column;
    }

    .hero-action-row a,
    .cta-buttons a,
    .hero-action-row button,
    .bubble-link,
    .panel-link {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .page-hero-media,
    .spotlight-media,
    .feature-media,
    .story-media,
    .visual-card {
        min-height: 280px;
        aspect-ratio: 4 / 3;
    }

    .hero-visual-frame > img {
        min-height: 360px;
    }

    .interactive-panel {
        min-height: 320px;
        padding: 1.25rem;
    }

    .interactive-panel h3 {
        font-size: 1.7rem;
    }

    .year-filter-bar {
        justify-content: center;
    }
}

.header-top-inner,
.header-main-inner,
.section-surface,
.editorial-hero-grid,
.page-hero-grid,
.proof-strip-grid,
.pathway-grid,
.support-grid,
.journey-grid,
.route-grid,
.detail-grid,
.requirements-grid,
.resource-grid,
.program-cluster,
.story-grid,
.conversion-grid,
.interactive-panel-grid,
.two-column-panel,
.application-layout,
.application-support-rail,
.spotlight-card,
.feature-split,
.support-card.featured,
.story-panel.featured,
.footer-grid,
.footer-bottom {
    max-width: var(--content-max-width);
}

.section-intro {
    max-width: var(--narrow-max-width);
}

@media (min-width: 1800px) {
    .hero-visual-frame,
    .interactive-panel-grid,
    .interactive-panel {
        min-height: 560px;
    }

    .hero-visual-frame > img {
        min-height: 620px;
    }

    .page-hero-media,
    .page-hero-media img {
        min-height: 460px;
    }

    .home-hero-subtitle,
    .page-hero-subtitle {
        max-width: 720px;
    }
}

/* ============ ESL Program ============ */
.section-lede {
    margin-top: 1.1rem;
    color: #43584f;
    font-size: 1.02rem;
    line-height: 1.65;
}

.esl-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin: 0 auto 2.75rem;
    max-width: 1000px;
}

.esl-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.05rem;
    border-radius: 999px;
    background: rgba(43, 122, 106, 0.1);
    color: var(--accent-teal);
    font-size: 0.92rem;
    font-weight: 600;
}

.esl-meta-pill i {
    font-size: 0.9rem;
}

.esl-levels-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.esl-level-card {
    position: relative;
    background: #ffffff;
    border-radius: 22px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(6, 43, 26, 0.08);
    box-shadow: 0 18px 42px -32px rgba(6, 43, 26, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.esl-level-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 52px -30px rgba(6, 43, 26, 0.4);
}

.esl-level-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    border-radius: 22px 22px 0 0;
    background: var(--accent-gold);
}

.esl-level-card.accent-teal::before { background: var(--accent-teal); }
.esl-level-card.accent-deep::before { background: var(--deep-green); }

.esl-level-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.85rem;
}

.esl-level-num {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 2.2rem;
    color: var(--deep-green-dark);
    letter-spacing: -0.02em;
    line-height: 1;
}

.esl-level-cefr {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(6, 43, 26, 0.08);
    color: var(--deep-green);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.esl-level-card h3 {
    color: var(--deep-green-dark);
    font-size: 1.35rem;
    margin-bottom: 0.35rem;
}

.esl-level-tag {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent-teal);
    margin-bottom: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.esl-level-card > p:not(.esl-level-tag) {
    color: #43584f;
    margin-bottom: 0.3rem;
}

.esl-level-card .checklist {
    margin: 1rem 0 1.25rem;
    flex-grow: 1;
}

.esl-level-card .checklist li {
    font-size: 0.95rem;
    margin-bottom: 0.55rem;
}

.esl-level-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.9rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(6, 43, 26, 0.14);
    font-size: 0.82rem;
    color: #5a6d66;
    font-weight: 600;
}

.esl-level-foot span {
    position: relative;
}

.esl-level-foot span:not(:last-child)::after {
    content: '·';
    margin-left: 0.9rem;
    color: rgba(6, 43, 26, 0.3);
}

.esl-assessment {
    max-width: 1200px;
    margin: 3.5rem auto 0;
    padding: 2.5rem;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(6, 43, 26, 0.96), rgba(10, 59, 36, 0.92));
    color: #f3f7f4;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 2rem 3rem;
    align-items: center;
}

.esl-assessment h3 {
    color: #ffffff;
    font-size: 1.55rem;
    margin: 0.75rem 0 0.85rem;
}

.esl-assessment p {
    color: rgba(243, 247, 244, 0.82);
    line-height: 1.6;
}

.esl-assessment .section-kicker {
    background: rgba(212, 175, 55, 0.18);
    color: var(--accent-gold);
}

.esl-assess-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.esl-assess-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.esl-assess-weight {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: var(--accent-gold);
    color: var(--deep-green-dark);
    font-weight: 800;
    font-size: 0.88rem;
}

.esl-grade-bands {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 0.5rem;
}

.esl-grade-bands span {
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.88rem;
    color: rgba(243, 247, 244, 0.92);
}

.esl-grade-bands strong {
    color: var(--accent-gold);
    margin-right: 0.35rem;
}

.esl-cta {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding: 2.25rem 2.5rem;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(6, 43, 26, 0.1);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.esl-cta h3 {
    color: var(--deep-green-dark);
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
}

.esl-cta p {
    color: #43584f;
    margin: 0;
}

.esl-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@media (max-width: 960px) {
    .esl-levels-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .esl-assessment {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
}

@media (max-width: 620px) {
    .esl-levels-grid {
        grid-template-columns: 1fr;
    }
    .esl-cta {
        padding: 1.75rem;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .esl-assessment {
        padding: 1.75rem;
    }
}

/* ============ ESL Specialty Tracks (per-level) ============ */
.esl-spec-row {
    max-width: 1200px;
    margin: 0 auto 3.25rem;
}

.esl-spec-row:last-of-type {
    margin-bottom: 2rem;
}

.esl-spec-row-head {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 1.5rem 2.5rem;
    align-items: end;
    padding: 1.25rem 0 1.5rem;
    border-bottom: 1px solid rgba(6, 43, 26, 0.1);
    margin-bottom: 1.75rem;
}

.esl-spec-row-head .esl-level-cefr {
    margin-bottom: 0.65rem;
}

.esl-spec-row-head h3 {
    color: var(--deep-green-dark);
    font-size: 1.6rem;
    margin: 0;
    line-height: 1.25;
}

.esl-spec-row-head p {
    color: #43584f;
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.55;
}

.esl-spec-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.esl-spec-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(6, 43, 26, 0.1);
    border-radius: 18px;
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.esl-spec-card:hover {
    transform: translateY(-4px);
    border-color: rgba(6, 43, 26, 0.18);
    box-shadow: 0 20px 42px -30px rgba(6, 43, 26, 0.42);
}

.esl-spec-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    font-size: 1.15rem;
    margin-bottom: 0.95rem;
}

.esl-spec-icon.gold {
    background: rgba(212, 175, 55, 0.15);
    color: var(--accent-gold);
}

.esl-spec-icon.teal {
    background: rgba(43, 122, 106, 0.14);
    color: var(--accent-teal);
}

.esl-spec-icon.deep {
    background: rgba(6, 43, 26, 0.1);
    color: var(--deep-green);
}

.esl-spec-card h4 {
    color: var(--deep-green-dark);
    font-size: 1.1rem;
    margin: 0 0 0.55rem;
    line-height: 1.3;
}

.esl-spec-card > p {
    color: #43584f;
    font-size: 0.93rem;
    line-height: 1.55;
    margin: 0 0 0.95rem;
}

.esl-spec-bullets {
    list-style: none;
    padding: 0;
    margin: auto 0 0;
    border-top: 1px dashed rgba(6, 43, 26, 0.12);
    padding-top: 0.9rem;
}

.esl-spec-bullets li {
    position: relative;
    padding-left: 1.1rem;
    font-size: 0.86rem;
    color: #51655c;
    line-height: 1.45;
    margin-bottom: 0.45rem;
}

.esl-spec-bullets li:last-child {
    margin-bottom: 0;
}

.esl-spec-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-gold);
}

@media (max-width: 1100px) {
    .esl-spec-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 860px) {
    .esl-spec-row-head {
        grid-template-columns: 1fr;
        align-items: start;
    }
}

@media (max-width: 560px) {
    .esl-spec-grid {
        grid-template-columns: 1fr;
    }
    .esl-spec-card {
        padding: 1.5rem 1.35rem;
    }
}

/* French uses 4 levels (A1-B2) so its level grid is 4-column on desktop */
.french-levels-grid {
    grid-template-columns: repeat(4, 1fr);
}

.french-tef .esl-grade-bands {
    grid-template-columns: unset;
}

@media (max-width: 1100px) {
    .french-levels-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .french-levels-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Program testimonials ---------- */
.testimonial-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 2.5rem;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
.testimonial-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.75rem;
    width: max-content;
    padding: 0.5rem 0 1.5rem;
    animation: testimonial-scroll 70s linear infinite;
    will-change: transform;
}
.testimonial-marquee:hover .testimonial-grid,
.testimonial-marquee:focus-within .testimonial-grid {
    animation-play-state: paused;
}
@keyframes testimonial-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .testimonial-grid {
        animation: none;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
    }
    .testimonial-marquee {
        -webkit-mask-image: none;
                mask-image: none;
    }
}
.testimonial-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.75rem 1.75rem 1.5rem;
    box-shadow: 0 18px 50px rgba(8, 22, 18, 0.08);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--accent-gold);
    flex: 0 0 340px;
    width: 340px;
}
@media (max-width: 480px) {
    .testimonial-card {
        flex: 0 0 280px;
        width: 280px;
    }
}
.testimonial-card.accent-teal { border-top-color: #2a9d8f; }
.testimonial-card.accent-deep { border-top-color: #1a6e5c; }
.testimonial-card .quote-mark {
    position: absolute;
    top: 0.6rem;
    right: 1rem;
    font-size: 3rem;
    color: rgba(8, 22, 18, 0.06);
    font-family: Georgia, serif;
    line-height: 1;
    font-weight: 800;
}
.testimonial-quote {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}
.testimonial-person {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    border-top: 1px solid #e8eeeb;
    padding-top: 1rem;
}
.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--accent-gold);
}
.testimonial-name {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.2;
}
.testimonial-meta {
    font-size: 0.78rem;
    color: var(--text-medium);
    margin-top: 0.15rem;
    font-weight: 600;
}
.testimonial-meta .flag {
    margin-right: 0.35rem;
}

/* ==========================================
   Language Flip Toggle (EN / FR)
   ========================================== */
.lang-flip-toggle {
    --flip-h: 30px;
    --flip-w: 74px;
    position: relative;
    display: inline-flex;
    align-items: center;
    width: var(--flip-w);
    height: var(--flip-h);
    padding: 0;
    border: 1px solid rgba(212, 175, 55, 0.55);
    border-radius: 999px;
    background: rgba(6, 43, 26, 0.55);
    backdrop-filter: blur(6px);
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    font-family: 'Outfit', sans-serif;
    flex-shrink: 0;
}

.lang-flip-toggle:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}

.lang-flip-toggle .lang-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: calc(50% - 2px);
    height: calc(var(--flip-h) - 6px);
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #b8932b 100%);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.45);
    transition: transform 0.45s cubic-bezier(0.68, -0.3, 0.32, 1.3);
}

.lang-flip-toggle[data-lang="fr"] .lang-thumb {
    transform: translateX(100%);
}

.lang-flip-toggle .lang-label {
    position: relative;
    z-index: 1;
    flex: 1;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.3s ease;
    line-height: 1;
    pointer-events: none;
    text-transform: uppercase;
}

.lang-flip-toggle[data-lang="en"] .lang-label[data-lang-code="en"],
.lang-flip-toggle[data-lang="fr"] .lang-label[data-lang-code="fr"] {
    color: var(--deep-green-dark);
}

.lang-flip-toggle.is-flipping .lang-thumb {
    animation: langFlipPulse 0.45s ease;
}

@keyframes langFlipPulse {
    0% { box-shadow: 0 2px 8px rgba(212, 175, 55, 0.45); }
    50% { box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.3), 0 2px 8px rgba(212, 175, 55, 0.6); }
    100% { box-shadow: 0 2px 8px rgba(212, 175, 55, 0.45); }
}

/* Hide the Google Translate bar/branding + prevent body offset */
.goog-te-banner-frame.skiptranslate,
.goog-te-gadget,
#goog-gt-tt,
.goog-te-balloon-frame {
    display: none !important;
}
body { top: 0 !important; }
.goog-tooltip,
.goog-tooltip:hover { display: none !important; }
.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
}
#google_translate_element { display: none; }
font[style*="background-color"] { background: transparent !important; }

@media (max-width: 768px) {
    .lang-flip-toggle { --flip-w: 66px; --flip-h: 28px; }
    .lang-flip-toggle .lang-label { font-size: 0.68rem; }
}
