* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0;
}

body {
    background-color: white;
    text-align: center;
    height: 100%;
    margin: 0;
}

/* Head title */

.head-title img {
    width: 65px;
    height: 65px;
    margin-bottom: 20px;
}

.head-title p {
    font-size: 12px;
    font-weight: bold;
    margin: 0px;
    color: #6A37E3;
    margin-bottom: 10px;
}

.head-title h1 {
    font-size: 38px;
    font-weight: bold;
    margin: 0px;
    color: #1B0947;
    line-height: 121%;
}

/* header section */

header {
    margin-top: 15px;
    position: sticky;
    top: 15px;
    z-index: 1000;
}

header .header {
    width: 80%;
    height: 60px;
    background-color: white;
    border: 2px solid #EDE7FC;
    border-radius: 100px;
    align-content: center;
    margin: 0 auto;
}

header .header .nav .hamburger {
    display: none;
    font-size: 26px;
    cursor: pointer;
    color: #6A37E3;
}

header .header img {
    width: 118px;
    height: 24px;
}

header .header .nav {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding-left: 10px;
    padding-right: 10px;
}

header .header .nav .nav-list {
    display: flex;
    list-style: none;
    gap: 20px;
}

header .header .nav .nav-list .nav-link {
    color: #5F537E;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 1s ease;
    font-size: 17px;
}

header .header .nav .nav-list .nav-link:hover {
    color: #6A37E3;
    font-weight: bold;
    border-bottom: 2px solid #6A37E3;
}

header .header .nav .nav-list .nav-link.active {
    color: #6A37E3;
    font-weight: bold;
    border-bottom: 2px solid #6A37E3;
}

header .header .nav button {
    width: 94px;
    height: 34px;
    background-color: white;
    border: 1px solid #6A37E3;
    font-size: 14px;
    color: #6A37E3;
    border-radius: 100px;
    font-weight: 600;
    cursor: pointer;
}

header .header .nav button:hover {
    background-color: #6A37E3;
    color: white;

}


/* herro section css */

.herro-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-image: linear-gradient(to top, #BDA2FF, #FFFFFF);
    height: auto;
    width: 95%;
    padding-bottom: 80px;
    padding-top: 100px;
    margin: 0 auto;
    border-radius: 20px;
}

.herro-section h1 {
    width: 600px;
    font-size: 55px;
    font-weight: 700px;
    color: #8856F8;
    text-align: center;
    margin: 0 auto;
}

.herro-section span {
    margin-top: 6px;
    display: inline-block;
    color: white;
    background-image: linear-gradient(to bottom, #8F5BFC, #6F47EB);
    border-radius: 20px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 8px;
    padding-bottom: 8px;
    font-weight: normal;
}

.herro-section p {
    margin: 0 auto;
    width: 600px;
    color: #8B59FA;
    margin: 0 auto;
}



/* Members section */

.Members {
    width: 100%;
    height: auto;
    margin: 80px auto;
    display: flex;
    flex-direction: column;
    gap: 66px;
}

.Members .members-grid {
    width: fit-content;
    height: fit-content;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 30px;
    margin: 0 auto;
}


.Members .members-grid .member-card.main {
    width: 100%;
    height: 100%;
    grid-column: span 2;
    grid-row: span 2;
}

.Members .members-grid .member-card.main img {
    width: 100%;
    height: 497px;
}

.Members .members-grid .member-card.main .bottom {
    padding: 26px 40px 26px 40px;
}

.Members .members-grid .member-card.main .bottom .icon {
    width: 78px;
    height: 78px;
}

.Members .members-grid .member-card.main .bottom .icon img {
    width: 42px;
    height: 42px;
}

.Members .members-grid .member-card.main .bottom h4 {
    font-size: 35px;
    margin-bottom: 22px;
}

.Members .members-grid .member-card.main .bottom p {
    font-size: 25px;
}


.Members .members-grid .member-card {
    background-color: #FFFFFF;
    border: 1px solid #BBA8F6;
    width: 300px;
    height: 304px;
    border-radius: 20px;
    overflow: hidden
}

.Members .members-grid .member-card img {
    width: 300px;
    height: 228px;
}

.Members .members-grid .member-card .bottom {
    display: flex;
    height: fit-content;
    justify-content: space-between;
    padding-top: 13px;
    padding-bottom: 13px;
    padding-left: 16px;
    padding-right: 16px;
}

.Members .members-grid .member-card .bottom .icon {
    width: 44px;
    height: 44px;
    border-radius: 100px;
    border: 1px solid #E5E5E5;
    align-content: center;
}

.Members .members-grid .member-card .bottom .icon img {
    width: 24px;
    height: 24px;
    padding-top: 5px;
}

.Members .members-grid h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1B0947;
    text-align: left;
    margin: 0px;
}

.Members .members-grid p {
    font-size: 15px;
    font-weight: 600;
    color: #5F537E;
    text-align: left;
    margin: 0px;
    margin-top: 9px;
}



/* Stories Section */

.Stories {
    width: 100%;
    height: auto;
    padding-top: 60px;
    padding-bottom: 60px;
    margin-top: 50px;
}

.Stories .counter {
    width: fit-content;
    display: flex;
    gap: 75px;
    margin: 0 auto;
    margin-top: 80px;
}

.Stories .counter .cards {
    width: auto;
    height: auto;
}

.Stories .counter .cards h1 {
    font-size: 65px;
    font-weight: normal;
    color: #6A37E3;
    margin: 0px;
}

