/* ==========================================
   ADUNA CONSULTING - MAIN CSS
   World Islamic Manufacturing - Arabic Version
   ========================================== */

/* Variables */
:root {
    --primary: #1e3c72;
    --primary-dark: #0f1f3d;
    --secondary: #2a5298;
    --gold: #d4af37;
    --gold-light: #f4d03f;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-600: #6c757d;
    --gray-800: #343a40;
    --dark: #212529;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans Arabic', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.8;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

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

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

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s;
}

.loader-content {
    text-align: center;
    color: var(--white);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(30,60,114,0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(30,60,114,0.98);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-main {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    font-family: 'Noto Naskh Arabic', serif;
    line-height: 1;
}

.logo-sub {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.8);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--white);
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 20px;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(212,175,55,0.2);
    color: var(--gold);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: 10px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    color: var(--dark);
    display: block;
    padding: 10px 20px;
}

.dropdown-menu a:hover {
    background: var(--gray-100);
    color: var(--primary);
}

.lang-switch a {
    background: var(--gold);
    color: var(--primary) !important;
    padding: 8px 20px !important;
    font-weight: 600;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><path fill="%23d4af37" fill-opacity="0.05" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"/></svg>');
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.badge {
    display: inline-block;
    background: rgba(212,175,55,0.2);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 8px 25px;
    border-radius: 25px;
    font-size: 0.9rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-title .highlight {
    display: block;
    color: var(--gold);
    font-size: 0.6em;
    margin-top: 10px;
    font-weight: 300;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.feature-item .icon {
    font-size: 1.5rem;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gold);
    color: var(--primary);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--gold);
}

.btn-secondary:hover {
    background: rgba(212,175,55,0.1);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-large {
    padding: 18px 50px;
    font-size: 1.1rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 2rem;
    color: var(--gold);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 60px;
}

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

.section-header h2 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-subtitle {
    color: var(--gray-600);
    font-size: 1.2rem;
}

/* Arabic Language Section */
.arabic-language-section {
    background: linear-gradient(135deg, #f8f9fa, #fff8e1);
}

.arabic-title {
    font-family: 'Noto Naskh Arabic', serif;
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.arabic-content {
    max-width: 900px;
    margin: 0 auto;
}

.arabic-text-box {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    border-right: 5px solid var(--gold);
}

.arabic-quote {
    font-family: 'Noto Naskh Arabic', serif;
    font-size: 1.5rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 20px;
    line-height: 2;
}

.quote-source {
    display: block;
    color: var(--gold);
    font-size: 1rem;
    margin-top: 10px;
}

.arabic-text-box .description {
    font-size: 1.1rem;
    text-align: center;
    color: var(--gray-800);
}

.language-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.lang-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.lang-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.lang-card h4 {
    color: var(--primary);
    font-size: 1.1rem;
}

.lang-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* Assets Grid */
.assets-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.asset-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

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

.asset-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.asset-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.asset-card.featured .asset-image {
    height: auto;
}

.asset-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gold);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.asset-content {
    padding: 30px;
}

.asset-content h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.asset-location {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.asset-size {
    font-size: 2rem;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 15px;
}

.asset-features {
    list-style: none;
    margin: 15px 0;
}

.asset-features li {
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-200);
    position: relative;
    padding-right: 20px;
}

.asset-features li:before {
    content: "✓";
    color: var(--gold);
    position: absolute;
    right: 0;
    font-weight: bold;
}

.asset-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
}

.new-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #e74c3c;
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* SUNUBUS Section */
.sunubus-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 100px 0;
}

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

.sunubus-header h2 {
    color: var(--gold);
    font-size: 3rem;
    margin-bottom: 10px;
}

.sunubus-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
}

.sunubus-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 50px 0;
}

.stat-box {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(212,175,55,0.3);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

.xafilatoune-route {
    background: rgba(0,0,0,0.2);
    padding: 40px;
    border-radius: 15px;
    margin: 40px 0;
}

.xafilatoune-route h3 {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.route-map {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.route-stop {
    background: rgba(255,255,255,0.1);
    padding: 15px 25px;
    border-radius: 25px;
    border: 2px solid rgba(255,255,255,0.3);
}

.route-stop.final {
    background: var(--gold);
    color: var(--primary);
    border-color: var(--gold);
    font-weight: 600;
}

.route-line {
    font-size: 1.5rem;
    color: var(--gold);
}

.route-description {
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.8;
}

.sunubus-leadership {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.leader-card {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 15px;
    min-width: 250px;
    border: 1px solid rgba(212,175,55,0.3);
}

.leader-photo {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.leader-card h4 {
    color: var(--gold);
    margin-bottom: 5px;
}

.leader-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.leader-phone {
    display: block;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    direction: ltr;
}

.leader-role {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Verticals Section */
.verticals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.vertical-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    border-top: 5px solid;
    transition: var(--transition);
}

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

.vertical-card.defense {
    border-top-color: #e74c3c;
}

.vertical-card.hajj {
    border-top-color: var(--gold);
}

.vertical-card.diaspora {
    border-top-color: var(--primary);
}

.vertical-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.vertical-card h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.vertical-desc {
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.8;
}

.vertical-features {
    list-style: none;
    text-align: right;
    margin-bottom: 30px;
}

.vertical-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-200);
    position: relative;
    padding-right: 20px;
}

.vertical-features li:before {
    content: "•";
    color: var(--gold);
    position: absolute;
    right: 0;
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    color: var(--gold);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.cta-note {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--gold);
    padding-right: 5px;
}

.contact-list li {
    color: rgba(255,255,255,0.9);
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    background: rgba(255,255,255,0.1);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.social-link:hover {
    background: var(--gold);
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-quote {
    font-style: italic;
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.copyright {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    line-height: 1.8;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--gold);
    color: var(--primary);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
}

/* Utilities */
.text-center {
    text-align: center;
}