/* ===== المتغيرات العامة ===== */
:root {
    --primary-color: #113226;
    --secondary-color: #376E49;
    --accent-color: #5EBD6A;
    --light-color: #F8FCF8;
    --dark-color: #1a1a1a;
    --gray-color: #f5f5f5;
    --white-color: #ffffff;
    --text-color: #333333;
    --font-family: 'Tajawal', sans-serif;
    --transition: all 0.3s ease;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
}

/* ===== الإعدادات العامة ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--white-color);
    color: var(--text-color);
    line-height: 1.6;
    direction: rtl;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--primary-color);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.8rem;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--accent-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
    font-size: 2.8rem;
    font-weight: 900;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    border-radius: 2px;
}

.section-subtitle {
    max-width: 700px;
    margin: 0 auto;
    color: #666;
    font-size: 1.2rem;
    opacity: 0;
    animation: fadeIn 1s ease 0.5s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: var(--white-color);
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 10px 25px rgba(94, 189, 106, 0.3);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transition: var(--transition);
    z-index: -1;
    border-radius: 50px;
}

.btn:hover::before {
    width: 100%;
}

.btn:hover {
    color: var(--white-color);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(94, 189, 106, 0.4);
}

.btn span {
    margin-left: 10px;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    box-shadow: none;
}

.btn-outline::before {
    background: var(--accent-color);
}

.btn-outline:hover {
    color: var(--white-color);
}

/* ===== شريط التنقل ===== */
.navbar {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    transition: var(--transition);
    filter: drop-shadow(0 5px 15px rgba(17, 50, 38, 0.2));
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu li a {
    color: var(--primary-color);
    font-weight: 600;
    padding: 10px 0;
    position: relative;
    font-size: 1.1rem;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    border-radius: 2px;
    transition: var(--transition);
}

.nav-menu li a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: relative;
    width: 30px;
    height: 30px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 3px;
}

/* ===== القسم الرئيسي ===== */
.hero {
    background: linear-gradient(135deg, rgba(17, 50, 38, 0.95), rgba(55, 110, 73, 0.95)), url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    color: var(--white-color);
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(94, 189, 106, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(94, 189, 106, 0.2) 0%, transparent 50%);
    z-index: 1;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation: float 15s infinite ease-in-out;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    left: 15%;
    animation: float 12s infinite ease-in-out reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 30%;
    left: 80%;
    animation: float 18s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(20px, -20px) rotate(10deg);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    z-index: 2;
    position: relative;
}

.hero-badge {
    display: inline-block;
    background: rgba(94, 189, 106, 0.2);
    color: var(--white-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    animation: fadeIn 1s ease 0.2s forwards;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--white-color);
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    opacity: 0;
    animation: fadeIn 1s ease 1s forwards;
}

.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 25px 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(94, 189, 106, 0.2), rgba(55, 110, 73, 0.2));
    opacity: 0;
    transition: var(--transition);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent-color);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.stat-label {
    color: var(--white-color);
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.hero-compass {
    width: 200px;
    height: 200px;
    position: relative;
    margin-top: 20px;
}

.compass {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.compass::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.compass::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    width: 60%;
    height: 60%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.compass-needle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 40%;
    background: linear-gradient(to top, var(--accent-color), var(--white-color));
    transform-origin: bottom center;
    transform: translate(-50%, -100%) rotate(45deg);
    border-radius: 2px;
    z-index: 2;
}

.compass-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: var(--white-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-down {
    display: block;
    width: 30px;
    height: 50px;
    position: relative;
    animation: bounce 2s infinite;
}

.scroll-down span {
    position: absolute;
    top: 0;
    left: 50%;
    width: 8px;
    height: 8px;
    margin-left: -4px;
    background-color: var(--white-color);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

@keyframes scroll {
    0% {
        top: 10px;
        opacity: 1;
    }
    100% {
        top: 30px;
        opacity: 0;
    }
}

/* ===== قسم عن وجهة ===== */
.about {
    background-color: var(--light-color);
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text p {
    margin-bottom: 25px;
    font-size: 1.2rem;
    color: #444;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.feature {
    background-color: var(--white-color);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(94, 189, 106, 0.1), rgba(55, 110, 73, 0.1));
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.feature:hover::before {
    opacity: 1;
}

.feature:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent-color);
    font-size: 1.8rem;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.feature:hover .feature-icon {
    background-color: var(--accent-color);
    color: var(--white-color);
    transform: rotate(15deg);
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    transition: var(--transition);
}

.feature:hover h3 {
    color: var(--accent-color);
}

.feature p {
    color: #666;
    font-size: 1rem;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

/* ===== قسم الرؤية والرسالة ===== */
.vision {
    background-color: var(--white-color);
    position: relative;
}

.vision-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.vision-card {
    background: linear-gradient(135deg, var(--light-color), var(--white-color));
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--accent-color), transparent);
    border-radius: 0 0 0 150px;
    opacity: 0.1;
    z-index: -1;
}

.vision-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    color: var(--white-color);
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(94, 189, 106, 0.3);
}

.vision-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.vision-card p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ===== قسم القيم ===== */
.values {
    background-color: var(--light-color);
    position: relative;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.value-card {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 0;
    background: linear-gradient(to bottom, var(--accent-color), var(--secondary-color));
    transition: height 0.5s ease;
    z-index: -1;
}

.value-card:hover::before {
    height: 100%;
}

.value-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.value-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--accent-color);
    font-size: 2rem;
    transition: var(--transition);
}

