/* 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 Styles */
.header {
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 50%, #5c6bc0 100%);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.navbar {
    padding: 0.8rem 0;
}

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

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

.logo-img {
    height: 65px;
    width: auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    background: rgba(255, 255, 255, 1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.nav-link:hover {
    color: #ffffff;
    background: linear-gradient(45deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #64b5f6, #42a5f5);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::before {
    width: 80%;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    margin-left: 1rem;
}

.lang-btn {
    background: linear-gradient(45deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    padding: 0.6rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.lang-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.lang-btn:hover::before {
    left: 100%;
}

.lang-btn:hover {
    background: linear-gradient(45deg, rgba(255,255,255,0.25), rgba(255,255,255,0.15));
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.lang-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.lang-btn i {
    font-size: 1.1rem;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.lang-btn:hover i {
    animation-duration: 0.5s;
}

.lang-text {
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* RTL/LTR Support */
body.rtl {
    direction: rtl;
    text-align: right;
}

body.ltr {
    direction: ltr;
    text-align: left;
}

/* RTL Navigation adjustments */
body.rtl .nav-menu {
    flex-direction: row-reverse;
}

body.rtl .language-switcher {
    margin-left: 0;
    margin-right: 1rem;
}

body.rtl .hero-content {
    text-align: right;
}

body.ltr .hero-content {
    text-align: left;
}

/* RTL Grid adjustments */
body.rtl .services-grid,
body.rtl .contact-grid {
    direction: rtl;
}

body.rtl .service-card,
body.rtl .contact-card {
    text-align: right;
}

body.ltr .service-card,
body.ltr .contact-card {
    text-align: left;
}

/* RTL Button adjustments */
body.rtl .cta-buttons {
    justify-content: flex-end;
}

body.ltr .cta-buttons {
    justify-content: flex-start;
}

/* RTL Service items */
body.rtl .service-item {
    flex-direction: row-reverse;
}

body.rtl .service-item:hover {
    transform: translateX(10px);
}

body.ltr .service-item:hover {
    transform: translateX(-10px);
}

/* RTL Footer adjustments */
body.rtl .footer-section i {
    margin-left: 0;
    margin-right: 10px;
}

body.rtl .footer-section h3 i {
    margin-left: 0;
    margin-right: 10px;
}

/* Smooth transitions for language switching */
* {
    transition: text-align 0.3s ease, direction 0.3s ease;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.hamburger:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.bar {
    width: 28px;
    height: 3px;
    background: linear-gradient(90deg, #ffffff, #e3f2fd);
    margin: 4px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

/* Hero Video Background */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1;
}

.hero-content {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-text {
    animation: slideInUp 1s ease-out;
    max-width: 800px;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-text h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: #ffd700;
    color: #333;
}

.btn-primary:hover {
    background-color: #ffed4e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #333;
    transform: translateY(-2px);
}



/* Gallery Carousel Section */
.gallery {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.gallery h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: #333;
}

.carousel-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.carousel {
    position: relative;
    width: 100%;
    height: 400px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px 20px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.carousel-dots {
    text-align: center;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.9);
}

.dot {
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active,
.dot:hover {
    background-color: #667eea;
}

/* Featured Services */
.featured-services {
    padding: 80px 0;
    background-color: white;
}

.featured-services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
}

.service-card:nth-child(1),
.service-card:nth-child(2),
.service-card:nth-child(3) {
    grid-column: span 2;
}

.service-card:nth-child(4) {
    grid-column: 2 / 4;
}

.service-card:nth-child(5) {
    grid-column: 4 / 6;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

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

.service-card i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
    text-align: center;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
}

.about-text > p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    text-align: center;
    color: #555;
}

.vision-mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.vision, .mission {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.vision h3, .mission h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.vision i, .mission i {
    margin-left: 10px;
}

.values {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.values h3 {
    color: #667eea;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-align: center;
}

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

.value-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.value-item:hover {
    background-color: #e9ecef;
}

.value-item i {
    color: #28a745;
    font-size: 1.2rem;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: white;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.services-list {
    max-width: 900px;
    margin: 0 auto;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    margin-bottom: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateX(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: white;
}

.service-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.service-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #333;
}

.service-content p {
    color: #666;
    line-height: 1.7;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a2a45 0%, #1f375f 100%);
    color: white;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.contact-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 4rem auto;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.contact-card i {
    font-size: 2.5rem;
    color: #ffd700;
    margin-bottom: 1.5rem;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.contact-card p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.contact-card a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: #ffd700;
}

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





/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #ffd700;
}

.footer-section h3 i {
    margin-left: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffd700;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-section i {
    margin-left: 10px;
    color: #ffd700;
}

/* Social Media Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
    z-index: -1;
}

.social-link:hover::before {
    transform: scale(1);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.social-link.facebook {
    background: linear-gradient(135deg, #3b5998, #4267B2);
}

.social-link.facebook::before {
    background: linear-gradient(135deg, #4267B2, #5578c4);
}

.social-link.instagram {
    background: linear-gradient(135deg, #E4405F, #C13584, #833AB4);
}

.social-link.instagram::before {
    background: linear-gradient(135deg, #F56040, #E1306C, #9B59B6);
}

.social-link.linkedin {
    background: linear-gradient(135deg, #0077B5, #0e76a8);
}

.social-link.linkedin::before {
    background: linear-gradient(135deg, #0e76a8, #127fb8);
}

.social-link.tiktok {
    background: linear-gradient(135deg, #000000, #ff0050);
}

.social-link.tiktok::before {
    background: linear-gradient(135deg, #ff0050, #ff4081);
}

.social-link i {
    position: relative;
    z-index: 1;
    margin: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999;
}

/* Tablet Design */
@media (max-width: 1024px) and (min-width: 769px) {
    .services-grid {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 2rem;
    }
    
    .service-card:nth-child(1),
    .service-card:nth-child(2),
    .service-card:nth-child(3) {
        grid-column: span 2;
    }
    
    .service-card:nth-child(4) {
        grid-column: 2 / 4;
    }
    
    .service-card:nth-child(5) {
        grid-column: 4 / 6;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        z-index: 1001;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .logo-img {
        height: 50px;
        padding: 8px 12px;
    }
    
    .nav-menu {
        position: fixed;
        right: -100%;
        top: 0;
        flex-direction: column;
        background: linear-gradient(135deg, #1a237e 0%, #3949ab 50%, #5c6bc0 100%);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: -5px 0 20px rgba(0,0,0,0.3);
        padding: 120px 0 2rem;
        z-index: 1000;
        backdrop-filter: blur(10px);
        justify-content: flex-start;
        gap: 0;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-link {
        display: block;
        padding: 20px 30px;
        font-size: 1.1rem;
        font-weight: 600;
        border-radius: 0;
        transition: all 0.3s ease;
        border-left: 4px solid transparent;
    }
    
    .nav-link:hover {
        background: rgba(255,255,255,0.15);
        border-left-color: #ffd700;
        transform: translateX(-10px);
    }
    
    /* إخفاء زر الترجمة من شريط التنقل في الجوال فقط */
    .nav-container > .language-switcher {
        display: none !important;
    }
    
    /* زر الترجمة الثابت في الأسفل للجوال */
    body > .language-switcher {
        position: fixed;
        bottom: 20px;
        left: 20px;
        margin: 0;
        z-index: 1001;
        display: block !important;
    }
    
    .lang-btn {
        padding: 12px 18px;
        font-size: 0.9rem;
        min-height: 48px;
        min-width: 65px;
        border-radius: 25px;
        backdrop-filter: blur(15px);
        background: linear-gradient(45deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
        border: 2px solid rgba(255,255,255,0.3);
        box-shadow: 0 6px 20px rgba(0,0,0,0.3);
        transition: all 0.3s ease;
    }
    
    .lang-btn:hover {
        background: linear-gradient(45deg, rgba(102, 126, 234, 1), rgba(118, 75, 162, 1));
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    }
    
    /* RTL adjustments for mobile - زر الترجمة يبقى في نفس المكان */
    body.rtl .language-switcher {
        left: 20px;
        right: auto;
    }
    
    .hero {
        min-height: 85vh;
        padding: 120px 0 80px;
        display: flex;
        align-items: center;
    }
    
    .hero-video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: -1;
    }
    
    .hero-content {
        padding: 0 20px;
        text-align: center;
        width: 100%;
    }
    
    .hero-text {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1.8rem;
        font-weight: 700;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    }
    
    .hero-text h2 {
        font-size: 1.4rem;
        margin-bottom: 1.8rem;
        line-height: 1.4;
        font-weight: 500;
        opacity: 0.95;
    }
    
    .hero-text p {
        font-size: 1.1rem;
        line-height: 1.7;
        margin-bottom: 2.5rem;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
        margin-top: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        padding: 18px 30px;
        font-size: 1.15rem;
        text-align: center;
        font-weight: 600;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        transition: all 0.3s ease;
    }
    
    .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    }
    
    .carousel {
        height: 250px;
    }
    
    .carousel-btn {
        padding: 10px 15px;
        font-size: 16px;
    }
    
    .hero-icon {
        font-size: 8rem;
    }
    
    .featured-services {
        padding: 60px 0;
    }
    
    .featured-services h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        grid-column: span 1 !important;
        padding: 1.5rem;
        margin: 0 10px;
    }
    
    .service-card i {
        font-size: 2.5rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    .services {
        padding: 60px 0;
    }
    
    .services h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .service-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin: 0 auto;
    }
    
    .vision-mission {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .vision, .mission {
        padding: 1.5rem;
    }
    
    .values {
        padding: 1.5rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .value-item {
        justify-content: center;
        text-align: center;
    }
    
    .about {
        padding: 60px 0;
    }
    
    .about h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .about-text > p {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 10px;
    }
    
    .contact {
        padding: 60px 0;
    }
    
    .contact h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .contact-intro {
        font-size: 1rem;
        margin-bottom: 2.5rem;
        padding: 0 15px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }
    
    .contact-card {
        padding: 2rem 1.5rem;
        margin: 0 15px;
    }
    
    .contact-card i {
        font-size: 2rem;
    }
    
    .contact-card h3 {
        font-size: 1.3rem;
    }
    
    .footer {
        padding: 2.5rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-section {
        padding: 0 15px;
    }
    
    .footer-section h3,
    .footer-section h4 {
        font-size: 1.2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    /* تنسيقات وسائل التواصل الاجتماعي للموبايل */
    .social-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.8rem;
        margin-top: 1.5rem;
    }
    
    .social-link {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: 75vh;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.15;
        margin-bottom: 1.5rem;
    }
    
    .hero-text h2 {
        font-size: 1.2rem;
        margin-bottom: 1.3rem;
        line-height: 1.3;
    }
    
    .hero-text p {
        font-size: 1rem;
        margin-bottom: 2rem;
        line-height: 1.6;
        max-width: 95%;
    }
    
    .btn {
        padding: 15px 25px;
        font-size: 1.05rem;
        min-height: 50px;
        width: 100%;
        max-width: 280px;
        border-radius: 10px;
    }
    
    .featured-services {
        padding: 50px 0;
    }
    
    .featured-services h2 {
        font-size: 1.8rem;
    }
    
    .service-card {
        padding: 1.2rem;
        margin: 0 5px;
    }
    
    .service-card i {
        font-size: 2.2rem;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
    }
    
    .services {
        padding: 50px 0;
    }
    
    .services h2 {
        font-size: 1.8rem;
    }
    
    .service-item {
        padding: 1.2rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .about {
        padding: 50px 0;
    }
    
    .about h2 {
        font-size: 1.8rem;
    }
    
    .vision, .mission, .values {
        padding: 1.2rem;
    }
    
    .contact {
        padding: 50px 0;
    }
    
    .contact h2 {
        font-size: 1.8rem;
    }
    
    .contact-card {
        padding: 1.5rem 1rem;
        margin: 0 10px;
    }
    
    .contact-card i {
        font-size: 1.8rem;
    }
    
    .contact-card h3 {
        font-size: 1.2rem;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-section h3,
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .nav-link {
        padding: 18px 25px;
        font-size: 1rem;
    }
    
    .lang-btn {
        padding: 8px 14px;
        font-size: 0.85rem;
        min-height: 40px;
        min-width: 55px;
        border-radius: 20px;
    }
    
    .lang-btn i {
        font-size: 1rem;
    }
    
    .lang-text {
        font-size: 0.8rem;
        font-weight: 700;
    }
    
    /* تنسيقات وسائل التواصل الاجتماعي للشاشات الصغيرة جداً */
    .social-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.6rem;
        margin-top: 1.2rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    /* تحسين التفاعل للمس */
    .service-card,
    .contact-card,
    .btn,
    .nav-link {
        -webkit-tap-highlight-color: rgba(0,0,0,0.1);
        touch-action: manipulation;
    }
    
    /* تحسين المسافات للمس */
    .cta-buttons {
        gap: 0.8rem;
    }
    
    .services-grid {
        gap: 1.2rem;
    }
    
    .contact-grid {
        gap: 1.2rem;
    }
}

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

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

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.service-item,
.contact-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Hover Effects */
.service-card:hover i {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(-5px);
    transition: transform 0.3s ease;
}

/* WhatsApp Button Styling */
.contact-item a[href*="wa.me"] {
    background: #25d366;
    padding: 5px 10px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 5px;
    transition: background-color 0.3s ease;
}

.contact-item a[href*="wa.me"]:hover {
    background: #128c7e;
    color: white;
}