/* ===== تنسيق عام ===== */
/* 
  يتم استيراد خط Tajawal في ملف HTML:
  <link href="https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800&display=swap" rel="stylesheet">
*/

:root {
    --primary-color: #002B5B;
    --primary-dark: #001a36;
    --primary-light: #003c7d;
    --primary-rgb: 0, 43, 91;
    --secondary-color: #E31B23;
    --secondary-dark: #bf161d;
    --secondary-light: #f03c43;
    --accent-color: #F57C00;
    --accent-dark: #d96c00;
    --accent-light: #ff8f24;
    --light-color: #FFFFFF;
    --light-gray: #F4F6F8;
    --mid-gray: #e0e0e0;
    --dark-gray: #757575;
    --dark-color: #333333;
    --text-color: #4F4F4F;
    --border-color: #e0e0e0;
    --border-radius: 8px;
    --border-radius-lg: 15px;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --font-family: 'Tajawal', sans-serif;
    --btn-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    --header-height: 80px;
    --header-height-scrolled: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tajawal', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

section {
    padding: 80px 0;
    position: relative;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 700;
    text-align: center;
    font-size: 1rem;
    letter-spacing: 0.5px;
    gap: 10px;
}

.primary-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 43, 91, 0.3);
}

.primary-btn:hover {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 43, 91, 0.4);
}

.outline-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.outline-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.secondary-btn {
    background: linear-gradient(45deg, var(--secondary-color), var(--secondary-light));
    color: #fff;
    box-shadow: 0 4px 15px rgba(227, 27, 35, 0.3);
}

.secondary-btn:hover {
    background: linear-gradient(45deg, var(--secondary-dark), var(--secondary-color));
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(227, 27, 35, 0.4);
}

.cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.read-more {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    margin-top: 15px;
    position: relative;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
}

.read-more:after {
    content: "←";
    margin-right: 8px;
    transition: margin 0.3s ease;
}

.read-more:hover {
    border-bottom-color: var(--secondary-color);
}

.read-more:hover:after {
    margin-right: 12px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-subtitle-badge {
    background: linear-gradient(45deg, var(--primary-light), var(--primary-color));
    color: #fff;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 43, 91, 0.2);
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
    color: var(--primary-color);
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: #666;
}

/* مركزية العناوين في الأقسام */
.center-header {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.center-header .section-title {
    margin-bottom: 15px;
}

.center-header .section-subtitle {
    max-width: 700px;
    margin: 0 auto;
    color: #666;
}

/* ===== التسويسة (Header) ===== */
header {
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

header.scrolled {
    padding: 12px 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.logo a {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 0;
    position: relative;
    display: inline-block;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1.1;
    transition: all 0.3s ease;
}

.logo h1:after {
    content: '';
    position: absolute;
    bottom: 5px;
    right: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(227, 27, 35, 0.3);
    z-index: -1;
    transition: all 0.3s ease;
}

.logo:hover h1:after {
    height: 12px;
    background-color: rgba(227, 27, 35, 0.4);
}

.logo p {
    color: var(--dark-gray);
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 2px;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    gap: 5px;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0;
    padding: 0;
    position: relative;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 600;
    padding: 10px 20px;
    position: relative;
    transition: all 0.3s ease;
    border-radius: var(--border-radius-sm);
    font-size: 1.05rem;
    display: inline-block;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--secondary-color);
    background-color: rgba(227, 27, 35, 0.05);
}

nav ul li a:before {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, var(--secondary-color), var(--secondary-light));
    bottom: 5px;
    right: 20px;
    transition: width 0.3s ease;
    border-radius: 10px;
}

nav ul li a:hover:before,
nav ul li a.active:before {
    width: calc(100% - 40px);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
    transition: var(--transition);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 43, 91, 0.08);
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    color: var(--secondary-color);
    background-color: rgba(0, 43, 91, 0.12);
    transform: rotate(90deg);
}

header.scrolled .logo h1 {
    font-size: 2rem;
}

header.scrolled .logo p {
    font-size: 0.9rem;
}

/* ===== البانر الرئيسي ===== */
.hero {
    background-color: var(--light-color);
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    filter: blur(10px);
    opacity: 0.1;
    animation: floatShape 15s infinite linear;
}

.shape1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -150px;
}

.shape2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: 10%;
    animation-delay: 3s;
    animation-duration: 25s;
    background: linear-gradient(45deg, var(--secondary-color), var(--secondary-light));
}

.shape3 {
    width: 150px;
    height: 150px;
    top: 40%;
    right: 30%;
    animation-delay: 7s;
    animation-duration: 20s;
    background: linear-gradient(45deg, var(--accent-color), #8bc34a);
}

.shape4 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 20%;
    animation-delay: 5s;
    animation-duration: 18s;
    background: linear-gradient(45deg, var(--info-color), #4fc3f7);
}

@keyframes floatShape {
    0% {
        transform: translate(0, 0) rotate(0);
    }
    25% {
        transform: translate(10px, 30px) rotate(90deg);
    }
    50% {
        transform: translate(30px, 10px) rotate(180deg);
    }
    75% {
        transform: translate(10px, -30px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-badge {
    background: linear-gradient(45deg, var(--secondary-light), var(--secondary-color));
    color: #fff;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(227, 27, 35, 0.2);
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    line-height: 1.2;
    font-weight: 800;
}

.hero-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark-gray);
    line-height: 1.3;
    font-weight: 600;
}

.hero-content p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

.hero-brands {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero-brands span {
    font-size: 0.9rem;
    color: var(--dark-gray);
    font-weight: 500;
}

.brands-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.brand-item {
    width: 80px;
    height: 40px;
    opacity: 0.7;
    transition: var(--transition);
}

.brand-item:hover {
    opacity: 1;
}

.brand-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-image {
    flex: 1;
    position: relative;
    max-width: 500px;
}

.hero-image img {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.hero-image:hover img {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.floating-card {
    position: absolute;
    background: #fff;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    bottom: -25px;
    right: 30px;
    animation: floatCard 3s infinite ease-in-out;
    max-width: 280px;
}




.card-icon {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
}

.card-content h4 {
    font-size: 0.95rem;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.card-content p {
    font-size: 0.8rem;
    color: #666;
}

.hero-scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
}

.hero-scroll-down a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-scroll-down a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .hero-scroll-down {
        bottom: 20px;
    }
    
    .hero-scroll-down a {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .cta-buttons {
        margin-bottom: 60px; /* Add space below buttons to prevent overlap */
    }
}

@media (max-width: 480px) {
    .hero-scroll-down {
        bottom: 15px;
    }
    
    .hero-scroll-down a {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .cta-buttons {
        margin-bottom: 50px; /* Reduce space for smaller screens */
    }
}

/* ===== الأقسام التمهيدية ===== */
.intro-sections {
    background: linear-gradient(135deg, #f9f9f9 0%, #f2f8ff 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.intro-sections:before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(30, 75, 156, 0.05), transparent 70%);
    top: -250px;
    right: -200px;
    border-radius: 50%;
    z-index: 0;
}

.intro-sections:after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 87, 34, 0.05), transparent 70%);
    bottom: -200px;
    left: -100px;
    border-radius: 50%;
    z-index: 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
    position: relative;
    z-index: 2;
    justify-content: center;
}

.intro-grid::-webkit-scrollbar,
.services-grid::-webkit-scrollbar,
.intro-grid::-webkit-scrollbar-track,
.services-grid::-webkit-scrollbar-track,
.intro-grid::-webkit-scrollbar-thumb,
.services-grid::-webkit-scrollbar-thumb {
    display: none;
}

@media (max-width: 992px) {
    .intro-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .intro-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .intro-box, .service-card {
        padding: 20px;
    }
}

.intro-box {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    min-width: auto;
    max-width: 100%;
    flex: none;
    display: flex;
    flex-direction: column;
    z-index: 1;
    border: none;
    background: linear-gradient(145deg, #ffffff, #f5f7fa);
}

.intro-box:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
    z-index: 1;
}

.intro-box:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.intro-box:hover:before {
    transform: scaleX(1);
    transform-origin: left;
}

.intro-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(145deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(30, 75, 156, 0.25);
}

.intro-icon:after {
    content: '';
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.5);
    opacity: 0.6;
}

.intro-icon i {
    color: #fff;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.intro-box:hover .intro-icon {
    transform: rotateY(180deg);
}

.intro-box:hover .intro-icon:after {
    opacity: 1;
}

.intro-box h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 12px;
    transition: all 0.3s ease;
}

.intro-box h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: all 0.3s ease;
}

.intro-box:hover h3:after {
    width: 60px;
}

.intro-box p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #666;
    flex-grow: 1;
}

