/* Estilos Generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #091638;
    --accent-color: #3451b2;
    --text-color: #ffffff;
    --highlight-color: #00d9ff;
    --gradient-start: rgba(9, 22, 56, 0.9);
    --gradient-end: rgba(19, 41, 107, 0.7);
    --all-transition: 0.5s ease;
    --opacity-transition: 0.3s ease;
}

/* Estilos del Body y Fondo */
body {
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background-color: #080f24;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    color: var(--text-color);
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0), rgba(22, 22, 65, 0.9));
    z-index: -1;
}

/* Estilos del Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    z-index: 100;
    color: white;
}

/* Estilos de la Navegación */
nav {
    display: flex;
    justify-content: center;
}

nav ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: #66c2ff;
}

/* Estilos para las Secciones Parallax */
.parallax-section {
    height: auto;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: rgb(255, 255, 255);
    text-align: center;
    padding: 20px;
}

/* SECCIÓN 1 - Título principal */
.section1 {
    height: auto;
    min-height: 40vh;
    padding: 0;
    position: relative;
    background-size: cover;
    background-position: center;
    margin-top: 60px;
}

.titulo-container {
    position: absolute;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 90%;
}

.titulo-izquierda {
    text-align: left;
    background: transparent;
    color: white;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.5), 0 0 15px rgba(255, 0, 255, 0.5), 0 0 20px rgba(255, 0, 255, 0.5);
}

.section1 .content {
    position: relative;
    z-index: 5;
    padding: 20px;
    margin-top: 100px;
}

/* Fondos para todas las secciones */
.section1, .section2, .section3, .section4, .section5 {
    background-image: url("../images/fondos/fondo8.webp");
    background-color: #091638;
}

/* SECCIÓN 2 - Misión y Visión */
#seccion2 {
    padding-top: 100px;
    height: auto;
    min-height: 100vh;
}

.mission-vision-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 1rem;
    max-width: 1400px;
    margin: 60px auto 0;
    width: 100%;
}

.section-card {
    display: flex;
    flex-direction: column;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    min-height: 350px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease-out forwards;
    margin-bottom: 30px;
}

.section-card:nth-child(2) {
    animation-delay: 0.3s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* SECCIÓN 2 - Contenedores de imágenes */
.image-container {
    flex: 1;
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(9, 22, 56, 0.4), rgba(9, 22, 56, 0.7));
    z-index: 1;
}

.section-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
    filter: brightness(0.9) contrast(1.1);
}

.section-card:hover .section-image {
    transform: scale(1.05);
}

/* SECCIÓN 2 - Contenedores de contenido */
.content-container {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.content-container h2 {
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.content-container h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--highlight-color);
    border-radius: 2px;
}

.content-container p {
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding-left: 1rem;
    border-left: 2px solid var(--highlight-color);
    margin-top: 1rem;
}

/* SECCIÓN 2 - Elementos decorativos */
.tech-circle {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 1px solid rgba(0, 217, 255, 0.3);
    top: -20px;
    right: -20px;
    z-index: 0;
}

.tech-circle::before {
    content: '';
    position: absolute;
    width: 70%;
    height: 70%;
    border-radius: 50%;
    border: 1px solid rgba(0, 217, 255, 0.5);
    top: 15%;
    left: 15%;
}

.tech-line {
    position: absolute;
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--highlight-color), transparent);
    animation: rotateLine 8s linear infinite;
}

@keyframes rotateLine {
    from { transform: rotate(0deg) translateX(40px); }
    to { transform: rotate(360deg) translateX(40px); }
}

/* SECCIÓN 3 - Valores */
#seccion3 {
    padding-top: 100px;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    z-index: 1;
    margin: 0 auto;
}

.title-main {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #fff;
    margin-top: 60px;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(252, 252, 252, 0.8);
    background: linear-gradient(90deg, #faf8fa, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.valores {
    color: white;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.valores h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 100, 255, 0.6);
}

