/* ===== Reset & Base Styles - Updated Breadcrumb Design ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Calm Blue Professional Palette */
    --primary-blue: #2980b9;
    --light-blue: #3498db;
    --sky-blue: #5dade2;
    --calm-blue: #85c1e9;
    --soft-blue: #aed6f1;
    --cloud-white: #f8f9fa;
    --gradient-primary: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
    --gradient-secondary: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    --gradient-sky: linear-gradient(135deg, #ebf3fd 0%, #d6eaf8 100%);
    --shadow-soft: 0 10px 30px rgba(41, 128, 185, 0.15);
    --shadow-hover: 0 15px 40px rgba(41, 128, 185, 0.25);
    --text-dark: #2c3e50;
    --text-light: #5d6d7e;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* ===== Professional Navigation ===== */
.custom-navbar {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(248, 249, 250, 0.96) 50%, 
        rgba(255, 255, 255, 0.98) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1.2rem 0;
    box-shadow: 
        0 8px 32px rgba(41, 128, 185, 0.1),
        0 2px 16px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    position: relative;
    border-bottom: 1px solid rgba(41, 128, 185, 0.1);
}

.custom-navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(41, 128, 185, 0.03) 0%, 
        rgba(133, 193, 233, 0.02) 50%, 
        rgba(41, 128, 185, 0.03) 100%);
    z-index: -1;
    border-radius: 0 0 20px 20px;
}

.custom-navbar.scrolled {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.99) 0%, 
        rgba(248, 249, 250, 0.98) 50%, 
        rgba(255, 255, 255, 0.99) 100%);
    padding: 0.8rem 0;
    box-shadow: 
        0 12px 40px rgba(41, 128, 185, 0.2),
        0 4px 20px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-blue) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand i.fa-cloud {
    font-size: 1.8rem;
    color: var(--light-blue);
    filter: drop-shadow(0 2px 8px rgba(41, 128, 185, 0.4));
    animation: float-cloud 3s ease-in-out infinite;
    margin-right: 0.5rem;
}

@keyframes float-cloud {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(2deg); }
}

