@import"https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,300;0,400;0,500;0,600;0,700;1,300;1,700&display=swap";

html {
    scroll-behavior: smooth
}

* {
    font-family: Poppins, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

ul {
    list-style: none
}

a {
    text-decoration: none
}

button {
    cursor: pointer;
    border: none;
    background: none
}

img {
    width: 100%
}

.section-content {
    margin: 0 auto;
    padding: 0 20px;
    max-width: max-content
}

.section-title {
    text-align: center;
    padding: 60px 0 100px;
    text-transform: uppercase;
    font-size: x-large
}

.section-title:after {
    content: "";
    width: 80px;
    height: 5px;
    display: block;
    margin: 10px auto 0;
    border-radius: 1.2rem;
    background: #adff2f
}

header {
    background: #31473a;
    position: fixed;
    width: 100%;
    z-index: 5
}

header .navbar {
    display: flex;
    padding: 20px;
    align-items: center;
    justify-content: space-between
}

.navbar .nav-logo {
    margin-left: 20px
}

.navbar .nav-logo .logo-text {
    color: #fff;
    font-size: x-large;
    font-weight: 700
}

.navbar .nav-menu {
    display: flex;
    gap: 10px
}

.navbar .nav-menu .nav-link {
    padding: 10px 18px;
    color: #fff;
    font-size: medium;
    border-radius: 20px;
    transition: .3s ease
}

.navbar .nav-menu .nav-link:hover {
    color: #31473a;
    background-color: #edf4f2
}

.navbar :where(#menu-close-button, #menu-open-button) {
    display: none
}

.hero-section {
    background: #7c8363;
    min-height: 100vh
}

.hero-section .section-content {
    display: flex;
    align-items: center;
    min-height: 100vh;
    color: #edf4f2;
    justify-content: space-between
}

.hero-section .hero-details .title {
    font-size: xx-large;
    color: #cadcae;
    font-family: Miniver, sans-serif
}

.hero-section .hero-details .subtitle {
    font-size: x-large;
    margin-top: 8px;
    max-width: 70%;
    font-weight: bolder
}

.hero-section .hero-details .description {
    max-width: 70%;
    margin: 24px 0 40px;
    font-size: medium
}

.hero-section .hero-details .button {
    padding: 10px 26px;
    border: 2px solid transparent;
    color: green;
    border-radius: 20px;
    background: #adff2f;
    font-weight: bolder;
    transition: .5s ease
}

.hero-section .hero-details .button:hover {
    color: #adff2f;
    background: green
}

.hero-section .hero-image-wrapper {
    max-width: 500px;
    margin-right: 20px
}

.about-section {
    padding: 120px;
    background: #edf4f2
}

.about-section .section-content {
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: space-between
}

.about-section .about-image-wrapper .about-image {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 50%
}

.about-section .about-details .section-title {
    padding: 0
}

.about-section .about-details {
    max-width: 50%
}

.about-section .about-details .text {
    line-height: 30px;
    margin: 50px 0 30px;
    text-align: center;
    font-size: small
}

.about-section .social-link-list {
    display: flex;
    gap: 10px;
    justify-content: center
}

.about-section .social-link-list .social-link {
    color: green;
    font-size: large;
    transition: .3s ease
}

.about-section .social-link-list .social-link:hover {
    color: #31473a
}

.lessons-section {
    background: #242b27;
    color: #edf4f2;
    padding: 50px 10px 0
}

.lessons-section .lessons-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: space-around;
    padding-bottom: 50px
}

.lessons-section .lessons-list .lessons-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 500px;
    gap: 0px
}

.lessons-section .lessons-list .lessons-item a img {
    width: 100%;
    max-width: 83%;
    max-height: 60%;
    aspect-ratio: 1;
    border-radius: 20px;
    box-shadow: 0 0 10px #00000080;
    background: #000;
    object-fit: cover;
    cursor: pointer;
    transition: .3s ease
}

.lessons-section .lessons-list .lessons-item a {
    display: flex;
    width: 100%;
    text-align: center;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    vertical-align: top
}

.lessons-section .lessons-list .lessons-item a img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px #000000b3
}

.lessons-section .lessons-list .lessons-item .name {
    margin: 10px 0;
    font-size: large;
    font-weight: bolder
}

.lessons-section .lessons-list .lessons-item .text {
    font-size: small;
    max-width: 90%;
    line-height: 25px;
    color: #cadcae;
    font-weight: 500px;
    text-align: center
}

