/* تنسيقات عامة */
:root {
    --primary-color: #0066cc;
    --secondary-color: #004f9f;
    --accent-color: #00aaff;
    --dark-blue: #003366;
    --light-blue: #e6f5ff;
    --white: #ffffff;
    --black: #333333;
    --gray: #f5f5f5;
    --dark-gray: #777777;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --glow-color: rgba(0, 170, 255, 0.6);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tajawal', sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    overflow-x: hidden;
    direction: rtl;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* تنسيق الهيدر */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--box-shadow);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.98);
}

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

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-left: 10px;
    object-fit: cover;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.main-nav {
    display: flex;
}

.main-nav li {
    margin: 0 15px;
}

.main-nav a {
    color: var(--black);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

.main-nav a:hover, .main-nav a.active {
    color: var(--primary-color);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.main-nav a:hover::after, .main-nav a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--black);
    margin: 5px 0;
    transition: var(--transition);
}

/* تنسيق قسم البداية */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.ocean-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--light-blue) 0%, var(--primary-color) 100%);
    z-index: -2;
    overflow: hidden;
}

/* إضافة تأثيرات الإشعاعات الضوئية */
.light-rays {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
    animation: pulse-light 8s infinite alternate;
}

/* تأثير جزيئات البيانات */
.data-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.data-particles::before {
    content: "";
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.1) 2px, transparent 2px),
        radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 50px 50px, 30px 30px;
    background-position: 0 0, 25px 25px;
    animation: particles-animation 20s linear infinite;
    transform: rotate(45deg);
}

.hero-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: right;
    color: var(--white);
    max-width: 900px;
    padding: 40px;
    background-color: rgba(0, 51, 102, 0.8);
    border-radius: 15px;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    animation: fade-up 1s ease-out;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-content::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 170, 255, 0.2) 0%, transparent 60%);
    animation: rotate-glow 10s linear infinite;
    z-index: -1;
}

.hero-badge {
    background: var(--accent-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 18px;
    display: inline-block;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 170, 255, 0.4);
    position: relative;
    overflow: hidden;
    animation: pulse-badge 2s infinite;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-badge::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(45deg);
    animation: shine-effect 3s infinite;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 25px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    position: relative;
    display: inline-block;
    font-weight: 800;
    line-height: 1.3;
    color: #ffffff;
    padding-bottom: 10px;
}

.hero-content h1::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--accent-color), transparent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
    animation: title-underline 1.5s forwards 0.5s;
    border-radius: 2px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0;
    animation: fade-in 1s forwards 0.8s;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    font-weight: 500;
}

.hero-text {
    flex: 2;
    padding-left: 30px;
}

.hero-logo {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: logo-pulse 3s infinite ease-in-out;
    transition: transform 0.3s ease;
}

.hero-logo img:hover {
    transform: scale(1.05) rotate(5deg);
    border-color: rgba(0, 170, 255, 0.6);
}

@keyframes logo-pulse {
    0%, 100% {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 5px 30px rgba(0, 170, 255, 0.6);
    }
}

/* تنسيق كلمات العنوان */
.word-container {
    display: inline-block;
    margin-right: 5px;
}

.space-char {
    display: inline-block;
    width: 0.5em;
}

.title-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    animation: title-char-anim 0.5s forwards;
    transition: color 0.3s ease;
}

.title-char:hover {
    color: var(--accent-color);
    text-shadow: 0 0 15px rgba(0, 170, 255, 0.8);
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .hero-text {
        padding-left: 0;
        margin-top: 20px;
    }
    
    .hero-logo img {
        width: 140px;
        height: 140px;
    }
}

/* تأثيرات متحركة جديدة */
@keyframes pulse-light {
    0% { opacity: 0.4; transform: scale(1); }
    100% { opacity: 0.8; transform: scale(1.1); }
}

@keyframes particles-animation {
    0% { transform: translateY(0) rotate(45deg); }
    100% { transform: translateY(-20%) rotate(45deg); }
}

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

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes shine-effect {
    0% { transform: translateX(-100%) rotate(45deg); }
    20%, 100% { transform: translateX(100%) rotate(45deg); }
}

