* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat','Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

/* Header scrolled state */
header.scrolled {
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(102, 126, 234, 0.3);
}

header.scrolled .logo {
    color: white;
    -webkit-text-fill-color: white;
}

header.scrolled .nav-links a {
    color: white;
}

header.scrolled .nav-links a:hover,
header.scrolled .nav-links a.active {
    color: #ffd700;
}

header.scrolled .nav-links a::after {
    background: linear-gradient(45deg, #ffd700, #ffed4a);
}



nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

header.scrolled nav{
    padding: 1.5rem 5%;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(45deg, #2c3e50, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo a{
    list-style: none;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #667eea;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}


.ctta-button {
    display: none;
    
}

/* Hero Section */
.hero {  
    height: 100vh;
    
    background: linear-gradient(35deg, rgba(18, 18 ,18, 0.1)),
    url('https://plus.unsplash.com/premium_photo-1661310181347-ddea5f5c3f9c?q=80&w=1470&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* parallax efecto visual */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background: linear-gradient(45deg, #C3C3C3, #4f4f4f);*/
    background-color: rgba(18,18,18, 0.3);
    opacity: 0.9;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}


.parallax-divider {
    background: url('https://images.unsplash.com/photo-1618761714954-0b8cd0026356?q=80&w=1470&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') center / cover fixed;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    color: white;
    text-shadow: 0 0 10px #000;
    font-size: 2rem;
    position: relative;
}


/* Sections */
section {
    padding: 5rem 5%;
    /*max-width: 1200px;*/
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #667eea, #764ba2);
}

/* Nosotros Section */
.nosotros {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 5rem 5%;
}

.nosotros-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nosotros-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;

}

.nosotros-text p{

    text-align: justify;

}

.nosotros-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}


.content-animation{
    background-color: rgba(18,18,18,0.5);
    padding: 10px;
}

.content-animation h3{

    font-weight: bold;
    text-transform: uppercase;

}

.content-animation h4{

    font-weight: 400;
    

}

.services{
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #4a5e96, #364758);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Clientes Section */
.clientes {
    background: #f8f9fa;
    padding: 5rem 5%;
}

.clientes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.cliente-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.cliente-card:hover {
    transform: scale(1.05);
}

.cliente-logo {
    width: 100px;
    height: 100px;
    /*background: linear-gradient(45deg, #667eea, #764ba2);*/
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-weight: bold;
}

/* Contact Form */
.contacto{

    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    
}
.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: 'Montserrat','Arial', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    font-family: 'Montserrat','Arial', sans-serif;
    text-transform: uppercase;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}



/* Newsletter Form */
.newsletter {
 
    background:#fff;
    padding: 60px 0;
    text-align: center;
}

.newsletter h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #2c3e50;
}

.newsletter p {
    color: rgba(54, 71, 88, 0.9);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(54, 71, 88, 0.3);
    border-radius: 50px;
    color: #2c3e50;
    font-size: 16px;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(54, 71, 88, 0.5);
}

.newsletter-form input::placeholder {
    color: rgba(54, 71, 88, 0.9);
}

.newsletter-form button {
    background: #2c3e50;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}






/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 5%;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #efefef;
    font-weight: bold;
}

.footer-section p {
    line-height: 1.6;
    opacity: 0.9;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    opacity: 0.8;
}

.footer-section a i{
    font-size: 1.5rem;
    color: #fff;
    margin: 5px;
}

.footer-section a i:hover{
  
    color: #008DF9;
    
}


.up-a {
    bottom: 1rem;
    cursor: pointer;
    right: 1rem;
    background: #2c3e50;
    color: #fff;
    height: 40px;
    text-align: center;
    font-size: 30px;
    line-height: 35px;
    position: fixed;
    width: 40px;
    z-index: 99999;
    transition: all 800ms ease;
}

.up-a a {
    color: #fff;
}

.up-a span {
    font-size: 2rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .nosotros-content {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 3rem 5%;
    }

    .ctta-button {
        display: block;
        background: linear-gradient(45deg, #667eea, #764ba2);
        color: white;
        padding: 12px 24px;
        border: none;
        border-radius: 50px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
        display: inline-block;
    }
    
    .parallax-divider{
        height: 500px;
        display: grid;

    }
    
    .parallax-divider h2{
        font-size: 2rem;
    }
    
     .parallax-divider h3{
        font-size: 2rem;
    }
    .parallax-divider h4{
        display: none;
    }
    .newsletter-form {

        display: grid;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

