:root {
    --primary: #498ecb;
    --secondary: #4c3073;
    --accent: #ffc107;
    --school-navy: #1a2a44;
    --school-gold: #b8860b;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-heavy: rgba(255, 255, 255, 0.8);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.hero-section {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.7);
    z-index: -1;
    transition: transform 10s ease;
}

.hero-section:hover .hero-bg {
    transform: scale(1.1);
}

.hero-content {
    text-align: center;
    padding: 2rem;
    background: var(--glass);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: var(--shadow);
    max-width: 800px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--secondary);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 0.5rem auto;
    border-radius: 2px;
}

.premium-card {
    background: white;
    border-radius: 15px;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
}

.premium-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.bg-light-gradient {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

.btn-premium {
    background: linear-gradient(135deg, var(--school-navy) 0%, #2c3e50 100%);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 12px 35px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(26, 42, 68, 0.3);
}

.btn-premium:hover {
    background: var(--school-gold);
    color: var(--school-navy);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(184, 134, 11, 0.4);
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.bg-light-primary {
    background: #e7f1ff;
}

.premium-card:hover .icon-circle {
    background: var(--school-navy);
    color: white !important;
    transform: rotate(360deg);
}

.premium-card:hover .icon-circle i {
    color: white !important;
}

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

.fadeIn {
    animation: fadeInAnim 1s ease-out forwards;
}

@keyframes fadeInAnim {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Specific button style */
.btn-premium {
    background: var(--primary);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    border: none;
}

.btn-premium:hover {
    background: var(--secondary);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Back Navigation Link */
.back-nav-link {
    display: inline-flex;
    align-items: center;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.8);
    padding: 8px 20px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0,0,0,0.05);
}

.back-nav-link i {
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.back-nav-link:hover {
    color: var(--primary);
    transform: translateX(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.back-nav-link:hover i {
    transform: translateX(-3px);
}

/* Publications & News */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.news-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(26, 42, 68, 0.2);
}

.news-img {
    height: 220px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.news-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--school-gold);
    color: #1a2a44;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    z-index: 2;
}

.news-body {
    padding: 1.5rem;
    position: relative;
}

.news-date {
    font-size: 0.85rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.news-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a2a44;
    margin-bottom: 12px;
    line-height: 1.3;
}

.news-excerpt {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.event-timeline {
    position: relative;
    padding: 2rem 0;
}

.event-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(5px);
    border-left: 5px solid var(--school-gold);
    border-radius: 0 15px 15px 0;
    transition: all 0.3s ease;
}

.event-item:hover {
    background: #fff;
    transform: scale(1.02);
}

.event-date-box {
    min-width: 80px;
    text-align: center;
}

.event-day {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--school-navy);
    line-height: 1;
}

.event-month {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--school-gold);
    text-transform: uppercase;
}

.event-details h5 {
    font-weight: 700;
    margin-bottom: 5px;
}

.matricula-banner {
    background: linear-gradient(135deg, #1a2a44 0%, #2c3e50 100%);
    color: #fff;
    padding: 4rem 2rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    margin: 3rem 0;
}

/* Holiday Popup Styles */
.holiday-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.holiday-modal.active {
    opacity: 1;
    visibility: visible;
}

.holiday-content {
    background: white;
    width: 90%;
    max-width: 500px;
    border-radius: 25px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    transform: scale(0.8) translateY(50px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 5px solid var(--school-gold);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.holiday-modal.active .holiday-content {
    transform: scale(1) translateY(0);
}

.holiday-icon-bg {
    width: 100px;
    height: 100px;
    background: var(--school-navy);
    color: var(--school-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 3rem;
    box-shadow: 0 10px 20px rgba(26, 42, 68, 0.2);
}

.holiday-title {
    color: var(--school-navy);
    font-weight: 800;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.holiday-date-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--school-gold);
    margin-bottom: 1.5rem;
}

.holiday-desc {
    color: #444;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.holiday-flag {
    display: flex;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.flag-y { flex: 2; background: #FFD700; }
.flag-b { flex: 1; background: #0033A0; }
.flag-r { flex: 1; background: #ED1C24; }

.btn-holiday-close {
    background: #8e44ad;
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 30px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-holiday-close:hover {
    background: #732d91;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(142, 68, 173, 0.4);
}

/* Collage Section Styles */
.collage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-auto-rows: 240px;
    grid-gap: 20px;
    grid-auto-flow: dense;
}

.collage-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.collage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
    z-index: 2;
}

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

.collage-item:hover img {
    transform: scale(1.1);
}

.collage-item.wide {
    grid-column: span 2;
}

.collage-item.tall {
    grid-row: span 2;
}

.collage-item.big {
    grid-column: span 2;
    grid-row: span 2;
}

@media (max-width: 992px) {
    .collage-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

@media (max-width: 768px) {
    .collage-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 300px;
    }
    .collage-item.wide, .collage-item.big, .collage-item.tall {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* Institutional Page Styles */
.inst-header {
    height: 40vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    margin-bottom: 3rem;
    position: relative;
}

.inst-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
}

.inst-header h1 {
    position: relative;
    z-index: 1;
    font-size: 3.5rem;
    font-weight: 800;
}

.mission-vision-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
    border-top: 5px solid var(--primary);
    transition: transform 0.3s ease;
}

.mission-vision-card:hover {
    transform: translateY(-5px);
}

.history-section {
    background: #f8f9fa;
    padding: 4rem 0;
    margin-top: 4rem;
    border-radius: 50px 50px 0 0;
}

.history-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
}

.inst-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

/* Premium Mission/Vision Cards */
.premium-mission-card {
    background: white;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.premium-mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(26, 42, 68, 0.12);
}

.premium-mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--school-navy);
}

.premium-mission-card.style-vision::before {
    background: var(--school-gold);
}

.icon-circle-large {
    width: 80px;
    height: 80px;
    background: rgba(26, 42, 68, 0.05);
    color: var(--school-navy);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    transition: all 0.3s ease;
}

.style-vision .icon-circle-large {
    background: rgba(184, 134, 11, 0.05);
    color: var(--school-gold);
}

.premium-mission-card:hover .icon-circle-large {
    transform: rotate(10deg) scale(1.1);
    background: var(--school-navy);
    color: white;
}

.style-vision:hover .icon-circle-large {
    background: var(--school-gold);
    color: white;
}

.card-corner-decoration {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: rgba(26, 42, 68, 0.03);
    border-radius: 50%;
    transition: all 0.5s ease;
}

.premium-mission-card:hover .card-corner-decoration {
    transform: scale(3);
    background: rgba(26, 42, 68, 0.06);
}

.display-6 {
    color: var(--school-navy);
    letter-spacing: -0.5px;
}

.text-navy {
    color: var(--school-navy);
}

.bg-gold {
    background-color: var(--school-gold);
}

/* Contact Page Styles */
.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

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

.contact-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    background: #f0f7ff;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    display: inline-block;
}

.contact-form-container {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.form-floating > .form-control {
    border-radius: 10px;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 450px;
}

.social-links a {
    font-size: 1.5rem;
    margin: 0 10px;
    color: var(--secondary);
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary);
}

/* Authentication Pages Styles */
.auth-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../storage/img/colegio/panoramica.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(10px) brightness(0.6);
    z-index: -1;
    transform: scale(1.1);
}

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 450px;
    padding: 3rem;
    overflow: hidden;
    position: relative;
}

.auth-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1));
}