@keyframes title-underline {
    0% { transform: scaleX(0); transform-origin: right; }
    50% { transform: scaleX(1); transform-origin: right; }
    50.1% { transform-origin: left; }
    100% { transform: scaleX(1); transform-origin: left; }
}

@keyframes fade-in {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fade-up {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* تنسيق زر الدعوة للعمل */
.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
    opacity: 0;
    animation: fade-in 1s forwards 1.2s;
}

.cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    animation: button-shine 3s infinite;
    z-index: -1;
}

.cta-button:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

@keyframes button-shine {
    0% { transform: translateX(-100%); }
    20%, 100% { transform: translateX(100%); }
}

/* تنسيق الأمواج */
.wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: -1;
}

.wave-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -1;
    transform: rotate(180deg);
}

.wave-bottom svg, .wave-top svg {
    display: block;
    width: 100%;
    height: 120px;
}

.wave-bottom path, .wave-top path {
    fill: var(--white);
}

/* تنسيق أقسام الصفحة */
section {
    padding: 100px 0;
    position: relative;
}

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

.section-header h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-divider {
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 0 auto;
    position: relative;
}

.section-divider::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -8px;
    width: 15px;
    height: 15px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

/* تنسيق قسم من نحن */
.about-section {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--light-blue) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
    z-index: 0;
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.about-text {
    flex: 1;
}

.about-highlight {
    background-color: var(--light-blue);
    border-right: 4px solid var(--accent-color);
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.1);
    transform: translateX(20px);
    opacity: 0;
    animation: slide-in-right 0.8s ease forwards;
}

.highlight-icon {
    background-color: var(--primary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    flex-shrink: 0;
}

.highlight-icon i {
    font-size: 18px;
}

.highlight-text {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 18px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
}

.about-text p:nth-child(2) {
    animation: fade-in 0.5s ease forwards 0.3s;
}

.about-text p:nth-child(3) {
    animation: fade-in 0.5s ease forwards 0.6s;
}

.about-text p:nth-child(4) {
    animation: fade-in 0.5s ease forwards 0.9s;
}

.about-quote {
    background-color: var(--light-blue);
    border-radius: 10px;
    padding: 20px;
    margin-top: 30px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.1);
    opacity: 0;
    animation: fade-in 0.8s ease forwards 1.2s;
}

.about-quote i {
    color: var(--primary-color);
    font-size: 24px;
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--light-blue);
    padding: 5px;
}

.about-quote p {
    font-style: italic;
    color: var(--primary-color);
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
}

.about-image-wrapper {
    flex: 1;
    position: relative;
}

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 102, 204, 0.2);
    transform: translateY(20px);
    opacity: 0;
    animation: image-float 1s ease forwards 0.5s;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.5s ease;
}

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

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 51, 102, 0.9), transparent);
    padding: 20px;
    color: var(--white);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.about-image:hover .image-caption {
    transform: translateY(0);
}

.image-caption p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}

/* تنسيق بطاقات المميزات */
.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background-color: var(--light-blue);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    transform: translateY(50px);
    opacity: 0;
    animation: fade-up 0.8s ease forwards;
}

.feature-card:nth-child(1) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.4s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.6s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-card:hover img {
    transform: scale(1.1);
}

.feature-card h3 {
    padding: 20px 20px 10px;
    color: var(--primary-color);
    font-size: 20px;
    position: relative;
}

