@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');
/* @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap'); Import the new font */


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    width: 100vw;
    background-image: url('https://img.freepik.com/premium-vector/hand-painted-watercolor-abstract-background_889452-27198.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

h1,
h2 {
    font-weight: 800;
    color: rgb(35, 35, 85);
    text-align: center;

}

span {
    font-size: .9rem;
    color: #757373;
}

h6 {
    font-size: 1.1rem;
    color: rgb(24, 24, 49);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items:center;
    padding: 0.5vw 1vw; /* Decreased padding */
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
    background-color: rgb(87, 180, 242);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items:center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

nav img {
    width: 120px; /* Decreased logo size */
    cursor: pointer;
  
}

nav .navigation {
    display: flex;
    align-items:self-end;
}

nav .navigation ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
    padding: 0px;
    margin: 0px;
}

nav .navigation ul li {
    margin-left: 30px; /* Adjusted margin */
}

nav .navigation ul li a {
    text-decoration: none;
    color: rgb(21, 21, 100);
    font-size: 20px; /* Decreased font size */
    font-weight: 600;
    transition: 0.3s ease;
    padding: 10px; /* Adjusted padding */
}

nav .navigation ul li a:hover {
    color: rgb(211, 37, 3);
}

.menu-icon {
    display: none;
    cursor: pointer;
    margin-left: auto;
}

.menu-icon i {
    font-size: 1.25rem; /* Adjusted menu icon size */
}

/* Sections styling */

#challenge-section,
#award-section,
#team-section,
#registration-section,
#dates-section {
    /* font-family: Verdana, Geneva, Tahoma, sans-serif; */
    font-size: 35px;
    font-weight: bold;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
    color: rgb(35, 35, 85);
}

/* Image and responsive adjustments */

.fit-image {
    width: 100%;
    height: auto;
    object-fit:cover;
}

.challenge-container {
    display: flex;
    justify-content:center;
    align-items: center;
    padding-left: 150px;
    background-color: rgba(243, 243, 243, 0.8);
    margin: 30px;
    border-radius: 10px;
    box-shadow: 0 7px 15px rgba(150, 219, 228, 0.83); /* Box shadow settings */

}


.challenge-text {
    flex: 1;
    margin-right: 25px;
    /* font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif; */
    font-size: 22px;
    color: rgb(1, 1, 4);
}

.challenge-image {
    flex: 1;
    max-width: 550px;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease, opacity 0.3s ease; /* Adding transition effect */
    box-shadow: 0 8px 15px rgba(147, 171, 241, 0.83); /* Box shadow settings */

}

.challenge-image:hover {
    transform: scale(1.05); /* Scale up on hover */
    opacity: 0.8; /* Reduce opacity on hover */
}





.center-text {
    text-align: center;
    padding: 20px; /* Adjust padding as needed */
    margin-top: 20px; /* Adjust top margin as needed */
    margin-bottom: 20px; /* Adjust bottom margin as needed */
}



/* .image {
    max-width: 100%;
    height: 75vh;
    display: block;
    margin: 0 auto 40px;
    padding: 0 20px;
    box-sizing: border-box;
    transition: transform 0.3s ease, opacity 0.3s ease;
       
}

.image:hover {
    transform: scale(1.05);
} */
.prize-cards-container {
    display: flex;
    justify-content: space-around; 
    align-items: flex-start; /* Align cards at the top */
    flex-wrap: wrap;
    padding: 20px;
    gap: 20px; /* Space between cards */
}

.prize-card {
    background-color: #f0f0f0;
    border-radius: 12px; /* Slightly larger radius for a softer look */
    padding: 0; /* Remove padding to ensure the image is at the top */
    width: 400px; /* Increase width */
    height: 400px; /* Increase height */
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Slightly deeper shadow for better contrast */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.prize-card:hover {
    transform: translateY(-10px); /* Slightly higher elevation on hover */
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15); /* Darker shadow on hover */
}

/* Updated background colors to match the prize images */
.first-prize {
    background-color:  #c4a5a5; /* Light blue to match 1st prize image */
}

.second-prize {
    background-color: #e19898; /* Light red to match 2nd prize image */
}

.third-prize {
    background-color: #c4a5a5; /* Light pinkish-brown to match 3rd prize image */
}

.prize-image {
    margin-bottom: 15px; /* Space between the image and the rest of the card */
}

