/* =========================================
   ENHANCED NIGERIAN NAVY WEBSITE STYLES
   More natural, human-designed aesthetics
   ========================================= */

:root {
    /* Navy Blue Theme */
    --navy-deep: #0a1628;
    --navy-primary: #1e3a5f;
    --navy-light: #2c5282;
    --gold-accent: #d4af37;
    --gold-hover: #b8941f;
    
    /* Neutrals */
    --bg-main: #f7f9fc;
    --bg-card: #ffffff;
    --text-dark: #1a202c;
    --text-body: #2d3748;
    --text-muted: #718096;
    
    /* Shadows & Effects */
    --radius: 8px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
}

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

body { 
    font-family: 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background-color: var(--bg-main); 
    color: var(--text-body); 
    line-height: 1.7; 
    overflow-x: hidden;
}

/* =========================================
   SITE HEADER / NAVIGATION
   ========================================= */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 3000;
    background: #ffffff;
    border-bottom: 1px solid #dfe5eb;
}

.header-accent {
    height: 4px;
    background: var(--navy-deep);
    border-bottom: 1px solid var(--gold-accent);
}

.navbar {
    width: min(1440px, 100%);
    height: 88px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 64px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: #ffffff;
}

.logo-container {
    min-width: max-content;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.main-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    display: block;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
}

.logo-text {
    color: var(--navy-deep);
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: .055em;
    white-space: nowrap;
}

.brand-motto {
    color: #687585;
    font-size: .63rem;
    font-weight: 700;
    letter-spacing: .18em;
    line-height: 1;
}

.nav-panel {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    margin-left: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links > li { position: relative; }

.nav-links a,
.nav-dropdown-toggle {
    min-height: 42px;
    padding: 0 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 0;
    border-radius: 3px;
    background: transparent;
    color: #27384b;
    font: inherit;
    font-size: .91rem;
    font-weight: 650;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible,
.nav-dropdown.open > .nav-dropdown-toggle {
    color: var(--navy-deep);
    background: #f1f5f8;
    outline: none;
}

.nav-dropdown-toggle i {
    font-size: .66rem;
    transition: transform .18s ease;
}

.nav-dropdown.open > .nav-dropdown-toggle i { transform: rotate(180deg); }

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 285px;
    padding: 8px;
    margin: 0;
    list-style: none;
    background: #ffffff;
    border: 1px solid #dfe5eb;
    border-top: 3px solid var(--gold-accent);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li + li { border-top: 1px solid #edf1f4; }
.dropdown-menu a {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    justify-content: flex-start;
    border-radius: 2px;
    font-size: .88rem;
}

.header-contact {
    min-height: 42px;
    padding: 0 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 1px solid var(--navy-deep);
    border-radius: 3px;
    background: var(--navy-deep);
    color: #ffffff;
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .18s ease, border-color .18s ease;
}
.header-contact:hover,
.header-contact:focus-visible {
    background: var(--navy-primary);
    border-color: var(--navy-primary);
    outline: none;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 9px;
    border: 1px solid #d9e0e6;
    border-radius: 3px;
    background: #ffffff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle .bar {
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--navy-deep);
    transition: transform .2s ease, opacity .2s ease;
}

@media (max-width: 1180px) {
    .navbar { padding-inline: 24px; gap: 20px; }
    .nav-panel { gap: 12px; }
    .nav-links a, .nav-dropdown-toggle { padding-inline: 8px; font-size: .85rem; }
    .header-contact { padding-inline: 13px; }
}

@media (max-width: 980px) {
    .header-accent { height: 3px; }
    .navbar { height: 76px; padding-inline: 18px; }
    .main-logo { width: 49px; height: 49px; }
    .logo-text { font-size: .96rem; }
    .brand-motto { font-size: .57rem; }
    .menu-toggle { display: flex; margin-left: auto; }

    .nav-panel {
        position: fixed;
        top: 79px;
        right: 0;
        bottom: 0;
        width: min(88vw, 390px);
        padding: 18px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 14px;
        overflow-y: auto;
        background: #ffffff;
        border-left: 1px solid #dfe5eb;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform .25s ease, visibility .25s ease;
    }
    .nav-panel.active { transform: translateX(0); visibility: visible; }
    .nav-links { width: 100%; flex-direction: column; align-items: stretch; gap: 2px; }
    .nav-links > li { width: 100%; border-bottom: 1px solid #edf1f4; }
    .nav-links a, .nav-dropdown-toggle {
        width: 100%; min-height: 48px; padding: 0 8px;
        justify-content: space-between; border-radius: 2px; font-size: .95rem;
    }
    .dropdown-menu {
        position: static;
        width: 100%;
        max-height: 0;
        padding: 0 0 0 12px;
        border: 0;
        border-left: 2px solid var(--gold-accent);
        border-radius: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        overflow: hidden;
        transition: max-height .22s ease;
    }
    .nav-dropdown.open .dropdown-menu { max-height: 420px; margin-bottom: 8px; }
    .dropdown-menu li + li { border-top: 0; }
    .dropdown-menu a { min-height: 42px; font-size: .88rem; color: #526171; }
    .header-contact { width: 100%; min-height: 48px; }
    body.nav-open { overflow: hidden; }
}

@media (max-width: 430px) {
    .navbar { padding-inline: 14px; }
    .logo-container { gap: 9px; }
    .main-logo { width: 45px; height: 45px; }
    .logo-text { font-size: .88rem; letter-spacing: .035em; }
    .brand-motto { font-size: .52rem; letter-spacing: .13em; }
}

#mobile-menu.is-active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#mobile-menu.is-active .bar:nth-child(2) { opacity: 0; }
#mobile-menu.is-active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================
   HERO SLIDER - More Dynamic
   ========================================= */
.slider-container { 
    position: relative; 
    width: 100%; 
    height: 80vh;
    max-height: 700px;
    overflow: hidden; 
    margin-top: 0;
}

.slider { 
    display: flex; 
    width: 100%; 
    height: 100%; 
    overflow-x: auto; 
    scroll-snap-type: x mandatory; 
    scroll-behavior: smooth; 
    scrollbar-width: none; 
}

.slider::-webkit-scrollbar { display: none; }

.slide { 
    flex: 0 0 100%; 
    width: 100%; 
    height: 100%; 
    scroll-snap-align: start; 
    position: relative; 
}

.slide img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    filter: brightness(0.68) contrast(1.1);
}

.slide-content { 
    position: absolute; 
    top: 50%; 
    left: 8%; 
    transform: translateY(-50%); 
    color: white; 
    max-width: 650px; 
    z-index: 5;
    animation: slideIn 0.8s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-45%) translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

.slide-content h2 { 
    font-size: clamp(2.2rem, 5vw, 4rem); 
    margin-bottom: 1.2rem;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.slider-nav { 
    position: absolute; 
    bottom: 2.5rem; 
    left: 50%; 
    transform: translateX(-50%); 
    display: flex; 
    gap: 12px; 
    z-index: 10;
}

.slider-nav a { 
    width: 14px; 
    height: 14px; 
    background: rgba(255,255,255,0.5); 
    border-radius: 50%; 
    transition: all 0.3s; 
    text-decoration: none;
    display: inline-block;
    border: 2px solid rgba(255,255,255,0.7);
}

.slider-nav a:hover,
.slider-nav a:active { 
    background: var(--gold-accent);
    border-color: var(--gold-accent);
    transform: scale(1.3); 
}

/* =========================================
   SECTION HEADERS - More Refined
   ========================================= */
.section-header { 
    text-align: center; 
    margin-bottom: 3.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h1,
.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--navy-deep);
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.section-header h1::after,
.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-accent), transparent);
}

.section-header p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* =========================================
   CARDS - More Natural & Organic
   ========================================= */
.course-grid, .news-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 2.5rem; 
}