.feature-card h3::after {
    content: "";
    position: absolute;
    bottom: 5px;
    right: 20px;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.feature-card:hover h3::after {
    width: 60px;
}

.feature-card p {
    padding: 0 20px 20px;
    color: var(--black);
}

@keyframes slide-in-right {
    0% {
        transform: translateX(50px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes image-float {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* تنسيق قسم الخدمات */
.services-section {
    background-color: var(--light-blue);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, var(--light-blue) 25%, transparent 25%), 
        linear-gradient(-45deg, var(--light-blue) 25%, transparent 25%), 
        linear-gradient(45deg, transparent 75%, var(--light-blue) 75%), 
        linear-gradient(-45deg, transparent 75%, var(--light-blue) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    opacity: 0.3;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    transform: translateY(50px);
    opacity: 0;
    animation: fade-up 0.8s ease forwards;
    position: relative;
    overflow: hidden;
}

.service-card:nth-child(1) {
    animation-delay: 0.1s;
}

.service-card:nth-child(2) {
    animation-delay: 0.3s;
}

.service-card:nth-child(3) {
    animation-delay: 0.5s;
}

.service-card:nth-child(4) {
    animation-delay: 0.7s;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
    transition: height 0.5s ease;
}

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

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.5s ease;
    position: relative;
    z-index: 1;
}

.service-icon::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.service-icon i {
    font-size: 36px;
    color: var(--primary-color);
    transition: color 0.5s ease;
}

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

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

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--accent-color);
}

.service-card p {
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.service-image {
    margin-top: 20px;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
}

.service-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 51, 102, 0.7), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    border-radius: 10px;
}

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

.service-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: 10px;
}

.service-image img:hover {
    transform: scale(1.1);
}

/* تنسيق خدمة التوصيل */
.delivery-service {
    display: flex;
    align-items: center;
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    position: relative;
    transform: translateY(50px);
    opacity: 0;
    animation: fade-up 0.8s ease forwards 0.9s;
}

.delivery-service::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 102, 204, 0.05) 25%, transparent 25%), 
                linear-gradient(-45deg, rgba(0, 102, 204, 0.05) 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, rgba(0, 102, 204, 0.05) 75%), 
                linear-gradient(-45deg, transparent 75%, rgba(0, 102, 204, 0.05) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    z-index: 0;
}

.delivery-service img {
    flex: 1;
    height: 350px;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    z-index: 1;
    transition: transform 0.5s ease;
}

.delivery-service:hover img {
    transform: scale(1.05);
}

.delivery-content {
    flex: 1;
    padding: 40px;
    position: relative;
    z-index: 1;
}

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

.delivery-content h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.delivery-content p {
    margin-bottom: 30px;
    line-height: 1.8;
}

.delivery-badge {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}

.delivery-badge span {
    background-color: var(--light-blue);
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.delivery-badge span:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.delivery-badge span i {
    margin-left: 8px;
    color: var(--accent-color);
}

.delivery-badge span:hover i {
    color: var(--white);
}

/* تنسيق قسم معرض الصور */
.gallery-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.gallery-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(0, 170, 255, 0.3) 0%, transparent 30%),
                radial-gradient(circle at 80% 70%, rgba(0, 170, 255, 0.3) 0%, transparent 30%);
    z-index: 0;
}

.gallery-section .section-header {
    position: relative;
    z-index: 1;
}

.gallery-section .section-header h2 {
    color: var(--white);
}

.gallery-section .section-divider {
    background-color: var(--white);
}

