/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    position: relative;
}

/* Bordes laterales - Modificado */
body::before,
body::after {
    content: '';
    position: fixed;
    top: 0;
    bottom: 0;
    width: 25px; /* Aumentado de 20px a 25px */
    z-index: 1001;
}

body::before {
    left: 0;
    background-color: #091231;
}

body::after {
    right: 0;
    background-color: #660000;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.back-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Barra de navegación fija */
.menu {
    position: fixed;
    top: 0;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: rgba(9, 18, 49, 0.9);
    z-index: 1000;
    height: 70px;
}

/* Estilos para el logo - Aumentado */
.logo img {
    height: 100px !important;
    width: auto;
    transition: transform 0.3s ease;
    vertical-align: middle;
}

.logo img:hover {
    transform: scale(1.05);
}

/* Menú de navegación */
.navbar {
    display: flex;
    align-items: center;
}

.navbar ul {
    display: flex;
    gap: 20px;
}

.navbar ul li a {
    color: #fff;
    font-weight: bold;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    padding: 5px 10px;
}

.navbar ul li a:hover {
    color: #FFD700;
}

/* Ícono de menú hamburguesa */
.menu-icono {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    margin-left: auto;
    margin-right: 20px;
}

.menu-icono img {
    width: 100%;
    height: auto;
}

/* Botón de traducción */
.translate-btn {
    background-color: #660000;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-left: 20px;
}

.translate-btn:hover {
    background-color: #FFD700;
}

/* Contenido del header */
.header-content {
    position: relative;
    z-index: 2;
    margin-top: 30px;
}

/* Efecto máquina de escribir */
.typewriter {
    font-size: 3rem;
    margin-bottom: 20px;
    overflow: hidden;
    border-right: .12em solid #FFD700;
    white-space: nowrap;
    letter-spacing: .15em;
    animation: 
        typing 4s steps(11, end) infinite,
        blink-caret 0.75s step-end infinite;
    width: 0;
    display: inline-block;
}

@keyframes typing {
    0% { width: 0 }
    50% { width: 100% }
    80% { width: 100% }
    100% { width: 0 }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #FFD700 }
}

/* Texto intermitente dorado */
.gold-flashing {
    font-size: 1.5rem;
    margin-bottom: 20px;
    animation: flashing 2s infinite;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

@keyframes flashing {
    0% { color: #FFD700; }
    50% { color: #fff; }
    100% { color: #FFD700; }
}

/* Sección About Us - Versión optimizada para responsive */
.about-content {
    max-width: 1200px; 
    margin: 0 auto;
    padding: 0 15px;
    display: flex; 
    flex-direction: column; 
    gap: 30px; 
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    border: 2px solid #091231;
    position: relative;
    overflow: hidden;
}

/* Estilos para cada bloque de contenido (texto + imagen) */
.about-block {
    display: flex; 
    flex-direction: column; 
    gap: 20px; 
    align-items: center; 
    padding: 20px; 
    border-bottom: 1px solid #eee; 
}


.about-block:last-child {
    border-bottom: none;
}


/* Estilos para el contenido de texto dentro del bloque */
.about-text-content {
    flex: 1; 
    
}

/* Estilos para el contenedor de imagen dentro del bloque */
.about-image-container {
    flex: 1; 
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 100%; 
    height: auto;
}

.about-image-container img {
    width: 100%;
    height: auto;
    display: block;
    border: none; 
}

.about-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}


/* === Media Query para pantallas más grandes (side-by-side layout) === */
@media (min-width: 768px) {
    .about-block {
        flex-direction: row; 
        gap: 40px; 
        align-items: flex-start; 
    }

    
    .about-block:nth-child(even) {
        flex-direction: row-reverse; 
    }

    .about-text-content,
    .about-image-container {
        flex-basis: 0; 
        flex-grow: 1; 
    }

    
    .about-text-content h2 {
        font-size: 2.4rem; 
    }

    .about-text-content h3 {
        font-size: 1.8rem; 
    }

    .about-text-content h4 {
        font-size: 1.5rem; 
    }
}

/* === Media Query para pantallas aún más grandes === */
@media (min-width: 992px) {
    .about-block {
        gap: 60px; 
    }

    .about-text-content h2 {
        font-size: 2.8rem; 
    }

    .about-text-content h3 {
        font-size: 2rem; 
    }
}


.about-text-content h2 {
    font-size: 2rem; 
    color: #660000;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
    position: relative;
    padding-bottom: 10px;
    word-wrap: break-word;
}

.about-text-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #091231;
}

.about-text-content h3 {
    font-size: 1.6rem; 
    color: #660000;
    margin: 20px 0 10px;
    font-weight: 600;
    padding-left: 10px;
    border-left: 3px solid #091231;
    word-wrap: break-word;
}

.about-text-content h4 {
     font-size: 1.3rem; 
    color: #660000;
    margin: 15px 0 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    word-wrap: break-word;
}

.about-text-content p {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #444;
    line-height: 1.6;
    word-wrap: break-word;
}

/* Sección Our Services */
.services {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.services .back-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.service-item {
    background-color: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 30px;
    border-radius: 15px;
    max-height: 90vh;
    overflow-y: auto;
}

.service-item h3 {
    font-size: 2.3rem;
    color: #FFD700;
    margin-bottom: 25px;
}

.service-item h4 {
    font-size: 1.8rem;
    color: #FFD700;
    margin: 25px 0 15px;
}

.service-item ul {
    columns: 2;
    column-gap: 50px;
    margin-bottom: 30px;
}

.service-item li {
    font-size: 1.1rem;
    margin-bottom: 12px;
    padding-left: 1.5rem;
    position: relative;
}

.service-item li::before {
    content: "•";
    color: #FFD700;
    position: absolute;
    left: 0;
}

.contact-note {
    font-weight: bold;
    color: #FFD700;
    text-align: center;
    margin-top: 30px;
    font-size: 1.2rem;
    padding: 15px;
    border: 1px solid #FFD700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-note:hover {
    background-color: #66000015;
    transform: scale(1.02);
    box-shadow: 0 2px 10px rgba(102, 0, 0, 0.2);
}

.contact-note:active {
    transform: scale(0.98);
}

/* Sección Books - Modificada para imágenes completas */
.books {
    padding: 80px 0;
    background-color: #fff;
    color: #333;
}

.book-item {
    text-align: center;
}

.book-item h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #091231;
}

.book-item h3 {
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #660000;
}

.book-item p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.book-card {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 950px; /* Altura mínima para uniformidad */
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.book-card img {
    width: 100%;
    height: 250px; /* Altura aumentada */
    object-fit: contain; /* Cambiado a contain para ver imagen completa */
    margin-bottom: 15px;
    border-radius: 10px;
    background: #f0f0f0; /* Fondo para imágenes con transparencia */
    padding: 10px;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.book-card h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #091231;
}

.book-card h5 {
    font-size: 1.2rem;
    margin-top: 15px;
    margin-bottom: 10px;
    color: #660000;
}

.book-card ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.book-card ul li {
    font-size: 1rem;
    margin-bottom: 10px;
}

/* Sección Business Strategy Partners */
.partners {
    padding: 80px 0;
    background-color: #f9f9f9;
    color: #333;
}

.partner-item {
    text-align: center;
}

.partner-item h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #FFD700;
}

.partner-item p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* =============== NUEVOS ESTILOS QR ACTUALIZADOS =============== */
.footer-banner {
    text-align: center;
    margin: 70px 0;
    padding: 25px 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px; /* Reducido de 50px a 20px para ahorrar espacio */
    margin: 40px auto;
    flex-wrap: wrap;
    max-width: 1200px;
    padding: 0 20px;
}

.social-icon {
    width: 190px; /* Reducido de 300px a 150px  */
    height: 190px; /* Reducido de 300px a 150px */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid #660000;
    border-radius: 15px;
    padding: 7px;
    background: white;
    box-shadow: 0 8px 20px rgba(102, 0, 0, 0.15);
}

/* Opcional: Ajuste para pantallas pequeñas */
@media (max-width: 768px) {
    .social-links {
        gap: 15px; /* Menor espacio en móviles */
    }
    .social-icon {
        width: 120px; /* Tamaño más pequeño para móviles */
        height: 120px;
    }
}

/* Copyright modificado */
.copyright {
    text-align: center;
    width: 100%;
    margin: 0 auto;
    padding: 10px 0;
}

/* =============== RESPONSIVE =============== */
@media (max-width: 768px) {
    /* Menú Hamburguesa */
    .menu {
        left: 0;
        right: 0;
        padding: 10px 15px;
        height: 65px;
        justify-content: flex-start;
        gap: 20px;
    }

    .logo img {
        height: 100px !important;
        margin-left: 0;
        order: 1;
    }

    .menu-icono {
        display: block;
        order: 2;
        margin: 0;
        width: 30px;
        height: 30px;
        z-index: 1001;
    }

    .translate-btn {
        order: 3;
        margin: 0;
        margin-left: auto;
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .navbar {
        position: fixed;
        top: 65px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 65px);
        background: rgba(9, 18, 49, 0.98);
        flex-direction: column;
        transition: left 0.3s ease;
        padding: 25px 0;
    }

    .navbar.active {
        left: 0;
    }

    .navbar ul {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .navbar ul li a {
        font-size: 1.2rem;
        padding: 10px;
        display: block;
    }

    /* QR Responsive */
    .social-links {
        gap: 40px;
        margin: 30px auto;
    }
    
    .social-icon {
        width: 300px;
        height: 300px;
        border-width: 2.5px;
    }
    
    .footer-banner {
        margin: 50px 0;
    }

    /* Contact Us */
    .profile-card {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-frame img {
        width: 100%;
        max-width: 350px;
    }

    /* Books Responsive */
    .book-card {
        min-height: auto;
    }
    
    .book-card img {
        height: 220px;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    /* Ajustes generales */
    .header-txt h1 {
        font-size: 2rem;
    }

    .typewriter {
        font-size: 1.8rem;
        letter-spacing: 2px;
        white-space: normal;
    }

    .gold-flashing {
        font-size: 1rem;
        line-height: 1.4;
    }

    /* Menú */
    .menu {
        height: 60px;
        padding: 8px 10px;
        gap: 15px;
    }
    
    .logo img {
        height: 65px !important;
    }
    
    .translate-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    /* QR Responsive */
    .social-links {
        gap: 30px;
    }
    
    .social-icon {
        width: 80px;
        height: 80px;
        padding: 5px;
    }
    
    .footer-banner {
        margin: 40px 0;
        padding: 20px 15px;
    }

    /* Services */
    .service-item {
        padding: 15px;
    }

    .service-item li {
        font-size: 1rem;
    }

    /* Books Responsive */
    .book-card img {
        height: 200px;
        padding: 5px;
    }
}

@media (max-width: 380px) {
    .social-icon {
        width: 70px;
        height: 70px;
    }
}

/* ===== ESTILOS BOTONES AMAZON ===== */
.amazon-btn {
    display: block;
    width: 190px;
    margin: 25px auto 15px;
    transition: all 0.3s ease;
}

.amazon-btn img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.amazon-btn:hover {
    transform: scale(1.05);
    opacity: 0.9;
    box-shadow: 0 5px 15px rgba(0,0,0,0.25);
}

/* Responsive */
@media (max-width: 768px) {
    .amazon-btn {
        width: 170px;
        margin: 20px auto 10px;
    }
}

@media (max-width: 480px) {
    .amazon-btn {
        width: 150px;
    }
}
/* Certificaciones */
.certifications {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 25px;
    padding: 15px 0;
    border-top: 2px solid #66000040;
}

.certifications img {
    width: 250px;
    height: 250px;
    object-fit: contain;
    border-radius: 10px;
    padding: 5px;
    background: white;
    transition: all 0.3s ease;
}

.certifications img:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(102, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
    .certifications {
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .certifications img {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .certifications img {
        width: 150px;
        height: 100px;
    }
}

/* Estilos para Business Strategy Partners */
.partner-item {
    text-align: center;
    padding: 40px 20px;
    background: rgba(249, 249, 249, 0.9);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.partner-item h3 {
    font-size: 2.3rem;
    color: #091231;
    margin-bottom: 25px;
}

.subtitle {
    font-size: 1.8rem;
    color: #660000;
    margin: 40px 0 20px;
    padding-top: 30px;
    border-top: 2px solid #66000030;
}

.partner-description {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #444;
}

/* Logos - Tamaño único y responsive */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin: 40px auto;
    padding: 20px;
    max-width: 1200px;
}

.partner-logo {
    background: white;
    width: 100%;
    max-width: 220px;
    height: 220px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.partner-logo img {
    width: 200%;
    height: auto;
    max-height: 180px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

/* Responsive Mobile First - Modificado */
@media (max-width: 1200px) {
    .partners-grid {
        gap: 30px;
        padding: 0 15px;
    }
}

@media (max-width: 992px) {
    .partner-logo {
        max-width: 200px;
        height: 200px;
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
        padding: 0 10px;
    }
    
    .partner-logo {
        max-width: 160px;
        height: 160px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .partners-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        gap: 25px;
        padding: 0 20px;
    }
    
    .partner-logo {
        max-width: 180px;
        height: 180px;
        margin: 0 auto;
    }
}

@media (max-width: 380px) {
    .partners-grid {
        padding: 0 15px;
        gap: 20px;
    }
    
    .partner-logo {
        max-width: 140px;
        height: 140px;
        padding: 10px;
    }
}

/* Responsive Mobile First */
@media (max-width: 1200px) {
    .partners-grid {
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .partner-logo {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .partner-item h3 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.5rem;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .partner-logo {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 576px) {
    .partners-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 40px auto;
    }
    
    .partner-logo {
        width: 220px; /* Mantiene tamaño grande en móvil */
        height: 220px;
    }
}

@media (max-width: 380px) {
    .partner-logo {
        width: 200px;
        height: 200px;
    }
}
/* Estilos para el banner de las manos*/
.partner-banner {
    margin: 40px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.responsive-banner {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 15px;
}

.responsive-banner:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .partner-banner {
        margin: 30px -20px;
        border-radius: 0;
    }
    
    .responsive-banner {
        border-radius: 0;
        max-height: 300px;
    }
}

@media (max-width: 480px) {
    .partner-banner {
        margin: 25px -15px;
    }
    
    .responsive-banner {
        max-height: 250px;
    }
}
/* Ajustes para el video en Books */
.books {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.books .back-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.7;
    filter: brightness(0.8);
}

.book-item {
    position: relative;
    z-index: 1;
    background: rgba(9, 18, 49, 0.85);
    padding: 40px;
    border-radius: 15px;
    margin: 20px;
    width: 90%;
    max-width: 1400px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Mejoras de contraste */
.book-item h2,
.book-item h3,
.book-item h4,
.book-item h5,
.book-item p,
.book-item li {
    color: #fff !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.book-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
}
/* Ajustes para igualar con Our Services */
.books {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.books .back-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.9;
    filter: brightness(0.7) contrast(1.2);
}

.book-item {
    position: relative;
    z-index: 2;
    background: rgba(9, 18, 49, 0.88);
    padding: 40px;
    margin: 20px auto;
    width: 90%;
    max-width: 1400px;
    border-radius: 15px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.4);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
}

/* Texto igual que Our Services */
.book-item h2 {
    font-size: 2.8rem;
    color: #FFD700 !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 30px;
}

.book-item h3 {
    font-size: 2rem;
    color: #FFD700 !important;
    margin: 30px 0 20px;
    border-bottom: 2px solid #660000;
    padding-bottom: 10px;
}
/* Estilos para el contenedor del banner de socios */
.partners .partner-item .partner-banner {
    overflow: hidden; /* Para que el carrusel no se desborde */
    margin-bottom: 20px; /* Espacio debajo del banner */
}

/* Estilos para la imagen estática dentro del banner */
.partners .partner-item .partner-banner img.responsive-banner {
    display: block; /* Asegura que la imagen ocupe todo el ancho disponible */
    max-width: 100%;
    height: auto;
    margin-bottom: 15px; /* Espacio entre la imagen y el carrusel */
}
/* Estilos para el banner del carrusel de socios (aspecto profesional) */
.partners .partner-item .partner-banner {
    position: relative; /* Para posicionar los botones absolute dentro */
    width: 100%;
    overflow: hidden; /* Oculta los slides que están fuera del contenedor */
    background-color: #f8f8f8; 
    padding: 20px 0; 
    margin-top: 20px; 
    border-radius: 8px; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
}

.partners .partner-item .partner-banner .carousel-container {
    position: relative;
    width: 90%; 
    max-width: 1200px; 
    margin: 0 auto; 
    overflow: hidden; 
    background-color: transparent;
    padding: 0; 
}

.partners .partner-item .partner-banner .carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.partners .partner-item .partner-banner .carousel-slide {
    flex: 0 0 auto;
    width: auto; 
    margin: 0 20px; 
    display: flex;
    align-items: center; 
    justify-content: center; 
}

.partners .partner-item .partner-banner .carousel-slide img {
    max-width: 150px; 
    height: auto;
    display: block; 
    opacity: 0.8; 
    transition: opacity 0.3s ease-in-out;
}

.partners .partner-item .partner-banner .carousel-slide img:hover {
    opacity: 1; 
}

.partners .partner-item .partner-banner .carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7); 
    font-size: 1.2em; 
    cursor: pointer;
    color: #333; 
    padding: 10px 15px;
    border-radius: 5px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.partners .partner-item .partner-banner .carousel-button:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.9);
}

.partners .partner-item .partner-banner .prev-button {
    left: 20px;
}

.partners .partner-item .partner-banner .next-button {
    right: 20px;
}

/* Estilos responsive para el banner del carrusel */
@media (max-width: 768px) {
    .partners .partner-item .partner-banner {
        padding: 15px 0;
        margin-top: 15px;
    }

    .partners .partner-item .partner-banner .carousel-slide {
        margin: 0 10px;
    }

    .partners .partner-item .partner-banner .carousel-slide img {
        max-width:200px;
    }

    .partners .partner-item .partner-banner .carousel-button {
        font-size: 1em;
        padding: 8px 12px;
    }

    .partners .partner-item .partner-banner .prev-button {
        left: 10px;
    }

    .partners .partner-item .partner-banner .next-button {
        right: 10px;
    }
}
/* ===== ABOUT US RESPONSIVE ===== */
@media (max-width: 992px) {
    .about-content {
      grid-template-columns: 1fr;
      gap: 30px;
      padding: 30px;
    }
    
    .about-images {
      position: static;
      order: -1;
      margin-bottom: 40px;
    }
    
    .about-text h1 {
      font-size: 2.2rem;
      text-align: center;
    }
    
    .about-text h1::after {
      left: 50%;
      transform: translateX(-50%);
    }
    
    .about-text h2 {
      font-size: 1.8rem;
    }
  }
  
  @media (max-width: 768px) {
    .about-us {
      padding: 60px 0;
    }
    
    .about-content {
      padding: 25px;
    }
    
    .about-text h1 {
      font-size: 1.8rem;
      padding-bottom: 10px;
    }
    
    .about-text h2 {
      font-size: 1.5rem;
      margin: 20px 0 10px;
    }
    
    .about-text h3 {
      font-size: 1.3rem;
      margin: 20px 0 10px;
    }
    
    .about-features {
      padding: 20px;
      margin: 20px 0;
    }
    
    .about-feature {
      flex-direction: column;
      padding: 15px;
    }
    
    .about-feature .feature-icon {
      margin-bottom: 10px;
      margin-right: 0;
    }
    
    .about-image-container {
      border-width: 2px;
    }
  }
  
  @media (max-width: 480px) {
    .about-us {
      padding: 40px 0;
    }
    
    .about-content {
      padding: 20px;
      border-width: 1px;
    }
    
    .about-text h1 {
      font-size: 1.6rem;
    }
    
    .about-text h2 {
      font-size: 1.3rem;
      border-left-width: 3px;
      padding-left: 10px;
    }
    
    .about-text p {
      font-size: 1rem;
    }
    
    .about-features {
      padding: 15px;
    }
    
    .about-image-container {
      border-width: 1px;
    }
  }
/* Estilos para el contenedor de perfiles */
.profiles-row {
    display: grid; 
    grid-template-columns: 1fr;
    gap: 30px; 
    margin: 40px auto; 
    max-width: 900px; 
    padding: 0 15px; 
}

/* Tarjetas de perfil */
.profile-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px; 
    text-align: center; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column; 
    align-items: center;
}

/* Marco de imagen */
.profile-frame {
    max-width: 200px; 
    width: 100%; 
    height: auto; 
    margin-bottom: 15px; 
    border: 4px solid #660000; 
    padding: 5px; 
    background-color: white; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
    flex-shrink: 0;
}

.profile-frame img {
    display: block;
    width: 100%; 
    height: auto; 
}

/* Detalles del perfil */
.profile-details {
    flex-grow: 1;
    text-align: center; 
    padding: 0 10px;
}

.profile-details h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
    font-size: 1.2rem;
    line-height: 1.3;
}

.profile-details p {
    margin: 5px 0;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Media Query - tablets */
@media (min-width: 768px) { 
    .profiles-row {
        grid-template-columns: 1fr 1fr; 
        gap: 40px; 
    }

    .profile-card {
        padding: 25px; 
        width: 100%;
    }

    .profile-details {
        text-align: left; 
        padding: 0;
    }

    .profile-frame {
        margin-bottom: 15px; 
        margin-right: 0; 
    }
}

/* Media Query - pantallas grandes */
@media (min-width: 992px) {
    .profiles-row {
        gap: 60px; 
    }

    .profile-card {
         padding: 30px;
    }
}
.phone-numbers a {
    color: #091231 !important;
    font-weight: bold;
    text-decoration: none;
    display: inline !important;
    white-space: nowrap; /* Previene saltos de línea que puedan cortar el número */
}
/* Código CSS para hacer la imagen responsive */
.contact-image { /* Si le pones una clase a la imagen, usa esa clase */
    max-width: 100%; /* La imagen nunca será más ancha que su contenedor */
    height: auto;    /* La altura se ajusta automáticamente para mantener la proporción */
    display: block;  /* Ayuda a eliminar espacios extra debajo de la imagen y mejora el control del layout */
}

/* Si no quieres usar una clase y aplicar el estilo directamente a la etiqueta img, puedes usar esto: */
/*
img {
    max-width: 100%;
    height: auto;
    display: block;
}
*/