body {
    overflow-x: hidden;
}

h1,
h2,
h3,
p,
ul {
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 3.6rem;
}

section {
    padding: 0 10px;
    overflow-x: hidden;
}

.header-image {
    margin: 0 auto;
    /* background-image: url(../img/icons/hero_image_home_2025.webp); */
    background-repeat: no-repeat;
    background-size: 497px auto;
    width: 100%;
    height: 100%;
    max-width: 450px;
}

.header-image-mobile {
    display: none;
}

.speech-bubble {
    position: relative;
    background: #ffffff;
    border-radius: .4em;
    padding: 20px;
    line-height: 1.5;
    height: 225px;
    display: flex;
    justify-content: center;
    flex-flow: column;
}

.speech-bubble img {
    display: block;
    margin-bottom: 20px;
    width: 116px;
}

.speech-bubble:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15%;
    width: 0;
    height: 0;
    border: 1.719em solid transparent;
    border-top-color: #ffffff;
    border-bottom: 0;
    border-left: 0;
    margin-left: -0.859em;
    margin-bottom: -1.719em;
}

#top-section-content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    grid-auto-columns: max-content;
    max-width: 1180px;
    margin: auto;
}

#top-section-content-grid>div:nth-child(1) {
    padding-bottom: 50px;
}

#top-section-content-grid>div:nth-child(2) {
    padding-right: 75px;
    display: flex;
    flex-direction: column;
    align-self: center;
}

#top-section-content-grid h1 {
    font-size: 3.6rem;
    margin: 0;
    font-weight: 800;
    line-height: 1.25;
    white-space: nowrap;
}

#top-section-content-grid h1>span {
    font-weight: 900;
}

#top-section-content-grid p {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.5;
    color: #3E5B5A;
    margin: 20px 0 30px 0;
}

#top-section-content-grid ul {
    margin-top: 20px;
    list-style-type: none;
}

#top-section-content-grid ul>li {
    background-image: url(../img/icons/paid.svg);
    background-repeat: no-repeat;
    background-position: 0 0;
    line-height: 1.5;
    padding-left: 30px;
}

#top-section-content-grid ul>li:nth-child(1) {
    background-image: url(../img/icons/paid.svg);
}

#top-section-content-grid ul>li:nth-child(2) {
    background-image: url(../img/icons/hand-check.svg);
}

#top-section-content-grid ul>li:nth-child(3) {
    background-image: url(../img/icons/editor-choice.svg);
}

.slick-dotted.slick-slider {
    margin-bottom: 0 !important;
}

.success-stories-slides {
    overflow: hidden;
    max-width: 500px;
    left: 100px;
    top: 250px;
    font-size: .9rem;
    display: none;
}

.success-stories-slides-mobile {
    overflow: hidden;
}

.success-stories-slides .slick-slide {
    margin: 0 20px;
    background-color: #ffffff;
    padding: 15px;
    border-radius: 10px;
}

.success-stories-slides .slick-slide>div:nth-child(1) a {
    text-decoration: none;
    color: #1A2020;
    line-height: 1.5;
}

.success-stories-slides h4,
.success-stories-slides-mobile h4,
.winners-slides>.slick-list>.slick-track>div>div>div:last-child h4 {
    margin: 0;
}

.success-stories-slides img,
.success-stories-slides-mobile .slick-slide img,
.winners-slides>.slick-list>.slick-track>div>div>div:last-child img {
    border-radius: 136px;
}

.success-stories-slides .slick-slide>div:nth-child(2),
.success-stories-slides-mobile .slick-slide>div:nth-child(2),
.winners-slides>.slick-list>.slick-track>div>div>div:last-child {
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: flex-start;
    padding: 0px;
    gap: 10px;
    margin-top: 10px;
}

.success-stories-slides .slick-slide>div:nth-child(2) a,
.success-stories-slides-mobile .slick-slide>div:nth-child(2) a,
.winners-slides>.slick-list>.slick-track>div>div>div:last-child a {
    color: #0F7771;
}

.success-stories-slides-mobile .slick-slide>div:nth-child(2),
.winners-slides>.slick-list>.slick-track>div>div>div:last-child {
    line-height: 1.5;
    font-size: 1.1rem;
    margin-top: 20px;
    padding-bottom: 20px;
}

.success-stories-slides-mobile .slick-slide>div:nth-child(2) {
    margin-top: 50px;
}