.auth-glass-card h2 {
    color: var(--secondary);
    font-weight: 800;
    margin-bottom: 2rem;
}

.auth-glass-card .form-control {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 12px 15px;
}

.auth-glass-card .form-control:focus {
    background: white;
    box-shadow: 0 0 0 0.25rem rgba(73, 142, 203, 0.25);
}

.auth-links a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.auth-links a:hover {
    color: var(--secondary);
}

/* Academic Areas Styles */
.area-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    height: 100%;
}

.area-card:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.area-img-container {
    height: 200px;
    overflow: hidden;
    position: relative;
}

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

.area-card:hover img {
    transform: scale(1.1);
}

.area-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(76, 48, 115, 0.7), transparent);
}

.area-content {
    padding: 1.5rem;
    text-align: center;
}

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

.area-badge {
    background: #f0f7ff;
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

/* Footer Gallery Styles */
.footer-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 15px;
}

.footer-gallery-item {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.footer-gallery-item:hover {
    transform: scale(1.1);
}

.footer-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Simulator & Reward Styles */
.simulator-container {
    background: #ffffff;
    border-radius: 25px;
    padding: 2rem;
    box-shadow: 0 15px-40px rgba(0,0,0,0.1);
    border: 2px solid var(--primary);
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

.simulator-header {
    text-align: center;
    margin-bottom: 2rem;
}

.simulator-header h4 {
    color: var(--secondary);
    font-weight: 800;
}

.game-area {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.quiz-option {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    padding: 1rem 1.5rem;
    margin: 0.5rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 400px;
    text-align: center;
    font-weight: 600;
}

.quiz-option:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-3px);
}

.quiz-option.correct {
    background: #28a745 !important;
    color: white !important;
    border-color: #28a745 !important;
}

.quiz-option.wrong {
    background: #dc3545 !important;
    color: white !important;
    border-color: #dc3545 !important;
}

/* Reward Trophy Modal */
.reward-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.trophy-card {
    background: white;
    padding: 3rem;
    border-radius: 30px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    transform: scale(0.8);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 5px solid gold;
    position: relative;
}

.reward-modal.active {
    display: flex;
}

.reward-modal.active .trophy-card {
    transform: scale(1);
}

.trophy-icon {
    font-size: 5rem;
    color: gold;
    margin-bottom: 1.5rem;
    animation: bounce 2s infinite;
}

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

/* Confetti effect */
.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: red;
    animation: fall 3s linear forwards;
}

@keyframes fall {
    0% { transform: translateY(-100vh) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

/* Institutional Premium Enhancements */
.inst-header-premium {
    height: 60vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.inst-header-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(26, 42, 68, 0.9), rgba(26, 42, 68, 0.4));
    z-index: 1;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: white;
    padding: 20px 30px;
    border-radius: 20px;
    border-left: 5px solid var(--school-gold);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.experience-badge .number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--school-navy);
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--school-gold);
    text-transform: uppercase;
    white-space: nowrap;
}

