:root {
    --primary-purple: #3A0CA3;
    --secondary-blue: #4CC9F0;
    --accent-pink: #F72585;
    --text-light: #E0E0E0;
    --text-dark: #1A1A1A;
    --dark-gradient-start: #3F005B;
    --dark-gradient-end: #0D002B;
    --button-background: #F72585;
    --button-hover: #BF1B6D;
    --navbar-background: rgba(43, 0, 70, 0.6);
    --navbar-border: rgba(255, 255, 255, 0.2);
    --bg-1: #0C0620;
    --bg-2: #1A0B3A;
    --glass: rgba(255, 255, 255, 0.06);
    --stroke: rgba(255, 255, 255, 0.12);
    --white: #EAF1FF;
    --muted: #A0A6C0;
    --accent: #F72585;
    --accent-hover: #fa4699;
    --blue: #4CC9F0;
    --purple: #3A0CA3;
    --radius: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: var(--text-light);
    overflow-x: hidden;
}

.landing-body {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--dark-gradient-start) 0%, var(--dark-gradient-end) 100%);
    position: relative;
    z-index: 1;
}

/* Navbar Styling */
.custom-navbar {
    background-color: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    padding: 8px 20px;
    position: fixed;
    z-index: 10000;
    margin: 12px 7rem 0px 7rem;
    transition: margin-top 0.4s ease;
}

.custom-navbar.scrolled {
    margin-top: 0;
    backdrop-filter: none;
    background-color: rgba(43, 0, 70, 0.9) !important;
}

.navbar-brand {
    color: var(--text-light) !important;
    font-weight: bold;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.navbar-brand .logo {
    width: 45px;
    height: 45px;
    margin-right: 10px;
}

.navbar-nav .nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-pink) !important;
}

.custom-sign-in-btn {
    background-color: transparent !important;
    border: 1px solid var(--text-light) !important;
    color: var(--text-light) !important;
    border-radius: 50px;
    padding: 8px 25px;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.custom-sign-in-btn:hover, .fts-icon-header-btn:hover {
    background-color: var(--accent-pink) !important;
    border-color: var(--accent-pink) !important;
    color: white !important;
}

.fts-icon-header-btn {
    background-color: transparent !important;
    border: 1px solid var(--text-light) !important;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    color: var(--text-light) !important;
}

.fts-dropdown-menu {
    background: var(--bg-2);
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    padding: 0.5rem 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.fts-dropdown-menu .dropdown-item {
    color: var(--white);
    padding: 10px 20px;
    font-size: 15px;
    transition: background 0.2s ease;
}

.fts-dropdown-menu .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent);
}


/* Hero Section Styling */
.hero-section {
    height: calc(100vh - 10px);
    display: flex;
    align-items: center;
    text-align: left;
    position: relative;
}

