@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', sans-serif;
}

:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #333333;
    --hover-color: #666666;
    --transition-speed: 0.3s;
    --header-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98) 0%,
        rgba(192, 192, 192, 0.95) 25%,
        rgba(128, 128, 128, 0.95) 50%,
        rgba(192, 192, 192, 0.95) 75%,
        rgba(255, 255, 255, 0.98) 100%);
    box-shadow: var(--header-shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-speed) ease;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    animation: waveBackground 10s ease-in-out infinite;
}

@keyframes waveBackground {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255,255,255,0.5) 50%,
        transparent 100%);
}

.header.scrolled {
    height: 80px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98) 0%,
        rgba(192, 192, 192, 0.95) 25%,
        rgba(128, 128, 128, 0.95) 50%,
        rgba(192, 192, 192, 0.95) 75%,
        rgba(255, 255, 255, 0.98) 100%);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    animation: waveBackground 8s ease-in-out infinite;
}

.header.scrolled .logo img {
    height: 180px;
}

.container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    transition: height var(--transition-speed) ease;
}

.logo {
    transition: transform var(--transition-speed) ease;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    margin-right: 50px;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 220px;
    width: auto;
    transition: height var(--transition-speed) ease;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.nav {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    margin: 0 50px;
    padding-left: 30px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 10px 0 0 0;
    padding: 0;
}

.nav-links li {
    position: relative;
    perspective: 1000px;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-family: 'Tajawal', sans-serif;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    padding: 12px 30px;
    transition: none;
    border-radius: 15px;
    overflow: hidden;
    display: inline-block;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98) 0%,
        rgba(192, 192, 192, 0.95) 25%,
        rgba(211, 210, 210, 0.95) 50%,
        rgba(192, 192, 192, 0.95) 75%,
        rgba(255, 255, 255, 0.98) 100%);
    box-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(0,0,0,0.6) inset;
    transform-style: preserve-3d;
    transform: translateZ(0);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0,0,0,0.6);
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0,0,0,0.05) 0%,
        rgba(0,0,0,0.02) 50%,
        rgba(0,0,0,0.05) 100%);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: -1;
    border-radius: 15px;
    opacity: 0.6;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%,
        var(--primary-color) 50%,
        transparent 100%);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.2));
}

.nav-links a:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(0,0,0,0.9) inset;
    background: linear-gradient(135deg, 
        rgba(0,0,0,1) 0%,
        rgba(20,20,20,1) 50%,
        rgba(0,0,0,1) 100%);
    letter-spacing: 0.5px;
    border-color: rgba(0,0,0,0.5);
}

.nav-links a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
    background: linear-gradient(135deg, 
        rgba(255,255,255,0.15) 0%,
        rgba(255,255,255,0.1) 50%,
        rgba(255,255,255,0.15) 100%);
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
    background: linear-gradient(90deg, 
        transparent 0%,
        var(--secondary-color) 50%,
        transparent 100%);
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.3));
}

.nav-links a:hover span {
    transform: none;
    text-shadow: none;
}

.nav-links a.active {
    color: var(--secondary-color);
    background: linear-gradient(135deg, 
        rgba(0,0,0,1) 0%,
        rgba(20,20,20,1) 50%,
        rgba(0,0,0,1) 100%);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(0,0,0,0.9) inset;
    border-color: rgba(0,0,0,0.5);
    transition: none;
}

.nav-links a span {
    display: inline-block;
    transition: none;
    position: relative;
    z-index: 1;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--primary-color);
    transition: all var(--transition-speed) ease;
    padding: 10px;
    border-radius: 50%;
}