.intro-box.featured {
    background: linear-gradient(145deg, #f8fbff, #eef3fa);
    border: none;
    position: relative;
    overflow: hidden;
}

.intro-box.featured:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.featured-badge {
    position: absolute;
    top: 15px;
    left: -35px;
    background: linear-gradient(to right, var(--secondary-color), var(--secondary-light));
    color: #fff;
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: 700;
    transform: rotate(-45deg);
    z-index: 2;
    box-shadow: 0 3px 10px rgba(255, 87, 34, 0.3);
}

.intro-box .read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    position: relative;
    transition: all 0.3s ease;
    margin-top: auto;
    font-size: 0.95rem;
}

.intro-box .read-more:after {
    content: '\f178';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.intro-box .read-more:hover {
    color: var(--secondary-color);
    transform: translateX(-5px);
}

.intro-box .read-more:hover:after {
    transform: translateX(5px);
    color: var(--secondary-color);
}

.services-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 15px 0;
}

.services-icons div {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: 10px;
    width: calc(50% - 6px);
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.services-icons div:hover {
    background-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.services-icons i {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 6px;
}

.services-icons span {
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    margin-top: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 20px;
    margin-top: 20px;
}

.testimonial {
    background-color: rgba(247, 249, 253, 0.7);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 12px;
    position: relative;
    display: none;
    border: 1px solid rgba(30, 75, 156, 0.05);
}

.testimonial.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.testimonial:after {
    content: '"';
    position: absolute;
    top: 5px;
    right: 15px;
    color: rgba(30, 75, 156, 0.1);
    font-size: 5rem;
    line-height: 1;
    font-family: serif;
}

.testimonial p {
    position: relative;
    z-index: 1;
    margin-bottom: 15px;
    font-style: italic;
    color: #555;
    font-size: 0.95rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 3px;
}

.author-info span {
    font-size: 0.8rem;
    color: var(--dark-gray);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.intro-box.cta-box {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    text-align: center;
}

.intro-box.cta-box .intro-icon {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    margin: 0 auto 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.intro-box.cta-box h3 {
    color: #fff;
    margin: 0 auto 15px;
}

.intro-box.cta-box h3:after {
    background: rgba(255, 255, 255, 0.3);
    right: 50%;
    transform: translateX(50%);
}

.intro-box.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.intro-box.cta-box .btn {
    background-color: #fff;
    color: var(--primary-color);
    margin: auto auto 0;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1rem;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: none;
}

.intro-box.cta-box .btn:hover {
    background-color: var(--secondary-color);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(255, 87, 34, 0.25);
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    margin-top: auto;
    position: relative;
    padding-bottom: 3px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.read-more:after {
    content: "←";
    margin-right: 8px;
    transition: all 0.3s ease;
}

.read-more:hover {
    border-bottom-color: var(--secondary-color);
    color: var(--secondary-color);
}

.read-more:hover:after {
    margin-right: 12px;
}

/* تنسيق للشاشات الصغيرة */
@media (max-width: 992px) {
    .intro-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .intro-box:nth-child(4) {
        grid-column: 1 / 3;
        max-width: 70%;
    }
}

@media (max-width: 768px) {
    .intro-box:nth-child(4) {
        max-width: 100%;
    }
    
    .intro-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== قسم العملاء ===== */
.clients-section {
    padding: 80px 0;
    background-color: #fff;
}

.clients-slider {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 50px;
}

.client-logo {
    flex: 1;
    min-width: 150px;
    max-width: 180px;
    opacity: 0.6;
    transition: var(--transition);
    filter: grayscale(100%);
}

.client-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

.client-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* ===== قسم العملية ===== */
.process-section {
    background-color: var(--light-color);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.process-section:after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--secondary-color), transparent 70%);
    opacity: 0.03;
    bottom: -150px;
    left: -150px;
    border-radius: 50%;
}

.process-steps {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.process-steps:before {
    content: '';
    position: absolute;
    height: 85%;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    top: 7.5%;
    right: calc(50% - 2px);
    z-index: 1;
    border-radius: 4px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, var(--primary-color), var(--primary-light));
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 30px;
    margin-right: 30px;
    position: relative;
    box-shadow: 0 10px 25px rgba(30, 75, 156, 0.3);
    z-index: 2;
}

.step-number:before {
    content: '';
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.5);
    opacity: 0.6;
}

.step-content {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    flex: 1;
    position: relative;
    transition: all 0.4s ease;
    background: linear-gradient(145deg, #ffffff, #f5f7fa);
    border: none;
}

.step-content:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
    z-index: 0;
}

.process-step:nth-child(odd) .step-content {
    margin-right: -20px;
}

.process-step:nth-child(even) .step-content {
    margin-left: -20px;
}

.step-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.step-content:hover:before {
    transform: scaleX(1);
    transform-origin: left;
}

.step-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(145deg, var(--primary-color), var(--primary-light));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 10px 20px rgba(30, 75, 156, 0.25);
    transition: all 0.4s ease;
}

.step-icon:before {
    content: '';
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.5);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.process-step:nth-child(even) .step-icon {
    margin-right: auto;
}

.process-step:hover .step-icon {
    transform: rotateY(180deg);
}

.process-step:hover .step-icon:before {
    opacity: 1;
}

.step-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 12px;
}

.step-content h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: all 0.3s ease;
}

.step-content:hover h3:after {
    width: 60px;
}

.step-content p {
    line-height: 1.7;
    color: #666;
}

