* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Kumbh Sans', sans-serif;
}

body {
    background: #141414;
    color: #fff;
}

.main {
    background: #141414;
}

.services {
    background: #141414;
}

/* Make sure text is visible against dark background */
h1, h2, p {
    color: #fff;
}

.navbar {
    background: #1f1f1f;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar__container {
    display: flex;
    justify-content: space-between;
    height: 80px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
}

#navbar__logo {
    background-color: #ff8177;
    background-image: linear-gradient(to top,  #2E8B57 0%, #00CED1 100%);
    background-size: 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 2rem;
    gap: 0.5rem;
}

.fa-gem {
    margin-right: 0.5rem;
}

.navbar__menu {
    display: flex;
    align-items: center;
    list-style: none;
    text-align: center;
}

.navbar__item {
    height: 80px;
}

.navbar__links {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 1rem;
    height: 100%;
}

.navbar__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    width: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.navbar__btn.visible {
    opacity: 1;
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 10px 20px;
    height: 100%;
    width: 100%;
    border: none;
    outline: none;
    border-radius: 4px;
    background: #2E8B57;
    color: #fff;
}

.button:hover {
    background: #20B2AA;
    transition: all 0.3s ease;
}

.navbar__links:hover {
    color: #2E8B57;
    transition: all 0.3s ease;
}

@media screen and (max-width: 960px) {
    .navbar__container {
        display: flex;
        justify-content: space-between;
        height: 80px;
        z-index: 1;
        width: 100%;
        max-width: 1300px;
        padding: 0;
    }

    .navbar__menu {
        display: grid;
        grid-template-columns: auto;
        margin: 0;
        width: 100%;
        position: absolute;
        top: -1000px;
        opacity: 0;
        transition: all 0.5s ease;
        height: 50vh;
        z-index: -1;
    }

    .navbar__menu.active {
        background: #131313;
        top: 100%;
        opacity: 1;
        transition: all 0.5s ease;
        z-index: 99;
        height: 50vh;
        font-size: 1.6rem;
    }

    #navbar__logo {
        padding-left: 25px;
    }

    .navbar__toggle .bar {
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background: #fff;
    }

    .navbar__item {
        width: 100%;
    }

    .navbar__links {
        text-align: center;
        padding: 2rem;
        width: 100%;
        display: table;
    }

    #mobile-menu {
        position: absolute;
        top: 20%;
        right: 5%;
        transform: translate(5%, 20%);
    }

    .navbar__btn {
        padding-bottom: 2rem;
    }

    .button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 80%;
        height: 80px;
        margin: 0;
    }

    .navbar__toggle .bar {
        display: block;
        cursor: pointer;
    }

    #mobile-menu.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    #mobile-menu.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    #mobile-menu.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

}


/* Hero Section CSS*/
.main__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-self: center;
    margin: 0 auto;
    height: 90vh;
    background-color: #141414;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    padding: 0 50px;
}

