:root {
    --primary: #e31e25;
    --primary-dark: #b91c23;
    --secondary: #1e293b;
    --accent: #3b82f6;
    --text-main: #334155;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --max-width: 1200px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 500px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    animation: fadeIn 0.8s ease-out; /* Soft, premium entry */
}

#app-main {
    transition: opacity 0.4s ease-in-out;
    min-height: calc(100vh - 80px);
    width: 100%;
}

.page-loading .navbar {
    border-bottom: 2px solid var(--primary);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.btn-cta {
    background-color: var(--primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(227, 30, 37, 0.3);
}

.btn-cta:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(227, 30, 37, 0.4);
}

/* Stats / Quote */
.quote-section {
    padding: 5rem 10%;
    text-align: center;
    background: var(--white);
}

.quote-container {
    max-width: 800px;
    margin: 0 auto;
}

.quote-text {
    font-size: 2rem;
    font-family: var(--font-heading);
    color: var(--secondary);
    margin-bottom: 1rem;
    position: relative;
}

.quote-text::before,
.quote-text::after {
    content: '"';
    color: var(--primary);
    opacity: 0.5;
}

.quote-author {
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Utilities */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {

    .hero-content {
        padding: 0 1rem;
    }

    .hero-landing h1 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .hero-landing p {
        margin-bottom: 1.5rem;
        font-size: 0.95rem;
        padding: 0 1rem;
    }

    .navbar {
        padding: 0 1rem;
        height: 70px;
    }

    .logo span {
        font-size: 1rem;
    }
}


/* Privacy Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 2.5rem;
    border: 1px solid #888;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    max-height: 85vh;
    overflow-y: auto;
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    transition: color 0.2s;
}

.close-modal:hover,
.close-modal:focus {
    color: #e31e25;
    text-decoration: none;
    cursor: pointer;
}

.privacy-text-content {
    color: #334155;
    line-height: 1.6;
}

.privacy-text-content h3 {
    color: #1e293b;
    margin-top: 1.5rem;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.privacy-text-content p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.privacy-text-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.privacy-text-content li {
    margin-bottom: 0.5rem;
}

.privacy-last-update {
    text-align: right;
    margin-top: 2rem;
    font-size: 0.8rem;
    color: #94a3b8;
}

/* Development Areas Grid */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.area-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.area-card:hover {
    transform: translateY(-8px);
    border-color: rgba(227, 30, 37, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.area-icon {
    width: 120px;
    height: 120px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.area-icon .material-icons-outlined {
    font-size: 4rem;
}

.area-card h3 {
    color: var(--secondary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

/* Horizontal Area Cards Variant */
.area-card.horizontal {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
}

.area-card.horizontal .area-icon {
    width: 100px;
    height: 100px;
    margin: 0;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.area-card.horizontal .area-icon .material-icons-outlined {
    font-size: 3.5rem;
}

.area-card.horizontal h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Info Boxes */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.info-box {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.info-box:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.info-box h3 {
    color: var(--secondary);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.info-box p,
.info-box ul {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

.info-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-box ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.info-box ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.btn-cta-large {
    background: var(--primary);
    color: white;
    padding: 1.25rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(227, 30, 37, 0.3);
}

.btn-cta-large:hover {
    transform: scale(1.05) translateY(-2px);
    background-color: var(--primary-dark);
    box-shadow: 0 15px 30px rgba(227, 30, 37, 0.4);
}

/* Feature Icon Class (Reuse) */
.feature-icon {
    width: 150px;
    height: 150px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.feature-icon .material-icons-outlined {
    font-size: 5rem;
}

/* Back Button */
.back-button {
    position: fixed;
    top: 100px;
    left: 30px;
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1100;
    text-decoration: none;
    color: var(--secondary);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.back-button:hover {
    background: var(--primary);
    color: white;
    transform: translateX(-4px);
    box-shadow: 0 6px 20px rgba(227, 30, 37, 0.3);
}

.back-button .material-icons-outlined {
    font-size: 24px;
}

/* Schedule & Info Components */
.schedule-info-card {
    width: 100%;
    max-width: 450px;
    margin: 2.5rem auto;
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    text-align: center;
}

.schedule-info-card h3 {
    color: var(--secondary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.schedule-title {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    display: block;
    font-weight: 700;
}

/* Centered Grid Schedule Pattern */
.schedule-grid {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    gap: 0.8rem 1.5rem;
}

.grid-label {
    justify-self: end;
    text-align: right;
    color: var(--text-light);
    font-weight: 500;
}

.grid-value {
    justify-self: start;
    text-align: left;
    color: var(--primary);
    font-weight: 700;
}

/* Trick for longer labels that shouldn't shift the center */
.grid-outlier-label {
    display: flex;
    justify-content: flex-end;
    width: 0;
    align-self: center;
    justify-self: end;
}

.grid-outlier-label span {
    white-space: nowrap;
    color: var(--text-light);
    font-weight: 500;
}

/* Standard Program/Content Cards */
.content-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

/* Development Areas & Cards */
.areas-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.area-card {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.area-card.horizontal {
    flex: 0 1 380px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    text-align: left;
}

.area-card.horizontal .area-icon {
    margin: 0;
}

.area-card.horizontal h3 {
    margin: 0;
    font-size: 1.2rem;
}

.content-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(131, 24, 67, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.content-card h3 {
    color: var(--secondary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.content-list {
    text-align: left;
    list-style: none;
    padding: 0;
    display: inline-block;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

.content-list li {
    margin-bottom: 0.5rem;
}

.content-list li::before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    margin-right: 0.8rem;
}

/* Gallery System */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 3rem auto 0;
}

.gallery-item {
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.schedule-list {
    list-style: none;
    padding: 0;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--bg-light);
    padding: 1.2rem 0;
    font-weight: 500;
    transition: all 0.3s ease;
}

.schedule-item:hover {
    background-color: var(--bg-light);
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: 12px;
}

.schedule-item span:first-child {
    color: var(--text-light);
}

.schedule-item span:last-child {
    color: var(--primary);
    font-weight: 700;
}

/* Philosophy & Cards */
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.philosophy-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.philosophy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.philosophy-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.philosophy-card h3::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.value-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.value-tag {
    background: white;
    color: var(--text-light);
    border: 1.5px solid var(--primary);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.value-tag:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(227, 30, 37, 0.2);
}

/* Financial Tables */
.price-table-container {
    overflow-x: auto;
    margin-top: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.price-table th,
.price-table td {
    padding: 1.25rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--bg-light);
}

.price-table th {
    background: var(--bg-light);
    color: var(--text-light);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    font-weight: 700;
    border-bottom: 2px solid var(--primary);
}

.price-val {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
    text-align: right;
}

.table-notice {
    font-size: 0.9rem;
    color: var(--text-light);
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1.5rem;
    border-left: 4px solid var(--text-light);
    line-height: 1.6;
}/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    /* Force consistent height */
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-main);
}

.nav-link:hover {
    color: var(--primary);
}

/* Hero Section */
.hero-landing {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 1rem;
    overflow: hidden;
    background-color: #1a1a1a;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    background-color: #000;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    will-change: opacity;
    filter: brightness(1.05) contrast(1.1) saturate(1.5);
    transform: translateZ(0);
}

.hero-slide.active {
    opacity: 1;
}

#first-slide {
    background-color: transparent;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0); /* Removed the dark/gray overlay */
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    animation: fadeUp 1s ease-out;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Cleanup old ::before if present */
.hero-landing::before {
    display: none;
}

.hero-landing h1 {
    font-size: clamp(1.8rem, 8vw, 4rem);
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    line-height: 1.1;
    padding: 0 1rem;
    font-weight: 700;
}

.hero-landing p {
    font-size: clamp(0.95rem, 3vw, 1.4rem);
    margin-bottom: 2rem;
    color: var(--white);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
    padding: 0 1.5rem;
}

.hero-landing .quote-text {
    font-size: clamp(1.4rem, 5vw, 2.2rem);
    font-style: italic;
    font-weight: 300;
    line-height: 1.3;
    color: var(--white);
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
    margin-bottom: 0.75rem;
}

.hero-landing .quote-author {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 2px;
}

.btn-hero {
    background-color: var(--white);
    color: var(--primary);
    padding: 0.8rem 2rem;
    /* Slightly smaller padding base */
    border-radius: 50px;
    font-weight: 700;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-hero:hover {
    background-color: var(--bg-light);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .hero-content {
        padding: 0 1.5rem;
    }

    .hero-landing h1 {
        font-size: 2.2rem;
    }

    .hero-landing p {
        font-size: 1rem;
    }
}

.hero-quote {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 1s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Academic Levels */
.levels-section {
    padding: 5rem 5% 15rem;
    background-color: var(--bg-light);
    scroll-margin-top: 1cm;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.levels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 1.5rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.level-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.level-card {
    background: #eaebed;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.level-card-link:hover .level-card {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(227, 30, 37, 0.1);
}

.level-icon {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.level-icon .material-icons-outlined {
    font-size: 64px;
    color: var(--primary);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.level-card-link:hover .level-icon .material-icons-outlined {
    transform: scale(1.2) rotate(5deg);
    color: var(--primary-dark);
}

.level-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.level-card p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.95rem;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.level-card-link:hover .level-card p {
    opacity: 1;
    max-height: 100px;
    margin-bottom: 1.5rem;
}

.level-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.level-link:hover {
    gap: 0.8rem;
}

/* Footer */
.footer {
    background-color: var(--secondary);
    color: var(--white);
    padding: 1.5rem 5% 0.2rem;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.15rem;
}

.footer-links {
    padding: 0;
    list-style: none;
    /* Removes bullets */
}

.footer-links li {
    list-style: none;
    margin-bottom: 0.5rem;
}

/* Footer Map */
.footer-map {
    width: 240px;
    height: 80px;
    margin: 0.5rem auto 1rem;
    /* Centered */
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.footer-links a {
    color: #94a3b8;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-links.no-margin {
    margin-bottom: 0;
}

.footer-contact-text,
.footer-contact-list li {
    color: #94a3b8;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-contact-text {
    margin-bottom: 1rem;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.footer-social-link {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.footer-social-icon {
    color: white;
    fill: white;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-social-link:hover .footer-social-icon {
    opacity: 1;
}

.footer-credit-link {
    color: inherit;
    text-decoration: none;
}

.footer-credit-link:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    text-align: center;
    padding-bottom: 1rem;
    color: #64748b;
    font-size: 0.9rem;
}

/* Services Section (Que Hacemos) */
.services-section {
    padding: 6rem 2rem;
    background-color: #f8fafc;
}

.services-compact {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.services-grid {
    max-width: 1200px;
    margin: 3rem auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 1.5rem;
}

.service-card {
    background: #eaebed;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    display: flex;
    gap: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    align-items: flex-start;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.service-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.service-icon .material-icons-outlined {
    font-size: 48px;
    color: var(--primary);
}

.service-content h3 {
    color: #e31e25;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    font-weight: 700;
}

.service-content p {
    color: #475569;
    line-height: 1.5;
    font-size: 0.9rem;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0 0;
}

.service-list li {
    padding: 0.25rem 0;
    color: #475569;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-list li::before {
    content: "•";
    color: #e31e25;
    font-weight: bold;
}

@media (max-width: 768px) {
    .service-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem;
    }

    .service-list li {
        justify-content: center;
    }
}

/* Footer Map */
.footer-map {
    width: 320px;
    height: 80px;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    /* Removed filter grayscale for full colors as requested */
}

/* --- Level Pages Styles (Maternal, Preescolar, etc.) --- */

/* Hero Section for Levels (Maternal, Preescolar, etc) */
.level-hero {
    height: 60vh;
    min-height: 450px;
    background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.level-hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(227, 30, 37, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    top: -150px;
    right: -150px;
    animation: float 6s ease-in-out infinite;
    z-index: 0;
}

.level-hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(30, 41, 59, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
    animation: float 8s ease-in-out infinite;
    z-index: 0;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.level-hero-content {
    max-width: 900px;
    position: relative;
    z-index: 10;
    animation: fadeUp 1s ease-out;
}

@keyframes pulse-green {
    0% { background-color: white; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { background-color: #f0fdf4; box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
    100% { background-color: white; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.pulse-green {
    animation: pulse-green 1.5s ease-out;
}

.level-hero h1 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--secondary);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.level-hero p {
    font-size: clamp(1.2rem, 2.2vw, 1.45rem);
    color: var(--text-light);
    line-height: 1.8;
    max-width: 850px;
    margin: 0 auto;
}

/* Content Sections */
.content-section {
    padding: 5rem 5%;
    background: var(--white);
}

.content-section.gray {
    background: var(--bg-light);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Overrides for level pages if needed, otherwise site default applies but this ensures the specific 3rem margin */
.section-title.level-page {
    margin-bottom: 3rem;
}

/* CTA Section */
.cta-section {
    background: var(--bg-light);
    padding: 5rem 5%;
    text-align: center;
    color: var(--secondary);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    color: var(--text-light);
}

/* Methodology Section */
.methodology-section {
    background-color: #fff;
    padding: 6rem 1rem 4rem;
    text-align: center;
}

.section-badge {
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.section-main-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    color: var(--secondary);
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.25;
}

/* WhatsApp Button Section */

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: -40px;
    right: -50px;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    text-decoration: none;
}

.whatsapp-label {
    position: absolute;
    right: 160px;
    top: 60px;
    background: white;
    color: #1e293b;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.whatsapp-label::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid white;
}

.whatsapp-btn:hover .whatsapp-label {
    opacity: 1;
    transform: translateX(0);
}

.whatsapp-btn:hover {
    transform: scale(1.05) translateY(-5px);
}

.whatsapp-badge {
    position: absolute;
    bottom: 155px;
    right: 70px;
    background: #25d366;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 2px solid white;
    z-index: 10;
    transition: all 0.3s ease;
}

.whatsapp-icon-small {
    font-size: 16px;
    margin-right: 4px;
    vertical-align: middle;
}

.whatsapp-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.whatsapp-badge svg {
    width: 18px;
    height: 18px;
}

.whatsapp-btn:hover .whatsapp-badge {
    transform: scale(1.2) rotate(-10deg);
    background: #128c7e;
}

@keyframes pulse-whatsapp {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-badge {
    animation: pulse-whatsapp 2s infinite;
}

@media (max-width: 768px) {
    .level-hero {
        padding: 8rem 5% 4rem;
        min-height: 400px;
    }

    .level-hero h1 {
        font-size: 2.8rem;
    }

    .level-hero p {
        font-size: 1.1rem;
    }

    .areas-grid,
    .info-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex !important;
        background: none;
        border: none;
        color: var(--secondary);
        cursor: pointer;
        font-size: 1.8rem;
        align-items: center;
        justify-content: center;
        padding: 0;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        z-index: 1001;
        text-align: center;
    }

    .nav-links.active {
        display: flex !important;
    }

    .nav-link {
        font-size: 1.1rem;
        width: 100%;
        padding: 0.5rem 0;
    }

    .btn-cta {
        width: 100%;
        margin-top: 0.5rem;
        display: block;
        text-align: center;
    }
}

/* --- Confirmation Ticket (Premium) --- */
.confirmation-ticket {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    max-width: 400px;
    margin: 0 auto 2rem;
    position: relative;
    border: 1px solid #f1f5f9;
    text-align: left;
}

.confirmation-ticket::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -10px;
    width: 20px;
    height: 20px;
    background: #f8fafc;
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: inset -2px 0 5px rgba(0,0,0,0.05);
}

.confirmation-ticket::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10px;
    width: 20px;
    height: 20px;
    background: #f8fafc;
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: inset 2px 0 5px rgba(0,0,0,0.05);
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed #e2e8f0;
}

.ticket-folio-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: 700;
    letter-spacing: 0.1em;
    display: block;
}

.ticket-folio-val {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--secondary);
}

.qr-container {
    width: 80px;
    height: 80px;
    background: #f8fafc;
    border-radius: 12px;
    padding: 6px;
    border: 1px solid #e2e8f0;
}

.ticket-section-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: 700;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.25rem;
}

.ticket-val {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.ticket-val.highlight {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}
/* Back Button */
.back-button {
    position: fixed;
    top: 100px;
    left: 30px;
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    text-decoration: none;
    color: #e31e25;
}

.back-button:hover {
    background: #e31e25;
    color: white;
    transform: translateX(-4px);
    box-shadow: 0 6px 20px rgba(227, 30, 37, 0.3);
}

.back-button .material-icons-outlined {
    font-size: 24px;
}

/* Enrollment Container - High Specificity needed to override admin style.css */
#public-inquiry-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 160px 20px 80px;
    position: relative;
    z-index: 1;
    background: #f1f5f9 !important;
    min-height: calc(100vh - 80px);
}

#public-inquiry-container .premium-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    width: 100%;
    max-width: 650px;
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#public-inquiry-container .form-header {
    background: white;
    padding: 3rem 2rem 1.5rem;
    text-align: center;
    color: #0f172a;
    border-bottom: 1px solid #e2e8f0;
}

#public-inquiry-container .form-header h1 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}

#public-inquiry-container .form-header p {
    margin-top: 0.5rem;
    opacity: 1;
    font-weight: 500;
    color: #64748b;
}

#public-inquiry-container .logo-container {
    background: transparent;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    padding: 0;
}

#public-inquiry-container .logo-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

#public-inquiry-container .separator-line {
    width: calc(100% + 4rem);
    height: 1px;
    background-color: #E31E25;
    margin-left: -2rem;
}

#public-inquiry-container .separator-line.top {
    margin-bottom: 0.25rem;
}

#public-inquiry-container .separator-line.bottom {
    margin-top: 2rem;
}

#public-inquiry-container .form-content {
    padding: 0.5rem 2.5rem 2.5rem;
}

#public-inquiry-container .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    #public-inquiry-container .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

#public-inquiry-container .form-group {
    margin-bottom: 1.5rem !important;
}

#public-inquiry-container .form-group label {
    display: block !important;
    margin-bottom: 0.6rem !important;
    font-weight: 600 !important;
    color: #334155 !important;
    font-size: 0.9rem !important;
}

#public-inquiry-container .form-group input,
#public-inquiry-container .form-group select {
    width: 100% !important;
    padding: 0.8rem 1rem !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    font-size: 1rem !important;
    color: #1e293b !important;
    background-color: #f8fafc !important;
    height: auto !important;
    line-height: normal !important;
}

#public-inquiry-container .form-group input:focus,
#public-inquiry-container .form-group select:focus {
    border-color: #e31e25 !important;
    background-color: white !important;
    box-shadow: 0 0 0 4px rgba(227, 30, 37, 0.1) !important;
}

#btn-submit.btn-primary {
    padding: 1.25rem 3rem !important;
    font-size: 1.1rem !important;
    width: 100% !important;
    max-width: 350px !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #e31e25 0%, #b91c23 100%) !important;
    color: white !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    box-shadow: 0 10px 20px rgba(227, 30, 37, 0.2) !important;
    display: flex !important;
    margin: 0 auto !important;
}

#public-inquiry-container .phone-group {
    display: flex;
    gap: 1rem;
    align-items: center;
}

#public-inquiry-container .phone-group select {
    width: 120px !important;
    min-width: 120px !important;
    flex: 0 0 auto !important;
}

#public-inquiry-container .phone-group input {
    width: auto !important;
    flex: 1 !important;
}

@media (max-width: 480px) {
    #public-inquiry-container .phone-group {
        flex-direction: column;
        gap: 0.5rem;
    }

    #public-inquiry-container .phone-group select,
    #public-inquiry-container .phone-group input {
        width: 100% !important;
    }
}

.hidden {
    display: none !important;
}

.error-text {
    color: #ef4444;
    display: none;
    margin-top: 0.25rem;
    font-size: 0.85rem;
}

.success-screen {
    display: none;
    text-align: center;
    padding: 3rem 1rem;
}

.success-icon {
    font-size: 4.5rem !important;
    color: #10b981;
    margin-bottom: 1.5rem;
}

.success-screen h3 {
    color: var(--secondary);
    font-size: 1.8rem;
    font-weight: 700;
}