/* ===== عنوان الصفحة ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color), var(--primary-light));
    padding: 100px 0 70px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    margin-top: 20px;
    border-bottom: 5px solid rgba(255, 255, 255, 0.1);
}

.page-header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80" viewBox="0 0 80 80"><circle cx="10" cy="10" r="3" fill="white" opacity="0.1"/></svg>');
    background-size: 40px 40px;
    animation: backgroundMove 30s linear infinite;
}

@keyframes backgroundMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 80px 80px;
    }
}

.page-header:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.page-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    letter-spacing: 1px;
    background: linear-gradient(to right, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.page-header h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, var(--secondary-color), var(--secondary-light));
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(255, 87, 34, 0.3);
}

.page-header p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 30px auto 0;
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.header-cta {
    margin-top: 35px;
    position: relative;
    z-index: 1;
    display: inline-block;
}

.header-cta .btn {
    padding: 14px 35px;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.header-cta .btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.header-cta .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.header-cta .btn:hover:before {
    left: 100%;
}

@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 60px;
        margin-top: 60px;
    }
    
    .page-header h2 {
        font-size: 2.2rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
        padding: 0 15px;
    }
    
    .header-cta .btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .page-header h2 {
        font-size: 1.8rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
}

/* ===== من نحن ===== */
.about-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="2" height="2" fill="%23f0f0f0"/></svg>') repeat;
    opacity: 0.5;
    z-index: 1;
}

.about-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: translateY(-10px);
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-experience {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    padding: 20px;
    border-radius: 15px;
    color: #fff;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.experience-years {
    font-size: 2.5em;
    font-weight: 700;
    display: block;
    line-height: 1;
    margin-bottom: 5px;
}

.experience-text {
    font-size: 0.9em;
    opacity: 0.9;
}

.about-text {
    padding-right: 30px;
}

.about-text h3 {
    font-size: 2.5em;
    margin-bottom: 25px;
    color: var(--primary-dark);
    position: relative;
}

.about-text h3:after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.about-text p {
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 20px;
    opacity: 0.9;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature i {
    font-size: 1.5em;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
}

.feature span {
    font-size: 1em;
    color: var(--text-color);
    font-weight: 500;
}

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-text {
        padding-right: 0;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 60px 0;
    }
    
    .about-text h3 {
        font-size: 2em;
    }
    
    .experience-years {
        font-size: 2em;
    }
    
    .about-experience {
        padding: 15px;
        bottom: 20px;
        right: 20px;
    }
}

/* رؤية ومهمة الشركة */
.vision-mission {
    background: linear-gradient(120deg, #f8fbff 0%, #f0f7ff 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.vision-mission::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(32, 156, 255, 0.1) 0%, rgba(32, 156, 255, 0.05) 40%, rgba(32, 156, 255, 0) 70%);
    top: -100px;
    right: -100px;
    z-index: 1;
}

.vision-mission::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(32, 156, 255, 0.1) 0%, rgba(32, 156, 255, 0.05) 40%, rgba(32, 156, 255, 0) 70%);
    bottom: -200px;
    left: -150px;
    z-index: 1;
}

.vm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.vm-box {
    background: #fff;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
}

.vm-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(32, 156, 255, 0.15);
}

.vm-box .icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2196f3 0%, #42a5f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.vm-box .icon::before {
    content: '';
    position: absolute;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    border: 2px dashed rgba(32, 156, 255, 0.3);
    animation: spin 15s linear infinite;
}

.vm-box .icon i {
    font-size: 1.8rem;
    color: #fff;
    transition: transform 0.3s ease;
}

.vm-box:hover .icon i {
    transform: rotateY(180deg);
}

.vm-box h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #333;
    position: relative;
}

.vm-box h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #2196f3 0%, #42a5f5 100%);
    bottom: -0.5rem;
    right: 0;
}

.vm-box p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.vm-card-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(135deg, #2196f3 0%, #42a5f5 100%);
    border-radius: 0 0 15px 15px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .vm-grid {
        grid-template-columns: 1fr;
    }
    
    .vm-box {
        padding: 2rem;
    }
}

.vm-box:nth-child(2) {
    transform: translateY(-15px);
}

.vm-box:nth-child(2):hover {
    transform: translateY(-30px);
}

.vm-box:nth-child(1) .icon,
.vm-box:nth-child(3) .icon {
    background: linear-gradient(45deg, var(--secondary-color), var(--secondary-light));
    box-shadow: 0 10px 25px rgba(255, 87, 34, 0.25);
}

.vm-box:nth-child(1) .icon:before,
.vm-box:nth-child(3) .icon:before {
    border-color: rgba(255, 87, 34, 0.3);
}

.vm-box:nth-child(1) h3:after,
.vm-box:nth-child(3) h3:after,
.vm-box:nth-child(1) .vm-card-shape,
.vm-box:nth-child(3) .vm-card-shape {
    background: linear-gradient(90deg, var(--secondary-color), var(--secondary-light));
}

@media (max-width: 992px) {
    .vm-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .vm-box:nth-child(2) {
        transform: translateY(0);
    }
    
    .vm-box:nth-child(2):hover {
        transform: translateY(-15px);
    }
}

@media (max-width: 768px) {
    .vm-box {
        padding: 30px 20px;
    }
    
    .vm-box .icon {
        width: 75px;
        height: 75px;
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .vm-box h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
}

/* ===== تواصل معنا ===== */
.contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.contact-intro h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    width: 100%;
    font-size: 1rem;
    font-family: 'Tajawal', sans-serif;
}

.submit-btn:hover {
    background-color: var(--secondary-color);
}

.contact-info {
    background-color: var(--primary-color);
    padding: 30px;
    border-radius: 10px;
    color: #fff;
}

.contact-info h3 {
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.info-item {
    display: flex;
    margin-bottom: 25px;
}

.info-item .icon {
    margin-left: 15px;
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.info-item h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.social-media h4 {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.social-media .social-icons {
    display: flex;
    gap: 15px;
}

.social-media .social-icons a {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-media .social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

.map-section {
    padding-top: 0;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.map-placeholder {
    background-color: var(--grey-color);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== خدمات ===== */
.services-intro {
    padding: 70px 0 40px;
    background: linear-gradient(120deg, #f9fcff 0%, #f6f9ff 100%);
    position: relative;
    overflow: hidden;
}

.services-intro:before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30, 75, 156, 0.08), transparent 70%);
    top: -100px;
    left: -100px;
}

.services-intro:after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 87, 34, 0.08), transparent 70%);
    bottom: -80px;
    right: -80px;
}

.intro-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    position: relative;
    z-index: 2;
}

.intro-content h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.intro-content h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.intro-content p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
}

.services-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.service-nav-item {
    position: relative;
    padding: 25px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    text-align: center;
}

.service-nav-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.service-nav-item i {
    font-size: 2rem;
    margin-bottom: 12px;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.service-nav-item span {
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.service-nav-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(30, 75, 156, 0.15);
}

.service-nav-item:hover:before {
    opacity: 1;
}

.service-nav-item:hover i,
.service-nav-item:hover span {
    color: #fff;
}

.service-nav-item:hover i {
    animation: pulse 1s infinite;
}

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

.service-nav-item::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
    top: -20px;
    right: -20px;
    transition: all 0.5s ease;
    opacity: 0;
}

.service-nav-item:hover::after {
    transform: scale(3);
    opacity: 0.3;
}

