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

/* --- CUSTOM VARIABLES --- */
:root {
    /* Sky-Blue Aviation Theme */
    --bg-dark: #060f28;
    --bg-darker: #030811;
    --bg-mid: #0a1a3a;
    --bg-panel: rgba(10, 30, 70, 0.6);
    --bg-panel-hover: rgba(15, 45, 100, 0.78);
    --accent-cyan: #00d4ff;
    --accent-blue: #1a7fff;
    --accent-orange: #ff9f00;
    --accent-green: #00e676;
    --accent-gold: #ffd700;
    --border-glass: rgba(0, 212, 255, 0.12);
    --border-glass-hover: rgba(0, 212, 255, 0.4);
    --text-primary: #e8f4ff;
    --text-secondary: #93c5fd;
    --text-muted: #5b8ab0;
    --font-arabic: 'Tajawal', sans-serif;
    --font-english: 'Inter', sans-serif;
    --font-hud: 'Montserrat', sans-serif;
    --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.22);
    --shadow-blue: 0 8px 32px rgba(26, 127, 255, 0.25);
    --transition-speed: 0.35s;
}

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

body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(ellipse at 20% 20%, rgba(26, 127, 255, 0.18) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(0, 212, 255, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 0%, rgba(10, 60, 160, 0.3) 0%, transparent 60%);
    color: var(--text-primary);
    font-family: var(--font-arabic);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body[dir="rtl"],
html[dir="rtl"] body {
    direction: rtl;
    font-family: var(--font-arabic);
}

body[dir="ltr"],
html[dir="ltr"] body {
    direction: ltr;
    font-family: var(--font-english);
}

/* Coordinate/Radar Grid Background */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        radial-gradient(circle at 50% 50%, transparent 60%, rgba(0, 212, 255, 0.04) 61%, transparent 62%),
        radial-gradient(circle at 50% 50%, transparent 40%, rgba(0, 212, 255, 0.03) 41%, transparent 42%),
        radial-gradient(circle at 50% 50%, transparent 20%, rgba(0, 212, 255, 0.025) 21%, transparent 22%),
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 100% 100%, 60px 60px, 60px 60px;
    background-position: center;
    pointer-events: none;
    z-index: -10;
}

/* Radar Sweep Line Animation Overlay */
body::after {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(0, 242, 254, 0) 48%, rgba(0, 242, 254, 0.015) 49%, rgba(0, 242, 254, 0.05) 50%, rgba(0, 242, 254, 0.015) 51%, rgba(0, 242, 254, 0) 52%);
    pointer-events: none;
    z-index: -9;
    animation: radarSweep 15s linear infinite;
}

@keyframes radarSweep {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

a {
    text-decoration: none;
    color: var(--accent-cyan);
    transition: all var(--transition-speed) ease;
}

a:hover {
    color: var(--accent-orange);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- GLASS CONTAINER MIXIN --- */
.glass-panel {
    background: var(--bg-panel);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(0, 212, 255, 0.08);
    transition: all var(--transition-speed) cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
    background: var(--bg-panel-hover);
    border-color: var(--border-glass-hover);
    box-shadow: var(--shadow-glow), 0 12px 40px rgba(0, 0, 0, 0.5);
    transform: translateY(-2px);
}

/* --- HEADER & NAVIGATION --- */
header {
    background: rgba(5, 9, 20, 0.85);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-glass);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.logo {
    height: 62px;
    width: 62px;
    margin-left: 15px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.35), 0 0 18px rgba(0, 212, 255, 0.2);
    transition: transform 0.8s ease, box-shadow 0.3s ease;
}

.logo:hover {
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.6), 0 0 28px rgba(0, 212, 255, 0.35);
}

body[dir="ltr"] .logo {
    margin-left: 0;
    margin-right: 15px;
}

.logo-text h1 {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #ffffff;
    line-height: 1.2;
}

.logo-text p {
    font-size: 0.8rem;
    color: var(--accent-cyan);
    font-family: var(--font-hud);
    font-weight: 600;
    text-transform: uppercase;
}

nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-menu a {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.nav-menu a:hover, 
.nav-menu a.active {
    color: #ffffff;
    background: rgba(0, 242, 254, 0.08);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-cyan);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-menu a.active::after, 
.nav-menu a:hover::after {
    transform: scaleX(1);
}

/* Language Selector */
.language-switcher {
    position: relative;
}

.language-switcher select {
    background: rgba(13, 21, 39, 0.8);
    border: 1px solid var(--border-glass);
    color: #ffffff;
    padding: 8px 12px;
    font-size: 0.85rem;
    border-radius: 6px;
    cursor: pointer;
    outline: none;
    font-family: var(--font-hud);
    font-weight: 600;
    transition: all 0.3s ease;
}

.language-switcher select:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

.language-switcher select option {
    background: var(--bg-dark);
    color: #ffffff;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--accent-cyan);
    transition: color 0.3s;
}

/* --- NEWS TICKER --- */
.news-ticker-container {
    background: rgba(2, 4, 10, 0.85);
    border-bottom: 1px solid var(--border-glass);
    padding: 10px 5%;
    display: flex;
    align-items: center;
    overflow: hidden;
    height: 44px;
}

.news-ticker-label {
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 1px;
    background-color: var(--accent-orange);
    color: var(--bg-darker);
    padding: 4px 10px;
    border-radius: 4px;
    margin-left: 15px;
    white-space: nowrap;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(255, 159, 0, 0.3);
}

body[dir="ltr"] .news-ticker-label {
    margin-left: 0;
    margin-right: 15px;
}

.news-ticker {
    position: relative;
    height: 24px;
    flex-grow: 1;
    overflow: hidden;
}

.ticker-item {
    position: absolute;
    width: 100%;
    height: 100%;
    line-height: 24px;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    white-space: nowrap;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.ticker-item.active {
    opacity: 1;
    transform: translateY(0);
}

.ticker-item.exit {
    transform: translateY(-100%);
}

/* --- STATIC HERO BANNER --- */
.hero-static {
    position: relative;
    width: 100%;
    min-height: 65vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border-glass);
}

.hero-static-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(26, 127, 255, 0.22) 0%, transparent 55%),
        radial-gradient(ellipse at 70% 60%, rgba(0, 212, 255, 0.12) 0%, transparent 50%),
        linear-gradient(135deg, #060f28 0%, #0a1a40 50%, #060f28 100%);
    z-index: 0;
}

.hero-static-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-static-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    padding: 60px 20px;
    width: 100%;
}

.hero-static-logo-wrap {
    flex-shrink: 0;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(0, 212, 255, 0.25);
    border-radius: 24px;
    padding: 24px;
    box-shadow:
        0 0 40px rgba(0, 212, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-static-logo-wrap:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 55px rgba(0, 212, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-static-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 20px rgba(0, 212, 255, 0.25));
}

.hero-static-content {
    flex: 1;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    text-align: right;
}

html[dir="ltr"] .hero-static-content,
body[dir="ltr"] .hero-static-content {
    text-align: left;
    align-items: flex-start;
}

.hero-static-content h2 {
    font-size: 2.6rem;
    font-weight: 900;
    color: #e8f4ff;
    letter-spacing: -1px;
    line-height: 1.25;
    text-shadow: 0 0 40px rgba(0, 212, 255, 0.3);
    margin: 0;
}

.hero-static-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 768px) {
    .hero-static-inner {
        flex-direction: column;
        gap: 32px;
        padding: 40px 20px;
        text-align: center;
    }

    .hero-static-logo-wrap {
        width: 200px;
        height: 200px;
        padding: 16px;
    }

    .hero-static-content {
        align-items: center;
        text-align: center;
    }

    .hero-static-content h2 {
        font-size: 1.9rem;
    }
}

/* --- HERO SLIDER (legacy) --- */
.slider-container {
    width: 100%;
    height: 65vh;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-glass);
    direction: ltr !important;
}

.slider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    direction: ltr !important;
}

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

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

/* FlightHUD lines overlay on slides */
.slide::after {
    content: '';
    position: absolute;
    top: 10%; left: 10%; right: 10%; bottom: 10%;
    border: 1px dashed rgba(0, 242, 254, 0.15);
    pointer-events: none;
    z-index: 2;
}

.slide-content {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    width: 85%;
    max-width: 900px;
    z-index: 5;
}

.slide-content h2 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8);
    letter-spacing: -1px;
}

.slide-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 35px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent-cyan), #00b8d4);
    color: var(--bg-darker);
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover {
    background: linear-gradient(135deg, var(--accent-orange), #ff6f00);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(255, 159, 0, 0.5);
}

.btn i {
    font-size: 1rem;
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: none;
}

.btn-secondary:hover {
    background: rgba(0, 242, 254, 0.1);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

/* Slider Navigation Buttons */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    pointer-events: none;
    z-index: 10;
}

.slider-nav button {
    pointer-events: auto;
    background-color: rgba(5, 9, 20, 0.6);
    border: 1px solid var(--border-glass);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.slider-nav button:hover {
    background-color: rgba(0, 242, 254, 0.25);
    border-color: var(--accent-cyan);
    color: white;
    box-shadow: var(--shadow-glow);
}

.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 10;
}

.dot {
    height: 6px;
    width: 30px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--accent-cyan);
    width: 50px;
    box-shadow: 0 0 8px var(--accent-cyan);
}

/* --- PAGE HEADER FOR SUBPAGES --- */
.page-header {
    position: relative;
    background: linear-gradient(135deg, rgba(6, 15, 40, 0.92) 0%, rgba(10, 26, 58, 0.88) 100%), url('images/amman_atc_tower.png') no-repeat center center/cover;
    border-bottom: 1px solid var(--border-glass);
    text-align: center;
    padding: 90px 20px;
    overflow: hidden;
}

