:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #f39c12;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
}

/* ستايل الهيدر */
header {
    background-color: var(--primary-color);
    color: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-left: 10px;
}

.logo-text h1 {
    font-size: 1.5rem;
    margin: 0;
}

.logo-text p {
    font-size: 0.8rem;
    margin: 0;
    opacity: 0.8;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 10px;
    position: relative;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

nav ul li a:hover {
    background-color: rgba(255,255,255,0.1);
    color: var(--accent-color);
}

nav ul li a i {
    margin-left: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 200px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

nav ul li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    top: 120%;
}

.dropdown-menu li {
    margin: 0;
    border-bottom: 1px solid #eee;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu li a {
    color: var(--primary-color);
    padding: 10px 15px;
}

.dropdown-menu li a:hover {
    background-color: var(--accent-color);
    color: white;
}

.header-actions {
    display: flex;
    align-items: center;
}

.contact-btn {
    background: var(--accent-color);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: #e67e22;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* تأثير التمرير */
header.scrolled {
    background-color: rgba(44,62,80,0.95);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    padding: 5px 0;
}

/* التصميم المتجاوب */
@media (max-width: 992px) {
    nav {
        position: fixed;
        top: 70px;
        right: -100%;
        background: var(--primary-color);
        width: 80%;
        height: calc(100vh - 70px);
        transition: all 0.3s ease;
        overflow-y: auto;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .dropdown-menu {
        position: static;
        display: none;
        background: rgba(0,0,0,0.1);
        box-shadow: none;
        opacity: 1;
        visibility: visible;
    }
    
    nav ul li:hover .dropdown-menu {
        top: 0;
    }
    
    .dropdown-menu li a {
        color: white;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .header-actions .contact-btn {
        display: none;
    }
}

/* CSS ستايل متقدم للهيرو */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', 'Tahoma', sans-serif;
    overflow-x: hidden;
}

.hero {
    position: relative;
    height: 100vh;
    min-height: 650px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('../images/dylan.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, #f5f5f5, transparent);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.3;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: white;
    border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--dark-color);
    transform: translateY(-3px);
}

.stats {
    display: flex;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-icon {
    font-size: 2rem;
    color: var(--accent-color);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* تأثيرات الحركة */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* التجاوب مع الأجهزة المختلفة */
@media (max-width: 768px) {
    .hero {
        min-height: 700px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
        margin: 0 auto 30px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .stats {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .stat-item {
        flex-direction: column;
        text-align: center;
    }
}

 /* استمرار الستايل العام */
 body {
    font-family: 'Tajawal', 'Tahoma', sans-serif;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* ستايل قسم عن الشركة */
.about-section {
    padding: var(--section-padding);
    background-color: #fff;
    position: relative;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.4;
}

.about-text p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.about-features {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.feature-icon {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-top: 5px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(233, 144, 41, 0.1), rgba(231, 76, 60, 0.1));
    z-index: 1;
}

/* قسم الرؤية والرسالة */
.mission-vision {
    background-color: #f9f9f9;
    padding: var(--section-padding);
}

.mv-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.mv-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border-top: 4px solid var(--accent-color);
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.mv-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.mv-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* فريق العمل */
.team-section {
    padding: var(--section-padding);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-member {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    text-align: center;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-image {
    height: 250px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.member-info {
    padding: 20px;
}

.member-info h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.member-info p {
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

/* التجاوب مع الأجهزة المختلفة */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .mv-container {
        grid-template-columns: 1fr;
    }
}

 /*فسم الخدمات */
 .services-section {
    padding: var(--section-padding);
    background-color: #f9f9f9;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.service-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(44,62,80,0.7));
}

.service-content {
    padding: 25px;
    position: relative;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    position: absolute;
    top: -35px;
    right: 25px;
    box-shadow: 0 5px 15px rgba(243,156,18,0.4);
}

.service-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
    margin-top: 15px;
}

.service-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-features {
    margin-bottom: 20px;
}

.service-features li {
    margin-bottom: 8px;
    position: relative;
    padding-right: 20px;
}

.service-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent-color);
    position: absolute;
    right: 0;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--secondary-color);
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-link i {
    margin-right: 5px;
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: var(--primary-color);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* قسم الخدمات المميزة */
.featured-services {
    padding: var(--section-padding);
    background: linear-gradient(rgba(44,62,80,0.9), rgba(44,62,80,0.9)), url('../images/writing.jpg');
    background-size: cover;
    background-attachment: fixed;
    color: white;
}

.featured-services .section-title h2 {
    color: white;
}

.featured-services .section-title::after {
    background: var(--accent-color);
}

.fs-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.fs-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.4s ease;
}

.fs-card:hover {
    background: rgba(231,76,60,0.2);
    transform: translateY(-10px);
}

.fs-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.fs-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.fs-card p {
    opacity: 0.9;
    line-height: 1.7;
}

/* كيف نعمل */
.how-we-work {
    padding: var(--section-padding);
    background-color: white;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 50px;
    position: relative;
}

.step {
    display: flex;
    gap: 30px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(243,156,18,0.3);
}

.step-content {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    flex-grow: 1;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.step-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 0;
    right: 29px;
    width: 2px;
    height: 100%;
    background: var(--accent-color);
    z-index: 0;
}

/* التجاوب مع الأجهزة المختلفة */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .steps-container::before {
        display: none;
    }
    
    .service-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .fs-container {
        grid-template-columns: 1fr;
    }
}

 /* ستايل الفوتر */
.site-footer {
background-color: var(--primary-color);
color: white;
padding: 60px 0 0;
position: relative;
}

.site-footer::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 5px;
background: linear-gradient(to right, var(--accent-color), var(--secondary-color));
}

.footer-container {
width: 90%;
max-width: 1200px;
margin: 0 auto;
}

.footer-top {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 30px;
margin-bottom: 40px;
}

.footer-column h3 {
color: var(--accent-color);
font-size: 1.3rem;
margin-bottom: 20px;
position: relative;
padding-bottom: 10px;
}

.footer-column h3::after {
content: '';
position: absolute;
bottom: 0;
right: 0;
width: 50px;
height: 3px;
background: var(--secondary-color);
}

.footer-logo img {
height: 40px;
margin-bottom: 15px;
}

.footer-logo p {
opacity: 0.8;
line-height: 1.6;
margin-bottom: 20px;
}

.social-links {
display: flex;
gap: 15px;
}

.social-links a {
width: 40px;
height: 40px;
background: rgba(255,255,255,0.1);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: white;
transition: all 0.3s ease;
}

.social-links a:hover {
background: var(--accent-color);
transform: translateY(-5px);
}

.footer-column ul {
list-style: none;
padding: 0;
}

.footer-column ul li {
margin-bottom: 12px;
}

.footer-column ul li a {
color: white;
text-decoration: none;
transition: all 0.3s ease;
display: flex;
align-items: center;
}

.footer-column ul li a:hover {
color: var(--accent-color);
transform: translateX(-5px);
}

.footer-column ul li a i {
margin-right: 5px;
}

.contact-info li {
display: flex;
align-items: flex-start;
margin-bottom: 15px;
}

.contact-info i {
margin-left: 10px;
color: var(--accent-color);
margin-top: 3px;
}

.footer-bottom {
border-top: 1px solid rgba(255,255,255,0.1);
padding: 20px 0;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
}

.copyright p {
margin: 0;
opacity: 0.8;
}

.footer-links {
display: flex;
gap: 20px;
}

.footer-links a {
color: white;
text-decoration: none;
transition: all 0.3s ease;
}

.footer-links a:hover {
color: var(--accent-color);
}

/* التصميم المتجاوب */
@media (max-width: 768px) {
.footer-top {
    grid-template-columns: 1fr;
}

.footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
}

.footer-links {
    flex-wrap: wrap;
    justify-content: center;
}
}

/* قسم طريقة العمل*/
.how-it-works {
    padding: var(--section-padding);
    background-color: #f9f9f9;
}

.process-container {
    position: relative;
    margin-top: 50px;
}

.process-line {
    position: absolute;
    right: 50%;
    transform: translateX(50%);
    width: 4px;
    height: 100%;
    background: var(--accent-color);
    z-index: 1;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 30px;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 10px 25px rgba(243,156,18,0.3);
    position: relative;
    z-index: 3;
}

.step-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    flex-grow: 1;
    position: relative;
    border-right: 4px solid var(--accent-color);
}

.step-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.6rem;
}

.step-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.step-features {
    margin-top: 20px;
}

.step-features li {
    margin-bottom: 10px;
    position: relative;
    padding-right: 25px;
}

.step-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent-color);
    position: absolute;
    right: 0;
}

/* التصميم المتجاوب */
@media (max-width: 992px) {
    .process-line {
        right: 40px;
        transform: none;
    }
    
    .process-step {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .process-line {
        display: none;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-content {
        border-right: none;
        border-top: 4px solid var(--accent-color);
    }
}

/* قسم الأسئلة الشائعة */
.faq-section {
    padding: var(--section-padding);
    background-color: white;
}

.faq-container {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.faq-question {
    background: var(--primary-color);
    color: white;
    padding: 20px;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #233342;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-answer {
    background: #f9f9f9;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer-inner {
    padding: 20px;
}

.faq-item.active .faq-question {
    background: var(--secondary-color);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 1px;
}

/* قسم الاتصال السريع */
.quick-contact {
    padding: var(--section-padding);
    background: linear-gradient(rgba(44,62,80,0.9), rgba(44,62,80,0.9)), url('../images/calcenter.jpg');
    background-size: cover;
    background-attachment: fixed;
    color: white;
    text-align: center;
}

.quick-contact .section-title h2 {
    color: white;
}

.quick-contact .section-title::after {
    background: var(--accent-color);
}

.contact-box {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid rgba(255,255,255,0.2);
}

.contact-btn {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: #e67e22;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}