:root {
    --primary-color: #6c63ff;
    --secondary-color: #5ee7df;
    --accent-color: #ffde59;
    --dark-color: #2d3748;
    --light-color: #f5f6fa;
    --text-color: #2d3436;
    --text-light: #636e72;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Heebo', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    direction: rtl;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    position: relative;
    color: var(--dark-color);
    font-weight: 900;
    letter-spacing: -1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: var(--gradient);
    border-radius: 3px;
}

/* Header */
.header {
    background-color: white;
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-weight: 800;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-weight: 500;
    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--primary-color);
}

.btn-primary {
    background: var(--gradient);
    color: white;
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.2);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(108, 99, 255, 0.3);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 180px 0 130px;
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: var(--gradient);
    opacity: 0.1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: var(--gradient);
    opacity: 0.05;
}

.hero .container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    padding-left: 40px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--dark-color);
    margin-bottom: 25px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: var(--text-light);
    max-width: 90%;
}

.hero-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transform: rotate(3deg);
    transition: var(--transition);
}

.hero-image:hover {
    transform: rotate(0);
}

.btn-hero {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}

.btn-hero:hover::after {
    opacity: 1;
}

.btn-hero:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(108, 99, 255, 0.3);
}

/* About Section */
.about {
    padding: 100px 0;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.about-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

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

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature {
    background-color: white;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    padding: 40px;
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    z-index: 1;
    transition: var(--transition);
}

.feature:hover::before {
    height: 8px;
}

.feature:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature i {
    font-size: 3.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
    display: inline-block;
}

.feature h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--dark-color);
}

/* Services Section */
.services {
    padding: 120px 0;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236c63ff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    padding: 0;
}

.service-icon {
    height: 200px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 5rem;
    color: white;
}

.card-content {
    padding: 30px;
    text-align: center;
}

.card-content h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--dark-color);
}

.card-content p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Testimonial */
.testimonial {
    padding: 100px 0;
    background: var(--gradient);
    color: white;
    position: relative;
    overflow: hidden;
}

.testimonial::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    top: -150px;
    right: -150px;
}

.testimonial::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    bottom: -100px;
    left: -100px;
}

.testimonial-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.quote i {
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 25px;
}

.quote p {
    font-size: 1.7rem;
    line-height: 1.6;
    font-weight: 300;
    margin-bottom: 30px;
}

.quote h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-color);
}

/* Process Section */
.process {
    padding: 120px 0;
    background-color: white;
    position: relative;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 60px auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    height: calc(100% - 100px);
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    right: 50px;
    top: 50px;
}

.timeline-item {
    display: flex;
    margin-bottom: 70px;
    position: relative;
}

.timeline-number {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    z-index: 1;
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.3);
    background: var(--gradient);
}

.timeline-content {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    margin-right: 30px;
    flex: 1;
    position: relative;
    z-index: 1;
}

.timeline-content::before {
    content: '';
    position: absolute;
    right: -15px;
    top: 40px;
    width: 30px;
    height: 30px;
    background: white;
    transform: rotate(45deg);
    box-shadow: 5px -5px 10px rgba(0,0,0,0.05);
    z-index: -1;
}

/* Gallery */
.gallery {
    padding: 120px 0;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.gallery-alternative {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gallery-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    position: relative;
    overflow: hidden;
}

.gallery-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    transition: var(--transition);
}

.gallery-card:hover::before {
    height: 8px;
}

.gallery-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.gallery-card i {
    font-size: 3rem;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gallery-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--dark-color);
}

.gallery-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Contact */
.contact {
    padding: 120px 0;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--gradient);
    opacity: 0.05;
}

.contact-wrapper {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.contact-info p {
    margin-bottom: 30px;
}

.contact-details {
    margin-top: 30px;
}

.contact-details li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-details i {
    margin-left: 15px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    font-weight: 700;
}

.form-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid #eef0f7;
    border-radius: 8px;
    font-family: 'Heebo', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.2);
}

.btn-submit {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-submit::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}

.btn-submit:hover::after {
    opacity: 1;
}

.btn-submit:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(108, 99, 255, 0.3);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 100px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 80px;
}

.footer-logo h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    transition: var(--transition);
    font-weight: 500;
    position: relative;
    display: inline-block;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

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

.footer-social h4 {
    margin-bottom: 15px;
}

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

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
    margin-left: 15px;
}

.social-icons a:hover {
    background: var(--gradient);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.credit {
    font-size: 0.9rem;
    opacity: 0.8;
}

.otef-link {
    color: var(--accent-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.otef-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: var(--transition);
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        padding: 0;
        margin-bottom: 40px;
    }
    
    .features,
    .service-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-alternative {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-wrapper {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        text-align: center;
    }
    
    .footer-links ul {
        align-items: center;
    }
    
    .timeline::before {
        right: 30px;
    }
    
    .timeline-content::before {
        right: -10px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: white;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: var(--transition);
    }
    
    .main-nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .features,
    .service-cards,
    .gallery-alternative {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        display: none;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-number {
        margin: 0 auto 20px;
    }
    
    .timeline-content {
        margin-right: 0;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.animate {
    opacity: 1;
    transform: translateY(0);
}

.timeline-fade {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-fade.animate {
    opacity: 1;
    transform: translateX(0);
}

.loaded .hero-content h1 {
    animation: fadeInUp 1s ease forwards;
}

.loaded .hero-content p {
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

.loaded .hero-content .btn-hero {
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header.scrolled {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}