.menu-toggle:hover {
    transform: rotate(90deg);
    background-color: rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .container {
        height: 70px;
        padding: 0 20px;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        order: 1;
        margin-right: 0;
    }

    .menu-toggle {
        order: 3;
        display: block;
        font-size: 24px;
        cursor: pointer;
        color: var(--primary-color);
        transition: none;
        padding: 8px;
        border-radius: 50%;
        position: relative;
        z-index: 1001;
        margin-top: 10px;
        content: '☰';
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
    }

    .menu-toggle::before {
        display: none;
    }

    .menu-toggle:hover {
        transform: none;
        color: var(--primary-color);
        background: rgba(0, 0, 0, 0.1);
    }

    .menu-toggle.active {
        content: '✕';
        font-size: 24px;
        font-weight: normal;
        background: rgba(0, 0, 0, 0.1);
    }

    .nav {
        order: 2;
        margin: 0;
        padding-left: 0;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        right: 0;
        width: 100%;
        height: auto;
        min-height: fit-content;
        max-height: calc(100vh - 60px);
        background: linear-gradient(135deg, 
            rgba(255, 255, 255, 0.98) 0%,
            rgba(192, 192, 192, 0.95) 25%,
            rgba(128, 128, 128, 0.95) 50%,
            rgba(192, 192, 192, 0.95) 75%,
            rgba(255, 255, 255, 0.98) 100%);
        padding: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 255, 255, 0.3);
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    }

    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        font-family: 'Tajawal', sans-serif;
        font-weight: 700;
        font-size: 16px;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        padding: 20px;
        width: 100%;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        background: linear-gradient(135deg, 
            rgba(255, 255, 255, 0.98) 0%,
            rgba(192, 192, 192, 0.95) 25%,
            rgba(128, 128, 128, 0.95) 50%,
            rgba(192, 192, 192, 0.95) 75%,
            rgba(255, 255, 255, 0.98) 100%);
        border-radius: 0;
        box-shadow: 
            0 1px 0 rgba(0, 0, 0, 0.1);
        transition: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        position: relative;
        overflow: hidden;
    }

    .nav-links a::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, 
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0.05) 50%,
            rgba(0, 0, 0, 0.1) 100%);
        transform: translateX(-100%);
        transition: none;
    }

    .nav-links a:hover::before {
        transform: translateX(0);
    }

    .nav-links a:hover {
        background: linear-gradient(135deg, 
            rgba(0, 0, 0, 1) 0%,
            rgba(20, 20, 20, 1) 100%);
        color: var(--secondary-color);
        box-shadow: none;
        letter-spacing: 1px;
    }

    .nav-links a.active {
        background: linear-gradient(135deg, 
            rgba(0, 0, 0, 1) 0%,
            rgba(20, 20, 20, 1) 100%);
        color: var(--secondary-color);
        box-shadow: none;
        letter-spacing: 1px;
        font-weight: bold;
        transition: none;
    }

    .nav-links a.active::after {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 4px;
        background: var(--secondary-color);
        box-shadow: 2px 0 10px rgba(255, 255, 255, 0.3);
    }

    .nav-links a span {
        position: relative;
        z-index: 1;
        transition: all 0.3s ease;
    }

    .nav-links a:hover span {
        transform: translateX(-5px);
    }

    .logo img {
        height: 160px;
    }

    .header.scrolled .logo img {
        height: 120px;
    }

    .timeline-item {
        padding: 10px;
        margin-bottom: 15px;
        padding-right: 30px;
        position: relative;
        width: 100%;
    }

    .timeline-dot {
        width: 15px;
        height: 15px;
        position: absolute;
        right: -7px;
        top: 50%;
        transform: translateY(-50%);
    }

    .about-timeline::before {
        display: none;
    }

    .timeline-content {
        width: calc(90% - 20px);
        margin-right: 20px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .timeline-item {
        padding-right: 25px;
    }

    .timeline-dot {
        width: 12px;
        height: 12px;
        right: -6px;
    }

    .timeline-content {
        width: calc(95% - 15px);
        margin-right: 15px;
        padding: 12px;
    }
}