.valores p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* SECCIÓN 3 - Grid de valores */
.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    perspective: 1000px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

/* SECCIÓN 3 - Tarjetas de valores con efecto flip */
.card-wrapper {
    height: 340px;
    perspective: 1000px;
    margin-bottom: 20px;
}

.valor-card {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(255, 254, 254, 0.201);
}

.card-wrapper:hover .valor-card {
    transform: rotateY(180deg);
}

.card-wrapper:active .valor-card {
    transform: rotateY(180deg);
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* SECCIÓN 3 - Cara frontal de las tarjetas */
.card-front {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), inset 0 2px 0 rgba(255, 255, 255, 0.2);
}

/* SECCIÓN 3 - Cara trasera de las tarjetas */
.card-back {
    background: rgba(100, 0, 255, 0.15);
    backdrop-filter: blur(12px);
    transform: rotateY(180deg);
    border: 1px solid rgba(200, 100, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), inset 0 2px 0 rgba(255, 255, 255, 0.2);
}

/* SECCIÓN 3 - Elementos decorativos de las tarjetas */
.valor-icon {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff00ff, #8000ff);
    opacity: 0.1;
    z-index: 0;
}

.valor-header {
    position: relative;
    z-index: 1;
    text-align: center;
}

.valor-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 100, 255, 0.8);
    position: relative;
    display: inline-block;
    font-weight: 600;
}

.valor-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff00ff, transparent);
}

.valor-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    line-height: 1.7;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.icon-container {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.icon-big {
    width: 80px;
    height: 80px;
    stroke: #ffffff;
    stroke-width: 2;
    filter: drop-shadow(0 0 15px rgba(255, 100, 255, 0.881));
}

.valor-bg {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, transparent, rgba(255, 0, 255, 0.08));
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    z-index: 0;
}

/* SECCIÓN 3 - Efectos de brillo en las tarjetas */
.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(15px);
}

.glow-1 {
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: rgba(200, 100, 255, 0.25);
}

.glow-2 {
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: rgba(255, 0, 128, 0.25);
}

/* SECCIÓN 3 - Contenido de la cara trasera */
.card-back-content {
    padding: 15px;
}

.card-back-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 0 0 15px rgba(255, 100, 255, 0.8);
}

.card-back-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    line-height: 1.7;
}

/* SECCIÓN 5 - CONTACTO */
#section5 {
    min-height: 100vh;
    padding: 80px 0 40px;
    position: relative;
}

.contacto-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.contacto-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #fff;
    margin-bottom: 40px;
    text-shadow: 0 0 15px rgba(255, 100, 255, 0.6);
}

.contacto-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.contacto-form-container {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    padding: 30px;
    margin-bottom: 40px;
}

.contacto-info {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contacto-form {
    flex: 2;
    padding: 20px;
}

.contacto-info h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.6);
}

.contacto-info p {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
}

.contacto-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contacto-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 2;
    filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.6));
}

.contacto-info-text {
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    color: rgba(255, 255, 255, 0.9);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    color: #fff;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    transition: all 0.3s ease;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--highlight-color);
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.3);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: none;
    outline: none;
}

