/*  import google fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap');

a {
    color: rgb(83, 83, 255);
}

* {
    margin: 0;
    padding: 0;
    color: white;
    box-sizing: border-box;
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
}

/* custom scroll bar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* all similar content styling codes */
section {
    padding: 100px 0;
}

.max-width {
    max-width: 1500px;
    padding: 0 80px;
    margin: auto;
}

.hackathon-box {
    max-width: 100%;
    padding: 0 5%;
    margin: auto;
}

.about,
.initiatives,
.projects,
.teams,
.contact,
footer {
    font-family: 'Ubuntu', sans-serif;
}

.about .about-content,
.initiatives .serv-content,
.projects .serv-content,
.contact .contact-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

section .title {
    position: relative;
    text-align: center;
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 60px;
    padding-bottom: 20px;
    font-family: 'Ubuntu', sans-serif;
}

section .title::before {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 180px;
    height: 3px;
    background: #111;
    transform: translateX(-50%);
}

section .title::after {
    position: absolute;
    bottom: -8px;
    left: 50%;
    font-size: 20px;
    color: #c434b8;
    padding: 0 5px;
    background: #fff;
    transform: translateX(-50%);
}

/* navbar styling */
.navbar {
    position: fixed;
    width: 100%;
    height: 13%;
    z-index: 999;
    font-family: 'Ubuntu', sans-serif;
    transition: all 0.3s ease;
    background: #000;

}

.navbar.sticky {
    background: #c434b8;
}

