:root {
    --primary-green: #79b92b;
    --secondary-green: #dae42e;
    --accent-orange: #f39200;
    --dark-green: #4a6d1a;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text-dark: #333333;
    --text-muted: #6c757d;
}

body {
    font-family: 'Cairo', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

[dir="rtl"] body {
    text-align: right;
}

/* Top Header */
.top-header-w {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
}

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-contact-info {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.header-contact-info li a {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 15px;
}

.social-item {
    color: var(--white);
    font-size: 16px;
    transition: transform 0.3s ease;
}

.social-item:hover {
    transform: scale(1.2);
    color: var(--secondary-green);
}

/* Navigation */
.main-nav-w {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand img {
    max-height: 60px;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 600;
    padding: 15px 20px !important;
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-green) !important;
}

/* Slider */
.main-slider {
    position: relative;
    height: 500px;
}

.carousel-item {
    height: 500px;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 40px;
    border-radius: 10px;
    bottom: 20%;
}

/* Footer */
footer {
    background-color: #222;
    color: #eee;
    padding: 60px 0 0;
    margin-top: 50px;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--primary-green);
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-green);
}

[dir="ltr"] .footer-title::after {
    right: auto;
    left: 0;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-li {
    margin-bottom: 12px;
}

.footer-item {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-item:hover {
    color: var(--primary-green);
    padding-right: 10px;
}

[dir="ltr"] .footer-item:hover {
    padding-right: 0;
    padding-left: 10px;
}

.bottom-footer-w {
    background: #111;
    padding: 20px 0;
    margin-top: 40px;
}

.bottom-footer {
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.design-by {
    color: var(--primary-green);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Language Switcher */
.lang-switcher {
    margin-right: 20px;
}

[dir="ltr"] .lang-switcher {
    margin-right: 0;
    margin-left: 20px;
}
