@font-face {
    font-family: 'CommeMedium';
    src: url('/assets/fonts/Comme-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'CommeRegular';
    src: url('/assets/fonts/Comme-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'CommeSemiBold';
    src: url('/assets/fonts/Comme-SemiBold.ttf') format('truetype');
}

*{
    padding: 0;
    margin: 0;
    font-family: 'CommeRegular';
    color: #121213;
}

p{
    margin: 0;
}

a{
    text-decoration: none;
}

body{
    background-color: #F3F8F8;
}

header{
    margin: 30px auto;
}

.container{
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

main{
    margin: 80px auto 120px;
}

.logo > img{
    height: 48px;
}

.hero h1{
    font-family: 'CommeSemiBold';
    font-size: 60px;
}

.hero-content{
    width: 100%;
    max-width: 355px;
    margin-bottom: 56px;
}

.hero-content > img{
    max-width: 300px;
    width: 100%;
    margin: 0 auto;
}

.hero-content > p{
    font-family: 'CommeRegular';
    font-size: 18px;
    color: #3F4344;
}

.hero-buttons{
    display: flex;
    align-items: center;
    gap: 24px;
}

.features-content{
    background-color: #fff;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.features-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.features-item > h2{
    font-family: 'CommeSemiBold';
    font-size: 40px;
}

.features-item > p{
    font-family: 'CommeRegular';
    font-size: 18px;
    color: #5A6060;
}

.bg-hero{
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
    height: 90%;
}

.ellipse_xl{
    position: absolute;
    top: 0;
    right: 0;
    z-index: -2;
    height: 90%;
}

.ellipse_sm{
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
}   

.features{
    position: relative;
    padding-bottom: 40px;
}

.btn_sm{
    display: none;
}


/* Footer */
.footer {
    background: #219099;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #dadde0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #fff;
}

.contact-info a {
    margin-bottom: 15px;
    color: #dadde0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: #fff;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    color: #dadde0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #dadde0;
    padding-top: 20px;
    text-align: center;
    color: #dadde0;
}

.footer-bottom p {
    color: #fff;
}

@media screen and (max-width: 992px) {
    .hero h1{
        font-size: 42px;
    }

    .hero-content > img{
        max-width: 220px;
    }

    .hero-content > p{
        font-size: 16px;
    }

    .features-item > h2{
        font-size: 32px;
    }

    .features-item > p{
        font-size: 16px;
    }

}


@media screen and (max-width: 768px) {
    main{
        margin: 32px auto 80px;
    }

    .hero{
        text-align: center;
    }

    .hero-content{
        margin: 0 auto 24px;
    }

    .hero-content > p{
        text-align: center;
    }

    .hero-buttons{
        flex-direction: column;
        gap: 16px;
    }

    .hero-buttons > a > img{
        width: 100%;
    }

    .bg-hero{
        position: relative;
        top: unset;
        right: unset;
        z-index: unset;
        height: unset;
        width: 100%;
        margin-top: 24px;
    }

    .btn_sm{
        display: block;
    }

    .btn{
        display: none;
    }
}

@media screen and (max-width: 576px) {
    .ellipse_xl{
        top: unset;
        transform: translateY(-120px);
        width: 95%;
        object-fit: contain;
    }

    main{
        margin: 32px auto 0;
    }

    .ellipse_sm{
        display: none;
    }

    .features-content{
        flex-wrap: wrap;
        gap: 32px;
    }

    .features-item{
        width: calc(50% - 32px);
    }

    .hero-content{
        text-align: center;
    }

}