.team-section {
    padding: 100px 20px;
    background: #edf4f2
}

.team-section .slider-wrapper {
    overflow: hidden;
    padding: 0 40px
}

.team-section .team-list .team-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 35px
}

.team-section .team-list .team-item .team-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    margin-bottom: 50px;
    border-radius: 50%;
    box-shadow: 0 0 10px #0000004d
}

.team-section .team-list .team-item .name {
    font-size: large;
    font-weight: bolder;
    margin-bottom: 15px
}

.team-section .team-list .team-item .role {
    font-size: large;
    color: green;
    margin-bottom: 20px
}

.team-section .slider-wrapper {
    position: relative
}

.team-section .swiper-button-prev,
.team-section .swiper-button-next {
    color: #31473a;
    background: #ffffffb3;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 5px #0003
}

.team-section .swiper-button-prev:hover,
.team-section .swiper-button-next:hover {
    background: #ffffffe6
}

.team-section .swiper-pagination-bullet {
    background: #31473a;
    opacity: .7
}

.team-section .swiper-pagination-bullet-active {
    background: #31473a;
    opacity: 1;
    width: 12px;
    height: 12px
}

.footer-section {
    background: #31473a;
    padding: 50px 20px
}

.footer-section .section-content {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    width: 100%
}

.footer-section :where(.copyright-text, .social-link, .policy-link) {
    color: #fff;
    transition: .3s ease
}

.footer-section .social-link-list {
    display: flex;
    gap: 15px
}

.footer-section .social-link-list .social-link {
    font-size: large
}

.footer-section .social-link-list .social-link:hover,
.footer-section .policy-text .policy-link:hover {
    color: #adff2f
}

.footer-section .policy-text .separator {
    margin: 0 10px;
    color: #fff
}

@media screen and (max-width: 1200px) {
    .lessons-section .lessons-list {
        gap: 50px;
        justify-content: center
    }

    .lessons-section .lessons-list .lessons-item {
        width: 100%;
        max-width: 300px
    }
}

@media screen and (max-width: 900px) {
    body.show-mobile-menu header:before {
        content: "";
        position: fixed;
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
        background-color: #0003
    }

    .navbar :where(#menu-close-button, #menu-open-button) {
        font-size: large;
        display: block
    }

    .navbar #menu-close-button {
        position: absolute;
        right: 30px;
        top: 30px
    }

    .navbar #menu-open-button {
        color: #fff
    }

    .navbar .nav-menu {
        display: block;
        position: fixed;
        left: -300px;
        top: 0;
        width: 300px;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 100px;
        background: #fff;
        transition: left .2s ease
    }

    body.show-mobile-menu .navbar .nav-menu {
        left: 0
    }

    .navbar .nav-menu .nav-link {
        color: #000;
        font-size: large;
        display: block;
        margin-top: 17px
    }

    .hero-section .section-content {
        flex-direction: column-reverse;
        justify-content: center;
        gap: 50px;
        text-align: center;
        padding: 30px 20px 20px
    }

    .hero-section .hero-details :is(.subtitle, .description),
    .about-section .about-details {
        max-width: 100%
    }

    .hero-section .hero-details .button {
        justify-content: center
    }

    .hero-section .hero-image-wrapper {
        max-width: 270px;
        margin-right: 0
    }

    .about-section .section-content {
        flex-direction: column-reverse;
        gap: 70px
    }

    .about-section .about-image-wrapper .about-image {
        width: 100%;
        height: 100%;
        max-width: 250px;
        aspect-ratio: 1
    }

    .about-section .about-details {
        max-width: 100%;
        text-align: center
    }

    .about-section {
        padding: 70px 20px
    }

    .lessons-section {
        padding: 70px 20px 0
    }

    .lessons-section .section-title {
        font-size: large;
        padding-bottom: 70px
    }

    .lessons-section .lessons-list {
        gap: 40px;
        padding-bottom: 70px
    }

    .lessons-section .lessons-list .lessons-item {
        max-width: 250px
    }

    .lessons-section .lessons-list .lessons-item .name {
        font-size: medium;
        margin: 15px 0 8px
    }

    .lessons-section .lessons-list .lessons-item .text {
        font-size: smaller;
        line-height: 20px
    }

    .about-section .about-details .text {
        font-size: x-small;
        line-height: 20px;
        margin: 30px 0 20px
    }

    .about-section .social-link-list .social-link {
        font-size: medium
    }
}

