
:root {
    --P500: #dd2104;

    --N000: #FFFFFF;
    --N100: #F9FAFB;
    --N200: #E5E7EB;
    --N500: #D1D5DB;
    --N550: #A5A8AD;
    --N600: #6B7280;
    --N700: #1F2937;
    --N800: #111827;
    --N900: #030712;

    --pageWidth: 1280px;
    --navMargin: 86px;
    --mobileNavMargin: 40px;
    --p-max-width: 800px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
    font: inherit;
}

html {
    font-size: 16px; 
    hanging-punctuation: first last;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--navMargin) + 40px);
}

html:focus-within{
    scroll-behavior: smooth;
}

/* Turns off animation for people who don't want to see them */
@media (prefers-reduced-motion: reduce){
    html:focus-within {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
        transition: none;
    }
}

body {
    font-family: 'Open Sans',Helvetica,sans-serif;
    min-height: 100svh;
    height: 100%;
    scroll-behavior: smooth;
    overflow: unset;
}

img, picture, svg, video, canvas {
    display: block;
    max-width: 100%;
    height: auto;
    font-style: italic;
    background-repeat: no-repeat; 
    background-size: cover;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600;
    color: var(--N900);
    text-wrap: balance;
    margin: 0;
    padding: 0;
}

p, li {
    max-width: var(--p-max-width, 65ch);
    text-wrap: pretty;
    font-size: 16px;
    line-height: 1.5;
    color: var(--N900);
    padding: 0;
}

.heading-2xl {
    font-size: 4.5rem;
    line-height: 1.22;
}
  
.heading-xl {
    font-size: 3.75rem;
    line-height: 1.2;
}

.heading-lg {
    font-size: 3rem;
    line-height: 1.33;
}

.heading-md {
    font-size: 2.25rem;
    line-height: 1.33;
}

.heading-sm {
    font-size: clamp(1.5rem, 1.125rem + 1vw, 1.875rem);
    line-height: 1.33;
}

.heading-xs {
    font-size: 1.5rem;
    line-height: 1.33;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 1.33;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.5;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.56;
}

.text-md {
    font-size: 1rem;
    line-height: 1.5;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.43;
}

.text-xs {
    font-size: 0.75rem;
    line-height: 1.5;
}
  
.text-semi {
    font-weight: 600;
}

.text-bold {
    font-weight: 700;
}

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

.color-white {
    color: var(--N000);
}

.color-N500 {
    color: var(--N500);
}

.color-N600 {
    color: var(--N600);
}

.color-primary {
    color: var(--P500);
}

.border-btm {
    position: relative;
}

.border-btm::after {
    content: '';
    bottom: 0;
    left: 0;
    right: 0;
    width: calc(100% - 2rem);
    max-width: var(--pageWidth);
    height: 1px;
    background-color: var(--N200);
    position: absolute;
    margin: auto;
}

.bg-N100 {
    background-color: var(--N100);
}


/* Buttons */
.lp-btn {
    padding: 12px 24px;
    font-weight: 600;
    color: var(--N000);
    text-align: center;
    width: fit-content;
    border-radius: 4px;
    border: none !important;
    overflow: hidden;
    position: relative;
    isolation: isolate;
    cursor: pointer;
}

