/* =========================================
   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;
    padding-top: 85px;
}

/* =========================================
   NAVIGATION - Clean & Professional
   ========================================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 0 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3000;
    height: 85px;
    border-bottom: 2px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 14px;
    padding-left: 0;
    margin-left: 0;
}

.main-logo {
    height: 55px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--navy-deep);
    letter-spacing: 0.5px;
}

.nav-links { 
    display: flex; 
    list-style: none; 
    gap: 2.2rem;
    padding-right: 3rem;
}

.nav-links a { 
    text-decoration: none; 
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

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

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

.nav-links a:hover { 
    color: var(--navy-primary);
}

/* Hamburger Menu */
.menu-toggle { 
    display: none; 
    cursor: pointer; 
    flex-direction: column; 
    gap: 6px; 
    z-index: 3001;
    padding-right: 1.5rem;
}

.bar { 
    width: 28px; 
    height: 3px; 
    background-color: var(--navy-deep); 
    transition: 0.3s;
    border-radius: 2px;
}

/* =========================================
   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) {
    body {
        padding-top: 75px;
    }
    
    .navbar {
        padding: 0 0 0 0;
        height: 75px;
    }
    
    .menu-toggle { 
        display: flex; 
    }
    
    .nav-links {
        position: fixed; 
        top: 75px; 
        left: -100%;
        flex-direction: column; 
        background: white;
        width: 100%; 
        height: calc(100vh - 75px);
        text-align: center; 
        padding-top: 2.5rem;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 2999;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        gap: 0;
    }
    
    .nav-links.active { 
        left: 0; 
    }
    
    .nav-links li { 
        margin: 1.8rem 0;
    }
    
    .main-logo { 
        height: 50px; 
    }
    
    .logo-text { 
        font-size: 1.15rem; 
    }
    
    .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;
    }
}

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

/* =========================================
   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);
}