.winners-slides>.slick-list>.slick-track>div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #EAFAF8;
    border-radius: 10px;
    margin: 40px 30px 25px 0;
    width: 350px;
}

.winners-slides>.slick-list>.slick-track>div>div {
    padding: 20px;
}

.winners-slides>.slick-list>.slick-track>div>div>img {
    display: block;
    margin-bottom: 20px;
}

.winners-slides>.slick-list>.slick-track>div>div>div:nth-child(2)>a {
    margin-top: 20px;
    display: block;
    text-decoration: underline;
}

.winners-slides>.slick-list>.slick-track>div>div>div:nth-child(2) {
    height: 200px;
    line-height: 1.5;
}

.greenbutton_large {
    display: inline-block;
}

.find-scholarships-button {
    width: 300px;
}

#top-section-content-grid .find-scholarships-button a {
    width: 400px;
    max-width: 100%;
}

.section-background2 .find-scholarships-button {
    margin: 0 auto;
}

.winners-grid {
    display: flex;
    max-width: 1180px;
}

.winners-grid>div:nth-child(2) {
    margin-left: auto;
}

.winners-grid>div:nth-child(2) p {
    background-color: #FFF1C9;
    margin-bottom: 5px;
    border-radius: 10px;
    padding: 10px 15px;
    display: inline-block;
    float: right;
}

.winners-grid>div:nth-child(2) p img {
    vertical-align: middle;
}

.winners-grid .find-scholarships-button {
    margin-bottom: 2rem;
}

.find-scholarships-button a {
    font-size: 1.5rem;
}

#featured-side-grid {
    display: inline-grid;
    width: 100%;
}

.section-background2 h2,
.section-background4 h2,
.section-background3 h2 {
    font-size: 3rem;
    margin: 0;
    text-align: center;
    width: 100%;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.section-background2>div {
    padding: 0;
}

.section-background3 {
    padding: 60px 10px;
}

.section-background3>div {
    position: relative;
    padding: 0;
}

#featured-side-grid p {
    text-align: center;
    font-weight: bold;
    width: 100%;
    margin-bottom: 0px;
    font-size: 1.2rem;
    margin: 0 0 0px 0;
}

#featured-content-grid>section {
    display: grid;
    grid-template-columns: repeat(2, 2fr);
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1209px;
    margin: 100px auto 0 auto;
}

.featured-card {
    display: grid;
    grid-template-columns: 200px minmax(300px, auto);
    height: 400px;
    box-shadow: 0px 9px 20px rgba(15, 119, 113, 0.15);
    background: #ffffff;
}

.featured-card-text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    min-height: 200px;
    vertical-align: top !important;
    flex-grow: 1;
}

.featured-card-text-wrapper>div:first-child {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 50%;
    vertical-align: top !important;
}

.featured-card-text-wrapper>div:last-child {
    height: 40px;
    vertical-align: top !important;
}

.featured-card-text-wrapper>div:last-child>a {
    position: relative;
    top: 10px;
}

.featured-card-text-wrapper>div:first-child>p:nth-child(1) {
    font-size: 1.5rem;
    font-weight: 700;
}

.featured-card-text-wrapper>div:first-child>p:nth-child(2) {
    font-size: 1.5rem;
    font-weight: 500;
}

.featured-card img {
    width: 100%;
    max-height: 400px;
    min-height: 250px;
    object-fit: cover;
}

.browse-by-scholarships-section {
    background-color: #F0F0F0;
    padding: 30px 6px;
    margin: 60px 0;
}

.educatorSection h1,
.educatorSection h2,
.educatorSection h3,
.educatorSection p,
.educatorSection ul,
.howItWorksSection h1,
.howItWorksSection h2,
.howItWorksSection h3,
.howItWorksSection p,
.howItWorksSection ul {
    margin: 0;
    padding: 0;
}

.educatorSectionWrapper {
    background: url('../img/icons/grads_throw_hats_background.webp');
    background-position: 50% 0%;
    background-size: initial;
    background-repeat: no-repeat;
    background-color: #C7ECEB;
    margin-bottom: -5vw;
    padding-bottom: 5vw;
    padding-top: 5vw;
}

