/* Tariq Al-Mustaqbal Scientific Bureau - Master Stylesheet */
:root {
    --primary-gold: #d4af37;
    --dark-gold: #aa820a;
    --iraq-red: #ce1126;
    --iraq-black: #000000;
    --iraq-green: #007a3d;
    --bg-dark: #0f172a;
    --panel-bg: rgba(30, 41, 59, 0.85);
    --text-light: #f8fafc;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    direction: rtl;
    overflow-x: hidden;
}

/* Header & Nav */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    background: rgba(15, 23, 42, 0.9);
    border-bottom: 2px solid var(--primary-gold);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-badge {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: #000;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    margin: 0 1rem;
    font-size: 1.1rem;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-gold);
}

.lang-toggle {
    background: transparent;
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    cursor: pointer;
}

/* Map Section */
.hero-map-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
    overflow: hidden;
    padding: 2rem;
}

.iraq-map-wrapper {
    position: relative;
    width: 450px;
    height: 550px;
    background: linear-gradient(180deg, rgba(206,17,38,0.15) 0%, rgba(255,255,255,0.05) 50%, rgba(0,0,0,0.2) 100%);
    border: 3px solid var(--primary-gold);
    border-radius: 30px 100px 40px 80px;
    box-shadow: 0 0 35px rgba(212, 175, 55, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.iraq-map-wrapper:hover {
    transform: scale(1.02);
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.5);
}

.baghdad-hub {
    position: absolute;
    top: 48%;
    left: 48%;
    transform: translate(-50%, -50%);
    text-align: center;
    cursor: pointer;
    z-index: 10;
}

.baghdad-hub .pulse-ring {
    width: 90px;
    height: 90px;
    background: rgba(212, 175, 55, 0.2);
    border: 2px solid var(--primary-gold);
    border-radius: 50%;
    animation: pulse 2s infinite;
    position: absolute;
    top: -15px;
    left: -15px;
}

.baghdad-hub .logo-mark {
    width: 60px;
    height: 60px;
    background: var(--primary-gold);
    color: #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 0 20px var(--primary-gold);
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 0.3; }
    100% { transform: scale(0.9); opacity: 0.8; }
}

/* Companies Floating Menu */
.companies-dropdown {
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--panel-bg);
    border: 1px solid var(--primary-gold);
    border-radius: 12px;
    padding: 1rem;
    width: 280px;
    display: none;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.companies-dropdown.active {
    display: block;
}

.company-item {
    padding: 0.8rem;
    margin: 0.4rem 0;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
    border: 1px solid transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.company-item:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--primary-gold);
}

/* Products Section */
.products-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: 2rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--panel-bg);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-gold);
}

.reagents-floating-box {
    margin-top: 2rem;
    background: rgba(0,122,61,0.15);
    border: 1px dashed var(--iraq-green);
    padding: 1.5rem;
    border-radius: 12px;
}

/* Interactive Timeline & Control Room */
.innovative-section {
    padding: 4rem 2rem;
    background: #131c2e;
}