.gallery-section .section-divider::before {
    background-color: var(--accent-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    position: relative;
    z-index: 1;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    position: relative;
    height: 250px;
    transform: translateY(50px);
    opacity: 0;
    animation: gallery-fade-in 0.8s ease forwards;
}

.gallery-item.large {
    height: 350px;
}

.gallery-item:nth-child(1) {
    animation-delay: 0.1s;
}

.gallery-item:nth-child(2) {
    animation-delay: 0.2s;
}

.gallery-item:nth-child(3) {
    animation-delay: 0.3s;
}

.gallery-item:nth-child(4) {
    animation-delay: 0.4s;
}

.gallery-item:nth-child(5) {
    animation-delay: 0.5s;
}

.gallery-item:nth-child(6) {
    animation-delay: 0.6s;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 10px;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item::before {
    content: "\f00e"; /* Font Awesome magnifying glass icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: var(--white);
    font-size: 24px;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.gallery-item:hover::before {
    opacity: 1;
    transform: translateY(0);
}

@keyframes gallery-fade-in {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* تنسيق قسم شركاؤنا */
.partners-section {
    background-color: var(--white);
    padding: 100px 0;
}

.partners-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.partner-card {
    background-color: var(--light-blue);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.partner-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.partner-card h3 {
    padding: 20px 20px 10px;
    color: var(--primary-color);
    font-size: 22px;
}

.partner-card p {
    padding: 0 20px 20px;
    color: var(--black);
    font-size: 16px;
}

/* تنسيق قسم الاتصال */
.contact-section {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--light-blue) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
    z-index: 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.contact-info {
    background-color: var(--light-blue);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.15);
    position: relative;
    overflow: hidden;
    transform: translateX(-50px);
    opacity: 0;
    animation: slide-in-left 0.8s ease forwards;
}

.contact-heading {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.contact-heading i {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-left: 15px;
}

.contact-heading h3 {
    font-size: 24px;
    color: var(--primary-color);
    position: relative;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.contact-card {
    display: flex;
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-card::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    transition: all 0.6s ease;
    z-index: -1;
    opacity: 0;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    color: var(--white);
}

.contact-card:hover::before {
    width: 300%;
    height: 300%;
    opacity: 1;
}

.contact-card:hover .contact-detail h3,
.contact-card:hover .contact-detail p,
.contact-card:hover .contact-detail a {
    color: var(--white);
}

.contact-card.highlight {
    border: 2px solid var(--accent-color);
    background-color: rgba(0, 170, 255, 0.05);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-icon.pulse {
    animation: pulse-icon 2s infinite;
    background-color: var(--accent-color);
}

.contact-icon i {
    color: var(--primary-color);
    font-size: 20px;
    transition: all 0.3s ease;
}

.contact-icon.pulse i {
    color: var(--white);
}

.contact-card:hover .contact-icon {
    background-color: var(--white);
    transform: scale(1.1);
}

.contact-card:hover .contact-icon i {
    color: var(--primary-color);
}

.contact-detail h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.contact-detail p, .contact-detail a {
    color: var(--black);
    transition: color 0.3s ease;
}

.contact-detail a:hover {
    text-decoration: underline;
}

.contact-note {
    font-size: 12px;
    color: var(--accent-color);
    margin-top: 5px;
    font-weight: 500;
}

.working-hours {
    margin-top: 5px;
    background-color: rgba(0, 170, 255, 0.1);
    display: inline-block;
    padding: 3px 10px;
    border-radius: 15px;
}

.working-hours span {
    font-weight: 700;
    color: var(--primary-color);
}

.social-connect {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 102, 204, 0.1);
}

.social-connect h4 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 18px;
}

.social-icons-large {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon-large {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.social-icon-large:hover {
    transform: translateY(-5px) rotate(10deg);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.social-icon-large:nth-child(1):hover {
    background-color: #3b5998; /* Facebook */
}

.social-icon-large:nth-child(2):hover {
    background-color: #e1306c; /* Instagram */
}

.social-icon-large:nth-child(3):hover {
    background-color: #25d366; /* WhatsApp */
}

.social-icon-large:nth-child(4):hover {
    background-color: #0088cc; /* Telegram */
}

.contact-form-container {
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.15);
    position: relative;
    overflow: hidden;
    transform: translateX(50px);
    opacity: 0;
    animation: slide-in-right 0.8s ease forwards 0.3s;
}

.contact-form-container::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at top right, rgba(0, 170, 255, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.form-heading {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.form-heading i {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-left: 15px;
}

.form-heading h3 {
    font-size: 24px;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

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

.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(0, 51, 102, 0.2);
    border-radius: 8px;
    font-family: 'Tajawal', sans-serif;
    font-size: 16px;
    transition: var(--transition);
    background-color: rgba(255, 255, 255, 0.8);
}

.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    background-color: rgba(255, 255, 255, 1);
}

.contact-form input:focus ~ label, .contact-form select:focus ~ label, .contact-form textarea:focus ~ label {
    color: var(--accent-color);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    font-family: 'Tajawal', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.submit-btn span {
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.submit-btn i {
    margin-right: 10px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateX(-20px);
}

.submit-btn:hover {
    box-shadow: 0 5px 15px rgba(0, 170, 255, 0.3);
    transform: translateY(-3px);
}

.submit-btn:hover span {
    transform: translateX(-10px);
}

.submit-btn:hover i {
    opacity: 1;
    transform: translateX(0);
}

.submit-btn::before {
    content: "";
    position: absolute;
    top: 0;
    right: -50px;
    width: 50px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    transform: skewX(-25deg);
    transition: all 0.5s ease;
}

.submit-btn:hover::before {
    right: 130%;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.15);
    position: relative;
    z-index: 1;
    transform: translateY(50px);
    opacity: 0;
    animation: fade-up 0.8s ease forwards 0.5s;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 51, 102, 0.3) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.location-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 25px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 2;
    animation: pulse-marker 2s infinite;
}

.location-marker i {
    font-size: 24px;
    margin-left: 10px;
    color: var(--accent-color);
}

.location-marker span {
    font-weight: 700;
    font-size: 18px;
}

@keyframes pulse-marker {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 102, 204, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 102, 204, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 102, 204, 0);
    }
}

@keyframes pulse-icon {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 170, 255, 0.6);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 170, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 170, 255, 0);
    }
}

@keyframes slide-in-left {
    0% {
        transform: translateX(-50px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* تنسيق الفوتر */
footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 70px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

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

.footer-logo h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-links h3, .footer-contact h3, .footer-social h3 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
}

.footer-links h3::after, .footer-contact h3::after, .footer-social h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links ul li, .footer-contact ul li {
    margin-bottom: 10px;
}

.footer-links a, .footer-contact a {
    transition: var(--transition);
}

.footer-links a:hover, .footer-contact a:hover {
    color: var(--accent-color);
    padding-right: 5px;
}

.footer-contact i {
    margin-left: 10px;
    color: var(--accent-color);
}

.social-icons {
    display: flex;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* تنسيق الحوت المتحرك */
.whale-animation {
    position: absolute;
    bottom: 150px;
    right: -150px;
    z-index: -1;
}

.whale {
    width: 200px;
    height: 100px;
    background-color: var(--dark-blue);
    border-radius: 50% 50% 0 0;
    position: relative;
    animation: swim 25s linear infinite;
}

.whale::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 40px;
    width: 20px;
    height: 40px;
    background-color: var(--dark-blue);
    border-radius: 50%;
    transform: rotate(45deg);
}

.whale::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: 20px;
    width: 60px;
    height: 30px;
    background-color: var(--dark-blue);
    border-radius: 0 0 50% 50%;
    transform: rotate(15deg);
}

.data-stream {
    position: absolute;
    top: 30px;
    right: 180px;
    width: 800px;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
}

.data-stream::before, .data-stream::after {
    content: '';
    position: absolute;
    top: -10px;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
}

.data-stream::before {
    top: -15px;
}

.data-stream::after {
    top: 15px;
}

/* تأثيرات متحركة إضافية */
@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0);
    }
}

