/* Global Styles */
* {
    font-family: 'Cairo', sans-serif;
}

.gradient-bg {
    background: linear-gradient(135deg, #0A1628 0%, #1a2744 50%, #0a1628 100%);
}

.hero-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 0);
    background-size: 40px 40px;
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    margin: 0 0.75rem;
    color: #9CA3AF;
}

/* Navigation */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 0;
    height: 2px;
    background: #0056D2;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.floating-icon {
    animation: float 3s ease-in-out infinite;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

@keyframes slideUp {
    to { opacity: 1; transform: translateY(0); }
}

.slide-up {
    animation: slideUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
}

.whatsapp-float {
    animation: pulse 2s infinite;
}

/* Cards & Components */
.service-card, .contact-card, .mission-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover, .contact-card:hover, .mission-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 86, 210, 0.15);
}

.portfolio-card {
    transition: all 0.5s ease;
}

.portfolio-card:hover {
    transform: scale(1.02);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay {
    opacity: 0;
    transition: all 0.4s ease;
}

.pricing-card, .package-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card:hover, .package-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 86, 210, 0.15);
}

.pricing-card.featured, .package-card.featured {
    border: 2px solid #0056D2;
    position: relative;
}

.pricing-card.featured::before {
    content: 'الأكثر طلباً';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #0056D2;
    color: white;
    padding: 4px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
}

.package-card.featured::before {
    content: 'الأكثر مبيعاً';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #0056D2;
    color: white;
    padding: 4px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
}

/* Process & Steps */
.process-line {
    position: relative;
}

.process-line::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #0056D2, #3B82F6);
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
}

/* Features & Social */
.feature-icon {
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
}

.feature-num {
    position: relative;
}

.feature-num::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 40px;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #0056D2, transparent);
}

.social-btn {
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-3px);
}

/* Forms & Inputs */
.form-input {
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: #0056D2;
    box-shadow: 0 0 0 4px rgba(0, 86, 210, 0.1);
}

/* Accordion */
.accord-item {
    transition: all 0.3s ease;
}

.accord-item.active {
    background: #F5F8FF;
    border-color: #0056D2;
}

.accord-item.active .accord-icon {
    transform: rotate(180deg);
}

.accord-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.accord-item.active .accord-content {
    max-height: 500px;
    padding-top: 1rem;
}

/* About & Testimonials */
.testimonial-card {
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.about-image {
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid #0056D2;
    border-radius: 1.5rem;
    z-index: -1;
}

.stat-card {
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: scale(1.05);
}

.quote-icon {
    font-size: 4rem;
    line-height: 1;
    opacity: 0.1;
}

/* Map */
.map-container {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Utility */
.check-item {
    position: relative;
    padding-right: 2rem;
}

.check-item::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    color: #0056D2;
}
