/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    direction: rtl;
}

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

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: #2d5016;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #d4af37;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo h1 {
    font-size: 1.4rem;
    margin: 0;
    color: #2d5016;
    font-weight: 700;
}

.logo-subtitle {
    font-size: 0.9rem;
    color: #d4af37;
    font-weight: 500;
    font-style: italic;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav a:hover {
    color: #2d5016;
}

.nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    right: 0;
    background: linear-gradient(90deg, #2d5016, #d4af37);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

/* Language Toggle Button */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #2d5016, #d4af37);
    color: white;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-right: 1rem;
}

.lang-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 80, 22, 0.3);
    background: linear-gradient(135deg, #d4af37, #2d5016);
}

.lang-toggle i {
    font-size: 1.1rem;
}

.lang-text {
    font-family: 'Cairo', sans-serif;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.8), rgba(212, 175, 55, 0.6)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><pattern id="mosque" patternUnits="userSpaceOnUse" width="200" height="200"><path d="M100 20c20 0 40 10 40 30v150H60V50c0-20 20-30 40-30z" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="1200" height="800" fill="url(%23mosque)"/></svg>');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(45, 80, 22, 0.3) 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.3), transparent);
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background: linear-gradient(45deg, #fff, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat i {
    font-size: 2rem;
    color: #d4af37;
}

.stat span {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Packages Section */
.packages {
    padding: 5rem 0;
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2d5016;
    margin-bottom: 1rem;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2d5016, #d4af37);
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.package-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.package-card.featured {
    border-color: #d4af37;
    transform: scale(1.02);
}

.package-card.featured:hover {
    transform: scale(1.02) translateY(-10px);
}

.package-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(45deg, #2d5016, #d4af37);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 10;
}

.package-header {
    padding: 3rem 2rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.package-header i {
    font-size: 3rem;
    color: #2d5016;
    margin-bottom: 1rem;
}

.package-header h3 {
    font-size: 1.8rem;
    color: #2d5016;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.package-header p {
    color: #666;
    font-size: 1.1rem;
}

.package-features {
    padding: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.feature:last-child {
    border-bottom: none;
}

.feature i {
    color: #d4af37;
    font-size: 1.2rem;
    width: 20px;
}

.feature span {
    font-weight: 500;
    color: #333;
}

.package-footer {
    padding: 2rem;
    text-align: center;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.2rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 280px;
    justify-content: center;
    position: relative;
}

.btn-primary .fas, .btn-secondary .fas {
    margin-bottom: 0.2rem;
}

.btn-primary small, .btn-secondary small {
    margin-top: 0.2rem;
    font-weight: 400;
}

.btn-primary {
    background: linear-gradient(45deg, #2d5016, #3a6b1c);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #3a6b1c, #2d5016);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45, 80, 22, 0.3);
}

.btn-secondary {
    background: linear-gradient(45deg, #d4af37, #f4c430);
    color: #2d5016;
}

.btn-secondary:hover {
    background: linear-gradient(45deg, #f4c430, #d4af37);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

/* Why Choose Us Section */
.why-choose {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem 1rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.feature-item i {
    font-size: 3rem;
    color: #d4af37;
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.4rem;
    color: #2d5016;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.contact-item {
    text-align: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #f8f9fa, #fff);
    border-radius: 15px;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: #d4af37;
    transform: translateY(-3px);
}

.contact-item i {
    font-size: 2.5rem;
    color: #2d5016;
    margin-bottom: 1rem;
}

.contact-item h3 {
    color: #2d5016;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item p {
    color: #666;
    font-weight: 500;
}

.whatsapp-contact, .facebook-contact, .instagram-contact {
    cursor: pointer;
    transition: all 0.3s ease;
}

.whatsapp-contact:hover {
    background: linear-gradient(135deg, #e8f5e8, #f0fff0);
    border-color: #25D366;
    transform: translateY(-5px);
}

.whatsapp-contact i {
    color: #25D366 !important;
}

.whatsapp-contact:hover i {
    transform: scale(1.1);
    color: #1da851 !important;
}

.facebook-contact:hover {
    background: linear-gradient(135deg, #e8f0ff, #f0f8ff);
    border-color: #1877F2;
    transform: translateY(-5px);
}

.facebook-contact i {
    color: #1877F2 !important;
}

.facebook-contact:hover i {
    transform: scale(1.1);
    color: #166fe5 !important;
}

.instagram-contact:hover {
    background: linear-gradient(135deg, #fce4ec, #fff0f5);
    border-color: #E4405F;
    transform: translateY(-5px);
}

.instagram-contact i {
    color: #E4405F !important;
}

.instagram-contact:hover i {
    transform: scale(1.1);
    color: #d73652 !important;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2d5016, #1a3009);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #d4af37;
}

.social-media {
    text-align: center;
}

.social-media h3 {
    color: #d4af37;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid transparent;
}

.social-link i {
    font-size: 1.8rem;
}

.social-link.facebook {
    background: linear-gradient(135deg, #1877F2, #166fe5);
    color: white;
}

.social-link.facebook:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4);
    border-color: #d4af37;
}

.social-link.instagram {
    background: linear-gradient(135deg, #E4405F, #d73652);
    color: white;
}

.social-link.instagram:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(228, 64, 95, 0.4);
    border-color: #d4af37;
}

.social-link.whatsapp {
    background: linear-gradient(135deg, #25D366, #1da851);
    color: white;
}

.social-link.whatsapp:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    border-color: #d4af37;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .lang-toggle {
        margin-right: 0;
        order: -1;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .logo-subtitle {
        font-size: 0.8rem;
    }
    
    .logo-img {
        width: 40px;
        height: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .package-card.featured {
        transform: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo {
        gap: 8px;
    }
    
    .logo h1 {
        font-size: 1rem;
    }
    
    .logo-subtitle {
        font-size: 0.7rem;
    }
    
    .logo-img, .footer-logo-img {
        width: 35px;
        height: 35px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .btn-primary, .btn-secondary {
        min-width: 200px;
        padding: 0.8rem 1.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}