/* General Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f7f9;
    color: #333;
    direction: rtl;
    text-align: right;
}

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

img {
    max-width: 100%;
    height: auto;
}

/* Header */
.main-header {
    background-color: #2487ce;
   color: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

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

.logo img {
    height: 40px;
}

.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 20px;
}

.main-nav a {
    text-decoration: none;
    color: #555;
    font-weight: bold;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #007bff;
}

.header-actions {
    display: flex;
    gap: 10px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}

.btn-primary {
    background-color: #007bff;
    color: #fff;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: #eee;
    color: #333;
    border: 1px solid #ccc;
}

.btn-secondary:hover {
    background-color: #ddd;
}

/* Hero Section */
.hero-section {
    background-color: #e9ecef;
    text-align: center;
    padding: 100px 20px;
}

.hero-section h1 {
    font-size: 2.5rem;
    color: #2c3e50;
}

.hero-section p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 20px auto;
    color: #555;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    text-align: center;
}

.services-section h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.service-item img {
    height: 60px;
    margin-bottom: 20px;
}

.service-item h3 {
    font-size: 1.5rem;
    color: #007bff;
    margin-top: 0;
}

/* Contact Section */
.contact-section {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}

.contact-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-info .phone-number {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 10px 0;
}

/* Footer */
.main-footer {
    background-color: #222;
    color: #aaa;
    padding: 20px 0;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
        gap: 15px;
    }

    .main-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .header-actions {
        flex-direction: column;
        gap: 10px;
    }

    .hero-section {
        padding: 60px 20px;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .btn-large {
        padding: 12px 24px;
        font-size: 1rem;
    }
}