/* ==================== ROOT VARIABLES ==================== */
:root {
    --primary-blue: #1a5fb4;
    --primary-blue-dark: #0e3f84;
    --primary-blue-light: #2575c4;
    --orange: #f4841c;
    --orange-dark: #ea6c00;
    --success: #38a832;
    --info: #1a5fb4;
    --white-75: rgba(255, 255, 255, 0.75);
    --white-50: rgba(255, 255, 255, 0.5);
    --white-25: rgba(255, 255, 255, 0.25);
}

/* ==================== GLOBAL STYLES ==================== */
* {
    direction: rtl;
}

body {
    font-family: 'Tajawal', sans-serif;
    color: #0a2d62;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Tajawal', sans-serif;
    font-weight: 700;
}

.fw-black {
    font-weight: 900 !important;
}

/* ==================== NAVBAR ==================== */
#navbar {
    background: transparent;
    transition: all 0.5s ease;
    padding: 1rem 0;
}

#navbar.scrolled {
    background: white !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(26, 95, 180, 0.1);
}

#navbar .navbar-brand img {
    transition: all 0.3s ease;
}

#navbar .nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    margin: 0 0.2rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    color: white;
}

#navbar.scrolled .nav-link {
    color: var(--primary-blue);
}

#navbar .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

#navbar.scrolled .nav-link:hover {
    background: rgba(26, 95, 180, 0.05);
    color: var(--primary-blue-light);
}