@media screen and (max-width: 400px) {

    .hero-section .hero-image-wrapper,
    .about-section .about-image-wrapper .about-image,
    .lessons-section .lessons-list .lessons-item {
        max-width: 200px
    }

    .lessons-section .lessons-list .lessons-item .lessons-video {
        max-width: 100%
    }

    .lessons-section .lessons-list {
        gap: 30px
    }

    .lessons-section .lessons-list .lessons-item .name {
        font-size: small
    }

    .lessons-section .lessons-list .lessons-item .text {
        font-size: x-small;
        line-height: 18px
    }

    .about-section .about-details .text {
        font-size: xx-small;
        line-height: 18px;
        margin: 20px 0 15px
    }

    .about-section .social-link-list .social-link {
        font-size: medium
    }
}

@media screen and (max-width: 640px) {
    .hero-section .hero-details .title {
        font-size: x-large
    }

    .hero-section .hero-details .subtitle {
        font-size: large
    }

    .hero-section .hero-details .description {
        font-size: small
    }

    .hero-section .hero-details .button {
        font-size: medium
    }

    .footer-section .footer-content {
        flex-direction: column;
        gap: 20px
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes scaleIn {
    0% {
        opacity: 0;
        transform: scale(.9)
    }

    to {
        opacity: 1;
        transform: scale(1)
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translate(-30px)
    }

    to {
        opacity: 1;
        transform: translate(0)
    }
}

.lessons-item {
    animation: fadeInUp .6s ease forwards;
    opacity: 0
}

.lessons-item:nth-child(1) {
    animation-delay: .1s
}

.lessons-item:nth-child(2) {
    animation-delay: .2s
}

.lessons-item:nth-child(3) {
    animation-delay: .3s
}

.lessons-item:nth-child(4) {
    animation-delay: .4s
}

.lessons-item:nth-child(5) {
    animation-delay: .5s
}

.lessons-item a {
    position: relative;
    overflow: hidden
}

.lessons-item a:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #31473acc, #7c8363cc);
    opacity: 0;
    transition: .3s ease;
    z-index: 1;
    border-radius: 20px
}

.lessons-item a:hover:before {
    opacity: 1
}

.lessons-item a:after {
    content: "▶ Watch";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    z-index: 2;
    transition: .3s ease
}

.lessons-item a:hover:after {
    transform: translate(-50%, -50%) scale(1)
}

.hero-section .hero-details {
    animation: slideInRight .8s ease
}

.hero-section .hero-image-wrapper {
    animation: scaleIn .8s ease
}

.navbar .nav-link {
    position: relative
}

.navbar .nav-link:after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 3px;
    background: #adff2f;
    transform: translate(-50%);
    transition: width .3s ease
}

.navbar .nav-link:hover:after {
    width: 80%
}

.lessons-item {
    position: relative;
    overflow: visible
}

.lessons-item:before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, #31473a, #7c8363);
    border-radius: 25px;
    opacity: 0;
    z-index: -1;
    transition: .3s ease
}

.lessons-item:hover:before {
    opacity: .1
}

.button {
    position: relative;
    overflow: hidden
}

.button:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: #ffffff4d;
    transform: translate(-50%, -50%);
    transition: width .6s ease, height .6s ease
}

.button:hover:before {
    width: 300px;
    height: 300px
}

.hero-section .button:active {
    transform: scale(.95)
}

.team-item {
    transition: .3s ease
}

.team-item:hover {
    transform: translateY(-10px)
}

.team-item .team-image {
    transition: .3s ease;
    filter: grayscale(0%)
}

.team-item:hover .team-image {
    filter: grayscale(0%) brightness(1.1);
    box-shadow: 0 15px 40px #31473a4d
}

.about-section .about-image {
    transition: .5s ease
}

.about-section .about-image:hover {
    transform: scale(1.05) rotate(2deg)
}

.social-link {
    transition: .3s ease;
    display: inline-block
}

.social-link:hover {
    transform: translateY(-5px) rotate(360deg)
}

*:focus {
    outline: 3px solid rgba(49, 71, 58, .3);
    outline-offset: 2px
}

.lessons-item a img {
    transition: transform .5s ease, filter .3s ease
}

.lessons-item a:hover img {
    transform: scale(1.1);
    filter: brightness(.9)
}

.hero-section {
    background: linear-gradient(135deg, #7c8363, #5a6447)
}

.section-title {
    animation: fadeInUp .8s ease
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important
    }
}