@keyframes float-cloud-hover {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(10deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.navbar-brand:hover {
    transform: scale(1.08) translateY(-2px);
    text-shadow: 0 4px 12px rgba(41, 128, 185, 0.3);
    color: var(--light-blue) !important;
}

.brand-text {
    background: linear-gradient(135deg, 
        var(--primary-blue) 0%, 
        var(--light-blue) 50%, 
        var(--sky-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.navbar-nav {
    align-items: center;
    gap: 0.3rem;
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0 0.2rem;
    padding: 0.8rem 1.5rem !important;
    border-radius: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: none;
    letter-spacing: 0.3px;
    background: transparent;
    border: 2px solid transparent;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(41, 128, 185, 0.15) 0%, 
        rgba(133, 193, 233, 0.1) 50%, 
        rgba(41, 128, 185, 0.15) 100%);
    transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    border-radius: 28px;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--light-blue), 
        var(--sky-blue), 
        var(--light-blue), 
        transparent);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(41, 128, 185, 0.5);
}

.navbar-nav .nav-link:hover::before {
    left: 0;
}

.navbar-nav .nav-link:hover::after {
    width: 85%;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-blue) !important;
    transform: translateY(-3px);
    background: linear-gradient(135deg, 
        rgba(41, 128, 185, 0.08) 0%, 
        rgba(133, 193, 233, 0.12) 100%);
    border-color: rgba(41, 128, 185, 0.2);
    box-shadow: 
        0 8px 25px rgba(41, 128, 185, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    text-shadow: 0 2px 8px rgba(41, 128, 185, 0.3);
}

.navbar-nav .nav-link.active {
    color: white !important;
    background: linear-gradient(135deg, 
        var(--primary-blue) 0%, 
        var(--light-blue) 100%);
    border-color: rgba(41, 128, 185, 0.3);
    box-shadow: 
        0 8px 25px rgba(41, 128, 185, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    animation: active-glow 3s ease-in-out infinite alternate;
}

@keyframes active-glow {
    0% { 
        box-shadow: 
            0 8px 25px rgba(41, 128, 185, 0.4),
            0 4px 12px rgba(0, 0, 0, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    100% { 
        box-shadow: 
            0 12px 35px rgba(41, 128, 185, 0.6),
            0 6px 18px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }
}

.navbar-nav .nav-link.active::after {
    width: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.8), 
        rgba(255, 255, 255, 1), 
        rgba(255, 255, 255, 0.8), 
        transparent);
    bottom: -3px;
    height: 4px;
    animation: active-line 2s ease-in-out infinite alternate;
}

@keyframes active-line {
    0% { opacity: 0.8; transform: translateX(-50%) scaleX(0.9); }
    100% { opacity: 1; transform: translateX(-50%) scaleX(1.1); }
}

/* Enhanced Mobile Navbar */
@media (max-width: 991.98px) {
    .custom-navbar {
        padding: 1rem 0;
        box-shadow: 
            0 4px 20px rgba(41, 128, 185, 0.2),
            0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-radius: 20px;
        margin-top: 1rem;
        padding: 1rem;
        box-shadow: 
            0 8px 25px rgba(41, 128, 185, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.5);
        animation: mobile-menu-slide 0.3s ease-out;
    }
    
    @keyframes mobile-menu-slide {
        0% {
            opacity: 0;
            transform: translateY(-20px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .navbar-nav .nav-link {
        margin: 0.3rem 0;
        text-align: center;
        padding: 1.2rem 1.5rem !important;
        border-radius: 18px;
        background: linear-gradient(135deg, 
            rgba(41, 128, 185, 0.08) 0%, 
            rgba(133, 193, 233, 0.05) 100%);
        border: 2px solid rgba(41, 128, 185, 0.15);
        font-weight: 600;
        font-size: 1rem;
        position: relative;
        overflow: hidden;
    }
    
    .navbar-nav .nav-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, 
            transparent, 
            rgba(41, 128, 185, 0.2), 
            transparent);
        transition: left 0.5s ease;
    }
    
    .navbar-nav .nav-link:hover::before {
        left: 100%;
    }
    
    .navbar-nav .nav-link:hover {
        transform: translateX(8px) scale(1.02);
        background: linear-gradient(135deg, 
            rgba(41, 128, 185, 0.15) 0%, 
            rgba(133, 193, 233, 0.1) 100%);
        border-color: rgba(41, 128, 185, 0.3);
        box-shadow: 
            0 6px 20px rgba(41, 128, 185, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.6);
    }
    
    .navbar-nav .nav-link.active {
        background: linear-gradient(135deg, 
            var(--primary-blue) 0%, 
            var(--light-blue) 100%);
        color: white !important;
        border-color: rgba(41, 128, 185, 0.4);
        transform: scale(1.05);
        box-shadow: 
            0 8px 25px rgba(41, 128, 185, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    
    .navbar-brand {
        font-size: 1.6rem;
    }
    
    .navbar-brand i.fa-cloud {
        font-size: 1.6rem;
    }
}

/* Tablet optimizations */
@media (max-width: 768px) {
    .custom-navbar {
        padding: 0.8rem 0;
    }
    
    .navbar-brand {
        font-size: 1.4rem;
    }
    
    .navbar-brand i.fa-cloud {
        font-size: 1.4rem;
    }
    
    .navbar-nav .nav-link {
        font-size: 0.95rem;
        padding: 1rem 1.2rem !important;
    }
}

/* Navbar toggler enhancements */
.navbar-toggler {
    border: 2px solid rgba(41, 128, 185, 0.3);
    border-radius: 12px;
    padding: 0.4rem 0.7rem;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    border-color: var(--light-blue);
    box-shadow: 0 4px 15px rgba(41, 128, 185, 0.2);
    transform: scale(1.05);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(41, 128, 185, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== Hero Section ===== */
.hero-section {
    min-height: 100vh;
    position: relative;
    background: linear-gradient(135deg, 
        #2980b9 0%, 
        #3498db 25%,
        #2980b9 50%,
        #3498db 75%,
        #2980b9 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(174, 214, 241, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(195, 230, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
    z-index: 1;
}

.animated-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.15)"><animate attributeName="cy" values="20;80;20" dur="4s" repeatCount="indefinite"/></circle><circle cx="50" cy="40" r="1.5" fill="rgba(173,216,230,0.2)"><animate attributeName="cy" values="40;90;40" dur="5s" repeatCount="indefinite"/></circle><circle cx="80" cy="30" r="1.8" fill="rgba(135,206,235,0.25)"><animate attributeName="cy" values="30;85;30" dur="3.8s" repeatCount="indefinite"/></circle><circle cx="35" cy="70" r="1.2" fill="rgba(176,224,230,0.18)"><animate attributeName="cy" values="70;25;70" dur="6s" repeatCount="indefinite"/></circle></svg>');
    animation: float 25s ease-in-out infinite;
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-content {
    position: relative;
    z-index: 3;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.text-gradient {
    color: white !important;
}

/* Removed gradient-shift animation for a calmer look */

/* Simple Cloud Text Styling - No Glow */
.enhanced-cloud {
    font-size: 1.2em;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    color: white !important;
    display: inline-block;
}

/* Removed enhanced-glow animation for a calmer look */

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.hero-stats {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    display: block;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* تم حذف تصميم hero-buttons القديم وإنشاء تصميم جديد */

/* ===== تصميم أزرار Hero جديد ونظيف ===== */
.hero-action-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.custom-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.primary-btn {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 249, 250, 0.9) 100%);
    color: var(--primary-blue);
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.custom-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.primary-btn:hover {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(248, 249, 250, 0.95) 100%);
    color: #2980b9;
    border-color: rgba(255, 255, 255, 1);
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    border-color: rgba(255, 255, 255, 0.9);
}

.custom-btn i {
    font-size: 1.1rem;
}

.custom-btn span {
    font-size: inherit;
}

/* تصميم متجاوب */
@media (max-width: 768px) {
    .hero-action-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .custom-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: none; /* إخفاء مؤشر التمرير بالكامل */
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    animation: bounce 2s infinite;
    display: none; /* إخفاء السهم */
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: rotate(45deg) translateY(0);
    }
    40% {
        transform: rotate(45deg) translateY(-10px);
    }
    60% {
        transform: rotate(45deg) translateY(-5px);
    }
}

/* ===== Sections ===== */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Page Header (Sub Pages) - Unified Blue Theme ===== */
.page-header {
    min-height: 60vh;
    position: relative;
    background: linear-gradient(135deg, 
        #2980b9 0%, 
        #3498db 25%,
        #2980b9 50%,
        #3498db 75%,
        #2980b9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 120px;
    text-align: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(174, 214, 241, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(195, 230, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
    z-index: 1;
}

.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.15)"><animate attributeName="cy" values="20;80;20" dur="4s" repeatCount="indefinite"/></circle><circle cx="50" cy="40" r="1.5" fill="rgba(173,216,230,0.2)"><animate attributeName="cy" values="40;90;40" dur="5s" repeatCount="indefinite"/></circle><circle cx="80" cy="30" r="1.8" fill="rgba(135,206,235,0.25)"><animate attributeName="cy" values="30;85;30" dur="3.8s" repeatCount="indefinite"/></circle><circle cx="35" cy="70" r="1.2" fill="rgba(176,224,230,0.18)"><animate attributeName="cy" values="70;25;70" dur="6s" repeatCount="indefinite"/></circle></svg>');
    z-index: 1;
    animation: float 25s ease-in-out infinite;
}

/* Add professional overlay for page headers */
.page-header .page-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(41, 128, 185, 0.08) 0%, 
        rgba(52, 152, 219, 0.04) 50%, 
        rgba(174, 214, 241, 0.08) 100%);
    z-index: 2;
}

/* Unified animated background for all page headers */
.page-header .animated-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.15)"><animate attributeName="cy" values="20;80;20" dur="4s" repeatCount="indefinite"/></circle><circle cx="50" cy="40" r="1.5" fill="rgba(173,216,230,0.2)"><animate attributeName="cy" values="40;90;40" dur="5s" repeatCount="indefinite"/></circle><circle cx="80" cy="30" r="1.8" fill="rgba(135,206,235,0.25)"><animate attributeName="cy" values="30;85;30" dur="3.8s" repeatCount="indefinite"/></circle><circle cx="35" cy="70" r="1.2" fill="rgba(176,224,230,0.18)"><animate attributeName="cy" values="70;25;70" dur="6s" repeatCount="indefinite"/></circle></svg>');
    animation: float 25s ease-in-out infinite;
    z-index: 1;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    position: relative;
    z-index: 3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: slide-up 0.8s ease-out;
}

.page-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
    animation: slide-up 0.8s ease-out 0.2s both;
}

/* إزالة التنسيق الافتراضي لـ Bootstrap breadcrumb */
.breadcrumb {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(20px);
    border-radius: 50px !important;
    padding: 1rem 2rem !important;
    border: 2px solid rgba(255, 255, 255, 0.25) !important;
    position: relative;
    z-index: 3;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    animation: slide-up 0.8s ease-out 0.4s both;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1rem !important;
    margin-bottom: 0 !important;
    list-style: none !important;
}

/* إزالة الفاصل الافتراضي من Bootstrap وإضافة النجمة */
.breadcrumb-item + .breadcrumb-item::before {
    content: "✦" !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 1.2rem !important;
    margin: 0 0.8rem !important;
    display: inline-block !important;
    animation: sparkle 2s ease-in-out infinite !important;
    float: none !important;
    padding-right: 0 !important;
    /* إزالة كل محتوى Bootstrap الافتراضي */
    background: none !important;
    border: none !important;
    width: auto !important;
    height: auto !important;
}

@keyframes sparkle {
    0%, 100% { 
        opacity: 0.7; 
        transform: scale(1);
    }
    50% { 
        opacity: 1; 
        transform: scale(1.1);
    }
}

.breadcrumb-item {
    font-size: 1rem !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
}

.breadcrumb-item:not(.active) {
    opacity: 0.85;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    font-weight: 600 !important;
}

.breadcrumb-item a:hover {
    color: white !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.6) !important;
    transform: translateY(-1px) !important;
}

.breadcrumb-item.active {
    color: white !important;
    font-weight: 700 !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4) !important;
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments for page header */
@media (max-width: 768px) {
    .page-header {
        min-height: 50vh;
        padding-top: 100px;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .breadcrumb {
        padding: 0.8rem 1.5rem;
        gap: 0.8rem;
    }
    
    .breadcrumb-item + .breadcrumb-item::before {
        margin: 0 0.5rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .page-header {
        min-height: 45vh;
        padding-top: 90px;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .breadcrumb {
        padding: 0.7rem 1.2rem;
        gap: 0.5rem;
        font-size: 0.9rem;
    }
    
    .breadcrumb-item + .breadcrumb-item::before {
        margin: 0 0.3rem;
        font-size: 1rem;
    }
}

/* ===== Services Overview ===== */
.services-overview {
    padding: 100px 0;
    background: var(--cloud-white);
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(41, 128, 185, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotateY(360deg);
}

.service-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== Latest Projects ===== */
.latest-projects {
    padding: 100px 0;
    background: linear-gradient(135deg, 
        rgba(33, 150, 243, 0.08) 0%, 
        rgba(30, 144, 255, 0.12) 50%,
        rgba(25, 118, 210, 0.08) 100%);
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.15);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(33, 150, 243, 0.1);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(33, 150, 243, 0.25);
    border-color: rgba(33, 150, 243, 0.2);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, 
        rgba(33, 150, 243, 0.9) 0%, 
        rgba(30, 136, 229, 0.95) 25%,
        rgba(25, 118, 210, 0.9) 50%,
        rgba(21, 101, 192, 0.95) 75%,
        rgba(13, 71, 161, 0.9) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.project-card:hover .project-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.project-icon {
    font-size: 3rem;
    color: white;
    transition: all 0.3s ease;
}

.project-card:hover .project-icon {
    transform: scale(1.2);
}

.project-content {
    padding: 1.5rem;
}

.project-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.project-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.project-meta .badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%) !important;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><path d="M0,10 Q50,0 100,10 L100,20 L0,20 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.1;
}

.footer-section {
    position: relative;
    z-index: 1;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer-text {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 0.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

.contact-info,
.address-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item,
.address-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #bdc3c7;
}

.contact-item i,
.address-item i {
    width: 20px;
    color: var(--sky-blue);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0 1.5rem;
}

.copyright {
    color: #bdc3c7;
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(41, 128, 185, 0.4);
}

/* ===== Animations ===== */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 1s ease-out forwards;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .enhanced-cloud {
        font-size: 1.1em;
        letter-spacing: 1px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-card,
    .project-card {
        margin-bottom: 2rem;
    }
    
    /* تم نقل تصميم الأزرار للقسم الجديد */
    
    .contact-item,
    .address-item {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .enhanced-cloud {
        font-size: 1em;
        letter-spacing: 1px;
        transform: scale(1);
    }
    
    .hero-stats {
        padding: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .project-image {
        height: 150px;
    }
    
    .project-icon {
        font-size: 2rem;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue);
}

/* ===== Loading Animation ===== */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loading.hide {
    opacity: 0;
    visibility: hidden;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== Professional Page Transition System ===== */
body {
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.transitioning {
    opacity: 0.95;
    transform: scale(0.98);
    pointer-events: none;
}

body.page-loaded {
    opacity: 1;
    transform: scale(1);
    animation: page-entrance 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

body.entrance-complete {
    animation: none;
}

@keyframes page-entrance {
    0% {
        opacity: 0.8;
        transform: translateY(20px) scale(0.98);
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0px);
    }
}

/* Simple and Reliable Transition Overlay */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background: linear-gradient(135deg, 
        rgba(30, 144, 255, 0.95) 0%, 
        rgba(25, 118, 210, 0.97) 50%,
        rgba(21, 101, 192, 0.95) 100%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-transition-overlay.active {
    opacity: 1;
    visibility: visible;
}

.simple-loader {
    text-align: center;
    color: white;
}

.loader-icon {
    font-size: 3rem;
    color: white;
    animation: simple-spin 2s linear infinite;
    margin-bottom: 1rem;
    display: block;
}

.loader-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    animation: simple-fade 1.5s ease-in-out infinite alternate;
}

@keyframes simple-spin {
    0% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-5px) rotate(180deg); 
    }
    100% { 
        transform: translateY(0px) rotate(360deg); 
    }
}

@keyframes simple-fade {
    0% { 
        opacity: 0.7; 
    }
    100% { 
        opacity: 1; 
    }
}

/* Mobile optimization */
@media (max-width: 768px) {
    .loader-icon {
        font-size: 2.5rem;
    }
    
    .loader-text {
        font-size: 1rem;
    }
}

/* ===== Professional Modern Breadcrumb Design ===== */
.breadcrumb {
    --bs-breadcrumb-divider: none !important;
}

ol.breadcrumb {
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.25) 0%, 
        rgba(255, 255, 255, 0.15) 50%, 
        rgba(255, 255, 255, 0.2) 100%) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border-radius: 15px !important;
    padding: 0.75rem 1.5rem !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    margin: 0 !important;
    list-style: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
    position: relative !important;
    overflow: hidden !important;
}

/* تأثير لامع ناعم */
ol.breadcrumb::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%);
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

ol.breadcrumb li.breadcrumb-item + li.breadcrumb-item::before {
    content: "/" !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.9rem !important;
    font-weight: 400 !important;
    margin: 0 0.8rem !important;
    padding: 0 !important;
    float: none !important;
    opacity: 0.7 !important;
    transform: rotate(15deg) !important;
}

ol.breadcrumb li.breadcrumb-item {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500 !important;
    font-size: 0.95rem !important;
    position: relative !important;
    z-index: 2 !important;
}

ol.breadcrumb li.breadcrumb-item.active {
    color: white !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}

ol.breadcrumb li.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    padding: 0.25rem 0.5rem !important;
    border-radius: 6px !important;
    position: relative !important;
}

ol.breadcrumb li.breadcrumb-item a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

ol.breadcrumb li.breadcrumb-item a:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-1px) !important;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.3) !important;
}

ol.breadcrumb li.breadcrumb-item a:hover::before {
    width: 80%;
}

/* تصميم متجاوب */
@media (max-width: 768px) {
    ol.breadcrumb {
        padding: 0.6rem 1.2rem !important;
        border-radius: 12px !important;
        font-size: 0.85rem !important;
    }
    
    ol.breadcrumb li.breadcrumb-item + li.breadcrumb-item::before {
        margin: 0 0.5rem !important;
        font-size: 0.8rem !important;
    }
}

@media (max-width: 576px) {
    ol.breadcrumb {
        padding: 0.5rem 1rem !important;
        font-size: 0.8rem !important;
    }
    
    ol.breadcrumb li.breadcrumb-item + li.breadcrumb-item::before {
        margin: 0 0.3rem !important;
    }
}