@charset "UTF-8";

/* Color Variables */
:root {
    --primary-color: #05493c;
    --secondary-color: #c79f40;
    --accent-color: #00abc9;
    --dark-color: #2e363a;
    --light-bg: #f8f8f8;
    --text-dark: #333;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Cairo', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    padding-bottom: 75px; /* 30px ASE + 45px Economic News */
}

body.rtl {
    direction: rtl;
    font-family: 'Cairo', 'Poppins', sans-serif;
}

/* Main Navigation Menu */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    z-index: 9999;
    transition: all 0.3s ease;
}

.main-nav.scrolled {
    box-shadow: 0 2px 30px rgba(0,0,0,0.15);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo i {
    color: var(--secondary-color);
}

.nav-logo-img {
    height: 90px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.nav-logo:hover .nav-logo-img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--accent-color);
    background: rgba(0, 171, 201, 0.1);
}

.nav-menu a.active {
    color: white;
    background: var(--accent-color);
    box-shadow: 0 5px 15px rgba(0, 171, 201, 0.3);
}

.nav-menu a i {
    margin-right: 8px;
    font-size: 0.9rem;
}

/* Dropdown Menu Styles */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .dropdown-toggle {
    display: flex !important;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.nav-dropdown .dropdown-chevron {
    margin-right: 0 !important;
    margin-left: 5px !important;
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

body.rtl .nav-dropdown .dropdown-chevron {
    margin-left: 0 !important;
    margin-right: 5px !important;
}

.nav-dropdown.show .dropdown-chevron {
    transform: rotate(180deg);
}

.nav-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    margin-top: 5px;
    min-width: 220px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    display: none;
    z-index: 10000;
}

.nav-dropdown.show .dropdown-menu {
    display: block;
    animation: dropdownFadeIn 0.3s ease;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-dropdown .dropdown-menu li {
    width: 100%;
}

.nav-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-radius: 0;
    cursor: pointer;
}

.nav-dropdown .dropdown-item:hover {
    background: rgba(0, 171, 201, 0.1);
    color: var(--accent-color);
    padding-right: 25px;
}

.nav-dropdown .dropdown-item i {
    margin-right: 10px;
    font-size: 0.85rem;
    width: 20px;
}

body.rtl .nav-dropdown .dropdown-menu {
    right: auto;
    left: 0;
}

body.rtl .nav-dropdown .dropdown-item i {
    margin-right: 0;
    margin-left: 10px;
}

body.rtl .nav-dropdown .dropdown-item:hover {
    padding-right: 20px;
    padding-left: 25px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 10px;
}

/* RTL Support for Navigation */
body.rtl .nav-container {
    flex-direction: row-reverse;
}

body.rtl .nav-menu a i {
    margin-right: 0;
    margin-left: 8px;
}

/* Language Toggle */
.language-toggle {
    position: fixed;
    top: 130px;
    right: 20px;
    z-index: 1000;
    background: white;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.language-toggle i {
    margin: 0 5px;
    color: var(--primary-color);
}

/* Economic News Ticker - Above ASE Ticker */
.economic-news-ticker {
    position: fixed;
    bottom: 47px;
    left: 0;
    width: 100%;
    z-index: 9999;
    display: flex;
    align-items: stretch;
}

.economic-news-header {
    background: #05493c;
    padding: 0 25px;
    display: flex;
    align-items: center;
    min-width: 200px;
    flex-shrink: 0;
}

.economic-news-header i {
    font-size: 1.2rem;
    color: white;
    margin-right: 10px;
}

body.rtl .economic-news-header i {
    margin-right: 0;
    margin-left: 10px;
}

.economic-news-header span {
    font-weight: 700;
    color: white;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.marquee {
    padding: 15px 0px;
    background: #f1e6cdf5;
    border-radius: 0px;
    position: relative;
    overflow: hidden;
    font-size: larger;
    white-space: nowrap;
    flex: 1;
}

.marquee span {
    display: block;
    padding-left: 100%;
    animation: marquee 16s linear infinite;
    animation-direction: reverse;
}

.marquee span:hover {
    -webkit-animation-play-state: paused;
    -moz-animation-play-state: paused;
    -o-animation-play-state: paused;
    animation-play-state: paused;
    cursor: pointer;
}

@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-100%, 0);
    }
}

/* ASE Ticker - Sticky at Bottom */
.ase-ticker-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9998;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
    background: white;
    height: 47px;
    overflow: hidden;
}

