/* General Styles */
.sponser-appeal{
    height: 75vh;
    background: linear-gradient(16deg, rgb(178 176 255 / 0%) 5.56%, rgb(54 48 255 / 25%) 49.74%, rgb(47 210 137 / 0%) 93.01%);
}
.sponsor-container {
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.intro h1 {
    font-size: 3vw;
    font-family: 'Crimson Text';
    font-weight: 600;
}

.intro p {
    width: 74%;
    font-size: 1vw;
    padding: 20px 0;
}

.aside-img img {
    width: 115%;
}

.sponsor-line span {
    color: #29274D;
    display: inline-block;
    width: 2px;
    height: 100%;
    background-color: #29274D;
}

/* Sponsor Section */
.sponsordiv {
    margin-top: -5vh;
    background-color: #29274D;
    padding: 50px;
    clip-path: polygon(0% 0%, 49.75% 2.25%, 100% 0%, 100% 50.5%, 100% 99.75%, 100% 100%, 100% 100%, 52.75% 98.25%, 0% 100%, 0% 49.75%);
}

.sponsor-section,
.sponsor-two {
    display: grid;
    gap: 30px;
    padding: 20px 50px;
}

.sponsor-section {
    grid-template-columns: repeat(2, 1fr);
}

.sponsor-two {
    grid-template-columns: repeat(3, 1fr);
}

/* Sponsor Cards */
.sponsor-card {
    display: flex;
    align-items: center;
    background: #fff;
    color: #1e2548;
    padding: 20px;
    border-radius: 10px;
    position: relative;
}

.sponsor-content {
    width: 55%;
}

.sponsor-line {
    width: 10%;
    text-align: center;
    height: 100%;
}

.info {
    width: 40%;
    text-align: left;
}

.info .cost {
    font-family: Georgia;
    font-weight: 700;
    font-size: 2vw;
}

.info p {
    font-size: 1vw;
}

.sponsor-two {
    width: 100%;
}

.sponsor-two .info {
    width: 48%;
}

.sponsor-two .category-label {
    left: -41px !important;
}

.information {
    margin-left: 50px;
}

.information h4 {
    font-family: Georgia;
    background-color: white;
    width: fit-content;
    padding: 10px 20px;
    font-size: 20px;
    font-weight: 600;
}

.sponsor-card .category-label {
    color: white;
    padding: 6px 12px;
    border-radius: 0 20px 0 20px;
    font-size: 14px;
    font-weight: bold;
    position: absolute;
    top: -10px;
    left: -64px;
    transform: translateX(50%);
}

.sponsor-section .diamond {
    left: -61px ! important;
}

.sponsor-two .gold {
    left: -47px ! important;
}

.sponsor-two .silver {
    left: -51px ! important;
}

.sponsor-two .bronze {
    left: -56px ! important;
}

.diamond {
    background-color: #0E8A93;
}

.platinum {
    background-color: #FF8A02;
}

.gold {
    background-color: #C9B800;
}

.silver {
    background-color: #638A90;
}

.bronze {
    background-color: #CD7F32;
}

.sponsor-card ul {
    padding: 20px 20px 0;
    text-align: left;
}

.sponsor-card ul li {
    margin-bottom: 10px;
}

.details {
    display: grid;
    gap: 20px;
    padding: 20px 50px;
    grid-template-columns: repeat(3, 1fr);
}

.contact {
    text-align: center;
    color: white;
    padding: 15px 10px;
    border-radius: 10px;
    border: 2px solid white;
}

.contact h5 {
    font-weight: 600;
    margin: 0;
    font-size: 20px;
}

.contact p {
    margin: 0;
    line-height: 30px;
    font-family: sans-serif;
}

.content-overview {
    text-align: center;
    margin-top: 50px;
}

.content-overview h2 {
    font-size: 2vw;
    font-weight: 600;
}

.overview-content {
    display: flex;
    padding: 25px 50px;
    position: relative;
}

.overview-content img {
    object-fit: contain;
    border-style: none;
    width: 36%;
}

.overview-text p {
    padding: 10px 0 10px 20px;
    text-align: left;
    font-size: 1vw;
    line-height: 4vh;
}

.stats {

    background: white;
    display: grid;
    grid-template-columns: repeat(4, 15vw);
    gap: 20px;
    bottom: 0;
    position: absolute;
    right: 6%;
    color: black;
    padding: 50px;
    z-index: 10;

}

.stat-item h2 {
    font-size: 2vw;
    font-weight: 600;
}

.stat-item p {
    text-align: center;
    line-height: 8vh;
    font-size: 1vw;
    padding: 0;
}

.event {
    padding: 50px;
}

.event-title h1 {
    font-size: 2vw;
    font-weight: 600;
}

.photo-container {
    margin-top: 20px;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, 1fr);
}

