.services-hero {
    background-image: url('../img/servicios-hero.jpg');
    background-size: cover;
	background-attachment: fixed;
    background-position: top;
    padding: 80px 0;
    color: var(--light-color);
    position: relative;
}

.services-hero-content {
    position: relative;
    z-index: 1;
    padding: 40px 0;
}

.services-hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
}

/* Services Grid */
.services-grid-section {
    background-color: #f8f9fa;
}
.grid-benefit {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.service-card {
    position: relative;
    padding: 0;
    overflow: hidden;
    min-height: 280px;
    transition: all 0.3s ease;
    background-color: #ffffff; /* e67e22 Color naranjo exacto de la imagen de referencia */
}

.service-card:hover {
    transform: translateY(-5px);
    z-index: 2;
}

.service-content {
    padding: 80px 40px 40px;
    height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: white;
    @media(min-width:1024px){
        height: 360px;

    }
}

.img-contactanos{
		height: 30%;
		
		@media(min-width:1024px){
		
	}
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    color: #e67e22;
    margin-bottom: 5px;
}

.service-content p {
    font-size: 0.95rem;
    line-height: 1.2;
	@media(min-width:1024px){
    text-align: left;
		}

}

.service-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;

}

.service-list li {
    position: relative;
    padding-left: 15px;
    font-size: 0.9rem;
    color: var(--dark-color);
}

.service-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--dark-color);
}

.btn-contact {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    color: #e67e22;
    text-decoration: underline;
	font-weight: 600;
}

.btn-more {
    position: absolute;
    bottom: 60px;
    right: 40px;
    width: 26px;
    height: 26px;
    background-color: #003366;
    color: var(--light-color);
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    text-align: center;
    transition: all 0.3s ease;
    z-index: 3;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);

}

.btn-more:hover {
    transform: scale(1.1);
    background-color: #004080;
}

/* Fondo alternado para las tarjetas */
.service-card.bg-secondary {
    background-color: #777;
}

/* Popup Styles */
.service-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow-y: auto;
}

.popup-content {
    background-color: var(--light-color);
    width: 90%;
    padding: 30px;
    border-radius: 0px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
	padding: 4%;
	border-bottom: 10px solid #939393;
	border-top: 10px solid #939393;
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background-color: #003366;
    color: var(--light-color);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
}

.popup-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    margin-top: 40px;
}

.popup-icon {
    width: 50px;
    height: 50px;
    background-color: #e67e22;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.popup-icon i {
    font-size: 2rem;
    color: var(--light-color);
}

.popup-title {
    font-size: 20px;
    font-weight: 700;
    color: #e67e22;
    margin: 0;
    flex-grow: 1;
}

.popup-description {
    text-align: left;
}

.popup-description p {
    font-size: 16px;
    line-height: normal;
    color: #e67e22;
    font-weight: 600;
    margin-left: auto;
    @media(min-width:1024px){
        width: 300px;
        text-align: right;

    }
}
.popup-sections {
    margin-top: 30px;
}

.popup-section {
    margin-bottom: 30px;
}
.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #e67e22;
    margin-bottom: 20px;
    padding-bottom: 2px;
    border-bottom: 2px solid #e67e22;
    text-align: left;
}

.section-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.section-list li {
    position: relative;
    padding-left: 20px;
    font-size: 1rem;
}

.section-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #e67e22;
    font-weight: bold;
}

.benefit-item {
    margin-bottom: 25px;
}

.benefit-item h4 {
    font-size: 14px;
    font-weight: 700;
    color: #e67e22;
    margin-bottom: 10px;
}

.benefit-item p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #555;
}

.certifications {
    margin-top: 20px;
}

.certifications h4 {
    font-size: 14px;
    font-weight: 700;
    color: #e67e22;
    margin-bottom: 15px;
}

.cert-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.cert-logos img {
    height: 60px;
    max-width: 80px;
    object-fit: contain;
}

/* Show popup class */
.service-popup.show {
    display: flex;
}

/* Estilos para elementos destacados en popups */
.popup-destacado {
    background-color: transparent;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-style: italic;
    color: #e67e22;
}

.popup-destacado p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
    text-align: right;
}

/* Estilos para logos de frameworks */
.frameworks {
    margin-top: 30px;
}

.frameworks-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.frameworks-logos img {
    max-height: 50px;
    max-width: 150px;
    object-fit: contain;
}

/* Estilos para logo de partner */
.partner-logo {
    text-align: center;
    margin-top: 30px;
    padding: 15px;
}

.partner-logo img {
    max-width: 70%;
    height: auto;
}

/* Estilos para items adicionales */
.additional-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #e67e22;
    margin-bottom: 10px;
}

.additional-item p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #555;
}

.additional-item ul {
    padding-left: 20px;
    margin-top: 10px;
    list-style-type: circle;
}

.additional-item ul li {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 5px;
    color: #555;
}

/* Estilos para metodologías */
.metodologias-title {
    font-size: 1rem;
    font-weight: 700;
    color: #e67e22;
    margin-bottom: 20px;
    text-align: left;
}

.metodologias-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.metodologias-logos img {
    height: 45px;
    max-width: 120px;
    object-fit: contain;
}

/* Estilos para beneficios en formato simple (dos columnas) */
.benefit-item-simple {
    border-radius: 5px;
    height: 100%;
}

.benefit-item-simple h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #e67e22;
    margin-bottom: 10px;
}

.benefit-item-simple p {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #555;
    margin: 0;
}

/* Estilos para contenido en formato párrafo */
.popup-section p {
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: normal;
    color: #444;
}

/* Media Queries */
@media (max-width: 992px) {
    .services-hero-title {
        font-size: 1.8rem;
    }
    
    .service-card {
        min-height: 250px;
        margin-bottom: 0;
    }
    
    .service-content {
        padding: 30px;
    }
    
    .service-title {
        font-size: 1.2rem;
    }
    
    .popup-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .services-hero {
        padding: 60px 0;
		
    }
    
    .services-hero-title {
        font-size: 1.5rem;
    }
    
    .service-card {
        min-height: auto;
    }
    
    .popup-header {
        flex-direction: column;
        text-align: center;
    }
    
    .popup-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .popup-title {
        text-align: center;
    }
    
    .popup-description {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .popup-content {
        padding: 20px;
    }
    
    .service-content {
        padding: 20px;
    }
    
    .popup-sections .row {
        flex-direction: column;
    }
    
    .cert-logos {
        justify-content: center;
    }
} 