/* Hero Banner */
section#hero{
    min-height: 400px;
    height: fit-content;
    width: 100%;

    background: #0f172a;
    background: linear-gradient(#0f172a, #020617);

    display: flex;
    flex-direction: row;
    row-gap: 10px;

    padding: 0 var(--padding);
    align-items: center;
    flex-wrap: wrap
}

#hero .left{
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    flex: 1;
}

#hero .right img{
    width: 300px;
}

:root{
    --nav-background: #111827 !important;
}

.info{
    padding: 30px var(--padding);
}

.info .title{
    font-size: 32px;
    font-weight: 700;
    margin: 5px 0;
}

.info .left{
    margin-top: 30px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.info .description{
    font-size: 16px;
}

#content{
    display: flex;
    flex-direction: row;
    column-gap: 30px;
    flex-wrap: nowrap;
}

#problems, #solutions{
    flex-basis: 100%;
    min-width: 300px;
}

/* Best solution I can find */
@media (max-width: 750px){
    #content{
        flex-wrap: wrap;
    }
}

.document{
    display: block;
    margin: 10px 0;
    text-decoration: none;
}

.document.disabled{
    pointer-events: none;
}

.document.disabled .name{
    opacity: 0.3 !important;
}

.document .name{
    background: lightgray;
    padding: 15px 20px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: opacity 0.2s;
    user-select: none;
    color: black;
}

.document .name:hover{
    opacity: 0.8;
}

.document.open .name{
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.document .content{
    padding: 20px;
    background: #1e293b;
    display: none;
}

.document.open .content{
    display: block;
}

.document embed{
    width: 100%;
    height: 1200px;
}

.herobutton{
    font-size: 18px;
    padding: 20px;
    border-radius: 4px;
    border: none;
    background: #374151;
    cursor: pointer;
    margin-top: 10px;
    color: white;
    font-weight: 600;
    transition: opacity 0.2s ease-in;
    margin-right: 10px;
}

.herobutton:hover{
    opacity: 0.7;
}

#whyus{
    font-size: 18px;
    line-height: 1.3;
}

#hero .description{
    line-height: 1.3;
}

.achiev{
    background: whitesmoke;
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin-top: 28px;
    flex: 1;

    border-width: 2px;
    border-style: solid;
    border-image-slice: 1;
    border-image-source: linear-gradient(
      145deg,
      rgba(34,197,94,1),
      rgba(5,150,105,1)
    );
}

.achiev .icon{
    font-size: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    width: 56px;
    background: linear-gradient(145deg, rgba(34,197,94,1) 0%, rgba(5,150,105,1) 100%);
    color: white;
    border-radius: 10px;
    margin-top: -48px;
}

.achiev .number{
    font-size: 48px;
    font-weight: 900;
    color: rgba(5,150,105,1);
}

.achiev .desc{
    color: gray;
    text-transform: uppercase;
}

#achiev_wrapper{
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
}

@media (max-width: 900px){
    #hero .right{
        display: none;
    }

    #hero .left{
        text-align: center;
    }

    #hero .title, #hero .description{
        width: 80%;
        margin: auto;
    }

    #hero #buttons{
        margin-top: 20px;
    }
}

@media (max-width: 600px){
    #hero{
        padding: 75px 25px !important;
    }

    #hero .right{
        display: none;
    }

    #hero .left{
        text-align: left;
    }

    #hero .title, #hero .description{
        width: 100%;
    }

    #hero #buttons{
        margin-top: 20px;
    }
}

/* Add after existing code */

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.result-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    overflow: hidden;
    transition: transform 0.2s;
}

.result-card:hover {
    transform: translateY(-4px);
}

.medal {
    padding: 1rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.medal.gold {
    background: linear-gradient(145deg, #fbbf24, #d97706);
}

.medal.silver {
    background: linear-gradient(145deg, #94a3b8, #64748b);
}

.medal.bronze {
    background: linear-gradient(145deg, #c2410c, #9a3412);
}

.student-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.student-info .name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
}

.student-info .school {
    color: #64748b;
    font-size: 0.875rem;
}

.student-info .score {
    margin-top: 0.5rem;
    font-weight: 500;
    color: #22c55e;
}

.honorable-mentions {
    margin-top: 3rem;
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 10px;
}

.honorable-mentions h3 {
    color: #0f172a;
    margin: 0 0 1rem 0;
    font-size: 1.25rem;
}

.mentions-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mention {
    display: grid;
    grid-template-columns: 2rem 1fr 5rem;
    align-items: center;
    padding: 0.5rem;
    border-radius: 4px;
    background: white;
}

.mention .rank {
    color: #64748b;
    font-weight: 500;
}

.mention .name {
    font-weight: 500;
}

.mention .score {
    text-align: right;
    color: #22c55e;
}

@media (max-width: 640px) {
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .mention {
        grid-template-columns: 2rem 1fr 4rem;
    }
}

/* Update testimonials section */
.testimonials {
    padding: 40px var(--padding);
    background: #f8fafc;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem auto;
    max-width: 1200px;
}

.testimonial-card {
    background: white;
    border-radius: 8px;
    padding: 1.25rem;
    box-shadow: 0 2px 4px rgb(0 0 0 / 0.05);
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.testimonial-card:hover {
    transform: translateY(-2px);
}

.testimonial-card.featured {
    border: 1px solid #22c55e;
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.star-rating {
    color: #fbbf24;
    font-size: 0.875rem;
}

.testimonial-card .quote {
    font-size: 0.925rem;
    line-height: 1.5;
    color: #1e293b;
    margin: 0;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid #f1f5f9;
}

.testimonial-footer .name {
    font-weight: 600;
    color: #0f172a;
    font-size: 0.875rem;
}

.testimonial-footer .contest {
    color: #64748b;
    font-size: 0.75rem;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        padding: 0 1rem;
    }
}