/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: #fff;
    color: #333;
    line-height: 1.6;
}

/* Contenedor general */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Header */
.header {
    background: #ffffff;
    border-bottom: 1px solid #eaeaea;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .3);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 1.2rem;
}

.header__nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.header__nav a:hover {
    color: #007BFF;
}


/* Hero */
.hero {
    padding: 4rem 0;
    background: #f9f9f9;
    background-image: linear-gradient(rgba(90, 100, 247, 0.349), rgba(72, 69, 245, 0.349)), url(./img/BackgroundHeroGray.jpg); 
    background-position: center;
    background-size: cover;
    
}
.hero-background-image{
    animation: kenburns 20s infinite;animation: kenburns 20s infinite;
}

.hero__container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.hero__left {
    flex: 1;
}

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

.hero__left p {
    margin-bottom: 1.5rem;
}

.cta-btn {
    background-color: #007BFF;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    
}

.cta-btn:hover {
    background-color: #0056b3;
}

.hero__right img {
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
}

.header__logo a{

    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Services */
.services {
    padding: 3rem 0;
    background: #ffffff;
    
}

.services h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.service-card {
    background: #f1f1f1;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.service-card__icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Industries */
.industries {
    padding: 3rem 0;
    background: #f9f9f9;
    background-image: linear-gradient(rgba(90, 100, 247, 0.349), rgba(72, 69, 245, 0.349)), url(./img/BackgroundHeroGray.jpg); 
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.industries h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.industries__grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.industry {
    text-align: center;
}

.industry img {
    width: 100%;
    max-width: 300px;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    height: auto;
}

/* Partners */
.partners {
    padding: 3rem 0;
}

.partners h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.partners__logos {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    align-items: center;
    justify-items: center;
}

.partner img {
    max-height: 60px;
    max-width: 100px;
}

/* Cases */
.cases {
    padding: 3rem 0;
    background: #ffffff;
    background-image: linear-gradient(rgba(90, 100, 247, 0.349), rgba(72, 69, 245, 0.349)), url(./img/BackgroundHeroGray.jpg); 
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.cases h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.cases__list {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.case {
    background: #f1f1f1;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.case:hover {
    transform: scale(1.02);
}

.case img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.case div {
    padding: 1rem;
}

/* Team */
.team {
    padding: 3rem 0;
    background: #f9f9f9;
    text-align: center;
}

.team h2 {
    margin-bottom: 1rem;
}

.team__grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.team__person {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.team__person img {
    width: 100%;
    max-width: 200px;
    border-radius: 2%;
    margin-bottom: 1rem;
}

/* Contact */
.contact {
    padding: 3rem 0;
    background: #ffffff;
    text-align: center;
    background-image: linear-gradient(rgba(90, 100, 247, 0.349), rgba(72, 69, 245, 0.349)), url(./img/BackgroundHeroGray.jpg); 
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.contactV {
    padding: 3rem 0;
    background: #ffffff;
    text-align: center;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.contact h2 {
    margin-bottom: 2rem;
}
.contactV h2 {
    margin-bottom: 2rem;
}

.contact form {
    max-width: 600px;
    margin: auto;
    display: grid;
    gap: 1rem;
}
.contactV form {
    max-width: 600px;
    margin: auto;
    display: grid;
    gap: 1rem;
}

.contact input,
.contact textarea {
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    width: 100%;
}
.contactV input,
.contactV textarea {
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    width: 100%;
}

.contact textarea {
    resize: vertical;
    min-height: 120px;
}
.contactV textarea {
    resize: vertical;
    min-height: 120px;
}

.contact button {
    background-color: #007BFF;
    color: white;
    padding: 0.75rem;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.contactV button {
    background-color: #007BFF;
    color: white;
    padding: 0.75rem;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact button:hover {
    background-color: #0056b3;
}
.contactV button:hover {
    background-color: #0056b3;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .header__container {
        flex-direction: column;
        align-items: flex-start;
    }

    .header__nav {
        margin-top: 1rem;
    }

    .hero__container {
        flex-direction: column;
    }

    .hero__right img {
        max-width: 100%;
    }
}