.ase-ticker-container iframe {
    width: 100%;
    height: 47px;
    border: none;
    display: block;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

/* Video Background */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.swiper {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(5,73,60,0.9) 0%, rgba(0,171,201,0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 0 50px;
    max-width: 1200px;
    animation: fadeInUp 1s ease;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-btn {
    display: inline-block;
    padding: 15px 40px;
    margin: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 3px solid white;
}

.hero-btn-primary {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.hero-btn-primary:hover {
    background: #008ba8;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,171,201,0.4);
}

.hero-btn-secondary {
    background: var(--dark-color);
    color: white;
    border-color: var(--dark-color);
}

.hero-btn-secondary:hover {
    background: #1a1f22;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(46,54,58,0.4);
}

/* Section Styling */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title .underline {
    width: 170px;
    height: 2px;
    background: var(--secondary-color);
    margin: 0 auto;
    position: relative;
}

.section-title .underline::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(-40deg);
    width: 8px;
    height: 17px;
    background: var(--secondary-color);
}

.section-title .underline::after {
    content: '';
    position: absolute;
    top: -8px;
    left: calc(50% - 10px);
    transform: translateX(-50%) rotate(-40deg);
    width: 8px;
    height: 17px;
    background: var(--secondary-color);
}

.section-title .underline .dot {
    position: absolute;
    top: -8px;
    left: calc(50% + 10px);
    transform: translateX(-50%) rotate(-40deg);
    width: 8px;
    height: 17px;
    background: var(--secondary-color);
}

/* About Section */
.about-section {
    background: var(--light-bg);
}

.accordion-button {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    background: white;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--secondary-color);
}

.accordion-button i {
    margin-right: 15px;
}

body.rtl .accordion-button i {
    margin-right: 0;
    margin-left: 15px;
}

.accordion-body {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Market Section */
.market-section {
    position: relative;
    overflow: hidden;
    background: white;
}

    .market-section .parallax-bg {
        position: absolute;
        top: -100%;
        left: 0;
        width: 100%;
        height: 300%;
        background-image: url('https://images.unsplash.com/photo-1767424412548-1a1ac7f4b9bc');
        background-size: 100% auto;
        background-position: top center;
        background-repeat: repeat-y;
        z-index: 0;
        will-change: transform;
    }

.market-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 1;
}

.market-section .container {
    position: relative;
    z-index: 2;
}

.market-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.market-link {
    padding: 12px 30px;
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.market-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(5,73,60,0.3);
}

.market-tabs {
    margin-bottom: 30px;
}

.nav-pills .nav-link {
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 10px;
    margin: 5px;
    border: 2px solid var(--primary-color);
    background: white;
    transition: all 0.3s ease;
}

.nav-pills .nav-link:hover {
    background: rgba(5, 73, 60, 0.1);
    transform: translateY(-2px);
}

.nav-pills .nav-link.active {
    background: var(--primary-color) !important;
    color: white !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 5px 15px rgba(5, 73, 60, 0.3);
    transform: translateY(-2px);
}

.table-modern {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.table-modern thead {
    background: var(--primary-color);
    color: white;
}

.table-modern thead th {
    font-weight: 600;
    padding: 15px;
    border: none;
}

.table-modern tbody td {
    padding: 12px 15px;
    vertical-align: middle;
}

.table-modern tbody tr:hover {
    background: rgba(5,73,60,0.05);
}

.price-up {
    color: #28a745 !important;
    font-weight: 600;
}

.price-down {
    color: #dc3545 !important;
    font-weight: 600;
}

.price-neutral {
    color: #000000 !important;
    font-weight: 600;
}

/* Tab Content - Work with Bootstrap's fade animation */
.tab-content > .tab-pane:not(.active):not(.show) {
    display: none;
}

/* Info Cards Section */
.info-cards-section {
    background: var(--light-bg);
}

.info-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.info-card-header {
    background: var(--primary-color);
    color: white;
    padding: 15px;
    border-radius: 10px 10px 0 0;
    margin: -30px -30px 20px;
}

.info-card-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.info-list {
    list-style: none;
    padding: 0;
    max-height: 300px;
    overflow-y: auto;
}

.info-list li {
    padding: 12px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.info-list li:hover {
    background: var(--light-bg);
    padding-left: 20px;
}

.info-list li a {
    color: var(--text-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.info-list li a i {
    color: var(--secondary-color);
    margin-right: 10px;
}

/* Contact Section */
.contact-section {
    background: var(--light-bg);
    padding: 80px 0;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
}

.form-control, .form-select {
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(0,171,201,0.25);
}

.form-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.btn-submit {
    background: var(--accent-color);
    color: white;
    padding: 15px 50px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #008ba8;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,171,201,0.4);
}

.contact-info {
    padding: 40px;
}

.contact-info h4 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 30px;
}

.contact-info-list {
    list-style: none;
    padding: 0;
}

.contact-info-list li {
    padding: 15px 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.contact-info-list li i {
    color: var(--secondary-color);
    font-size: 1.3rem;
    width: 30px;
    margin-right: 15px;
}

/* Responsive */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        box-shadow: 2px 0 20px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
        overflow-y: auto;
    }

    body.rtl .nav-menu {
        left: auto;
        right: -100%;
        transition: right 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    body.rtl .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        padding: 15px 30px;
        border-radius: 0;
        border-bottom: 1px solid #f0f0f0;
    }

    /* Mobile Dropdown Styles */
    .nav-dropdown .dropdown-menu {
        position: static;
        box-shadow: none;
        background: #f8f8f8;
        display: none;
        animation: none;
    }

    .nav-dropdown.show .dropdown-menu {
        display: block;
        max-height: 500px;
    }

    .nav-dropdown .dropdown-item {
        padding: 12px 30px 12px 50px;
        border-bottom: 1px solid #e0e0e0;
        font-size: 0.85rem;
    }

    body.rtl .nav-dropdown .dropdown-item {
        padding: 12px 50px 12px 30px;
    }

    .nav-dropdown .dropdown-item:hover {
        padding-right: 50px;
        padding-left: 55px;
    }

    body.rtl .nav-dropdown .dropdown-item:hover {
        padding-right: 55px;
        padding-left: 50px;
    }

    .language-toggle {
        top: 80px;
    }
}

@media (max-width: 768px) {
    .nav-logo {
        font-size: 1.2rem;
    }

    .nav-logo-img {
        height: 40px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #8fbc8f;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}
.GlobalEconomic-Section {
    background: var(--light-bg);
}

.global-economic-section .col-lg-4 {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.economic-calendar-wrapper,
.technical-summary-wrapper,
.currency-rates-wrapper {
    padding: 0;
    margin: 0;
    width: 100%;
}

.economic-calendar-wrapper iframe,
.technical-summary-wrapper iframe,
.currency-rates-wrapper iframe {
    display: block;
    margin: 0;
    padding: 0;
}
