/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, p {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    line-height: 1.5;
}

/* Botones Globales */
.btn {
    background-color: #FF8C00; /* Naranja oscuro */
    color: white; /* Texto blanco */
    font-size: 1rem;
    font-weight: 600;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: #FFD700; /* Cambio a dorado claro */
    color: #1a1a1a; /* Texto oscuro */
    transform: scale(1.05); /* Efecto de escala */
}

/* Iconos Globales */
i {
    color: #FF8C00; /* Naranja oscuro */
    transition: color 0.3s ease, transform 0.2s ease;
}

i:hover {
    color: #FFD700; /* Cambio a dorado claro */
    transform: scale(1.1); /* Efecto de escala */
}

/* Import Lobster Font */
@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');

/* Navbar */
.custom-navbar {
    background-color: #1a1a1a; /* Fondo oscuro */
    padding: 15px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra sutil */
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: #FF8C00; /* Naranja oscuro */
    transition: color 0.3s ease;
}

.navbar-brand .text-accent {
    color: #FFD700; /* Dorado claro */
}

.navbar-brand:hover {
    color: #FFD700; /* Cambio a dorado claro */
}

.nav-link {
    color: white; /* Texto blanco */
    font-size: 1rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #FFD700; /* Cambio a dorado claro */
}

/* Language Selector */
.language-selector {
    display: flex;
    gap: 10px;
}

.lang-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.lang-btn img {
    width: 30px;
    height: 20px;
    border-radius: 4px;
}

.lang-btn.active img {
    box-shadow: 0 0 8px #FFD700; /* Resaltar idioma activo */
}

.lang-btn:hover img {
    transform: scale(1.1);
}


/* Hero Section */
.hero {
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(120deg, #FFD700, #FF8C00);
    color: white;
    position: relative;
}

.hero h1 {
    font-size: 7rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Estilo para el logo */
.logo-header {
    max-width: 600px; /* Incrementa el tamaño del logo */
    height: auto;
    margin: 0 auto;
    display: block;
}

/* Estilo para el texto cambiante */
.hero .slogan {
    margin-top: -10px; /* Ajusta este valor para acercarlo al logo */
    font-size: 3rem; /* Aumenta el tamaño del texto */
    font-weight: bold; /* Hace que el texto sea más prominente */
    line-height: 1.2; /* Ajusta la separación entre las líneas */
}


.slogan {
    font-size: 3rem;
    font-weight: 400;
    color: white;
    display: inline-block;
}

.changing-words {
    position: relative;
    display: inline-block;
    font-family: 'Lobster', cursive; /* Nueva fuente */
    font-weight: 700;
    color: white;
    transition: all 0.3s ease-in-out;
}

/* Scroll Icon */
.scroll-icon {
    position: absolute;
    bottom: 140px; /* Más arriba */
    left: 50%;
    transform: translateX(-50%);
}

.scroll-icon .circle {
    background: white;
    color: #FF8C00;
    width: 60px; /* Más grande */
    height: 60px; /* Más grande */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: none;
}

.scroll-icon .circle:hover {
    transform: scale(1.1);
    background: #FFD700;
    color: #1a1a1a;
}

.scroll-icon .circle i {
    font-size: 1.8rem; /* Tamaño de la flecha */
}

.scroll-icon .scroll-link {
    text-decoration: none;
    outline: none;
    border: none;
}

.scroll-icon .scroll-link:focus,
.scroll-icon .scroll-link:active {
    outline: none;
}

/* Cambios Suaves en Palabras */
@keyframes fade-in-out {
    0%, 25% {
        opacity: 0;
        transform: translateY(10px);
    }
    50%, 75% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-10px);
    }
}


/* About Us Section */
.about-us {
    background-color: #1a1a1a;
    color: white;
    padding: 240px 20px;
    text-align: center;
}

