@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* CSS VARIABLES */
:root {
    /* Color Palette - Light Mode */
    --primary-color: #0b3c5d;      /* Deep Aerospace Blue */
    --primary-light: #328cc1;      /* Sky Blue */
    --accent-color: #00d2c4;       /* Bright Aviation Cyan */
    --accent-glow: rgba(0, 210, 196, 0.4);
    --secondary-color: #d9b310;   /* Safety Gold/Amber */
    
    --bg-main: #f8fafc;            /* Clean light grey-blue background */
    --bg-card: rgba(255, 255, 255, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.7);
    --border-glass: rgba(11, 60, 93, 0.08);
    
    --text-primary: #1e293b;       /* Dark slate */
    --text-secondary: #475569;     /* Muted slate */
    --text-light: #ffffff;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 20px 25px -5px rgba(11, 60, 93, 0.08), 0 10px 10px -5px rgba(11, 60, 93, 0.04);
    --shadow-glow: 0 0 20px var(--accent-glow);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
}

/* Dark Mode Variables Override */
body.dark-mode {
    --primary-color: #0b2537;      /* Extremely Dark Blue */
    --primary-light: #164e63;      /* Dark teal/cyan accent background */
    --accent-color: #00f2fe;       /* Electric cyan */
    --accent-glow: rgba(0, 242, 254, 0.3);
    --secondary-color: #f59e0b;   /* Electric gold */
    
    --bg-main: #060f18;            /* Midnight black/blue */
    --bg-card: rgba(11, 37, 55, 0.7);
    --bg-glass: rgba(6, 15, 24, 0.75);
    --border-glass: rgba(255, 255, 255, 0.08);
    
    --text-primary: #f1f5f9;       /* Bright grey */
    --text-secondary: #94a3b8;     /* Cool grey */
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 25px var(--accent-glow);
}

/* BASE RESET */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
    outline: none;
    transition: all var(--transition-fast);
}

/* SCROLLBAR */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: var(--border-radius-sm);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* CONTAINER */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* HEADER & NAVBAR */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-glass);
    transition: background var(--transition-normal), border var(--transition-normal), padding var(--transition-normal);
    padding: 16px 0;
}

.header.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-svg {
    width: 48px;
    height: 48px;
    fill: var(--primary-color);
    transition: fill var(--transition-normal);
}

body.dark-mode .logo-svg {
    fill: var(--accent-color);
}

.logo-text h1 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--primary-color);
    line-height: 1;
    transition: color var(--transition-normal);
}

.logo-text p {
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 1px;
    margin-top: 2px;
}

body.dark-mode .logo-text h1 {
    color: var(--text-primary);
}

/* Nav Menu */
.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
    cursor: pointer;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
    transition: width var(--transition-fast);
}

.nav-link.active, .nav-link:hover {
    color: var(--primary-color);
}

body.dark-mode .nav-link.active, body.dark-mode .nav-link:hover {
    color: var(--accent-color);
}

.nav-link.active::after, .nav-link:hover::after {
    width: 100%;
}

/* Nav Utilities */
.nav-utils {
    display: flex;
    align-items: center;
    gap: 20px;
}

.theme-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.theme-toggle-btn:hover {
    transform: rotate(45deg);
    color: var(--accent-color);
    box-shadow: var(--shadow-glow);
}

.theme-toggle-btn .sun-icon {
    display: none;
}

.theme-toggle-btn .moon-icon {
    display: block;
}

body.dark-mode .theme-toggle-btn .sun-icon {
    display: block;
}

body.dark-mode .theme-toggle-btn .moon-icon {
    display: none;
}

/* CTA Header Button */
.cta-header-btn {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--text-light);
    border-radius: 30px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cta-header-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, var(--accent-color), var(--primary-light));
}

body.dark-mode .cta-header-btn {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-light));
    color: var(--primary-color);
}

body.dark-mode .cta-header-btn:hover {
    background: linear-gradient(135deg, #ffffff, var(--accent-color));
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 28px;
    background: transparent;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* HERO CAROUSEL */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.slide-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    transition: opacity var(--transition-slow);
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.4);
    transform: scale(1.05);
    transition: transform 10s ease;
}