@media (max-width: 768px) {
    .services-nav {
        gap: 10px;
    }
    
    .service-nav-item {
        width: 100px;
        height: 100px;
        padding: 15px;
    }
    
    .service-nav-item i {
        font-size: 1.7rem;
        margin-bottom: 8px;
    }
    
    .service-nav-item span {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .service-nav-item {
        width: 90px;
        height: 90px;
    }
    
    .service-nav-item i {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }
    
    .service-nav-item span {
        font-size: 0.75rem;
    }
}

.service-section {
    padding: 80px 0;
}

.service-section:nth-child(even) {
    background-color: var(--grey-color);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .icon {
    background-color: var(--primary-color);
    color: #fff;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
}

.section-header h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
}

.services-grid::-webkit-scrollbar {
    height: 6px;
}

.services-grid::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.services-grid::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
}

.service-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    overflow: hidden;
    min-width: auto;
    max-width: 100%;
    flex: none;
    background: linear-gradient(145deg, #ffffff, #f5f7fa);
    border: none;
}

.service-card:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.service-card:hover:before {
    transform: scaleX(1);
    transform-origin: left;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(145deg, var(--primary-color), var(--primary-light));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 25px;
    position: relative;
    box-shadow: 0 10px 20px rgba(30, 75, 156, 0.25);
    transition: all 0.4s ease;
}

.service-icon:before {
    content: '';
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.5);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotateY(180deg);
}

.service-card:hover .service-icon:before {
    opacity: 1;
}

.service-card h4 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 12px;
    transition: all 0.3s ease;
}

.service-card h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: all 0.3s ease;
}

.service-card:hover h4:after {
    width: 60px;
}

.service-card ul {
    margin-bottom: 25px;
    flex-grow: 1;
}

.service-card ul li {
    margin-bottom: 12px;
    padding-right: 24px;
    position: relative;
    line-height: 1.6;
    transition: all 0.3s ease;
    transform-origin: right;
}

.service-card ul li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    right: 0;
    font-size: 1.3rem;
    top: -2px;
    transition: all 0.3s ease;
}

.service-card:hover ul li:before {
    color: var(--secondary-color);
}

.service-card:hover ul li {
    transform: translateX(-5px);
    transition-delay: calc(0.05s * var(--i));
}

.service-card ul li:nth-child(1) {
    --i: 1;
}

.service-card ul li:nth-child(2) {
    --i: 2;
}

.service-card ul li:nth-child(3) {
    --i: 3;
}

.service-card ul li:nth-child(4) {
    --i: 4;
}

.service-card .benefit {
    font-weight: 600;
    color: var(--secondary-color);
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
    position: relative;
    padding-right: 22px;
    transition: all 0.3s ease;
}

.service-card .benefit:before {
    content: '★';
    position: absolute;
    right: 0;
    color: var(--secondary-color);
    font-size: 14px;
    top: 16px;
}

.service-card:hover .benefit {
    color: var(--primary-dark);
    padding-right: 28px;
}

/* تحسين بطاقات التنقل للخدمات */
.service-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 130px;
    color: var(--dark-color);
    position: relative;
    overflow: hidden;
}

.service-nav-item:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.service-nav-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-nav-item:hover:after {
    transform: scaleX(1);
    transform-origin: left;
}

.service-nav-item:active {
    transform: scale(0.95);
}

.service-nav-item i {
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: var(--primary-color);
    transition: all 0.4s ease;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--primary-color);
    text-fill-color: transparent;
}

.service-nav-item:hover i {
    transform: scale(1.2);
}

.service-nav-item span {
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.service-nav-item:hover span {
    color: var(--primary-color);
}

/* تحسين أقسام الخدمات */
.service-section .section-header .icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    color: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 25px;
    box-shadow: 0 12px 30px rgba(30, 75, 156, 0.25);
    position: relative;
    transition: all 0.5s ease;
}

.service-section .section-header .icon:hover {
    border-radius: 50%;
    transform: rotate(15deg);
}

.service-section .section-header .icon:before {
    content: '';
    position: absolute;
    inset: 5px;
    border-radius: inherit;
    border: 2px dashed rgba(255, 255, 255, 0.5);
    opacity: 0.6;
}

.service-section .section-header h3 {
    font-size: 2.2rem;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    padding: 0 15px;
}

.service-section .section-header h3:before,
.service-section .section-header h3:after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), transparent);
}

.service-section .section-header h3:before {
    right: 100%;
}

.service-section .section-header h3:after {
    left: 100%;
    transform: rotate(180deg);
}

.service-section .section-header p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* تحسينات متعلقة بالشاشات الصغيرة */
@media (max-width: 768px) {
    .service-nav-item {
        min-width: 110px;
        padding: 15px;
    }
    
    .service-nav-item i {
        font-size: 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        border-radius: 12px;
    }
    
    .service-card {
        padding: 25px;
    }
    
    .service-card h4 {
        font-size: 1.3rem;
    }
    
    .service-section .section-header .icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .service-section .section-header h3 {
        font-size: 1.8rem;
    }
}

/* ===== قسم المدونة ===== */
.blog-section {
    background-color: var(--light-color);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.blog-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    background: linear-gradient(145deg, #ffffff, #f5f7fa);
    border: none;
}

.blog-card:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
    z-index: 1;
}

.blog-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.blog-card:hover:before {
    transform: scaleX(1);
    transform-origin: left;
}

.blog-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.08);
}

.blog-category {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-light));
    color: #fff;
    padding: 6px 15px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(30, 75, 156, 0.3);
    transition: all 0.3s ease;
}

.blog-card:hover .blog-category {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(30, 75, 156, 0.4);
}

.blog-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-content h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.blog-card:hover .blog-content h3 {
    color: var(--primary-dark);
}

.blog-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.blog-meta i {
    color: var(--primary-color);
    margin-left: 5px;
}

.blog-cta {
    text-align: center;
    margin-top: 40px;
}

/* ===== التذييل ===== */
footer {
    background: linear-gradient(135deg, #1a1c2c, #293145);
    color: #fff;
    padding: 0;
    position: relative;
    overflow: hidden;
}

footer:before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(30, 75, 156, 0.2), transparent 70%);
    opacity: 0.3;
    top: -200px;
    left: -200px;
    border-radius: 50%;
    z-index: 0;
}

footer:after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 87, 34, 0.2), transparent 70%);
    opacity: 0.3;
    bottom: -100px;
    right: -100px;
    border-radius: 50%;
    z-index: 0;
}

/* القسم العلوي من التذييل */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 80px 0 50px;
    position: relative;
    z-index: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* قسم النبذة حول الشركة والتواصل */
.footer-about {
    flex: 0 0 40%;
    padding-right: 50px;
    margin-bottom: 30px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo h2 {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 5px;
    position: relative;
    display: inline-block;
}

.footer-logo h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.footer-logo p {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 1.1rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 25px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(-5px);
}

.contact-item i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.contact-item:hover i {
    background: var(--secondary-color);
    color: #fff;
}

.contact-item span {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.contact-item:hover span {
    color: white;
}

/* قسم الروابط المهمة */
.footer-nav {
    flex: 0 0 30%;
    padding: 0 20px;
    margin-bottom: 30px;
}

.footer-nav h3,
.footer-contact-form h3,
.footer-social h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    display: inline-block;
}

.footer-nav h3:after,
.footer-contact-form h3:after,
.footer-social h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.footer-links-grid {
    display: flex;
    gap: 50px;
}

.footer-links-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-grid ul li {
    margin-bottom: 15px;
}

.footer-links-grid ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    padding-right: 20px;
}