.course-card, .news-card-vertical { 
    background: var(--bg-card); 
    border-radius: 12px;
    overflow: hidden; 
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
}

.course-card:hover, .news-card-vertical:hover { 
    transform: translateY(-12px); 
    box-shadow: var(--shadow-lg);
    border-color: #e2e8f0;
}

.course-img, .news-thumb { 
    width: 100%; 
    height: 240px; 
    overflow: hidden; 
    position: relative;
    background: #e2e8f0;
}

.course-img img, .news-thumb img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.course-card:hover .course-img img,
.news-card-vertical:hover .news-thumb img { 
    transform: scale(1.08);
}

.course-body, .news-content { 
    padding: 1.8rem; 
}

.course-body h3,
.news-content h3 {
    color: var(--navy-primary);
    margin-bottom: 0.8rem;
    font-weight: 600;
    font-size: 1.15rem;
}

.course-body p,
.news-content p {
    color: var(--text-body);
    line-height: 1.7;
    font-size: 0.95rem;
}

.course-footer {
    margin-top: 1.2rem;
}

.news-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--navy-primary);
    color: white;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* =========================================
   GALLERY - Masonry Style
   ========================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-auto-rows: 220px;
    gap: 18px;
    grid-auto-flow: dense;
}

.gallery-item { 
    position: relative; 
    border-radius: 10px;
    overflow: hidden; 
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    box-shadow: var(--shadow-md);
    transform: scale(1.02);
}

.gallery-item img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: 0.6s ease;
}

.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

.gallery-overlay {
    position: absolute; 
    inset: 0; 
    background: rgba(30, 58, 95, 0.85);
    display: flex; 
    align-items: center; 
    justify-content: center;
    flex-direction: column;
    opacity: 0; 
    transition: 0.4s;
    gap: 10px;
}

.gallery-item:hover .gallery-overlay { 
    opacity: 1; 
}

.gallery-overlay span { 
    color: white; 
    font-weight: 600;
    font-size: 0.9rem;
    transform: translateY(15px); 
    transition: 0.4s; 
}

.gallery-item:hover .gallery-overlay span { 
    transform: translateY(0); 
}

/* Lightbox */
.lightbox {
    display: none; 
    position: fixed; 
    z-index: 9999;
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(0, 0, 0, 0.92); 
    backdrop-filter: blur(10px);
}

.lightbox-content { 
    margin: auto; 
    display: block; 
    max-width: 90%; 
    max-height: 85vh; 
    border-radius: 8px; 
    animation: zoomIn 0.3s; 
    padding-top: 60px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.close-lightbox { 
    position: absolute; 
    top: 30px; 
    right: 45px; 
    color: white; 
    font-size: 48px; 
    cursor: pointer;
    transition: 0.3s;
}

.close-lightbox:hover {
    color: var(--gold-accent);
}

@keyframes zoomIn { 
    from {transform:scale(0.85); opacity:0} 
    to {transform:scale(1); opacity:1} 
}

/* =========================================
   FOOTER - Modern & Clean
   ========================================= */
.main-footer { 
    background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 100%);
    color: white; 
    padding: 5rem 8% 2.5rem; 
    margin-top: 6rem;
    position: relative;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold-accent), transparent);
}

.footer-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); 
    gap: 3.5rem;
    margin-bottom: 3rem;
}

.footer-col h3, .footer-col h4 {
    margin-bottom: 1.2rem;
    color: var(--gold-accent);
    font-weight: 600;
    font-size: 1.1rem;
}

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

.footer-col ul li {
    margin-bottom: 0.7rem;
}

.footer-col ul li a {
    color: #e2e8f0;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: var(--gold-accent);
    padding-left: 5px;
}

.footer-col p {
    line-height: 1.7;
    margin-bottom: 0.8rem;
    color: #cbd5e0;
    font-size: 0.95rem;
}

.footer-bottom { 
    text-align: center; 
    margin-top: 3rem; 
    padding-top: 2rem; 
    border-top: 1px solid rgba(255,255,255,0.15); 
    color: #a0aec0;
}

/* Social Icons */
.social-icons {
    margin-top: 1.2rem;
    display: flex;
    gap: 12px;
}

.social-icons a {
    color: white;
    font-size: 1.1rem;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--gold-accent);
    color: var(--navy-deep);
    transform: translateY(-4px) scale(1.05);
}

/* =========================================
   BUTTONS - More Sophisticated
   ========================================= */