.gallery-item:nth-child(odd) {
    animation: float 6s ease-in-out infinite;
}

.gallery-item:nth-child(even) {
    animation: float 7s ease-in-out infinite reverse;
}

/* تأثيرات متحركة */
@keyframes swim {
    0% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(-300px) translateY(-30px);
    }
    50% {
        transform: translateX(-600px) translateY(0);
    }
    75% {
        transform: translateX(-900px) translateY(-30px);
    }
    100% {
        transform: translateX(-1200px) translateY(0);
    }
}

@keyframes pulse-animation {
    0% {
        left: -10%;
    }
    100% {
        left: 110%;
    }
}

/* تأثير تلاشي الصور */
.service-card .service-image, .feature-card img, .partner-card img {
    position: relative;
    overflow: hidden;
}

.service-card .service-image::before, .feature-card img::before, .partner-card img::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
    z-index: 1;
}

.service-card:hover .service-image::before, .feature-card:hover img::before, .partner-card:hover img::before {
    left: 100%;
}

/* تنسيق الاستجابة للشاشات المختلفة */
@media (max-width: 992px) {
    .main-nav {
        display: none;
    }

    .main-nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 20px;
    }

    .main-nav.active li {
        margin: 10px 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .about-content, .contact-content, .delivery-service {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 18px;
    }
    
    .partners-content {
        grid-template-columns: 1fr;
    }
    
    .delivery-service img {
        height: 250px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 70px 0;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-content {
        padding: 20px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section-header h2 {
        font-size: 28px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card .service-image img {
        height: 150px;
    }
}

/* تنسيق قسم قياس سرعة الإنترنت */
.speedtest-section {
    background-color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.speedtest-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(var(--light-blue) 1px, transparent 1px),
        radial-gradient(var(--light-blue) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
    opacity: 0.4;
    z-index: 0;
}

.speedtest-content {
    position: relative;
    z-index: 1;
}

.speedtest-info {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    padding: 30px;
    background-color: var(--light-blue);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.1);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.speedtest-info:hover {
    transform: translateY(-5px);
}

.speedtest-info h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.speedtest-info h3::after {
    content: "";
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.speedtest-info p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.speedtest-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.speedtest-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    width: 150px;
    transition: all 0.3s ease;
}

.speedtest-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background-color: var(--primary-color);
    color: var(--white);
}

.speedtest-feature:hover i {
    color: var(--white);
}

.speedtest-feature i {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.speedtest-feature span {
    font-weight: 600;
    font-size: 16px;
}

.speedtest-tools {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.speedtest-card {
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 350px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.speedtest-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
    transition: height 0.5s ease;
}

.speedtest-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.2);
}

.speedtest-card:hover::before {
    height: 100%;
}

.speedtest-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.speedtest-icon img {
    max-width: 60px;
    max-height: 60px;
}

.speedtest-icon i {
    font-size: 36px;
    color: var(--primary-color);
}

.speedtest-card:hover .speedtest-icon {
    transform: rotate(10deg);
    background-color: var(--primary-color);
}

.speedtest-card:hover .speedtest-icon i {
    color: var(--white);
}

.speedtest-card h4 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.speedtest-card p {
    margin-bottom: 25px;
    line-height: 1.6;
}

.speedtest-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--light-blue);
    color: var(--primary-color);
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.speedtest-btn i {
    font-size: 18px;
}

.speedtest-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.2);
}

