/* ============================================
   GLOBAL STYLES & RESET - Sysora Enhanced
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 🎨 ألوان أغمق وأكثر وضوحاً */
    --primary-color: #0099CC;
    --primary-light: #00B8E6;
    --primary-dark: #007799;
    --secondary-color: #2C4A66;
    --accent-color: #7B52CC;
    --accent-light: #9A75DD;
    --text-dark: #0F1419;
    --text-medium: #2D3748;
    --text-light: #4A5568;
    --bg-light: #F7FAFC;
    --bg-white: #FFFFFF;
    --border-color: #D1D5DB;
    
    /* 🎨 Gradients محسّنة بألوان أغمق */
    --gradient-primary: linear-gradient(135deg, #0099CC 0%, #7B52CC 100%);
    --gradient-secondary: linear-gradient(135deg, #2C4A66 0%, #0099CC 100%);
    --gradient-accent: linear-gradient(135deg, #7B52CC 0%, #0099CC 100%);
    --gradient-bright: linear-gradient(135deg, #00B8E6 0%, #9A75DD 100%);
    
    /* 🌟 Shadows محسّنة */
    --shadow-sm: 0 2px 8px rgba(0, 153, 204, 0.12);
    --shadow-md: 0 4px 12px rgba(0, 153, 204, 0.18);
    --shadow-lg: 0 10px 30px rgba(0, 153, 204, 0.25);
    --shadow-xl: 0 20px 50px rgba(0, 153, 204, 0.3);
    --shadow-glow: 0 0 20px rgba(0, 153, 204, 0.35);
    
    /* Typography */
    --font-arabic: 'Tajawal', sans-serif;
    --font-english: 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 50%;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-arabic);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.7;
    overflow-x: hidden;
    transition: var(--transition-normal);
}

body[dir="ltr"] {
    font-family: var(--font-english);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

/* ============================================
   NAVIGATION - مع لوقو دائري جميل
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0;
    gap: 2rem;
}

/* 🎯 لوقو دائري مع تأثيرات جميلة */
.logo {
    position: relative;
}

.logo img {
    height: 50px;
    width: 50px;
    object-fit: contain;
    padding: 6px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(155, 111, 232, 0.1) 100%);
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
}

.logo img::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    z-index: -1;
    opacity: 0;
    transition: var(--transition-normal);
}

.logo img:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    transition: var(--transition-fast);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: var(--transition-normal);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    background: var(--gradient-bright);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-md);
}

