/* ===================================
   COLEGIO LUZ A LAS NACIONES - CSS COMPLETO
   =================================== */

/* Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #5483B3;
    --primary-dark: #052659;
    --primary-light: #7DA0CA;
    --accent-color: #C1E8FF;
    --secondary-color: #021024;

    --dark-bg: #1A1D29;
    --darker-bg: #14161F;
    --darkest-bg: #0A0C14;
    --card-bg: #2A2D3A;
    --light-text: #FFFFFF;
    --gray-text: #A0A3BD;

    --container-width: 1200px;
    --section-padding: 100px 0;

    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--darker-bg);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: var(--section-padding);
}

.bg-dark {
    background-color: var(--dark-bg);
}

.bg-darkest {
    background-color: var(--darkest-bg);
}

/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: -10px;
}

.row.g-4>* {
    padding: 15px;
}

.row.g-5>* {
    padding: 20px;
}

.row.align-items-center {
    align-items: center;
}

[class*="col-"] {
    padding: 10px;
}

.col-md-4 {
    width: 33.333%;
}

.col-md-6 {
    width: 50%;
}

.col-md-3 {
    width: 25%;
}

.col-lg-4 {
    width: 33.333%;
}

.col-lg-6 {
    width: 50%;
}

.col-lg-12 {
    width: 100%;
}

.text-center {
    text-align: center;
}

/* ===================================
   UTILITY CLASSES
   =================================== */

.img-fluid {
    max-width: 100%;
    height: auto;
}

.rounded-4 {
    border-radius: 1rem;
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

.mt-4 {
    margin-top: 2rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.pt-5 {
    padding-top: 3rem;
}

/* ===================================
   NAVIGATION
   =================================== */

.navbar {
    background-color: rgba(2, 16, 36, 0.95);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: cover;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 16px;
    color: white;
    letter-spacing: 0.5px;
}

.logo-subtitle {
    font-size: 10px;
    color: var(--gray-text);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: var(--gray-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link.active,
.nav-link:hover {
    color: var(--light-text);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

.btn-admision {
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(84, 131, 179, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-admision:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(84, 131, 179, 0.4);
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    margin-top: 70px;
    padding: 60px 0 80px;
    position: relative;
    min-height: 92vh;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    z-index: 0;
}

.building-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 30px 0 0 30px;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--darker-bg) 0%, rgba(20, 22, 31, 0.9) 30%, transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 50px;
    align-items: start;
}

.hero-main {
    padding-top: 30px;
}

.hero-logo-badge {
    margin-bottom: 15px;
}

.logo-graphic {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(84, 131, 179, 0.3);
    animation: float 3s ease-in-out infinite;
    overflow: hidden;
}

.logo-graphic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(84, 131, 179, 0.15);
    border: 1px solid rgba(84, 131, 179, 0.3);
    padding: 10px 20px;
    border-radius: 25px;
    margin-bottom: 25px;
    color: var(--accent-color);
    font-size: 12px;
    font-weight: 600;
}

/* Carousel */
.carousel-container {
    margin-bottom: 30px;
}

.carousel-slides {
    position: relative;
    min-height: 320px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #FFFFFF, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 15px;
    color: var(--gray-text);
    line-height: 1.7;
    max-width: 580px;
    margin-bottom: 15px;
}

.hero-subtitle strong {
    color: var(--primary-light);
    font-weight: 600;
}

.slide-indicator {
    margin-top: 15px;
}

.slide-indicator i {
    font-size: 28px;
    color: var(--primary-color);
    animation: pulse 2s ease-in-out infinite;
}

.carousel-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 10px;
    flex: 1;
    justify-content: center;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 5px;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.action-btn.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(84, 131, 179, 0.3);
}

.action-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(84, 131, 179, 0.4);
}

.action-btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.action-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
}

.btn-icon {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 30px;
    padding: 20px 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.stat-item i {
    font-size: 22px;
    color: var(--primary-color);
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: white;
}

.stat-number::after {
    content: '+';
}

.stat-label {
    font-size: 11px;
    color: var(--gray-text);
    text-align: center;
}

/* ===================================
   CONTACT CARD
   =================================== */

.contact-card-wrapper {
    position: relative;
    padding-top: 15px;
}

.contact-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    animation: float 4s ease-in-out infinite;
}

.card-header {
    text-align: center;
    margin-bottom: 25px;
}

.header-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 26px;
    color: white;
    box-shadow: 0 8px 25px rgba(84, 131, 179, 0.3);
}