.footer-links-grid ul li a:before {
    content: '←';
    position: absolute;
    right: 0;
    transition: all 0.3s ease;
    opacity: 0;
}

.footer-links-grid ul li a:hover {
    color: var(--secondary-color);
    padding-right: 25px;
}

.footer-links-grid ul li a:hover:before {
    opacity: 1;
}

/* قسم نموذج الاتصال والنشرة البريدية */
.footer-contact-form {
    flex: 0 0 30%;
    padding-left: 20px;
    margin-bottom: 30px;
}

.footer-contact-form p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer-form .form-group {
    display: flex;
    gap: 0;
    margin-bottom: 25px;
}

.footer-form input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 12px 20px;
    border-radius: 30px 0 0 30px;
    outline: none;
    transition: all 0.3s ease;
}

.footer-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-form input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.footer-form button {
    background: var(--secondary-color);
    color: #fff;
    border: none;
    padding: 0 25px;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.footer-form button:hover {
    background: var(--secondary-light);
}

/* أيقونات وسائل التواصل الاجتماعي */
.footer-social {
    margin-top: 30px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icons a:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 0;
}

.social-icons a i {
    position: relative;
    z-index: 1;
}

.social-icons a:hover {
    transform: translateY(-5px);
}

.social-icons a:hover:before {
    opacity: 1;
}

/* القسم السفلي من التذييل */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    position: relative;
    z-index: 1;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-badges {
    display: flex;
    gap: 15px;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    padding: 7px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.footer-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.footer-badge i {
    color: var(--secondary-color);
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    transition: all 0.3s ease;
    position: relative;
}

.legal-links a:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.legal-links a:hover {
    color: var(--secondary-color);
}

.legal-links a:hover:after {
    transform: scaleX(1);
    transform-origin: left;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top a {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.back-to-top a:hover {
    background: linear-gradient(45deg, var(--secondary-color), var(--secondary-light));
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* تحسين التوافق مع الشاشات المختلفة */
@media (max-width: 1200px) {
    .footer-about,
    .footer-nav,
    .footer-contact-form {
        flex: 0 0 calc(50% - 20px);
    }
    
    .footer-contact-form {
        margin-top: 30px;
    }
}

@media (max-width: 992px) {
    .footer-about,
    .footer-nav,
    .footer-contact-form {
        flex: 0 0 100%;
        padding-right: 0;
        padding-left: 0;
    }
    
    .footer-nav, 
    .footer-contact-form {
        margin-top: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        padding: 25px 0;
        text-align: center;
    }
    
    .footer-badges,
    .legal-links {
        justify-content: center;
    }
    
    .footer-social .social-icons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-top {
        padding: 50px 0 30px;
    }
    
    .footer-links-grid {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .footer-links-grid ul {
        width: 100%;
        columns: 2;
    }
    
    .footer-links-grid ul li {
        break-inside: avoid;
    }
    
    .footer-social .social-icons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* تنسيق القائمة في الشاشات الصغيرة */
    nav {
        position: fixed;
        top: 80px;
        right: -100%;
        background-color: #fff;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 80px);
        box-shadow: -5px 0px 15px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        padding: 20px;
        z-index: 999;
        overflow-y: auto;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        width: 100%;
    }
    
    nav ul li {
        width: 100%;
        margin-bottom: 10px;
    }
    
    nav ul li a {
        width: 100%;
        display: block;
        text-align: right;
        padding: 15px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    /* أضف طبقة داكنة عند فتح القائمة */
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* ===== قسم الإحصائيات ===== */
.stats-section {
    background: linear-gradient(45deg, rgba(21, 58, 122, 0.95), rgba(30, 75, 156, 0.95)), url('https://images.pexels.com/photos/3183150/pexels-photo-3183150.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    color: #fff;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

.stats-section .section-header {
    margin-bottom: 40px;
}

.stats-section .section-title {
    color: #fff;
    font-size: 1.8rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--secondary-color), var(--secondary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 15px;
    position: relative;
    box-shadow: 0 5px 15px rgba(255, 87, 34, 0.3);
    transition: all 0.5s ease;
}

.stat-icon:before {
    content: '';
    position: absolute;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    animation: spin 15s linear infinite;
}

.stat-icon i {
    color: #fff;
    font-size: 1.7rem;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #fff;
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.stat-number:after {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 3px;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* تنسيق للشاشات الصغيرة */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
    }
    
    .stat-icon:before {
        width: 62px;
        height: 62px;
    }
    
    .stat-icon i {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-item {
        padding: 20px 15px;
    }
}

/* قسم القيم الأساسية */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    justify-items: center;
}

.value-card {
    background: #fff;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-align: right;
    height: 100%;
    width: 100%;
    max-width: 320px;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(32, 156, 255, 0.15);
}

.value-card .icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2196f3 0%, #42a5f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    font-size: 1.8rem;
    color: #fff;
    margin-right: 0;
    margin-left: auto;
}

.value-card .icon::before {
    content: '';
    position: absolute;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    border: 2px dashed rgba(32, 156, 255, 0.3);
    animation: spin 15s linear infinite;
}

.value-card:hover .icon i {
    transform: rotateY(180deg);
}

.value-card h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    position: relative;
}

.value-card h4:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #2196f3 0%, #42a5f5 100%);
    bottom: -0.5rem;
    right: 0;
}

.value-card p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.value-card:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(135deg, #2196f3 0%, #42a5f5 100%);
    border-radius: 0 0 15px 15px;
}

.value-card:nth-child(odd) .icon,
.value-card:nth-child(5) .icon {
    background: linear-gradient(45deg, var(--secondary-color), var(--secondary-light));
    box-shadow: 0 10px 25px rgba(255, 87, 34, 0.25);
}

.value-card:nth-child(odd) .icon:before,
.value-card:nth-child(5) .icon:before {
    border-color: rgba(255, 87, 34, 0.3);
}

.value-card:nth-child(odd) h4:after,
.value-card:nth-child(5) h4:after,
.value-card:nth-child(odd):after,
.value-card:nth-child(5):after {
    background: linear-gradient(90deg, var(--secondary-color), var(--secondary-light));
}

@media (max-width: 768px) {
    .value-card {
        padding: 30px 20px;
    }
    
    .value-card .icon {
        width: 75px;
        height: 75px;
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .value-card h4 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
}

.stats-section .section-header {
    margin-bottom: 60px;
}

.stats-section .section-title {
    color: #fff;
}

.stats-section .section-title:after {
    background: linear-gradient(to right, var(--secondary-color), var(--secondary-light));
}

.stats-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.stats-section .section-subtitle-badge {
    background: linear-gradient(45deg, var(--secondary-color), var(--secondary-light));
    box-shadow: 0 5px 15px rgba(255, 87, 34, 0.3);
}

.stats-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" viewBox="0 0 50 50"><circle cx="6" cy="6" r="3" fill="white" opacity="0.1"/></svg>');
    background-size: 30px 30px;
    opacity: 0.2;
}

.stat-item:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--secondary-color), var(--secondary-light));
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.stat-item:hover:before {
    transform: scaleX(1);
}

.stat-item:hover .stat-icon {
    transform: rotateY(180deg);
}

@media (max-width: 992px) {
    .intro-grid {
        padding-bottom: 10px;
    }
    
    .intro-box {
        min-width: 250px;
    }
}

@media (max-width: 768px) {
    .intro-grid {
        padding-bottom: 10px;
    }
    
    .services-grid {
        padding-bottom: 10px;
    }
    
    .intro-box {
        min-width: 220px;
        padding: 20px;
    }
    
    .service-card {
        min-width: 220px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .intro-box {
        min-width: 200px;
        padding: 15px;
    }
    
    .service-card {
        min-width: 200px;
        padding: 15px;
    }
}

/* تحسين قسم نموذج التواصل */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(145deg, #f8fbff, #f5f7fa);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="30" height="30" viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"><circle cx="3" cy="3" r="2" fill="%231e4b9c" opacity="0.05"/></svg>') repeat;
    z-index: 1;
}

.contact-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.contact-intro h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    background: linear-gradient(145deg, #ffffff, #f5f7fa);
    border: none;
    position: relative;
}

.contact-form:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
    z-index: 0;
}

.contact-form:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.contact-form:hover:before {
    transform: scaleX(1);
    transform-origin: left;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(145deg, var(--primary-color), var(--primary-light));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin: 0 auto 20px;
    position: relative;
    box-shadow: 0 10px 20px rgba(30, 75, 156, 0.25);
    transition: all 0.4s ease;
}

.form-icon:before {
    content: '';
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.5);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.contact-form:hover .form-icon {
    transform: rotateY(180deg);
}

.contact-form:hover .form-icon:before {
    opacity: 1;
}

.form-header h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.input-icon-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.input-icon-wrapper:hover {
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.input-icon-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1rem;
}

.textarea-wrapper i {
    top: 20px;
    transform: none;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: none;
    background: transparent;
    font-size: 1rem;
    font-family: 'Tajawal', sans-serif;
    color: var(--dark-color);
    outline: none;
    transition: all 0.3s ease;
}

.contact-form textarea {
    padding: 15px 15px 15px 45px;
    height: 150px;
    resize: none;
}

.contact-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-dark);
}

.contact-form .required {
    color: var(--secondary-color);
}

.checkbox-group {
    margin-top: 10px;
    margin-bottom: 20px;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-wrapper label {
    margin-bottom: 0;
    cursor: pointer;
    font-weight: 400;
    font-size: 0.9rem;
}

.submit-btn {
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    width: 100%;
    font-size: 1rem;
    font-family: 'Tajawal', sans-serif;
}

.submit-btn:hover {
    background-color: var(--secondary-color);
}

.contact-info {
    background: linear-gradient(145deg, var(--primary-color), var(--primary-dark));
    padding: 40px;
    border-radius: 15px;
    color: #fff;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(30, 75, 156, 0.3);
    display: flex;
    flex-direction: column;
}

.contact-info:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><circle cx="5" cy="5" r="3" fill="white" opacity="0.1"/></svg>');
    opacity: 0.2;
    z-index: 0;
}

.contact-info h3 {
    font-size: 1.6rem;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.info-item {
    display: flex;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.info-item .icon {
    margin-left: 15px;
    font-size: 1.2rem;
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.info-item:hover .icon {
    background: var(--secondary-color);
    color: #fff;
    transform: translateY(-3px);
}

.info-item h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.social-media {
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.social-media h4 {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.social-media .social-icons {
    display: flex;
    gap: 12px;
}

.social-media .social-icons a {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-media .social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

.contact-cta {
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.contact-cta .btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-cta .btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* تحسين نموذج التحقق من حالة الطلب */
.request-status-section {
    background-color: #fff;
    padding: 60px 0;
}

.request-status-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 40px;
    background: linear-gradient(145deg, #ffffff, #f5f7fa);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.request-status-container:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
    z-index: 0;
}

.request-status-container:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.request-status-container:hover:before {
    transform: scaleX(1);
    transform-origin: left;
}

.request-status-container .section-header h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.request-status-form {
    margin-top: 30px;
}

.input-group {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    flex-direction: row-reverse; /* عكس الترتيب ليكون الزر في البداية */
}

.input-group input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 0 10px 10px 0; /* عكس الحواف */
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.input-group .btn {
    padding: 15px 30px;
    border-radius: 10px 0 0 10px; /* عكس الحواف */
    background: linear-gradient(to right, var(--primary-color), var(--primary-light));
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.input-group .btn:hover {
    background: linear-gradient(to right, var(--primary-dark), var(--primary-color));
}

/* تحسين قسم النشرة البريدية */
.newsletter-contact-section {
    background: linear-gradient(145deg, var(--primary-light), var(--primary-color));
    padding: 80px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.newsletter-contact-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><circle cx="5" cy="5" r="3" fill="white" opacity="0.1"/></svg>');
    opacity: 0.2;
}

.newsletter-contact-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.newsletter-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    transition: all 0.4s ease;
}

.newsletter-icon:before {
    content: '';
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.3);
}

.newsletter-contact-content:hover .newsletter-icon {
    transform: rotateY(180deg);
}

.newsletter-contact-section h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.newsletter-contact-content p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.newsletter-form .form-group {
    display: flex;
    max-width: 550px;
    margin: 0 auto;
    flex-direction: row-reverse; /* عكس الترتيب ليكون الزر في البداية */
}

.newsletter-form input {
    flex: 1;
    padding: 18px 25px;
    border: none;
    border-radius: 0 10px 10px 0; /* عكس الحواف */
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form input:focus {
    background: rgba(255, 255, 255, 0.25);
    outline: none;
}

.newsletter-form button {
    padding: 18px 30px;
    border: none;
    background: var(--secondary-color);
    color: #fff;
    border-radius: 10px 0 0 10px; /* عكس الحواف */
    font-family: 'Tajawal', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: var(--secondary-dark);
}

.form-note {
    margin-top: 15px;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* تحسينات لشاشات الجوال */
@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info {
        order: -1;
    }
}

@media (max-width: 768px) {
    .contact-form, .contact-info, .request-status-container {
        padding: 30px;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .newsletter-form .form-group {
        flex-direction: column; /* للشاشات الصغيرة نعود للترتيب العمودي */
    }
    
    .newsletter-form input {
        border-radius: 10px;
        margin-bottom: 10px;
    }
    
    .newsletter-form button {
        border-radius: 10px;
        width: 100%;
    }
    
    .input-group {
        flex-direction: column; /* للشاشات الصغيرة نعود للترتيب العمودي */
    }
    
    .input-group input {
        border-radius: 10px;
        margin-bottom: 10px;
    }
    
    .input-group .btn {
        border-radius: 10px;
        width: 100%;
    }
    
    .quick-ways-grid {
        grid-template-columns: 1fr;
    }
}

/* وسائل التواصل السريعة */
.contact-quick-ways {
    padding: 70px 0;
    background-color: #f9fbff;
}

.quick-ways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.quick-way-card {
    background: linear-gradient(145deg, #ffffff, #f5f7fa);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.quick-way-card:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
    z-index: 0;
}

.quick-way-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.quick-way-card:hover:before {
    transform: scaleX(1);
    transform-origin: left;
}

.quick-way-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(145deg, var(--primary-color), var(--primary-light));
    color: #fff;
    font-size: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    box-shadow: 0 10px 20px rgba(30, 75, 156, 0.25);
    transition: all 0.4s ease;
}

.quick-way-icon:before {
    content: '';
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.5);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.quick-way-card:hover .quick-way-icon {
    transform: rotateY(180deg);
}

.quick-way-card:hover .quick-way-icon:before {
    opacity: 1;
}

.quick-way-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.quick-way-card p {
    margin-bottom: 15px;
    color: #666;
}

.contact-link {
    color: var(--primary-color);
    font-weight: 600;
    display: block;
    transition: all 0.3s ease;
}

.quick-way-card:hover .contact-link {
    color: var(--secondary-color);
}


/* نموذج طلب الخدمة (Service Request Modal) */
.service-request-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-request-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease forwards;
}

.modal-container {
    position: relative;
    width: 90%;
    max-width: 600px;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    z-index: 2;
    transform: translateY(30px);
    animation: modalSlideIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

@keyframes modalSlideIn {
    to {
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 25px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.modal-header:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0.5;
    pointer-events: none;
}

.modal-header h3 {
    margin: 0;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-header h3:before {
    content: '\f2bb';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 1.3rem;
}

.close-modal {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px 25px;
    max-height: 70vh;
    overflow-y: auto;
}

.service-select-container {
    position: relative;
    margin-top: 8px;
}

.service-select-wrapper {
    position: relative;
}

.service-select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    padding: 14px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.service-select-wrapper:hover select {
    border-color: var(--primary-light);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.07);
}

.service-select-wrapper select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 43, 91, 0.15);
}

.service-select-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--dark-gray);
    pointer-events: none;
    transition: color 0.3s, transform 0.3s;
}

.service-select-wrapper:hover i {
    color: var(--primary-color);
    transform: translateY(-50%) translateX(-3px);
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.form-row .input-icon-wrapper {
    flex: 1;
    position: relative;
}

.input-icon-wrapper i {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: var(--dark-gray);
    transition: all 0.3s ease;
}

.input-icon-wrapper:hover i {
    color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.textarea-wrapper i {
    top: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea,
.input-icon-wrapper input {
    width: 100%;
    padding: 14px 45px 14px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.form-group input:focus,
.form-group textarea:focus,
.input-icon-wrapper input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 43, 91, 0.15);
}

.form-group textarea {
    resize: none;
    height: 120px;
    padding-top: 15px;
}

.checkbox-group {
    margin-top: 25px;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
}

.checkbox-wrapper label {
    font-size: 0.95rem;
    color: var(--dark-gray);
    cursor: pointer;
}

.checkbox-wrapper .terms-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s;
}

.checkbox-wrapper .terms-link:hover {
    color: var(--secondary-color);
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 25px;
    margin-top: 15px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 43, 91, 0.25);
}

.submit-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(45deg, var(--secondary-color), var(--secondary-light));
    transition: width 0.4s ease;
    z-index: 0;
}

.submit-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 43, 91, 0.35);
}

.submit-btn:hover:before {
    width: 100%;
}

.submit-btn i {
    z-index: 1;
    transition: transform 0.4s ease;
}

.submit-btn span {
    z-index: 1;
    position: relative;
}

.submit-btn:hover i {
    transform: translateX(-5px);
}

.submit-btn.success {
    background: linear-gradient(45deg, var(--success-color), #4CAF50);
}

/* تحسين ظهور الصفحة على الشاشات الصغيرة */
@media (max-width: 768px) {
    .modal-container {
        width: 95%;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-row .input-icon-wrapper {
        width: 100%;
        margin-bottom: 0;
    }
}

/* حالة التركيز على حقول الإدخال */
.input-icon-wrapper.input-focus {
    transform: scale(1.02);
}

.input-icon-wrapper.input-focus input,
.input-icon-wrapper.input-focus textarea,
.input-icon-wrapper.input-focus select {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 43, 91, 0.15);
}

.input-icon-wrapper.input-focus i {
    color: var(--primary-color);
    transform: translateY(-50%) scale(1.2);
}

/* تأثير الهزة للحقول غير الصالحة */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.shake {
    animation: shake 0.6s cubic-bezier(.36,.07,.19,.97) both;
}

/* تنسيق الحقول غير الصالحة */
.input-icon-wrapper.error input,
.input-icon-wrapper.error textarea,
.input-icon-wrapper.error select {
    border-color: var(--danger-color);
    background-color: rgba(220, 53, 69, 0.05);
}

.input-icon-wrapper.error i {
    color: var(--danger-color);
}

/* رسالة الخطأ */
.error-message {
    color: var(--danger-color);
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
    animation: fadeIn 0.3s ease;
    font-weight: 500;
    padding-right: 10px;
    position: relative;
}

.error-message:before {
    content: '\f071';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 5px;
    font-size: 0.8rem;
}

/* تأثير القلب للنموذج */
.modal-container:hover {
    transform: scale(1.01);
    transition: transform 0.4s ease;
}

/* تأثير النبض للزر */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.submit-btn:active {
    animation: pulse 0.3s linear;
}

/* تأثيرات أيقونة الإرسال */
.submit-btn .fa-paper-plane {
    transition: all 0.4s ease;
}

.submit-btn:hover .fa-paper-plane {
    transform: translate(-5px, -5px);
}

.badge-inline {
    background: linear-gradient(45deg, var(--primary-light), var(--primary-color));
    color: #fff;
    padding: 3px 10px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 3px 10px rgba(0, 43, 91, 0.2);
    margin-left: 10px;
    vertical-align: middle;
}

/* تصميم بطاقات طريقة عملنا الجديدة */
.process-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
    justify-content: center;
}

.process-card {
    position: relative;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 30px;
    flex: 1;
    min-width: 280px;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(var(--primary-rgb), 0.1);
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: rgba(var(--primary-rgb), 0.3);
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.02) 0%, rgba(var(--primary-rgb), 0.08) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 15px;
}

.process-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #fff;
    font-size: 1.8rem;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.2);
}

.card-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    right: -5px;
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    border-radius: 20px;
    border: 1px dashed rgba(var(--primary-rgb), 0.3);
    animation: spin 20s linear infinite;
    transition: all 0.4s ease;
}

.process-card:hover .card-icon {
    transform: scale(1.1);
    box-shadow: 0 15px 25px rgba(var(--primary-rgb), 0.3);
}

.process-card:hover .card-icon::before {
    border-color: rgba(var(--primary-rgb), 0.6);
}

.card-content {
    flex: 1;
}

.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
}