.value-card:hover .value-icon {
    background-color: var(--accent-color);
    color: var(--white-color);
    transform: rotate(15deg) scale(1.1);
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    transition: var(--transition);
}

.value-card:hover h3 {
    color: var(--accent-color);
}

.value-card p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

/* ===== قسم الخدمات ===== */
.services {
    background-color: var(--white-color);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(94, 189, 106, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(94, 189, 106, 0.05) 0%, transparent 50%),
        linear-gradient(45deg, rgba(94, 189, 106, 0.03) 25%, transparent 25%, transparent 50%, rgba(94, 189, 106, 0.03) 50%, rgba(94, 189, 106, 0.03) 75%, transparent 75%, transparent);
    background-size: 100px 100px;
    z-index: -1;
    animation: bgMove 20s linear infinite;
}

@keyframes bgMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100px 100px;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 0;
    background: linear-gradient(to bottom, var(--accent-color), var(--secondary-color));
    transition: height 0.5s ease;
    z-index: -1;
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 90px;
    height: 90px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--accent-color);
    font-size: 2.2rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--accent-color);
    color: var(--white-color);
    transform: rotate(15deg) scale(1.1);
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover h3 {
    color: var(--accent-color);
}

.service-card p {
    color: #555;
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.service-link {
    color: var(--accent-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
    font-size: 1rem;
}

.service-link i {
    margin-right: 8px;
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(-8px);
}

/* ===== قسم لماذا تختار وجهة ===== */
.why-us {
    background-color: var(--light-color);
    position: relative;
}

.why-us-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-us-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.why-us-image:hover img {
    transform: scale(1.05);
}

.why-us-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.why-us-feature {
    display: flex;
    align-items: flex-start;
    background-color: var(--white-color);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.why-us-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.why-us-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 1.5rem;
    margin-left: 25px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 20px rgba(94, 189, 106, 0.3);
}

.why-us-text h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.why-us-text p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

/* ===== قسم طريقه تقديم خدمات ===== */
.process {
    background-color: var(--white-color);
    position: relative;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.process-step {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--box-shadow);
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.step-number {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(94, 189, 106, 0.3);
    z-index: 2;
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent-color);
    font-size: 2rem;
    transition: var(--transition);
}

.process-step:hover .step-icon {
    background-color: var(--accent-color);
    color: var(--white-color);
    transform: rotate(15deg);
}

.process-step h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.process-step p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

/* ===== قسم النشرة البريدية ===== */
.newsletter {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.05) 75%, transparent 75%, transparent);
    background-size: 100px 100px;
    z-index: 0;
    animation: bgMove 20s linear infinite;
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.newsletter-text {
    flex: 1;
    min-width: 300px;
}

.newsletter-text h2 {
    color: var(--white-color);
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
    font-size: 1.2rem;
}

/* ===== قسم اتصل بنا ===== */
.contact {
    background-color: var(--light-color);
    position: relative;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
    background-color: var(--white-color);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 1.4rem;
    margin-left: 25px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 20px rgba(94, 189, 106, 0.3);
}

.contact-text h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.contact-text p {
    color: #555;
    font-size: 1.1rem;
}

.social-links {
    margin-top: 40px;
}

.social-links h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    color: var(--white-color);
    margin-left: 15px;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(17, 50, 38, 0.3);
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    transform: translateY(-8px);
}

.contact-form {
    background-color: var(--white-color);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at top right, rgba(94, 189, 106, 0.1), transparent 70%);
    z-index: 0;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 25px;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: 1.1rem;
    transition: var(--transition);
    background-color: var(--light-color);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 4px rgba(94, 189, 106, 0.2);
    background-color: var(--white-color);
}

