/* Variables */
:root {
    --azul-principal: #0052A3;
    --azul-oscuro: #003380;
    --verde-vivo: #00FF88;
    --blanco: #FFFFFF;
    --gris-oscuro: #2C3E50;
    --gris-claro: #F8F9FA;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--gris-oscuro);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: var(--blanco);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 50px;
}

.logo span {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--azul-principal);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--gris-oscuro);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--azul-principal);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--azul-principal);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section con imagen de fondo */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanco);
    position: relative;
    margin-top: 80px;
    overflow: hidden;
    padding: 60px 20px;
}

.hero-background {
    background: url('../imagenes/estudiantes 2.jpeg') center center / cover no-repeat;
}

.hero-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 82, 163, 0.65) 0%, rgba(0, 51, 128, 0.65) 100%);
    z-index: 1;
}

.hero-content-center {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
    padding: 40px;
}

.hero-title-main {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 30px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.hero-description-main {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 40px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

.btn-hero-main {
    display: inline-block;
    background: #FDB813;
    color: #003380;
    padding: 18px 40px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(253, 184, 19, 0.4);
    text-transform: uppercase;
}

.btn-hero-main:hover {
    background: #FDC933;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(253, 184, 19, 0.6);
}

/* Decoraciones flotantes */
.hero-decorations {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.decoration-circle {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 15px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 10%;
    right: 15%;
    animation: float 6s ease-in-out infinite;
}

.decoration-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid rgba(255, 0, 100, 0.6);
    top: 15%;
    right: 5%;
    animation: float 8s ease-in-out infinite;
}

.decoration-book {
    position: absolute;
    width: 80px;
    height: 100px;
    background: rgba(255, 50, 50, 0.7);
    border-radius: 5px;
    bottom: 35%;
    left: 20%;
    transform: rotate(-25deg);
    animation: float 7s ease-in-out infinite;
}

.decoration-tube {
    position: absolute;
    width: 40px;
    height: 150px;
    background: linear-gradient(180deg, rgba(255, 200, 0, 0.6) 0%, rgba(255, 150, 0, 0.6) 100%);
    border-radius: 20px;
    top: 20%;
    left: 10%;
    transform: rotate(35deg);
    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* Contenedor principal del hero */
.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Lado izquierdo - Texto */
.hero-left {
    text-align: left;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: -2px;
    animation: fadeInLeft 1s;
}

.btn-matriculas {
    display: inline-block;
    background: #FDB813;
    color: #003380;
    padding: 18px 35px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(253, 184, 19, 0.4);
    animation: fadeInLeft 1.2s;
}

.btn-matriculas:hover {
    background: #FDC933;
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(253, 184, 19, 0.5);
}

/* Lado derecho - Imagen */
.hero-right {
    position: relative;
    animation: fadeInRight 1s;
}

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.hero-image {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    animation: floatImage 3s ease-in-out infinite;
}

@keyframes floatImage {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Parte inferior - Slogan */
.hero-bottom {
    text-align: center;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.hero-slogan {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.2;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1.5s;
}

/* Animaciones */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Buttons */
.btn {
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--verde-vivo);
    color: var(--gris-oscuro);
}

.btn-primary:hover {
    background: #00DD77;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(0,255,136,0.25);
}

.btn-secondary {
    background: transparent;
    color: var(--blanco);
    border: 2px solid var(--blanco);
}

.btn-secondary:hover {
    background: var(--blanco);
    color: var(--azul-principal);
}

.btn-outline {
    background: transparent;
    color: var(--azul-principal);
    border: 2px solid var(--azul-principal);
}

.btn-outline:hover {
    background: var(--azul-principal);
    color: var(--blanco);
}

.btn-block {
    width: 100%;
}

/* Sections */
section {
    padding: 80px 0;
}

/* Valores Section */
.valores-section {
    background: var(--blanco);
    padding: 60px 0;
}

.section-title-valores {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--azul-principal);
    font-weight: 900;
}

.valores-lista {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
    justify-content: center;
}

.valor-box {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 200px;
}

.valores-lista .valor-box:nth-child(n+4) {
    flex: 0 0 calc(33.333% - 20px);
}

.valor-box {
    text-align: center;
    padding: 30px 20px;
    background: var(--gris-claro);
    border-radius: 15px;
    transition: all 0.3s;
    border: 3px solid transparent;
}

.valor-box:hover {
    transform: translateY(-2px);
    border-color: var(--verde-vivo);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.15);
}

.valor-box i {
    font-size: 3rem;
    color: var(--azul-principal);
    margin-bottom: 15px;
}

.valor-box h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gris-oscuro);
}

