.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 160px 0 110px 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/colegio.jpeg') center/cover no-repeat;
    z-index: -2;
    transform: scale(1.04);
    animation: subtleZoom 20s alternate infinite ease-in-out;
}

@keyframes subtleZoom {
    0% { transform: scale(1.0); }
    100% { transform: scale(1.08); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        140deg,
        rgba(6, 35, 25, 0.95) 0%,
        rgba(10, 68, 48, 0.88) 55%,
        rgba(0, 104, 71, 0.8) 100%
    );
    z-index: -1;
}

.hero-content {
    color: #fff;
    max-width: 1000px;
    text-align: center;
    margin: 0 auto;
    opacity: S0;
    transform: translateY(30px);
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.3s;
    position: relative;
    z-index: 1;
}

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

.badge-glow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background-color: rgba(206, 17, 38, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.55);
    color: #fca5a5;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(206, 17, 38, 0.3);
    animation: badgePulse 3s infinite ease-in-out;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 15px rgba(206, 17, 38, 0.25); }
    50% { box-shadow: 0 0 25px rgba(206, 17, 38, 0.5); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.12;
    margin-bottom: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.hero-title .highlight {
    background: linear-gradient(120deg, #4ade80 0%, #ffffff 50%, #fca5a5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin: 0 auto 36px auto;
    max-width: 780px;
    line-height: 1.65;
    opacity: 0.95;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.hero-stats-wrapper {
    margin-top: 15px;
    width: 100%;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    background: rgba(6, 35, 25, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 26px 20px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    list-style: none;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0 10px;
}

.stat-card:last-child {
    border-right: none;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: #4ade80;
    line-height: 1.1;
    margin-bottom: 6px;
    text-shadow: 0 2px 12px rgba(74, 222, 128, 0.35);
}

.stat-card:nth-child(2) .stat-number {
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(255, 255, 255, 0.35);
}

.stat-card:nth-child(3) .stat-number {
    color: #fca5a5;
    text-shadow: 0 2px 12px rgba(239, 68, 68, 0.35);
}

.stat-card:nth-child(4) .stat-number {
    color: #4ade80;
    text-shadow: 0 2px 12px rgba(74, 222, 128, 0.35);
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.hero-shape-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 2;
}

.hero-shape-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

.hero-shape-divider .shape-fill {
    fill: #ffffff;
}

/* 2. PRESENTACIÓN INSTITUCIONAL / BIENVENIDA*/
.welcome-section {
    padding: 95px 0 85px 0;
    background-color: #ffffff;
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.welcome-lead {
    font-size: 1.15rem;
    color: var(--primary-color);
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 18px;
}

.welcome-text p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 25px;
}

.welcome-features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0 35px 0;
}

.welcome-feature-box {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    background-color: var(--bg-light);
    border-radius: 12px;
    padding: 18px;
    border-left: 4px solid var(--secondary-color);
    transition: var(--transition);
}

.welcome-feature-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.welcome-feature-box i {
    font-size: 1.6rem;
    color: var(--secondary-color);
    margin-top: 3px;
    flex-shrink: 0;
}

.welcome-feature-box h3 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 6px;
    font-family: var(--font-body);
    font-weight: 700;
}

.welcome-feature-box p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.45;
}

.welcome-visual {
    position: relative;
}

.welcome-image-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(6, 35, 25, 0.12);
    border: 1px solid var(--border-color);
}

.welcome-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.welcome-image-card:hover .welcome-img {
    transform: scale(1.04);
}

.welcome-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(6, 35, 25, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    padding: 14px 20px;
    font-size: 0.86rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.welcome-caption i {
    color: #4ade80;
}

.welcome-floating-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--secondary-color), #045036);
    color: #fff;
    padding: 18px 24px;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0, 104, 71, 0.35);
    text-align: center;
    animation: floatBadge 5s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.25);
    z-index: 3;
}

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

.badge-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.badge-txt {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    max-width: 130px;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.95);
}

/* 3. PILARES DE FORMACIÓN / MODELO EDUCATIVO*/
.pillars-section {
    background-color: var(--bg-light);
    padding: 95px 0;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    margin-top: 50px;
}

.pillar-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 35px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.09);
    border-color: var(--secondary-color);
}

.pillar-icon-box {
    width: 65px;
    height: 65px;
    border-radius: 16px;
    background-color: rgba(0, 104, 71, 0.12);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 22px;
    transition: var(--transition);
}

.pillar-icon-box.accent {
    background-color: rgba(206, 17, 38, 0.12);
    color: var(--accent-color);
}

.pillar-card:hover .pillar-icon-box {
    transform: scale(1.1) rotate(5deg);
}

.pillar-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    line-height: 1.3;
}

.pillar-card p {
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.pillar-points {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    border-top: 1px solid #f1f5f9;
    padding-top: 16px;
    list-style: none;
}

.pillar-points li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-main);
}

.pillar-points li i {
    color: var(--secondary-color);
    font-size: 0.85rem;
}

/* 4. NIVELES EDUCATIVOS PREVIEW*/
.levels-preview-section {
    padding: 95px 0;
    background-color: #ffffff;
}

.levels-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    margin-top: 50px;
}