.primary-test {
    background-color: var(--primary-color);
    color: var(--white);
}

.primary-test:hover {
    background-color: var(--accent-color);
}

.speedtest-recommendation {
    text-align: center;
    margin-top: 50px;
}

.speedtest-recommendation h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.speedtest-recommendation h3::after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

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

.recommendation-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.recommendation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 102, 204, 0.15);
}

.rec-icon {
    width: 60px;
    height: 60px;
    background-color: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.rec-icon i {
    font-size: 28px;
    color: var(--primary-color);
}

.recommendation-card h4 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.recommendation-card p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 8px;
    color: var(--black);
}

/* تأثير تتبع الماوس */
.mouse-follower {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(0, 170, 255, 0.4);
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease, width 0.2s ease, height 0.2s ease, background-color 0.2s ease;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(0, 170, 255, 0.6);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0;
    opacity: 0;
}

.mouse-follower.active {
    opacity: 1;
}

.mouse-follower.link-hover {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 102, 204, 0.2);
    border: 2px solid var(--accent-color);
    font-size: 12px;
}

.mouse-follower.button-hover {
    width: 80px;
    height: 80px;
    background-color: rgba(0, 102, 204, 0.15);
    border: 2px solid var(--primary-color);
    font-size: 14px;
}

.mouse-follower.input-hover {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 170, 255, 0.2);
    border: 1px solid var(--accent-color);
    font-size: 12px;
}

@media (max-width: 768px) {
    .speedtest-features {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .speedtest-feature {
        width: 100%;
        max-width: 250px;
    }
    
    .speedtest-tools {
        flex-direction: column;
        align-items: center;
    }
    
    .speedtest-card {
        width: 100%;
        max-width: 320px;
    }
    
    .mouse-follower {
        display: none;
    }
}

/* تأثيرات إضافية للقسم الرئيسي */
.hero-content.enhanced-visibility {
    background-color: rgba(0, 51, 102, 0.9);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 170, 255, 0.3);
    transform: translateY(-5px);
}