.btn-primary {
    display: inline-block; 
    padding: 0.9rem 2rem;
    background: var(--navy-primary);
    color: white;
    text-decoration: none; 
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none; 
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover { 
    background: var(--navy-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* =========================================
   COMMAND CARDS - Premium Design
   ========================================= */
.command-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.command-card {
    position: relative;
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid #e2e8f0;
}

.command-logo {
    height: 180px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.command-logo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212,175,55,0.1) 0%, transparent 70%);
    transition: transform 0.6s ease;
}

.command-card:hover .command-logo::before {
    transform: scale(1.2);
}

.command-logo img {
    max-height: 100px;
    transition: transform 0.5s ease;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.command-content {
    padding: 1.8rem;
}

.command-content h3 {
    color: var(--navy-primary);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.command-content .hq {
    font-weight: 600;
    color: var(--gold-accent);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.command-content .desc {
    line-height: 1.7;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.command-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 40, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.command-overlay span {
    color: white;
    font-weight: 600;
    font-size: 1.05rem;
    transform: translateY(15px);
    transition: transform 0.4s ease;
}

.command-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    border-color: var(--gold-accent);
}

.command-card:hover .command-logo img {
    transform: scale(1.15);
}

.command-card:hover .command-overlay {
    opacity: 1;
}

.command-card:hover .command-overlay span {
    transform: translateY(0);
}

/* =========================================
   CONTACT FORM - Better UX
   ========================================= */
.contact-container {
    padding: 5rem 8%;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 380px;
    gap: 4.5rem;
}

.contact-form-section h2 {
    margin-bottom: 2rem;
    color: var(--navy-deep);
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s;
    background: white;
}

.form-group input:focus, 
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--navy-primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--navy-primary);
    transition: all 0.3s;
}

.info-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.info-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.7rem;
    color: var(--navy-deep);
}

/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 768px) {
.slider-container {
        height: 55vh;
    }
    
    .slide-content {
        left: 5%;
        max-width: 90%;
    }
    
    .slide-content h2 {
        font-size: 1.8rem;
    }
    
    .section-header h1,
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .course-grid, .news-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-container {
        padding: 3rem 5%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}


/* =========================================
   UTILITY CLASSES
   ========================================= */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* =========================================
   WESTERN NAVAL COMMAND PAGE STYLES
   ========================================= */

/* Hero Section */
.command-hero {
    height: 50vh;
    background: linear-gradient(rgba(3,20,58,0.85), rgba(3,20,58,0.9)),
                url('./images/navy-bg.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 0;
}

.hero-logo {
    height: 100px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.3));
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero-content p {
    opacity: 0.9;
    font-size: 1.1rem;
}

/* Container */
.command-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 5%;
}

/* Section Headers */
.command-section {
    margin-bottom: 4rem;
}

.command-section h2 {
    color: var(--navy-primary);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    border-left: 5px solid var(--navy-primary);
    padding-left: 1rem;
}

.command-section h2 i {
    margin-right: 0.8rem;
    color: var(--navy-primary);
}

/* Leadership Card - CLEAN with ROUND IMAGE */
.leadership-card-clean {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    padding: 2rem;
}

.leadership-img-round {
    text-align: center;
    margin-bottom: 1.5rem;
}

.leadership-img-round img {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--navy-primary);
    box-shadow: var(--shadow-lg);
}

.leadership-info {
    text-align: center;
}

.leadership-info h3 {
    font-size: 1.8rem;
    color: var(--navy-primary);
    margin-bottom: 0.5rem;
}

.leadership-title {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.leadership-bio {
    margin-top: 1.5rem;
    text-align: left;
}

.leadership-bio p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-body);
}

/* Organization Grid */
.organization-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.org-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
}

.org-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.org-card i {
    font-size: 2rem;
    color: var(--navy-primary);
    margin-bottom: 1rem;
}

.org-card h3 {
    color: var(--navy-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.org-card p {
    line-height: 1.7;
    color: var(--text-body);
}

/* Responsibility Grid */
.responsibility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.resp-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
}

.resp-card i {
    font-size: 2rem;
    color: var(--navy-primary);
    margin-bottom: 1rem;
}

.resp-card h4 {
    color: var(--navy-primary);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.resp-card p {
    line-height: 1.6;
    color: var(--text-muted);
}

.resp-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Readiness Card */
.readiness-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.readiness-card p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.readiness-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.readiness-half {
    flex: 1;
    min-width: 250px;
}

.readiness-half h4 {
    color: var(--navy-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    border-bottom: 2px solid var(--navy-primary);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.readiness-half h4 i {
    margin-right: 0.5rem;
}

/* Ship List */
.ships-list-ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.ships-list-ul li {
    background: var(--navy-primary);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
    transition: 0.3s;
}

.ships-list-ul li:hover {
    background: var(--navy-light);
    transform: translateY(-2px);
}

/* Operations Grid */
.operations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.operations-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius);
    transition: 0.3s;
}

.operations-grid img:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

/* CTA Section */
.command-cta {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, var(--navy-primary), #1d4ed8);
    color: white;
    border-radius: var(--radius);
    margin-top: 2rem;
}

.command-cta h2 {
    border-left: none;
    color: white;
    margin-bottom: 1rem;
}

.command-cta p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* =========================================
   LEADERSHIP PAGE STYLES
   ========================================= */

/* Clickable Card */
.clickable-card {
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.clickable-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Full Image Display */
.full-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Biography Full Page */
.bio-full-page {
    background: var(--bg-main);
    padding: 3rem 5%;
}

.bio-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.bio-header {
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-primary) 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.bio-header h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.bio-header .bio-subtitle {
    font-size: 1rem;
    opacity: 0.9;
}

.bio-content {
    padding: 2.5rem;
}

.bio-image {
    float: right;
    width: 280px;
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 3px solid var(--gold-accent);
}

.bio-section {
    margin-bottom: 2rem;
}

.bio-section h2 {
    color: var(--navy-primary);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--gold-accent);
    padding-left: 1rem;
}

.bio-section h3 {
    color: var(--navy-primary);
    font-size: 1.3rem;
    margin: 1.5rem 0 0.8rem 0;
}

.bio-section p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-body);
}

.bio-section ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.bio-section li {
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.bio-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--navy-primary);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1.5rem;
    transition: all 0.3s;
}

.bio-back-btn:hover {
    background: var(--navy-light);
    transform: translateX(-5px);
}

