


.hero-section {
    position: relative;
    min-height: 100vh;
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('bg.png');
    background-size: cover;
    background-position: center;
    filter: brightness(0.7); /* Oscurece un poco la imagen */
}



.hero-overlay {
    position: relative;
    z-index: 2;
    padding-top: 50px;
}

.logo {
    width: 120px;
    margin-bottom: 30px;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
}

.hero-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.hero-phone {
    
    right: 10;
    bottom: 8;
    max-height: 90vh;
    z-index: 2;
}

@media (max-width: 991px) {
    .hero-section {
        min-height: auto;
        padding: 50px 0;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text h2 {
        font-size: 2rem;
    }

    .hero-phone {
        position: relative;
        max-height: 50vh;
        margin-top: 30px;
    }
}

/* ... (estilos anteriores) ... */

.credentials-header {
    background-color: #dc3545;
    padding: 25px 0;
    margin: 0;
}

.credentials-header p {
    color: white;
    text-align: center;
    font-size: 1.2rem;
    margin: 0;
    font-weight: 500;
}

.credential-card {
    
    border: 4px solid #dc3545;
    padding: 20px 10px;
    margin: 0px;
    text-align: center;
    height: 100%;
}

.credential-icon {
    width: 150px;
    margin-bottom: 15px;
}

.credential-card p {
    size: 10;
    margin: 0;
    font-weight: 500;
    line-height: 1.4;
}

.form-container {
    background-color: #1a1a1a;
    padding: 40px;
    color: white;
}

.form-title {
    font-weight: bold;
    font-size: 2.5rem;
    line-height: 1.2;
    color: white;
    margin: 0;
}




.form-title {
    font-weight: bold;
    font-size: 2.5rem;
    line-height: 1.2;
    color: #000;
    margin: 0;
    padding-top: 20px;
}

.text-red {
    color: #dc3545;
}

.form-container {
    background-color: #1a1a1a;
    padding: 40px;
}

.contact-form {
    width: 100%;
}

.form-control {
    border-radius: 0;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    background-color: white;
}

textarea.form-control {
    resize: none;
    height: 120px;
}

.btn-danger {
    background-color: #dc3545;
    border: none;
    padding: 15px;
    border-radius: 0;
    font-weight: bold;
    font-size: 1.1rem;
}

.btn-danger:hover {
    background-color: #c82333;
}

@media (max-width: 768px) {
    .form-title {
        margin-bottom: 30px;
        text-align: center;
    }
    
    .form-container {
        margin-top: 20px;
    }
}

.about-section {
    background-color: #1a1a1a;
    padding-bottom: 70px;
    position: relative;
}

.about-header {
    background-color: #dc3545;
    padding: 25px 0;
    margin-bottom: 50px;
}

.about-header h2 {
    color: white;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
    text-align: center;
}

.about-container {
    color: white;
    padding: 20px;
}

.logo-img {
    width: 140px;
    height: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 20px 0;
}

.highlight {
    color: #dc3545;
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #dc3545;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.highlight:hover::after {
    transform: scaleX(1);
}

.subtitle {
    font-size: 1.2rem;
    color: #ffffff;
    opacity: 0.9;
    margin-bottom: 40px;
}

.services-list {
    max-width: 800px;
    margin: 0 auto;
}

.service-item {
    border: 1px solid #dc3545;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    background-color: rgba(220, 53, 69, 0.05);
}

.service-item:hover {
    background-color: #dc3545;
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

.icon {
    margin-right: 15px;
    font-size: 1.5rem;
    color: #dc3545;
    transition: all 0.3s ease;
}

.service-item:hover .icon {
    color: white;
}

.service-item span {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .about-header h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 2rem;
    }

    .service-item {
        padding: 15px;
    }

    .service-item:hover {
        transform: translateX(5px);
    }
}

.gallery-section {
    background-color: #ffffff;
    padding-bottom: 70px;
}

.gallery-header {
    background-color: #dc3545;
    padding: 25px 0;
    margin-bottom: 50px;
}

.gallery-header h2 {
    color: white;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
    text-align: center;
}

.gallery-container {
    padding: 0 15px;
}

.gallery-item {
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
    
}

.gallery-item img {
    width:800px;
    height: 300px; 
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-header h2 {
        font-size: 1.8rem;
    }

    .gallery-item {
        margin-bottom: 20px;
    }

    .gallery-item img {
        height: 200px;
    }
}

/* Animación para cargar las imágenes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item {
    animation: fadeIn 0.6s ease forwards;
}

.specialties-section {
    background-color: #1a1a1a;
    padding-bottom: 70px;
}

.specialties-header {
    background-color: #dc3545;
    padding: 25px 0;
    margin-bottom: 50px;
}

.specialties-header h2 {
    color: white;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
    text-align: center;
}

.specialty-item {
    text-align: center;
    padding: 30px 20px;
    color: white;
    transition: transform 0.3s ease;
}

.specialty-item:hover {
    transform: translateY(-10px);
}

.specialty-icon {
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
    filter: invert(31%) sepia(98%) saturate(1946%) hue-rotate(333deg) brightness(91%) contrast(88%);
}

.specialty-item h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.specialty-item p {
    color: #ffffff;
    opacity: 0.9;
    line-height: 1.5;
    margin: 0;
}

/* Animación de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.specialty-item {
    animation: fadeInUp 0.6s ease forwards;
}

.specialty-item:nth-child(1) { animation-delay: 0.1s; }
.specialty-item:nth-child(2) { animation-delay: 0.2s; }
.specialty-item:nth-child(3) { animation-delay: 0.3s; }

/* Responsive */
@media (max-width: 768px) {
    .specialties-header h2 {
        font-size: 1.8rem;
    }

    .specialty-item {
        margin-bottom: 30px;
    }

    .specialty-item h3 {
        font-size: 1.3rem;
    }
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }

.btn-custom {
    background: #C82333;
    color: white;
    font-weight: bold;
    transition: all 0.3s;
}

a {
    color: #C82333;
    text-decoration: underline;
}

@media (min-width: 993px) {
    .square-image {
        display: none; /* Oculta la imagen en pantallas grandes */
    }
     .image-container {
        display: none; /* Oculta la imagen en pantallas grandes */
    }
}


@media (max-width: 992px) { /* Ajusta el tamaño según necesites */
    .hero-section {
        display: none; /* Oculta la sección completa */
    }

    .square-image {
        display: block; /* Muestra la nueva imagen */
        width: 100%;
        max-width: none; /* Tamaño cuadrado ajustable */
        height: auto;
    }
    .image-container {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }
}

.contact-highlight-box {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    border: 3px solid #ff0000;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.contact-highlight-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, #ff0000, #ff4444);
}

.contact-content {
    text-align: center;
}

.form-title {
    font-weight: 800;
    margin-bottom: 20px;
    font-size: 2.4em;
    line-height: 1.2;
    text-transform: uppercase;
}

.text-red {
    color: #ff0000;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.phone-container {
    background: linear-gradient(45deg, #ff0000, #cc0000);
    padding: 15px 25px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255,0,0,0.3);
}

.phone-link {
    text-decoration: none;
    display: inline-block;
}

.phone-number {
    color: #ffffff;
    font-size: 2.2em;
    font-weight: bold;
    letter-spacing: 1px;
    margin-left: 10px;
}

.phone-icon {
    color: #ffffff;
    font-size: 1.5em;
    margin-right: 10px;
}

.divider {
    height: 4px;
    background: linear-gradient(90deg, #ff0000, transparent);
    margin: 25px auto;
    width: 80%;
}

/* Efectos hover */
.phone-container:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(255,0,0,0.4);
    background: linear-gradient(45deg, #cc0000, #ff0000);
}

.contact-highlight-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

/* Animación de pulso para el teléfono */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.phone-container {
    animation: pulse 2s infinite;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .contact-highlight-box {
        margin-bottom: 30px;
        padding: 30px 20px;
    }
    
    .form-title {
        font-size: 2em;
    }
    
    .phone-number {
        font-size: 1.8em;
    }
}

        .job-section {
            margin-top: 20px;
        }

        .job-text {
            font-size: 1.2em;
            margin-bottom: 15px;
        }

        .job-button {
            display: inline-block;
            background: linear-gradient(45deg, #e62503, #cf2304);
            color: white;
            padding: 12px 25px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: bold;
            font-size: 1.1em;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
        }

        .job-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(255, 87, 34, 0.4);
            background: linear-gradient(45deg, #c21a04, #f10b0b);
        }
    
        .job-search-box {
            background-color: #4CAF50;
            padding: 20px;
            border-radius: 10px;
            margin-top: 20px;
            text-align: center;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
        
        .job-search-box p {
            color: white;
            font-size: 1.2em;
            font-weight: bold;
            margin-bottom: 10px;
            text-transform: uppercase;
        }
        
        .job-link {
            display: inline-block;
            background-color: white;
            color: #4CAF50;
            padding: 10px 20px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: bold;
            transition: all 0.3s ease;
        }
        
        .job-link:hover {
            background-color: #45a049;
            color: white;
            transform: scale(1.05);
        }

        .confirmation-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.7);
            z-index: 9999;
            align-items: center;
            justify-content: center;
        }
        
        .confirmation-content {
            background-color: white;
            padding: 30px;
            border-radius: 10px;
            max-width: 500px;
            width: 90%;
            text-align: center;
        }
        
        .confirmation-buttons {
            margin-top: 20px;
            display: flex;
            justify-content: center;
            gap: 15px;
        }
        
        .confirmation-btn {
            padding: 10px 25px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-weight: bold;
        }
        
        .confirmation-btn-yes {
            background-color: #dc3545;
            color: white;
        }
        
        .confirmation-btn-no {
            background-color: #6c757d;
            color: white;
        }