/* Política de Calidad Section */
.politica-calidad {
    background: var(--gris-claro);
    padding: 80px 0;
}

.politica-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.politica-card {
    background: var(--blanco);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    text-align: center;
}

.politica-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.politica-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--azul-principal), var(--azul-oscuro));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.politica-icon i {
    font-size: 2.5rem;
    color: var(--blanco);
}

.politica-card h3 {
    font-size: 1.5rem;
    color: var(--azul-principal);
    margin-bottom: 20px;
    font-weight: 700;
}

.politica-card p {
    color: #666;
    line-height: 1.8;
    text-align: justify;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 15px;
    color: var(--azul-principal);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
}

/* Carreras Section */
.carreras {
    background: var(--gris-claro);
}

.carreras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.carrera-card {
    background: var(--blanco);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    text-align: center;
}

.carrera-card:hover {
    transform: translateY(-3px);
}

.carrera-icon {
    font-size: 4rem;
    color: var(--azul-principal);
    margin-bottom: 20px;
}

.carrera-imagen {
    width: 100%;
    height: 300px;
    margin-bottom: 25px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.carrera-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transition: transform 0.3s;
}

.carrera-card:hover .carrera-imagen {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.18);
}

.carrera-card:hover .carrera-imagen img {
    transform: scale(1.02);
}

.carrera-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--gris-oscuro);
}

.carrera-card p {
    margin-bottom: 20px;
    color: #666;
}

.carrera-features {
    list-style: none;
    margin-bottom: 25px;
    text-align: left;
}

.carrera-features li {
    padding: 8px 0;
    color: #666;
}

.carrera-features i {
    color: var(--verde-vivo);
    margin-right: 10px;
}

/* Nosotros Section */
.nosotros-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.nosotros-text h2 {
    text-align: left;
    margin-bottom: 25px;
}

.nosotros-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.valores {
    margin-top: 40px;
}

.valores h3 {
    color: var(--azul-principal);
    margin-bottom: 20px;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.valor-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--gris-claro);
    border-radius: 10px;
}

.valor-item i {
    font-size: 2rem;
    color: var(--verde-vivo);
}

.nosotros-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Contacto Section */
.contacto {
    background: var(--gris-claro);
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 2rem;
    color: var(--azul-principal);
}

.info-item h4 {
    margin-bottom: 10px;
    color: var(--azul-principal);
}

.info-item a {
    color: var(--verde-vivo);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--azul-principal);
    text-decoration: underline;
}

.mapa {
    margin-top: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contacto-form {
    background: var(--blanco);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contacto-form h3 {
    margin-bottom: 25px;
    color: var(--azul-principal);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--azul-principal);
}

/* Footer */
footer {
    background: var(--gris-oscuro);
    color: var(--blanco);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 30px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: flex-end;
    text-align: right;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 15px;
}

.footer-logo p {
    color: var(--verde-vivo);
    font-weight: 600;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 20px;
    color: var(--verde-vivo);
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: var(--blanco);
    text-decoration: none;
    display: block;
    padding: 5px 0;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--verde-vivo);
}

.footer-contact p {
    padding: 5px 0;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--verde-vivo);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-credit {
    margin-top: 8px;
    font-size: 0.75rem;
    opacity: 0.5;
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease;
}

.footer-credit:hover {
    opacity: 0.8;
}

.creator {
    color: var(--verde-vivo);
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.creator:hover {
    color: #00FF88;
    text-decoration: underline;
    letter-spacing: 2px;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: var(--blanco);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(37,211,102,0.5);
    z-index: 999;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: var(--blanco);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-title-main {
        font-size: 2rem;
    }
    
    .hero-description-main {
        font-size: 1.1rem;
    }
    
    .btn-hero-main {
        font-size: 0.9rem;
        padding: 15px 30px;
    }
    
    .hero-content-center {
        padding: 20px;
    }
    
    .nosotros-content,
    .contacto-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .valores-grid {
        grid-template-columns: 1fr;
    }
    
    .valores-lista {
        gap: 20px;
    }
    
    .valor-box {
        flex: 0 0 calc(50% - 10px);
        min-width: 150px;
    }
    
    .politica-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title-valores {
        font-size: 2rem;
    }
}


/* Animaciones adicionales para dinamismo */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-180deg) scale(0.5);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

/* Valores sin animación */
.valor-box {
    opacity: 1;
}

.valor-box i {
    transition: transform 0.3s ease;
}

.valor-box:hover i {
    transform: scale(1.03);
}

/* Política sin animación */
.politica-card {
    opacity: 1;
}

.politica-icon {
    transition: transform 0.3s ease;
}