.main__content h1{
    font-size: 40px;
    margin-bottom: 40px;
    background-image: linear-gradient(to right, #2147ec 0%, #00CED1 100%);
    background-size: 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.main__content h2 {
    font-size: 40px;
    margin-bottom: 40px;
    background-image: linear-gradient(to right, #2147ec 0%, #00CED1 100%);
    background-size: 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.main__content p {
    font-size: 40px;
    margin-top: 40px;
    margin-bottom: 40px;
    font-weight: 700;
    background-image: linear-gradient(to right, #00CED1 0%, #2147ec 100%);
    background-size: 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.main__btn {
    margin-top: 2rem;
    font-size: 1rem;
    background-image: linear-gradient(to right, #2E8B57 0%, #20B2AA 51%, #2E8B57 100%);
    padding: 10px 32px;
    border-radius: 4px;
    color: #fff;
    outline: none;
    border: none;
    cursor: pointer;
    position: relative;
    transition: all 0.35s;
    z-index: 1;
}

.main__btn a {
    position: relative;
    padding: 8px 20px;
    z-index: 2;
    color: #fff;
    text-decoration: none;
}

.main__btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #20B2AA;
    transition: all 0.35s;
    border-radius: 4px;
    z-index: -1;
}

.main__btn:hover {
    color: #fff;
}

.main__btn:hover::after {
    width: 100%;
}

.main__img--container {
    text-align: center;
}

#main__img {
    width: 80%;
    height: 80%;
}

/* Mobile Responsive CSS */

@media screen and (max-width: 768px) {
    .main__container {
        display: grid;
        grid-template-columns: auto;
        align-items: center;
        justify-self: center;
        width: 100%;
        margin: 0 auto;
        height: 90vh;
    }

    .main__content {
        text-align: center;
        margin-bottom: 4rem;
    }

    .main__content h1 {
        font-size: 2.5rem;
        margin-top: 2rem;
    }

    .main__content h2 {
        font-size: 3rem;
    }

    .main__content p {
        margin-top: 1rem;
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .main__content h1 {
        font-size: 2rem;
        margin-top: 3rem;
    }

    .main__content h2 {
        font-size: 2rem;
    }

    .main__content p {
        margin-top: 2rem;
        font-size: 1.5rem;
    }

    .main__btn {
        padding: 12px 36px;
        margin: 2rem 0;
    }
}

/* Services Section CSS */

.services h1 {
    background-color: #ff8177;
    background-image: linear-gradient(
        to right,
        #2E8B57 0%,
        #3CB371 0%,
        #20B2AA 21%,
        #48D1CC 52%,
        #40E0D0 78%,
        #00CED1 100%
    );
    background-size: 100%;
    margin-bottom: 5rem;
    margin-top: 5rem;
    font-size: 2.5rem;
    background-clip: text;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.services__container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.services__card {
    margin: 1rem;
    height: 525px;
    width: 400px;
    border-radius: 4px;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(17, 17, 17, 0.6) 100%), url('images/pic2.jpg');
    background-size: cover;
    position: relative;
    color: #fff;
}

.services__card:nth-child(2) {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(17, 17, 17, 0.6) 100%), url('images/pic3.jpg');
}

.services__card h2 {
    position: absolute;
    top: 350px;
    left: 30px;
}

.services__card p {
    position: absolute;
    top: 400px;
    left: 30px;
}

.services__card button {
    position: relative;
    color: #fff;
    padding: 10px 20px;
    border: none;
    outline: none;
    border-radius: 4px;
    background-color: #2E8B57;
    position: absolute;
    top: 450px;
    left: 30px;
    font-size: 1rem;
    cursor: pointer;
}

.services__card button::after {
    content: attr(data-hover);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -30px;
    background: rgba(46, 139, 87, 0.9);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.2s ease-in;
    white-space: nowrap;
}

.services__card button:hover::after {
    opacity: 1;
}

@media screen and (max-width: 960px) {
    .services{
        height: 1600px;
    }

    .services h1{
        font-size: 2rem;
        margin-top: 12rem;
    }
}

@media screen and (max-width: 480px) {
    .services {
        height: 1400px;
    }

    .services h1 {
        font-size: 1.2rem;
    }

    .services__card {
        width: 300px;
    }
}

/* Footer Section CSS */

.photo-controls {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.result-textbox {
    margin-top: 2rem;
    width: 80%;
    min-height: 150px;
    padding: 1rem;
    border-radius: 8px;
    border: 2px solid #2E8B57;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.1rem;
    resize: vertical;
}

.result-textbox::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Add these new styles at the end of your existing CSS file */

.leaderboard {
    background: #141414;
    padding: 4rem 0;
    min-height: 100vh;
}

.leaderboard__container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
}

.leaderboard h1 {
    background-color: #ff8177;
    background-image: linear-gradient(
        to right,
        #2E8B57 0%,
        #3CB371 0%,
        #20B2AA 21%,
        #48D1CC 52%,
        #40E0D0 78%,
        #00CED1 100%
    );
    background-size: 100%;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    text-align: center;
    background-clip: text;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.leaderboard__stats {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.stats__card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    color: #fff;
}

.stats__card h2 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.stats__card p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.leaderboard__table {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
}

.leaderboard__table table {
    width: 100%;
    border-collapse: collapse;
    color: #fff;
}

.leaderboard__table th,
.leaderboard__table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.leaderboard__table th {
    font-size: 1.1rem;
    font-weight: 600;
}

.progress-container {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: 8px;
    background: #1a1a1a;
    z-index: 998;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background-image: linear-gradient(
        to right,
        #2E8B57 0%,
        #3CB371 0%,
        #20B2AA 21%,
        #48D1CC 52%,
        #40E0D0 78%,
        #00CED1 100%
    );
    transition: width 0.5s ease-in-out;
}

.level-indicator {
    position: fixed;
    top: 90px;
    right: 20px;
    color: #fff;
    font-size: 0.9rem;
    z-index: 999;
}

@media screen and (max-width: 768px) {
    .leaderboard__stats {
        grid-template-columns: 1fr;
    }
    
    .leaderboard__table {
        overflow-x: auto;
    }
}

/* Add these styles for the button container */
.button-container {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.main__content .main__btn {
    display: block;
}

.main__content .main__btn.hidden {
    display: none;
}

.navbar__icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.auth-container {
    min-height: calc(100vh - 80px);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #141414;
}

.container {
    background: rgba(255, 255, 255, 0.1);
    width: 450px;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 20px 35px rgba(0, 0, 1, 0.2);
    color: #fff;
}

.container input {
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.container label {
    color: rgba(255, 255, 255, 0.7);
}

.container input:focus ~ label,
.container input:not(:placeholder-shown) ~ label {
    color: #2E8B57;
}

.container .btn {
    background: #2E8B57;
    transition: background 0.3s ease;
}

.container .btn:hover {
    background: #20B2AA;
}

.container .links button {
    color: #2E8B57;
    background: transparent;
    padding: 0;
    margin: 0;
    font-weight: normal;
}

.container .links button:hover {
    color: #20B2AA;
}

.auth-container form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.auth-container .input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.auth-container label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.auth-container input {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    padding: 0.5rem 0;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
    color: #fff;
}

.auth-container input:focus {
    border-color: #2E8B57;
}

/* Remove these styles if they exist */
.auth-container label {
    position: static;
    transform: none;
    pointer-events: auto;
}

.container input:focus ~ label,
.container input:not(:placeholder-shown) ~ label {
    transform: none;
    font-size: 1rem;
}

.auth-container .btn {
    padding: 0.8rem;
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 1rem;
}

.auth-container .message {
    margin-top: 1rem;
    text-align: center;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.auth-container .links {
    text-align: center;
    margin-top: 1rem;
}

.auth-container .links button {
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
}

#signInMessage {
    color: #fff;
    padding: 2rem;
    text-align: center;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Team Section Styles */
.team {
    background: #141414;
    padding: 4rem 0;
    min-height: 100vh;
}

.team__container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
}

.team h1 {
    background-color: #ff8177;
    background-image: linear-gradient(
        to right,
        #2E8B57 0%,
        #3CB371 0%,
        #20B2AA 21%,
        #48D1CC 52%,
        #40E0D0 78%,
        #00CED1 100%
    );
    background-size: 100%;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    text-align: center;
    background-clip: text;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.team__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.team__member {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

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

.team__member h2 {
    color: #2E8B57;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.team__member p {
    margin: 0.5rem 0;
    color: #fff;
    font-size: 1.1rem;
}

.team__member strong {
    color: #48D1CC;
}

@media screen and (max-width: 768px) {
    .team__grid {
        grid-template-columns: 1fr;
    }
    
    .team__container {
        padding: 0 20px;
    }
}

/* Mission Statement Styles */
.mission {
    background: #141414;
    padding: 4rem 0;
    min-height: 100vh;
}

.mission__container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
}

.mission__container h1 {
    background-color: #ff8177;
    background-image: linear-gradient(
        to right,
        #2E8B57 0%,
        #3CB371 0%,
        #20B2AA 21%,
        #48D1CC 52%,
        #40E0D0 78%,
        #00CED1 100%
    );
    background-size: 100%;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    text-align: center;
    background-clip: text;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.mission__content {
    color: #fff;
    font-size: 1.2rem;
    line-height: 1.6;
}

.mission__content > p {
    margin-bottom: 2rem;
    text-align: center;
}

.mission__textbox {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    margin: 0 auto;
    max-width: 800px;
}

.mission__textbox p {
    color: #fff;
}

@media screen and (max-width: 768px) {
    .mission__container {
        padding: 0 20px;
    }
    
    .mission__container h1 {
        font-size: 2rem;
    }
    
    .mission__content {
        font-size: 1rem;
    }
}

.message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    background: rgba(46, 139, 87, 0.1);
    color: #2E8B57;
    text-align: center;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.points-badge {
    background-color: #4CAF50;
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.8em;
    margin-left: 5px;
}
