/* STEMix Academy - Homepage Redesign Styles */
:root {
    --stem-navy: #002147;
    --stem-yellow: #ffc107;
    --stem-blue-light: #f0f7ff;
    --stem-blue: #007bff;
    --stem-orange: #fd7e14;
    --stem-gray: #666666;
    --stem-white: #ffffff;
}

/* Global Adjustments */
body {
    font-family: 'Inter', sans-serif;
    color: var(--stem-navy);
}

.ed-btn-yellow {
    background-color: var(--stem-yellow);
    color: var(--stem-navy);
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 8px;
    text-transform: none;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.ed-btn-yellow:hover {
    background-color: #e0ac00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

/* Hero Section Redesign */
.redesign-hero {
    background-color: var(--stem-white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-content h5 {
    color: #0056b3;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border-left: 4px solid var(--stem-yellow);
    padding-left: 15px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero-content h1 span {
    color: var(--stem-yellow);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--stem-gray);
    max-width: 500px;
    margin-bottom: 40px;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-main {
    width: 100%;
    border-radius: 30px;
    /* Optional: filter: drop-shadow(0 20px 50px rgba(0,0,0,0.1)); */
}

.floating-badge {
    position: absolute;
    background: white;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    z-index: 5;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Category Cards Redesign */
.section-title-wrapper {
    text-align: center;
    margin-bottom: 60px;
}

.section-title-wrapper h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.age-group-card {
    border-radius: 20px;
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #eee;
}

.age-group-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.age-badge {
    padding: 5px 20px;
    font-weight: 700;
    border-radius: 0 0 15px 15px;
    display: inline-block;
    margin-bottom: 20px;
}

.age-group-card.yellow-theme .age-badge { background-color: #ffc107; }
.age-group-card.blue-theme .age-badge { background-color: #007bff; color: white; }
.age-group-card.orange-theme .age-badge { background-color: #fd7e14; color: white; }
.age-group-card.navy-theme .age-badge { background-color: #1b094f; color: white; }

.age-group-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    margin: 0 20px;
    border-radius: 15px;
}

.age-group-body {
    padding: 30px;
}

.age-group-body h4 {
    font-weight: 800;
    margin-bottom: 10px;
}

.age-group-body ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.age-group-body ul li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
    color: var(--stem-gray);
    font-size: 0.95rem;
}

.age-group-body ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--stem-yellow);
    font-size: 1.5rem;
    line-height: 1;
}

.btn-outline-navy {
    border: 2px solid var(--stem-navy);
    color: var(--stem-navy);
    font-weight: 700;
    padding: 12px 25px;
    border-radius: 8px;
    transition: 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline-navy:hover {
    background: var(--stem-navy);
    color: white;
}

.ed-header__menu > li.active > a {
    color: var(--stem-yellow) !important;
}

.ed-header__menu > li > a:hover {
    color: var(--stem-yellow) !important;
}

.login-btn {
    background-color: var(--stem-navy);
    color: white;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
}

.register-btn {
    background-color: var(--stem-yellow);
    color: var(--stem-navy);
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
}

/* Footer Refinements */
.bg-white-10 {
    background-color: rgba(255,255,255,0.1);
}

.shadow-hover:hover {
    background-color: var(--stem-yellow) !important;
    color: var(--stem-navy) !important;
    transform: translateY(-3px);
    transition: all 0.3s ease;
}

.footer-links a {
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--stem-yellow) !important;
    padding-left: 5px;
}

.hover-warning:hover {
    color: var(--stem-yellow) !important;
}

.newsletter-box {
    border: 1px solid rgba(255,255,255,0.1);
}

.ed-footer {
    background-color: #001a35; /* Even deeper navy for footer */
}

@media (max-width: 991px) {
    .ed-footer__widget { margin-bottom: 30px; }
}
.section-title-wrapper h5 {
    letter-spacing: 2px;
}

/* Gallery Refinement */
.gallery-item {
    background: #eee;
    cursor: pointer;
}

.gallery-overlay {
    background: linear-gradient(to top, rgba(27, 9, 79, 0.8), transparent);
}

.object-fit-cover {
    object-fit: cover;
}

.cursor-pointer {
    cursor: pointer;
}

/* Animations */
.transition {
    transition: all 0.4s ease;
}

/* Stats Bar Responsive Fixes */
@media (max-width: 767px) {
    .stats-bar { margin-top: 0; }
    .stat-item { border-bottom: 1px solid #ddd; padding: 20px 0; }
    .stat-item:last-child { border-bottom: none; }
}

.stat-item {
    text-align: center;
    border-right: 1px solid #ddd;
}

.stat-item:last-child {
    border-right: none;
}

.stat-icon {
    font-size: 2rem;
    color: #0056b3;
    margin-bottom: 10px;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--stem-gray);
    font-weight: 600;
}

/* Responsive Fixes */
@media (max-width: 991px) {
    .hero-content h1 { font-size: 3rem; }
    .stat-item { border-right: none; margin-bottom: 30px; }
}
