/* ========== ملف index.css - استيلات الصفحة الرئيسية ========== */
:root{
    --bg:#050506;
    --panel:#0b0b0d;
    --text:#f0f4f8;
    --muted:#a8b5c6;
    --accent:#00aaff;
    --accent-2:#0088cc;
    --accent-3:#006699;
    --secondary:#ff6b6b;
    --secondary-light:#ff8e8e;
    --radius:12px;
    --container:1200px;
}

*{box-sizing:border-box}

html,body{height:100%; margin:0; padding:0}

body{
    background: #050506;
    color:var(--text);
    font-family:"Tajawal",sans-serif;
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
    overflow-x: hidden;
    scroll-behavior: smooth;
    font-size: 16px;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutToLeft {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-100px);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(0, 170, 255, 0.5); }
    50% { box-shadow: 0 0 20px rgba(0, 170, 255, 0.8); }
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ========== تحسينات الأداء وإمكانية الوصول ========== */
img, video {
    max-width: 100%;
    height: auto;
}

img {
    loading: lazy;
}

:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent);
    color: white;
    padding: 8px;
    z-index: 10000;
    text-decoration: none;
    border-radius: 0 0 4px 0;
}

.skip-link:focus {
    top: 0;
}

/* ========== شريط التقدم ========== */
.progress-container {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

.progress-bar {
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
    width: 0%;
    transition: width 0.3s ease;
}

/* ========== زر العودة للأعلى ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--accent);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 170, 255, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-2);
    transform: translateY(-3px);
}

/* ========== HERO SECTION ========== */
.hero {
    max-width: var(--container);
    margin: 40px auto;
    padding: 30px 20px;
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
    animation: fadeInUp 1s ease-out;
}

.hero-left {
    flex: 1;
    min-width: 0;
    animation: fadeInLeft 1s ease-out 0.2s both;
}

.hero-right {
    flex: 0 0 520px;
    animation: fadeInRight 1s ease-out 0.2s both;
}

.hero h1 {
    background: linear-gradient(90deg, var(--accent), var(--secondary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 42px;
    margin: 0 0 16px;
    line-height: 1.3;
}

.hero p {
    color: var(--muted);
    font-size: 18px;
    margin: 0 0 24px;
    line-height: 1.7;
}

.hero-media {
    position: relative;
}

.hero-media img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 160, 255, 0.2);
    border: 3px solid rgba(0, 170, 255, 0.2);
    display: block;
    animation: float 6s ease-in-out infinite;
}

.hero-media::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 170, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-group {
    display: flex;
    gap: 14px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.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;
}

.btn:hover::before {
    left: 100%;
}

.btn.primary {
    background: linear-gradient(180deg, var(--accent), var(--accent-2));
    color: #fff;
}

.btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 170, 255, 0.4);
    animation: glow 2s infinite;
}

.btn.ghost {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text);
    background: transparent;
}

.btn.ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* ========== SERVICES SECTION ========== */
.section {
    max-width: var(--container);
    margin: 0 auto;
    padding: 70px 20px;
    position: relative;
}

.title {
    text-align: center;
    background: linear-gradient(90deg, var(--accent), var(--secondary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 32px;
    margin-bottom: 12px;
    font-weight: 700;
}

.lead {
    text-align: center;
    color: var(--muted);
    margin-bottom: 40px;
    font-size: 18px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

#services {
    position: relative;
    overflow: hidden;
}

#services::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(0, 170, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: stretch;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 18px;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid rgba(0, 170, 255, 0.15);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: 18px;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
    cursor: pointer;
    height: 100%;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 170, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 170, 255, 0.2);
    border-color: rgba(0, 170, 255, 0.4);
}

.service-card .icon {
    background: rgba(0, 170, 255, 0.15);
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--accent);
    margin-inline: auto;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
    animation: float 4s ease-in-out infinite;
}

.service-card:hover .icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 10px 25px rgba(0, 170, 255, 0.4);
    animation: pulse 1s infinite;
}