.photo {
    border: 1px solid #9C9C9C;
    padding: 20px;
    width: 100%;
    border-radius: 15px;
}
.photo img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}   
.function {
    text-align: left;
    padding: 16px 16px 0 0;
    width: 100%;
}

.function p {
    font-size: 1vw;
    font-weight: 600;
}

.mini-intro-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mini-intro-container span {
    color: #29274D;
    display: inline-block;
    width: 10vw;
    height: 2px;
    background-color: #29274D;
}

.mini-intro-container h1 {
    padding: 13px;
    font-size: 2vw;
    font-weight: 600;
}

.mini-intro-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mini-intro-content p {
    font-size: 1vw;
    width: 60%;
    text-align: center;
}

.featured {
    color: white;
    background-color: #29274D;
    padding: 50px;
    clip-path: polygon(0% 0%, 49.75% 2.25%, 100% 0%, 100% 50.5%, 100% 99.75%, 100% 100%, 100% 100%, 52.75% 98.25%, 0% 100%, 0% 49.75%);
}

.featured-photo-container {
    display: grid;
    margin-top: 25px;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
}

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

.flip-card {
    width: 300px;
    height: 400px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

.flip-card-front {
    background-color: #bbb;
    color: black;
}

.flip-card-back {
    background-color: #000000;
    color: white;
    transform: rotateY(180deg);
    padding: 10px;
}

.flip-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.flip-card-back h1,
.flip-card-back p {
    margin: 0;
    padding: 10px;
    text-align: left;
}

/* Optional text styling */
.flip-card-back h1 {
    font-size: 1.5em;
    font-weight: bold;
}

.flip-card-back p {
    font-size: 20px;
    margin-top: 10px;
}

.photo-text {
    position: absolute;
    bottom: -5px;
    /* left: 0px; */
    /* right: 45px; */
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px;
    text-align: left;
    font-size: 2vw;
}

.featured-photo img {
    width: 90%;
    height: auto;
    object-fit: cover;
}

.featured-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
}

.featured-content p {
    font-size: 1vw;
    width: 80%;
    text-align: center;
}

.highlight {
    padding: 50px;
}

.highlight-overview {
    text-align: center;
    margin-top: 50px;
}

.highlight-overview h2 {
    font-size: 2vw;
    font-weight: 600;
}

.highlight-content {
    display: flex;
    padding: 25px 50px;
}

.highlight-content img {
    margin-top: 5px;
    border-radius: 35px;
    object-fit: contain;
    border-style: none;
    width: 25%;
}

.highlight-text {
    padding: 0 30px;
}

.highlight-text p {
    text-align: left;
    font-size: 1vw;
}

.committee {
    padding: 0 50px;
}

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

.committee-title h1 {
    font-size: 2vw;
    font-weight: 600;
}

.committee-photo-container {
    margin-top: 40px;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, 1fr);
}

.committee-photo {
    border: 1px solid #9C9C9C;
    padding-top: 20px;
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    border-radius: 15px;
}

.committee-photo img {
    width: 85%;
    height: 280px;
    object-fit: cover;
    border-radius: 20px;
}

.committee-contact {
    text-align: center;
    padding: 16px 16px 0 16px;
    width: 100%;
}

.committee-contact h4 {
    font-size: 1.2vw;
    font-weight: 600;
}

.committee-contact p {
    font-size: 1vw;
}

.greeting {
    padding: 50px;
}

.greeting-container {
    display: flex;
    align-items: center;
    flex-direction: column;
    font-weight: 600;
    font-size: 1vw;
}

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

/* For screens between 360px and 800px */
@media screen and (max-width: 360px) and (max-height: 800px) {
    .featured {
        padding: 45px 12px;

    }
}

