/* ===== Root Variables ===== */
:root {
    --primary-color: #2d5016;
    --secondary-color: #5a8a2e;
    --accent-color: #8b6914;
    --light-green: #a8c97f;
    --dark-green: #1a3d0a;
    --gold: #d4af37;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --white: #ffffff;
    --light-bg: #f8f9fa;
}

/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== Navigation ===== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: bold;
    color: var(--primary-color) !important;
    font-size: 1.5rem;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    margin-left: 10px;
}

.brand-name {
    color: var(--primary-color);
    font-weight: 700;
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    right: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}


/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-image: url('11.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.85) 0%, rgba(90, 138, 46, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding-top: 80px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
    color: var(--white);
    max-width: 100%;
    width: 100%;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1.2s ease;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    animation: fadeInUp 1.4s ease;
    color: var(--white);
}

.hero-info {
    margin-top: 2rem;
}

.hero-info p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-info i {
    color: var(--gold);
    font-size: 1.3rem;
}

/* ===== Section Styles ===== */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto 2rem;
    border-radius: 2px;
}

/* ===== About Section ===== */
.about-section {
    background: var(--light-bg);
}

.company-intro {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.intro-text {
    font-size: 1.15rem;
    line-height: 2;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-align: right;
}

.intro-text:last-child {
    margin-bottom: 0;
}

.intro-text strong {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
}

.about-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.about-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.about-card h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* ===== Services Section ===== */
.services-section {
    background: var(--white);
}

.service-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-image {
    overflow: hidden;
    height: 300px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-list i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* ===== Contact Section ===== */
.contact-section {
    background: var(--light-bg);
}

.contact-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-label {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-control {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(45, 80, 22, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 0.75rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-green), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 80, 22, 0.3);
}

.contact-info {
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: transform 0.3s ease;
}

.contact-info:hover {
    transform: translateY(-5px);
}

.contact-info i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-info h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

/* ===== Footer ===== */
.footer {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Language Switcher ===== */
.lang-switcher {
    background: #15ffa5;
    color: var(--white) !important;
    border-radius: 8px;
    padding: 0.5rem 1rem !important;
    margin-right: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none !important;
}

.lang-switcher,
.lang-switcher *,
.lang-switcher i {
    color: var(--white) !important;
}

.lang-switcher:hover {
    background: linear-gradient(135deg, var(--dark-green), var(--primary-color)) !important;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(45, 80, 22, 0.3);
}

.lang-switcher:hover,
.lang-switcher:hover *,
.lang-switcher:hover i {
    color: var(--white) !important;
}

.lang-switcher::after {
    display: none !important;
}

.lang-switcher i {
    margin-left: 5px;
    color: var(--white) !important;
    font-size: 1rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        color: var(--white);
        max-width: 100%;
        width: 100%;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-card,
    .contact-card {
        padding: 1.5rem;
    }
    
    .service-image {
        height: 250px;
    }
    
    .lang-switcher {
        margin-top: 10px;
        margin-right: 0;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
        color: var(--white);
        max-width: 100%;
        width: 100%;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .brand-name {
        font-size: 1.2rem;
    }
}

/* ===== Smooth Scroll ===== */
html {
    scroll-behavior: smooth;
}

/* ===== LTR Support for English ===== */
html[dir="ltr"] body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html[dir="ltr"] .intro-text {
    text-align: left;
}

html[dir="ltr"] .navbar-nav {
    margin-left: auto;
    margin-right: 0;
}

html[dir="ltr"] .lang-switcher i {
    margin-right: 5px;
    margin-left: 0;
    color: var(--white) !important;
}

/* ===== Loading Animation ===== */
.service-card,
.about-card {
    animation: fadeInUp 0.6s ease;
}