.card-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to left, var(--primary-color), var(--primary-light));
    transition: width 0.3s ease;
}

.process-card:hover .card-content h3::after {
    width: 100px;
}

.card-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.card-arrow {
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.5rem;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.process-card:hover .card-arrow {
    opacity: 1;
    left: -20px;
    color: var(--primary-color);
}

@media (max-width: 992px) {
    .process-cards {
        flex-wrap: wrap;
    }
    
    .process-card {
        min-width: calc(50% - 20px);
        margin-bottom: 30px;
    }
    
    .card-arrow {
        display: none;
    }
}

@media (max-width: 768px) {
    .process-card {
        min-width: 100%;
    }
}

/* تصميم الخط الزمني الجديد */
.timeline-container {
    position: relative;
    padding: 80px 0 20px;
    margin-top: 30px;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 50%;
    width: 4px;
    background: linear-gradient(to bottom, rgba(var(--primary-rgb), 0.1), rgba(var(--primary-rgb), 0.8), rgba(var(--primary-rgb), 0.1));
    transform: translateX(50%);
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.15);
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 70px;
    opacity: 0;
    animation: fadeInUp 0.8s forwards;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
    padding-right: calc(50% + 30px);
    padding-left: 50px;
    text-align: right;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
    padding-left: calc(50% + 30px);
    padding-right: 50px;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    right: 50%;
    transform: translateX(50%);
    z-index: 2;
}

