/* Paleta de colores mejorada */
        :root {
            --azul-institucional: #1a3c5e;
            --azul-oscuro: #0f2537;
            --dorado: #c5a059;
            --dorado-claro: #d4b378;
            --gris-claro: #f8f9fa;
            --blanco: #ffffff;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Lato', sans-serif;
            color: #333;
            overflow-x: hidden;
        }

        h1, h2, h3, .navbar-brand {
            font-family: 'Playfair Display', serif;
        }

        /* Navbar mejorado */
        .navbar {
            background: rgba(26, 60, 94, 0.95);
            backdrop-filter: blur(10px);
            padding: 1rem 0;
            transition: all 0.3s ease;
            box-shadow: 0 2px 20px rgba(0,0,0,0.1);
        }

        .navbar-brand {
            font-weight: 700;
            font-size: 1.5rem;
            letter-spacing: 1px;
            background: linear-gradient(135deg, var(--dorado), var(--dorado-claro));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .nav-link {
            color: rgba(255,255,255,0.9) !important;
            font-weight: 500;
            margin: 0 0.5rem;
            transition: all 0.3s ease;
            position: relative;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px;
            left: 50%;
            background: var(--dorado);
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }

        .nav-link:hover::after {
            width: 80%;
        }

        .nav-link:hover {
            color: var(--dorado) !important;
        }

        /* Hero Section mejorado */
        .hero-section {
            background: linear-gradient(135deg, rgba(15, 37, 55, 0.9), rgba(26, 60, 94, 0.85)), 
                        url('../images/escuela.jpg') no-repeat center center;
            background-size: cover;
            background-attachment: fixed;
            min-height: 100vh;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
        }

        .hero-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 30% 50%, rgba(197, 160, 89, 0.1), transparent 50%);
            animation: pulse 8s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 0.5; }
            50% { opacity: 1; }
        }

        .hero-section h1 {
            font-size: 4rem;
            font-weight: 900;
            margin-bottom: 1.5rem;
            animation: fadeInUp 1s ease;
            text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
        }

        .hero-section p {
            font-size: 1.4rem;
            margin-bottom: 2rem;
            animation: fadeInUp 1s ease 0.2s both;
            font-weight: 300;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--dorado), var(--dorado-claro));
            border: none;
            color: white;
            padding: 1rem 3rem;
            font-size: 1.1rem;
            font-weight: 600;
            border-radius: 50px;
            transition: all 0.3s ease;
            box-shadow: 0 5px 20px rgba(197, 160, 89, 0.4);
            animation: fadeInUp 1s ease 0.4s both;
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 30px rgba(197, 160, 89, 0.6);
        }

        /* Secciones */
        section {
            padding: 5rem 0;
        }

        .section-title {
            color: var(--azul-institucional);
            font-size: 2.8rem;
            font-weight: 700;
            margin-bottom: 1rem;
            position: relative;
            display: inline-block;
        }

        .section-title::after {
            content: '';
            position: absolute;
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, var(--dorado), var(--dorado-claro));
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 2px;
        }

        /* About Section */
        #nosotros img {
            border-radius: 15px;
            box-shadow: 0 15px 40px rgba(0,0,0,0.15);
            transition: transform 0.3s ease;
        }

        #nosotros img:hover {
            transform: scale(1.05);
        }

        .border-gold {
            border: 3px solid var(--dorado);
            border-radius: 15px;
            background: linear-gradient(135deg, rgba(197, 160, 89, 0.05), rgba(197, 160, 89, 0.02));
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .border-gold::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(197, 160, 89, 0.1), transparent);
            transition: left 0.5s ease;
        }

        .border-gold:hover::before {
            left: 100%;
        }

        .border-gold:hover {
            border-color: var(--dorado-claro);
            box-shadow: 0 10px 30px rgba(197, 160, 89, 0.2);
            transform: translateY(-5px);
        }

        .border-gold h3 {
            color: var(--azul-institucional);
            font-weight: 700;
            margin-bottom: 1.5rem;
            font-size: 1.8rem;
        }

        /* Services Section */
        #servicios {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        }

        .service-card {
            border: none;
            border-radius: 15px;
            background: white;
            transition: all 0.4s ease;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            overflow: hidden;
            position: relative;
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(90deg, var(--azul-institucional), var(--dorado));
        }

        .service-card:hover {
            transform: translateY(-15px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.15);
        }

        .service-card i {
            color: var(--dorado);
            margin-bottom: 1rem;
        }

        .service-card h4 {
            color: var(--azul-institucional);
            font-weight: 700;
            margin-bottom: 1rem;
        }

        #servicios img {
            border-radius: 15px;
            box-shadow: 0 15px 40px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
        }

        #servicios img:hover {
            transform: scale(1.05);
        }

        /* Contact Section */
        #contacto {
            background: linear-gradient(135deg, var(--azul-oscuro) 0%, var(--azul-institucional) 100%);
            color: white;
        }

        #contacto .section-title {
            color: white;
        }

        #contacto .section-title::after {
            background: linear-gradient(90deg, var(--dorado), var(--dorado-claro));
        }

        #contactForm {
            background: white;
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
        }

        .form-label {
            color: var(--azul-institucional);
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .form-control {
            border: 2px solid #e9ecef;
            border-radius: 10px;
            padding: 0.8rem;
            transition: all 0.3s ease;
        }

        .form-control:focus {
            border-color: var(--dorado);
            box-shadow: 0 0 0 0.2rem rgba(197, 160, 89, 0.25);
        }

        .btn-dark {
            background: linear-gradient(135deg, var(--azul-institucional), var(--azul-oscuro));
            border: none;
            padding: 1rem;
            font-weight: 600;
            border-radius: 10px;
            transition: all 0.3s ease;
        }

        .btn-dark:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 20px rgba(0,0,0,0.3);
        }

        .map-container {
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
            height: 100%;
        }

        .map-container iframe {
            min-height: 500px;
        }

        /* Footer */
        footer {
            background: var(--azul-oscuro);
            padding: 2rem 0;
        }

        /* Animaciones de scroll */
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s ease;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .hero-section h1 {
                font-size: 2.5rem;
            }
            
            .hero-section p {
                font-size: 1.1rem;
            }
            
            .section-title {
                font-size: 2rem;
            }

            .navbar-brand {
                font-size: 1.2rem;
            }
        }