.main-history-img {
    border: 10px solid white;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.timeline-simple {
    position: relative;
    padding-left: 30px;
}

.timeline-simple::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(184, 134, 11, 0.2);
}

.timeline-item-simple {
    position: relative;
    margin-bottom: 2.5rem;
}

.timeline-item-simple::before {
    content: '';
    position: absolute;
    left: -34px;
    top: 5px;
    width: 10px;
    height: 10px;
    background: var(--school-gold);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(184, 134, 11, 0.1);
}

.year-marker {
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.premium-symbol-card {
    background: #f8fafc;
    padding: 3rem 2rem;
    border-radius: 25px;
    height: 100%;
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.02);
}

.premium-symbol-card:hover {
    background: white;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.symbol-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2.5rem;
    transition: transform 0.5s ease;
}

.premium-symbol-card:hover .symbol-circle {
    transform: rotateY(180deg);
}

.symbol-img-hover {
    transition: transform 0.5s ease;
}

.premium-symbol-card:hover .symbol-img-hover {
    transform: rotateY(180deg);
}

.letter-spacing-2 { letter-spacing: 2px; }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.z-index-1 { z-index: 1; }
.text-gold { color: var(--school-gold); }
/* Section Watermark Style */
.section-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    max-width: 600px;
    opacity: 0.04; /* Very subtle for professional look */
    pointer-events: none;
    z-index: 0;
    user-select: none;
}

.section-watermark img {
    width: 100%;
    height: auto;
    filter: grayscale(100%);
}

.z-index-1 { z-index: 1; }
.pos-relative { position: relative; }

/* Modern Timeline for Robotics Levels */
.timeline-modern {
    position: relative;
    padding-left: 50px;
}

.timeline-modern::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary), var(--school-gold));
    border-radius: 10px;
    opacity: 0.3;
}

.timeline-item-modern {
    position: relative;
    margin-bottom: 3rem;
    transition: all 0.5s ease;
}

.timeline-circle {
    position: absolute;
    left: -50px;
    top: 0;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 3px solid white;
}

.timeline-item-modern .content {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.timeline-item-modern:hover .content {
    transform: translateX(10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
    border-left: 5px solid var(--primary);
}

.timeline-item-modern:hover .timeline-circle {
    transform: scale(1.2) rotate(15deg);
}

.bg-navy { background-color: var(--school-navy) !important; }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Premium Footer */
.footer-premium {
    position: relative;
    overflow: hidden;
    padding-top: 2rem;
}

/* Footer Wave Decor */
.footer-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, var(--school-gold), #f1c40f, var(--school-gold));
}

.footer-links a {
    transition: all 0.3s ease;
    display: inline-block;
    color: #ecf0f1 !important; /* Brighter light gray */
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #f1c40f !important; /* Vibrant yellow/gold */
    transform: translateX(8px);
}

.footer-links i {
    font-size: 0.8rem;
    margin-right: 8px;
    opacity: 0.5;
}

.social-links a {
    width: 42px;
    height: 42px;
    line-height: 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: white;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-right: 12px;
    background: rgba(255, 255, 255, 0.05);
}

.social-links a:hover {
    background: var(--school-gold);
    border-color: var(--school-gold);
    color: var(--school-navy);
    transform: translateY(-5px) rotate(8deg);
    box-shadow: 0 10px 20px rgba(184, 134, 11, 0.3);
}

.footer-newsletter-input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 30px;
    padding: 12px 20px;
    font-size: 0.9rem;
}

.footer-newsletter-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--school-gold);
    box-shadow: none;
    color: white;
}

.btn-subscribe {
    background: var(--school-gold);
    color: var(--school-navy);
    border-radius: 30px;
    padding: 12px 25px;
    font-weight: 700;
    margin-left: -50px;
    transition: all 0.3s;
    border: none;
}

.btn-subscribe:hover {
    background: white;
    transform: scale(1.05);
}

.footer-premium h4, 
.footer-premium h6 {
    color: #f1c40f !important; /* Brighter gold for titles */
}

.footer-premium .text-white-50 {
    color: rgba(255, 255, 255, 0.8) !important; /* Brighter secondary text */
}
/* Premium Pagination Styles */
.pagination {
    gap: 8px;
    border: none;
}

.pagination .page-item {
    margin: 0;
}

.pagination .page-link {
    border: none;
    background: #f8f9fa;
    color: var(--school-navy);
    padding: 12px 20px;
    border-radius: 12px !important;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    background: var(--school-navy);
    color: white;
}

.pagination .page-link:hover {
    background: var(--school-gold);
    color: var(--school-navy);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(184, 134, 11, 0.2);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--school-navy) 0%, #2c3e50 100%);
    color: white;
    box-shadow: 0 8px 15px rgba(26, 42, 68, 0.2);
    border: none;
}

.pagination .page-item.disabled .page-link {
    background: #eee;
    color: #bbb;
    transform: none;
    box-shadow: none;
}