/* Radar screen overlay for Page headers */
.page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('images/about/atc-radar-soft.jpg') no-repeat center center/cover;
    opacity: 0.15;
    mix-blend-mode: color-dodge;
    pointer-events: none;
}

.page-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.page-header p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* --- SECTIONS --- */
.features, .latest-news, .about-section, .vision-section, .activities-section, .gallery-section, .contact-section {
    padding: 80px 5%;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 50px;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-cyan);
    margin: 15px auto 0;
    box-shadow: 0 0 10px var(--accent-cyan);
}

/* --- FEATURE GRID --- */
.features-grid-wrap {
    padding: 70px 0 80px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
}

.features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.features-grid .feature {
    max-width: none;
    width: 100%;
    padding: 36px 28px;
    text-align: center;
    background: var(--bg-panel);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    transition: all var(--transition-speed) cubic-bezier(0.16, 1, 0.3, 1);
}

.features-grid .feature:hover {
    border-color: var(--border-glass-hover);
    box-shadow: var(--shadow-glow), 0 12px 40px rgba(0, 0, 0, 0.45);
    transform: translateY(-4px);
}

.feature-icon-box {
    width: 72px;
    height: 72px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.12), rgba(26, 127, 255, 0.2));
    border: 1px solid rgba(0, 212, 255, 0.25);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
}

.features-grid .feature i {
    font-size: 2rem;
    color: var(--accent-cyan);
    margin-bottom: 0;
    filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.4));
    transition: transform 0.5s ease;
}

.features-grid .feature:hover i {
    transform: rotateY(180deg) scale(1.1);
    color: var(--accent-orange);
    filter: drop-shadow(0 0 8px rgba(255, 159, 0, 0.4));
}

.features-grid .feature h3 {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 700;
}

.features-grid .feature p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

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

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* --- LATEST NEWS HOME PAGE --- */
.news-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 850px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

.news-date {
    background: linear-gradient(185deg, rgba(0, 242, 254, 0.15), rgba(0, 242, 254, 0.05));
    border-left: 3px solid var(--accent-cyan);
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 100px;
}

body[dir="ltr"] .news-date {
    border-left: none;
    border-right: 3px solid var(--accent-cyan);
}

.news-date .day {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    font-family: var(--font-hud);
}

.news-date .month {
    font-size: 0.85rem;
    color: var(--accent-cyan);
    font-weight: 700;
    text-transform: uppercase;
}

.news-content {
    padding: 25px 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

body[dir="ltr"] .news-content {
    text-align: left;
}

body[dir="rtl"] .news-content {
    text-align: right;
}

.news-content h3 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: 700;
}

.news-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* --- ABOUT & VISION PAGE CONTENT --- */
.about-content, .vision-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
}

.about-text, .vision-text {
    flex: 1 1 500px;
}

.about-text p, .vision-text p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-image, .vision-image {
    flex: 1 1 400px;
    position: relative;
    border-radius: 16px;
    overflow: visible;
    background: linear-gradient(145deg, rgba(0, 212, 255, 0.06), rgba(10, 30, 70, 0.4));
    padding: 4px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 212, 255, 0.12);
}

.about-image img, .vision-image img {
    border-radius: 12px;
    border: none;
    box-shadow: inset 0 0 60px rgba(6, 15, 40, 0.2);
    transition: transform var(--transition-speed) ease, filter var(--transition-speed) ease;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 10;
    filter: brightness(0.92) contrast(1.04) saturate(1.05);
    display: block;
}

.about-image--professional img {
    object-position: center 40%;
}

.about-image--tower img {
    object-position: center 35%;
}

.about-image--global img {
    object-position: center 40%;
}

.about-image--vision img {
    object-position: center 55%;
}

.about-image--radar img {
    object-position: center 45%;
}

.about-image::after, .vision-image::after {
    content: '';
    position: absolute;
    top: -10px; left: -10px;
    width: 40px; height: 40px;
    border-top: 2px solid var(--accent-cyan);
    border-left: 2px solid var(--accent-cyan);
    pointer-events: none;
}

.about-image::before, .vision-image::before {
    content: '';
    position: absolute;
    bottom: -10px; right: -10px;
    width: 40px; height: 40px;
    border-bottom: 2px solid var(--accent-cyan);
    border-right: 2px solid var(--accent-cyan);
    pointer-events: none;
}

.about-image:hover img, .vision-image:hover img {
    transform: scale(1.03);
    filter: brightness(0.97) contrast(1.06) saturate(1.1);
}

