/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', Arial, sans-serif;
    direction: rtl;
    text-align: right;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
.main-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h2 {
    color: #ffd700;
    font-weight: 700;
    font-size: 1.8em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1em;
    transition: color 0.3s ease;
    padding: 10px 15px;
    border-radius: 5px;
}

.nav-menu a:hover {
    color: #ffd700;
    background-color: rgba(255,255,255,0.1);
}

.emergency-contact .phone-btn {
    background: #28a745;
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.emergency-contact .phone-btn:hover {
    background: #218838;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(rgba(30,60,114,0.8), rgba(42,82,152,0.8));
}

.hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-features span {
    background: rgba(255,255,255,0.1);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.call-btn, .whatsapp-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.call-btn {
    background: #28a745;
    color: white;
}

.call-btn:hover {
    background: #218838;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(40,167,69,0.4);
}

.whatsapp-btn {
    background: #25d366;
    color: white;
}

.whatsapp-btn:hover {
    background: #128c7e;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37,211,102,0.4);
}

/* Section Styles */
.section-title {
    text-align: center;
    font-size: 2.5em;
    color: #1e3c72;
    margin-bottom: 50px;
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: #ffd700;
    margin: 20px auto;
    border-radius: 2px;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 3em;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    color: #1e3c72;
    margin-bottom: 15px;
    font-size: 1.5em;
    font-weight: 600;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Areas Section */
.areas-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.area-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.area-card:hover {
    transform: translateY(-5px);
}

.area-card h3 {
    color: #1e3c72;
    margin-bottom: 20px;
    font-size: 1.4em;
    padding-bottom: 10px;
    border-bottom: 2px solid #ffd700;
}

.area-card ul {
    list-style: none;
}

.area-card li {
    padding: 8px 0;
    color: #555;
    border-bottom: 1px solid #eee;
    transition: color 0.3s ease;
}

.area-card li:hover {
    color: #1e3c72;
    padding-right: 10px;
}

.area-card li:last-child {
    border-bottom: none;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: white;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-text h3 {
    color: #1e3c72;
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
}

.about-text p {
    font-size: 1.2em;
    color: #666;
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.8;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateX(-10px);
    background: #e9ecef;
}

.feature-icon {
    font-size: 2.5em;
    flex-shrink: 0;
}

.feature h4 {
    color: #1e3c72;
    margin-bottom: 5px;
    font-weight: 600;
}

.feature p {
    color: #666;
    font-size: 0.95em;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    color: #1e3c72;
    font-size: 2em;
    margin-bottom: 20px;
}

.contact-info p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1em;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.contact-icon {
    font-size: 2em;
    flex-shrink: 0;
}

.contact-item h4 {
    color: #1e3c72;
    margin-bottom: 5px;
}

.contact-item a {
    color: #28a745;
    text-decoration: none;
    font-weight: bold;
}

.contact-item a:hover {
    color: #218838;
}

.emergency-box {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(220,53,69,0.3);
}

.emergency-box h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
}

.emergency-box p {
    margin-bottom: 25px;
    opacity: 0.9;
}

.emergency-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.emergency-call, .emergency-whatsapp {
    display: block;
    padding: 15px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.emergency-call {
    background: #ffd700;
    color: #333;
}

.emergency-whatsapp {
    background: #25d366;
    color: white;
}

.emergency-call:hover, .emergency-whatsapp:hover {
    transform: scale(1.05);
}

/* Footer */
.main-footer {
    background: #1e3c72;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3, .footer-section h4 {
    color: #ffd700;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    padding: 5px 0;
    color: #ccc;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-menu {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-content h1 {
        font-size: 2.5em;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .emergency-buttons {
        flex-direction: column;
    }
    
    .services-grid, .areas-grid, .features-list {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 2em;
    }
    
    .hero-subtitle {
        font-size: 1.1em;
    }
    
    .service-card, .area-card {
        padding: 25px 20px;
    }
    
    .feature {
        flex-direction: column;
        text-align: center;
    }
}