.educatorSection,
.howItWorksSection {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.educatorSection h2,
.howItWorksSection h2,
.howItWorksSection .section-headline {
    font-size: 3rem;
    margin-bottom: 5px;
}

.educatorSection h3,
.howItWorksSection h3 {
    font-size: 1.25rem;
}

.section-subheading {
    font-size: 1.5rem;
    margin-top: -1rem;
}

/* Red Buttons */

a.greenbutton_large {
    background-color: #E50914;
    /* For browsers that do not support gradients */
    background-image: linear-gradient(180deg, #E50914 -152.94%, #E50914 154.41%);
    text-align: center;
    margin: auto;
    color: white;
    padding: 20px;
    text-decoration: none;
    white-space: nowrap
}

a.greenbutton_large:hover {
    background-color: #C11119;
    /* For browsers that do not support gradients */
    background-image: linear-gradient(180deg, #C11119 -152.94%, #C11119 154.41%);
}

/* Orange Buttons */

a.greenbutton_large {
    background-color: #FF7F50;
    /* For browsers that do not support gradients */
    background-image: linear-gradient(180deg, #FF7F50 -152.94%, #e24b14 154.41%);
    text-align: center;
    margin: auto;
    color: white;
    padding: 20px;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 10px;
}

a.greenbutton_large:hover {
    background-color: #e24b14;
    /* For browsers that do not support gradients */
    background-image: linear-gradient(180deg, #8a2906 -152.94%, #e24b14 154.41%);
}

.buttonWrapper {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.buttonWrapper>a {
    width: 220px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.textWithUnderline {
    display: flex;
    flex-direction: column;
}

.winners-grid .side-bar-text {
    margin-top: 20px;
}

h2.homeh2 {
    font-weight: 500;
    color: #3E5B5A;
    margin-top: 20px;
    margin-bottom: 25px;
    line-height: 1.4;
}

.student-slides-container .slick-slide {
    background: #F2FFFE;
    box-shadow: 0px 3px 10px rgba(15, 119, 113, 0.15);
}

.student-slides-container .slick-slide a {
    text-decoration: none;
    color: #0F7771;
}

.student-slides-container .slick-slide a:hover {
    color: #30CEBB !important;
}

img.featured-scholarship {
    width: 472px;
    height: 400px;
}

#left-arrow-award-slides,
#left-arrow-award-slides-winners,
#left-arrow-award-slides-how-to-win {
    background: url('../img/icons/left_carousel_navigate.svg');
    width: 80px;
    height: 80px;
    cursor: pointer;
    display: flex;
    flex-flow: column;
    align-self: center;
}

#right-arrow-award-slides,
#right-arrow-award-slides-winners,
#right-arrow-award-slides-how-to-win {
    background: url('../img/icons/right_carousel_navigate.svg');
    width: 80px;
    height: 80px;
    cursor: pointer;
    display: flex;
    flex-flow: column;
    align-self: center;
}

.awards-slides,
.winners-slides,
.how-to-win-slides {
    max-width: 1180px;
    overflow: hidden;
    margin: auto;
}

.awards-slides .apply-now-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 15px;
    gap: 8px;
    width: 164px;
    height: 47px;
    background: linear-gradient(180deg, #FE7C4D 0%, #E6511B 100%);
    border-radius: 10px;
    color: #ffffff;
    border: 0;
    font-size: 17px;
}

.awards-slides .apply-now-button:hover {
    background-color: #e24b14;
    background-image: linear-gradient(180deg, #8a2906 -152.94%, #e24b14 154.41%);
    border: none;
    color: white;
}

.awards-slides .featured-icons {
    cursor: pointer;
}

.awards-slides .featured-icons:hover {
    opacity: .5;
}

#featured-scholarships,
#how-to-find-scholarships,
#how-to-win {
    max-width: 1180px;
    margin: auto;
}

#featured-scholarships p,
#realscholarships p,
#how-to-find-scholarships p,
#how-to-win p {
    max-width: 595px;
    margin: 20px 0;
}

#featured-scholarships h2,
#realscholarships h2,
#how-to-find-scholarships h2,
#how-to-win h2,
#faq h2 {
    text-align: left;
}

#featured-scholarships h2>span,
#realscholarships h2>span,
#how-to-find-scholarships h2>span,
#how-to-win h2>span {
    font-weight: 100;
}

.featured-section-buttons {
    margin-right: 15px; 
    margin-bottom: 5px; 
    margin-top: 5px;
}

#find-scholarships-box {
    display: flex;
    justify-content: space-between;
    max-width: 1180px;
    margin: 60px auto 0 auto;
    gap: 40px;
}

#find-scholarships-box>div {
    flex-grow: 1;
    flex-basis: 0;
    background-color: #EAFAF8;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#find-scholarships-box>div>div {
    position: relative;
}