/* --- TIMELINE HISTORY AND ACTIVITIES --- */
.timeline {
    position: relative;
    max-width: 920px;
    margin: 48px auto 0;
    padding: 10px 0 20px;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: linear-gradient(180deg, transparent, rgba(0, 212, 255, 0.35) 8%, rgba(0, 212, 255, 0.35) 92%, transparent);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

.timeline-item {
    position: relative;
    width: calc(50% - 28px);
    padding: 0 0 28px;
    box-sizing: border-box;
    z-index: 1;
}

/* RTL: odd items on the right, even on the left */
html[dir="rtl"] .timeline-item:nth-child(odd),
body[dir="rtl"] .timeline-item:nth-child(odd) {
    margin-right: calc(50% + 14px);
    margin-left: 0;
}

html[dir="rtl"] .timeline-item:nth-child(even),
body[dir="rtl"] .timeline-item:nth-child(even) {
    margin-left: calc(50% + 14px);
    margin-right: 0;
}

html[dir="rtl"] .timeline-item:nth-child(odd)::after,
body[dir="rtl"] .timeline-item:nth-child(odd)::after {
    right: -8px;
    left: auto;
}

html[dir="rtl"] .timeline-item:nth-child(even)::after,
body[dir="rtl"] .timeline-item:nth-child(even)::after {
    left: -8px;
    right: auto;
}

/* LTR: odd items on the left, even on the right */
html[dir="ltr"] .timeline-item:nth-child(odd),
body[dir="ltr"] .timeline-item:nth-child(odd) {
    margin-left: 0;
    margin-right: calc(50% + 14px);
}

html[dir="ltr"] .timeline-item:nth-child(even),
body[dir="ltr"] .timeline-item:nth-child(even) {
    margin-left: calc(50% + 14px);
    margin-right: 0;
}

html[dir="ltr"] .timeline-item:nth-child(odd)::after,
body[dir="ltr"] .timeline-item:nth-child(odd)::after {
    right: -8px;
    left: auto;
}

html[dir="ltr"] .timeline-item:nth-child(even)::after,
body[dir="ltr"] .timeline-item:nth-child(even)::after {
    left: -8px;
    right: auto;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: var(--bg-dark);
    border: 3px solid var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
    top: 28px;
    border-radius: 50%;
    z-index: 2;
}

.timeline-content {
    padding: 25px 28px;
    text-align: right;
}

html[dir="ltr"] .timeline-content,
body[dir="ltr"] .timeline-content {
    text-align: left;
}

.timeline-date {
    font-weight: 800;
    color: var(--accent-cyan);
    margin-bottom: 12px;
    font-family: var(--font-hud);
    font-size: 0.95rem;
    display: inline-block;
    background: rgba(0, 242, 254, 0.1);
    padding: 3px 12px;
    border-radius: 20px;
}

.timeline-content h3 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.75;
}

.about-timeline-section {
    padding-top: 40px;
    padding-bottom: 60px;
}

.about-timeline-section .section-title {
    margin-bottom: 10px;
}

/* --- GOALS LIST --- */
.goals-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.goal-item {
    padding: 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.goal-icon {
    font-size: 2.2rem;
    color: var(--accent-cyan);
    filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.4));
    background: rgba(0, 242, 254, 0.05);
    width: 65px;
    height: 65px;
    min-width: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid rgba(0, 242, 254, 0.15);
}

.goal-content h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

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

/* --- MEMBERS PAGE --- */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 22px;
    margin-top: 30px;
}

.members-grid-divider {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 18px 0 6px;
}

.members-grid-divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.35), transparent);
}

.members-grid-divider-label {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-green);
    white-space: nowrap;
    padding: 6px 18px;
    border: 1px solid rgba(0, 230, 118, 0.25);
    border-radius: 30px;
    background: rgba(0, 230, 118, 0.06);
}

.member-card--committee .member-avatar {
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.15), rgba(0, 212, 255, 0.2));
    border-color: var(--accent-green);
    box-shadow: 0 0 18px rgba(0, 230, 118, 0.3);
}

.member-card--committee .member-avatar i {
    color: var(--accent-green);
}

.member-card--committee .member-info h3 {
    font-size: 1.05rem;
    line-height: 1.45;
}

.member-card {
    overflow: hidden;
    text-align: center;
}

.member-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(26, 127, 255, 0.3));
    border: 2px solid var(--accent-cyan);
    box-shadow: 0 0 18px rgba(0, 212, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 18px auto 12px;
}

.member-avatar i {
    font-size: 1.8rem;
    color: var(--accent-cyan);
}

.member-image {
    height: 180px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border-glass);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed) ease;
}

.member-card:hover .member-image img {
    transform: scale(1.04);
}

/* HUD Scanning line on member photos */
.member-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--accent-cyan);
    top: 0; left: 0;
    opacity: 0;
    z-index: 5;
    pointer-events: none;
    box-shadow: 0 0 10px var(--accent-cyan);
    transition: opacity 0.3s;
}

.member-card:hover .member-image::before {
    opacity: 1;
    animation: scanMember 2s linear infinite;
}

@keyframes scanMember {
    0% { top: 0%; }
    50% { top: 100%; }
    100% { top: 0%; }
}

.member-info {
    padding: 25px;
    text-align: center;
}

.member-info h3 {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 700;
}

.member-info p {
    color: var(--accent-cyan);
    font-size: 0.85rem;
    font-family: var(--font-hud);
    font-weight: 600;
    text-transform: uppercase;
}

/* Organization Structure Layout */
.org-structure-section {
    padding: 60px 5%;
}