.dropdown-menu-services {
    min-width: 500px;
    border: 1px solid rgba(26, 95, 180, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 1rem;
}

.dropdown-header {
    background: var(--primary-blue);
    color: white;
    font-weight: bold;
    padding: 0.75rem 1.25rem;
    border-radius: 1rem 1rem 0 0;
    margin: -0.5rem -0.5rem 0.5rem;
}

.btn-cta {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    border: none;
    font-weight: 700;
    padding: 0.6rem 1.5rem;
    border-radius: 0.75rem;
    color: white;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(244, 132, 28, 0.4);
    color: white;
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #0a1e45 0%, #1250a0 45%, #1a5fb4 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 60% 50%, rgba(37, 117, 196, 0.18) 0%, transparent 70%);
    z-index: 1;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #38a832;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.1); }
}

.text-white-75 {
    color: rgb(33, 37, 41) !important;
}

.hero-highlights li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.btn-orange {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    border: none;
    color: white;
    font-weight: 800;
    padding: 0.875rem 2rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.btn-orange:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(244, 132, 28, 0.4);
    color: white;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 900;
}

.stat-label {
    color: var(--white-75);
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.hero-image-container {
    position: relative;
}

.hero-image-box {
    width: 440px;
    height: 440px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 2.5rem;
    box-shadow: 0 25px 60px rgba(10, 30, 69, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-image-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, #1a5fb4 0, #1a5fb4 1px, transparent 0, transparent 50%);
    background-size: 20px 20px;
    opacity: 0.05;
}

.hero-image-box img {
    width: 320px;
    height: 320px;
    object-fit: contain;
    position: relative;
    z-index: 10;
}

.badge-quality, .badge-satisfaction {
    position: absolute;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    font-size: 0.85rem;
}

.badge-quality {
    top: -1.5rem;
    right: -1.5rem;
}

.badge-satisfaction {
    bottom: -1.5rem;
    left: -1.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
}

.badge-explore {
    position: absolute;
    bottom: -1.5rem;
    right: 2rem;
    background: var(--success);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.badge-explore:hover {
    background: #2d8628;
    transform: translateY(-2px);
    color: white;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    pointer-events: none;
}

.hero-wave svg {
    width: 100%;
    height: 90px;
    display: block;
}

/* ==================== STATS SECTION ==================== */
.stats-section {
    border-bottom: 1px solid rgba(26, 95, 180, 0.1);
}

.stat-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    font-size: 1.75rem;
    transition: all 0.3s ease;
}

.stat-icon:hover {
    transform: scale(1.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.25rem;
}

.stat-text {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.875rem;
}

.bg-primary-light {
    background: rgba(26, 95, 180, 0.1) !important;
}

.bg-orange-light {
    background: rgba(244, 132, 28, 0.1) !important;
}

.bg-success-light {
    background: rgba(56, 168, 50, 0.1) !important;
}

.bg-info-light {
    background: rgba(26, 95, 180, 0.1) !important;
}

.text-orange {
    color: var(--orange) !important;
}

/* ==================== SERVICES SECTION ==================== */
.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-blue);
}

.section-divider {
    width: 64px;
    height: 6px;
    background: var(--orange);
    margin: 1.25rem auto;
    border-radius: 50px;
}

.section-subtitle {
    color: var(--primary-blue);
    font-size: 1.125rem;
    max-width: 700px;
    margin: 1rem auto 0;
    line-height: 1.8;
}

.service-filters .btn-filter {
    border: 2px solid rgba(26, 95, 180, 0.2);
    color: var(--primary-blue);
    font-weight: 700;
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin: 0.25rem;
}

.service-filters .btn-filter:hover,
.service-filters .btn-filter.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
    box-shadow: 0 5px 15px rgba(26, 95, 180, 0.3);
}

.btn-orange-outline {
    border-color: rgba(244, 132, 28, 0.2) !important;
    color: var(--orange) !important;
}

.btn-orange-outline:hover,
.btn-orange-outline.active {
    background: var(--orange) !important;
    border-color: var(--orange) !important;
    color: white !important;
}

.btn-success-outline {
    border-color: rgba(56, 168, 50, 0.2) !important;
    color: var(--success) !important;
}

.btn-success-outline:hover,
.btn-success-outline.active {
    background: var(--success) !important;
    border-color: var(--success) !important;
    color: white !important;
}

.btn-info-outline {
    border-color: rgba(26, 95, 180, 0.2) !important;
    color: var(--info) !important;
}

.btn-info-outline:hover,
.btn-info-outline.active {
    background: var(--info) !important;
    border-color: var(--info) !important;
    color: white !important;
}

.category-icon {
    width: 40px;
    height: 40px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.category-line {
    height: 1px;
    background: linear-gradient(to left, transparent, rgba(26, 95, 180, 0.2));
    margin: 0 0.75rem;
}

.service-card {
    background: white;
    border: 2px solid rgba(26, 95, 180, 0.1);
    border-radius: 1.5rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 10px 40px rgba(26, 95, 180, 0.15);
    transform: translateY(-5px);
}

.service-card-orange:hover {
    border-color: var(--orange);
    box-shadow: 0 10px 40px rgba(244, 132, 28, 0.15);
}

.service-card-success:hover {
    border-color: var(--success);
    box-shadow: 0 10px 40px rgba(56, 168, 50, 0.15);
}

.service-card-info:hover {
    border-color: var(--info);
    box-shadow: 0 10px 40px rgba(26, 95, 180, 0.15);
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-title {
    color: var(--primary-blue);
    font-weight: 900;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-title {
    color: var(--primary-blue-light);
}

.service-description {
    color: var(--primary-blue);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.service-link {
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.service-link:hover {
    gap: 0.25rem;
}

/* ==================== ABOUT SECTION ==================== */
.text-gradient-orange {
    background: linear-gradient(135deg, var(--orange-dark), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-values-box {
    background: linear-gradient(to bottom right, rgba(26, 95, 180, 0.05), rgba(26, 95, 180, 0.1));
    border: 1px solid rgba(26, 95, 180, 0.2);
    border-radius: 2rem;
    padding: 2rem;
}

.value-card {
    background: white;
    border: 1px solid rgba(26, 95, 180, 0.1);
    border-radius: 1.5rem;
    padding: 1rem;
    transition: all 0.3s ease;
}

.value-card:hover {
    border-color: rgba(26, 95, 180, 0.3);
    box-shadow: 0 5px 20px rgba(26, 95, 180, 0.1);
}

.value-icon {
    width: 40px;
    height: 40px;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.value-card h5 {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
}

.value-card p {
    font-size: 0.75rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

/* ==================== BLOG SECTION ==================== */
.blog-card {
    background: white;
    border: 1px solid rgba(26, 95, 180, 0.1);
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    border-color: rgba(26, 95, 180, 0.3);
    box-shadow: 0 10px 40px rgba(26, 95, 180, 0.15);
    transform: translateY(-5px);
}

.blog-image {
    height: 192px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.blog-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 30, 69, 0.5), transparent);
}

.blog-image .badge {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    z-index: 10;
}

.blog-content {
    padding: 1.25rem;
}

.blog-title {
    color: var(--primary-blue);
    font-weight: 900;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.blog-card:hover .blog-title {
    color: var(--primary-blue-light);
}

.blog-excerpt {
    color: #6c757d;
    font-size: 0.75rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: #adb5bd;
}

.blog-meta a {
    color: var(--orange);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-meta a:hover {
    color: var(--orange-dark);
}

/* ==================== CONTACT SECTION ==================== */
.why-choose-box {
    background: linear-gradient(135deg, #0a1e45 0%, #1250a0 45%, #1a5fb4 100%);
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    padding: 1.5rem;
    border-radius: 1.5rem;
    color: white;
}

.text-white-75 {
    color: var(--white-75) !important;
}

.contact-form-box {
    background: white;
    border: 1px solid rgba(26, 95, 180, 0.1);
    border-radius: 2rem;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(26, 95, 180, 0.08);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeInRight 0.4s ease;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.progress-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.progress-step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: all 0.3s ease;
}

.progress-step.active {
    background: var(--primary-blue);
    color: white;
    box-shadow: 0 5px 15px rgba(26, 95, 180, 0.3);
}

.progress-line {
    flex: 1;
    height: 2px;
    background: #e9ecef;
    max-width: 80px;
}

.success-icon {
    font-size: 4rem;
}

/* ==================== FOOTER ==================== */
.footer {
    background: linear-gradient(135deg, #0a1e45 0%, #1250a0 45%, #1a5fb4 100%);
 }

.logo-white {
    filter: brightness(0) invert(1);
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
}

.social-links a:hover {
    background: rgba(244, 132, 28, 0.4);
    color: white;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--orange);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    color: white;
}

.working-hours {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==================== BACK TO TOP ==================== */
.btn-back-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 48px;
    height: 48px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 5px 20px rgba(26, 95, 180, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 999;
}

.btn-back-to-top:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 95, 180, 0.4);
}

.btn-back-to-top.show {
    display: flex;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 991px) {
    .hero-section {
        padding-top: 80px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .dropdown-menu-services {
        min-width: auto;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-item {
        flex: 1 1 45%;
    }
}

@media (max-width: 767px) {
    .service-filters .btn-filter {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .contact-form-box {
        padding: 1.5rem;
    }
}


@media (min-width: 992px) {
.d-lg-block {
	display: block !important;
	padding: 132px;
}
}