.slide.active .slide-bg {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(6, 15, 24, 0.8) 30%, rgba(6, 15, 24, 0.1) 100%);
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 3;
    color: var(--text-light);
    max-width: 750px;
    padding: 0 24px;
    transform: translateY(40px);
    opacity: 0;
    transition: transform var(--transition-slow) 0.3s, opacity var(--transition-slow) 0.3s;
}

.slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.slide-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 40%, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slide-desc {
    font-size: 1.1rem;
    margin-bottom: 36px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
}

.slide-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition-fast);
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
    background-color: #ffffff;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-secondary {
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: var(--text-light);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 40px;
    right: 50px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 16px;
}

.ctrl-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    transition: all var(--transition-fast);
}

.ctrl-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--primary-color);
    box-shadow: var(--shadow-glow);
    transform: scale(1.05);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: width var(--transition-fast), background var(--transition-fast);
}

.dot.active {
    width: 30px;
    border-radius: 6px;
    background-color: var(--accent-color);
}

/* Scroll Down Indicator */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    gap: 8px;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.scroll-down:hover {
    color: var(--accent-color);
}

.mouse {
    width: 22px;
    height: 38px;
    border: 2px solid currentColor;
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: currentColor;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s infinite;
}

@keyframes scroll-wheel {
    0% { top: 8px; opacity: 1; }
    100% { top: 22px; opacity: 0; }
}

/* PAGE WRAPPER & SECTIONS */
.page-section {
    padding: 100px 0;
    display: none; /* Controlled by JavaScript tab switcher */
    animation: fadeIn var(--transition-normal);
}

.page-section.active-section {
    display: block;
}

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

/* Section Typography */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-tag {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 16px;
    transition: color var(--transition-normal);
}

body.dark-mode .section-title {
    color: var(--text-primary);
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

/* STATS BAR */
.stats-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(0, 210, 196, 0.15) 0%, transparent 60%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    position: relative;
    z-index: 2;
}

.stat-card {
    text-align: center;
    padding: 16px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--accent-color);
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.stat-suffix {
    font-size: 2.2rem;
    color: var(--accent-color);
}

.stat-label {
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.85);
}

/* Welcome Segment on Home */
.welcome-block {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 80px;
}

.welcome-content h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: color var(--transition-normal);
}

body.dark-mode .welcome-content h3 {
    color: var(--accent-color);
}

.welcome-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.welcome-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 32px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.highlight-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.highlight-text h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 4px;
}

.highlight-text p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

.welcome-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.welcome-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.img-overlay-card {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-md);
    padding: 20px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: background var(--transition-normal);
}

body.dark-mode .img-overlay-card {
    background: rgba(6, 15, 24, 0.9);
}

.badge-round {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.overlay-card-text h5 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.overlay-card-text p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
}

/* NEWS SECTION */
.news-deck {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 210, 196, 0.3);
}

.news-img-holder {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.news-card:hover .news-img {
    transform: scale(1.05);
}

.news-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary-color);
    color: var(--accent-color);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-date {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    line-height: 1.3;
    transition: color var(--transition-normal);
}

body.dark-mode .news-title {
    color: var(--text-primary);
}

.news-card:hover .news-title {
    color: var(--primary-light);
}

body.dark-mode .news-card:hover .news-title {
    color: var(--accent-color);
}

.news-excerpt {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.news-readmore {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
}

body.dark-mode .news-readmore {
    color: var(--accent-color);
}

.news-readmore:hover {
    gap: 12px;
}

/* PROFILE SECTION */
.profile-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
}

.history-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.history-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--accent-color);
}

.history-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 24px;
    transition: color var(--transition-normal);
}

body.dark-mode .history-title {
    color: var(--accent-color);
}

.history-card p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 20px;
}

/* Leadership and Structure Grid */
.leadership-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--primary-color);
    transition: color var(--transition-normal);
}

body.dark-mode .leadership-title {
    color: var(--text-primary);
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.leader-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.leader-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.leader-avatar-wrapper {
    position: relative;
    padding-top: 30px;
    display: flex;
    justify-content: center;
}

.leader-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--border-glass);
    transition: border-color var(--transition-fast);
}

.leader-card:hover .leader-avatar {
    border-color: var(--accent-color);
}