.org-structure-title {
    margin-bottom: 30px;
    color: var(--accent-cyan);
    font-size: 1.7rem;
}

/* --- ACTIVITIES PAGE --- */
.activities-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.activity-item {
    display: flex;
    gap: 30px;
    overflow: hidden;
}

.activity-image {
    flex: 1 1 350px;
    max-width: 450px;
    height: 260px;
    overflow: hidden;
    border-radius: 8px;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed) ease;
}

.activity-item:hover .activity-image img {
    transform: scale(1.03);
}

.activity-info {
    flex: 1 1 500px;
    padding: 10px;
}

.activity-info h3 {
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 12px;
}

.activity-date, .activity-location {
    font-size: 0.85rem;
    color: var(--accent-cyan);
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 20px;
}

body[dir="ltr"] .activity-date, 
body[dir="ltr"] .activity-location {
    margin-left: 0;
    margin-right: 20px;
}

.activity-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Upcoming Events Cards */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.event-card {
    display: flex;
    overflow: hidden;
}

.event-date {
    background: linear-gradient(135deg, rgba(255, 159, 0, 0.15), rgba(255, 159, 0, 0.05));
    border-left: 3px solid var(--accent-orange);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 90px;
}

body[dir="ltr"] .event-date {
    border-left: none;
    border-right: 3px solid var(--accent-orange);
}

.event-date .day {
    font-size: 2rem;
    font-weight: 800;
    color: white;
}

.event-date .month {
    font-size: 0.8rem;
    color: var(--accent-orange);
    font-weight: 700;
}

.event-date .year {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.event-details {
    padding: 20px 25px;
    flex-grow: 1;
}

.event-details h3 {
    color: #ffffff;
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.event-details p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

/* --- ANNOUNCEMENTS PAGE (ACCORDION) --- */
.announcements-section {
    padding: 60px 5%;
    max-width: 950px;
    margin: 0 auto;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.accordion-item {
    overflow: hidden;
    width: 100%;
    max-width: none;
}

.announcements-wrap {
    max-width: 950px;
    margin: 50px auto 80px auto;
}

.accordion-header {
    background: rgba(13, 21, 39, 0.65);
    color: white;
    cursor: pointer;
    padding: 22px 30px;
    width: 100%;
    border: none;
    text-align: right;
    outline: none;
    font-size: 1.25rem;
    font-family: var(--font-arabic);
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    transition: all 0.3s ease;
}

body[dir="ltr"] .accordion-header {
    text-align: left;
}

.accordion-header:hover {
    border-color: var(--accent-cyan);
    background: rgba(18, 30, 56, 0.8);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

.accordion-header .icon {
    font-size: 1rem;
    color: var(--accent-cyan);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.accordion-header.active {
    border-radius: 8px 8px 0 0;
    border-bottom: 1px solid transparent;
    border-color: var(--accent-cyan);
}

.accordion-header.active .icon {
    transform: rotate(180deg);
    color: var(--accent-orange);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
    padding: 0 30px;
    background: rgba(5, 9, 20, 0.4);
    border: 1px solid var(--border-glass);
    border-top: none;
    border-radius: 0 0 8px 8px;
}

.accordion-header.active + .accordion-content {
    border-color: var(--accent-cyan);
}

.announcement-details {
    padding: 25px 0;
}

.announcement-details p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.8;
}

.announcement-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.announcement-gallery img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--border-glass);
    transition: all 0.3s;
}

.announcement-gallery img:hover {
    transform: scale(1.05);
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-glow);
}

.announcement-actions {
    margin-top: 25px;
}

/* --- GALLERY PAGE --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed) ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(3, 5, 10, 0.95), rgba(3, 5, 10, 0.6));
    border-top: 1px solid var(--border-glass-hover);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 5;
}

body[dir="ltr"] .gallery-caption {
    text-align: left;
}

body[dir="rtl"] .gallery-caption {
    text-align: right;
}

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

.gallery-caption h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #ffffff;
    font-weight: 700;
}

.gallery-caption p {
    font-size: 0.85rem;
    color: var(--accent-cyan);
}

/* --- CONTACT PAGE --- */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 30px;
}

.contact-info {
    flex: 1 1 350px;
}

.contact-info-item {
    display: flex;
    margin-bottom: 30px;
    gap: 20px;
}

.contact-info-item i {
    font-size: 1.7rem;
    color: var(--accent-cyan);
    filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.4));
    background: rgba(0, 242, 254, 0.05);
    width: 54px;
    height: 54px;
    min-width: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid rgba(0, 242, 254, 0.15);
}

.contact-info-item h3 {
    font-size: 1.15rem;
    color: #ffffff;
    margin-bottom: 5px;
}

.contact-info-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-social {
    margin-top: 40px;
}

.contact-social h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: #ffffff;
}

.contact-form {
    flex: 1 1 500px;
    padding: 40px;
}

