:root {
    --primary-navy: #0F172A;
    --secondary-gold: #B8860B;
    --slate-grey: #64748B;
    --crisp-white: #FFFFFF;
    --light-grey: #F8FAFC;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-navy);
    overflow-x: hidden;
}

html[dir="rtl"] body {
    font-family: 'Cairo', sans-serif;
}

/* Navbar Styling */
.navbar {
    background-color: var(--primary-navy) !important;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--secondary-gold) !important;
    letter-spacing: 2px;
}

.nav-link {
    color: var(--crisp-white) !important;
    font-weight: 600;
    margin: 0 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--secondary-gold) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: var(--secondary-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-language {
    background-color: var(--secondary-gold);
    color: var(--crisp-white);
    border: none;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-language:hover {
    background-color: #9A7209;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(184, 134, 11, 0.3);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), 
                url('https://images.unsplash.com/photo-1473341304170-971dccb5ac1e?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    color: var(--crisp-white);
    z-index: 2;
    opacity: 0;
    transform: translateY(50px);
}

.hero-content.animate {
    animation: fadeInUp 1.2s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--light-grey);
}

.btn-hero {
    background-color: var(--secondary-gold);
    color: var(--crisp-white);
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-hero:hover {
    background-color: #9A7209;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(184, 134, 11, 0.4);
}

/* Section Styling */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-navy);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background-color: var(--secondary-gold);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    text-align: center;
    color: var(--slate-grey);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Stats Section */
.stats-section {
    background-color: var(--primary-navy);
    color: var(--crisp-white);
}

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--secondary-gold);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--crisp-white);
}

/* Services Section */
.service-card {
    background-color: var(--crisp-white);
    border: 2px solid var(--light-grey);
    border-radius: 10px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(184, 134, 11, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-gold);
    box-shadow: 0 15px 40px rgba(184, 134, 11, 0.2);
}

.service-icon {
    font-size: 4rem;
    color: var(--secondary-gold);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-navy);
}

.service-description {
    color: var(--slate-grey);
    font-size: 1rem;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    background-color: var(--light-grey);
}

.contact-form {
    background-color: var(--crisp-white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-control {
    border: 2px solid var(--light-grey);
    padding: 0.8rem;
    margin-bottom: 1.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--secondary-gold);
    box-shadow: 0 0 0 0.2rem rgba(184, 134, 11, 0.25);
    outline: none;
}

.btn-submit {
    background-color: var(--secondary-gold);
    color: var(--crisp-white);
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 5px;
    width: 100%;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-submit:hover {
    background-color: #9A7209;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(184, 134, 11, 0.3);
}

/* Footer */
footer {
    background-color: var(--primary-navy);
    color: var(--crisp-white);
    padding: 3rem 0 1rem;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 900;
    color: var(--secondary-gold);
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--slate-grey);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-gold);
    margin-bottom: 1rem;
}

.footer-link {
    color: var(--crisp-white);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--secondary-gold);
    padding-left: 5px;
}

html[dir="rtl"] .footer-link:hover {
    padding-left: 0;
    padding-right: 5px;
}

.social-icon {
    display: inline-block;
    width: 45px;
    height: 45px;
    background-color: var(--secondary-gold);
    color: var(--crisp-white);
    border-radius: 50%;
    text-align: center;
    line-height: 45px;
    font-size: 1.3rem;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--crisp-white);
    color: var(--secondary-gold);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--slate-grey);
}

/* Scroll Animation */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}