#find-scholarships-box>div>div>div {
    background: #ffffff;
    height: 48px;
    width: 48px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 34px;
    border: 1px solid #C3EEEE;
    position: absolute;
    bottom: -10px;
    left: -30px;
}

#find-scholarships-box>div>div>div>div {
    background: #0F7771;
    color: #ffffff;
    height: 40px;
    width: 40px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#find-scholarships-box>div>img {
    width: 60px;
}

.how-to-win-slides {
    display: none !important;
}

.how-to-win-slides>div>div>div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    width: 350px;
    background: #F2F4F4;
    border-radius: 10px;
    margin: 25px 15px 25px 0;
}

#how-to-win-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1180px;
    margin: 40px auto;
}

#how-to-win-grid>div {
    background-color: #EAFAF8;
    border-radius: 10px;
}

#how-to-win-grid>div>div,
#how-to-win-grid>div>a,
.how-to-win-slides>div>div>div>div,
.how-to-win-slides>div>div>div a {
    margin: 20px 10px;
}

#how-to-win-grid>div>div,
.how-to-win-slides>div>div>div>div {
    height: 200px;
}

#how-to-win-grid>div>img,
.how-to-win-slides>div>div>div img {
    border-radius: 10px 10px 0 0;
}

.how-to-win-slides>div>div>div img {
    width: 350px;
}

#how-to-win-grid>div>div p,
.how-to-win-slides>div>div>div>div p {
    margin-top: 10px;
}

/*marquee styles*/

.wrapper {
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 100px;
}

.marquee {
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    padding: 15px 0 5px 0;
    animation: marquee 75s linear infinite;
}

.marquee p {
    display: inline-block;
}

.marquee img {
    margin-right: 96px;
    opacity: .5;
    vertical-align: middle;
}

@keyframes marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

#faq {
    max-width: 1180px;
    margin: auto
}

#faq>div {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 120px;
    grid-auto-columns: max-content;
    max-width: 1180px;
    margin: auto;
}

#faq>div button {
    display: flex;
    justify-content: space-between;
}

#faq>div hr {
    border: 1px solid #30333A;
}

/*FAQ Accordian*/

button.accordion {
    background-color: #DEF7F4;
    color: #444;
    cursor: pointer;
    padding: 18px 0 18px 0;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    margin-bottom: 1px;
    font-size: 1.4rem;
    font-weight: 400;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */

button.accordion:hover {
    background-color: #DEF7F4;
}

div.panel {
    padding: 0;
    background-color: #DEF7F4;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

img.down {
    margin: 0 5px 1px 0;
    transition: transform 0.2s;
}

@media(max-width:1700px) {
    .green-dot-container {
        display: none;
    }
    #top-section-content-grid h1 {
        font-size: 3.4rem;
    }
    #top-section-content-grid>div:nth-child(2) {
        padding-right: 75px;
    }
}

@media(max-width:1270px) {
    .awards-slides,
    .winners-slides {
        max-width: 800px;
    }
}

@media(max-width: 1250px) {
    .heroText {
        align-items: center;
        text-align: center;
    }
    .heroText-headline {
        display: flex;
        flex-wrap: wrap;
        gap: 0 1rem;
        justify-content: center;
    }
    .heroText p {
        max-width: 100%;
    }
    #top-section-content-grid h1 {
        font-size: 3.2rem;
    }
    .featured-card {
        display: flex;
        flex-direction: column-reverse;
        height: 100%;
        margin-bottom: 25px;
    }
    .featured-card-text-wrapper {
        justify-content: space-between;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .featured-card-text-wrapper h3 {
        font-weight: 500;
        font-size: 1.5rem;
    }
    .featured-card-text-wrapper>div:first-child {
        gap: 1rem;
    }
    .educatorSection h2>svg {
        margin: auto;
    }
    .section-subheading {
        text-align: center;
    }
}