/* ===== التذييل ===== */
.footer {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    padding: 100px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 25px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.footer-links h3,
.footer-services h3,
.footer-contact h3 {
    color: var(--white-color);
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-links h3::after,
.footer-services h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--white-color));
    border-radius: 2px;
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 15px;
}

.footer-links ul li a,
.footer-services ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    font-size: 1.1rem;
    display: inline-block;
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
    color: var(--accent-color);
    transform: translateX(-8px);
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.footer-contact ul li i {
    color: var(--accent-color);
    margin-left: 15px;
    margin-top: 5px;
    font-size: 1.2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.footer-bottom a {
    color: var(--accent-color);
    font-weight: 600;
}

/* ===== زر العودة للأعلى ===== */
.back-to-top {
    position: fixed;
    bottom: 40px;
    left: 40px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 10px 25px rgba(94, 189, 106, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(94, 189, 106, 0.5);
}

/* ===== تصميم متجاوب ===== */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        max-width: 600px;
        margin: 0 auto;
    }
    
    .about-content,
    .contact-content,
    .why-us-content {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        flex-direction: column;
        background-color: var(--white-color);
        width: 100%;
        text-align: center;
        transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        padding: 30px 0;
        border-top: 1px solid #eee;
        border-radius: 0 0 20px 20px;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-card {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }
    
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }
    
    .process-steps {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 50px;
        margin-bottom: 15px;
    }
    
    .newsletter-form button {
        border-radius: 50px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 14px 30px;
        font-size: 0.9rem;
    }
    
    section {
        padding: 70px 0;
    }
    
    .about-content,
    .contact-content,
    .why-us-content {
        gap: 40px;
    }
    
    .service-card,
    .value-card,
    .process-step {
        padding: 30px 20px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links h3::after,
    .footer-services h3::after,
    .footer-contact h3::after {
        right: 50%;
        transform: translateX(50%);
    }
    
    .footer-contact ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-contact ul li {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-contact ul li i {
        margin: 0 0 10px 0;
    }
    
    .back-to-top {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}
/* ===== قسم آراء العملاء ===== */
.testimonials {
    background-color: var(--white-color);
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    max-width: 800px;
    height: 350px; /* ارتفاع ثابت للشريط */
}

.testimonial-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.6s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

.testimonial-card.prev {
    transform: translateX(-100%);
    z-index: 1;
}

.testimonial-content {
    margin-bottom: 30px;
    text-align: center;
}

.testimonial-rating {
    margin-bottom: 20px;
    color: #ffc107;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    font-style: italic;
    position: relative;
    padding: 0 20px;
    max-width: 600px;
    margin: 0 auto;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.author-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-left: 20px;
    border: 3px solid var(--accent-color);
    flex-shrink: 0;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    text-align: right;
}

.author-info h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.author-info p {
    color: #666;
    font-size: 1rem;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.slider-prev, .slider-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: var(--white-color);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(94, 189, 106, 0.3);
}

.slider-prev:hover, .slider-next:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(94, 189, 106, 0.4);
}

/* مؤشرات الشرائح */
.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(94, 189, 106, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background-color: var(--accent-color);
    transform: scale(1.2);
}

/* تصميم متجاوب لقسم آراء العملاء */
@media (max-width: 768px) {
    .testimonials-slider {
        height: 400px;
        max-width: 100%;
    }
    
    .testimonial-card {
        padding: 30px 20px;
    }
    
    .testimonial-text {
        font-size: 1.1rem;
    }
    
    .author-image {
        width: 60px;
        height: 60px;
    }
    
    .author-info h4 {
        font-size: 1.1rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .author-image {
        margin-left: 0;
        margin-bottom: 15px;
    }
}
/* ===== قسم شركاؤنا ===== */
.partners {
    background-color: var(--light-color);
    position: relative;
    padding: 80px 0;
}

.partners-slider {
    display: flex;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    max-width: 1200px;
}

.partner-item {
    flex: 0 0 auto;
    width: 250px;
    height: 120px;
    margin: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.partner-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.partner-logo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.partner-item:hover .partner-logo img {
    filter: grayscale(0%);
    opacity: 1;
}

/* تصميم متجاوب للأقسام الجديدة */
@media (max-width: 768px) {
    .testimonial-card {
        padding: 30px 20px;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .author-image {
        width: 60px;
        height: 60px;
    }
    
    .author-info h4 {
        font-size: 1.1rem;
    }
    
    .partner-item {
        width: 200px;
        height: 100px;
    }
    
    .partner-logo img {
        max-height: 60px;
    }
}
.stat-number {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