.hero-content.enhanced-visibility h1 {
    text-shadow: 0 0 15px rgba(0, 170, 255, 0.7), 0 0 30px rgba(0, 170, 255, 0.4);
}

.hero-content h1.glow-effect {
    animation: title-glow 2s ease-in-out infinite alternate;
}

.title-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    animation: title-char-anim 0.5s forwards;
    transition: color 0.3s ease;
}

.title-char:hover {
    color: var(--accent-color);
    text-shadow: 0 0 15px rgba(0, 170, 255, 0.8);
}

@keyframes title-char-anim {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes title-glow {
    0% {
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    }
    100% {
        text-shadow: 0 0 15px rgba(0, 170, 255, 0.7), 0 0 30px rgba(0, 170, 255, 0.4);
    }
}

/* تحسين الفاصل الواصل بين كلمات العنوان */
.hero-content h1 span.title-char:empty {
    width: 8px;
    display: inline-block;
}

/* تنسيق القسم الرئيسي الجديد */
.hero-new {
    background-color: var(--light-blue);
    padding: 80px 0 40px;
    position: relative;
}

.hero-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.hero-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.hero-info {
    flex: 1;
    text-align: right;
}

.hero-info h1 {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.hero-info h2 {
    font-size: 30px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.company-name {
    color: var(--accent-color);
    position: relative;
}

.hero-info p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--black);
    margin-bottom: 30px;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(0, 102, 204, 0.2);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 102, 204, 0.3);
}

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

.btn-secondary:hover {
    background-color: var(--light-blue);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 102, 204, 0.1);
}

.hero-image {
    flex: 1;
    max-width: 400px;
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 250px;
    height: 250px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hero-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 102, 204, 0.2);
}

.hero-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    background-color: var(--accent-color);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 5px 15px rgba(0, 170, 255, 0.3);
}

.hero-features {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.feature-item i {
    font-size: 24px;
    color: var(--primary-color);
}

.feature-item span {
    font-weight: 600;
    font-size: 14px;
    color: var(--black);
}

/* تنسيق قسم التوصيات */
.recommendations-section {
    padding: 80px 0;
    background-color: var(--gray);
}

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

.recommendation-block {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.recommendation-header {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 20px;
}

.recommendation-header i {
    font-size: 24px;
}

.recommendation-header h3 {
    font-size: 20px;
    font-weight: 700;
}

.recommendation-content {
    padding: 20px;
}

.recommendation-content h4 {
    font-size: 18px;
    color: var(--primary-color);
    margin: 15px 0 10px;
    position: relative;
    padding-right: 15px;
}

.recommendation-content h4::before {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 18px;
    background-color: var(--accent-color);
    border-radius: 3px;
}

.recommendation-content ul {
    list-style: none;
    margin-bottom: 20px;
}

.recommendation-content ul li {
    position: relative;
    padding-right: 20px;
    margin-bottom: 10px;
    line-height: 1.5;
}

.recommendation-content ul li::before {
    content: "\f054";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 4px;
    color: var(--accent-color);
    font-size: 12px;
}

.comparison-table {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    margin-bottom: 20px;
}

.comparison-item {
    flex: 1;
    background-color: var(--light-blue);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px;
    text-align: center;
    font-weight: 700;
}

.comparison-item ul {
    padding: 15px;
    margin-bottom: 0;
}

.comparison-item ul li {
    font-size: 14px;
}

.tip-box {
    display: flex;
    gap: 15px;
    background-color: rgba(0, 170, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

.tip-icon {
    width: 40px;
    height: 40px;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tip-icon i {
    font-size: 20px;
}

.tip-content h4 {
    margin-top: 0;
    padding-right: 0;
}

.tip-content h4::before {
    display: none;
}

.tip-content p {
    margin: 0;
    font-size: 14px;
}

@media (max-width: 992px) {
    .hero-main {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-info {
        text-align: center;
    }
    
    .hero-info p {
        max-width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-features {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .feature-item {
        min-width: 120px;
    }
}

@media (max-width: 768px) {
    .recommendations-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        flex-direction: column;
    }
} 