﻿@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #10b981; /* Primary green */
    --secondary-color: #059669; /* Darker green */
    --accent-color: #fb5343;
    --dark-color: #f8fafc; /* Light background */
    --darker-color: #f1f5f9; /* Slightly darker background */
    --medium-dark-color: #e2e8f0; /* Medium light color */
    --light-dark-color: #cbd5e1; /* Light gray color */
    --light-color: #334155; /* Dark text on light background */
    --white-color: #1e293b; /* Very dark text for headings */
    --gray-color: #475569; /* Gray text */
    --text-color: #334155; /* Main text color */
    --light-gray: #94a3b8; /* Light gray text */
    --box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s ease;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    background-color: var(--dark-color);
    color: var(--text-color);
    direction: rtl;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

    a:hover {
        color: var(--accent-color);
    }

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.section {
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

    .section-header h2 {
        font-size: 2.3rem;
        font-weight: 700;
        color: var(--white-color);
        margin-bottom: 10px;
        position: relative;
        display: inline-block;
    }

    .section-header:after {
        content: '';
        position: absolute;
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background-color: var(--secondary-color);
    }

    .section-header:before {
        content: '';
        position: absolute;
        top: 10px;
        right: calc(50% + 130px);
        width: 4px;
        height: 40px;
        background-color: var(--secondary-color);
    }

.underline {
    height: 4px;
    width: 80px;
    background-color: var(--secondary-color);
    margin: 0 auto;
}

.primary-btn, .secondary-btn, .submit-btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1.05rem;
    font-family: 'Cairo', sans-serif;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    .primary-btn:before, .secondary-btn:before, .submit-btn:before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 0%;
        height: 100%;
        background: rgba(0, 0, 0, 0.05);
        transition: all 0.4s;
        z-index: -1;
    }

    .primary-btn:hover:before, .secondary-btn:hover:before, .submit-btn:hover:before {
        width: 100%;
        right: auto;
        left: 0;
    }

.primary-btn {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

    .primary-btn:hover {
        background-color: var(--secondary-color);
        color: white;
        box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
        transform: translateY(-3px);
    }

.secondary-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

    .secondary-btn:hover {
        background-color: var(--primary-color);
        color: white;
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(16, 185, 129, 0.3);
    }

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
    width: 100%;
    padding: 12px 15px;
}

    .submit-btn:hover {
        background-color: var(--secondary-color);
        transform: translateY(-3px);
    }

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-dark-color);
    border-radius: 5px;
    font-size: 1rem;
    margin-top: 5px;
    font-family: 'Cairo', sans-serif;
    transition: var(--transition);
    color: var(--text-color);
    background-color: var(--dark-color);
}

    .form-control:focus {
        border-color: var(--primary-color);
        outline: none;
        box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    }

/* Navbar Styles */
.navbar {
    background-color: var(--darker-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    height: 80px;
}

    .navbar.scrolled {
        background-color: rgba(241, 245, 249, 0.95);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        height: 70px;
    }

    .navbar .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 100%;
        position: relative;
    }

.navbar-brand {
    display: flex;
    align-items: center;
    z-index: 20;
}

.logo img {
    height: 50px;
    transition: all 0.3s ease;
}

.navbar.scrolled .logo img {
    height: 45px;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
}

    .nav-menu ul {
        display: flex;
        margin: 0;
        padding: 0;
    }

        .nav-menu ul li {
            margin: 0 15px;
            position: relative;
        }

            .nav-menu ul li a {
                color: var(--gray-color);
                font-weight: 600;
                font-size: 1.05rem;
                padding: 30px 0;
                display: block;
                position: relative;
                transition: all 0.3s ease;
            }

                .nav-menu ul li a::after {
                    content: '';
                    position: absolute;
                    bottom: 25px;
                    right: 0;
                    width: 0;
                    height: 3px;
                    background-color: var(--secondary-color);
                    transition: width 0.3s ease;
                    border-radius: 5px;
                }

                .nav-menu ul li a:hover,
                .nav-menu ul li a.active {
                    color: var(--white-color);
                }

                    .nav-menu ul li a:hover::after,
                    .nav-menu ul li a.active::after {
                        width: 100%;
                    }

/* Authentication Buttons */
.auth-buttons {
    display: flex;
    align-items: center;
    margin-right: 30px;
}