.about-us h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #FF8C00; /* Naranja oscuro */
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.about-us i {
    color: #FF8C00;
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.about-us p {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.8;
    color: #ddd;
    max-width: 300px;
    margin: 0 auto;
}

/* Services Section */
.services {
    background-color: #111;
    color: white;
    padding: 240px 20px;
    text-align: center;
}

.services h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.services i {
    color: #FF8C00; /* Naranja oscuro */
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.services h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 10px;
}

.services p {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.8;
    color: white;
    max-width: 300px;
    margin: 0 auto;
}

/* Contact Section */
.contact {
    background-color: #1a1a1a; /* Fondo oscuro */
    color: white;
    padding: 120px 20px;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem; /* Título */
    font-weight: 600;
    color: #FF8C00; /* Naranja oscuro */
    margin-bottom: 20px;
}

.contact p {
    font-size: 1.2rem;
    color: #ddd;
    margin-bottom: 40px;
}

/* Inputs del Formulario */
.underline-input {
    background: transparent;
    border: none;
    border-bottom: 2px solid #555; /* Línea gris */
    color: white; /* Texto blanco */
    font-size: 1.1rem;
    padding: 10px 0;
    width: 100%;
    transition: border-color 0.3s ease;
}

.underline-input:focus {
    border-bottom: 2px solid #FF8C00; /* Línea naranja oscuro */
    outline: none;
}

/* Footer */
.footer {
    background-color: #FF8C00; /* Naranja oscuro */
    color: white;
    padding: 80px 20px;
}

.footer h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer p, .footer li {
    color: white;
    font-size: 1rem;
    line-height: 1.8;
}

.footer li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer li a:hover {
    color: #FFD700;
}

.newsletter-form .form-control {
    background-color: transparent;
    color: white;
    border: none;
    border-bottom: 2px solid white;
    border-radius: 0;
    transition: border-color 0.3s ease;
}

.newsletter-form .form-control:focus {
    border-bottom: 2px solid #FF8C00;
    outline: none;
}

/* General adjustments for smaller screens */
@media (max-width: 768px) {
    /* Logo adjustments */
    .logo-header {
        max-width: 250px; /* Reduce the size of the logo */
    }

    /* Slogan (changing words) */
    .hero .slogan {
        font-size: 2rem; /* Reduce text size for smaller screens */
        margin-top: 10px; /* Adjust spacing */
    }

    /* Scroll Icon */
    .scroll-icon .circle {
        width: 50px;
        height: 50px;
    }

    .scroll-icon i {
        font-size: 1.2rem;
    }

    /* Navbar adjustments */
    .navbar-brand {
        font-size: 1.5rem; /* Reduce the size of the brand text */
    }

    .navbar-nav .nav-link {
        font-size: 1rem; /* Reduce the size of the nav links */
    }

    /* Section titles */
    h2.display-5 {
        font-size: 1.8rem; /* Smaller titles for sections */
    }

    /* Services Section */
    #services .col-md-4 {
        flex: 0 0 100%; /* Make services stack vertically */
        max-width: 100%;
    }

    #services .col-md-4 + .col-md-4 {
        margin-top: 20px; /* Add spacing between services */
    }

    /* Footer adjustments */
    .footer {
        text-align: center;
    }

    .footer .col-md-6 {
        margin-bottom: 20px; /* Add spacing between newsletter and contact */
    }
}

/* Very small screens (phones) */
@media (max-width: 480px) {
    .hero {
        padding: 40px 10px;
    }

    .hero .logo-header {
        max-width: 200px; /* Logo aún más pequeño para pantallas pequeñas */
    }

    .hero .slogan {
        font-size: 1.8rem; /* Tamaño más pequeño del texto */
    }

    .scroll-icon .circle {
        width: 35px;
        height: 35px;
    }

    .scroll-icon i {
        font-size: 1rem;
    }
}

/* Logo en el Navbar */
.logo-navbar {
    max-width: 120px; /* Tamaño del logo en el navbar */
    height: auto;
    display: block;
}

/* Ajustes para el navbar en pantallas pequeñas */
@media (max-width: 768px) {
    .logo-navbar {
        max-width: 100px; /* Logo más pequeño en dispositivos móviles */
    }
}