.contact-form h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 30px;
    font-weight: 700;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 14px;
    background: rgba(5, 9, 20, 0.5);
    border: 1px solid var(--border-glass);
    border-radius: 6px;
    color: white;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-cyan);
    background: rgba(5, 9, 20, 0.85);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}

textarea.form-control {
    height: 140px;
    resize: vertical;
}

.map-container {
    margin-top: 50px;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.map-container iframe {
    filter: invert(90%) hue-rotate(180deg) brightness(0.9) contrast(1.2);
}

/* --- PRIVACY POLICY PAGE --- */
.privacy-container {
    max-width: 800px;
    margin: 80px auto;
    padding: 50px 40px;
}

.privacy-container h1 {
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 30px;
    text-align: center;
}

.privacy-container p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* --- CALL TO ACTION (CTA) SECTION --- */
.cta {
    background: linear-gradient(rgba(5, 9, 20, 0.9), rgba(5, 9, 20, 0.85)), url('images/amman_atc_tower.png') no-repeat center center/cover;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    text-align: center;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('images/about/atc-radar-soft.jpg') no-repeat center center/cover;
    opacity: 0.12;
    mix-blend-mode: color-dodge;
    pointer-events: none;
}

.cta h2 {
    font-size: 2.6rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.cta p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 35px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

/* --- FOOTER --- */
footer {
    background-color: var(--bg-darker);
    color: var(--text-secondary);
    border-top: 1px solid var(--border-glass);
    padding-top: 80px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.footer-logo {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    background: #fff;
    margin-bottom: 18px;
    box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.3), 0 0 15px rgba(0, 212, 255, 0.15);
}

.footer-logo h3 {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.footer-contact, .footer-social {
    flex: 1 1 250px;
}

.footer-content h3 {
    margin-bottom: 25px;
    color: #ffffff;
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
}

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

body[dir="rtl"] .footer-content h3::after {
    right: 0;
}

body[dir="ltr"] .footer-content h3::after {
    left: 0;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--accent-cyan);
    font-size: 1.1rem;
}

.footer-social .social-icons {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: all var(--transition-speed);
}

.social-icons a:hover {
    background-color: rgba(0, 242, 254, 0.1);
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.3);
    text-align: center;
    padding: 25px;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-glass);
}

/* --- OVERLAY FOR NAVIGATION (MOBILE) --- */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(2, 4, 10, 0.7);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    z-index: 998;
}

