﻿:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --accent: #00bdde;
    --dark: #0f172a;
    --light: #ffffff;
    --gray: #94a3b8;
    --light-gray: #f1f5f9;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', sans-serif;
}

body {
    background-color: var(--light-gray);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 80px;
    /* تعويض عن الهيدر الثابت */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styles */
header {
    background-color: var(--light);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    height: 80px;
    /* ارتفاع ثابت للنافبار */
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    /* تقليل البادنج */
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

    .logo img {
        height: 170px;
        width: auto;
        max-width: none;
        object-fit: contain;
    }

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--dark);
}

.logo:hover img {
    transform: scale(1.05);
}

nav ul {
    display: flex;
    list-style: none;
}

    nav ul li {
        margin-left: 1.5rem;
    }

        nav ul li a {
            text-decoration: none;
            color: var(--dark);
            font-weight: 600;
            font-size: 1.1rem;
            transition: var(--transition);
            position: relative;
            padding: 8px 0;
        }

            nav ul li a:hover {
                color: var(--primary);
            }

            nav ul li a::after {
                content: '';
                position: absolute;
                bottom: 0;
                left: 0;
                width: 0;
                height: 3px;
                background: var(--primary);
                transition: var(--transition);
                border-radius: 2px;
            }

            nav ul li a:hover::after {
                width: 100%;
            }

.cta-button {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    white-space: nowrap;
}

    .cta-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
    }

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, var(--dark) 100%);
    color: white;
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><polygon fill="rgba(255,255,255,0.03)" points="0,100 100,0 100,100"/></svg>');
        background-size: cover;
        opacity: 0.5;
    }

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

    .hero-text h2 {
        font-size: 2.8rem;
        margin-bottom: 1.2rem;
        line-height: 1.2;
        font-weight: 800;
    }

    .hero-text p {
        font-size: 1.2rem;
        margin-bottom: 1.8rem;
        color: #e2e8f0;
    }

.hero-image {
    flex: 1;
    text-align: center;
    position: relative;
}

    .hero-image::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background: linear-gradient(45deg, transparent, var(--primary), transparent);
        border-radius: 20px;
        z-index: -1;
        top: -20px;
        left: -20px;
        animation: rotate 8s linear infinite;
    }

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hero-image img {
    max-width: 90%;
    max-height: 400px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 5px solid rgba(255, 255, 255, 0.1);
    object-fit: cover;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.secondary-button {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

    .secondary-button:hover {
        background: rgba(255, 255, 255, 0.15);
        border-color: white;
    }

/* Services Section */
.services {
    padding: 4rem 0;
    background-color: white;
    position: relative;
}

    .services::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100px;
        background: linear-gradient(to bottom, var(--dark), transparent);
        opacity: 0.03;
    }

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

    .section-title h2 {
        font-size: 2.3rem;
        color: var(--dark);
        position: relative;
        display: inline-block;
        margin-bottom: 1rem;
        font-weight: 800;
    }

        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 70px;
            height: 4px;
            background: var(--accent);
            border-radius: 2px;
        }

    .section-title p {
        color: var(--gray);
        max-width: 700px;
        margin: 1.2rem auto 0;
        font-size: 1.1rem;
    }

.section-title_ {
    text-align: center;
    margin-bottom: 3rem;
}

    .section-title_ h2 {
        font-size: 2.3rem;
        color: var(--light-gray);
        position: relative;
        display: inline-block;
        margin-bottom: 1rem;
        font-weight: 800;
    }

        .section-title_ h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 70px;
            height: 4px;
            background: var(--accent);
            border-radius: 2px;
        }

    .section-title_ p {
        color: var(--gray);
        max-width: 700px;
        margin: 1.2rem auto 0;
        font-size: 1.1rem;
    }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--light);
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

    .service-card::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(transparent, rgba(37, 99, 235, 0.05), transparent);
        transform: rotate(15deg);
        z-index: 0;
    }

    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
        border-color: rgba(37, 99, 235, 0.2);
    }

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.8rem;
    color: white;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
    border-radius: 50%;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
    color: var(--dark);
}

.service-card p {
    color: var(--gray);
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
}