.login-btn,
.register-btn {
    padding: 10px 24px;
    margin-right: 12px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.login-btn {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    background-color: transparent;
}

    .login-btn:hover {
        background-color: rgba(16, 185, 129, 0.1);
        color: var(--primary-color);
        transform: translateY(-2px);
    }

.register-btn {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

    .register-btn:hover {
        background-color: var(--secondary-color);
        border-color: var(--secondary-color);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(16, 185, 129, 0.4);
    }

/* Theme Switcher */
.theme-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
    margin-right: 15px;
}

    .theme-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e2e8f0;
    transition: .4s;
    border-radius: 34px;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 22px;
        width: 22px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        transition: .4s;
        border-radius: 50%;
    }

input:checked + .slider {
    background-color: #334155;
}

    input:checked + .slider:before {
        transform: translateX(30px);
    }

.slider .icon {
    position: absolute;
    top: 6px;
    font-size: 14px;
    transition: .4s;
}

.slider .sun-icon {
    left: 8px;
    color: #fbbf24;
    opacity: 1;
}

.slider .moon-icon {
    right: 8px;
    color: #94a3b8;
    opacity: 0;
}

input:checked + .slider .sun-icon {
    opacity: 0;
}

input:checked + .slider .moon-icon {
    opacity: 1;
}

/* Navbar Toggle Button */
.navbar-toggle {
    display: none;
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 30;
    outline: none;
}

    .navbar-toggle span {
        display: block;
        width: 30px;
        height: 3px;
        margin: 6px auto;
        background-color: var(--primary-color);
        transition: all 0.3s ease;
        border-radius: 3px;
    }

    .navbar-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .navbar-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .navbar-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

/* Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

/* Hero Section */
.hero-section {
    padding: 130px 0 100px;
    background-color: var(--darker-color);
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

    .hero-section:before {
        content: '';
        position: absolute;
        top: -200px;
        left: -200px;
        width: 400px;
        height: 400px;
        border-radius: 50%;
        background: linear-gradient(120deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
        z-index: 0;
        animation: float 15s infinite ease-in-out;
    }

    .hero-section:after {
        content: '';
        position: absolute;
        bottom: -150px;
        right: -150px;
        width: 300px;
        height: 300px;
        border-radius: 50%;
        background: linear-gradient(120deg, rgba(5, 150, 105, 0.1), rgba(16, 185, 129, 0.1));
        z-index: 0;
        animation: float 20s infinite ease-in-out reverse;
    }

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(30px, 30px) rotate(10deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    padding-left: 30px;
}

    .hero-content h1 {
        font-size: 3.2rem;
        font-weight: 800;
        margin-bottom: 25px;
        color: var(--white-color);
        position: relative;
        animation: fadeInRight 1s ease-out;
    }

        .hero-content h1:after {
            content: '';
            position: absolute;
            bottom: -10px;
            right: 0;
            width: 80px;
            height: 4px;
            background-color: var(--secondary-color);
        }

    .hero-content p {
        font-size: 1.2rem;
        margin-bottom: 35px;
        color: var(--gray-color);
        animation: fadeInRight 1s ease-out 0.3s;
        animation-fill-mode: both;
        line-height: 1.8;
        max-width: a90%;
    }

.hero-buttons {
    animation: fadeInRight 1s ease-out 0.6s;
    animation-fill-mode: both;
    display: flex;
    gap: 15px;
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-image {
    flex: 1;
    animation: fadeInLeft 1s ease-out;
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}
/* About Section */
.about-section {
    background-color: var(--medium-dark-color);
    position: relative;
    overflow: hidden;
}

    .about-section:before {
        content: '';
        position: absolute;
        top: -100px;
        right: -100px;
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, rgba(241, 245, 249, 0) 70%);
        z-index: 0;
    }

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.about-image {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    position: relative;
}

    .about-image:before {
        content: '';
        position: absolute;
        bottom: -10px;
        left: -10px;
        width: 70px;
        height: 70px;
        border-radius: 50%;
        background-color: rgba(16, 185, 129, 0.2);
        z-index: -1;
    }

    .about-image:after {
        content: '';
        position: absolute;
        top: -20px;
        right: -20px;
        width: 100px;
        height: 100px;
        border-radius: 50%;
        background-color: rgba(5, 150, 105, 0.15);
        z-index: -1;
    }

    .about-image img {
        width: 100%;
        height: auto;
        display: block;
        transition: all 0.5s ease;
    }

    .about-image:hover img {
        transform: scale(1.05);
    }

.about-text {
    flex: 1;
    padding-right: 20px;
    position: relative;
}

    .about-text:before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 4px;
        height: 60px;
        background-color: var(--secondary-color);
        border-radius: 0 0 4px 4px;
    }

    .about-text p {
        margin-bottom: 20px;
        font-size: 1.1rem;
        line-height: 1.8;
        color: var(--text-color);
    }

/* Products Section */
.products-section {
    background-color: var(--dark-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background-color: var(--darker-color);
    border-radius: 15px;
    padding: 35px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    z-index: 1;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .product-card:before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 0%;
        background: linear-gradient(to bottom, rgba(16, 185, 129, 0.05), rgba(241, 245, 249, 0));
        transition: all 0.5s ease;
        z-index: -1;
    }

    .product-card:hover {
        transform: translateY(-15px) scale(1.03);
        box-shadow: 0 20px 30px rgba(0, 0, 0, 0.12);
    }

        .product-card:hover:before {
            height: 100%;
        }

.product-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    transition: all 0.3s ease;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card:hover .product-icon {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.product-card h3 {
    font-size: 1.4rem;
    margin-bottom: 18px;
    color: var(--white-color);
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

    .product-card h3:after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 50%;
        transform: translateX(50%);
        width: 50px;
        height: 3px;
        background-color: var(--secondary-color);
    }

.product-card p {
    color: var(--text-color);
    margin-bottom: 25px;
    line-height: 1.7;
    flex-grow: 1;
}

.learn-more {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    padding-right: 20px;
    transition: all 0.3s ease;
}

    .learn-more:after {
        content: '\f178';
        font-family: 'Font Awesome 5 Free';
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 0;
        transition: all 0.3s ease;
    }

    .learn-more:hover {
        color: var(--secondary-color);
        padding-right: 25px;
    }

        .learn-more:hover:after {
            right: -5px;
        }

/* Features Section */
.features-section {
    background-color: var(--medium-dark-color);
}

.features-tabs {
    max-width: 900px;
    margin: 0 auto;
}

.tabs-navigation {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 12px 25px;
    background-color: var(--darker-color);
    border: none;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    margin: 0 10px;
    transition: var(--transition);
    color: var(--text-color);
}

    .tab-btn.active, .tab-btn:hover {
        background-color: var(--primary-color);
        color: white;
    }

.tab-panel {
    display: none;
}

    .tab-panel.active {
        display: block;
    }

.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

    .features-list li {
        background-color: var(--darker-color);
        padding: 18px 20px;
        border-radius: 10px;
        transition: all 0.4s ease;
        margin-bottom: 10px;
        border-right: 4px solid transparent;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        display: flex;
        align-items: center;
        color: var(--text-color);
        font-weight: 500;
        font-size: 1.05rem;
    }

        .features-list li i {
            color: var(--primary-color);
            font-size: 1.3rem;
            margin-left: 15px;
            min-width: 30px;
            transition: all 0.3s ease;
            text-align: center;
        }

        .features-list li:hover {
            background-color: var(--dark-color);
            transform: translateX(-5px);
            border-right: 4px solid var(--secondary-color);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
        }

            .features-list li:hover i {
                transform: scale(1.2);
                color: var(--secondary-color);
            }

/* Services Section */
.services-section {
    background-color: var(--dark-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    background-color: var(--darker-color);
    border-radius: 15px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    border-bottom: 3px solid transparent;
}

    .service-card:hover {
        transform: translateY(-15px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
        border-bottom: 3px solid var(--secondary-color);
    }

    .service-card:before {
        content: '';
        position: absolute;
        top: -10px;
        left: -10px;
        width: 0;
        height: 0;
        background-color: rgba(16, 185, 129, 0.05);
        border-radius: 50%;
        transition: all 0.5s ease;
    }

    .service-card:hover:before {
        width: 200%;
        height: 200%;
    }

.service-icon {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    transition: all 0.3s ease;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card:hover .service-icon {
    color: var(--secondary-color);
    transform: scale(1.15);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--white-color);
    font-weight: 700;
}

.service-card p {
    color: var(--text-color);
    line-height: 1.7;
}

/* AI Assistant Section */
.ai-assistant-section {
    background-color: var(--medium-dark-color);
    position: relative;
    overflow: hidden;
}

    .ai-assistant-section:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(rgba(226, 232, 240, 0.95), rgba(241, 245, 249, 0.95));
        z-index: 0;
    }

    .ai-assistant-section .container {
        position: relative;
        z-index: 1;
    }

.ai-content {
    display: flex;
    align-items: center;
    gap: 50px;
    position: relative;
}

.ai-info {
    flex: 1;
    background-color: var(--dark-color);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
}

    .ai-info:after {
        content: '';
        position: absolute;
        right: -5px;
        top: 30px;
        height: 70%;
        width: 5px;
        background-color: var(--secondary-color);
        border-radius: 5px;
    }

    .ai-info p {
        font-size: 1.15rem;
        margin-bottom: 25px;
        line-height: 1.8;
        color: var(--text-color);
    }

.ai-features {
    margin: 35px 0;
}

    .ai-features h3 {
        font-size: 1.5rem;
        margin-bottom: 20px;
        color: var(--white-color);
        position: relative;
        display: inline-block;
        padding-bottom: 10px;
    }

        .ai-features h3:after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 70%;
            height: 3px;
            background-color: var(--secondary-color);
        }

    .ai-features ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

        .ai-features ul li {
            background-color: var(--darker-color);
            padding: 15px;
            border-radius: 8px;
            font-size: 1.05rem;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
            color: var(--text-color);
            font-weight: 600;
        }

            .ai-features ul li:hover {
                background-color: var(--dark-color);
                transform: translateY(-3px);
                box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            }

            .ai-features ul li i {
                color: var(--primary-color);
                margin-left: 12px;
                font-size: 1.2rem;
                min-width: 24px;
            }

            .ai-features ul li:hover i {
                color: var(--secondary-color);
            }

.ai-image {
    flex: 1;
}

.cta-button {
    margin-top: 30px;
    display: inline-block;
}

    .cta-button .primary-btn {
        font-size: 1.1rem;
        padding: 15px 35px;
        font-weight: 700;
        border-radius: 50px;
        background-color: var(--primary-color);
        position: relative;
        overflow: hidden;
        box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
        z-index: 1;
    }

        .cta-button .primary-btn:before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 0%;
            height: 100%;
            background: var(--secondary-color);
            transition: all 0.5s;
            z-index: -1;
        }

        .cta-button .primary-btn:hover:before {
            width: 100%;
            right: auto;
            left: 0;
        }

        .cta-button .primary-btn:hover {
            box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
        }
/* Footer */
.footer {
    background-color: var(--medium-dark-color);
    color: var(--text-color);
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

    .footer:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    }

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.footer:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, rgba(241, 245, 249, 0) 70%);
    z-index: 0;
}

