@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --primary-color: #131313;
    --secondary-color: #424242;
    --paragraph-color: #727272;
    --primary-bg: rgba(255, 144, 14, 0.1);
    --orange-color: #FF900E;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Work Sans", sans-serif;

}

/* Shared codes */
.display-flex {
    display: flex;
}

.container {
    max-width: 88%;
    margin: 0 auto;
}

li {
    list-style-type: none;

}

a {
    text-decoration: none;
}

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

.description {
    color: var(--paragraph-color);
    font-size: 14px;
    margin: 25px 0;
}

.primary-btn {
    color: white;
    font-size: 20px;
    font-weight: 600px;
    background-color: var(--orange-color);
    padding: 20px 25px;
    border-radius: 8px;
    display: inline-block;
    transition: all 0.5s;
}

.primary-btn:hover {
    transform: scale(1.1);
}

main>section,
footer {
    margin-top: 100px;
}

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

/* common codes ended up  */
.navbar {
    justify-content: space-between;
    align-items: center;
    /* border: 1px solid; */
    padding: 50px 0;
}

.navbar .logo {
    font-size: 2.7rem;
    color: var(--primary-color);
}

.nav-links {
    gap: 50px;
}

.nav-links .nav-item a {
    font-size: 1rem;
    color: var(--secondary-color);
    font-weight: 500;

}

/* banner side */
.banner-content {
    max-width: 65%;
    margin: 0 auto 50px;
    text-align: center;
    /* border: 2px solid; */
}



.banner-title {
    font-size: 4rem;

}

.banner-area {
    width: 100%;
}

.banner-area .banner-img {
    width: 100%;
    display: block;
}

/* Teams---------------- */
.teams {
    align-items: center;
}

.team-imgs {
    flex-basis: 50%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.team-imgs img {
    width: 100%;
}

.our-feature {
    max-width: 400px;
    flex-basis: 50%;
    margin-left: 70px;
}

.feature-title {
    font-size: 45px;
    font-weight: 700;
}

.quick-list {
    font-weight: 400;
    color: var(--paragraph-color);
}

.feature {
    color: #FF900E;
}

/* Features content */
.features-container {
    gap: 100px;
}

.featured-title {
    font-size: 45px;
    font-weight: 700;
    border-left: 5px solid #FF900E;
    padding-left: 20px;
}

.featured-content {
    width: 100%;
}

.featured-img {
    width: 100%;
    position: relative;
}

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

.featured-card {
    padding: 20px;
    box-shadow: 0 4px 30px 10px rgba(0, 0, 0, 0.033);
    margin-bottom: 20px;
    border-radius: 8px;
}

.featured-card .description {
    margin: 5px 0 0;
}

.featured-btn {
    font-size: 1.5rem;
    font-weight: 500;
    position: absolute;
    left: -70px;
    bottom: -20px;
    display: inline-block;


}

.featured-btn #featured-experience-year {
    font-size: 3rem;
    font-weight: bold;
}

/* Some Facts */
.facts-title {
    font-size: 45px;
}

.some-facts .description {
    margin-bottom: 50px;
}

.fact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 80px;
}

.single-card {
    border: 1px solid #FF900E;
    padding: 40px 30px;
    cursor: pointer;
    border-radius: 8px;

}

.single-card .fact-number {
    margin: 8px 0;
    font-size: 40px;
    font-weight: 600;
}

.single-card .fact-name {
    font-size: 18px;
    color: var(--paragraph-color);
}

/* sponsors section */
.our-sponsors-title {
    font-size: 2.8rem;
    font-weight: 700;
}

.our-sponsors-title,
.our-sponsors .description {
    max-width: 540px;
    margin: 0 auto;
}

.our-sponsors .description {
    margin: 25px auto;
}

.sponsors-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 100px;

}

.sponsors-cards img {
    width: 100%;
    filter: grayscale(100%);
    cursor: pointer;
    transition: all 0.5s;
}

.sponsors-cards img:hover {
    filter: grayscale(0);
}

/* Footer */
footer {
    padding: 20px;
}

/* Responsive for small device */
@media screen and (max-width: 576px) {

    /* shared */
    .primary-btn {

        font-size: 16px;

        padding: 20px 25px;

    }

    main>section {
        margin-top: 50px;
    }

    .navbar .logo {
        font-size: 2rem;
    }

    .navbar {
        padding: 20px;
    }

    .nav-links {
        gap: 10px;
        text-align: center;
    }

    .navbar,
    .nav-links {
        flex-direction: column;


    }

    .banner-content {
        max-width: 100%;
    }

    .banner-title {
        font-size: 2rem;
    }

    .teams {
        flex-direction: column-reverse;
        text-align: center;
    }

    .our-feature {

        flex-basis: 100%;
        margin-left: 0;
    }

    .feature-title {
        font-size: 30px;
        font-weight: 700;
    }

    .team-imgs {
        margin-top: 20px;
        grid-template-columns: 1fr;
    }

    .fact-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sponsors-cards {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .sponsors-cards img {
        width: 50%;
        margin: 0 auto;
    }

    .features-container {
        flex-direction: column;
        gap: 20px;
    }

    .featured-title {
        border: none;
        text-align: center;

        margin-bottom: 20px;

    }

    .underline {

        height: 5px;
        background-color: #FF900E;
        width: 100px;
        margin: 0 auto;
    }

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

    .featured-title br {
        display: none;
    }

    .featured-btn #featured-experience-year {
        font-size: 2rem;
    }

    .featured-btn {
        left: 50%;
        transform: translateX(-50%);
        bottom: -40px;
    }

    .featured-btn:hover {
        transform: none;
    }

    .featured-btn:hover {
        transform: translateX(-50%) scale(1.1);
    }

}

/* Responsive for tablet device */
@media screen and (min-width: 576px) and (max-width: 992px) {

    .navbar .logo {
        font-size: 2rem;
    }

    .navbar {
        padding: 50px;
    }

    .nav-links {
        gap: 15px;

    }

    .banner-content {
        max-width: 100%;
    }

    .banner-title {
        font-size: 3rem;
    }

    .teams {
        flex-direction: column-reverse;
        text-align: center;
    }

    .our-feature {
        max-width: 100%;
        flex-basis: 100%;
        margin-left: 0;
    }

    .feature-title {
        font-size: 35px;
        font-weight: 700;
    }

    .team-imgs {
        margin-top: 20px;

    }

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

    .sponsors-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 100px;

    }

    .features-container {
        flex-direction: column;
        gap: 20px;
    }

    .featured-title {
        border: none;
        text-align: center;

        margin-bottom: 20px;

    }

    .underline {

        height: 5px;
        background-color: #FF900E;
        width: 100px;
        margin: 0 auto;
    }

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

    .featured-title br {
        display: none;
    }

    .featured-btn #featured-experience-year {
        font-size: 2rem;
    }

    .featured-btn {
        left: 50%;
        transform: translateX(-50%);
        bottom: -40px;
    }

    .featured-btn:hover {
        transform: translateX(-50%) scale(1.1);
    }


}