/* About Section */
.about {
    padding: 4rem 0;
    background: linear-gradient(to bottom, #eff6ff, var(--light-gray));
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 8px solid white;
    position: relative;
    height: 380px;
}

    .about-image::before {
        content: '';
        position: absolute;
        top: -15px;
        left: -15px;
        width: 100%;
        height: 100%;
        border: 2px solid var(--accent);
        border-radius: 20px;
        z-index: -1;
    }

    .about-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--transition);
    }

    .about-image:hover img {
        transform: scale(1.03);
    }

.about-text {
    flex: 1;
}

    .about-text h2 {
        font-size: 2.3rem;
        margin-bottom: 1.2rem;
        color: var(--dark);
        font-weight: 800;
    }

    .about-text p {
        margin-bottom: 1.2rem;
        color: #475569;
        font-size: 1.05rem;
        line-height: 1.7;
    }

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.stat-item {
    text-align: center;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid #e2e8f0;
}

    .stat-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
        border-color: rgba(0, 189, 222, 0.3);
    }

    .stat-item .number {
        font-size: 2.2rem;
        font-weight: 800;
        color: var(--accent);
        margin-bottom: 0.5rem;
        background: linear-gradient(135deg, var(--primary), var(--accent));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .stat-item .label {
        color: var(--gray);
        font-weight: 600;
        font-size: 1rem;
    }

/* Portfolio Section */
.portfolio {
    padding: 4rem 0;
    background-color: white;
    position: relative;
}

    .portfolio::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100px;
        background: linear-gradient(to top, var(--dark), transparent);
        opacity: 0.03;
    }

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.8rem;
}

.portfolio-item {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 280px;
    transition: var(--transition);
}

    .portfolio-item:hover {
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    }

    .portfolio-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--transition);
    }

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.85), rgba(0, 189, 222, 0.85));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.8rem;
    text-align: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay h3 {
    color: white;
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.portfolio-overlay p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

/* Testimonials */
.testimonials {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--dark), #1e293b);
    color: white;
    position: relative;
    overflow: hidden;
}

    .testimonials::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at 20% 30%, rgba(0, 189, 222, 0.1) 0%, transparent 40%), radial-gradient(circle at 80% 70%, rgba(37, 99, 235, 0.1) 0%, transparent 40%);
    }

.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.testimonial-slider {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    margin-top: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

    .testimonial-slider::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 5px;
        height: 100%;
        background: linear-gradient(to bottom, var(--primary), var(--accent));
    }

.testimonial {
    text-align: center;
}

.testimonial-content {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.8rem;
    font-style: italic;
    position: relative;
    padding: 0 1.8rem;
}

    .testimonial-content::before,
    .testimonial-content::after {
        content: '"';
        position: absolute;
        font-size: 3.5rem;
        color: rgba(255, 255, 255, 0.1);
        font-family: serif;
    }

    .testimonial-content::before {
        top: -15px;
        left: 0;
    }

    .testimonial-content::after {
        bottom: -40px;
        right: 0;
    }

.client-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.client-avatar {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 3px solid var(--accent);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

    .client-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.client-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.client-company {
    color: var(--accent);
    font-weight: 500;
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background-color: white;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    transition: var(--transition);
    padding: 1.2rem;
    border-radius: 15px;
}

    .contact-item:hover {
        background: rgba(37, 99, 235, 0.03);
        transform: translateX(5px);
    }

.contact-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
}

.contact-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.contact-details p {
    color: var(--gray);
    font-size: 1rem;
}

.contact-form {
    background: var(--light);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.form-group {
    margin-bottom: 1.2rem;
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 600;
        color: var(--dark);
    }

.form-control {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    background: #f8fafc;
}

    .form-control:focus {
        border-color: var(--accent);
        outline: none;
        box-shadow: 0 0 0 3px rgba(0, 189, 222, 0.1);
        background: white;
    }

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark), #1e293b);
    color: white;
    padding: 3.5rem 0 1.5rem;
    position: relative;
}

    footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(to right, var(--primary), var(--accent));
    }

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
}

.footer-col h3 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.7rem;
}

    .footer-col h3::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 45px;
        height: 3px;
        background: var(--accent);
    }

.footer-col p {
    color: #cbd5e1;
    margin-bottom: 1.2rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 0.8rem;
}

    .social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        background: rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        color: white;
        transition: var(--transition);
        font-size: 1.1rem;
    }

        .social-links a:hover {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            transform: translateY(-5px);
        }