.lang-toggle:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.lang-icon {
    font-size: 1.2rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

@media (max-width: 1024px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: white;
        padding: 1rem;
        gap: 0;
        box-shadow: var(--shadow-lg);
        max-height: 0;
        overflow: hidden;
        transition: var(--transition-normal);
    }
    
    .nav-links.active {
        max-height: 500px;
        padding: 1rem;
    }
    
    .nav-links li {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .menu-toggle {
        display: flex;
    }
}

/* ============================================
   HERO SECTION - ألوان أزهى
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 0 4rem;
    overflow: hidden;
    background: linear-gradient(135deg, #B8E6F5 0%, #DBC7F0 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    opacity: 0.15;
}

.hero-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    animation: float 20s infinite ease-in-out;
    filter: blur(40px);
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--gradient-bright);
    top: 5%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 350px;
    height: 350px;
    background: var(--gradient-accent);
    bottom: 15%;
    left: 5%;
    animation-delay: 5s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: var(--gradient-secondary);
    top: 45%;
    left: 45%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(40px, -40px) scale(1.15);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.95);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 1.75rem;
    background: var(--gradient-bright);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease;
    text-shadow: 0 4px 20px rgba(0, 153, 204, 0.4);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-description {
    font-size: 1.35rem;
    color: var(--text-medium);
    margin-bottom: 3rem;
    line-height: 1.9;
    animation: fadeInUp 1s ease 0.2s backwards;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.btn {
    padding: 1.15rem 2.5rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all var(--transition-fast);
    display: inline-block;
    cursor: pointer;
    border: 3px solid transparent;
}

.btn-primary {
    background: var(--gradient-bright);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 3px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 5rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s backwards;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--gradient-bright);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    color: var(--text-medium);
    font-size: 1.05rem;
    font-weight: 600;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 5rem 0 3rem;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 1.65rem;
        line-height: 1.4;
        padding: 0 1.5rem;
        word-break: break-word;
        hyphens: auto;
        max-width: 100%;
        white-space: normal;
    }
    
    .hero-description {
        font-size: 1rem;
        padding: 0 1.5rem;
        line-height: 1.7;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        padding: 0 1rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
        margin-top: 3rem;
        padding: 0 1rem;
    }
    
    .stat {
        padding: 1.25rem 1rem;
        min-width: 120px;
    }
    
    .stat-number {
        font-size: 2.25rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
        text-align: center;
    }
    
    .logo img {
        height: 45px;
        width: 45px;
    }
}

/* ============================================
   SECTIONS COMMON STYLES
   ============================================ */
section {
    padding: var(--spacing-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-tag {
    display: inline-block;
    padding: 0.65rem 1.5rem;
    background: linear-gradient(135deg, rgba(0, 153, 204, 0.2) 0%, rgba(123, 82, 204, 0.2) 100%);
    color: var(--primary-color);
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 2px solid rgba(0, 153, 204, 0.4);
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-medium);
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 500;
}

@media (max-width: 768px) {
    section {
        padding: var(--spacing-2xl) 0;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .section-subtitle {
        font-size: 1.05rem;
    }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background: var(--bg-white);
}

.about-content {
    display: grid;
    gap: 3.5rem;
}

.about-text {
    font-size: 1.15rem;
    line-height: 2;
    color: var(--text-medium);
}

.about-text p {
    margin-bottom: 1.75rem;
}

.about-text strong {
    color: var(--primary-color);
    font-weight: 800;
}

.about-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.vision-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(155, 111, 232, 0.08) 100%);
    padding: 2.5rem;
    border-radius: var(--radius-2xl);
    border: 3px solid transparent;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-bright);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.vision-card:hover::before {
    transform: scaleX(1);
}

.vision-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.vision-icon {
    font-size: 3.5rem;
    margin-bottom: 1.25rem;
}

.vision-card h3 {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
}

.vision-card p {
    color: var(--text-medium);
    line-height: 1.9;
    font-weight: 500;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    background: linear-gradient(135deg, #F8FAFC 0%, #E0F7FF 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    position: relative;
    border: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.service-card.featured {
    background: var(--gradient-bright);
    color: white;
    box-shadow: var(--shadow-lg);
}

.service-card.featured * {
    color: white !important;
}

.featured-badge {
    position: absolute;
    top: -18px;
    right: 25px;
    background: var(--accent-color);
    color: white;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

[dir="rtl"] .featured-badge {
    right: auto;
    left: 25px;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(155, 111, 232, 0.15) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    color: var(--primary-color);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(8deg);
}

.service-card.featured .service-icon {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}

.service-icon svg {
    width: 40px;
    height: 40px;
}

.service-card h3 {
    font-size: 1.65rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
}

.service-description {
    color: var(--text-medium);
    margin-bottom: 1.75rem;
    line-height: 1.8;
    font-weight: 500;
}

.service-for,
.service-deliverables {
    margin-top: 1.75rem;
}

.service-for strong,
.service-deliverables strong {
    display: block;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.service-card.featured .service-for strong,
.service-card.featured .service-deliverables strong {
    color: white;
}

.service-for ul,
.service-deliverables ul {
    list-style: none;
    padding: 0;
}

.service-for li,
.service-deliverables li {
    padding: 0.65rem 0;
    padding-right: 1.75rem;
    position: relative;
    color: var(--text-medium);
    font-size: 1rem;
    font-weight: 500;
}

[dir="rtl"] .service-for li,
[dir="rtl"] .service-deliverables li {
    padding-right: 0;
    padding-left: 1.75rem;
}

.service-for li::before,
.service-deliverables li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--primary-color);
    font-weight: 900;
    font-size: 1.15rem;
}

[dir="rtl"] .service-for li::before,
[dir="rtl"] .service-deliverables li::before {
    right: auto;
    left: 0;
}

.service-card.featured .service-for li::before,
.service-card.featured .service-deliverables li::before {
    color: white;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works {
    background: white;
}

.steps-container {
    display: grid;
    gap: 3.5rem;
    max-width: 950px;
    margin: 0 auto;
}

.step {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2.5rem;
    align-items: center;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(155, 111, 232, 0.05) 100%);
    border-radius: var(--radius-2xl);
    border-right: 5px solid var(--primary-color);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

[dir="rtl"] .step {
    border-right: none;
    border-left: 5px solid var(--primary-color);
}

.step:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.12) 0%, rgba(155, 111, 232, 0.12) 100%);
    transform: translateX(-12px);
    box-shadow: var(--shadow-lg);
}

[dir="ltr"] .step:hover {
    transform: translateX(12px);
}

.step-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--gradient-bright);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.step-content h3 {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.step-content p {
    color: var(--text-medium);
    line-height: 1.9;
    font-weight: 500;
}

.step-icon {
    font-size: 3.5rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .step {
        grid-template-columns: 1fr;
        text-align: center;
        border-right: none;
        border-left: none;
        border-top: 5px solid var(--primary-color);
    }
    
    .step:hover {
        transform: translateY(-8px);
    }
}

/* ============================================
   WHY US SECTION
   ============================================ */
.why-us {
    background: linear-gradient(135deg, #E0F7FF 0%, #F3E8FF 100%);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.why-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-2xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 3px solid transparent;
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.why-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.why-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
}

.why-card p {
    color: var(--text-medium);
    line-height: 1.9;
    font-size: 1.05rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio {
    background: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.portfolio-item {
    background: white;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 3px solid transparent;
}

.portfolio-item:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.portfolio-image {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
    transition: var(--transition-slow);
}

.portfolio-item:hover .portfolio-placeholder {
    transform: scale(1.15);
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.portfolio-content p {
    color: var(--text-medium);
    margin-bottom: 1.25rem;
    line-height: 1.8;
    font-weight: 500;
}

.portfolio-tags {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.portfolio-tags span {
    padding: 0.5rem 1.1rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(155, 111, 232, 0.15) 100%);
    color: var(--primary-color);
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    font-weight: 700;
}

.portfolio-notice {
    margin-top: 3.5rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(155, 111, 232, 0.08) 100%);
    border-radius: var(--radius-2xl);
    border-right: 5px solid var(--primary-color);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

[dir="rtl"] .portfolio-notice {
    border-right: none;
    border-left: 5px solid var(--primary-color);
}

.portfolio-notice p {
    color: var(--text-medium);
    line-height: 1.9;
    font-size: 1.15rem;
    font-weight: 500;
}

.portfolio-notice strong {
    font-size: 1.75rem;
    margin-left: 0.5rem;
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    background: linear-gradient(135deg, #F8FAFC 0%, #E0F7FF 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3.5rem;
}

.contact-card {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-2xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 3px solid transparent;
}

.contact-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
}

.contact-card.telegram:hover {
    border-color: #0088cc;
}

.contact-card.whatsapp:hover {
    border-color: #25D366;
}

.contact-card.instagram:hover {
    border-color: #E4405F;
}

.contact-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.75rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(155, 111, 232, 0.15) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.contact-card:hover .contact-icon {
    transform: scale(1.15) rotate(15deg);
}

.contact-card.telegram .contact-icon {
    color: #0088cc;
}

.contact-card.whatsapp .contact-icon {
    color: #25D366;
}

.contact-card.instagram .contact-icon {
    color: #E4405F;
}

.contact-icon svg {
    width: 45px;
    height: 45px;
}

.contact-card h3 {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-card p {
    color: var(--text-medium);
    margin-bottom: 1.75rem;
    line-height: 1.8;
    font-weight: 500;
}

.contact-link {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--gradient-bright);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 700;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-md);
}

.contact-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.contact-card.telegram .contact-link {
    background: #0088cc;
}

.contact-card.whatsapp .contact-link {
    background: #25D366;
}

.contact-card.instagram .contact-link {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.contact-cta {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-2xl);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.contact-cta p {
    font-size: 1.35rem;
    color: var(--text-medium);
    line-height: 1.9;
    font-weight: 500;
}

.contact-cta strong {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.6rem;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: linear-gradient(135deg, #2D4059 0%, #3D5A80 100%);
    color: white;
    padding: 3.5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3.5rem;
    margin-bottom: 2.5rem;
}

.footer-logo img {
    height: 80px;
    width: 80px;
    margin-bottom: 1.25rem;
    padding: 12px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    object-fit: contain;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.9;
    margin-top: 1.25rem;
    font-weight: 500;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline-block;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

[dir="ltr"] .footer-links a:hover {
    transform: translateX(-5px);
}

.social-links {
    display: flex;
    gap: 1.25rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition-fast);
    border: 2px solid transparent;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-6px);
    border-color: white;
}

.social-links svg {
    width: 24px;
    height: 24px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 2px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */
@media (max-width: 576px) {
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.45;
        padding: 0 1.25rem;
        max-width: 100%;
    }
    
    .hero-description {
        font-size: 0.95rem;
        line-height: 1.65;
        padding: 0 1.25rem;
    }
    
    .hero-stats {
        gap: 1rem;
        margin-top: 2.5rem;
        flex-direction: column;
        align-items: stretch;
    }
    
    .stat {
        padding: 1rem;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .section-title {
        font-size: 1.75rem;
        padding: 0 1rem;
        line-height: 1.3;
    }
    
    .btn {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* ============================================
   EXTRA SMALL SCREENS
   ============================================ */
@media (max-width: 400px) {
    .hero-title {
        font-size: 1.35rem;
        line-height: 1.5;
        padding: 0 1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        line-height: 1.6;
        padding: 0 1rem;
    }
    
    .hero-stats {
        gap: 0.75rem;
        margin-top: 2rem;
    }
    
    .stat {
        padding: 0.85rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .container {
        padding: 0 0.75rem;
    }
}

/* ============================================
   SMOOTH ANIMATIONS
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   MOBILE FIX – Prevent Horizontal Overflow
   ============================================ */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* تأمين كل العناصر */
* {
    max-width: 100%;
}

/* حل مشكلة الأشكال بالخلفية */
.hero,
.hero-background,
.hero-shapes {
    overflow: hidden;
}

/* تقليل حجم الأشكال بالموبايل حتى ما تطلع برا */
@media (max-width: 768px) {
    .shape-1 {
        width: 280px;
        height: 280px;
        right: -120px;
        top: -80px;
    }

    .shape-2 {
        width: 220px;
        height: 220px;
        left: -120px;
        bottom: -80px;
    }

    .shape-3 {
        display: none;
    }
}

/* ============================================
   FIX HERO TEXT HIDDEN UNDER FIXED NAVBAR
   ============================================ */

/* desktop */
.hero {
    padding-top: 7.5rem;
}

/* mobile */
@media (max-width: 768px) {
    .hero {
        padding-top: 6.5rem;
    }
}
