:root {
    --primary-color: #6c5ce7;
    --secondary-color: #a29bfe;
    --accent-color: #fd79a8;
    --text-dark: #2d3436;
    --text-muted: #636e72;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.3);
    --card-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
}

/* Slider & Hero Section */
.hero-slider-item {
    height: auto !important;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.hero-image-wrap {
    height: 450px;
    background: #f1f2f6;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-wrap img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.hero-text-area {
    background: #fff;
    padding: 3rem 0 4.5rem;
    text-align: center;
    border-bottom: 1px solid #f1f2f6;
    z-index: 10;
    position: relative;
}

.premium-hero-title {
    font-size: 2.2rem !important;
    font-weight: 900;
    color: var(--primary-color) !important;
    margin-bottom: 1.5rem !important;
    text-transform: uppercase;
    letter-spacing: -1px;
}

/* Stats Section */
.stats-bar {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
    z-index: 20;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border-bottom: 5px solid var(--primary-color);
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 5px;
    letter-spacing: -2px;
}

.stat-item p {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    color: var(--text-muted);
}

/* Workshop Cards */
.workshop-card {
    background: #fff;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    transition: all 0.4s ease;
    text-align: center;
    border: 1px solid #f1f2f6;
    height: 100%;
}

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

.workshop-card .icon-wrapper {
    width: 70px;
    height: 70px;
    background: #f8faff;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.workshop-card:hover .icon-wrapper {
    background: var(--primary-color);
}

.workshop-card:hover i {
    color: #fff;
}

.workshop-card i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

/* News Cards */
.news-card {
    position: relative;
    height: 380px;
    border-radius: 20px;
    overflow: hidden;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    background-color: #f1f2f6;
}

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

.news-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.news-date-badge {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    display: block;
}

.news-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    color: #fff !important;
    line-height: 1.35;
}

.news-more {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.news-card:hover .news-more {
    color: #fff;
}

/* STEM Centres CTA */
.centres-cta {
    padding: 85px 0;
    background: linear-gradient(135deg, #6c5ce7 0%, #4834d4 100%);
    position: relative;
    overflow: hidden;
    color: #fff;
    margin-top: 60px;
    border-radius: 40px;
    margin-left: 15px;
    margin-right: 15px;
}

.centres-cta__title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #fff;
}

.centres-cta__text {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 40px;
    max-width: 650px;
    line-height: 1.6;
}

.centres-cta__btn {
    background: #fff;
    color: var(--primary-color) !important;
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    transition: all 0.4s ease;
}

.centres-cta__btn:hover {
    transform: translateY(-5px);
    background: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* District Link Cards */
.district-link-card {
    display: block;
    background: #fff;
    border-radius: 20px;
    padding: 35px 25px;
    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 #f1f5f9;
    height: 100%;
    position: relative;
    overflow: hidden;
    text-decoration: none !important;
}

.district-link-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(108, 92, 231, 0.12);
    border-color: rgba(108, 92, 231, 0.2);
}

.district-link-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.district-link-card h4 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 5px;
}

.district-link-card span {
    font-size: 0.85rem;
    color: #text-muted;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.district-link-card .go-btn {
    margin-top: 20px;
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    color: var(--primary-color);
    transition: all 0.3s;
}

.district-link-card:hover .go-btn {
    background: var(--primary-color);
    color: #fff;
}

/* Map Section Enhanced */
.map-container-wrap {
    padding: 100px 0;
    background: #f8f9fa;
}

.map-card {
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
    height: 550px;
}

.home-map-section {
    height: 100%;
    width: 100%;
}

.home-map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Global Utilities */
.section-padding {
    padding: 7rem 0;
}

.section-title {
    margin-bottom: 3rem;
}

.section-title h2 {
    font-weight: 800;
    font-size: 2rem;
}

.thm-btn {
    background: var(--primary-color);
    color: #fff;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    transition: all 0.3s ease;
}

.thm-btn:hover {
    background: #5b4dc3;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(108, 92, 231, 0.3);
}

.bg-light {
    background-color: #f8f9fa !important;
}

@media (max-width: 991px) {
    .centres-cta {
        border-radius: 0;
        margin-left: 0;
        margin-right: 0;
    }

    .map-card {
        height: 400px;
        border-radius: 0;
    }
}

@media (max-width: 768px) {
    .centres-cta {
        padding: 60px 20px;
        text-align: center;
    }

    .premium-hero-title {
        font-size: 1.4rem !important;
    }

    .stat-item h3 {
        font-size: 2rem;
    }
}