.navbar .max-width {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.navbar .logo a {
    color: #fff;
    font-size: 35px;
    font-weight: 600;
}

.navbar .logo img {
    width: 25%;
}

.navbar .logo a span {
    color: #c434b8;
    transition: all 0.3s ease;
}

.navbar.sticky .logo a span {
    color: #fff;
}

.navbar .menu li {
    list-style: none;
    display: inline-block;
}

.navbar .menu li a {
    display: block;
    color: #fff;
    font-size: 18px;
    font-weight: 70;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.navbar .menu li a:hover {
    color: #c434b8;
}

.navbar.sticky .menu li a:hover {
    color: #fff;
}

/* menu btn styling */
.menu-btn {
    color: #fff;
    font-size: 23px;
    cursor: pointer;
    display: none;
}

.scroll-up-btn {
    position: fixed;
    height: 45px;
    width: 42px;
    background: #c434b8;
    right: 30px;
    bottom: 10px;
    text-align: center;
    line-height: 45px;
    color: #fff;
    z-index: 9999;
    font-size: 30px;
    border-radius: 6px;
    border-bottom-width: 2px;
    cursor: pointer;
    opacity: 0;
    pointer-initiatives: none;
    transition: all 0.3s ease;
}

.scroll-up-btn.show {
    bottom: 30px;
    opacity: 1;
    pointer-initiatives: auto;
}

.scroll-up-btn:hover {
    filter: brightness(90%);
}

.anchor {
    display: flex;
    padding-top: 150px;
    padding-left: 50px;
    padding-right: 50px;
    justify-content: center;
}

.anchor-elements {
    padding: 10px;
    background: #21272a;
    box-shadow: 15px 15px 30px rgb(25, 25, 25),
                -15px -8px 30px rgb(50, 50, 50);
    border-radius: 50px;
}

.anchor a {
    color: white;
    margin: 20px;
}

.anchor a:hover {
    text-decoration: underline;
}
/* button div */
.reg-btn {
    text-align: center;
}

/* registration button */
a.my-button {
    background: linear-gradient(to right, #196BCA, #6433E0);
    background-color: #196BCA;
    color: #fff;
    font-family: 'Ubuntu', sans-serif;
    font-size: 18px;
    font-weight: 800;
    font-style: normal;
    text-decoration: none;
    padding: 14px 15px;
    border: 0px solid #000;
    border-radius: 10px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

a.my-button span {
    margin-right: 15px;
    display: block;
    width: 29px;
    height: 29px;
    background-repeat: no-repeat;
    background-size: contain;
    transform: rotate(0deg);
}

a.my-button:hover {
    background: linear-gradient(to right, #5482d0, #7d5ee3);
    background-color: #5482d0;
}

a.my-button:active {
    transform: scale(0.95);
}

.welcome-section {
    display: flex;
    text-align: center;
    padding-top: 45px;
    justify-content: center;
    align-items: center;
}

.welcome-section h1 {
    font-size: 36px;
    color: #c434b8;
    font-family: 'Ubuntu', sans-serif;
    /* gradient font color */
    color: #873dff;
    background-image: -webkit-linear-gradient(0deg, #873dff 43%, #ff549e 69%, #ffabcf 100%);
    background-clip: text;
    -webkit-background-clip: text;
    text-fill-color: transparent;
    -webkit-text-fill-color: transparent;
}

.schedule {
    text-align: center;
    padding: 50px 0;
}

.schedule img {
    max-width: 100%;
    width: 50%;
    display: block;
    margin: 0 auto;
}

.hackathon-details {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
}

.hackathon-details .text {
    flex: 1;
    padding: 20px;
}

.hackathon-details .text p {
    font-size: 18px;
    line-height: 1.6;
}

.hackathon-details .image {
    flex: 1;
    text-align: center;
    padding-top: 30px;
    padding-bottom: 30px;
}

.hackathon-details .image img {
    max-width: 68%;
    height: auto;
}

/* Media query for mobile view */
@media (max-width: 768px) {
    .hackathon-details {
        flex-direction: column;
        text-align: center;
    }

    .hackathon-details .text p {
        font-size: 16px;
    }

    .hackathon-details .text,
    .hackathon-details .image {
        flex: none;
        width: 100%;
    }

    .welcome-section h1{
        font-size: 28px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .hackathon-box .schedule-with-image .section-title{
        font-size: 30px;
    }

    .hackathon-box .schedule-with-image img{
        height: 35px;
        margin-top: 18px;
        margin-bottom: 0px;
    }

    .workshops {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .schedule-with-image{
        flex-direction: column;
    }

    .rules-with-image{
        flex-direction: column;
    }
    .rules .rules-with-image .section-title{
        font-size: 30px;
    }
    .rules .rules-with-image img{
        height: 40px;
        margin-top: 18px;
        margin-bottom: 0px;
    }

    .prompts .prompts-with-image .section-title{
        font-size: 30px;
    }
    .prompts-with-image{
        flex-direction: column;
    }
    .prompts .prompts-with-image img{
        height: 47px;
        margin-top: 18px;
        margin-bottom: 0px;
    }

    .rewards .rewards-with-image .section-title{
        font-size: 30px;
    }
    .rewards-with-image{
        flex-direction: column;
    }
    .rewards .rewards-with-image img{
        height: 50px;
        margin-top: 18px;
        margin-bottom: 0px;
    }

    .resources .resources-with-image .section-title{
        font-size: 30px;
    }
    .resources .resources-with-image img{
        height: 40px;
        margin-top: 18px;
        margin-bottom: 0px;
    }
    .resources-with-image{
        flex-direction: column;
    }

    .contact .contact-with-image .section-title{
        font-size: 30px;
    }
    .contact .contact-with-image img{
        height: 40px;
        margin-top: 18px;
        margin-bottom: 0px;
    }
    .contact-with-image {
        flex-direction: column;
    }

    .anchor-elements {
        border-radius: 10px;
        display: grid;
        padding: 10px 30px;
        grid-template-columns: repeat(3, auto);
        gap: 10px 38px;
        width: fit-content;
    }
    .anchor a{
        margin: 0px;
    }

    .resources .resources-list li {
        margin: 5px 0;
        font-size: 16px;
        line-height: 1.6;
    }

    #contact p{
        font-size: 16px;
    }
    .contact .contact-list li{
        font-size: 16px;
    }
}

/* workshops styling */
.workshops {
    background: #21272a;
}

.content {
    background: #21272a;
}

.schedule-with-image {
    padding: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.schedule-with-image img {
    height: 50px;
    margin: none;
}

.workshops .section-title {
    text-align: center;
    font-size: 36px;
    /* gradient font color */
    color: #ff29ed;
    background-image: -webkit-linear-gradient(0deg, #ff29ed 0%, #fd87f1 92%);
    background-clip: text;
    -webkit-background-clip: text;
    text-fill-color: transparent;
    -webkit-text-fill-color: transparent;
}

.schedule .section-title {
    text-align: center;
    font-size: 36px;
    /* gradient font color */
    color: #ff29ed;
    background-image: -webkit-linear-gradient(0deg, #ff29ed 0%, #fd87f1 92%);
    background-clip: text;
    -webkit-background-clip: text;
    text-fill-color: transparent;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.rules .section-title {
    text-align: center;
    font-size: 36px;
    /* gradient font color */
    color: #ff29ed;
    background-image: -webkit-linear-gradient(0deg, #ff29ed 0%, #fd87f1 92%);
    background-clip: text;
    -webkit-background-clip: text;
    text-fill-color: transparent;
    -webkit-text-fill-color: transparent;
}

.rules-with-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.rules-with-image img {
    height: 70px;
    margin: 10px;
}

.prompts .section-title {
    text-align: center;
    font-size: 36px;
    /* gradient font color */
    color: #ff29ed;
    background-image: -webkit-linear-gradient(0deg, #ff29ed 0%, #fd87f1 92%);
    background-clip: text;
    -webkit-background-clip: text;
    text-fill-color: transparent;
    -webkit-text-fill-color: transparent;
}

.prompts-with-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.prompts-with-image img {
    height: 100px;
}

.rewards .section-title {
    text-align: center;
    font-size: 36px;
    /* gradient font color */
    color: #ff29ed;
    background-image: -webkit-linear-gradient(0deg, #ff29ed 0%, #fd87f1 92%);
    background-clip: text;
    -webkit-background-clip: text;
    text-fill-color: transparent;
    -webkit-text-fill-color: transparent;
}

.rewards-with-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.rewards-with-image img {
    height: 75px;
}

.contact .section-title {
    text-align: center;
    font-size: 36px;
    /* gradient font color */
    color: #ff29ed;
    background-image: -webkit-linear-gradient(0deg, #ff29ed 0%, #fd87f1 92%);
    background-clip: text;
    -webkit-background-clip: text;
    text-fill-color: transparent;
    -webkit-text-fill-color: transparent;
}

.contact-with-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.contact-with-image img {
    height: 80px;
    margin: 18px;
}

.resources .section-title {
    text-align: center;
    font-size: 36px;
    /* gradient font color */
    color: #ff29ed;
    background-image: -webkit-linear-gradient(0deg, #ff29ed 0%, #fd87f1 92%);
    background-clip: text;
    -webkit-background-clip: text;
    text-fill-color: transparent;
    -webkit-text-fill-color: transparent;
}

.resources-with-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.resources-with-image img {
    height: 80px;
    margin: 18px;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.workshop-card {
    display: flex;
    background-color: rgba(250, 250, 250, 0.1);
    border: 2px solid #000;
    border-radius: 18px;
    padding: 20px;
    transition: transform 0.3s ease, background-color 0.2s ease, box-shadow 0.3s ease;
    overflow: auto;
}

.workshop-card:hover {
    background-color: rgba(163, 163, 163, 0.3);
    transform: scale(1.02);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
}


.workshop-date {
    flex: 0;
    text-align: center;
    border-right: 2px solid #dd7ed5;
    padding-right: 20px;
    margin-right: 20px;
    font-size: 1.2rem;
    color: #dd7ed5;
}

.workshop-details {
    flex: 1;
}

.workshop-details h3 {
    font-size: 1.4rem;
    color: white;
    margin-bottom: 10px;
}

.workshop-details p {
    font-size: 1rem;
    color: #fff;
    margin: 5px 0;
}

.workshop-details a {
    text-decoration: none;
    color: #d67db3;
    transition: text-decoration 0.2s ease;
}

.workshop-details a:hover {
    text-decoration: underline;
}

.workshop-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

.timeline {
    flex: 1;
    max-width: 100%;
    /* Occupy the entire screen width */
}

.timelineimage {
    flex: 1;
    max-width: 100%;
    /* Occupy the entire screen width */
    text-align: center;
}

.timelineimage img {
    max-width: 85%;
    height: auto;
}

/* Media query for mobile view */
@media (max-width: 768px) {
    .workshop-container {
        flex-direction: column;
        text-align: center;
    }

    .timeline,
    .timelineimage {
        flex: none;
        width: 100%;
    }
}

body {
    font-family: 'Ubuntu', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #21272a;
}

.rules,
.prompts,
.rewards,
.contact,
.resources {
    background-color: #21272a;
    margin: 20px;
    padding: 20px;
}

.section-title {
    font-size: 24px;
    margin: 0;
}

.rule-list {
    list-style: decimal;
    padding-left: 20px;
    font-size: 18px;
}

.rule-list li {
    margin: 10px 0;
    font-size: 18px;
    line-height: 1.6;
}

.prompts {
    list-style: decimal;
    padding-left: 20px;
}

.prompts p {
    margin: 10px 0;
    font-size: 18px;
    line-height: 1.6;
}

.sub-rule-list {
    list-style: lower-alpha;
    padding-left: 20px;
}

.sub-rule-list li {
    font-size: 18px;
    line-height: 1.6;
    margin: 5px 0;
}

.reward-type {
    margin-top: 20px;
}

.reward-type h3 {
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
}

.rewards ul {
    list-style: none;
    padding-left: 0;
}

.rewards p {
    font-size: 18px;
    line-height: 1.6;

}

.rewards ul li {
    margin: 5px 0;
    font-size: 18px;
    line-height: 1.6;
}

.contact p {
    font-size: 18px;
    line-height: 1.6;
}

.contact-list {
    list-style: none;
    padding-left: 0;
}

.contact-list li {
    margin: 5px 0;
    font-size: 18px;
    line-height: 1.6;
}

.resources ul {
    list-style: none;
    padding-left: 0;
}

.resources ul li {
    margin: 5px 0;
    font-size: 18px;
    line-height: 1.6;
}

/* responsive media query start */
@media (max-width: 1104px) {
    .about .about-content .left img {
        height: 350px;
        width: 350px;
    }
}

@media (max-width: 991px) {
    .max-width {
        padding: 0 50px;
    }
}

@media (max-width: 947px) {
    .menu-btn {
        display: block;
        z-index: 999;
    }

    .menu-btn i.active:before {
        content: "\f00d";
    }

    .navbar .menu {
        position: fixed;
        height: 100vh;
        width: 100%;
        left: -100%;
        top: 0;
        background: #111;
        text-align: center;
        padding-top: 80px;
        transition: all 0.3s ease;
    }

    .navbar .menu.active {
        left: 0;
    }

    .navbar .menu li {
        display: block;
    }

    .navbar .menu li a {
        display: inline-block;
        margin: 20px 0;
        font-size: 25px;
    }

    .home .home-content .text-2 {
        font-size: 70px;
    }

    .home .home-content .text-3 {
        font-size: 35px;
    }

    .home .home-content a {
        font-size: 23px;
        padding: 10px 30px;
    }

    .max-width {
        max-width: 930px;
    }

    .about .about-content .column {
        width: 100%;
    }

    .about .about-content .left {
        display: flex;
        justify-content: center;
        margin: 0 auto 60px;
    }

    .about .about-content .right {
        flex: 100%;
    }

    .initiatives .serv-content .card {
        width: calc(50% - 10px);
        margin-bottom: 20px;
    }

    .projects .serv-content .column,
    .contact .contact-content .column {
        width: 100%;
        margin-bottom: 35px;
    }
}

@media (max-width: 690px) {
    .max-width {
        padding: 0 23px;
    }

    .navbar {
        height: 10%;
    }

    .home .home-content .text-2 {
        font-size: 60px;
    }

    .home .home-content .text-3 {
        font-size: 32px;
    }

    .home .home-content a {
        font-size: 20px;
    }

    .initiatives .serv-content .card {
        width: 100%;
    }
}

@media (max-width: 500px) {
    .home .home-content .text-2 {
        font-size: 50px;
    }

    .home .home-content .text-3 {
        font-size: 27px;
    }

    .about .about-content .right .text,
    .projects .serv-content .left .text {
        font-size: 19px;
    }

    .contact .right form .fields {
        flex-direction: column;
    }

    .contact .right form .name,
    .contact .right form .email {
        margin: 0;
    }

    .right form .error-box {
        width: 150px;
    }

    .scroll-up-btn {
        right: 15px;
        bottom: 15px;
        height: 38px;
        width: 35px;
        font-size: 23px;
        line-height: 38px;
    }
}