@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Montserrat:wght@400;500;600&display=swap");
:root {
    --primary-bg: #dff6f4;
    --primary-heading: #0a8074;
    --primary-heading-light: #5ea19b;
    --primary-bg-light: #c6efeb;

    --secondary-heading: #18181b;
    --primary-color: #9f2b4e;

    --secondary-text: #000000;

    --tertiary-text: #9ca3af;
    --tertairy-text-light: #71717a;
}

html {
    font-size: 62.5%;

    @media only screen and (max-width: 768px) {
        font-size: 56.25%;
    }
}

a {
    text-decoration: none;
    color: inherit;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    font-size: 1.6rem;
    color: var(--hello);
}
/* HEADER */
header {
    background-color: var(--primary-bg);
}

.header__container {
    width: 100%;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;

    position: relative;
}

.ellipse-icon {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
}

.white_star-icon {
    position: absolute;
    top: 10rem;
    right: 0;
    z-index: 1;
}

.nav-links {
    margin-right: auto;
    padding-top: 0.85rem;
}

nav {
    width: 100%;
    max-width: 120rem;
    display: flex;
    padding: 2rem;
    margin-bottom: 6rem;

    position: relative;
    z-index: 2;
}

.dropdown {
    display: none;
}

.logo-box {
    margin-right: 3rem;
}

.payee_logo {
    max-width: 40%;
}

.links-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.links-list li {
    list-style: none;
    margin-left: 2rem;
    font-size: 1.5rem;
    font-weight: 500;
}

.links-list li .home {
    color: var(--primary-heading);
    transition: all 0.3s ease-in-out;
}

.links-list li a:hover {
    color: var(--primary-color);
}

.btn {
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.2rem 5rem;
    border-radius: 0.5rem;
    font-size: 1.4rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease-in-out;

    display: flex;
    justify-content: center;
    align-items: center;
}

.contents {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contents-left {
    width: 100%;
}

.contents-left__heading {
    font-size: 4rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 2rem;

    display: flex;
    flex-direction: column;
}

.contents-left__heading-primary {
    color: var(--secondary-text);
}

.contents-left__heading-secondary {
    color: var(--primary-heading);
}

.contents-left__paragraph {
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 3rem;
    max-width: 50rem;
}

.download-btns {
    margin-top: 2rem;
    display: flex;
}

.app {
    margin-right: 3rem;
    display: flex;
    gap: 0 1rem;
    border-radius: 1rem;
    background-color: #fff;
    align-items: center;
    justify-content: center;
    padding: 1.3rem 2.25rem;
    box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.app img {
    width: 3.5rem;
    height: 3.5rem;
}

.app:active {
    transform: translateY(3px);
}

.app-icon {
    height: 4rem;
    width: 4rem;
}

.app-text {
    display: flex;
    flex-direction: column;
}

.app-text__pry {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--tertiary-text);
}

.app-text__sec {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-heading);
}

.user-stats {
    font-weight: 500;
    margin-top: 4rem;
    display: flex;
}

.user-stats__numbers {
    background-color: var(--primary-color);
    color: #fff;
    font-size: 2.2rem;
    display: inline-block;
    padding: 1rem;
    margin-right: 2rem;

    display: flex;
    justify-content: center;
    align-items: center;
}

.contents-right {
    display: flex;
    flex-basis: 60%;

    position: relative;
    z-index: 2;
}

.contents-right__img {
    display: inline-block;
    width: 100%;
    max-width: 50rem;
}

/* SECTION - FEATURES */
section#features {
    padding: 0.5rem 0;
}

.features-container {
    max-width: 120rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.features-left {
    flex-basis: 40%;
}

.features-left__img {
    width: 100%;
    max-width: 50rem;
}

.features-right {
    flex-basis: 45%;
    position: relative;
}

#golden_ellipse-icon1 {
    position: absolute;
    bottom: -5rem;
    right: 15rem;
    /* z-index: 3; */
}

.features-right h3 {
    color: var(--primary-color);
    text-transform: uppercase;
    margin: 1.5rem 0;
    font-size: 1.5rem;
    font-weight: 400;
}