/* تحسينات للأجهزة اللوحية */
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 17px;
        padding: 12px 28px;
    }

    .logo img {
        height: 200px;
    }

    .header.scrolled .logo img {
        height: 160px;
    }
}

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

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg,
        rgba(118, 118, 118, 0.98) 0%,
        rgba(255, 255, 255, 0.95) 25%,
        rgba(205, 205, 205, 0.95) 50%,
        rgba(255, 255, 255, 0.95) 75%,
        rgba(104, 104, 104, 0.98) 100%);
    animation: waveBackground 10s ease-in-out infinite;
    padding: 120px 20px;
    margin-top: 100px;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.hero-slide.prev {
    transform: translateX(-100%);
}

.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: scale(1.2);
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, 
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 20px;
    margin-top: -100px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: slideDown 1s ease-out;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--primary-color) 50%,
        transparent 100%);
    animation: lineExpand 1s ease-out 0.5s backwards;
}

.hero p {
    font-size: 1.4rem;
    color: var(--accent-color);
    margin-bottom: 40px;
    max-width: 800px;
    line-height: 1.8;
    animation: slideDown 1s ease-out 0.2s backwards;
    position: relative;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: slideDown 1s ease-out 0.4s backwards;
}

.hero-button {
    display: inline-block;
    padding: 12px 24px;
    margin: 0 8px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    border-bottom: none;
}

.hero-button:hover {
    transform: translateY(-2px);
    text-decoration: none;
    border-bottom: none;
}

.hero-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.hero-button:hover::before {
    transform: translateX(100%);
}

.hero-button.primary {
    background: linear-gradient(135deg,
        rgba(0, 0, 0, 1) 0%,
        rgba(20, 20, 20, 1) 50%,
        rgba(0, 0, 0, 1) 100%);
    color: var(--secondary-color);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-button.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    position: relative;
}

.hero-button.secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
    z-index: -1;
}

.hero-button.secondary:hover {
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

.hero-button.secondary:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.hero-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: 
        radial-gradient(circle at 25px 25px, var(--primary-color) 2%, transparent 0%),
        radial-gradient(circle at 75px 75px, var(--primary-color) 2%, transparent 0%);
    background-size: 100px 100px;
    animation: patternMove 20s linear infinite;
}

@keyframes lineExpand {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 100px;
        opacity: 1;
    }
}

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

@media (max-width: 768px) {
    .hero {
        padding: 100px 20px;
        margin-top: 70px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .hero-button {
        width: 100%;
        padding: 15px 25px;
    }

    .hero-content {
        margin-top: -80px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 20px;
        margin-top: 70px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .hero-button {
        width: 100%;
        padding: 15px 25px;
    }

    .hero-content {
        margin-top: -60px;
    }
}

/* About Section Styles */
.about {
    padding: 100px 20px;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(240, 240, 240, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, 
        rgba(0, 0, 0, 0.05) 0%,
        rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--primary-color) 50%,
        transparent 100%);
}

.about-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.about-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom,
        transparent 0%,
        var(--primary-color) 50%,
        transparent 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 30px;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 30px;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.timeline-item:nth-child(even) .timeline-dot {
    right: auto;
    left: -10px;
}

.timeline-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: calc(85% - 30px);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.timeline-date {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    color: var(--accent-color);
    font-size: 0.9rem;
}

.timeline-date i {
    color: var(--primary-color);
}

.timeline-tags {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.tag {
    background: rgba(0, 0, 0, 0.05);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

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

.timeline-stats {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.timeline-stats .stat {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-color);
}

.timeline-stats .stat i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.feature-stats {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
}

.stat-circle {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.feature-card:hover .stat-circle {
    transform: scale(1.1);
    background: var(--accent-color);
}

.stat-circle .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-circle .stat-label {
    font-size: 0.8rem;
    opacity: 0.9;
}

.stat-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-color);
}

.detail-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.mission-values {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.05);
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.value-item:hover {
    background: var(--primary-color);
    color: white;
}

.value-item i {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.value-item:hover i {
    color: white;
}

.growth-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

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

.growth-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.growth-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

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

.feature-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.feature-icon {
    width: 100px;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--accent-color);
}

.feature-content {
    padding: 20px;
    flex: 1;
}

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

.feature-content p {
    color: var(--accent-color);
    margin-bottom: 15px;
    line-height: 1.6;
}

.about-mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.mission-content {
    padding: 40px;
    position: relative;
    z-index: 2;
}

.mission-image {
    position: relative;
    height: 100%;
    min-height: 300px;
    background: linear-gradient(135deg,
        var(--primary-color) 0%,
        var(--accent-color) 100%);
    z-index: 1;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 20px;
    z-index: 2;
}

.image-overlay i {
    font-size: 4rem;
    margin-bottom: 20px;
}

.image-overlay span {
    font-size: 1.5rem;
    font-weight: 700;
}

.about-header p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--accent-color);
    margin: 0 auto 40px;
    max-width: 1000px;
    text-align: justify;
    padding: 25px;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(240, 240, 240, 0.95) 100%);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.about-header p::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom,
        rgba(128, 128, 128, 0.95) 0%,
        rgba(192, 192, 192, 0.95) 50%,
        rgba(128, 128, 128, 0.95) 100%);
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding: 5px 0;
}