.hero-section .container {
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-section h3 {
    line-height: 1.1;
    font-weight: 800;
    background: -webkit-linear-gradient(left, #e0e0e0, #c0c0c0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-section p {
    font-size: 1rem;
    color: rgba(224, 224, 224, 0.7);
    max-width: 500px;
}

.custom-start-project-btn {
    background-color: var(--button-background) !important;
    border-color: var(--button-background) !important;
    color: white !important;
    font-weight: bold;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.custom-start-project-btn:hover {
    background-color: var(--button-hover) !important;
    border-color: var(--button-hover) !important;
}

.hero-image-container {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-glass-object {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 50px rgba(186, 0, 255, 0.5));
    border-radius: 25px;
}

.scroll-down {
    position: absolute;
    bottom: 10%;
    left: 45%;
    width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(224, 224, 224, 0.7);
    font-size: 0.9rem;
    animation: bounce 2s infinite;
}

.scroll-down a {
    color: rgba(224, 224, 224, 0.7);
    text-decoration: none;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    margin-top: 5px;
    filter: brightness(0) invert(1);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .navbar-brand {
        font-size: 0.8rem;
    }

    .custom-sign-in-btn {
        padding: 8px 15px;
    }

    .navbar-brand .logo {
        width: 40px;
        height: 40px;
    }

    .navbar-nav .nav-link {
        font-weight: 400;
        padding: 0.5rem 0.5rem;
        transition: color 0.3s ease;
    }

    .hero-section h3 {
        font-size: 3rem;
    }

    .hero-section p {
        font-size: 1rem;
        max-width: none;
    }

    .navbar-toggler {
        font-size: 1.3rem;
    }

    .scroll-down {
        bottom: 2%;
        left: 45%;
    }
}

@media (max-width: 991px) {
    .custom-navbar {
        margin-left: 8px;
        margin-right: 8px;
        padding: 10px 15px;
    }
}

@media (max-width: 768px) {
    .custom-navbar {
        margin-left: 10px;
        margin-right: 10px;
        padding: 10px 15px;
    }

    .hero-section h3 {
        font-size: 1.5rem;
    }

    .navbar-toggler {
        filter: invert(1);
    }

    .custom-sign-in-btn {
        width: 100%;
        margin-top: 15px;
    }

    .navbar-toggler-icon {
        width: 1em;
        height: 1em;
    }
}

@media (max-width: 576px) {
    .scroll-down {
        left: 40%;
    }
}

@media (max-width: 400px) {
    .scroll-down {
        left: 35%;
    }
}

/* Title */
.section-title {
    position: relative;
    color: var(--text-light);
    font-weight: 700;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-pink);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--accent-pink);
    animation: pulseLine 1.5s ease-in-out infinite;
}

/* Optional subtle animation */
@keyframes pulseLine {
    0%, 100% {
        width: 60px;
        opacity: 1;
    }

    50% {
        width: 80px;
        opacity: 0.6;
    }
}

/* Age Groups Styling */
.swiper {
    padding: 0px 50px;
}

.age-groups {
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 0;
}

.age-groups .card {
    color: var(--text-light);
    backdrop-filter: blur(5px);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark-gradient-start) 0%, var(--dark-gradient-end) 100%);
    border: 2px solid var(--navbar-border);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}


.age-groups .card-title {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.age-groups .card-text {
    line-height: 1.6;
    color: rgba(224, 224, 224, 0.7);
    font-size: 0.95rem;
}

.age-groups .card-body img {
    width: 6rem;
    margin-bottom: 1rem;
    display: block;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: stretch;
}

/* About Section 1 */
#about-section1 {
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 0;
}

#about-section1 img {
    border-radius: 45px;
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 50px rgba(186, 0, 255, 0.5));
}

/* About Section 2 */
#about-section2 {
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 0;
}

#about-section2 img {
    border-radius: 45px;
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 50px rgba(186, 0, 255, 0.5));
}

#about-section1 p, #about-section2 p {
    color: rgba(224, 224, 224, 0.8);
    font-size: 1rem;
    line-height: 1.6;
}

#about-section1 ul, #about-section2 ul {
    color: rgba(224, 224, 224, 0.8);
    font-size: 1rem;
    line-height: 1.6;
}

