/* ============================================================
   HOME PAGE — Rich & Beautiful Styles
   assets/css/pages/home.css
   ============================================================ */

/* ── Hero Carousel Enhancements ── */
.hero {
    position: relative;
    overflow: hidden;
    background: #0f172a;
}

.carousel-content h1 {
    font-family: 'Calistoga', Georgia, serif;
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    line-height: 1.15;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.carousel-content p {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 520px;
}

.carousel-indicators .indicator-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.carousel-indicators .indicator-btn.active {
    width: 32px;
    border-radius: 6px;
    background: var(--mm-accent, #0052ff);
    box-shadow: 0 0 12px rgba(0, 82, 255, 0.6);
}

/* ── Feature Cards & Center Cards ── */
.feature-item, .center-card {
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

/* Why Choose Us Numbers → Dynamic Gradient */
.feature-number {
    font-family: 'Calistoga', Georgia, serif !important;
    background: linear-gradient(135deg, #60a5fa 0%, #c084fc 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent !important;
    font-size: 3.25rem !important;
    font-weight: 700 !important;
    line-height: 1;
    margin-bottom: 12px;
    display: block !important;
}

/* Section Headings Styling */
.section-title h2 {
    font-family: 'Calistoga', Georgia, serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--mm-fg, #0f172a);
    margin-bottom: 12px;
}

/* Career planning checklist */
.career-text .mm-checklist li {
    border-bottom: 1px solid var(--mm-border, #e2e8f0);
    font-size: 0.9375rem;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ── Home Gallery Preview Section ── */
.index-gallery-section {
    background: var(--mm-muted, #f8fafc);
    padding: 84px clamp(20px, 4vw, 40px);
    position: relative;
}

.index-gallery-header {
    text-align: center;
    margin-bottom: 44px;
}

.index-gallery-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 9999px;
    border: 1px solid rgba(0, 82, 255, 0.25);
    background: rgba(0, 82, 255, 0.08);
    padding: 6px 18px;
    margin-bottom: 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--mm-accent, #0052ff);
    box-shadow: 0 2px 8px rgba(0, 82, 255, 0.1);
}

.index-gallery-title {
    font-family: 'Calistoga', Georgia, serif;
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    font-weight: 400;
    color: var(--mm-fg, #0f172a);
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}

.index-gallery-sub {
    color: var(--mm-muted-fg, #64748b);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

.index-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
    margin-bottom: 40px;
}

.index-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    height: 220px;
    background: var(--mm-border, #e2e8f0);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.index-gallery-item:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 12px 28px rgba(0, 82, 255, 0.22);
}

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

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

.index-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.2) 60%, transparent 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
}

.index-gallery-item:hover .index-gallery-overlay {
    opacity: 1;
}

.index-gallery-overlay__title {
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.35;
}

.index-gallery-overlay__cat {
    display: inline-block;
    align-self: flex-start;
    background: linear-gradient(135deg, #0052ff, #4d7cff);
    color: #ffffff;
    font-size: 10px;
    padding: 3px 10px;
    border-radius: 9999px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.index-gallery-cta {
    text-align: center;
    margin-top: 8px;
}

/* ── Enrollment Box Glow Effect ── */
.enrollment-form-box {
    transition: box-shadow 0.4s ease, transform 0.3s ease;
    border-radius: 20px;
}

/* ============ COMPACT CENTERS CAROUSEL SECTION ============ */
.centers-section {
    padding: 50px clamp(20px, 4vw, 40px);
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.mm-centers-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.mm-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.mm-centers-title-box h2 {
    font-family: 'Calistoga', Georgia, serif;
    font-size: 26px;
    color: #0f172a;
    margin-bottom: 4px;
}

.mm-centers-title-box p {
    color: #64748b;
    font-size: 14px;
    margin: 0;
}

.mm-centers-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #2563eb;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 8px 18px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.mm-centers-view-all-btn:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.mm-centers-carousel-wrapper {
    position: relative;
    padding: 4px 0;
}

.mm-centers-scroll-container {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 6px 4px 14px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.mm-centers-scroll-container::-webkit-scrollbar {
    display: none;
}

.mm-compact-center-card {
    flex: 0 0 280px;
    width: 280px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
    position: relative;
}

.mm-compact-center-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.12);
    border-color: #bfdbfe;
}

.mm-center-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.mm-center-badge {
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 3px 8px;
    border-radius: 4px;
}

.mm-center-badge.premium {
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
}

.mm-center-badge.tally {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.mm-center-badge.coding {
    background: rgba(147, 51, 234, 0.1);
    color: #7e22ce;
}

.mm-center-badge.english {
    background: rgba(234, 88, 12, 0.1);
    color: #c2410c;
}

.mm-center-badge.youth {
    background: rgba(14, 165, 233, 0.1);
    color: #0284c7;
}

.mm-center-badge.job {
    background: rgba(236, 72, 153, 0.1);
    color: #db2777;
}

.mm-center-link {
    color: #94a3b8;
    font-size: 12px;
    transition: color 0.2s;
}

.mm-center-link:hover {
    color: #2563eb;
}

.mm-center-name {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.35;
}

.mm-center-detail {
    font-size: 12.5px;
    color: #64748b;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.mm-center-detail i {
    color: #2563eb;
    font-size: 12px;
    width: 14px;
    text-align: center;
}

.mm-center-detail a {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
}

.mm-center-detail a:hover {
    color: #2563eb;
}

.mm-center-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 10px 0 14px;
}

.mm-center-tag {
    font-size: 10.5px;
    background: #f1f5f9;
    color: #475569;
    padding: 2px 7px;
    border-radius: 4px;
    font-weight: 500;
}

.mm-center-inquire-btn {
    width: 100%;
    background: #2563eb;
    color: #ffffff;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.25s ease;
}

.mm-center-inquire-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}