.leader-info {
    padding: 24px;
}

.leader-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
    transition: color var(--transition-normal);
}

body.dark-mode .leader-name {
    color: var(--text-primary);
}

.leader-role {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent-color);
    margin-bottom: 12px;
}

.leader-bio {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* SERVICES SECTION */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-light), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 210, 196, 0.2);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(11, 60, 93, 0.08), rgba(0, 210, 196, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-bottom: 28px;
    transition: all var(--transition-normal);
}

body.dark-mode .service-icon-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(0, 242, 254, 0.1));
    color: var(--accent-color);
}

.service-card:hover .service-icon-box {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-glow);
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
    transition: color var(--transition-normal);
}

body.dark-mode .service-title {
    color: var(--text-primary);
}

.service-card:hover .service-title {
    color: var(--primary-light);
}

body.dark-mode .service-card:hover .service-title {
    color: var(--accent-color);
}

.service-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-learnmore {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

body.dark-mode .service-learnmore {
    color: var(--accent-color);
}

.service-learnmore:hover {
    gap: 12px;
}

/* ABOUT US SECTION */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: flex-start;
}

.about-info-block {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.about-text-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.about-subtitle {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: color var(--transition-normal);
}

body.dark-mode .about-subtitle {
    color: var(--accent-color);
}

.about-text-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Map & Airports Widget */
.airports-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
}

.widget-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 24px;
    transition: color var(--transition-normal);
}

body.dark-mode .widget-title {
    color: var(--text-primary);
}

/* Interactive SVG Map / CSS Map Simulation */
.map-canvas {
    height: 250px;
    background: linear-gradient(135deg, rgba(11, 60, 93, 0.04), rgba(0, 210, 196, 0.04));
    border-radius: var(--border-radius-md);
    border: 1px dashed var(--border-glass);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.map-sea-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: 20px 20px;
    background-image: radial-gradient(circle, rgba(11, 60, 93, 0.05) 1px, transparent 1px);
}

.map-shape {
    position: absolute;
    width: 80%;
    height: 60%;
    top: 20%;
    left: 10%;
    background: linear-gradient(to right, rgba(11, 60, 93, 0.15) 30%, rgba(0, 210, 196, 0.15) 100%);
    clip-path: polygon(0% 40%, 15% 35%, 35% 30%, 55% 45%, 70% 30%, 90% 10%, 100% 30%, 90% 60%, 75% 75%, 60% 80%, 45% 85%, 30% 90%, 15% 75%);
    border-radius: 40% 60% 40% 60%;
    filter: blur(1px);
}

/* Map Pin */
.map-pin {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--secondary-color);
    border: 3px solid #ffffff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    z-index: 5;
    transition: transform var(--transition-fast), background var(--transition-fast);
}

.map-pin::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    border: 1px solid var(--secondary-color);
    animation: pinPulse 2s infinite;
}

.map-pin:hover {
    transform: scale(1.3);
    background: var(--accent-color);
}

.map-pin-label {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--text-light);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.map-pin:hover .map-pin-label {
    opacity: 1;
}

/* Specific pin coordinates on simulation map */
.pin-dili { top: 38%; left: 35%; }
.pin-baucau { top: 32%; left: 65%; }
.pin-suai { top: 72%; left: 22%; }
.pin-oecusse { top: 55%; left: 8%; }

@keyframes pinPulse {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

.airports-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.airport-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-main);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-glass);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.airport-item:hover {
    background: rgba(0, 210, 196, 0.05);
    border-color: var(--accent-color);
    transform: translateX(4px);
}

.airport-meta h6 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: color var(--transition-normal);
}

body.dark-mode .airport-meta h6 {
    color: var(--text-primary);
}

.airport-meta p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin: 0;
}

.airport-code {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    background: var(--border-glass);
    padding: 4px 8px;
    border-radius: 4px;
    color: var(--text-secondary);
}

.airport-item:hover .airport-code {
    background: var(--accent-color);
    color: var(--primary-color);
}

/* VISI MISI SECTION */
.visimisi-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.vimi-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vimi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.vimi-icon-holder {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.5rem;
}

.vimi-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    transition: color var(--transition-normal);
}

