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

body {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    background-color: white;
    color: #333;
    line-height: 1.6;
    direction: rtl;
}

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

/* Gradient Background */
.gradient-bg {
    background: linear-gradient(to bottom left, #9bcde4, #9f76c5);
    color: white;
}

/* Header Styles */
header {
    padding: 20px 0;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #9f76c5;
}

.nav-links {
    display: flex;
    list-style: none;
}

    .nav-links li {
        margin-right: 20px;
        margin-left: 20px;
    }

        .nav-links li:last-child {
            margin-right: 0;
            margin-left: 0;
        }

    .nav-links a {
        text-decoration: none;
        color: #333;
        font-weight: 500;
        transition: color 0.3s ease;
    }

        .nav-links a:hover {
            color: #9f76c5;
        }

/* Hero Section */
.hero {
    padding: 100px 0;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    min-height: 60vh;
}

.hero-text {
    flex: 1;
}

.hero-logo {
    width: 30%;
    display: block;
    margin: 0 auto;
}

.center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-image {
    flex: 1;
}

    .hero-image img {
        width: 100%;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background-color: white;
    color: #9f76c5;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

    .btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    }

/* Social Media Section */
.social-media-section {
    background: #fff;
    padding: 40px 0 30px 0;
    text-align: center;
}

.social-title {
    font-size: 2rem;
    margin-bottom: 25px;
    color: #9f76c5;
    font-weight: 700;
}

.social-links-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: #fff;
    background: #9f76c5;
    transition: background 0.3s, color 0.3s, transform 0.2s;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(159, 118, 197, 0.10);
}

    .social-icon.facebook,
    .social-icon.instagram,
    .social-icon.twitter,
    .social-icon.tiktok,
    .social-icon.youtube,
    .social-icon.linkedin {
        background: #fff;
        color: #9f76c5;
        box-shadow: 0 2px 8px rgba(159, 118, 197, 0.10);
    }

.social-icon {
    color: #fff;
    background: #9f76c5;
    box-shadow: 0 2px 8px rgba(159, 118, 197, 0.10);
}

    .social-icon:hover {
        background: #9f76c5;
        color: #fff;
        transform: none;
        filter: none;
        box-shadow: 0 2px 8px rgba(159, 118, 197, 0.10);
    }

/* Features Section */
.features {
    padding: 80px 0;
    background-color: white;
}

    .features h2 {
        text-align: center;
        margin-bottom: 50px;
        color: #333;
    }

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

.feature-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 0%;
    margin-bottom: 20px;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card h3 {
    margin-bottom: 15px;
    color: #9f76c5;
}

/* About Preview Section */
.about-preview {
    padding: 80px 0;
}

.about-preview-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-preview-text {
    flex: 2;
}