.timeline-icon {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.2);
    transition: all 0.4s ease;
    border: 5px solid rgba(var(--primary-rgb), 0.1);
}

.timeline-icon i {
    font-size: 30px;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.timeline-icon::before {
    content: '';
    position: absolute;
    width: 60%;
    height: 60%;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05), rgba(var(--primary-rgb), 0.15));
    z-index: 1;
    transition: all 0.4s ease;
}

.timeline-item:hover .timeline-icon {
    transform: scale(1.1);
    border-color: rgba(var(--primary-rgb), 0.2);
    box-shadow: 0 15px 35px rgba(var(--primary-rgb), 0.3);
}

.timeline-item:hover .timeline-icon i {
    transform: scale(1.2);
    color: var(--primary-color);
}

.timeline-item:hover .timeline-icon::before {
    transform: scale(1.2);
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--primary-rgb), 0.3));
}

.timeline-content {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.4s ease;
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    max-width: 100%;
}

.timeline-content::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #fff;
    transform: rotate(45deg);
    top: 30px;
    border: 1px solid rgba(var(--primary-rgb), 0.05);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -10px;
    border-right: 0;
    border-top: 0;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -10px;
    border-left: 0;
    border-bottom: 0;
}

.timeline-content h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.timeline-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 70px;
    height: 3px;
    background: linear-gradient(to left, var(--primary-color), var(--primary-light));
    transition: width 0.4s ease;
}