.nav-overlay.active {
    display: block;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 992px) {
    .timeline::after {
        right: 20px;
        left: auto;
        transform: none;
    }

    html[dir="ltr"] .timeline::after,
    body[dir="ltr"] .timeline::after {
        left: 20px;
        right: auto;
    }

    .timeline-item {
        width: 100%;
        padding-bottom: 24px;
    }

    html[dir="rtl"] .timeline-item:nth-child(odd),
    html[dir="rtl"] .timeline-item:nth-child(even),
    body[dir="rtl"] .timeline-item:nth-child(odd),
    body[dir="rtl"] .timeline-item:nth-child(even) {
        margin-right: 0;
        margin-left: 0;
        padding-right: 48px;
        padding-left: 0;
    }

    html[dir="ltr"] .timeline-item:nth-child(odd),
    html[dir="ltr"] .timeline-item:nth-child(even),
    body[dir="ltr"] .timeline-item:nth-child(odd),
    body[dir="ltr"] .timeline-item:nth-child(even) {
        margin-left: 0;
        margin-right: 0;
        padding-left: 48px;
        padding-right: 0;
    }

    html[dir="rtl"] .timeline-item::after,
    body[dir="rtl"] .timeline-item::after {
        right: 12px;
        left: auto;
    }

    html[dir="ltr"] .timeline-item::after,
    body[dir="ltr"] .timeline-item::after {
        left: 12px;
        right: auto;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background-color: rgba(5, 9, 20, 0.88);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        border-left: 1px solid var(--border-glass);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 100px;
        gap: 20px;
        transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 999;
    }
    
    body[dir="ltr"] .nav-menu {
        right: auto;
        left: -100%;
        border-left: none;
        border-right: 1px solid var(--border-glass);
    }
    
    body[dir="ltr"] .nav-menu.active {
        left: 0;
    }

    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 80%;
        text-align: center;
    }
    
    .nav-menu a {
        display: block;
        padding: 12px;
        font-size: 1.1rem;
    }
    
    .slide-content h2 {
        font-size: 2.2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .slider-nav button {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
    
    .page-header h2 {
        font-size: 2.2rem;
    }

    .about-content, .vision-content {
        gap: 30px;
    }

    .activity-item {
        flex-direction: column;
    }

    .activity-image {
        max-width: 100%;
        height: 200px;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-logo, .footer-contact, .footer-social {
        align-items: center;
    }
    
    .footer-logo h3 {
        text-align: center;
    }
    
    .footer-content h3::after {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%);
    }
}

@media (max-width: 576px) {
    .logo-container {
        flex-direction: row;
        align-items: center;
    }
    
    .logo {
        height: 48px;
        width: 48px;
    }
    
    .logo-text h1 {
        font-size: 1.1rem;
    }
    
    .logo-text p {
        font-size: 0.7rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .news-item {
        flex-direction: column;
    }
    
    .news-date {
        border-left: none;
        border-bottom: 2px solid var(--accent-cyan);
        padding: 12px;
        flex-direction: row;
        gap: 10px;
        min-width: 100%;
    }
    
    body[dir="ltr"] .news-date {
        border-right: none;
        border-bottom: 2px solid var(--accent-cyan);
    }
    
    .news-date .day {
        font-size: 1.6rem;
    }
    
    .news-date .month {
        font-size: 0.9rem;
    }
}

/* --- UTILITY CLASSES FOR CLEAN HTML --- */
.title-right {
    text-align: right;
    margin-bottom: 30px;
}
.title-right-25 {
    text-align: right;
    margin-bottom: 25px;
}
body[dir="ltr"] .title-right,
body[dir="ltr"] .title-right-25 {
    text-align: left;
}
.bg-dark-glass {
    background-color: rgba(2, 4, 10, 0.4);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}
.row-reverse {
    flex-direction: row-reverse;
}
.mb-60 {
    margin-bottom: 60px;
}
.mb-80 {
    margin-bottom: 80px;
}
.p-40 {
    padding: 40px;
}
.mb-30 {
    margin-bottom: 30px;
}
.rounded-12 {
    border-radius: 12px;
}
.flex-full {
    flex: 1 1 100%;
}
.max-w-900 {
    max-width: 900px;
}
.icon-neon {
    color: var(--accent-cyan);
    margin-left: 10px;
}
body[dir="ltr"] .icon-neon {
    margin-left: 0;
    margin-right: 10px;
}
.input-ltr-right {
    direction: ltr;
    text-align: right;
}
.w-full {
    width: 100%;
}
.max-w-800 {
    max-width: 800px;
}
.lh-2 {
    line-height: 2;
}

/* --- LIGHTBOX MODAL --- */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(2, 4, 10, 0.85);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 85%;
    max-height: 75%;
    border-radius: 12px;
    border: 1px solid var(--border-glass);
    box-shadow: 0 0 50px rgba(0, 242, 254, 0.25);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #ffffff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s;
}

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

.lightbox-caption-text {
    margin-top: 20px;
    color: #ffffff;
    font-family: var(--font-english);
    font-size: 1.1rem;
    text-align: center;
    max-width: 80%;
}


body[dir="rtl"] .lightbox-caption-text {
    font-family: var(--font-arabic);
}

/* ========================================
   CONFERENCE AFMRM 2026 — CONFERENCE CARD
   ======================================== */
.conference-banner {
    background: linear-gradient(135deg, rgba(6, 18, 55, 0.95) 0%, rgba(10, 35, 90, 0.95) 50%, rgba(4, 12, 40, 0.95) 100%);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    padding: 45px 50px;
    margin: 0 0 60px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 212, 255, 0.1), inset 0 1px 0 rgba(0, 212, 255, 0.15);
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

/* Animated background mesh for conference card */
.conference-banner::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(0, 212, 255, 0.03) 60deg, transparent 120deg, rgba(26, 127, 255, 0.03) 180deg, transparent 240deg, rgba(0, 212, 255, 0.03) 300deg, transparent 360deg);
    animation: rotateMesh 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

/* Glowing orb top-right */
.conference-banner::after {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: pulseOrb 3s ease-in-out infinite;
}

@keyframes rotateMesh {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulseOrb {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.15); }
}

.conference-banner > * {
    position: relative;
    z-index: 1;
}

.conf-icon-area {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(26, 127, 255, 0.35));
    border-radius: 50%;
    border: 2px solid rgba(0, 212, 255, 0.5);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    color: #ffffff;
}

.conf-text-area {
    flex: 1;
    min-width: 220px;
}

.conf-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.2), rgba(26, 127, 255, 0.15));
    border: 1px solid rgba(0, 212, 255, 0.4);
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 0.78rem;
    font-family: var(--font-hud);
    font-weight: 700;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.conf-badge .pulse-dot {
    width: 7px; height: 7px;
    background: #00e676;
    border-radius: 50%;
    animation: pulseDot 1.4s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.6); }
}

.conf-text-area h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #e8f4ff;
    line-height: 1.35;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.conf-date-location {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.conf-date-location .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-family: var(--font-english);
}

.conf-date-location .meta-item i {
    color: var(--accent-cyan);
    font-size: 0.85rem;
}

.conf-action-area {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    flex-shrink: 0;
}

body[dir="ltr"] .conf-action-area {
    align-items: flex-start;
}

.btn-conference {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    color: #ffffff;
    padding: 14px 30px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    font-family: var(--font-arabic);
    text-decoration: none;
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.45), 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    animation: pulseBtn 2.5s ease-in-out infinite;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-conference::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-conference:hover::before {
    left: 200%;
}

.btn-conference:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.65), 0 8px 25px rgba(0, 0, 0, 0.4);
    color: #ffffff;
    animation: none;
}