.about-preview-image {
    flex: 1;
}

    .about-preview-image img {
        width: 100%;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

.about-preview h2 {
    margin-bottom: 20px;
}

.about-preview p {
    margin-bottom: 30px;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 40px 0;
}

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

.social-links a {
    color: white;
    margin-right: 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .social-links a:hover {
        color: #9bcde4;
    }

/* Page Header */
.page-header {
    padding: 60px 0 40px 0;
    text-align: center;
}

    .page-header h1 {
        font-size: 2.5rem;
        margin-bottom: 0;
    }

/* About Page Styles */
.about-content {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    margin-bottom: 60px;
}

.about-image img {
    width: 100%;
    /* border-radius: 10px; */
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-text h2 {
    margin-bottom: 20px;
    color: #333;
}

.about-text p {
    margin-bottom: 20px;
}

.skills-list {
    list-style: none;
    margin-top: 20px;
}

    .skills-list li {
        margin-bottom: 10px;
        padding-right: 20px;
        position: relative;
    }

        .skills-list li:before {
            content: '✓';
            position: absolute;
            right: 0;
            color: #9f76c5;
        }

.education-experience {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.timeline-item {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

    .timeline-item h4 {
        margin-bottom: 5px;
        color: #9f76c5;
    }

    .timeline-item p {
        margin-bottom: 10px;
        color: #666;
    }

/* Services Page Styles */
.services-content {
    padding: 80px 0;
}

.services-intro {
    text-align: center;
    margin-bottom: 60px;
}

    .services-intro h2 {
        margin-bottom: 20px;
    }

    .services-intro p {
        max-width: 800px;
        margin: 0 auto;
    }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

    .service-card:hover {
        transform: translateY(-10px);
    }

    .service-card h3 {
        margin-bottom: 15px;
        color: #9f76c5;
    }

    .service-card ul {
        list-style: none;
        margin-top: 15px;
    }

    .service-card li {
        margin-bottom: 8px;
        padding-right: 20px;
        position: relative;
    }

        .service-card li:before {
            content: '✓';
            position: absolute;
            right: 0;
            color: #9bcde4;
        }

.pricing {
    padding: 80px 0;
    margin-top: 50px;
}

    .pricing h2 {
        text-align: center;
        margin-bottom: 50px;
        color: white;
    }

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

.pricing-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    color: #333;
}

    .pricing-card:hover {
        transform: translateY(-10px);
    }

    .pricing-card.featured {
        border: 2px solid #9f76c5;
        transform: scale(1.05);
    }

    .pricing-card h3 {
        margin-bottom: 20px;
        color: #333;
    }

.price {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #9f76c5;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-card li {
    margin-bottom: 10px;
}

/* Portfolio Page Styles */
.portfolio-content {
    padding: 80px 0;
}

.portfolio-intro {
    text-align: center;
    margin-bottom: 40px;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease;
}

    .filter-btn:hover, .filter-btn.active {
        color: #9f76c5;
    }

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-label {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(159, 118, 197, 0.9);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    z-index: 2;
}

.portfolio-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(159, 118, 197, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
    text-align: center;
    color: white;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    margin-bottom: 10px;
}

.portfolio-overlay p {
    margin-bottom: 20px;
}

.testimonials {
    padding: 80px 0;
    margin-top: 50px;
}

    .testimonials h2 {
        text-align: center;
        margin-bottom: 50px;
    }

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

.testimonial-item {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
    color: #333;
}

.client-info h4 {
    margin-bottom: 5px;
    color: #9f76c5;
}

.client-info p {
    color: #666;
}

/* Contact Page Styles */
.contact-content {
    padding: 40px 0 30px 0;
}

.contact-intro {
    text-align: center;
    margin-bottom: 30px;
    padding: 0 0 10px 0;
}

    .contact-intro h2 {
        margin-bottom: 20px;
    }

    .contact-intro p {
        max-width: 800px;
        margin: 0 auto;
    }

.contact-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 25px;
}

.contact-form h3, .contact-info h3 {
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}

.contact-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    display: block;
}

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

    .form-group label {
        display: block;
        margin-bottom: 5px;
        font-weight: 500;
    }

    .form-group input, .form-group textarea {
        width: 100%;
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 5px;
        font-family: 'IBM Plex Sans Arabic', sans-serif;
    }

    .form-group textarea {
        resize: vertical;
    }

.info-item {
    margin-bottom: 20px;
}

    .info-item h4 {
        margin-bottom: 5px;
        color: #9f76c5;
    }

    .info-item a {
        color: #333;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .info-item a:hover {
            color: #9f76c5;
        }

.social-links-contact {
    margin-top: 30px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f5f5f5;
    border-radius: 50%;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .social-icon:hover {
        background-color: #9f76c5;
        color: white;
    }

.map-section {
    padding: 60px 0;
}

    .map-section h2 {
        text-align: center;
        margin-bottom: 30px;
    }

.map-container {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
}

.map-placeholder {
    height: 100%;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
    text-align: center;
    padding: 20px;
}

.map-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq {
    padding: 80px 0;
}

    .faq h2 {
        text-align: center;
        margin-bottom: 50px;
    }

.faq-item {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

    .faq-item h3 {
        margin-bottom: 15px;
        color: #333;
    }

/* CTA Section */
.cta {
    padding: 80px 0;
    text-align: center;
    background-color: white;
}

    .cta h2 {
        margin-bottom: 20px;
        color: #333;
    }

    .cta p {
        margin-bottom: 30px;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

/* Responsive Styles */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }

    .nav-links {
        margin-top: 20px;
    }

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

    footer .container {
        flex-direction: column;
        text-align: center;
    }

    .about-grid,
    .education-experience,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        margin-bottom: 30px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .social-links {
        margin-top: 20px;
    }
}
