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

body {
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    line-height: 1.6;
    color: #333;
    direction: rtl;
}

/* Force font weight for all elements */
h1, h2, h3, h4, h5, h6, p, span, div, button, a {
    font-family: 'Rubik', sans-serif !important;
    font-weight: 500 !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 1000;
}

.navbar {
    padding: 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    height: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links .nav-link {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links .nav-link:hover {
    color: #4A90E2;
    transform: translateY(-2px);
}

.nav-links .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4A90E2;
    transition: width 0.3s ease;
}

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

/* Language Button */
.lang-btn {
    display: flex;
    align-items: center;
}

.lang-btn-img {
    height: 30px;
    width: auto;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.lang-btn-img:hover {
    opacity: 0.8;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 10px;
}

.burger-line {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle:hover .burger-line {
    background-color: white;
    opacity: 0.8;
}

.mobile-menu-toggle.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background-color: white;
}

.mobile-menu-toggle.active .burger-line:nth-child(2) {
    opacity: 0;
    background-color: white;
}

.mobile-menu-toggle.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background-color: white;
}



/* Banner Section */
.banner {
    position: relative;
    height: 600px;
    background-image: url('images/banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px; /* Space for navbar */
}







/* Services Section */
.services {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 500;
    color: #004788;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 60px;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.service-icon {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
}

.service-icon-img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon-img {
    transform: scale(1.1);
}

.service-title {
    font-size: 1.4rem;
    font-weight: 500;
    color: #004788;
    margin-bottom: 20px;
}

.service-description {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Stats Section */
.stats {
    padding: 120px 0;
    background: #f8f9fa;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin: 60px 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 50px 40px;
    background: white;
    border-radius: 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    text-align: right;
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 4rem;
    font-weight: 500;
    margin: 0;
    display: block;
    flex-shrink: 0;
}

.stat-item:nth-child(1) .stat-number {
    color: #4A90E2;
}

.stat-item:nth-child(2) .stat-number {
    color: #4A90E2;
}

.stat-item:nth-child(3) .stat-number {
    color: #004788;
}

.stat-item:nth-child(4) .stat-number {
    color: #004788;
}

.stat-label {
    font-family: 'Rubik', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.3;
    color: #333;
    flex: 1;
    text-align: right;
}

.stat-item:nth-child(1) .stat-label {
    color: #4A90E2;
}

.stat-item:nth-child(2) .stat-label {
    color: #4A90E2;
}

.stat-item:nth-child(3) .stat-label {
    color: #004788;
}

.stat-item:nth-child(4) .stat-label {
    color: #004788;
}

.stats-note {
    text-align: center;
    color: #666;
    font-size: 1rem;
    line-height: 1.8;
    margin-top: 40px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 20px;
}

.footer-logo {
    display: flex;
    justify-content: flex-start;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.footer-links {
    display: flex;
    gap: 60px;
    align-items: center;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
    color: white;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.footer-column h4 a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-column h4:hover,
.footer-column h4 a:hover {
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.social-media-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-icon.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.social-icon.x-twitter:hover {
    background: #000000;
    border-color: #000000;
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #e6683c;
}

.social-icon.linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
}



.social-icon svg {
    width: 20px;
    height: 20px;
}



/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
        position: relative;
        display: block;
    }

    .nav-container::after {
        content: "";
        display: table;
        clear: both;
    }

    .logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(10px);
        display: flex;
    }

    .lang-btn {
        float: left;
        margin-top: 25px;
    }

    .mobile-menu-toggle {
        float: right;
        display: flex !important;
        margin-top: 25px;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(128, 128, 128, 0.9);
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(10px);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links .nav-link {
        padding: 15px 30px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        text-align: center;
    }

    .nav-links .nav-link:last-child {
        border-bottom: none;
    }

    .nav-links .nav-link::after {
        display: none;
    }





    .banner-nav {
        gap: 20px;
        flex-wrap: wrap;
    }

    .nav-link {
        font-size: 1rem;
    }

    /* Mobile Banner - 430x600 integrated with navbar */
    .banner {
        height: 600px;
        width: 100%;
        max-width: 430px;
        margin: 0 auto;
        background-image: url('images/phone-h-01.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        padding-top: 80px; /* Space for navbar overlay */
    }

    .stats {
        padding: 100px 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 500px;
    }

    .service-card {
        padding: 40px 30px;
    }

    .service-description {
        font-size: 0.9rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin: 50px 0;
    }

    .stat-item {
        padding: 45px 35px;
        gap: 20px;
    }

    .stat-number {
        font-size: 3.5rem;
    }

    .stat-label {
        font-size: 1.4rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-links {
        gap: 40px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .social-media-icons {
        gap: 15px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
    }

    .social-icon svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {


    .stats {
        padding: 80px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin: 40px 0;
    }

    .stat-item {
        padding: 40px 25px;
        gap: 20px;
        flex-direction: column;
        text-align: center;
    }

    .stat-number {
        font-size: 3.2rem;
    }

    .stat-label {
        font-size: 1.3rem;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 20px;
    }

    .footer-logo-img {
        height: 50px;
    }

    .social-media-icons {
        gap: 12px;
    }

    .social-icon {
        width: 35px;
        height: 35px;
    }

    .social-icon svg {
        width: 16px;
        height: 16px;
    }
}