.card-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.card-header p {
    font-size: 13px;
    color: var(--gray-text);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.form-group:focus-within {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(84, 131, 179, 0.1);
}

.form-group i {
    color: var(--primary-color);
    font-size: 14px;
    width: 18px;
}

.form-group input,
.form-group select,
.form-group textarea {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: white;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-text);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--card-bg);
    color: white;
}

.form-group textarea {
    resize: vertical;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 14px 25px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(84, 131, 179, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(84, 131, 179, 0.4);
}

.card-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-text);
    font-size: 12px;
}

.contact-info-item i {
    color: var(--primary-color);
    width: 18px;
}

/* ===================================
   VALUES SECTION
   =================================== */

.values-section {
    padding: 50px 0;
    background: rgba(84, 131, 179, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.value-item {
    text-align: center;
    padding: 20px;
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    color: white;
    box-shadow: 0 8px 25px rgba(84, 131, 179, 0.3);
    transition: all 0.3s ease;
}

.value-item:hover .value-icon {
    transform: rotate(10deg) scale(1.1);
}

.value-item h4 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: white;
}

/* ===================================
   SECTION HEADERS
   =================================== */

.section-header {
    margin-bottom: 50px;
}

.section-tag {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 900;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #FFFFFF, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: var(--gray-text);
    font-size: 15px;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* ===================================
   CONTENT BLOCKS
   =================================== */

.content-block {
    margin: 40px 0;
}

.content-text {
    padding-right: 20px;
}

.content-text p {
    margin-bottom: 20px;
    color: var(--gray-text);
    line-height: 1.8;
}

.content-text .lead {
    font-size: 18px;
    color: var(--light-text);
    font-weight: 500;
}

.content-text .highlight {
    color: var(--primary-light);
    font-weight: 600;
}

.bible-quote {
    background: rgba(84, 131, 179, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 25px;
    border-radius: 10px;
    margin-top: 25px;
    position: relative;
}

.bible-quote i {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 24px;
    color: var(--primary-color);
    opacity: 0.3;
}

.bible-quote p {
    font-style: italic;
    color: var(--light-text);
    margin: 0 0 10px 30px;
}

.bible-quote footer {
    color: var(--primary-color);
    font-weight: 600;
    text-align: right;
    font-size: 14px;
}

.image-wrapper {
    position: relative;
}

.image-decoration {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 1rem;
    z-index: -1;
    opacity: 0.2;
}

/* ===================================
   VISION MISSION VALUES CARDS
   =================================== */

.vmv-section {
    margin-top: 60px;
}

.vmv-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 35px;
    height: 100%;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.vmv-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.vmv-card.featured {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    transform: scale(1.05);
}

.vmv-icon {
    width: 70px;
    height: 70px;
    background: rgba(84, 131, 179, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: var(--primary-color);
}

.vmv-card.featured .vmv-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.vmv-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.vmv-subtitle {
    font-size: 12px;
    color: var(--gray-text);
    margin-bottom: 15px;
}

.vmv-card.featured .vmv-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.vmv-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray-text);
}

.vmv-card.featured .vmv-text {
    color: rgba(255, 255, 255, 0.9);
}

.values-list {
    list-style: none;
    text-align: left;
    max-width: 250px;
    margin: 0 auto;
}

.values-list li {
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--gray-text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.values-list i {
    color: var(--primary-color);
    font-size: 12px;
}

/* ===================================
   BELIEFS SECTION
   =================================== */

.beliefs-section {
    margin-top: 60px;
}

.belief-item {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    display: flex;
    gap: 20px;
    align-items: start;
}

.belief-item:hover {
    transform: translateX(5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.belief-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: rgba(84, 131, 179, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-color);
}

.belief-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.belief-item p {
    font-size: 13px;
    color: var(--gray-text);
    line-height: 1.6;
    margin: 0;
}

/* ===================================
   HISTORIA TIMELINE
   =================================== */

.historia-section {
    padding: 80px 0;
    background: var(--dark-bg);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 50px auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), transparent);
}

.timeline-item {
    display: flex;
    margin-bottom: 60px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
    text-align: right;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    box-shadow: 0 0 0 8px var(--dark-bg), var(--shadow-lg);
    z-index: 2;
}

.timeline-content {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    width: 45%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-md);
}

.timeline-year {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 12px;
    margin-bottom: 10px;
}

.timeline-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.timeline-content p {
    color: var(--gray-text);
    line-height: 1.7;
    font-size: 14px;
}

.timeline-image {
    width: 100%;
    border-radius: 10px;
    margin-top: 15px;
}

/* ===================================
   PRINCIPIOS SECTION
   =================================== */

.aep-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.aep-intro .lead {
    font-size: 18px;
    color: var(--gray-text);
    line-height: 1.8;
}

.principios-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.principio-card {
    background: var(--card-bg);
    padding: 25px 15px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.principio-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.principio-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(84, 131, 179, 0.1), rgba(5, 38, 89, 0.1));
    border: 2px solid rgba(84, 131, 179, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.principio-card:hover .principio-icon {
    transform: scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(84, 131, 179, 0.4);
}

.principio-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.principio-card h4 {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
    letter-spacing: 0.5px;
}

.principio-verse {
    font-size: 10px;
    color: var(--primary-light);
    margin-bottom: 10px;
    font-style: italic;
}

.principio-card p {
    font-size: 11px;
    color: var(--gray-text);
    line-height: 1.5;
}

/* ===================================
   HERRAMIENTAS
   =================================== */

.herramienta-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.herramienta-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.herramienta-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: white;
    box-shadow: 0 8px 25px rgba(84, 131, 179, 0.3);
}

.herramienta-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.herramienta-card p {
    font-size: 13px;
    color: var(--gray-text);
    line-height: 1.6;
}

/* ===================================
   NIVELES CARDS
   =================================== */

.nivel-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.nivel-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.nivel-card.featured {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.nivel-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 30px;
    text-align: center;
}

.inicial-card .nivel-header {
    background: linear-gradient(135deg, #FF6B9D, #C44569);
}

.secundaria-card .nivel-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.nivel-header i {
    font-size: 40px;
    color: white;
    margin-bottom: 15px;
    display: block;
}

.nivel-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin: 0;
}

.nivel-body {
    padding: 30px;
}

.nivel-body p {
    color: var(--gray-text);
    margin-bottom: 20px;
    line-height: 1.7;
}

.nivel-features {
    list-style: none;
}

.nivel-features li {
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--gray-text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nivel-features i {
    color: var(--primary-color);
    font-size: 12px;
}

/* ===================================
   DIVERSIDAD & SERVICIOS
   =================================== */

.diversidad-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    margin-top: 25px;
}

.feature-list li {
    margin-bottom: 15px;
    font-size: 15px;
    color: var(--gray-text);
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-list i {
    color: var(--primary-color);
    font-size: 16px;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.servicio-item {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.servicio-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.servicio-item i {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 12px;
    display: block;
}

.servicio-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: white;
}

/* ===================================
   PERSONAL SECTION
   =================================== */

.personal-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
}

.personal-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(84, 131, 179, 0.2);
}

.personal-header i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 10px;
}