.footer-col ul {
    list-style: none;
}

    .footer-col ul li {
        margin-bottom: 1rem;
    }

        .footer-col ul li a {
            color: #cbd5e1;
            text-decoration: none;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.95rem;
        }

            .footer-col ul li a::before {
                content: '»';
                color: var(--accent);
                font-weight: bold;
            }

            .footer-col ul li a:hover {
                color: var(--accent);
                transform: translateX(5px);
            }

.footer-col form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-col input {
    padding: 0.8rem;
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.95rem;
}

    .footer-col input::placeholder {
        color: #94a3b8;
    }

.footer-col button {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

    .footer-col button:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
    }

.copyright {
    text-align: center;
    padding-top: 1.8rem;
    margin-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content {
        gap: 2rem;
    }

    .hero-text h2 {
        font-size: 2.5rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .section-title_ h2 {
        font-size: 2rem;
    }

    .about-content {
        gap: 3rem;
    }
}

@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        margin-bottom: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        flex-direction: column;
    }

    .logo img {
        max-width: 200px;
    }
}

@media (max-width: 768px) {

    .cta-button {
        display: inline-block;
    }

    .menu-toggle {
        display: block;
    }

    header {
        height: 70px;
        padding: 0 1rem;
    }

    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        height: 70px;
    }

    .logo img {
        height: 170px;
        max-height: 170px;
    }


    nav {
        display: none;
        flex-direction: column;
        background: white;
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        padding: 1rem 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

        nav.active {
            display: flex;
        }

        nav ul {
            flex-direction: column;
            gap: 1rem;
            text-align: center;
        }

            nav ul li {
                margin: 0;
            }
}

@media (max-width: 480px) {
    .hero-text h2 {
        font-size: 1.9rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-title h2 {
        font-size: 1.7rem;
    }

    .section-title_ h2 {
        font-size: 1.7rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}



.page-title {
    text-align: center;
    padding: 4rem 0 2rem;
    background: linear-gradient(135deg, #1e3a8a 0%, var(--dark) 100%);
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

    .page-title::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><polygon fill="rgba(255,255,255,0.03)" points="0,100 100,0 100,100"/></svg>');
        background-size: cover;
        opacity: 0.5;
    }

    .page-title h1 {
        font-size: 2.8rem;
        margin-bottom: 0.5rem;
        position: relative;
        z-index: 2;
    }

    .page-title p {
        font-size: 1.2rem;
        color: #e2e8f0;
        max-width: 700px;
        margin: 0 auto;
        position: relative;
        z-index: 2;
    }

.detailed-services {
    padding: 4rem 0;
    background-color: white;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.service-detail {
    background: var(--light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
}

    .service-detail:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    }

.service-header {
    padding: 1.8rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    position: relative;
    overflow: hidden;
}

    .service-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><polygon fill="rgba(255,255,255,0.1)" points="0,0 100,100 0,100"/></svg>');
        background-size: cover;
    }

.service-icon-title {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    position: relative;
    z-index: 2;
}

    .service-icon-title i {
        font-size: 2.5rem;
        background: rgba(255, 255, 255, 0.15);
        width: 70px;
        height: 70px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .service-icon-title h2 {
        font-size: 1.8rem;
        font-weight: 700;
    }

.service-body {
    padding: 2rem;
}

.service-description {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #475569;
}

.features-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark);
    font-weight: 700;
    position: relative;
    padding-bottom: 0.5rem;
}

    .features-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 50px;
        height: 3px;
        background: var(--accent);
        border-radius: 2px;
    }

.features-list {
    list-style: none;
    margin-bottom: 2rem;
}

    .features-list li {
        padding: 0.7rem 0;
        border-bottom: 1px dashed #e2e8f0;
        position: relative;
        padding-right: 1.5rem;
        font-size: 1.05rem;
    }

        .features-list li:last-child {
            border-bottom: none;
        }

        .features-list li::before {
            content: '\f00c';
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
            position: absolute;
            right: 0;
            top: 0.8rem;
            color: var(--accent);
        }

.service-cta {
    text-align: center;
    margin-top: 1.5rem;
}

.why-choose {
    padding: 4rem 0;
    background: linear-gradient(to bottom, #eff6ff, var(--light-gray));
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

    .section-title h2 {
        font-size: 2.3rem;
        color: var(--dark);
        position: relative;
        display: inline-block;
        margin-bottom: 1rem;
        font-weight: 800;
    }

        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 70px;
            height: 4px;
            background: var(--accent);
            border-radius: 2px;
        }

    .section-title p {
        color: var(--gray);
        max-width: 700px;
        margin: 1.2rem auto 0;
        font-size: 1.1rem;
    }

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.advantage-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid #e2e8f0;
}

    .advantage-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
        border-color: rgba(37, 99, 235, 0.2);
    }