.prize-image img {
    max-width: 100%;
    /* border-radius: 12px 12px 0 0; */
    height: 250px; /* Increase the height of the image */
    object-fit: cover; /* Ensure the image covers the specified height */
}

.prize-details {
    padding: 15px 20px; /* Add padding here instead */
}

.prize-money {
    font-size: 1.7em; /* Slightly larger for emphasis */
    margin-top: 10px;
    color: #120e0e; 
    
}

.prize-position {

    font-size: 1.3em; /* Slightly larger for emphasis */
    color: #120808; /* Slightly muted color for better contrast with prize money */
}


  




/* Dates section adjustments */


#dates-section {
    text-align: center;
    margin-top: 40px;
}

.dates-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.date-item {
    background-color: rgb(232, 191, 169);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 8px 15px rgba(21, 59, 195, 0.1);
    width: 250px; /* Adjusted width */
    text-align: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.date-item:hover {
    background-color: rgb(77, 159, 217); /* Change to your hover color */
    transform: translateY(-5px); /* Optional: Add a subtle lift effect */
}



.date-item p {
    font-size: 1.1rem;
    color: rgba(4, 8, 36, 0.982);
    margin-top: 10px;
}

/* countdown section */

/* .countdown-container {
    text-align: center;
    padding-right: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    margin: 20px;
    border-radius: 10px;
} */

.countdown-content {
    background-color: rgb(255, 255, 255);
    display: flex;
    justify-content:left; /* Adjust alignment as needed */
    align-items: center;
    gap: 80px; /* Adjust the gap between image and countdown */
    padding: 20px; /* Adjust padding as needed */
    box-shadow: 0 8px 15px rgba(63, 173, 224, 0.83); /* Box shadow settings */
    border-radius: 20px;
    margin-right: 40px;
    margin-left: 40px;
}

.countdown-image{
    flex: 1;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 15px rgba(148, 170, 236, 0.83); /* Box shadow settings */

}
#countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px; /* Adjust the gap between time box and other elements */
}

.time-box {
    background-color: rgb(240, 88, 128);
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 120px;
    text-align: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 7px 15px rgba(79, 84, 208, 0.83); /* Box shadow settings */
}

.time-box span {
    display: block;
    font-size: 32px; /* Larger font size */
    font-weight: 700;
    color: #fff; /* Text color inside the time box */
}

.time-box span + span {
    font-size: 18px; /* Adjusted font size */
    font-weight: 400;
    color: #fff; /* Text color inside the time box */
}

.time-box:hover {
    transform: scale(1.1); /* Scale up on hover */
    opacity: 0.8; /* Reduce opacity on hover */
}


/* Team section adjustments */

/* General Container Styles */
.team-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
}

.team-member {
    flex: 1 1 calc(45% - 40px); /* Adjusted width calculation to accommodate padding */
    max-width: 300px;
    margin: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background-color: #f9f9f9;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(55, 177, 218, 0.797);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 5%;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.team-member p {
    margin: 10px 0;
    font-size: 1.0rem;
    font-weight: 300;
    color: rgb(35, 35, 85);
    word-wrap: break-word;
}

.team-member p:nth-of-type(2) {
    margin-top: 5px;
    margin-bottom: 0;
}

.team-member .bio {
    margin-top: 10px;
    font-size: 0.9em;
    color: #080606;
    display: none;
    height: auto; /* Ensure bio takes up space only when visible */
}

.team-member .read-more {
    font-size: 0.7em;
    color: #000000;
    background-color: rgb(255, 255, 255);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    align-self: flex-end;
}

.team-member.expanded .bio {
    display: block;
}
.team-container.show-bios .bio {
    display: block;
}

/* Registration form adjustments */

.form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.registration-form {
    background: #f7f7f7;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.form-group label {
    font-size: 1rem;
    font-weight: 600;
    color: rgb(35, 35, 85);
    margin-bottom: 5px;
}

.form-group input {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid rgb(35, 35, 85);
    border-radius: 5px;
}

.form-group.half {
    width: 48%;
}

.registration-form .form-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.registration-form .form-group {
    flex: 1 1 100%;
    margin-bottom: 15px;
}

.registration-form .form-group.half {
    flex: 1 1 calc(50% - 10px);
    margin-right: 10px;
}
.registration-form button {
    margin-top: 20px;
    padding: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    background-color: rgb(32, 72, 124);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%; /* Make the button span the full width */
}