.leadership-note {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    background: #f0f4ff;
    border-radius: 8px;
    color: var(--navy-primary);
}

@media (max-width: 768px) {
    .bio-image {
        float: none;
        display: block;
        margin: 0 auto 1.5rem auto;
        width: 220px;
    }
    
    .bio-header h1 {
        font-size: 1.6rem;
    }
    
    .bio-content {
        padding: 1.5rem;
    }
    
    .bio-section h2 {
        font-size: 1.3rem;
    }
}

/* Mobile Responsive for Command Pages */
@media (max-width: 768px) {
    .command-hero {
        height: 35vh;
    }
    
    .hero-logo {
        height: 70px;
    }
    
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .leadership-img-round img {
        width: 200px;
        height: 200px;
    }
    
    .leadership-info h3 {
        font-size: 1.3rem;
    }
    
    .command-section h2 {
        font-size: 1.3rem;
    }
    
    .readiness-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .ships-list {
        justify-content: center;
    }
    
    .command-cta {
        padding: 2rem;
    }
}

/* BACK TO TOP BUTTON */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary);
    color: rgba(179, 141, 17, 0.651);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    z-index: 1000;
}

#backToTop:hover {
    background: #040c29b7;
    transform: translateY(-5px) scale(1.1);
}
/* Externalized page-level layout rules. Generated during production refactor. */
.legacy-layout-001{background: linear-gradient(rgba(10,22,40,0.9), rgba(30,58,95,0.9)), url('./images/banner1.webp') center/cover; padding: 8rem 8% 6rem; color: white; text-align: center;}
.legacy-layout-002{height: 90px; margin-bottom: 1.5rem; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));}
.legacy-layout-003{font-size: clamp(2.2rem, 5vw, 3rem); margin-bottom: 1rem; font-weight: 600;}
.legacy-layout-004{font-size: 1.2rem; opacity: 0.95; max-width: 700px; margin: 0 auto;}
.legacy-layout-005{padding: 4rem 10%;}
.legacy-layout-006{margin-top: 3rem;}
.legacy-layout-007{margin-top: 5rem;}
.legacy-layout-008{background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 100%); padding: 5rem 8% 4rem; color: white; text-align: center;}
.legacy-layout-009{font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 1rem; font-weight: 600;}
.legacy-layout-010{font-size: 1.15rem; opacity: 0.92;}
.legacy-layout-011{padding: 5rem 8%;}
.legacy-layout-012{background: linear-gradient(rgba(10,22,40,0.9), rgba(30,58,95,0.9)), url('./images/banner6.webp') center/cover; padding: 8rem 8% 6rem; color: white; text-align: center;}
.legacy-layout-013{display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin-top: 2rem;}
.legacy-layout-014{text-align: center; padding: 1rem; background: #f8fafc; border-radius: 8px;}
.legacy-layout-015{font-size: 2rem; color: #1e3a5f;}
.legacy-layout-016{margin-top: 0.5rem;}
.legacy-layout-017{font-size: 0.85rem; color: #64748b;}
.legacy-layout-018{background: linear-gradient(135deg, #f8fafc, #ffffff);}
.legacy-layout-019{background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 100%); padding: 4rem 10%; color: white; text-align: center; margin-top: 0;}
.legacy-layout-020{font-size: 2.5rem; margin-bottom: 1rem;}
.legacy-layout-021{font-size: 1.2rem; opacity: 0.9;}
.legacy-layout-022{margin-bottom: 5rem;}
.legacy-layout-023{color: var(--navy-primary); font-size: 2rem;}
.legacy-layout-024{font-size: 1.1rem; font-style: italic; color: var(--text-muted); max-width: 800px; margin: 1rem auto;}
.legacy-layout-025{background: white; padding: 3rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); max-width: 900px; margin: 0 auto; border-left: 5px solid var(--navy-primary);}
.legacy-layout-026{font-size: 1.2rem; line-height: 2; text-align: center; color: var(--text-body);}
.legacy-layout-027{color: var(--navy-primary);}
.legacy-layout-028{background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%); padding: 3rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); max-width: 900px; margin: 0 auto;}
.legacy-layout-029{background: linear-gradient(135deg, #f8fafc 0%, #dbeafe 100%); padding: 3rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); max-width: 900px; margin: 0 auto;}
.legacy-layout-030{margin-top: 6rem;}
.legacy-layout-031{border-top: 4px solid var(--navy-primary);}
.legacy-layout-032{height: 200px; padding: 0; display: flex; align-items: center; justify-content: center; overflow: hidden;}
.legacy-layout-033{width: 100%; height: 100%; object-fit: cover;}
.legacy-layout-034{color: var(--navy-primary); font-size: 1.5rem; margin-bottom: 1rem;}
.legacy-layout-035{line-height: 1.8;}
.legacy-layout-036{background: white; padding: 3rem; border-radius: var(--radius); box-shadow: var(--shadow-sm);}
.legacy-layout-037{display: grid; gap: 2rem;}
.legacy-layout-038{padding: 1.5rem; border-left: 4px solid var(--navy-primary); background: #f8fafc;}
.legacy-layout-039{color: var(--navy-primary); margin-bottom: 0.5rem;}
.legacy-layout-040{display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem;}
.legacy-layout-041{background: white; padding: 2rem; border-radius: 12px; text-align: center; box-shadow: 0 4px 12px rgba(0,0,0,0.08);}
.legacy-layout-042{width: 70px; height: 70px; background: #f0f4ff; border-radius: 50%; margin: 0 auto 1rem; display: flex; align-items: center; justify-content: center;}
.legacy-layout-043{color: #1e3a5f; margin-bottom: 0.5rem;}
.legacy-layout-044{color: #64748b;}
.legacy-layout-045{color: var(--gold-accent); font-weight: 600;}
.legacy-layout-046{background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%); padding: 4rem; border-radius: 12px; color: white; text-align: center;}
.legacy-layout-047{margin-bottom: 1.5rem; font-size: 2rem;}
.legacy-layout-048{line-height: 1.9; opacity: 0.95; max-width: 800px; margin: 0 auto;}
.legacy-layout-049{height: 90px; margin-bottom: 1.5rem;}
.legacy-layout-050{font-size: clamp(2.2rem, 5vw, 3rem); margin-bottom: 1rem;}
.legacy-layout-051{font-size: 1.2rem;}
.legacy-layout-052{margin-bottom: 2rem;}
.legacy-layout-053{margin-top: 2rem;}
.legacy-layout-054{margin-top: 1rem;}
.legacy-layout-055{display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 1.5rem;}
.legacy-layout-056{flex: 1; min-width: 180px; background: #1e3a5f; color: white; padding: 1.5rem; border-radius: 12px; text-align: center;}
.legacy-layout-057{font-size: 2.5rem; color: #d4af37; margin-bottom: 0.5rem; display: block;}
.legacy-layout-058{font-size: 1.3rem;}
.legacy-layout-059{margin-top: 0.5rem; opacity: 0.9;}
.legacy-layout-060{flex: 1; min-width: 180px; background: #2c5282; color: white; padding: 1.5rem; border-radius: 12px; text-align: center;}
.legacy-layout-061{flex: 1; min-width: 180px; background: #d4af37; color: #1e3a5f; padding: 1.5rem; border-radius: 12px; text-align: center;}
.legacy-layout-062{font-size: 2.5rem; color: #1e3a5f; margin-bottom: 0.5rem; display: block;}
.legacy-layout-063{background: linear-gradient(rgba(10,22,40,0.9), rgba(30,58,95,0.9)), url('./images/banner5.webp') center/cover; padding: 8rem 8% 6rem; color: white; text-align: center;}
.legacy-layout-064{text-align: center; padding: 1rem;}
.legacy-layout-065{font-size: 2rem; color: #d4af37;}
.legacy-layout-066{font-size: 0.9rem;}
.legacy-layout-067{flex: 1; min-width: 160px; background: #1e3a5f; color: white; padding: 1.5rem; border-radius: 12px; text-align: center;}
.legacy-layout-068{font-size: 2rem; color: #d4af37; margin-bottom: 0.5rem; display: block;}
.legacy-layout-069{font-size: 1.1rem;}
.legacy-layout-070{margin-top: 0.5rem; font-size: 0.85rem;}
.legacy-layout-071{flex: 1; min-width: 160px; background: #2c5282; color: white; padding: 1.5rem; border-radius: 12px; text-align: center;}
.legacy-layout-072{flex: 1; min-width: 160px; background: #d4af37; color: #1e3a5f; padding: 1.5rem; border-radius: 12px; text-align: center;}
.legacy-layout-073{font-size: 2rem; color: #1e3a5f; margin-bottom: 0.5rem; display: block;}
.legacy-layout-074{margin-bottom: 3rem;}
.legacy-layout-075{grid-column: 1 / -1; max-width: 600px; margin: 0 auto; text-decoration: none; display: block; cursor: pointer;}
.legacy-layout-076{height: 400px; overflow: hidden;}
.legacy-layout-077{text-align: center; padding: 2rem;}
.legacy-layout-078{font-size: 1.8rem; color: var(--navy-primary); margin-bottom: 0.5rem;}
.legacy-layout-079{font-size: 1.2rem; color: var(--text-muted); font-weight: 600; margin-bottom: 1rem;}
.legacy-layout-080{margin-top: 1rem; color: var(--gold-accent); font-size: 0.9rem;}
.legacy-layout-081{height: 280px; overflow: hidden;}
.legacy-layout-082{text-align: center;}
.legacy-layout-083{font-weight: 600; color: var(--text-muted);}
.legacy-layout-084{position: relative; padding: 2rem 0;}
.legacy-layout-085{position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; background: var(--primary); transform: translateX(-50%);}
.legacy-layout-086{display: grid; gap: 4rem;}
.legacy-layout-087{display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; position: relative;}
.legacy-layout-088{text-align: right; padding-right: 2rem;}
.legacy-layout-089{background: white; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); border-right: 4px solid var(--primary);}
.legacy-layout-090{color: var(--primary); font-size: 2rem; margin-bottom: 0.5rem;}
.legacy-layout-091{margin-bottom: 1rem; font-size: 1.2rem;}
.legacy-layout-092{position: absolute; left: 50%; top: 2rem; width: 20px; height: 20px; background: var(--primary); border-radius: 50%; transform: translateX(-50%); border: 4px solid white; box-shadow: 0 0 0 3px var(--primary);}
.legacy-layout-093{padding-left: 2rem;}
.legacy-layout-094{background: white; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); border-left: 4px solid var(--primary);}
.legacy-layout-095{background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 100%); padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); border-right: 4px solid #1e293b; color: white;}
.legacy-layout-096{color: white; font-size: 2rem; margin-bottom: 0.5rem;}
.legacy-layout-097{position: absolute; left: 50%; top: 2rem; width: 20px; height: 20px; background: white; border-radius: 50%; transform: translateX(-50%); border: 4px solid var(--primary); box-shadow: 0 0 0 3px white, 0 0 0 6px var(--primary);}
.legacy-layout-098{margin-top: 1.5rem;}
.legacy-layout-099{background: linear-gradient(135deg, #1e293b 0%, #2563eb 100%); padding: 4rem 10%; color: white; text-align: center; margin-top: 0;}
.legacy-layout-100{width: 100%; padding: 1rem; font-size: 1.1rem;}
.legacy-layout-101{color: var(--primary); display: flex; align-items: center; gap: 0.5rem;}
.legacy-layout-102{font-size: 1.5rem;}
.legacy-layout-103{margin-top: 0.5rem; line-height: 1.6;}
.legacy-layout-104{margin-top: 0.5rem; line-height: 1.8;}
.legacy-layout-105{background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%); color: white; border-left-color: #1e293b;}
.legacy-layout-106{color: white; display: flex; align-items: center; gap: 0.5rem;}
.legacy-layout-107{margin-top: 0.5rem; font-weight: 600;}
.legacy-layout-108{color: var(--primary); margin-bottom: 1rem;}
.legacy-layout-109{line-height: 1.8; margin-bottom: 0.5rem;}
.legacy-layout-110{font-size: 1.15rem; opacity: 0.92; max-width: 700px; margin: 0 auto;}
.legacy-layout-111{margin-bottom: 6rem;}
.legacy-layout-112{display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; max-width: 1000px; margin: 0 auto;}
.legacy-layout-113{text-align: center; padding: 2rem 1.5rem; background: white; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.08);}
.legacy-layout-114{font-size: 3rem; color: #d4af37; margin-bottom: 0.5rem; font-weight: 700;}
.legacy-layout-115{color: #64748b; font-weight: 500;}
.legacy-layout-116{background: white; padding: 3.5rem; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); max-width: 1100px; margin: 0 auto;}
.legacy-layout-117{display: grid; grid-template-columns: 1fr; gap: 2.5rem;}
.legacy-layout-118{color: #1e3a5f; margin-bottom: 1rem; font-size: 1.3rem; font-weight: 600;}
.legacy-layout-119{line-height: 1.9; color: #2d3748;}
.legacy-layout-120{max-width: 800px; margin: 0 auto;}
.legacy-layout-121{line-height: 1.9; opacity: 0.95; margin-bottom: 2rem;}
.legacy-layout-122{display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; margin-top: 2.5rem;}
.legacy-layout-123{display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem;}
.legacy-layout-124{background: white; padding: 2.5rem; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); text-align: center;}
.legacy-layout-125{width: 70px; height: 70px; background: #f0f4ff; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem;}
.legacy-layout-126{color: #1e3a5f; margin-bottom: 1rem;}
.legacy-layout-127{line-height: 1.8; color: #64748b;}

/* Nigerian Navy Professional UI System */
:root{--nn-950:#061426;--nn-900:#08213d;--nn-850:#0b2a4d;--nn-800:#10385f;--nn-700:#14518a;--nn-600:#1765aa;--nn-gold:#d7ad39;--nn-gold-2:#f0cf70;--nn-bg:#f5f7fa;--nn-surface:#fff;--nn-text:#172335;--nn-muted:#667386;--nn-line:#dfe5ec;--nn-line-soft:#edf1f5;--nn-max:1240px;--radius:6px;--shadow:0 14px 36px rgba(4,20,39,.08);--focus:0 0 0 3px rgba(23,101,170,.22)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--nn-bg);color:var(--nn-text);font-family:Inter,"Segoe UI",Arial,sans-serif;line-height:1.65;-webkit-font-smoothing:antialiased}img{max-width:100%;height:auto}a{color:inherit}button,input,select,textarea{font:inherit}.container{width:min(100% - 40px,var(--nn-max));margin-inline:auto}.container-wide{width:min(100% - 48px,1380px);margin-inline:auto}.skip-link{position:fixed;top:12px;left:12px;z-index:9999;transform:translateY(-160%);background:#fff;color:var(--nn-950);padding:10px 14px;border-radius:4px;box-shadow:var(--shadow)}.skip-link:focus{transform:none}
/* Header */
.site-header{position:sticky;top:0;z-index:1000;background:#fff;border-bottom:1px solid var(--nn-line);box-shadow:0 3px 14px rgba(4,20,39,.04)}.utility-bar{background:var(--nn-950);color:#cbd6e4;font-size:.76rem;letter-spacing:.02em}.utility-inner{height:32px;display:flex;align-items:center;justify-content:space-between}.utility-label{display:flex;align-items:center;gap:8px}.utility-label i{color:var(--nn-gold)}.utility-links{display:flex;gap:20px}.utility-links a{text-decoration:none;color:#d9e2ed}.utility-links a:hover{color:#fff}.navbar{height:82px;display:flex;align-items:center;gap:28px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;flex:0 0 auto}.brand-mark{width:58px;height:58px;display:grid;place-items:center}.brand-logo,.brand-mark img{width:58px;height:58px;object-fit:contain}.brand-copy{display:grid;line-height:1}.brand-copy strong{font-family:Georgia,"Times New Roman",serif;font-size:1.08rem;letter-spacing:.045em;color:var(--nn-900)}.brand-copy span{margin-top:7px;font-size:.57rem;letter-spacing:.23em;color:#79869a;font-weight:700}.nav-shell{margin-left:auto;display:flex;align-items:center;gap:18px}.nav-list{display:flex;align-items:center;list-style:none;padding:0;margin:0;gap:2px}.nav-list>li{position:relative}.nav-list a,.nav-dropdown-toggle{display:flex;align-items:center;gap:6px;min-height:46px;padding:0 10px;border:0;background:transparent;color:#304158;text-decoration:none;font-size:.86rem;font-weight:650;white-space:nowrap;cursor:pointer}.nav-list a:hover,.nav-list a[aria-current="page"],.nav-dropdown-toggle:hover{color:var(--nn-700)}.nav-list a[aria-current="page"]::after{content:"";position:absolute;left:10px;right:10px;bottom:-18px;height:3px;background:var(--nn-gold)}.nav-dropdown-toggle i{font-size:.65rem;transition:transform .18s ease}.nav-dropdown.open .nav-dropdown-toggle i{transform:rotate(180deg)}.dropdown-menu{position:absolute;top:calc(100% + 17px);left:0;width:280px;margin:0;padding:10px;background:#fff;border:1px solid var(--nn-line);border-radius:var(--radius);box-shadow:0 18px 42px rgba(4,20,39,.13);list-style:none;opacity:0;visibility:hidden;transform:translateY(6px);transition:.18s ease}.nav-dropdown.open .dropdown-menu{opacity:1;visibility:visible;transform:none}.dropdown-menu li+li{border-top:1px solid var(--nn-line-soft)}.dropdown-menu a{min-height:43px;padding:0 11px;font-size:.83rem}.dropdown-menu a::after{display:none!important}.nav-cta{display:inline-flex;align-items:center;gap:10px;justify-content:center;min-height:44px;padding:0 17px;background:var(--nn-900);border:1px solid var(--nn-900);border-radius:4px;color:#fff;text-decoration:none;font-size:.84rem;font-weight:750;white-space:nowrap}.nav-cta:hover{background:var(--nn-700);border-color:var(--nn-700)}.nav-toggle{display:none;width:44px;height:44px;margin-left:auto;padding:0;border:1px solid var(--nn-line);background:#fff;border-radius:4px;align-items:center;justify-content:center;flex-direction:column;gap:5px}.nav-toggle span{width:21px;height:2px;background:var(--nn-900);transition:.2s}.nav-toggle.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg)}.nav-toggle.is-open span:nth-child(2){opacity:0}.nav-toggle.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
/* Page system */
main{background:var(--nn-bg)}main:not(.full-bleed){padding-inline:clamp(20px,5vw,72px)}.section-header{max-width:850px;margin:0 auto 2.4rem;text-align:center}.section-header h1,.section-header h2{margin-top:0;color:var(--nn-900);font-family:Georgia,"Times New Roman",serif;line-height:1.16;letter-spacing:-.025em}.section-header h1{font-size:clamp(2rem,4vw,3.5rem)}.section-header h2{font-size:clamp(1.6rem,3vw,2.4rem)}.section-header p{color:var(--nn-muted);font-size:1.02rem}.section-header::after{content:"";display:block;width:52px;height:3px;margin:24px auto 0;background:var(--nn-gold)}.btn-primary,.btn-secondary,.btn-outline{display:inline-flex!important;align-items:center;justify-content:center;min-height:44px;padding:0 17px!important;border-radius:4px!important;box-shadow:none!important;font-weight:750!important;text-decoration:none!important}.btn-primary{background:var(--nn-900)!important;border:1px solid var(--nn-900)!important;color:#fff!important}.btn-primary:hover{background:var(--nn-700)!important;border-color:var(--nn-700)!important}.course-grid,.fleet-grid,.gallery-grid{gap:clamp(18px,2.4vw,30px)!important}.course-card,.command-card,.fleet-card,.gallery-item,.contact-card,.stat-card{background:#fff!important;border:1px solid var(--nn-line)!important;border-radius:var(--radius)!important;box-shadow:none!important;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.course-card:hover,.command-card:hover,.fleet-card:hover,.gallery-item:hover{transform:translateY(-4px);border-color:#ccd5df!important;box-shadow:var(--shadow)!important}.course-img img,.fleet-card img,.gallery-item img{transition:transform .35s ease}.course-card:hover .course-img img,.gallery-item:hover img{transform:scale(1.025)}.course-body{padding:1.45rem!important}.course-body h3,.course-body h4,.command-content h3{color:var(--nn-900)!important;line-height:1.35}.course-body p{color:#566578}.slider-container{position:relative;background:var(--nn-950);overflow:hidden}.slider{scrollbar-width:none}.slider::-webkit-scrollbar{display:none}.slide{position:relative}.slide::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(2,12,25,.32),rgba(2,12,25,.03) 62%);pointer-events:none}.slider-nav{z-index:5}.slider-nav a{width:8px!important;height:8px!important;border:1px solid #fff!important;background:rgba(255,255,255,.5)!important}.slider-nav a.active{width:28px!important;border-radius:20px!important;background:var(--nn-gold)!important;border-color:var(--nn-gold)!important}input,select,textarea{border:1px solid #cbd4df!important;border-radius:4px!important;background:#fff!important;box-shadow:none!important;color:var(--nn-text)}input:focus,select:focus,textarea:focus{border-color:var(--nn-600)!important;outline:0;box-shadow:var(--focus)!important}label{color:var(--nn-900);font-weight:700}
/* Footer */
.site-footer{margin-top:0;background:var(--nn-950);color:#c6d2e1;border-top:4px solid var(--nn-gold)}.footer-grid{display:grid;grid-template-columns:1.35fr .85fr 1.1fr 1.25fr;gap:44px;padding-block:58px}.footer-brandline{display:flex;align-items:center;gap:12px;text-decoration:none;margin-bottom:18px}.footer-brandline img{width:54px;height:54px;object-fit:contain}.footer-brandline span{display:grid}.footer-brandline strong{font-family:Georgia,"Times New Roman",serif;color:#fff;letter-spacing:.04em}.footer-brandline small{margin-top:4px;color:#8fa1b8;font-size:.57rem;letter-spacing:.22em;font-weight:700}.footer-brand p{max-width:360px;color:#91a1b5}.footer-contact-link{display:inline-flex;align-items:center;gap:9px;color:#d7e0eb;text-decoration:none}.footer-col h2{margin:0 0 17px;color:var(--nn-gold-2);font-size:.78rem;letter-spacing:.14em;text-transform:uppercase}.footer-col ul{list-style:none;margin:0;padding:0;display:grid;gap:9px}.footer-col a{color:#c7d2df;text-decoration:none}.footer-col a:hover{color:#fff}.footer-contact address{font-style:normal;color:#91a1b5;line-height:1.75}.footer-action{display:inline-flex!important;align-items:center;gap:8px;margin-top:8px;color:#fff!important;font-weight:700}.footer-bottom{border-top:1px solid #1c334d}.footer-bottom-inner{min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:20px}.footer-bottom p{margin:0;color:#899bb1;font-size:.84rem}.footer-meta{display:flex;align-items:center;gap:20px;color:#899bb1;font-size:.82rem}.footer-meta a{color:#c8d3e0;text-decoration:none}#backToTop{display:none!important}:focus-visible{outline:0;box-shadow:var(--focus)}
@media(max-width:1180px){.brand-copy{display:none}.nav-list a,.nav-dropdown-toggle{padding-inline:8px;font-size:.82rem}.footer-grid{grid-template-columns:1.2fr 1fr 1fr}.footer-contact{grid-column:1/-1}}
@media(max-width:940px){.utility-links{display:none}.navbar{height:72px}.brand-copy{display:grid}.brand-mark,.brand-logo,.brand-mark img{width:50px;height:50px}.nav-toggle{display:flex}.nav-shell{position:fixed;top:104px;right:0;bottom:0;width:min(91vw,400px);display:flex;flex-direction:column;align-items:stretch;gap:16px;padding:18px;background:#fff;border-left:1px solid var(--nn-line);overflow:auto;transform:translateX(100%);visibility:hidden;transition:transform .24s ease,visibility .24s}.nav-shell.is-open{transform:none;visibility:visible}.nav-list{display:flex;flex-direction:column;align-items:stretch}.nav-list>li{width:100%;border-bottom:1px solid var(--nn-line-soft)}.nav-list a,.nav-dropdown-toggle{width:100%;justify-content:space-between;min-height:49px;font-size:.95rem;padding-inline:5px}.nav-list a[aria-current="page"]::after{display:none}.dropdown-menu{position:static;width:100%;max-height:0;overflow:hidden;padding:0 0 0 12px;border:0;border-left:2px solid var(--nn-gold);border-radius:0;box-shadow:none;opacity:1;visibility:visible;transform:none;transition:max-height .22s}.nav-dropdown.open .dropdown-menu{max-height:430px;margin-bottom:10px}.dropdown-menu a{font-size:.88rem;color:#5e6c7d}.nav-cta{width:100%;min-height:49px}body.nav-open{overflow:hidden}.footer-grid{grid-template-columns:1fr 1fr}.footer-contact{grid-column:auto}.container,.container-wide{width:min(100% - 28px,var(--nn-max))}}
@media(max-width:640px){.utility-inner{justify-content:center}.utility-label{font-size:.69rem}.brand-copy strong{font-size:.9rem}.brand-copy span{font-size:.51rem}.footer-grid{grid-template-columns:1fr;gap:30px;padding-block:44px}.footer-bottom-inner{padding-block:18px;align-items:flex-start;flex-direction:column}.footer-meta{width:100%;justify-content:space-between}.section-header{text-align:left}.section-header::after{margin-left:0}.course-grid,.fleet-grid,.gallery-grid{grid-template-columns:1fr!important}main:not(.full-bleed){padding-inline:18px!important}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Feature content page ----------------------------------------------------- */
.feature-page{background:#fff;color:var(--nn-text)}
.feature-page .section-space{padding-block:clamp(58px,7vw,96px)}
.feature-hero{position:relative;min-height:clamp(430px,58vw,650px);display:flex;align-items:flex-end;overflow:hidden;background:var(--nn-950);isolation:isolate}
.feature-hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-3}
.feature-hero-overlay{position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,rgba(2,12,25,.88) 0%,rgba(2,12,25,.68) 42%,rgba(2,12,25,.2) 76%,rgba(2,12,25,.08) 100%)}
.feature-hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:5px;background:var(--nn-gold)}
.feature-hero-content{padding-bottom:clamp(54px,7vw,84px);color:#fff}
.feature-breadcrumb{display:flex;align-items:center;gap:10px;margin-bottom:28px;font-size:.82rem;font-weight:650;color:#d4deea}
.feature-breadcrumb a{color:#fff;text-decoration:none}.feature-breadcrumb a:hover{text-decoration:underline}.feature-breadcrumb i{font-size:.6rem;color:var(--nn-gold)}
.feature-kicker,.feature-eyebrow{margin:0 0 12px;font-size:.73rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--nn-gold)}
.feature-hero h1{max-width:780px;margin:0;color:#fff;font-family:Georgia,"Times New Roman",serif;font-size:clamp(2.5rem,6vw,5rem);line-height:1.02;letter-spacing:-.035em}
.feature-hero-summary{max-width:700px;margin:22px 0 0;color:#e3eaf2;font-size:clamp(1rem,1.6vw,1.18rem);line-height:1.75}
.feature-intro-grid{display:grid;grid-template-columns:minmax(240px,.82fr) minmax(0,1.38fr);gap:clamp(38px,7vw,96px);align-items:start}
.feature-intro h2,.feature-story h2,.feature-closing h2{margin:0;color:var(--nn-900);font-family:Georgia,"Times New Roman",serif;letter-spacing:-.025em;line-height:1.15}
.feature-intro h2{max-width:520px;font-size:clamp(2rem,4vw,3.25rem)}
.feature-copy{max-width:760px}.feature-copy p{margin:0;color:#526276;font-size:1rem;line-height:1.85}.feature-copy p+p{margin-top:18px}
.feature-section-muted{background:var(--nn-bg);border-block:1px solid var(--nn-line-soft)}
.feature-story-list{display:grid;gap:clamp(48px,8vw,96px)}
.feature-story{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(300px,.88fr);gap:clamp(34px,6vw,78px);align-items:center}
.feature-story-reverse .feature-story-media{order:2}.feature-story-reverse .feature-story-content{order:1}
.feature-story-media{position:relative;min-height:390px;background:#e7ebef;overflow:hidden;border:1px solid var(--nn-line);border-radius:4px}
.feature-story-media::before{content:"";position:absolute;left:0;top:0;width:5px;height:100%;background:var(--nn-gold);z-index:2}
.feature-story-media img{width:100%;height:100%;min-height:390px;display:block;object-fit:cover;transition:transform .4s ease}
.feature-story:hover .feature-story-media img{transform:scale(1.018)}
.feature-story-content{position:relative;padding:20px 0}
.feature-story-number{display:block;margin-bottom:28px;color:#cad2dc;font-family:Georgia,"Times New Roman",serif;font-size:clamp(3rem,6vw,5.5rem);font-weight:700;line-height:.8}
.feature-story h2{font-size:clamp(1.75rem,3.2vw,2.7rem)}
.feature-story-content>p:last-child{max-width:590px;margin:20px 0 0;color:#58687a;line-height:1.8}
.feature-closing{background:#fff}.feature-closing-inner{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,1.2fr);gap:clamp(34px,7vw,90px);align-items:end;border-top:1px solid var(--nn-line);padding-top:clamp(34px,5vw,58px)}
.feature-closing h2{font-size:clamp(2rem,4vw,3.3rem)}.feature-closing-inner>p{margin:0;max-width:720px;color:#59697b;line-height:1.8}
@media(max-width:800px){.feature-hero{min-height:500px}.feature-hero-overlay{background:linear-gradient(0deg,rgba(2,12,25,.9),rgba(2,12,25,.42))}.feature-intro-grid,.feature-closing-inner,.feature-story{grid-template-columns:1fr}.feature-story-reverse .feature-story-media,.feature-story-reverse .feature-story-content{order:initial}.feature-story-media,.feature-story-media img{min-height:300px}.feature-story-content{padding:0}.feature-story-number{margin-bottom:20px}}
@media(max-width:520px){.feature-page .section-space{padding-block:50px}.feature-hero{min-height:470px}.feature-hero-content{padding-bottom:48px}.feature-breadcrumb{margin-bottom:22px}.feature-story-list{gap:54px}.feature-story-media,.feature-story-media img{min-height:235px}}
