﻿:root {
    --primary-color: #4e54c8;
    --secondary-color: #8f94fb;
    --dark-color: #2a2a2a;
    --light-color: #f8f9fa;
}
.HeadText{
    font-family:Tahoma;
    font-size-adjust : 0.28;
}
/* استایل کلی */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* هدر */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-weight: 800;
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.btn-primary {
    background-color: white;
    color: var(--primary-color);
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

.btn-outline-light {
    border: 2px solid white;
    color: white;
    background: transparent;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-outline-light:hover {
        background: white;
        color: var(--primary-color);
    }

/* بخش خدمات */
.services-section {
    padding: 80px 0;
    background: var(--light-color);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

    .section-header h2 {
        font-weight: 700;
        color: var(--dark-color);
        position: relative;
        display: inline-block;
        padding-bottom: 15px;
    }

        .section-header h2:after {
            content: '';
            position: absolute;
            right: 0;
            bottom: 0;
            width: 50px;
            height: 3px;
            background: var(--primary-color);
            left: 0;
            margin: 0 auto;
        }

.service-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-card p {
    color: #666;
    line-height: 1.8;
}

/* بخش پروژه‌ها */
.projects-section {
    padding: 80px 0;
}

.project-card {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

    .project-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    }

.project-img {
    height: 200px;
    overflow: hidden;
}

    .project-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.project-card:hover .project-img img {
    transform: scale(1.1);
}

.project-info {
    padding: 20px;
    background: white;
}

    .project-info h3 {
        font-weight: 600;
        margin-bottom: 10px;
    }

    .project-info p {
        color: #666;
        margin-bottom: 15px;
    }

.project-tag {
    display: inline-block;
    background: var(--light-color);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* بخش تماس فوری */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 60px 0;
    color: white;
    text-align: center;
}

    .cta-section h2 {
        font-weight: 700;
        margin-bottom: 20px;
    }

    .cta-section p {
        font-size: 1.1rem;
        opacity: 0.9;
        margin-bottom: 30px;
    }

/* فوتر */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: inline-block;
}

    .footer-logo i {
        color: var(--primary-color);
    }

.footer-about p {
    color: #bdc3c7;
    line-height: 1.8;
}

.footer-links h5 {
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

    .footer-links h5:after {
        content: '';
        position: absolute;
        right: 0;
        bottom: 0;
        width: 50px;
        height: 2px;
        background: var(--primary-color);
    }

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .footer-links a:hover {
        color: var(--primary-color);
        padding-right: 5px;
    }

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-left: 10px;
    transition: all 0.3s ease;
}

    .social-icons a:hover {
        background: var(--primary-color);
        transform: translateY(-5px);
    }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    color: #bdc3c7;
    font-size: 0.9rem;
}

/* انیمیشن‌ها */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating {
    animation: float 6s ease-in-out infinite;
}