.footer-logo {
    flex: 1;
    margin-left: 40px;
}

    .footer-logo img {
        margin-bottom: 25px;
        max-width: 150px;
    }

    .footer-logo p {
        color: var(--gray-color);
        line-height: 1.8;
        font-size: 1rem;
        max-width: 90%;
    }

.footer-links, .footer-contact {
    flex: 1;
}

    .footer-links h3, .footer-contact h3 {
        font-size: 1.4rem;
        margin-bottom: 25px;
        position: relative;
        padding-bottom: 12px;
        color: var(--white-color);
    }

        .footer-links h3:after, .footer-contact h3:after {
            content: '';
            position: absolute;
            right: 0;
            bottom: 0;
            width: 60px;
            height: 3px;
            background-color: var(--secondary-color);
        }

    .footer-links ul li {
        margin-bottom: 12px;
        position: relative;
        padding-right: 20px;
    }

        .footer-links ul li:before {
            content: '\f105';
            font-family: 'Font Awesome 5 Free';
            font-weight: 900;
            position: absolute;
            right: 0;
            top: 2px;
            color: var(--secondary-color);
            transition: all 0.3s ease;
        }

        .footer-links ul li a {
            color: var(--gray-color);
            transition: all 0.3s ease;
            font-size: 1rem;
        }

        .footer-links ul li:hover a {
            color: var(--primary-color);
            padding-right: 2px;
        }

        .footer-links ul li:hover:before {
            right: 5px;
            color: var(--primary-color);
        }

    .footer-contact p {
        margin-bottom: 15px;
        color: var(--gray-color);
        display: flex;
        align-items: center;
        transition: all 0.3s ease;
    }

        .footer-contact p:hover {
            color: var(--primary-color);
            transform: translateX(-5px);
        }

        .footer-contact p i {
            color: var(--secondary-color);
            margin-left: 15px;
            min-width: 20px;
            font-size: 1.1rem;
        }

        .footer-contact p:hover i {
            transform: scale(1.2);
        }

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

    .footer-bottom p {
        color: var(--gray-color);
        font-size: 0.95rem;
    }