.timeline-item:nth-child(even) .timeline-content h3::after {
    right: auto;
    left: 0;
    background: linear-gradient(to right, var(--primary-color), var(--primary-light));
}

.timeline-item:hover .timeline-content {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: rgba(var(--primary-rgb), 0.15);
}

.timeline-item:hover .timeline-content h3::after {
    width: 100%;
}

.timeline-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .timeline-line {
        right: 40px;
        transform: none;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        flex-direction: row;
        padding-right: 90px;
        padding-left: 0;
        text-align: right;
    }
    
    .timeline-dot {
        right: 40px;
        transform: translateX(50%);
    }
    
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -10px;
        right: auto;
        border-right: 0;
        border-top: 0;
    }
    
    .timeline-item:nth-child(even) .timeline-content h3::after {
        right: 0;
        left: auto;
        background: linear-gradient(to left, var(--primary-color), var(--primary-light));
    }
}

@media (max-width: 768px) {
    .timeline-line {
        right: 20px;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-right: 70px;
    }
    
    .timeline-dot {
        right: 20px;
    }
    
    .timeline-icon {
        width: 60px;
        height: 60px;
    }
    
    .timeline-icon i {
        font-size: 24px;
    }
    
    .timeline-content {
        padding: 20px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* تحسين نموذج طلب الخدمة - إخفاء الأيقونات وتحسين الحقول */
.service-request-modal .input-icon-wrapper i {
    display: none;
}

.service-request-modal .input-icon-wrapper input {
    padding: 14px 15px;
    background-color: #f9fafb;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.service-request-modal .input-icon-wrapper input:focus {
    background-color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 43, 91, 0.15);
    transform: translateY(-2px);
}

.service-request-modal .textarea-wrapper i {
    display: none;
}

.service-request-modal .textarea-wrapper textarea {
    padding: 14px 15px;
}

.service-request-modal .service-select-wrapper i {
    display: none;
}

.service-request-modal .service-select-wrapper select {
    padding: 14px 15px;
}

/* تحسين أزرار النموذج */
.service-request-modal .submit-btn {
    width: 100%;
    border-radius: 8px;
    font-weight: 600;
    padding: 12px;
    margin-top: 15px;
}

/* ===== نموذج طلب الخدمة (Service Request Modal) ===== */
/* ... rest of existing code ... */

/* ===== تحسينات الريسبونسف للهيرو ===== */
@media (max-width: 992px) {
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero .container {
        gap: 40px;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-content h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 0 60px;
        text-align: center;
    }
    
    .hero .container {
        flex-direction: column-reverse;
        gap: 30px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .hero-content h3 {
        font-size: 1.3rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 20px;
    }
    
    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-image {
        max-width: 100%;
    }
    
    .floating-card {
        right: 10px;
        bottom: -15px;
        max-width: 220px;
    }
    
  
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 50px;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h3 {
        font-size: 1.1rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .floating-card {
        padding: 15px;
        max-width: 200px;
    }
    
 

}

/* ===== الأقسام التمهيدية ===== */
/* ... existing code ... *//* تحسينات الريسبونسف للهيرو - جعله يتصرف مثل page-header */
@media (max-width: 992px) {
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero .container {
        gap: 40px;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-content h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 0 60px;
        text-align: center;
    }
    
    .hero .container {
        flex-direction: column-reverse;
        gap: 30px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .hero-content h3 {
        font-size: 1.3rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 20px;
    }
    
    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-image {
        max-width: 100%;
    }
    
    .floating-card {
        right: 10px;
        bottom: -15px;
        max-width: 220px;
    }
    

}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 50px;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h3 {
        font-size: 1.1rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .floating-card {
        padding: 15px;
        max-width: 200px;
    }
    

} 

/* تنسيق زر طلب الخدمة في الهيدر */
.service-request-btn {
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.service-request-btn .primary-btn {
    padding: 10px 18px;
    font-size: 0.95rem;
    white-space: nowrap;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.25);
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 2px solid transparent;
}

.service-request-btn .primary-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    z-index: -1;
    transition: all 0.4s ease;
}

.service-request-btn .primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.4);
}

.service-request-btn .primary-btn:hover::before {
    background: linear-gradient(45deg, var(--primary-light), var(--primary-color));
}

.service-request-btn .primary-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(var(--primary-rgb), 0.2);
}

.service-request-btn .primary-btn i {
    margin-left: 8px;
    font-size: 1rem;
    position: relative;
    top: 1px;
}

@media (max-width: 992px) {
    .service-request-btn {
        margin-right: 15px;
    }
    
    .service-request-btn .primary-btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .service-request-btn {
        display: none;
    }
}