.contact-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.contact-link:hover {
    color: var(--accent-color);
}

.contact-link:hover::after {
    width: 100%;
}

.info-card:hover .contact-link {
    color: var(--accent-color);
}

.info-card:hover .contact-link::after {
    width: 100%;
}

@media (max-width: 768px) {
    .about {
        padding: 30px 15px;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }

    .about-timeline {
        padding: 15px 0;
    }

    .timeline-item {
        padding: 10px;
        margin-bottom: 15px;
    }

    .timeline-content {
        width: 100%;
        padding: 12px;
    }

    .timeline-content h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .timeline-content p {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .timeline-date {
        font-size: 0.8rem;
    }

    .timeline-stats {
        gap: 10px;
        font-size: 0.9rem;
    }

    .feature-card {
        flex-direction: column;
        margin-bottom: 20px;
        max-width: 100%;
    }

    .feature-icon {
        width: 100%;
        height: 60px;
        border-radius: 10px 10px 0 0;
    }

    .feature-icon i {
        font-size: 1.5rem;
    }

    .feature-content {
        padding: 15px;
    }

    .feature-content h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

    .feature-content p {
        font-size: 0.9rem;
        margin-bottom: 12px;
        line-height: 1.4;
    }

    .feature-stats {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        margin-bottom: 12px;
    }

    .stat-circle {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }

    .stat-value {
        font-size: 1rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .stat-details {
        flex: 1;
    }

    .detail-item {
        font-size: 0.85rem;
        margin-bottom: 5px;
    }

    .feature-progress {
        margin-top: 12px;
        padding: 8px;
    }

    .progress-bar {
        height: 5px;
    }

    .progress-text {
        font-size: 0.8rem;
        margin-top: 4px;
    }

    .about-mission {
        margin: 15px 0;
        border-radius: 10px;
    }

    .mission-content {
        padding: 15px;
    }

    .mission-content h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .mission-content p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 15px;
    }

    .mission-values {
        gap: 10px;
    }

    .value-item {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .value-item i {
        font-size: 1rem;
    }

    .value-details p {
        font-size: 0.8rem;
        padding: 4px 0;
    }

    .mission-image {
        min-height: 180px;
        border-radius: 10px;
    }

    .image-overlay {
        padding: 12px;
    }

    .image-overlay i {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .image-overlay span {
        font-size: 1.1rem;
    }

    .growth-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 15px;
    }

    .growth-item {
        padding: 8px;
        border-radius: 8px;
    }

    .growth-value {
        font-size: 1.1rem;
    }

    .growth-label {
        font-size: 0.8rem;
    }

    .growth-chart {
        height: 4px;
        margin-top: 8px;
    }

    .about-team {
        margin-top: 30px;
    }

    .about-team h3 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .team-members {
        gap: 15px;
    }

    .team-member {
        padding: 12px;
        border-radius: 10px;
    }

    .member-avatar {
        width: 50px;
        height: 50px;
        margin-bottom: 12px;
    }

    .member-avatar i {
        font-size: 1.2rem;
    }

    .member-info h4 {
        font-size: 1rem;
        margin-bottom: 5px;
    }

    .member-info p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .about-header p {
        font-size: 0.95rem;
        line-height: 1.6;
        padding: 20px;
        margin-bottom: 30px;
        text-align: right;
    }

    .about-header p::before {
        width: 3px;
    }

    .contact-link {
        font-size: 0.9rem;
    }
}

/* تحسينات للهواتف الصغيرة جداً */
@media (max-width: 360px) {
    .about {
        padding: 20px 10px;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .feature-content h3 {
        font-size: 1.1rem;
    }

    .feature-stats {
        flex-direction: column;
    }

    .stat-circle {
        margin: 0 auto 10px;
    }

    .growth-stats {
        grid-template-columns: 1fr;
    }

    .team-member {
        padding: 10px;
    }
}

.feature-progress {
    margin-top: 20px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.8) 0%,
        rgba(255, 255, 255, 0.6) 100%);
    border-radius: 4px;
    transition: width 1s ease-in-out;
}

.progress-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.value-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    margin-top: 10px;
}