.service-card h3 {
    background: linear-gradient(90deg, var(--accent), var(--secondary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 6px 0;
    font-size: 20px;
    font-weight: 700;
    position: relative;
    z-index: 2;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card p {
    color: var(--muted);
    margin: 0;
    flex: 1;
    position: relative;
    z-index: 2;
    line-height: 1.6;
    font-size: 15px;
}

.service-hint {
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    margin-top: 10px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.service-card:hover .service-hint {
    opacity: 1;
    transform: translateX(-5px);
}

/* ========== PORTFOLIO STYLES ========== */
.portfolio-gallery,
.portfolio-video-gallery {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    cursor: grab;
    padding: 15px 0;
    scroll-behavior: smooth;
}

.portfolio-gallery::-webkit-scrollbar,
.portfolio-video-gallery::-webkit-scrollbar {
    display: none;
}

.gallery-track img,
.video-track video {
    height: 399px;
    width: auto;
    margin-right: 20px;
    border-radius: 20px;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-track img:hover,
.video-track video:hover {
    transform: scale(1.08);
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.portfolio-cta {
    text-align: center;
    padding: 30px 0;
}

.btn.large {
    padding: 15px 30px;
    font-size: 18px;
}

/* ========== LIGHTBOX ========== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 95%;
    max-height: 95%;
    border-radius: 12px;
    animation: zoomIn 0.4s;
    display: none;
}

@keyframes zoomIn {
    from {transform: scale(0.7); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.7);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.close-btn:hover {
    color: #ff6b6b;
    background: rgba(0, 0, 0, 0.9);
    transform: rotate(90deg);
    border-color: rgba(255, 107, 107, 0.5);
}

/* ========== قسم "لماذا تختارنا؟" ========== */
.why-choose-us-section {
    position: relative;
    overflow: hidden;
    padding: 80px 20px;
}

.why-choose-us-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(0, 170, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.reasons-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    direction: ltr;
    padding: 20px 0;
    margin: 40px 0;
}

.reasons-slider .slider-track {
    display: flex;
    gap: 25px;
    width: max-content;
    animation: scrollLoop 40s linear infinite;
}

.reasons-slider.paused .slider-track {
    animation-play-state: paused;
}

@keyframes scrollLoop {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.reason-card {
    width: 320px;
    min-height: 380px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(0, 170, 255, 0.2);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 30px;
    color: #fff;
    text-align: center;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.reason-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 170, 255, 0.25);
    border-color: rgba(0, 170, 255, 0.4);
}

.reason-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 170, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.reason-card:hover::before {
    opacity: 1;
}

.reason-number {
    font-size: 70px;
    font-weight: 900;
    color: rgba(0, 170, 255, 0.1);
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
    z-index: 1;
}

.reason-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(0, 170, 255, 0.3);
}

.reason-card:hover .reason-icon {
    transform: rotate(15deg) scale(1.1);
    box-shadow: 0 15px 30px rgba(0, 170, 255, 0.4);
}

.reason-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--accent);
    position: relative;
    z-index: 2;
}

.reason-desc {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--muted);
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.reason-features {
    text-align: right;
    font-size: 14px;
    line-height: 1.8;
    margin-top: 20px;
    position: relative;
    z-index: 2;
}

.reason-features li {
    padding: 8px 0;
    color: var(--muted);
    position: relative;
    padding-right: 25px;
    transition: all 0.3s ease;
}

.reason-features li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--accent);
    font-weight: bold;
    transition: all 0.3s ease;
}

.reason-card:hover .reason-features li {
    color: var(--text);
    transform: translateX(-5px);
}

.reason-card:hover .reason-features li::before {
    color: var(--secondary-light);
}

/* ========== قسم الإحصائيات ========== */
.stats {
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 170, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid rgba(0, 170, 255, 0.15);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 170, 255, 0.2);
    border-color: rgba(0, 170, 255, 0.3);
}