.registration-form button:hover {
    background-color: rgb(216, 176, 137);
}
/* Media query for smaller screens */

@media (max-width: 768px) {
    nav {
        padding: 1rem; /* Adjust padding for better spacing */
    }

    nav .navigation ul {
        display: none; /* Hide navigation links by default on smaller screens */
    }

    .menu-icon {
        cursor: pointer;
        margin-left: auto; /* Pushes the menu icon to the right */
    }
    .menu-icon {
        display: block; /* Display the menu icon on smaller screens */
    }

    .menu-icon i {
        font-size: 1.5rem; /* Adjust the size of the menu icon */
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px; /* Adjust the position from the top */
        right: 0;
        background-color: rgb(87, 180, 242); /* Background color for the dropdown */
        width: 100%; /* Make the dropdown full width */
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); /* Box shadow for the dropdown */
        z-index: 1000; /* Ensure dropdown is above other content */
    }

    .nav-links.active li {
        padding: 10px; /* Adjust padding for each link */
        text-align: center; /* Center text */
    }

    .nav-links.active li a {
        color: #fff; /* Text color for links in the dropdown */
    }
}




/* Challenge section adjustments for smaller screens */
@media (max-width: 768px) {
    .challenge-container {
        flex-direction: column; /* Stack elements vertically */
        padding: 20px; /* Adjust padding */
    }

    .challenge-text {
        padding: 20px; /* Adjust padding */
        text-align:left; /* Center text */
        font-size: 20px;
        
    }

    .challenge-image {
        max-width: 100%; /* Ensure image spans full width */
        margin-top: 20px; /* Add space between text and image */
    }
}


@media (max-width: 768px) {
    /* Adjustments for smaller screens */

    .image {
        max-width: 100%;
        height: auto;
    }

    .date-item {
        width: 100%;
    }

    .team-member {
        max-width: 100%; /* Adjusted for full width on smaller screens */
    }

    .registration-form .form-group.half {
        flex: 1 1 100%;
        margin-right: 0;
    }
}
@media (max-width: 768px) {
    .team-container {
        flex-direction: column; /* Stack team members vertically */
        align-items: center; /* Center items horizontally */
    }

    .team-member {
        flex: 1 1 100%; /* Take full width of the container */
        max-width: 100%;
        margin: 10px 0; /* Adjust margin for spacing */
        height: auto;
    }

    .team-member img {
        max-width: 80%; /* Adjust image size */
        max-height: 80%;
    }

    .team-member p {
        margin-top: 10px;
        font-size: 0.9rem; /* Adjust font size */
    }
}

/* Countdown section adjustments for smaller screens */
@media (max-width: 768px) {
    .countdown-content {
        flex-direction: column; /* Stack elements vertically */
        align-items: center; /* Center items horizontally */
        gap: 20px; /* Adjust gap between elements */
        margin: 20px; /* Adjust margin */
        padding: 20px; /* Adjust padding */
    }

    .countdown-image {
        max-width: 100%; /* Adjust image width */
    }

    #countdown {
        flex-direction: column; /* Stack time box below other elements */
        align-items: center; /* Center items horizontally */
        gap: 20px; /* Adjust gap between elements */
    }

    .time-box {
        width: 50%; /* Make time box span full width */
    }
}


/* Footer adjustments */

footer {
    background-color:rgb(73, 175, 244); /* Dark background color */
    color: #0e0d0d; /* White text color */
    padding: 20px 0; /* Top and bottom padding */
    text-align: center; /* Center align text */
}

.footer-container {
    max-width: 1200px; /* Maximum width */
    margin: 0 auto; /* Center align container */
    padding: 0 20px; /* Left and right padding */
}

.footer-content p {
    margin: 10px 0; /* Top and bottom margin */
}

.footer-content a {
    color: #0c0605; /* White link color */
    text-decoration:none; /* Remove underline */
    font-weight: bold;
}

.footer-content a:hover {
    text-decoration: underline; /* Underline on hover */
}

.social-media {
    margin-top: 20px; /* Top margin */
}

.social-media a {
    display: inline-block; /* Inline block for spacing */
    margin: 0 10px; /* Left and right margin */
}

.social-media img {
    width: 30px; /* Icon width */
    height: 30px; /* Icon height */
    transition: transform 0.3s ease; /* Smooth scaling on hover */
}

.social-media img:hover {
    transform: scale(1.2); /* Scale up on hover */
}