.politica-card:hover .politica-icon {
    transform: scale(1.03);
}

/* Carreras sin animación */
.carrera-card {
    opacity: 1;
}

/* Títulos sin animación */
.section-title {
    opacity: 1;
}

.section-subtitle {
    opacity: 1;
}

/* Botón WhatsApp flotante muy sutil */
.whatsapp-float {
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.05);
}

/* Navbar sin animación */
.navbar {
    opacity: 1;
}

/* Logo con transición suave */
.logo img {
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

/* Menú sin animación */
.nav-menu li {
    opacity: 1;
}

/* Efecto hover mejorado para botones */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Efecto de brillo en las tarjetas */
.carrera-card::after,
.politica-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.5s;
}

.carrera-card:hover::after,
.politica-card:hover::after {
    left: 100%;
}

.carrera-card,
.politica-card {
    position: relative;
    overflow: hidden;
}

/* Nosotros sin animación */
.nosotros-text {
    opacity: 1;
}

.nosotros-image {
    opacity: 1;
}

/* Efecto de escritura para títulos */
@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

.section-title-valores {
    animation: fadeInDown 0.8s ease-out, pulse 2s ease-in-out 1s;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Animaciones de scroll desactivadas */


/* Clase de animación desactivada */

/* Partículas flotantes */
.particle {
    z-index: 0;
}


/* Tarjetas de contacto dinámicas */
.contacto-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.contact-card {
    background: var(--blanco);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    color: var(--gris-oscuro);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.contact-card:hover::before {
    left: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.whatsapp-card:hover {
    border-color: #25D366;
}

.phone-card:hover {
    border-color: var(--azul-principal);
}

.facebook-card:hover {
    border-color: #1877F2;
}

.instagram-card:hover {
    border-color: #E4405F;
}

.card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.whatsapp-card .card-icon {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
}

.phone-card .card-icon {
    background: linear-gradient(135deg, var(--azul-principal), var(--azul-oscuro));
    color: white;
}

.facebook-card .card-icon {
    background: linear-gradient(135deg, #1877F2, #0C63D4);
    color: white;
}

.instagram-card .card-icon {
    background: linear-gradient(135deg, #E4405F, #C13584, #833AB4);
    color: white;
}

.contact-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--azul-principal);
}

.contact-card p {
    font-size: 1rem;
    font-weight: 600;
    color: #666;
}

/* Caja de dirección mejorada */
.direccion-box {
    display: flex;
    gap: 20px;
    background: var(--blanco);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    align-items: center;
}

.direccion-box i {
    font-size: 3rem;
    color: var(--azul-principal);
}

.direccion-box h3 {
    color: var(--azul-principal);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.direccion-box p {
    color: #666;
    line-height: 1.8;
}

/* Responsive para tarjetas */
@media (max-width: 768px) {
    .contacto-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .contact-card {
        padding: 20px 15px;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
}


/* Footer Social Icons */
.footer-social h4 {
    margin-bottom: 20px;
    color: var(--verde-vivo);
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--blanco);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon.facebook {
    background: #1877F2;
}

.social-icon.instagram {
    background: linear-gradient(135deg, #E4405F, #C13584);
}

.social-icon.whatsapp {
    background: #25D366;
}

.social-icon.phone {
    background: var(--azul-principal);
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-right {
        align-items: flex-start;
        text-align: left;
    }
    
    .social-icons {
        justify-content: flex-start;
    }
}


/* Sección Nuestro Personal */
.personal-section {
    background: var(--blanco);
    padding: 80px 0;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    background: var(--gris-claro);
}

.video-container iframe,
.video-container video {
    width: 100%;
    height: 500px;
    display: block;
}

.video-placeholder {
    padding: 100px 40px;
    text-align: center;
    background: linear-gradient(135deg, var(--gris-claro) 0%, #E8E8E8 100%);
}

.video-placeholder i {
    font-size: 5rem;
    color: var(--azul-principal);
    margin-bottom: 20px;
    opacity: 0.5;
}

.video-placeholder p {
    font-size: 1.3rem;
    color: var(--gris-oscuro);
    margin-bottom: 10px;
    font-weight: 600;
}

.video-placeholder small {
    color: #666;
    font-size: 0.9rem;
}

/* Responsive video */
@media (max-width: 768px) {
    .video-container iframe,
    .video-container video {
        height: 300px;
    }
    
    .video-placeholder {
        padding: 60px 20px;
    }
    
    .video-placeholder i {
        font-size: 3rem;
    }
}


/* Sección Conoce Nuestra Institución */
.institucion-section {
    background: var(--gris-claro);
    padding: 80px 0;
}


/* Descripción de sección */
.section-description {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}