.Stories .counter .cards p {
    font-size: 16px;
    font-weight: normal;
    color: #1B0947;
    margin: 0px;
    margin-top: 8px;
    align-items: center;
}

.Stories .counter .line {
    width: 5px;
    height: 117px;
    background-color: #F4EFFF;
    margin: 0px;
}





/* footer */

/* subscribe to get blog posts news section */

footer {
    width: 100%;
    height: auto;
    margin-top: 50px;
    padding-top: 60px;
    padding-bottom: 60px;
}

footer .News-section {
    margin: 0 auto;
    background-image: linear-gradient(to top, rgba(189, 162, 255, 0.3), #ffffff);
    width: 85%;
    height: auto;
    border-radius: 30px;
    padding-bottom: 20px;
    padding-top: 60px;
}

footer .News-section .row2 {
    display: flex;
    gap: 20px;
    justify-content: left;
    width: 100%;
    height: auto;
    text-align: center;
    justify-content: center;
    margin-top: 54px;
    position: relative;
}

footer .News-section .row2 .line-card {
    width: 90%;
    height: 260px;
    border-radius: 0px 0px 20px 20px;
    border-left: 2px solid #DED3F9;
    border-right: 2px solid #DED3F9;
    border-bottom: 2px solid #DED3F9;
    position: absolute;
    bottom: 20px;
}

footer .News-section .row2 .email {
    width: 320px;
    height: 43px;
    background-color: #FFFFFF;
    border: 1px solid #C5B4F7;
    border-radius: 100px;
    padding-left: 15px;
    font-size: 14px;
    font-weight: normal;
    color: #C5B4F7;
    z-index: 1;
}

footer .News-section .row2 .subscribe-btn {
    width: 143px;
    height: 45px;
    background-color: #8F5BFC;
    border: 1.5px solid #C5B4F7;
    border-radius: 100px;
    font-size: 14px;
    font-weight: normal;
    color: #ffffff;
    z-index: 1;
}

/* Footer section button content */

footer .bottom-footer {
    width: 85%;
    height: auto;
    margin: 0 auto;
}

footer .bottom-footer .row3 {
    margin-top: 50px;
    margin-top: 30px;
    margin-bottom: 10px;
    width: auto;
    height: auto;
    display: flex;
    justify-content: space-between;
}

footer .bottom-footer .row3 .line {
    border-left: 2px solid #5F537E;
    width: 5px;
    height: 32px;
}

footer .bottom-footer .links {
    display: flex;
    gap: 35px;
    align-items: center;
}

footer .bottom-footer .row3 .links a {
    text-decoration: none;
    font-size: 16px;
    font-weight: normal;
    color: #5F537E;
}

footer .bottom-footer hr {
    background-color: #8F5BFC;
    width: 100%;
    border: none;
    height: 1px;
}

footer .bottom-footer .copyright {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

footer .bottom-footer .copyright p,
h1 {
    color: #1B0947;
}

footer .bottom-footer .copyright .social-links img {
    width: 36px;
    height: 36px;
    margin-top: 14px;
}


@media (max-width: 1024px) {

    /* members */

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

    /* Stories */

    .Stories .counter {
        flex-direction: column;
    }

    .Stories .counter .line {
        width: 100%;
        height: 5px;
    }

    /* footer */

    footer .bottom-footer .row3 {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    footer .bottom-footer .copyright {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }


}

@media (max-width: 768px) {

    /* header  */
    header .header .nav .hamburger {
        display: block;
    }

    header .header .nav .nav-list,
    button {
        display: none;
    }

    /* Head title */
    .head-title img {
        width: 50px;
        height: 50px;
    }

    .head-title p {
        font-size: 10px;
    }

    .head-title h1 {
        font-size: 30px;
    }

    /* herro */

    .herro-section {
        padding-left: 18px;
        padding-right: 18px;
    }

    .herro-section h1 {
        width: fit-content;
        font-size: 45px;
    }

    .herro-section p {
        width: fit-content;
    }

    /* members */

    .Members .members-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr
    }

    .Members .members-grid .member-card.main {
        width: 300px;
        height: 304px;
        grid-column: span 1;
        grid-row: span 1;
    }

    .Members .members-grid .member-card.main img {
        width: 300px;
        height: 228px;
    }

    .Members .members-grid .member-card.main .bottom {
        padding-top: 13px;
        padding-bottom: 13px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .Members .members-grid .member-card.main .bottom .icon {
        width: 44px;
        height: 44px;
    }

    .Members .members-grid .member-card.main .bottom .icon img {
        width: 24px;
        height: 24px;
    }

    .Members .members-grid .member-card.main .bottom h4 {
        font-size: 18px;
        margin-bottom: 0px;
    }

    .Members .members-grid .member-card.main .bottom p {
        font-size: 15px;
        margin-top: 9px;
    }


    /* footer */
    footer .News-section .row2 {
        flex-direction: column;
    }


}

@media (max-width: 480px) {

    /* Head title */
    .head-title h1 {
        font-size: 25px;
    }

    /* herro */
    .herro-section h1 {
        width: fit-content;
        font-size: 35px;
    }

    .herro-section p {
        font-size: 12px;
    }

    /* footer */

    footer .News-section .row2 .email {
        width: 250px;
        height: 45px;
    }

    footer .News-section .row2 .subscribe-btn {
        width: 250px;
        height: 45px;
    }

    footer .News-section .row2 .line-card {
        display: none;
    }
}