.lp-btn::after {
    content: '';
    background-color: #03071230;
    position: absolute;
    z-index: -1;
    inset: 0 0 0 0;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.lp-btn:hover {
    color: var(--N000);
}


.lp-btn:hover::after {
    opacity: 1;
}

.lp-btn.md {
    padding: 8px 20px;
}

.lp-btn.sm {
    padding: 6px 16px;
}

.lp-btn.display-md {
    display: none;
}


/* Spacing */
.margin-center {
    margin-inline: auto;
}

.mb-0 {
    margin-bottom: 0;
}

h2.mb-0 {
    margin-bottom: 0 !important;
}

.mb-xs {
    margin-bottom: 0.5rem;
}

.mb-sm {
    margin-bottom: 0.75rem;
}

.mb-md {
    margin-bottom: 1rem;
}

.mb-lg {
    margin-bottom: 1.5rem;
}

.mb-xl {
    margin-bottom: 2rem;
}

.mb-2xl {
    margin-bottom: 3rem;
}

.section_wrapper{
    padding: 8rem 1rem;
    max-width: var(--pageWidth);
    margin: auto;
}

.flex-group {
    display: flex;
    gap: 1.5rem;
}

.flex-col-33 {
    flex: 33%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-right: 3rem;

    position: relative;
}

.flex-col-66 {
    flex: 66%;
}

.flex-col-50 {
    flex: 50%;
}

.flex-group-col{
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sticky_wrapper {
    position: sticky;
    top: 200px;
}

.pb-0 {
    padding-bottom: 0;
}

.p-spacing > p {
    margin-bottom: 1rem;
}



/****** 

Competition Template 

******/



/****** Sticky Nav ******/

.fixed_page_nav {
    background-color: var(--N900);
    position: fixed;
    width: 100%;
    z-index: 10;
}

.nav_wrapper {
    max-width: var(--pageWidth);
    padding: 1.5rem 1rem;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fixed_page_nav ul {
    display: flex;
    gap: 1.75rem;
    margin: 0;
}

.fixed_page_nav ul li{
    font-size: 14px;
    font-weight: 600;
    list-style-type: none;
    margin: 0;
}

.fixed_page_nav ul li a{
    color: white;
}

.mobile_fixed_nav {
    display: none;
    align-items: flex-end;
    gap: 0.5rem;
}

.mobile_fixed_nav .mobile_fixed_nav__selection {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
}

.mobile_fixed_nav .mobile_fixed_nav__icon {
    transition: transform 0.3s ease-in-out;
}

.mobile_nav_dropdown {
    background-color: var(--N900);
    overflow: hidden;
    max-height: 0;
    transition: max-Height 0.3s ease-in-out;
}

.mobile_nav_open {
    max-height: 500px;
}

.mobile_nav_dropdown ul{
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 0.5rem 1.5rem 1.5rem;
}


/****** Comp Page layout ******/
.comp_hero_section {
    background-color: var(--N900);
    margin-top: var(--navMargin);
    position: relative;
    isolation: isolate;
}

.comp_hero_section .hero_wrapper {
    max-width: var(--pageWidth);
    padding-inline: 1rem;
    margin: auto;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    min-height: 612px;
}

.comp_hero_section .hero_content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-right: 5rem;
}

.deadline_wrapper {
    display: flex;
    width: fit-content;
    background-color: var(--N800);
    border-radius: 100vw;
    border: 1px solid var(--N700);
}

.deadline_name {
    padding: 0 6px 2px 6px;
    border-radius: 100vw;
}

.deadline_date {
    padding: 0 8px 2px 8px;
}

.comp_hero_section .hero_content img {
    width: 152px;
    padding: 1.5rem 0;
}

.comp_hero_section .hero_image {
    position: relative;
    display: grid;
    place-items: center;
}

.comp_hero_section .hero_image .play_button_container{
    position: absolute;
    width: 80px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background-color: rgb(255 255 255 / 75%);
    box-shadow: 0px 5px 5px 0px rgba(3, 7, 18, 0.05), 0px 10px 8px 0px rgba(3, 7, 18, 0.10);
    backdrop-filter: blur(4px);
    z-index: 5;
    transition: scale 0.2s ease-in-out;
    cursor: pointer;

    display: grid;
    place-items: center;
}

.comp_hero_section .hero_image .play_button_container:hover{
    scale: 1.1;
}

.comp_hero_section .hero_image img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    clip-path: polygon(22% 0, 100% 0, 100% 76%, 78% 100%, 26% 100%, 26% 76%, 0 76%, 0 24%);
}

.comp_hero_section .featured_jury_wrapper {
    padding: 1.75rem 1rem;
    max-width: var(--pageWidth);
    margin: auto;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.comp_testimonial_section .title_row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.comp_testimonial_section .slider_controls {
    display: flex;
    gap: 0.75rem;
}

.comp_testimonial_section .slider_controls > div {
    width: 40px;
    aspect-ratio: 1/1;
    border: 1px solid var(--N200);
    border-radius: 4px;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.comp_testimonial_section .slider_prev svg {
    transform: rotate(180deg);
}

.testimonial_slider {
    margin-left: -0.75rem; /* Match the card margin */
    margin-right: -0.75rem; /* Match the card margin */
}

.testimonial_slider .slick-track {
    display: flex !important;
    /* gap: 1.5rem; */
}

.testimonial_slider .slick-slide {
    height: inherit !important;
}

.comp_testimony_card {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    gap: 3rem;
    padding: 3rem;
    border-radius: 8px;
    margin: 0 0.75rem;
}

.testimonial_wrapper {
    position: relative;
}

.testimonial_gradient {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100px;
    pointer-events: none;
}

.comp_testimony_card__testimony {
    max-height: 250px;
    overflow-y: auto;
    padding-right: 5px;
}

.comp_testimony_card__testimony::-webkit-scrollbar {
    width: 5px;
}
.comp_testimony_card__testimony::-webkit-scrollbar-thumb {
    background-color: transparent;
}
.ccomp_testimony_card__testimony::-webkit-scrollbar-track {
    background-color: transparent;
}

.comp_testimony_card__testimony:hover::-webkit-scrollbar-thumb {
    background-color: #0001;
    border-radius: 20px;
}

.comp_testimony_card__info {
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    align-items: center;
}

.comp_testimony_card__info_content p:first-child {
    margin-bottom: 4px;
}

.comp_testimony_card__info img {
    width: 48px;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 8px;
}

.key_dates_boxes {
    display: flex;
    gap: 1.5rem;
}

.key_dates_box {
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 50%;
}

.deadlines_box .key_dates_row > p {
    color: var(--N550);
}

.deadlines_box .key_dates_row.next-deadline > p {
    color: var(--N900);
}

.announcements_box .key_dates_row.past-announcement > p {
    color: var(--N550);
}

.key_dates_row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-block: 1rem;
    border-top: 1px solid var(--N200);
}

.key_dates_row p:first-child{
    flex: 1 0 fit-content;
}

.key_dates_row p:last-child{
    text-align: right;
}

.comp_prizes_section,
.comp_guarantees_section {
    background-color: var(--N100);
}

.prize_card {
    display: flex;
    gap: 1rem;
    background-color: var(--N000);
    padding: 1.5rem;
    border-radius: 8px;
}

.prize_card__icon_group {
    flex: 1 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.prize_card__content {
    flex: 100%;
}

.prize_card__content ul {
    margin-bottom: 0;
}

.prize_card__content li + li {
    margin-top: 0.5rem;
}

.prize_card__featrued_wrapper {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.prize_card__featrued {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    min-width: 275px;
    padding: 1.5rem;
    border-radius: 8px;
    background-color: var(--N100);
}

.prize_card__featrued img{
    max-height: 48px;
    border-radius: 8px;
}

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

.comp_jury_section .jury_card {
    text-align: center;
    padding: 3rem 1.5rem;
    background-color: var(--N100);
    border-radius: 8px;
    position: relative;
}

.comp_jury_section .jury_flip_card {
    position: relative;
    height: clamp(325px, calc(325px + 0.2098 * (100vw - 1024px)), 372px);
    perspective: 1000px;
}

.jury_flip_card__side {
    position: absolute;
    inset: 0 0 0 0;
    width: 100%;
    height: 100%;
    transition: all 0.8s ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 8px;
    overflow: hidden;
    transform-style: preserve-3d;
}

.jury_flip_card__front {
    text-align: center;
    padding: 3rem 1.5rem;
    background-color: var(--N100);

    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.jury_flip_card__back {
    padding: 2rem 1.5rem;
    transform: rotateY(180deg);
}

.jury_flip_card:hover .jury_flip_card__front {
    transform: rotateY(-180deg);
}

.jury_flip_card:hover .jury_flip_card__back {
    transform: rotateY(0);
}

.jury_flip_card__front > img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: contain;
    border-radius: 8px;;
}

.jury_flip_card__front .jury_card_content.flex-row {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.jury_flip_card__front .jury_card_content > img {
    width: 50px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
}

.jury_flip_card__front .jury_card_content > div {
    text-align: left;
}


.jury_flip_card__bio {
    color: var(--N000);
    overflow-y: auto;
    max-height: 100%;
    padding-right: 8px;
}

.jury_flip_card__bio::-webkit-scrollbar {
    width: 4px;
}
.jury_flip_card__bio::-webkit-scrollbar-thumb {
    background-color: transparent;
}
.jury_flip_card__bio::-webkit-scrollbar-track {
    background-color: transparent;
}

.jury_flip_card__bio:hover::-webkit-scrollbar-thumb {
    background-color: #fff3;
    border-radius: 20px;
}

.comp_jury_section .jury_card__bio {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(100% + 1rem);
    background-color: var(--N000);
    border-radius: 8px;
    padding: 1.5rem;
    pointer-events: none;
    box-shadow: 0px 1px 0px 0px #F8F8F8 inset, 0px 1px 3px 0px rgba(0, 0, 0, 0.10), 0px 1px 2px -1px rgba(0, 0, 0, 0.10);
    opacity: 0;
    transform: translateX(-5000px);
    transition: opacity 0.3s ease-in-out;
}

.comp_jury_section .jury_card__bio::before {
    content: "";
    position: absolute;
    z-index: -1;
    bottom: -10px;
    left: 50%;
    width: 60px;
    height: 22px;
    transform: translateX(-50%) translateY(-50%);
    background: #ffffff;
}

.comp_jury_section .jury_card__bio::after {
    content: "";
    position: absolute;
    z-index: -2;
    bottom: -20px;
    left: 50%;
    width: 20px;
    height: 20px;
    transform: translateX(-50%) translateY(-50%) rotate(45deg);
    background: #ffffff;
    border-radius: 2px;
    box-shadow: 0px 1px 0px 0px #F8F8F8 inset, 0px 1px 3px 0px rgba(0, 0, 0, 0.10), 0px 1px 2px -1px rgba(0, 0, 0, 0.10);
}

.comp_jury_section .jury_card:hover .jury_card__bio {
    opacity: 1;
    transform: translateX(0px);
}

.comp_jury_section .jury_card__bio p {
    text-align: left;
    /* max-height: 200px; */
    /* overflow-y: scroll; */
}

.comp_rules_section {
    background-color: var(--N900);
    position: relative;
    isolation: isolate;
}

.accordion_group {
    padding: 1.5rem;
    background-color: var(--N900);
    border: 1px solid var(--N700);
    border-radius: 8px;
    cursor: pointer;
}

.accordion_row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.accordion_row svg {
    flex-shrink: 0;
    transition: transform 0.2s ease-out;
}

.rotated {
    transform: rotate(180deg);
}

.accordion_content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-in-out;
}

.accordion_content > div{
    margin-top: 1.5rem;
}

.accordion_content div * {
    color: var(--N000);
}

.accordion_content div p {
    margin-bottom: 0.5rem;
}

.accordion_content div li {
    margin-bottom: 0.25rem;
}

.comp_cta {
    margin-top: 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    background-color: var(--N900);
    border: 1px solid var(--N700);
    border-radius: 8px;
    overflow: hidden;
}

.comp_cta .comp_cta__content {
    margin: 3rem 0 3rem 3rem;
}

.comp_cta > img {
    flex-shrink: 0; 
    height: 100%;
    max-height: 233px;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
}

.packages_modal_wrapper {
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background-color: rgba(0, 0, 0, 0.69);
    z-index: 9999;
}

.packages_card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background-color: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    width: 612px;
    max-width: calc(100% - 40px);
}

.packages_card__header,
.packages_card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close_modal {
    cursor: pointer;
}

.close_modal svg > path{
    fill: var(--N500);
}

.packages_card__buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 1.5rem auto;
}

.package_button {
    border: 1px solid var(--N200);
    border-radius: 8px;
    cursor: pointer;
    transition: border 0.3s ease-in-out;
}

.package_button_row {
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.package_name {
    transition: color 0.3s ease-in-out;
}

.feedback_description {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--N200);
    transition: border 0.3s ease-in-out;
}

.video_modal_wrapper {
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background-color: rgba(0, 0, 0, 0.69);
    z-index: 9999;
}

.modal_content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    padding: 0;
    width: 800px;
    max-width: calc(100% - 40px);
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.video_modal_wrapper iframe {
    width: 100% !important;
    height: 100% !important;
}




@media (max-width: 1200px) {

    .comp_hero_section .hero_content {
        padding-right: 0;
    }

    .comp_hero_section .featured_jury_wrapper {
        justify-content: flex-start;
        gap: 0.75rem 1.5rem;
    }



}

@media (max-width: 1024px) {

    .comp_template .flex-col-33 {
        padding: 0;
    }

    .key_dates_boxes {
        flex-direction: column;
    }

    .comp_template .comp_jury_section .flex-group {
        flex-direction: column;
    }

    .comp_jury_section .jury_flip_card {
        height: clamp(325px, calc(325px + 0.2948 * (100vw - 600px)), 450px);
    }

    .comp_jury_section .jury_card_images img {
        width: 110px;
    }


}


@media (max-width: 768px) {
    .nav_wrapper {
        padding: 1rem;
    }
    
    .fixed_nav {
        display: none;
    }

    .mobile_fixed_nav {
        display: flex;
    }

    .comp_hero_section {
        margin-top: var(--mobileNavMargin);
    }

    .comp_hero_section .hero_wrapper {
        flex-direction: column;
    }

    .comp_hero_section .hero_content {
        padding-block: 5rem;
    }

    .comp_template .flex-group {
        flex-direction: column;
    }

    .comp_template .comp_intro_section .flex-group {
        gap: 1.5rem;
    }

    .comp_template .flex-group {
        gap: 3rem;
    }

    .comp_template .flex-col-33 {
        flex: 1;
    }

    .comp_template .flex-col-66 {
        flex: 1;
    }

    .lp-btn.display-md {
        display: block;
    }

    .lp-btn.display-lg {
        display: none;
    }

    .key_dates_boxes {
        flex-direction: row;
    }

    .key_dates_box {
        height: auto;
    }

    .prize_card {
        flex-direction: column;
    }

    .comp_cta {
        flex-direction: column;
        align-items: unset;
    }

    .comp_cta > img {
        max-height: unset;
    }
}

@media (max-width: 600px) {

    .comp_testimony_card {
        padding: 2rem;
    }

    .key_dates_boxes {
        flex-direction: column;
    }

    .comp_jury_section .jury_cards {
        grid-template-columns: 1fr;
    }

    .comp_jury_section .jury_flip_card {
        height: clamp(325px, calc(325px + 0.7778 * (100vw - 375px)), 500px);
    }
}




