:root {
    --primary: #e215cd;
    --secondary: #5215e2;
    --gradient-bg: linear-gradient(135deg, var(--primary), var(--secondary));
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #fafafa;
    color: var(--dark);
    line-height: 1.6;
}

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

header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 28px;
    font-weight: 700;
    background: var(--gradient-bg);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.logo span {
    display: block;
    font-size: 16px;
    margin-top: 5px;
    color: var(--secondary);
    -webkit-text-fill-color: var(--secondary);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary);
}

.hero {
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    background-color: white;
}

.hero-content {
    width: 100%;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: var(--gradient-bg);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--gray);
    max-width: 600px;
}

.btn {
    display: inline-block;
    background: var(--gradient-bg);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

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

section {
    padding: 100px 0;
}

section:nth-child(odd) {
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

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

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

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

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

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.service-card ul, .service-card dl {
    margin-left: 20px;
}

.service-card li, .service-card dt, .service-card dd {
    margin-bottom: 8px;
}

.service-card dt {
    font-weight: 700;
    margin-top: 15px;
}

.service-card dd {
    margin-left: 15px;
    color: var(--gray);
}

.languages {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.language-card {
    background-color: white;
    border-radius: 10px;
    padding: 20px 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.language-card p:first-child {
    font-weight: 700;
    margin-bottom: 5px;
}

.cta {
    text-align: center;
    background: var(--gradient-bg);
    color: white;
    padding: 80px 0;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn {
    background: white;
    color: var(--primary);
}

footer {
    background-color: var(--dark);
    color: white;
    padding: 50px 0;
    text-align: center;
}

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

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.copyright {
    margin-top: 30px;
    color: var(--gray);
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        margin-top: 20px;
        justify-content: center;
    }

    nav ul li {
        margin: 0 10px;
    }

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

    .service-card {
        margin-bottom: 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
}

/* 404 page */
body.error-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.error-page .hero {
    flex: 1;
    height: auto;
    min-height: 0;
    justify-content: center;
    padding: 40px 20px;
}

.error-page .hero-content {
    width: auto;
    max-width: 600px;
}

.error-page .hero-content img {
    width: 280px;
    max-width: 100%;
    margin-bottom: 60px;
}

.error-page .hero h1 {
    font-size: 2rem;
    margin-bottom: 15px;
    background: none;
    -webkit-text-fill-color: var(--dark);
}

.error-page footer {
    padding: 30px 0;
}

.error-page .copyright {
    margin-top: 0;
}

@media (max-width: 768px) {
    .error-page .hero h1 {
        font-size: 1.5rem;
    }
}