.features-right h2 {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.features-right .features {
    margin-bottom: 1rem;
    /* padding: 1rem .5rem; */
}

.features-right .features-heading {
    display: flex;
    align-items: center;
    gap: 0 1rem;
    margin-bottom: 1rem;
}

.features-heading__icon {
    display: block;
    width: 3rem;
}

.features-heading__icon img {
    width: 100%;
}

.feature-one {
    background-color: var(--primary-bg-light);
    padding: 2.5rem 2rem;
}

.feature-one .features-paragraph {
    color: var(--tertairy-text-light);
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 2.5rem;
}

/* SECTION - ADVANTAGES */
section#advantages {
    padding: 0.5rem 0;
}

.advantages-container {
    max-width: 120rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.advantages-right {
    flex-basis: 40%;
    position: relative;
}

#golden_ellipse-icon2 {
    position: absolute;
    bottom: 5rem;
    left: 2rem;
    /* z-index: 3; */
}

.advantages-right__img {
    width: 100%;
    max-width: 50rem;
}

.advantages-left {
    flex-basis: 45%;
}

.advantages-left h3 {
    color: var(--primary-color);
    text-transform: uppercase;
    margin: 1.5rem 0;
    font-size: 1.5rem;
    font-weight: 400;
}

.advantages-left h2 {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.advantages-left .advantages-box__item {
    margin-bottom: 3rem;
    /* padding: 1rem .5rem; */
}

.advantages-left .advantages-heading {
    display: flex;
    align-items: center;
    gap: 0 1rem;
    margin-bottom: 1rem;
}

.advantages-heading__icon {
    display: block;
    width: 3rem;
}
.advantages-heading__icon img {
    width: 100%;
}

.advantages-paragraph {
    color: var(--tertairy-text-light);
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 2.5rem;
}

/* SECTION - TESTIMONIALS */
section#stories {
    padding: 10rem 0;
    background-color: var(--primary-bg);
}

.stories-container {
    max-width: 120rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stories__heading h2 {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 2rem;
    text-align: center;
}

.stories__heading p {
    color: var(--tertairy-text-light);
    font-size: 1.75rem;
    font-weight: 500;
    line-height: 2.5rem;
    max-width: 50rem;
    text-align: center;
    margin-bottom: 4rem;
}

.stories__avatar {
    display: flex;
    justify-content: center;
    gap: 0 2rem;
}

.card {
    flex: 0 0 24%;

    background-color: #fff;
    border-radius: 0.5rem;
    padding: 4rem 2.5rem;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.card__img {
    width: 18rem;
    margin-bottom: 2.5rem;
    /* align-self: center; */
}

.card__text {
    font-size: 1.3rem;
    text-align: center;
    color: var(--tertairy-text-light);
    margin-bottom: 2rem;
}

.star-color {
    color: #ffd700;
}

/* SECTION - FAQ */
section#faq {
    padding: 10rem 0;
}

.faq-container {
    max-width: 110rem;
    margin: 0 auto;
    /* display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; */
}

.faq__heading {
    max-width: 60rem;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 5rem;
}

.faq__heading h3 {
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.faq__heading h2 {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.2;
}

.faq__accordion {
    display: flex;
    flex-direction: column;
}

.accordion-block {
    margin-bottom: 2rem;
    font-weight: 500;
}

.accordion-block__title {
    background-color: var(--primary-bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2.5rem;
    cursor: pointer;
    transition: all 0.25s ease-in-out;
}

.accordion-block__title:hover {
  background-color: var(--primary-heading-light); 
}

.faq__icon {
    color: var(--primary-heading);
    font-size: 32px;
}

.faq__minus-icon {
  display: none;
}

.accordion-text {
    display: none;
    padding: 1rem 2.5rem;
    max-height: 1000%;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

/* SECTION - DOWNLOAD APP */
section#download {
    padding: 5rem 0 2rem 0;
    background-color: var(--primary-heading);
    position: relative;
    overflow: hidden;
}

.download-container {
    max-width: 120rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.download__left {
    color: #fff;
    flex-basis: 45%;
    position: relative;
    z-index: 2;
}

#white_star-icon2 {
    position: absolute;
    width: 4rem;
    bottom: 0;
    right: 0;
    z-index: 2;
}

.download__left h2 {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 2.5rem;
}

.download__left p {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 2.5rem;
    margin-bottom: 3rem;
}

.download__left .download__btns {
    margin-top: 2rem;
    display: flex;
    gap: 0 1.5rem;
    font-weight: 500;
}

.download__btn {
    cursor: pointer;
    color: #000000;
    background-color: #fff;
    padding: 1.3rem 2.2rem;
    border-radius: 0.35rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 0.75rem;
    box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
}

.download__btn:active {
    transform: translateY(3px);
}

.download__btn img {
    width: 2.5rem;
}

.download__right {
    flex-basis: 40%;
    position: relative;
    z-index: 2;
}

#white_star-icon1 {
    position: absolute;
    width: 4rem;
    top: 0;
    left: 0;
    z-index: 2;
}

.download__right img {
    width: 100%;
    max-width: 50rem;
}

#ellipse-top {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
}

#ellipse-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
}