body.dark-mode .vimi-card h3 {
    color: var(--text-primary);
}

.vimi-content {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.vimi-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 10px;
}

.vimi-list li {
    position: relative;
    padding-left: 28px;
}

.vimi-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent-color);
    font-weight: 800;
    font-size: 1.1rem;
}

/* Core Values Widget */
.values-wrapper {
    text-align: center;
    margin-top: 20px;
}

.values-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 40px;
    transition: color var(--transition-normal);
}

body.dark-mode .values-title {
    color: var(--text-primary);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.value-item {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    padding: 32px 24px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.value-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 16px;
    display: inline-block;
}

.value-item h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    transition: color var(--transition-normal);
}

body.dark-mode .value-item h4 {
    color: var(--text-primary);
}

.value-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

/* FOOTER SECTION */
.footer {
    background-color: #0b1a24;
    color: #94a3b8;
    padding: 80px 0 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-brand-logo .logo-svg {
    fill: var(--accent-color);
}

.footer-brand-text h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.footer-brand-text p {
    font-size: 0.6rem;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-top: 2px;
}

.footer-brand p.brand-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

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

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.social-btn:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link-item a {
    font-size: 0.9rem;
    transition: color var(--transition-fast), transform var(--transition-fast);
    display: inline-block;
}

.footer-link-item a:hover {
    color: var(--accent-color);
    transform: translateX(4px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
}

.contact-icon {
    color: var(--accent-color);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-newsletter p {
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    position: relative;
}

.newsletter-input {
    width: 100%;
    padding: 12px 50px 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    color: #ffffff;
    font-size: 0.9rem;
    outline: none;
    transition: all var(--transition-fast);
}

.newsletter-input:focus {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
}

.newsletter-btn {
    position: absolute;
    right: 4px;
    top: 4px;
    bottom: 4px;
    width: 40px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-btn:hover {
    background-color: #ffffff;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.8rem;
}

.footer-legal-links {
    display: flex;
    gap: 24px;
}

.footer-legal-links a:hover {
    color: var(--accent-color);
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(to right, var(--accent-color), var(--secondary-color));
    width: 0%;
    z-index: 1001;
    transition: width 0.1s ease;
}

/* DETAILED SERVICE DETAILS MODAL */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 15, 24, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
    padding: 24px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-box {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-lg);
    width: 100%;
    max-width: 650px;
    max-height: 90%;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    position: relative;
    transform: scale(0.9);
    transition: transform var(--transition-normal);
    padding: 40px;
}

.modal-overlay.active .modal-box {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.modal-close-btn:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

.modal-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: color var(--transition-normal);
}

body.dark-mode .modal-title {
    color: var(--text-primary);
}

.modal-body {
    font-size: 1rem;
    color: var(--text-secondary);
}

.modal-body p {
    margin-bottom: 16px;
}

.modal-body ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.modal-body li {
    margin-bottom: 8px;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-glass);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 40px 0;
        gap: 24px;
        transition: left var(--transition-normal);
        z-index: 999;
        border-top: 1px solid var(--border-glass);
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.open span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.open span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .welcome-block {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .welcome-image-wrapper {
        order: -1;
    }
    
    .welcome-img {
        height: 300px;
    }
    
    .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .slider-controls {
        right: 24px;
        bottom: 24px;
    }
    
    .slide-actions {
        width: 100%;
    }
    
    .slide-actions .btn {
        width: 100%;
    }
}

/* OFFICIAL LOGO STYLING */
.header-logo-img {
    height: 48px;
    width: 48px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.footer-logo-img {
    height: 40px;
    width: 40px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.welcome-title-row {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.welcome-logo-img {
    height: 70px;
    width: 70px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
    border-radius: 50%;
    border: 2.5px solid var(--accent-color);
    background: #ffffff;
    padding: 3px;
    transition: transform var(--transition-normal);
}

.welcome-logo-img:hover {
    transform: scale(1.1) rotate(10deg);
}

.logo-floating-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    padding: 8px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    border: 2.5px solid var(--accent-color);
    animation: floating-logo 5s ease-in-out infinite;
    z-index: 5;
    transition: background var(--transition-normal);
}

body.dark-mode .logo-floating-badge {
    background: rgba(6, 15, 24, 0.95);
}

.logo-floating-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes floating-logo {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@media (max-width: 576px) {
    .welcome-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* FLIGHT INFORMATION SERVICE (FIS) CONSOLE */
.fis-console-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 40px;
    align-items: flex-start;
}

.fis-panel-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.panel-subtitle {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: color var(--transition-normal);
}

body.dark-mode .panel-subtitle {
    color: var(--accent-color);
}

.frequency-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 10px 0;
}

.freq-box {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-sm);
    padding: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.freq-box:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.freq-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 6px;
}

.freq-value {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
    line-height: 1.2;
}

body.dark-mode .freq-value {
    color: var(--text-primary);
}

.freq-callsign {
    font-size: 0.7rem;
    color: var(--text-secondary);
    display: block;
    margin-top: 4px;
}

.fis-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fis-feature-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.feature-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-color);
    flex-shrink: 0;
    margin-top: 8px;
    box-shadow: var(--shadow-glow);
}

.fis-feature-item h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 2px;
}

.fis-feature-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

/* FIS Dashboard Console styling */
.fis-dashboard {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.dash-tabs {
    display: flex;
    background: rgba(11, 60, 93, 0.04);
    border-bottom: 1px solid var(--border-glass);
    overflow-x: auto;
}

body.dark-mode .dash-tabs {
    background: rgba(255, 255, 255, 0.02);
}

.dash-tab {
    flex-grow: 1;
    text-align: center;
    padding: 16px 20px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-secondary);
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}

.dash-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--accent-color);
    background: var(--bg-card);
}

