:root {
    --primary-indigo: #4f46e5;
    --dark-indigo: #1e1b4b;
    --light-indigo: #e0e7ff;
    --bg-slate: #f8fafc;
    --text-muted: #64748b;
}

body {
    font-family: "Plus Jakarta Sans", sans-serif;
    scroll-behavior: smooth;
    background-color: var(--bg-slate);
    color: #fff;
    background: linear-gradient(90deg, #2b0040, #1a0026);
    overflow-x: hidden;
}

/* Scroll Animation Utility */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Topbar styling */
.topbar {
    background-color: var(--dark-indigo);
    color: var(--light-indigo);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 10px 0;
}

.topbar a {
    color: var(--light-indigo);
    text-decoration: none;
    transition: color 0.2s;
}

.topbar a:hover {
    color: white;
}

/* Navbar Refinement */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #f1f5f9;
}

.nav-scrolled {
    padding: 0.6rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-link {
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #475569 !important;
    margin: 0 12px;
}

.nav-link:hover {
    color: var(--primary-indigo) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(90deg, #2b0040, #1a0026);
    min-height: 550px;
    color: white;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 80px 0;
}

.hero-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    filter: blur(100px);
    transform: translate(30%, -30%);
    pointer-events: none;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.hero-title {
    font-weight: 800;
    line-height: 1.15;
    font-size: calc(1.8rem + 2.5vw);
}

.hero-title span {
    color: #a5b4fc;
}

.btn-hero-primary {
    background-color: white;
    color: var(--primary-indigo);
    border: none;
    padding: 16px 36px;
    border-radius: 14px;
    font-weight: 800;
    transition: all 0.3s;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background-color: #f8fafc;
}

/* Card Transitions */
.card {
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    background: white;
}

.course-card:hover,
.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.08);
    border-color: var(--light-indigo);
}

.category-card {
    padding: 24px;
    text-align: left;
    height: 100%;
}

.category-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 22px;
    transition: transform 0.3s;
}

.category-card:hover .category-icon {
    transform: scale(1.15);
}

/* .stats-icon {
            width: 52px;
            height: 52px;
            border-radius: 14px;
            background-color: #f1f5f9;
            color: var(--primary-indigo);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
        } */

.stats-section {
    background: linear-gradient(90deg, #2b0040, #1a0026);
    padding: 40px 20px;
    display: flex;
    justify-content: space-around;
    text-align: center;
    color: #d4af37;
}

.stat {
    flex: 1;
}

.stat h2 {
    font-size: 42px;
    margin: 0;
    font-weight: 600;
}

.stat p {
    margin-top: 10px;
    font-size: 12px;
    letter-spacing: 2px;
    color: #ffffff;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .stats-section {
        flex-direction: column;
        gap: 20px;
    }
}

/* Tab Controls */
.tab-btn {
    border-radius: 50px;
    padding: 10px 26px;
    font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background-color: #f1f5f9;
    color: #64748b;
    border: none;
    margin: 5px;
    transition: all 0.3s;
}

.tab-btn.active {
    background-color: var(--primary-indigo);
    color: white;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.25);
}

/* Instructor CTA Section */
.instructor-cta {
    background-color: var(--primary-indigo);
    background-image: radial-gradient(
        circle at top right,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    border-radius: 35px;
    padding: 50px;
    color: white;
}

/* Footer Customization */
footer {
    background-color: #ffffff;
    border-top: 1px solid #f1f5f9;
    padding: 60px 0 30px;
}

.footer-logo {
    height: 36px;
    margin-bottom: 24px;
}

.footer-heading {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    color: #1e293b;
}

.footer-link {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.footer-link:hover {
    color: var(--primary-indigo);
    padding-left: 5px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background-color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 16px;
}

.social-icon:hover {
    background-color: var(--primary-indigo);
    color: white;
    transform: translateY(-3px);
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.btn-indigo {
    background-color: var(--primary-indigo);
    color: white;
    border-radius: 12px;
    font-weight: 700;
    padding: 12px 28px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    transition: all 0.3s;
}

.btn-indigo:hover {
    background-color: #3730a3;
    color: white;
    transform: translateY(-2px);
}

/* Blog Section */
.blog-tag {
    background-color: #eef2ff;
    color: var(--primary-indigo);
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

/* World Records Section */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.record-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 18px;
    border-radius: 16px;
    transition: 0.3s;
}

.record-card:hover {
    transform: translateY(-6px);
}

.record-card img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 12px;
}

.small {
    font-size: 13px;
    color: #d4af37;
}

.section {
    max-width: 1200px;
    margin: auto;
    padding: 80px 20px;
    color: white;
}

.title {
    text-align: center;
    font-size: 42px;
    font-weight: bold;
}

.divider {
    width: 60px;
    height: 3px;
    background: #d4af37;
    margin: 15px auto 25px;
}

/* legend-card {
            text-align: center;
            background: rgba(255, 255, 255, 0.05);
            padding: 20px;
            border-radius: 16px;
        }

        .legend-card img {
            width: 100%;
            height: 260px;
            object-fit: cover;
            border-radius: 14px;
            margin-bottom: 15px;
        } */

.tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid #d4af37;
    color: #d4af37;
    font-size: 12px;
    margin-bottom: 10px;
}

/* Skills section */

#learning .tab-btn {
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 20px;
    background: transparent;
}

#learning .tab-btn.active {
    background: linear-gradient(90deg, #c9a646, #e6c76e);
    color: #000;
    font-weight: bold;
}

.module-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 15px;
    transition: 0.3s;
    height: 100%;
}

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

.module-number {
    color: #c9a646;
    font-weight: bold;
}

/* How It Works Section */
.step-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
    transition: 0.3s;
    height: 100%;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.step-number {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #c9a646, #e6c76e);
    color: #000;
    font-weight: bold;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 50%;
}

.step-icon {
    font-size: 28px;
}

/* css for leaderboard cards */
.leader-card {
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.leader-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Css for the certificate section */
.certificate-wrapper {
    background: linear-gradient(145deg, #d4af37, #b8962e);
    padding: 6px;
    border-radius: 16px;
}

.certificate-card {
    background: #f5e6c8;
    border-radius: 12px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}

.seal {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: radial-gradient(circle, #ddd, #aaa);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Css for the testinomials */
.contest-card {
    background: #ffffff;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

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

.prize-card {
    background: linear-gradient(135deg, #c9a646, #a8831f);
    color: #000;
    min-width: 300px;
}

/* Css for the FAQ Section */
.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-q {
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    text-align: left;
    padding: 18px 0;
    font-weight: 500;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    width: 28px;
    height: 28px;
    border: 1px solid #c9a646;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c9a646;
    font-weight: bold;
    transition: 0.3s;
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.faq-item.active .faq-a {
    max-height: 200px;
    opacity: 1;
    margin-bottom: 15px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    /* turns + into × */
}

/* Blessings */
.legend-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.legend-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.legend-img {
    position: relative;
    height: 260px;
    border-radius: 16px;
    overflow: hidden;
}

/* Blurred background */
.legend-img::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    filter: blur(20px);
    transform: scale(1.2);
}

/* Main image */
.legend-img img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* 🔥 no crop */
    z-index: 2;
}

.legend-img img {
    transition: transform 0.4s ease;
}

.legend-card:hover .legend-img img {
    transform: scale(1.05);
}

.legend-tag {
    display: inline-block;
    margin-top: 12px;
    padding: 4px 12px;
    font-size: 11px;
    letter-spacing: 1px;
    border: 1px solid #c9a646;
    border-radius: 20px;
    color: #c9a646;
}