/* FOOTER */
footer {
    background-color: var(--primary-bg);
    padding: 7.5rem 12rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
}

.footer__section h2 {
    margin-bottom: 2rem;
}

.footer__section ul {
    list-style: none;
}

.footer__section li {
    margin-bottom: 2.5rem;
    font-size: 1.4rem;
    font-weight: 500;
}

#footer-one img {
    margin-bottom: 1rem;
}

#footer-one ion-icon {
    color: var(--primary-color);
    font-size: 3rem;
    margin-right: 1rem;
}

.footer__email,
.footer__phone {
    display: flex;
    align-items: center;
    gap: 0 0.2rem;
    margin: 1rem 0;
    font-weight: 600;
}

#footer-five p {
    margin-bottom: 1.5rem;
    font-weight: 500;
}

#footer-five form {
    position: relative;
}

#footer-five input {
    width: 100%;
    padding: 1.5rem 2rem;
    border-radius: 0.5rem;
    border: none;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--tertiary-text);
    background-color: #fff;
    margin-bottom: 2rem;
}

#footer-five button {
    border: none;
    background-color: var(--primary-color);
    color: #fff;
    padding: 1.5rem 2rem;
    border-radius: 0.5rem;
    font-size: 1.4rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease-in-out;

    position: absolute;
    top: 0;
    right: 0;
}

.footer__copyright {
    margin-top: 4rem;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--tertiary-text);
    text-align: center;
}

/* RESPONSIVE DESIGN */
@media only screen and (max-width: 1024px) {
    .header__container,
    .features-container,
    .advantages-container,
    .stories-container,
    .faq-container,
    .download-container {
        padding: 0 4rem;
    }

    footer {
        padding: 6rem 7.5rem;
    }
}

@media only screen and (min-width: 768px) {
    .nav-links {
        align-self: center;
        margin-right: 0;
    }

    .btn {
        padding: 0.2rem 4rem;
        font-size: 1.3rem;
    }

    .contents-left {
        flex-basis: 75%;
    }

    .contents-left__heading {
        font-size: 3.5rem;
        font-weight: 600;
    }

    .contents-left__paragraph {
        /* font-size: 1.5rem; */
        margin-bottom: 2.5rem;
    }

    .contents-right__img {
        left: 5rem;
    }

    .app {
        margin-right: 2rem;
        padding: 1.25rem 2rem;
    }

    .stories__avatar {
        justify-content: space-between;
        gap: 0;
    }

    .download__left {
        flex-basis: 55%;
    }

    .download__right {
        flex-basis: 42%;
    }

    footer {
        padding: 6rem 8rem;
    }

    .footer-container {
        justify-content: normal;
    }

    .footer-container {
        flex-wrap: wrap;
    }

    .footer__section {
        flex-basis: 33%;
    }
}

@media only screen and (min-width: 768px) {
    .contents-right__img {
        max-width: 30rem;
        position: relative;
        left: 2rem;
    }
}

@media only screen and (min-width: 600px) {
    nav {
        padding: 2rem 0.75rem;
        margin-bottom: 4rem;
        justify-content: space-between;
    }
    .user-stats {
        margin: 5rem 0;
    }

    .user-stats__numbers {
        font-size: 1.75rem;
        padding: 0.75rem 1.2rem;
    }

    .contents-right {
        align-self: flex-end;
    }

    .download__left .download__btns {
        margin-top: 2rem;
        display: flex;
        gap: 0 1rem;
        font-weight: 500;
    }

    .download__btn {
        font-size: 1.2rem;
        padding: 1rem 2rem;
    }
}