/* For screens between 320px and 780px */
@media screen and (min-width: 320px) and (max-width: 780px) {
    .sponser-appeal{
        height: unset !important;
        margin-bottom: 10px
    }
    .sponsor-container {
        margin-top: 20px !important;
    }
    .committee-photo img {
    width: 85%;
    height: 20vh;
    object-fit: cover;
    border-radius: 20px;
}

    .intro h1 {
        font-size: 7vw;
    }

    .intro p {
        width: 90%;
        text-align: left;
        font-size: 4vw;
    }

    .sponsor-container .col-4,
    .sponsor-container .col-8 {
        max-width: 84%;
    }

    .sponsordiv {
        padding: 30px;
    }

    .information {
        margin-left: 0;
        padding-top: 20px;
    }
.information h4 {
    width: unset;
    padding: 10px 20px;
    font-size: 4vw;
}
    .sponsor-section,
    .sponsor-two {
        padding: 0;
        padding-top: 20px;

    }

    .details {
        padding: 0;
        padding-top: 20px;
        grid-template-columns: 1fr;

    }

    .sponsor-container {
        flex-direction: column-reverse;
        align-items: center;
    }

    .aside-img img {
        width: 100%;
    }

    .sponsor-section,
    .sponsor-two {
        grid-template-columns: 1fr;
    }

    .content-overview h2 {
        font-size: 6vw;
    }

    .overview-content {
        display: flex;
        flex-direction: column;
        align-items: center;
            padding: 25px 50px 0;
    }

    .overview-content img {
        width: 90%;
    }

    .overview-text p {
        padding: 10px 0 10px 5px;
        font-size: 4vw;
        line-height: 30px;
        margin: 0;
    }

    .stats {
        margin: 0;
        padding: 5px 50px;
        background: white;
        display: grid;
        position: unset;
        grid-template-columns: repeat(2, 1fr);
        width: 125%;
    }

    .stat-item h2 {
        text-align: left;
    }

    .stat-item p {
        text-align: left;
        font-size: 3vw;
        line-height: unset;

    }

    .info p {
        font-size: 5vw;
    }

    .info .cost {
        font-size: 6vw;
    }

    .sponsordiv {

        clip-path: polygon(0% 0%, 49.75% 0.25%, 100% 0%, 100% 50.5%, 100% 99.75%, 100% 100%, 100% 100%, 52.75% 99.25%, 0% 100%, 0% 49.75%);
    }

    .event {
        /* margin-top: 28vh; */
        padding: 30px;

    }

    .function p {
        font-size: 3vw;
    }

    .event-title h1 {
        font-size: 6vw;
        text-align: center;
    }

    .photo-container {

        grid-template-columns: repeat(2, 1fr);
    }
    .photo img {
    height: 15vh;
}

    .mini-intro-container h1 {
        padding: 6px 8px 0px;
        font-size: 5vw;
    }

    .mini-intro-container span {
        width: 10vw;
    }

    .mini-intro-content p {
        font-size: 3vw;
        width: 85%;
    }

    .featured-title h1 {

        font-size: 7vw;
    }

    .featured-photo-container {
        grid-template-columns: repeat(1, 1fr);
    }

    .featured-content {
        padding: 20px 0 0 0;
    }

    .featured-content p {
        font-size: 3vw;
        width: 100%;
        text-align: center;
    }

    .highlight {
        padding: 0;
    }

    .highlight-overview {
        margin-top: 30px;
    }

    .highlight-overview h2 {
        font-size: 5vw;
    }

    .highlight-content {
        display: flex;
        padding: 0;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
    }

    .highlight-content img {
        border-radius: 15px;
        width: 50%;
    }

    .highlight-text p {
        text-align: left;
        font-size: 3vw;
    }

    .committee-title h1 {
        margin-top: 3px;
        font-size: 7vw;
        font-weight: 600;
    }

    .highlight-text {
        margin-top: 5px;
        padding: 5px 30px;
    }

    .committee {
        padding: 0 19px;
    }

    .committee-photo-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .committee-contact p {
        font-size: 3vw;
    }

    .committee-contact h4 {
        font-size: 3.2vw;
        font-weight: 600;
    }

    .greeting {
        padding: 15px 20px;
    }

    .greeting-container {
        text-align: center;
        font-size:3vw ;
    }

    .greeting-container P {
        margin: 0;
    }
}

/* For screens between 845px and 926px */
@media screen and (min-width: 845px) and (max-width: 926px) {
    .sponsor-container {
        margin-top: 100px !important;
    }
}

@media screen and (min-width: 428px) and (max-width: 926px) {
    .sponsor-container {
        margin-top: 100px !important;
    }
}
@media (max-width: 1024px) {
    .sponser-appeal{
        height: 60vh ;
    }
}
@media (max-width: 1440px) {
    .sponser-appeal{
        height: 80vh ;
    }
}