:root {
    --primary-color: #0c1b33;
    --accent-color: #c5a059;
    --text-color: #333;
    --bg-light: #f4f7f6;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
#navbar {
    background: transparent;
    height: 150px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

#navbar.sticky {
    background: var(--primary-color);
    height: 70px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

#navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center; 
    gap: 10px;

}


.logo-img {
    height: 60px;   
       width: auto;
    display: block;
}

.gold {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-right: 30px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-btn {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(12, 27, 51, 0.8), rgba(12, 27, 51, 0.8)), url('img/bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--primary-color);
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--accent-color);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    margin-right: 15px;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    font-size: 1.5rem;
    color: var(--accent-color);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
    40% {transform: translateY(-10px) translateX(-50%);}
    60% {transform: translateY(-5px) translateX(-50%);}
}

/* Services */
.services {
    padding: 100px 0;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--accent-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom: 3px solid var(--accent-color);
}

.service-card.active {
    background: var(--primary-color);
    color: var(--white);
}

.service-card.active h3 {
    color: var(--accent-color);
}

.service-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}


/* ===== Who We Are Section ===== */
#about .section-title h2 {
    font-size: 2.5rem; 
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

#about .section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--accent-color);
}

#about .who-we-are-text {
    margin-top: 15px;
    margin-bottom: 60px;    
      font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.7;
}


#scrollToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #c5a059; 
    color: #ffffff; 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}


#scrollToTop.show {
    opacity: 1;
    visibility: visible;
}


#scrollToTop:hover {
    background-color: #c5a059;
    transform: translateY(-5px); 
    color: #ffffff; 
}


#scrollToTop i {
    font-size: 1.3rem;
}

/* Features */
.features {
    padding: 100px 0;
}

.features-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}

.features-img {
    flex: 1;
}

.img-placeholder {
    width: 100%;
    height: 400px;
    background: var(--primary-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 5rem;
    box-shadow: 20px 20px 0 var(--accent-color);
}

.about-logo {
    max-width: 250px;
    height: auto;
}

.features-content {
    flex: 1;
}

.features-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.feature-list i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 5px;
}

.feature-list h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

/* Contact */
.contact {
    padding: 100px 0;
    background: var(--bg-light);
}

.contact-wrapper {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
    background: var(--primary-color);
    color: var(--white);
    padding: 40px;
    border-radius: 10px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.info-item h4 {
    color: var(--accent-color);
    margin-bottom: 5px;
}

.social-links {
    margin-top: 40px;
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-color);
}

.contact-form {
    flex: 1.5;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Cairo', sans-serif;
    outline: none;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent-color);
}

/* Footer */
footer {
    padding: 30px 0;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}



/* Exchange Rates Section */
.exchange-rates {
    padding: 100px 0;
    background: var(--bg-light);
}

.rates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.rate-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.rate-card:hover {
    transform: translateY(-5px);
    border-bottom: 3px solid var(--accent-color);
}

.rate-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.rate-card p {
    font-size: 1.2rem;
    color: var(--text-color);
}
 


.flag-icon {
    width: 30px;      
    height: auto;
    vertical-align: middle;
    margin-left: 10px; 
    border-radius: 3px; 
}


.currency-calculator {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.currency-calculator input,
.currency-calculator select {
    padding: 8px 12px;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #ddd;
    width: 100px;
    text-align: center;
}

.currency-calculator button {
    padding: 8px 15px;
    border: none;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.currency-calculator button:hover {
    background: var(--primary-color);
}

.currency-calculator span {
    font-weight: bold;
    font-size: 1.2rem;
}

.calc-result {
    width: 100%;
    margin-top: 5px;
    font-weight: 600;
    color: var(--primary-color);
}

/* Exchange Section Layout */
/* --- Exchange Rates Section --- */
.exchange-rates {
    padding: 100px 0;
    background: var(--bg-light);
}

.exchange-rates .section-title {
    text-align: center;
    margin-bottom: 40px;
}

/* Container set to row: Rates Left (flex 2), Calculator Right (flex 1) */
.exchange-container {
    display: grid;
    grid-template-columns: 2fr 1fr; /* wider left, smaller right */
    gap: 40px;
    align-items: flex-start;
}

/* Rates Grid on the Left (Larger Width) */
.exchange-left-rates {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.rate-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.rate-card:hover {
    transform: translateY(-5px);
    border-bottom: 3px solid var(--accent-color);
}

/* Calculator card */
.exchange-right-calc {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* Calculator box styling */
.calculator-card {
    background: var(--primary-color);
    color: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 420px;
    margin: auto;
    text-align: center;
}

/* Calculator heading */
.calculator-card h2 {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

/* Calculator inputs */
.currency-calculator {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.currency-calculator .input-group {
    display: flex;
    gap: 10px;
}

.currency-calculator input,
.currency-calculator select {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    outline: none;
    background: #fff;
    color: #000;
}

.arrow-divider {
    text-align: center;
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* Swap icon */
.swap-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent-color);
}


.currency-calculator button {
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
    padding: 12px;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
}

.currency-calculator button:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Result Box */
.result-box {
    margin-top: 15px;
    padding: 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    text-align: center;
    border: 1px dashed var(--accent-color);
}

#calc-result span {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.3rem;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 991px) {
    .exchange-container {
        grid-template-columns: 1fr; /* stack on mobile */
        gap: 30px;
    }
    .exchange-right-calc {
        width: 100%;
        min-width: unset;
    }
}


.flag-icon {
    width: 30px;
    height: auto;
    vertical-align: middle;
    margin-left: 10px;
    border-radius: 3px;
}

.contact-form-wrapper {
    flex: 1.5;
}

.form-title {
    margin-bottom: 20px;
}

.form-title h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.form-title p {
    color: var(--text-color);
    font-size: 0.95rem;
}


.services-header-wrapper {
    margin-top: 60px;    
    margin-bottom: 40px; 
    text-align: center;
}

.status-title {
    color: #0c1b33; 
    font-size: 1.8rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}




.section-divider {
    margin: 80px 0; /* مسافة كبيرة جداً 80 بكسل */
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    width: 100%;
}


.service-card.future {
    background-color: #fcfcfc;
    border: 1px solid #f0f0f0;
}

/* ===== Mobile Menu + Overlay ===== */

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 1100;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}


.close-nav {
    display: none;
}

/* Responsive */
@media (max-width: 991px) {
    .exchange-container {
        flex-direction: column;
    }
}

/* Responsive */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .features-wrapper, .contact-wrapper {
        flex-direction: column;
    }
}

@media (max-width: 768px) {

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--primary-color);
        flex-direction: column;
        padding-top: 100px;
        gap: 25px;
        transition: right 0.3s ease;
        z-index: 1200;
    }

    .nav-links.active {
        right: 0;
    }

    #navbar {
        z-index: 1300;
    }

    .close-nav {
        display: block; 
        position: absolute;
        top: 20px;
        left: 20px;
        cursor: pointer;
    }

    .close-nav i {
        font-size: 25px;
        color: var(--white);
        cursor: pointer;
    }


    .menu-btn {
        display: block;
        cursor: pointer;
        font-size: 24px;
        color: var(--white);
        z-index: 1400;
    }


    .nav-links li {
        margin: 20px 0;
        text-align: center;
    }

    .nav-links a {
        font-size: 20px;
        color: var(--white);
    }

}


/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s forwards;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}