* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    direction: rtl; /* لأجل العربية */
}

/* Top Bar */
.top-bar {
    background: #6dbdc8;
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.top-bar-phone {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-bar-phone i {
    color: #fff;
    font-size: 16px;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background: #20ba5a;
    transform: translateY(-1px);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #f0f0f0;
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo-img {
    height: 90px;
    width: auto;
    max-height: 50px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #6dbdc8;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    right: 0;
    background: #6dbdc8;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Dropdown fix */
.navbar .dropdown {
    position: relative;
}
.navbar .dropbtn {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}
.navbar .dropdown-content {
    display: none;
    position: absolute;
    top: 110%; /* تحت الزر بشوية */
    right: 0;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.10);
    border-radius: 8px;
    min-width: 210px;
    z-index: 999;
    text-align: right;
    list-style: none;
    padding: 8px 0;
}

.navbar .dropdown-content li {
    padding: 10px 18px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}
.navbar .dropdown-content li:last-child {
    border-bottom: none;
}
.navbar .dropdown-content li a {
    display: block;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    transition: background 0.2s, color 0.2s;
}
.navbar .dropdown-content li a:hover {
    background: #f5f5f5;
    color: #6dbdc8;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #6dbdc8;
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 20px;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border-radius: 10px;
    min-width: 220px;
    padding: 20px 0;
    z-index: 2000;
}
.mobile-menu.active {
    display: block;
}
.mobile-menu a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    transition: background 0.2s, color 0.2s;
}
.mobile-menu a:last-child {
    border-bottom: none;
}
.mobile-menu a:hover {
    background: #6dbdc8;
    color: #fff;
}
.mobile-dropdown {
    position: relative;
}
.mobile-dropbtn {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 12px 20px;
}
.mobile-dropdown-content {
    display: none;
    flex-direction: column;
    background: #f9f9f9;
    border-radius: 7px;
    margin: 0 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 4px 0;
}
.mobile-dropdown-content.active {
    display: flex;
}
.mobile-dropdown-content a {
    color: #333;
    text-decoration: none;
    padding: 10px 15px;
    font-size: 15px;
    border-bottom: 1px solid #eee;
    transition: background 0.2s, color 0.2s;
}
.mobile-dropdown-content a:last-child {
    border-bottom: none;
}
.mobile-dropdown-content a:hover {
    background: #6dbdc8;
    color: #fff;
}

/* Responsive */
@media (max-width: 900px){
    .nav-container{
        padding: 0 5px;
    }
}
@media (max-width: 768px){
    .top-bar-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .social-links {
        gap: 10px;
    }
    .nav-container {
        height: 60px;
    }
    .nav-menu {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .logo-img {
        height: 40px;
    }
}
@media (max-width: 480px){
    .top-bar {
        font-size: 12px;
    }
    .whatsapp-btn {
        padding: 4px 8px;
        font-size: 12px;
    }
}