@keyframes pulseBtn {
    0%, 100% { box-shadow: 0 0 25px rgba(0, 212, 255, 0.45), 0 4px 15px rgba(0, 0, 0, 0.3); }
    50% { box-shadow: 0 0 45px rgba(0, 212, 255, 0.75), 0 4px 20px rgba(0, 0, 0, 0.4); }
}

/* ========================================
   COUNTDOWN TIMER
   ======================================== */
.countdown-container {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-end;
}

body[dir="ltr"] .countdown-container {
    justify-content: flex-start;
}

.countdown-unit {
    text-align: center;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
    padding: 8px 12px;
    min-width: 58px;
}

.countdown-value {
    display: block;
    font-family: var(--font-hud);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent-cyan);
    line-height: 1;
}

.countdown-label {
    display: block;
    font-size: 0.65rem;
    color: var(--text-secondary);
    font-family: var(--font-hud);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.countdown-sep {
    font-size: 1.4rem;
    color: rgba(0, 212, 255, 0.4);
    font-weight: 700;
    margin-bottom: 16px;
}

/* ========================================
   FLOATING TOP NOTIFICATION BAR
   ======================================== */
.conf-float-bar {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 900;
    background: linear-gradient(135deg, rgba(6, 18, 55, 0.96), rgba(10, 35, 90, 0.96));
    border: 1px solid rgba(0, 212, 255, 0.4);
    border-radius: 50px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 212, 255, 0.2);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    white-space: nowrap;
    transition: all 0.4s ease;
    animation: slideUpBar 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

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

.conf-float-bar:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 35px rgba(0, 212, 255, 0.35);
    transform: translateX(-50%) translateY(-3px);
}

.float-bar-icon {
    font-size: 1.3rem;
    color: var(--accent-cyan);
    animation: planeFloat 2s ease-in-out infinite;
}

@keyframes planeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.float-bar-text {
    font-size: 0.9rem;
    color: #e8f4ff;
    font-weight: 600;
}

.float-bar-text strong {
    color: var(--accent-cyan);
}

.float-bar-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.82rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.35);
}

.float-bar-btn:hover {
    color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.6);
}

.float-bar-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 2px 4px;
    line-height: 1;
    transition: color 0.2s;
}

.float-bar-close:hover {
    color: var(--accent-cyan);
}

/* ========================================
   SECTION CONTAINER SPACING FIXES
   ======================================== */
.container.mb-section {
    padding-top: 70px;
    padding-bottom: 70px;
}

/* Contact page Google Maps placeholder */
.map-placeholder {
    width: 100%;
    height: 300px;
    background: var(--bg-panel);
    border-radius: 12px;
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    gap: 10px;
}

/* Vision page goal-items fix for text overflow */
.goal-text-content {
    overflow: hidden;
    max-width: 100%;
}

.goal-text-content p {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Member info compact styling */
.member-info {
    padding: 16px 18px 20px;
    text-align: center;
}

.member-info h3 {
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 6px;
    font-weight: 700;
    line-height: 1.3;
}

.member-info p.role {
    color: var(--accent-cyan);
    font-size: 0.78rem;
    font-family: var(--font-hud);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

/* Utility classes for conference card */
.conf-section {
    padding-top: 60px;
    padding-bottom: 0;
}

.conf-title-highlight {
    color: var(--accent-cyan);
}

/* ============================================
   IDENTITY SLIDE — 1.jpg Hero Slide Styling
   ============================================ */
.slide-identity {
    position: relative;
    background: linear-gradient(135deg, #060f28 0%, #0a1a40 50%, #060f28 100%);
}

/* Special rendering for the identity image — center it and fade edges */
.slide-img-identity {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.5;
    filter: brightness(1.1) contrast(1.05);
    z-index: 0;
}

/* Gradient overlay for identity slide */
.slide-identity::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at center, rgba(0, 212, 255, 0.1) 0%, transparent 65%),
        linear-gradient(135deg, rgba(6, 15, 40, 0.4) 0%, rgba(10, 30, 80, 0.35) 50%, rgba(6, 15, 40, 0.4) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Center the content in identity slide */
.slide-content-identity {
    position: absolute !important;
    z-index: 2 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    gap: 16px;
}

.slide-content-identity h2 {
    font-size: 2.6rem;
    font-weight: 900;
    color: #e8f4ff;
    letter-spacing: -1px;
    line-height: 1.25;
    text-shadow: 0 0 40px rgba(0, 212, 255, 0.3);
}

.slide-content-identity p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.7;
}

.slide-identity-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.15), rgba(26, 127, 255, 0.15));
    border: 1px solid rgba(0, 212, 255, 0.35);
    border-radius: 30px;
    padding: 6px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-cyan);
    letter-spacing: 0.5px;
    font-family: var(--font-hud);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.slide-identity-badge::before {
    content: '✦';
    font-size: 0.7rem;
    color: var(--accent-gold);
}

.privacy-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