@media only screen and (max-width: 640px) {
    .header__container {
        padding: 0 1.5rem;
    }
    nav {
        padding: 2rem 1.25rem;
        margin-bottom: 2rem;
        justify-content: space-between;
    }
    .nav-links,
    .btn {
        display: none;
    }
    .dropbtn {
        color: rgb(105, 105, 105);
        font-size: 4.5rem;
        cursor: pointer;
    }

    .dropdown {
        position: relative;
        display: inline-block;
    }

    .dropdown-content {
        display: none;
        position: absolute;
        right: 0.5rem;
        background-color: #f9f9f9;
        padding: 1rem 0 0 0;
        min-width: 200px;
        box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
        z-index: 1;
    }

    .dropdown-content a {
        color: black;
        padding: 1.65rem;
        text-decoration: none;
        display: block;
    }

    .dropdown-content a:hover {
        background-color: #ede8e8ec;
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }

    .dropdown-btn a {
        background-color: var(--primary-color);
        color: #eeeeee;
    }

    /* BTN */
    .download-btns {
        margin-top: 2.5rem;
        gap: 0 1.5rem;
    }
    .app {
        padding: 1.5rem 1.75rem;
        gap: 0 0.45rem;
        margin-right: 0;
    }
    .contents-left {
        flex-basis: 100%;
        padding: 0.25rem 5rem;
    }
    .user-stats {
        margin: 5rem 0;
    }
    .user-stats__numbers {
        font-size: 1.8rem;
        padding: 1rem 1.2rem;
        margin-right: 2.5rem;
    }
    .contents-right__img {
        max-width: 25rem;
        position: relative;
        left: 1rem;
    }
    .contents {
        flex-direction: column;
        align-items: center;
    }
    .contents-right {
        align-self: center;
        left: 0;
    }
    .stories__avatar {
        flex-wrap: wrap;
        row-gap: 3rem;
    }
    .card {
        flex: 0 0 48%;
    }

    .features-container {
        flex-direction: column;
        align-items: center;
    }
    .features-left__img,
    .advantages-right__img {
        width: 100%;
        max-width: 35rem;
    }
    .features-right {
        margin-top: -5rem;
        position: relative;
    }

    .advantages-container {
        margin-top: 4rem;
        flex-direction: column;
        align-items: center;
    }
    /* FEATURE */
    .features-right .features,
    .features-right h2 {
        margin-bottom: 1.5rem;
    }
    /* USER STORIES */
    section#stories {
        padding: 4rem 0;
    }

    .stories-container {
        padding: 0 3rem;
    }

    .card {
        flex-basis: 75%;
    }
    /* FOOTER */
    footer {
        padding: 4rem 2rem;
    }

    .footer-container {
        flex-wrap: wrap;
    }
    .footer__section {
        flex-basis: 45%;
        margin-bottom: 4rem;
    }
    #footer-five {
        flex-basis: 100%;
        margin-bottom: 1rem;
    }
    /* FAQ */
    section#faq {
        padding: 4rem 0;
    }
    .faq-container,
    .download-container {
        padding: 0 2rem;
    }
    .accordion-text {
        padding: 1rem 1.5rem;
    }
    /* DOWNLOAD */
    .download-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem 0;
    }
    #ellipse-top {
        right: -15rem;
    }
    #ellipse-bottom {
        left: -15rem;
    }
}

@media only screen and (max-width: 440px) {
    .contents-left {
        padding: 0.25rem 1.5rem;
    }

    .download__btn {
        font-size: 1.35rem;
        padding: 1.3rem 1.75rem;
    }
}

@media screen and (min-width: 641px) and (max-width: 940px) {
    .logo-box {
        flex: 1;
    }
    .payee_logo {
        max-width: 80%;
    
    }
    .nav-links {
        flex: 2;
        margin-right: 2rem;
    }
    .btn {
        padding: 1rem 4rem;
    }
}