.personal-header h3 {
    display: inline;
    font-size: 18px;
    font-weight: 700;
    color: white;
}

.personal-list {
    list-style: none;
}

.personal-list li {
    padding: 8px 0;
    font-size: 13px;
    color: var(--gray-text);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.personal-list li strong {
    color: var(--light-text);
}

/* ===================================
   EVENTOS
   =================================== */

.eventos-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.evento-item {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.evento-item:hover {
    transform: translateX(5px);
    border-color: var(--primary-color);
}

.evento-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: rgba(84, 131, 179, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-color);
}

.evento-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: white;
    margin: 0;
}

/* ===================================
   DOCUMENTOS
   =================================== */

.documentos-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.documento-link {
    background: var(--card-bg);
    padding: 18px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.documento-link:hover {
    transform: translateX(5px);
    border-color: var(--primary-color);
    background: rgba(84, 131, 179, 0.05);
}

.documento-link i:first-child {
    font-size: 22px;
    color: var(--primary-color);
}

.documento-link span {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
}

.documento-link i:last-child {
    font-size: 16px;
    color: var(--gray-text);
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background: var(--secondary-color);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo h4 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin: 0;
}

.footer-section p {
    color: var(--gray-text);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
    color: var(--gray-text);
    font-size: 14px;
}

.footer-section ul li a {
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-section ul li i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 42px;
    height: 42px;
    background: rgba(84, 131, 179, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
    border: 1px solid rgba(84, 131, 179, 0.2);
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: var(--gray-text);
    font-size: 13px;
    margin-bottom: 10px;
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: var(--gray-text);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-background {
        width: 100%;
        opacity: 0.25;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .principios-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: row !important;
        text-align: left !important;
        padding-left: 70px;
    }

    .timeline-marker {
        left: 30px;
    }

    .timeline-content {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 36px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .col-md-4,
    .col-md-6,
    .col-lg-4,
    .col-lg-6 {
        width: 100%;
    }

    .principios-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .servicios-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 28px;
    }

    .logo-text {
        display: none;
    }

    .carousel-slides {
        min-height: 400px;
    }
}