.advantage-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.8rem;
    color: white;
}

.advantage-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--dark);
}

.advantage-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

.service-cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--dark), #1e293b);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .service-cta-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at 20% 30%, rgba(0, 189, 222, 0.1) 0%, transparent 40%), radial-gradient(circle at 80% 70%, rgba(37, 99, 235, 0.1) 0%, transparent 40%);
    }

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

    .cta-content h2 {
        font-size: 2.3rem;
        margin-bottom: 1.2rem;
    }

    .cta-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        color: #cbd5e1;
    }

.cta-button-large {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: inline-block;
}

    .cta-button-large:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }




@media (max-width: 480px) {
    .services-container {
        grid-template-columns: 1fr;
    }

    .service-icon-title {
        flex-direction: column;
        text-align: center;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .cta-content h2 {
        font-size: 1.9rem;
    }

}


.portfolio {
    padding: 4rem 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

    .section-title h2 {
        font-size: 2.3rem;
        color: var(--dark);
        position: relative;
        display: inline-block;
        margin-bottom: 1rem;
        font-weight: 800;
    }

        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 70px;
            height: 4px;
            background: var(--accent);
            border-radius: 2px;
        }

    .section-title p {
        color: var(--gray);
        max-width: 700px;
        margin: 1.2rem auto 0;
        font-size: 1.1rem;
    }

.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.filter-btn {
    background: var(--light-gray);
    color: var(--dark);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

    .filter-btn:hover, .filter-btn.active {
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        color: white;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    }

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    height: 320px;
}

    .portfolio-item:hover {
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        transform: translateY(-8px);
    }

    .portfolio-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--transition);
    }

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.85), rgba(0, 189, 222, 0.85));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.8rem;
    text-align: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay h3 {
    color: white;
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.portfolio-overlay p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.portfolio-overlay .portfolio-btn {
    background: white;
    color: var(--primary);
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    text-decoration: none;
}

    .portfolio-overlay .portfolio-btn:hover {
        background: var(--dark);
        color: white;
    }

.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

    .project-modal.active {
        opacity: 1;
        visibility: visible;
    }

.modal-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.project-modal.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .modal-header h3 {
        font-size: 1.8rem;
        font-weight: 700;
    }

.close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .close-modal:hover {
        background: rgba(255, 255, 255, 0.2);
    }

.modal-body {
    padding: 2rem;
}

.project-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.project-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

    .project-images img {
        width: 100%;
        border-radius: 15px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        object-fit: cover;
    }

        .project-images img:hover {
            transform: scale(1.03);
        }

    .project-images img:not(.main-image) {
        aspect-ratio: 16 / 9;
    }


    .project-images .main-image {
        grid-column: span 2;
    }

.project-info h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--dark);
    position: relative;
    padding-bottom: 0.5rem;
}

    .project-info h4::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 50px;
        height: 3px;
        background: var(--accent);
        border-radius: 2px;
    }

.project-info p {
    color: var(--gray);
    margin-bottom: 1.2rem;
    line-height: 1.7;
}

.project-features {
    margin-top: 1.5rem;
}

    .project-features h4 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
        color: var(--dark);
        position: relative;
        padding-bottom: 0.5rem;
    }

        .project-features h4::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 50px;
            height: 3px;
            background: var(--accent);
            border-radius: 2px;
        }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid #e2e8f0;
}

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
        border-color: rgba(37, 99, 235, 0.3);
    }

    .feature-card i {
        font-size: 2rem;
        color: var(--primary);
        margin-bottom: 1rem;
    }

    .feature-card h5 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        color: var(--dark);
    }

    .feature-card p {
        color: var(--gray);
        font-size: 0.95rem;
    }

@media (max-width: 768px) {
    .project-images {
        grid-template-columns: 1fr;
    }

    .project-images img {
        max-width: 100%;
        height: auto;
    }

    .project-images .main-image {
        grid-column: span 1;
    }
}