body.dark-mode .dash-tab.active {
    color: var(--accent-color);
}

.dash-content-pane {
    padding: 24px;
    min-height: 280px;
}

.dash-tab-content {
    display: none;
    animation: fadeIn var(--transition-fast);
}

.dash-tab-content.active {
    display: block;
}

/* METAR weather layout */
.metar-card {
    background: var(--bg-main);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-sm);
    padding: 16px;
}

.metar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.metar-header h5 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
}

.status-indicator {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    background: var(--border-glass);
    color: var(--text-secondary);
}

.status-indicator.live {
    background: rgba(0, 210, 196, 0.15);
    color: var(--accent-color);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

.metar-raw {
    display: block;
    background: #0f172a;
    color: #38bdf8;
    padding: 12px;
    border-radius: 6px;
    font-family: monospace;
    font-size: 0.85rem;
    overflow-x: auto;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.metar-decoded {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* NOTAM list layout */
.notam-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.notam-item {
    background: var(--bg-main);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-sm);
    padding: 16px;
    position: relative;
    overflow: hidden;
}

.notam-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.notam-id {
    font-family: monospace;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary-light);
}

body.dark-mode .notam-id {
    color: var(--accent-color);
}

.notam-severity {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    background: var(--border-glass);
}

.notam-severity.urgent {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.notam-text {
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
    color: var(--text-secondary);
}

/* Frequencies Table styling */
.freq-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    text-align: left;
}

.freq-table th, .freq-table td {
    padding: 12px;
    border-bottom: 1px solid var(--border-glass);
}

.freq-table th {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-secondary);
}

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

/* Flight Plan panel */
.flightplan-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.flightplan-panel h5 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
}

.flightplan-panel p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

.flightplan-actions {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.75rem;
}

.briefing-info {
    border-top: 1px dashed var(--border-glass);
    padding-top: 16px;
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

@media (max-width: 1024px) {
    .fis-console-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* FIDS Flight Information Styling */
.fids-table-wrapper {
    overflow-x: auto;
}

.fids-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    text-align: left;
}

.fids-table th, .fids-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-glass);
}

.fids-table th {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-secondary);
    background: rgba(11, 60, 93, 0.02);
}

body.dark-mode .fids-table th {
    background: rgba(255, 255, 255, 0.01);
}

.status-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    display: inline-block;
    letter-spacing: 0.5px;
}

.status-badge.landed {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.status-badge.departed {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.status-badge.delayed {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.status-badge.boarding {
    background: rgba(139, 92, 246, 0.15);
    color: #8b5cf6;
}

.status-badge.scheduled {
    background: var(--border-glass);
    color: var(--text-secondary);
}