@media(max-width:1180px) {
    #top-section-content-grid {
        display: block;
        margin: auto;
        max-width: 450px;
    }
    .header-image {
        display: none !important;
    }
    .header-image-mobile {
        display: block;
    }
    .find-scholarships-button {
        width: 100%;
        margin: auto;
    }
    .winners-grid {
        display: block;
    }
    .winners-grid>div:nth-child(2) {
        display: none;
    }
    #left-arrow-award-slides,
    #right-arrow-award-slides,
    #left-arrow-award-slides-winners,
    #right-arrow-award-slides-winners,
    #right-arrow-award-slides-how-to-win,
    #left-arrow-award-slides-how-to-win {
        display: none !important;
    }
    .section-background1 {
        background-color: #DEF7F4;
    }
    #featured-scholarships h2 {
        max-width: 350px;
    }
    #realscholarships h2 {
        max-width: 400px;
    }
    #how-to-find-scholarships h2 {
        max-width: 500px;
    }
    #how-to-win h2 {
        max-width: 500px;
    }
    #featured-scholarships .button-secondary,
    #realscholarships .button-secondary {
        text-align: center;
    }
    #featured-scholarships a,
    #realscholarships a,
    #how-to-find-scholarships a,
    #how-to-win a {
        margin: auto;
    }
    .awards-slides,
    .winners-slides,
    .how-to-win-slides {
        max-width: 400px;
    }
    .awards-slides .apply-now-button {
        width: unset;
    }
    #find-scholarships-box {
        flex-direction: column;
    }
    #how-to-win-grid {
        display: none;
    }
    .how-to-win-slides {
        display: block !important;
    }
    #faq {
        margin: initial;
    }
    #faq>div {
        display: flex;
        flex-direction: column;
    }
    .section-background3 {
        padding: 20px 10px;
    }
    .wrapper {
        margin-bottom: 20px;
    }
    .browse-by-scholarships-section {
        margin: 20px 0;
    }
}

@media(max-width:1000px) {
    /* #top-section-content-grid h1 {
            font-size: 3rem;
        }*/
    .howItWorksSection ul {
        flex-direction: column;
    }
    .howItWorksSection li {
        width: 100%;
        flex-direction: row;
        background-position-x: 0%;
    }
    .howItWorksSection li>div {
        margin-left: 95px;
        margin-top: 0;
        gap: 0.5rem;
    }
}

@media(max-width:834px) {
    #top-section-content-grid h1,
    .section-background2 h2,
    .section-background4 h2,
    .section-background3 h2 {
        font-size: 2.5rem;
    }
    #top-section-content-grid h1 span {
        display: block;
    }
    #top-section-content-grid>div:nth-child(2) {
        padding-right: 25px;
    }
    #featured-content-grid>section {
        display: block;
    }
    #featured-content-grid .slick-slide {
        display: inline-flex;
    }
    .slick-list {
        overflow: hidden !important;
    }
}

@media(max-width:600px) {
    .section-background1>div {
        padding-top: 40px;
    }
    #how-to-find-scholarships h2 {
        max-width: 400px;
    }
    #how-to-win h2 {
        max-width: 400px;
    }
    #featured-scholarships .button-secondary,
    #realscholarships .button-secondary {
        margin: auto;
    }
    .find-scholarships-button {
        display: flex;
    }
    .greenbutton_large {
        display: block;
        margin: auto;
    }
    #featured-scholarships .button-secondary,
    #realscholarships .button-secondary {
        display: block;
    }
    .heroText-headline span {
        font-size: 2.5rem;
        gap: 0 1rem;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .heroText p {
        font-size: 1.5rem;
        margin: 5px 0;
    }
    .textWithUnderline {
        align-items: center;
    }
    .educatorSectionWrapper {
        background: #30CEBB30;
    }
    .educatorSection h2 {
        font-size: 2rem;
        text-align: center;
    }
    .howItWorksSection h2 {
        font-size: 2rem;
        text-align: center;
        margin-bottom: -15px;
    }
    .section-subheading {
        font-size: 1.25rem;
        margin-top: -1rem;
    }
}

@media(max-width: 400px) {
    .educatorSection h3,
    .howItWorksSection h3 {
        font-size: 1.1rem;
    }
    .howItWorksSection {
        justify-content: center;
    }
    .howItWorksSection>div {
        width: 100%;
        margin: 0 auto;
    }
    .howItWorksSection>div:nth-of-type(1)>div {
        gap: 0 0.5rem;
    }
    .howItWorksSection li {
        background-position-x: 50%;
    }
    .howItWorksSection li>div {
        margin-left: 0;
        margin-top: 95px;
        align-items: center;
        text-align: center;
    }
}