.social-link:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.social-icon {
    width: 24px;
    height: 24px;
    fill: #fff;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

.social-link:hover .social-icon {
    filter: drop-shadow(0 0 8px rgba(0, 217, 255, 0.8));
}

/* Estilos del Footer */
footer {
    background: linear-gradient(to top, var(--primary-color), transparent);
    padding: 40px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer-container {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-logo {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 0 0 15px rgba(255, 100, 255, 0.6);
}

.footer-description {
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.footer-heading {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--highlight-color);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
}

.footer-link {
    margin-bottom: 10px;
}

.footer-link a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-link a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-link-icon {
    width: 16px;
    height: 16px;
    margin-right: 10px;
    fill: var(--highlight-color);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-contact-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    fill: none;
    stroke: var(--highlight-color);
    stroke-width: 2;
}

.footer-contact-text {
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    text-align: center;
    font-size: clamp(0.8rem, 1vw, 0.9rem);
    color: rgba(255, 255, 255, 0.6);
}

/* Efectos decorativos del footer */
.footer-decoration {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 80%;
    background: linear-gradient(135deg, transparent, rgba(0, 217, 255, 0.05));
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    z-index: -1;
}

.footer-circle {
    position: absolute;
    top: -50px;
    left: 10%;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: -1;
}

.footer-circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Efecto de scroll suave */
html {
    scroll-behavior: smooth;
}

/* Animación de entrada para todos los elementos */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* Animación para el botón de volver arriba */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.back-to-top-icon {
    width: 20px;
    height: 20px;
    fill: #fff;
}

/* Loader para la página */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--highlight-color);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Estilos para el cursor personalizado */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    mix-blend-mode: difference;
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
}

.custom-cursor.hover {
    width: 40px;
    height: 40px;
    background-color: var(--highlight-color);
}

.custom-cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9998;
    transition: transform 0.1s ease;
}

/* Efecto de partículas en el fondo */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: moveParticle 20s linear infinite;
}

@keyframes moveParticle {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-1000px) translateX(100px); opacity: 0; }
}

/* Animación de estrellas en el fondo */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background-color: #fff;
    border-radius: 50%;
    animation: twinkle 6s infinite ease-in-out;
}

@keyframes twinkle {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

/* Media queries para responsive design */
@media (min-width: 768px) {
    /* Título principal - Tamaño en desktop */
    .titulo-izquierda {
        font-size: 6rem;
    }

    /* SECCIÓN 2 - Ajustes para desktop */
    .section-card {
        flex-direction: row;
        min-height: 450px;
    }

    .vision-card {
        flex-direction: row-reverse;
    }

    .image-overlay {
        background: linear-gradient(to right, rgba(9, 22, 56, 0.4), transparent);
    }

    .vision-card .image-overlay {
        background: linear-gradient(to left, rgba(9, 22, 56, 0.4), transparent);
    }

    /* Footer en desktop */
    .footer-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    /* Contacto en desktop */
    .contacto-form-container {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .titulo-izquierda {
        font-size: 7.5rem;
    }

    .tech-circle {
        width: 180px;
        height: 180px;
    }

    .tech-line {
        width: 100px;
    }

    @keyframes rotateLine {
        from { transform: rotate(0deg) translateX(80px); }
        to { transform: rotate(360deg) translateX(80px); }
    }
}

@media (min-width: 1440px) {
    .titulo-izquierda {
        font-size: 8rem;
    }

    .section-card {
        min-height: 500px;
    }

    .content-container h2 {
        font-size: 4rem;
    }

    .content-container p {
        font-size: 1.3rem;
    }

    .tech-circle {
        width: 200px;
        height: 200px;
    }

    .tech-line {
        width: 120px;
    }

    @keyframes rotateLine {
        from { transform: rotate(0deg) translateX(100px); }
        to { transform: rotate(360deg) translateX(100px); }
    }
}

@media (max-width: 767px) {
    /* Ajustes específicos para móviles */
    .titulo-container {
        position: relative;
        left: 0;
        transform: none;
        margin: 80px auto 0;
        text-align: center;
    }

    .titulo-izquierda {
        text-align: center;
        font-size: 3.5rem;
    }

    .section1 {
        padding-top: 20px;
    }

    .section-card {
        margin-bottom: 30px;
    }

    .mission-vision-container {
        margin-top: 30px;
        padding: 1rem 0.5rem;
    }

    .section-card {
        min-height: 300px;
    }

    .content-container {
        padding: 1rem;
    }

    .content-container h2 {
        font-size: 1.8rem;
    }

    .content-container p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .titulo-izquierda {
        font-size: 2.5rem;
    }
}