.stat-icon {
    font-size: 40px;
    margin-bottom: 15px;
    animation: float 4s ease-in-out infinite;
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    background: linear-gradient(90deg, var(--accent), var(--secondary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    color: var(--muted);
    font-size: 16px;
}

/* ========== قسم آراء العملاء ========== */
.testimonials {
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 20%, rgba(255, 107, 107, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials-slider-container {
    max-width: 900px;
    margin: 40px auto 0;
    position: relative;
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    height: 300px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
    animation: slideInFromRight 0.5s ease-out;
}

.testimonial-slide.leaving {
    opacity: 0;
    transform: translateX(-100px);
    animation: slideOutToLeft 0.5s ease-out;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
    width: 100%;
}

.testimonial-text {
    color: var(--muted);
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 18px;
    position: relative;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    font-size: 60px;
    color: var(--accent);
    opacity: 0.3;
    position: absolute;
    line-height: 1;
}

.testimonial-text::before {
    top: -20px;
    right: -10px;
}

.testimonial-text::after {
    bottom: -40px;
    left: -10px;
    transform: rotate(180deg);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 24px;
    flex-shrink: 0;
}

.author-info {
    text-align: right;
}

.author-info h4 {
    margin: 0 0 5px;
    color: var(--accent);
    font-size: 18px;
}

.author-info p {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 14px;
}

.rating {
    color: gold;
    font-size: 16px;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.slider-btn {
    background: var(--accent);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.slider-btn:hover {
    background: var(--accent-2);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

/* ========== قسم الأسئلة الشائعة ========== */
.faq-section {
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(0, 170, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 170, 255, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-item:hover::before {
    opacity: 1;
}

.faq-question {
    padding: 22px 25px;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 17px;
    font-weight: 600;
    text-align: right;
    width: 100%;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.03);
    color: var(--accent);
}

.faq-question i {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--accent);
    font-size: 18px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--secondary-light);
}

.faq-item.active {
    border-color: rgba(0, 170, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 170, 255, 0.15);
    transform: translateY(-2px);
}

.faq-item.active .faq-question {
    color: var(--accent);
    background: rgba(0, 170, 255, 0.05);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--muted);
    line-height: 1.7;
    font-size: 16px;
    position: relative;
    z-index: 1;
}

.faq-item.active .faq-answer {
    padding: 0 25px 25px;
    max-height: 500px;
    animation: fadeInUp 0.5s ease-out;
}

/* ========== قسم التواصل ========== */
.contact-section {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(0, 170, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(0, 170, 255, 0.2);
    box-shadow: 0 15px 40px rgba(0, 170, 255, 0.1);
    animation: fadeInLeft 0.8s ease-out;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 170, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.form-header {
    margin-bottom: 40px;
    text-align: center;
    padding: 25px;
    background: rgba(0, 170, 255, 0.05);
    border-radius: 18px;
    border: 1px solid rgba(0, 170, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.form-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 170, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.form-title {
    background: linear-gradient(90deg, var(--accent), var(--secondary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 28px;
    margin-bottom: 12px;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 170, 255, 0.2);
}

.form-subtitle {
    color: var(--muted);
    font-size: 16px;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
    padding: 8px 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text);
    font-weight: 600;
    font-size: 15px;
}

.input-with-icon {
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 50px 16px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: "Tajawal", sans-serif;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 170, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.form-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-size: 18px;
}

.form-footer {
    margin-top: 25px;
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.form-note {
    color: var(--muted);
    font-size: 14px;
    margin-top: 15px;
    padding: 12px;
    background: rgba(0, 170, 255, 0.05);
    border-radius: 8px;
    border-right: 3px solid var(--accent);
}

.contact-info-container {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    animation: fadeInRight 0.8s ease-out;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.contact-info-container::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.info-header {
    margin-bottom: 40px;
    text-align: center;
}

.info-title {
    background: linear-gradient(90deg, var(--accent), var(--secondary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 26px;
    margin-bottom: 12px;
    font-weight: 700;
}

.info-subtitle {
    color: var(--muted);
    font-size: 16px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-method:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 170, 255, 0.2);
    box-shadow: 0 10px 25px rgba(0, 170, 255, 0.15);
}

.method-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-method:hover .method-icon {
    transform: scale(1.1) rotate(10deg);
}

.method-info {
    flex: 1;
}

.method-info h4 {
    margin: 0 0 8px;
    color: var(--accent);
    font-size: 18px;
    font-weight: 700;
}

.method-info p {
    margin: 0 0 10px;
    color: var(--text);
    font-size: 15px;
}

.method-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.method-link:hover {
    color: var(--secondary-light);
    transform: translateX(-5px);
}

.social-section {
    margin-bottom: 40px;
}

.social-title {
    color: var(--text);
    margin-bottom: 20px;
    font-size: 20px;
    text-align: center;
    font-weight: 700;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 20px;
    border: 1px solid rgba(0, 170, 255, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 170, 255, 0.3);
}

.business-hours {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid rgba(0, 170, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.business-hours::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 170, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hours-title {
    color: var(--text);
    margin-bottom: 20px;
    font-size: 20px;
    text-align: center;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.hours-container {
    position: relative;
    z-index: 1;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    position: relative;
    z-index: 1;
}

.hour-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hour-item span:first-child {
    color: var(--text);
    font-weight: 600;
    font-size: 15px;
}

.hour-item span:last-child {
    color: var(--accent);
    font-weight: 700;
    font-size: 15px;
}

.hours-note {
    color: var(--muted);
    font-size: 14px;
    text-align: center;
    margin-top: 15px;
    padding: 10px;
    background: rgba(0, 170, 255, 0.05);
    border-radius: 8px;
    position: relative;
    z-index: 1;
}

.form-status {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    text-align: center;
    display: none;
    font-weight: 600;
    animation: fadeInUp 0.5s ease-out;
}

.form-status.success {
    background: rgba(76, 175, 80, 0.15);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
    display: block;
}

.form-status.error {
    background: rgba(244, 67, 54, 0.15);
    color: #F44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
    display: block;
}

.form-status.sending {
    background: rgba(33, 150, 243, 0.15);
    color: var(--accent);
    border: 1px solid rgba(33, 150, 243, 0.3);
    display: block;
}

.success-message {
    display: none;
    background: rgba(76, 175, 80, 0.15);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    margin-top: 20px;
    animation: fadeInUp 0.5s ease-out;
}

.success-message.show {
    display: block;
}

.success-message h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #4CAF50;
    font-size: 20px;
}

.success-message p {
    margin-bottom: 15px;
    line-height: 1.6;
}

/* ========== FOOTER ========== */
.site-footer {
    padding: 30px 16px;
    color: var(--muted);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 40px;
    font-size: 16px;
    animation: fadeInUp 0.8s ease-out;
}

/* ========== نافذة عرض الصور والفيديو المحسنة ========== */
.video-popup,
.image-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-popup.show,
.image-popup.show {
    display: flex;
    opacity: 1;
}

.popup-content,
.image-popup-content {
    width: 90%;
    max-width: 900px;
    border-radius: 15px;
    box-shadow: 0 0 50px rgba(0, 188, 212, 0.5);
    transform: scale(0.7);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    background: #000;
    overflow: hidden;
}

.video-popup.show .popup-content,
.image-popup.show .image-popup-content {
    transform: scale(1);
}

.popup-video,
.popup-image {
    width: 100%;
    height: auto;
    max-height: 70vh;
    display: block;
    border-radius: 15px 15px 0 0;
    object-fit: contain;
}

.video-info,
.image-info {
    padding: 20px;
    color: white;
    text-align: center;
    background: #111;
}

.video-title,
.image-title {
    color: #00bcd4;
    font-size: 1.3rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.video-desc,
.image-desc {
    color: #bbb;
    font-size: 1rem;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1100px) {
    .hero-right {
        flex: 0 0 450px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .contact-content {
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .hero-left,
    .hero-right {
        flex: 1;
        width: 100%;
    }
    
    .hero-right {
        max-width: 600px;
    }
    
    .cta-group {
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .stat-card {
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .service-card h3 {
        min-height: auto;
        font-size: 19px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-form-container,
    .contact-info-container {
        padding: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonials-slider {
        height: 350px;
    }
    
    .gallery-track img,
    .video-track video {
        height: 350px;
        margin-right: 15px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 17px;
    }

    .section {
        padding: 50px 16px;
    }

    .service-card {
        padding: 20px 16px;
    }
    
    .service-card .icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
    
    .service-card h3 {
        font-size: 18px;
    }

    .contact-form-container,
    .contact-info-container {
        padding: 25px;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .method-info {
        text-align: center;
    }
    
    .social-icons {
        flex-wrap: wrap;
    }
    
    .testimonials-slider {
        height: 400px;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .testimonial-text {
        font-size: 16px;
    }
    
    .form-title,
    .info-title {
        font-size: 24px;
    }
    
    .business-hours {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 17px;
    }
    
    .logo {
        width: 40px;
        height: 40px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .btn {
        padding: 14px 20px;
        font-size: 16px;
        width: 100%;
        margin-bottom: 10px;
        text-align: center;
    }

    .cta-group {
        gap: 10px;
        flex-direction: column;
    }

    .service-card {
        padding: 20px 15px;
    }

    .service-card .icon {
        width: 65px;
        height: 65px;
        font-size: 26px;
    }
    
    .service-card h3 {
        font-size: 17px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .title {
        font-size: 28px;
    }
    
    .lead {
        font-size: 17px;
    }
    
    .section {
        padding: 40px 16px;
    }
    
    .hero {
        margin: 20px auto;
        padding: 20px 16px;
    }
    
    .service-card h3 {
        font-size: 20px;
    }
    
    .reason-card {
        width: 280px;
        min-height: 350px;
        padding: 25px;
    }
    
    .reason-number {
        font-size: 60px;
        top: 5px;
        right: 15px;
    }
    
    .reason-icon {
        width: 70px;
        height: 70px;
        font-size: 30px;
    }
    
    .reason-title {
        font-size: 20px;
    }
    
    .reason-desc {
        font-size: 15px;
    }
    
    .contact-form-container,
    .contact-info-container {
        padding: 20px;
        border-radius: 16px;
    }
    
    .form-title,
    .info-title {
        font-size: 22px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 45px 14px 14px;
        font-size: 16px;
    }
    
    .form-icon {
        left: 12px;
        font-size: 16px;
    }
    
    .contact-method {
        padding: 15px;
    }
    
    .method-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .business-hours {
        padding: 18px;
    }
    
    .testimonials-slider {
        height: 450px;
    }
    
    .testimonial-author {
        flex-direction: column;
    }
    
    .author-info {
        text-align: center;
    }
    
    .faq-question {
        padding: 18px 20px;
        font-size: 16px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }
}

@media (max-width: 360px) {
    .logo-text {
        font-size: 1.1rem;
    }
    
    .hero h1 {
        font-size: 24px;
    }
}