.level-showcase-card {
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.level-showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.level-card-media {
    position: relative;
    height: 270px;
    overflow: hidden;
}

.level-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.level-showcase-card:hover .level-card-media img {
    transform: scale(1.08);
}

.level-badge-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(6, 35, 25, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.level-badge-tag.secondary {
    background: rgba(206, 17, 38, 0.92);
}

.level-card-body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.level-card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.level-card-intro {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 22px;
}

.level-card-highlights {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
    list-style: none;
    flex-grow: 1;
}

.level-card-highlights li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-main);
}

.level-card-highlights li i {
    color: var(--secondary-color);
    font-size: 1rem;
}

.level-card-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
}

/*5. INFRAESTRUCTURA & ESPACIOS FORMATIVOS*/
.campus-section {
    padding: 95px 0;
    background-color: var(--bg-light);
}

.campus-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.campus-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 340px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.campus-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.campus-card:hover img {
    transform: scale(1.08);
}

.campus-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(6, 35, 25, 0.95) 0%,
        rgba(6, 35, 25, 0.65) 55%,
        rgba(6, 35, 25, 0.1) 100%
    );
    color: #fff;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: var(--transition);
}

.campus-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 104, 71, 0.35);
    border: 1px solid rgba(0, 104, 71, 0.6);
    color: #4ade80;
    padding: 4px 10px;
    border-radius: 14px;
    font-size: 0.74rem;
    font-weight: 600;
    margin-bottom: 10px;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.campus-overlay h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: #fff;
    line-height: 1.25;
}

.campus-overlay p {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    opacity: 0.9;
}


/*7. NOTICIAS Y AGENDA INSTITUCIONAL */
.news-section {
    padding: 95px 0;
    background-color: var(--bg-light);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.news-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
}

.news-media {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card:hover .news-media img {
    transform: scale(1.08);
}

.news-category {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background-color: var(--secondary-color);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.news-category.sports {
    background-color: var(--secondary-color);
}

.news-category.culture {
    background-color: var(--accent-color);
}

.news-content {
    padding: 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-meta {
    display: flex;
    gap: 16px;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.news-meta i {
    color: var(--secondary-color);
    margin-right: 5px;
}

.news-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    line-height: 1.35;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.news-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.news-link {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    margin-top: auto;
}

.news-link:hover {
    color: var(--secondary-hover);
    transform: translateX(4px);
}

/*8. TESTIMONIOS DE LA COMUNIDAD*/
.testimonials-section {
    padding: 95px 0;
    background-color: #ffffff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 36px 30px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.09);
    border-color: rgba(0, 104, 71, 0.4);
}

.testimonial-stars {
    color: #eab308;
    font-size: 0.95rem;
    margin-bottom: 18px;
    display: flex;
    gap: 4px;
}

.testimonial-card blockquote {
    font-style: italic;
    color: var(--text-main);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #f1f5f9;
    padding-top: 18px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 104, 71, 0.12);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.author-name {
    font-style: normal;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    font-size: 1rem;
    line-height: 1.2;
}

.author-role {
    font-size: 0.82rem;
    color: var(--text-muted);
    display: block;
    margin-top: 4px;
}

/*9. PREGUNTAS FRECUENTES (FAQ SEMÁNTICO)*/
.faq-section {
    padding: 95px 0;
    background-color: var(--bg-light);
}

.faq-container {
    max-width: 860px;
    margin: 45px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.faq-item[open] {
    border-color: var(--secondary-color);
    box-shadow: 0 10px 25px rgba(0, 104, 71, 0.1);
}

.faq-question {
    padding: 22px 25px;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    user-select: none;
    transition: var(--transition);
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    color: var(--secondary-color);
}

.faq-arrow {
    font-size: 0.9rem;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-item[open] .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px 22px 25px;
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.7;
    border-top: 1px solid #f8fafc;
}

/*10. BANNER CTA PRE-FOOTER*/
.cta-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, #063c29 70%, var(--secondary-color) 100%);
    color: #ffffff;
    padding: 85px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(206, 17, 38, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.cta-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.cta-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(206, 17, 38, 0.2);
    border: 1px solid rgba(206, 17, 38, 0.45);
    color: #fca5a5;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.cta-text h2 {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #ffffff;
}

.cta-text p {
    font-size: 1.12rem;
    opacity: 0.92;
    max-width: 600px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/*11. ANIMACIONES DE DESPLAZAMIENTO (SCROLL ANIMATIONS)*/
.scroll-anim {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-anim.visible {
    opacity: 1;
    transform: translateY(0);
}

/*12. RESPONSIVE DESIGN (MEDIA QUERIES)*/
@media (max-width: 1100px) {
    .hero-title {
        font-size: 3.2rem;
    }
    
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .campus-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .cta-text p {
        margin: 0 auto;
    }

    .cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 992px) {
    .welcome-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .welcome-visual {
        max-width: 600px;
        margin: 0 auto;
    }

    .levels-preview-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-card:nth-child(2) {
        border-right: none;
    }

    .news-grid {
        grid-template-columns: 1fr;
        max-width: 550px;
        margin: 45px auto 0 auto;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 550px;
        margin: 45px auto 0 auto;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 130px 0 80px 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto 35px auto;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-card {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        padding-bottom: 15px;
    }

    .stat-card:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .welcome-features-list {
        grid-template-columns: 1fr;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .campus-grid {
        grid-template-columns: 1fr;
    }

    .cta-text h2 {
        font-size: 2rem;
    }

    .welcome-floating-badge {
        position: static;
        margin-top: 15px;
        display: inline-block;
    }
}