/* Smart Learning and Recruitment Sections */
.smart-learning-section, .smart-recruitment-section {
    background-color: var(--darker-color);
}

    .smart-learning-features ul li,
    .smart-recruitment-section .ai-features ul li {
        background-color: var(--medium-dark-color);
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    }

        .smart-learning-features ul li:hover,
        .smart-recruitment-section .ai-features ul li:hover {
            background-color: var(--dark-color);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
        }

    .smart-learning-section .product-card,
    .smart-recruitment-section .product-card {
        background-color: var(--medium-dark-color);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    }

        .smart-learning-section .product-card:hover,
        .smart-recruitment-section .product-card:hover {
            box-shadow: 0 20px 30px rgba(0, 0, 0, 0.12);
        }

/* Responsive Design */
@media (max-width: 1200px) {
    .nav-menu ul li {
        margin: 0 10px;
    }

        .nav-menu ul li a {
            font-size: 1rem;
        }

    .auth-buttons {
        margin-right: 15px;
    }
}

@media (max-width: 1024px) {
    .team-grid, .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .ai-features ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991px) {
    .navbar-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -320px;
        width: 320px;
        height: 100vh;
        background-color: var(--darker-color);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 100px 40px 40px;
        transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 20;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }

        .nav-menu.active {
            right: 0;
        }

        .nav-menu ul {
            flex-direction: column;
            width: 100%;
        }

            .nav-menu ul li {
                margin: 0;
                width: 100%;
                border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            }

                .nav-menu ul li a {
                    padding: 15px 0;
                    display: block;
                    text-align: right;
                    font-size: 1.1rem;
                    color: var(--text-color);
                }

                    .nav-menu ul li a::after {
                        display: none;
                    }

    .auth-buttons {
        margin: 30px 0 0;
        width: 100%;
        flex-direction: column;
    }

    .login-btn,
    .register-btn {
        width: 100%;
        text-align: center;
        margin: 0 0 15px;
    }

    .hero-section .container,
    .about-content,
    .ai-content {
        flex-direction: column;
    }

    .hero-content,
    .hero-image,
    .about-text,
    .about-image,
    .ai-info,
    .ai-image {
        width: 100%;
        padding: 0;
        margin-bottom: 30px;
    }

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 0;
        margin-bottom: 40px;
    }

    .theme-switch {
        margin: 20px 0;
    }
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }

    .contact-info,
    .contact-form {
        width: 100%;
    }


    .footer-content {
        flex-direction: column;
    }

    .footer-logo,
    .footer-links,
    .footer-contact {
        width: 100%;
        margin-bottom: 30px;
        text-align: center;
    }

        .footer-links h3:after,
        .footer-contact h3:after {
            left: 50%;
            right: auto;
            transform: translateX(-50%);
        }

        .footer-links ul li {
            text-align: center;
            padding-right: 0;
        }

            .footer-links ul li:before {
                display: none;
            }

        .footer-contact p {
            justify-content: center;
        }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .team-grid,
    .products-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .tabs-navigation {
        flex-direction: column;
        gap: 10px;
    }

    .tab-btn {
        width: 100%;
        margin: 0;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

        .hero-buttons .primary-btn,
        .hero-buttons .secondary-btn {
            width: 100%;
            text-align: center;
        }
}

/* Contact Section Enhancements for Light Theme */
.contact-section {
    background-color: var(--dark-color);
    position: relative;
}

    .contact-section:before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 50%;
        height: 100%;
        background-color: var(--medium-dark-color);
        z-index: 0;
    }

    .contact-section:after {
        content: '';
        position: absolute;
        bottom: -50px;
        left: -50px;
        width: 200px;
        height: 200px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, rgba(241, 245, 249, 0) 70%);
        z-index: 0;
    }

    .contact-section .container {
        position: relative;
        z-index: 1;
    }