/* Stats Section Styling */
.stats-section {
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(76, 201, 240, 0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(76, 201, 240, 0.3);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--secondary-blue), var(--primary-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(76, 201, 240, 0.3);
}

.stat-label {
    text-transform: uppercase;
    font-weight: 600;
}

/* Animation for stats */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.stat-card:hover .stat-icon {
    animation: pulse 1.5s infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stat-number {
        font-size: 2.2rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    .stat-icon i {
        font-size: 2rem;
    }
}


.section-muted {
    min-height: 100vh;
}


/* Brand button for CTAs */
.btn-brand {
    background-color: var(--button-background) !important;
    border-color: var(--button-background) !important;
    color: #fff !important;
    font-weight: 700;
    border-radius: 50px;
    padding: 10px 22px;
    transition: background-color .25s ease, border-color .25s ease, transform .15s ease;
}

.btn-brand:hover {
    background-color: var(--button-hover) !important;
    border-color: var(--button-hover) !important;
    transform: translateY(-1px);
}

.btn-brand-outline {
    background: transparent !important;
    color: var(--text-light) !important;
    border: 1px solid var(--secondary-blue) !important;
    border-radius: 50px;
    padding: 10px 22px;
}

.btn-brand-outline:hover {
    background: rgba(76, 201, 240, 0.12) !important;
}

/* How it works / process grid */
.process-grid .card-like {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(76, 201, 240, 0.12);
    border-radius: 16px;
    padding: 24px;
    height: 100%;
    transition: transform .2s ease, box-shadow .2s ease;
}

.process-grid .card-like:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.process-grid .icon {
    font-size: 2.4rem;
    color: var(--accent-pink);
}

/* Ten-round chips */
.rounds-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.round-chip {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(76, 201, 240, 0.18);
    color: var(--text-light);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: .9rem;
}

.round-chip.active {
    background: var(--accent-pink);
    border-color: var(--accent-pink);
}



/* FAQ (Bootstrap collapse) */
.faq-item {
    border-bottom: 1px solid rgba(76, 201, 240, 0.18);
}

.faq-item button {
    color: var(--text-light);
    background: transparent;
    width: 100%;
    text-align: left;
    padding: 16px 0;
    border: 0;
    font-weight: 600;
}

.faq-item button:hover {
    color: var(--accent-pink);
}

.faq-item .answer {
    color: rgba(224, 224, 224, 0.8);
    padding: 0 0 16px 0;
}

/* Footer */
.site-footer {
    background: linear-gradient(180deg, rgba(13, 0, 43, 0.95) 0%, rgba(7, 0, 24, 0.98) 100%);
    border-top: 1px solid rgba(76, 201, 240, 0.18);
    padding-top: 48px;
    color: var(--text-light);
}

.site-footer h5 {
    color: var(--text-light);
    font-weight: 700;
}

.site-footer a {
    color: rgba(224, 224, 224, 0.85);
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--accent-pink);
}

.footer-social a {
    font-size: 1.4rem;
    margin-right: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(76, 201, 240, 0.18);
    margin-top: 28px;
    padding: 18px 0;
    text-align: center;
    color: rgba(224, 224, 224, 0.7);
}

.home-footer-btn {
    position: fixed;
    bottom: 3%;
    right: 3%;
    width: 50px;
    height: 50px;
    z-index: 9999;
}


/* Small tweaks */
.badge-soft {
    background: rgba(76, 201, 240, 0.12);
    color: var(--secondary-blue);
    border: 1px solid rgba(76, 201, 240, 0.25);
    border-radius: 8px;
    padding: 6px 10px;
    font-weight: 600;
    letter-spacing: .3px;
}

.fts-contact-card {
    background: var(--glass);
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    backdrop-filter: blur(16px);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    color: var(--white);
}

.fts-input {
    background: var(--navbar-background);
    border: 1px solid var(--stroke);
    color: var(--white) !important;
    border-radius: var(--radius);
}

.fts-input:focus {
    outline: none;
    box-shadow: 0 0 5px var(--accent);
    border-color: var(--accent);
    background: var(--navbar-background);
}

.contact-us {
    margin-top: 10rem;
    margin-bottom: 5rem;
}

.about-us {
    margin-top: 10rem;
    margin-bottom: 5rem;
}

.fts-btn-accent {
    background-color: var(--accent);
    color: var(--white);
    border-radius: var(--radius);
    border: none;
}

.fts-btn-accent:hover {
    background-color: var(--accent-hover);
}

/* Link */
.text-link {
    color: var(--accent);
}

.text-link:hover {
    color: var(--accent-hover);
}

/* SponsorShip Page */

#about-sponsorship {
    min-height: 100vh;
}

#about-sponsorship img {
    border-radius: 45px;
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 50px rgba(186, 0, 255, 0.5));
}

#sponsor-benefits .stat-number {
    font-size: 1.6rem;
}

/* Academic Page */

#academy-features {
    min-height: 100vh;
}

#judges{
    min-height: 100vh !important;
}
#judges .judge-card {
    color: var(--text-light);
    backdrop-filter: blur(5px);
    background: linear-gradient(135deg, var(--dark-gradient-start) 0%, var(--dark-gradient-end) 100%);
    border: 2px solid var(--navbar-border);
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.judge-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--navbar-border);
    box-shadow: 0 0 20px rgba(186, 0, 255, 0.25);
}
.judge-meta .judge-chip{
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(76, 201, 240, 0.18);
    color: var(--text-light);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}
.judge-experience{
    color: rgba(224,224,224,0.8) !important;
}