.value-item:hover .value-details {
    max-height: 100px;
}

.value-details p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    padding: 5px 0;
}

.growth-chart {
    height: 100px;
    width: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin: 10px auto;
    position: relative;
}

.chart-bar {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: linear-gradient(to top,
        rgba(255, 255, 255, 0.8) 0%,
        rgba(255, 255, 255, 0.6) 100%);
    border-radius: 10px;
    transition: height 1s ease-in-out;
}

.about-team {
    margin-top: 60px;
    text-align: center;
}

.about-team h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    position: relative;
}

.about-team h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--primary-color) 50%,
        transparent 100%);
}

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

.team-member {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98) 0%,
        rgba(192, 192, 192, 0.95) 25%,
        rgba(128, 128, 128, 0.95) 50%,
        rgba(192, 192, 192, 0.95) 75%,
        rgba(255, 255, 255, 0.98) 100%);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.member-avatar {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.member-avatar i {
    font-size: 2rem;
    color: white;
}

.member-info h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.member-info p {
    color: var(--accent-color);
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .team-members {
        grid-template-columns: 1fr;
    }

    .feature-progress {
        margin-top: 15px;
    }

    .value-details {
        max-height: none;
        display: block;
    }
}

/* Projects Section */
.projects {
    padding: 4rem 2rem;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(245, 245, 245, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, 
        rgba(0, 0, 0, 0.03) 0%,
        rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.projects-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.projects-header {
    text-align: center;
    margin-bottom: 3rem;
}

.projects-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 1) 0%,
        rgba(40, 40, 40, 1) 50%,
        rgba(0, 0, 0, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.projects-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

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

.project-image {
    height: 200px;
    background: linear-gradient(135deg,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(40, 40, 40, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-image i {
    font-size: 4rem;
    color: white;
    transition: all 0.3s ease;
}

.project-card:hover .project-image i {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top,
        rgba(0, 0, 0, 0.8) 0%,
        transparent 100%);
    transition: all 0.3s ease;
}

.project-category {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.3rem;
    color: #000;
    margin-bottom: 1rem;
}

.project-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 10px;
}

.project-stats .stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #555;
}

.project-stats .stat i {
    color: #000;
    font-size: 1.2rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tags .tag {
    background: rgba(0, 0, 0, 0.05);
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.project-tags .tag:hover {
    background: #000;
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .projects {
        padding: 3rem 1rem;
    }

    .projects-header h2 {
        font-size: 2rem;
    }

    .project-image {
        height: 180px;
    }

    .project-image i {
        font-size: 3rem;
    }

    .project-content {
        padding: 1.2rem;
    }

    .project-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

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

    .project-image {
        height: 150px;
    }

    .project-image i {
        font-size: 2.5rem;
    }

    .project-category {
        font-size: 1rem;
    }

    .project-content h3 {
        font-size: 1.2rem;
    }

    .project-content p {
        font-size: 0.9rem;
    }

    .project-tags .tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* Services Section */
.services {
    padding: 4rem 2rem;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(245, 245, 245, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, 
        rgba(0, 0, 0, 0.03) 0%,
        rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.services-header {
    text-align: center;
    margin-bottom: 3rem;
}

.services-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 1) 0%,
        rgba(40, 40, 40, 1) 50%,
        rgba(0, 0, 0, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.services-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

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

.service-icon {
    height: 120px;
    background: linear-gradient(135deg,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(40, 40, 40, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 3rem;
    color: white;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon i {
    transform: scale(1.1) rotate(10deg);
}

.service-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-size: 1.3rem;
    color: #000;
    margin-bottom: 1rem;
}

.service-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #555;
}

.service-features li i {
    color: #000;
    font-size: 1rem;
}

.service-stats {
    margin-top: auto;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 10px;
}

.service-stats .stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.2rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

@media (max-width: 768px) {
    .services {
        padding: 3rem 1rem;
    }

    .services-header h2 {
        font-size: 2rem;
    }

    .service-icon {
        height: 100px;
    }

    .service-icon i {
        font-size: 2.5rem;
    }

    .service-content {
        padding: 1.2rem;
    }

    .service-content h3 {
        font-size: 1.2rem;
    }

    .service-content p {
        font-size: 0.9rem;
    }

    .service-features li {
        font-size: 0.9rem;
    }

    .stat-value {
        font-size: 1.3rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }
}

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

    .service-icon {
        height: 80px;
    }

    .service-icon i {
        font-size: 2rem;
    }

    .service-content h3 {
        font-size: 1.1rem;
    }

    .service-features li {
        font-size: 0.85rem;
    }

    .stat-value {
        font-size: 1.2rem;
    }
}

/* Contact Section */
.contact {
    padding: 4rem 2rem;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(245, 245, 245, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, 
        rgba(0, 0, 0, 0.03) 0%,
        rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 1) 0%,
        rgba(40, 40, 40, 1) 50%,
        rgba(0, 0, 0, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.contact-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    padding: 1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(40, 40, 40, 0.9) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.info-icon i {
    font-size: 1.5rem;
    color: white;
}

.info-card h3 {
    font-size: 1.2rem;
    color: #000;
    margin-bottom: 0.5rem;
}

.info-card p {
    color: #666;
    font-size: 1rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #000;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    color: #333;
    transition: all 0.3s ease;
    font-family: 'Tajawal', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #000;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
    outline: none;
}

.submit-btn {
    background: linear-gradient(135deg,
        rgba(0, 0, 0, 1) 0%,
        rgba(40, 40, 40, 1) 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.submit-btn i {
    transition: all 0.3s ease;
}

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

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        padding: 0;
        gap: 30px;
    }

    .contact-form {
        width: 100%;
        max-width: 100%;
        padding: 20px;
        margin: 0;
        box-shadow: none;
        border-radius: 0;
    }

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

    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 16px;
    }

    .submit-btn {
        width: 100%;
        padding: 15px;
        font-size: 16px;
    }

    .contact-container {
        padding: 0;
    }

    .contact {
        padding: 40px 0;
    }

    .contact-header {
        padding: 0 20px 30px 20px;
    }
}

@media (max-width: 480px) {
    .contact-form {
        padding: 15px;
    }

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

    .form-group input,
    .form-group textarea {
        padding: 10px;
    }

    .submit-btn {
        padding: 12px;
    }
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98) 0%,
        rgba(192, 192, 192, 0.95) 25%,
        rgba(128, 128, 128, 0.95) 50%,
        rgba(192, 192, 192, 0.95) 75%,
        rgba(255, 255, 255, 0.98) 100%);
    position: relative;
    overflow: hidden;
    padding: 60px 0 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255,255,255,0.5) 50%,
        transparent 100%);
}

/* Remove the footer pattern */
.footer-pattern {
    display: none;
}

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

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

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section:first-child {
    margin-top: -80px;
    position: relative;
    z-index: 2;
}

.footer-logo {
    display: flex;
    justify-content: center;
    margin-bottom: -20px;
    transform: translateY(-50px);
}

.footer-logo img {
    height: 300px;
    width: auto;
    transition: transform 0.3s ease;
}

.footer-description {
    color: var(--accent-color);
    line-height: 1.6;
    margin-top: -60px;
    font-size: 1rem;
    text-align: center;
    padding: 0 15px;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--primary-color) 50%,
        transparent 100%);
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(-5px);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.footer-contact i {
    margin-left: 10px;
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.footer-contact a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    position: relative;
}

.footer-line {
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--accent-color) 50%,
        transparent 100%);
    margin-bottom: 20px;
}

.copyright {
    color: var(--accent-color);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section h3::after {
        right: 50%;
        transform: translateX(50%);
        width: 60px;
    }

    .footer-logo img {
        height: 220px;
    }

    .social-links {
        justify-content: center;
    }

    .footer-links a:hover {
        transform: translateX(0);
    }

    .footer-contact p {
        justify-content: center;
    }

    .footer-section:first-child {
        margin-top: -60px;
    }

    .footer-logo {
        transform: translateY(-30px);
    }

    .footer-logo img {
        height: 220px;
    }
    .footer-description {
        margin-top: -40px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 30px 0 15px;
    }

    .footer-section h3 {
        font-size: 1.1rem;
    }

    .footer-description,
    .footer-links a,
    .footer-contact p {
        font-size: 0.9rem;
    }

    .social-link {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    .copyright {
        font-size: 0.8rem;
    }

    .footer-logo img {
        height: 180px;
    }

    .footer-section:first-child {
        margin-top: -40px;
    }

    .footer-logo {
        transform: translateY(-20px);
    }

    .footer-logo img {
        height: 180px;
    }
    .footer-description {
        margin-top: -30px;
        font-size: 0.8rem;
    }
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .scroll-to-top {
        width: 40px;
        height: 40px;
        font-size: 16px;
        bottom: 20px;
        right: 20px;
    }
}

/* Special styling for English (LTR) version */
html[dir="ltr"] .footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transform: none;
}

/* LTR (Turkish) text-only styles */
html[dir="ltr"] .about-header p,
html[dir="ltr"] .timeline-content p,
html[dir="ltr"] .timeline-content h3,
html[dir="ltr"] .feature-content p,
html[dir="ltr"] .feature-content h3,
html[dir="ltr"] .timeline-date,
html[dir="ltr"] .stat-details .detail-item,
html[dir="ltr"] .progress-text {
    text-align: left;
    direction: ltr;
}

@media (max-width: 768px) {
    /* تعديل القواعد الحالية */
    .footer-section h3 {
        position: relative;
        padding-bottom: 15px;
        margin-bottom: 20px;
    }

    .footer-section h3::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 50%;
        transform: translateX(50%);
        width: 60px;
        height: 3px;
        background: var(--primary-color);
    }

    /* قواعد خاصة للنسخة التركية */
    html[dir="ltr"] .footer-section h3::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
}

@media (max-width: 480px) {
    .footer-section h3 {
        padding-bottom: 12px;
        margin-bottom: 15px;
    }

    .footer-section h3::after {
        width: 50px;
        height: 2px;
    }
}