.contact-container {
    display: flex;
    gap: 0;
    background-color: var(--medium-dark-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

    .contact-container:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    }

.contact-info {
    flex: 1;
    background-color: var(--primary-color);
    color: white;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

    .contact-info:before {
        content: '';
        position: absolute;
        bottom: -30px;
        left: -30px;
        width: 200px;
        height: 200px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.05);
        z-index: 0;
    }

    .contact-info:after {
        content: '';
        position: absolute;
        top: -40px;
        right: -40px;
        width: 150px;
        height: 150px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.05);
        z-index: 0;
    }

.info-item {
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
    padding-right: 15px;
    transition: transform 0.3s ease;
}

    .info-item:hover {
        transform: translateX(-8px);
    }

    .info-item i {
        font-size: 2rem;
        margin-bottom: 15px;
        color: white;
        background-color: rgba(255, 255, 255, 0.1);
        width: 60px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        margin-bottom: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }

    .info-item:hover i {
        background-color: var(--secondary-color);
        transform: translateY(-5px) scale(1.05);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

    .info-item h3 {
        margin-bottom: 12px;
        font-size: 1.3rem;
        color: white;
        font-weight: 600;
        position: relative;
        padding-bottom: 8px;
    }

        .info-item h3:after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 40px;
            height: 2px;
            background-color: rgba(255, 255, 255, 0.4);
            transition: width 0.3s ease;
        }

    .info-item:hover h3:after {
        width: 60px;
    }

    .info-item p {
        color: rgba(255, 255, 255, 0.9);
        font-size: 1.05rem;
        line-height: 1.6;
    }

.social-links {
    display: flex;
    gap: 12px;
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

    .social-link:hover {
        background-color: var(--secondary-color);
        color: white;
        transform: translateY(-5px) rotate(360deg);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

.contact-form {
    flex: 1.5;
    padding: 50px 40px;
    position: relative;
    background-color: var(--darker-color);
    transition: background-color 0.3s ease;
}

    .contact-form:before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 5px;
        height: 40%;
        background-color: var(--secondary-color);
        border-radius: 0 5px 5px 0;
        transition: height 0.3s ease;
    }

    .contact-form:hover:before {
        height: 50%;
    }

    .contact-form .form-group {
        margin-bottom: 25px;
        position: relative;
    }

    .contact-form label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        color: var(--text-color);
        font-size: 1.05rem;
        transition: color 0.3s ease;
    }

    .contact-form:hover label {
        color: var(--white-color);
    }

    .contact-form .form-control {
        width: 100%;
        padding: 14px 15px;
        border: 1px solid var(--light-dark-color);
        border-radius: 8px;
        font-size: 1rem;
        margin-top: 5px;
        font-family: 'Cairo', sans-serif;
        transition: all 0.3s ease;
        color: var(--text-color);
        background-color: var(--dark-color);
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    }

        .contact-form .form-control:focus {
            border-color: var(--primary-color);
            outline: none;
            box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
            transform: translateY(-2px);
        }

    .contact-form .submit-btn {
        background-color: var(--primary-color);
        font-weight: 600;
        padding: 15px 30px;
        font-size: 1.1rem;
        margin-top: 10px;
        border-radius: 50px;
        position: relative;
        overflow: hidden;
        z-index: 1;
        transition: all 0.4s ease;
    }

        .contact-form .submit-btn:before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 0%;
            height: 100%;
            background: var(--secondary-color);
            transition: all 0.4s ease;
            z-index: -1;
            border-radius: 50px;
        }

        .contact-form .submit-btn:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
        }

            .contact-form .submit-btn:hover:before {
                width: 100%;
                right: auto;
                left: 0;
            }

.error-message {
    color: #f44336;
    font-size: 0.9rem;
    margin-top: 5px;
    display: block;
    font-weight: 500;
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }

    .contact-info,
    .contact-form {
        width: 100%;
    }

        .contact-info:after,
        .contact-info:before {
            width: 150px;
            height: 150px;
        }

        .contact-form:before {
            width: 40%;
            height: 4px;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 0 0 4px 4px;
        }

        .contact-form:hover:before {
            height: 4px;
            width: 60%;
        }

    .social-links {
        justify-content: center;
    }
}