:root {
    --violet-dark: #4a148c;
    --violet-medium: #7b1fa2;
    --violet-light: #9c27b0;
    --violet-pale: #e1bee7;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray-dark: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    color: var(--gray-dark);
    background-color: var(--gray-light);
    line-height: 1.6;
}

header {
    background-color: var(--violet-dark);
    color: var(--white);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-image {
    width: 100px;
    height: auto;
    border-radius: 5px;
    object-fit: contain;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
}

.logo span {
    color: var(--violet-pale);
}

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

nav ul li {
    margin-left: 1.5rem;
}

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

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

.hero {
    background: linear-gradient(135deg, var(--violet-dark), var(--violet-medium));
    color: var(--white);
    text-align: center;
    padding: 10rem 0 4rem;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

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

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

.btn {
    display: inline-block;
    background-color: var(--violet-light);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--violet-dark);
}

section {
    padding: 6rem 0 4rem;
}

/* Add extra padding to the first section (after hero) to ensure it's not covered */
#nosotros {
    padding-top: 7rem;
}

section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--violet-dark);
}

.about-content, .services-content, .why-content, .work-content, .contact-content {
    max-width: 800px;
    margin: 0 auto;
}

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

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.service-card h3 {
    color: var(--violet-medium);
    margin-bottom: 1rem;
}

.why-us {
    background-color: var(--violet-pale);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.why-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.icon {
    font-size: 2rem;
    color: var(--violet-medium);
    margin-bottom: 1rem;
}

.contact-form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-group textarea {
    height: 150px;
}

footer {
    background-color: var(--violet-dark);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

.footer-content p {
    margin-bottom: 1rem;
}

.social-icons a {
    color: var(--white);
    font-size: 1.5rem;
    margin: 0 0.5rem;
}

.job-list {
    list-style-position: inside;
    margin: 1rem 0;
}

.email-link {
    color: var(--violet-medium);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 1rem;
    }
    
    nav ul li {
        margin-left: 1rem;
        margin-right: 1rem;
    }
    
    .hero {
        padding-top: 12rem;
    }
    
    section {
        padding-top: 7rem;
    }
    
    #nosotros {
        padding-top: 8rem;
    }
}
