:root {
    /* Color */
    --color-primary: rgba(64, 224, 208, 1);
    --color-font-linear-primary: linear-gradient(171deg, rgba(170,235,235,1) 0%, rgba(64,224,208,1) 55%, rgba(40,144,128,1) 100%);
    --color-font-linear-secondary: linear-gradient(90deg, rgba(119,119,119,1) 0%, rgba(199,199,199,1) 50%, rgba(119,119,119,1) 100%);
    --color-font-linear-tertiary: linear-gradient(90deg, rgb(148, 148, 148) 0%, rgba(255,255,255,1) 50%, rgb(148, 148, 148) 100%);
    --color-button-linear: linear-gradient(175deg, rgba(109,109,109,1) 0%, rgba(10,27,25,1) 41%, rgba(10,27,25,1) 61%, rgba(64,224,208,1) 100%);
    --color-background-linear: linear-gradient(90deg, rgba(35, 122, 113, .15) 0%, rgba(0, 94, 78, 1) 50%, rgba(35, 122, 113, .15) 100%);
    --color-dark: #060C0B;
    --color-light: #ffffff;
    --color-font-accent: #c0c0c0;
    --color-font-subtle: #545a5a;
    --color-card: #0E0E0E;
    --button-linear: linear-gradient(
        to bottom right,
        #0c4741,
        #192020,
        #192020,
        #3f3f3f
    );
    
    /* Font families */
    --font-family-primary: 'work sans', sans-serif;
    --font-family-secondary: 'ms madi', sans-serif;

    /* Font sizes */
    --font-size-body: 1rem;
    --font-size-small: .875rem;
    --font-size-body-large: 1.5rem;
    --font-size-very-small: .75rem;
    --font-size-paragraph: 1.25rem;

    /* font weights */
    --font-weight-regular: 400;
    --font-weight-bold: 700;
}

::selection {
    background-color: var(--color-primary);
    color: var(--color-dark);
}

/* Scrollbar For Webkit Browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 8px; /* Set the width of the scrollbar */
    height: 8px; /* Set the height for horizontal scrollbar */
}

::-webkit-scrollbar-thumb {
    background-color: #262e2e; /* Color of the scrollbar thumb */
    border-radius: 10px; /* Round the corners */
}

::-webkit-scrollbar-thumb:hover {
    background-color: #374141; /* Color of the thumb when hovered */
}

::-webkit-scrollbar-track {
    background-color: transparent; /* Color of the track (the area the thumb moves along) */
}

/* Typography */

html {
    box-sizing: border-box;
    font-size: 100%;
    scroll-behavior: smooth;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    font-family: var(--font-family-primary);
    font-size: var(--font-size-body);
    line-height: 150%;
    font-weight: var(--font-weight-regular);
    color: var(--color-font-accent);
    background-color: var(--color-dark);
}

h1, h2, h3 {
    color: var(--color-light);
    line-height: 100%;
    letter-spacing: -0.02em;
    font-weight: 700;
}

h1 {
    font-size: 3.75rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 1.25rem;
}

@media screen and (min-width: 768px) {
    h2 {
        font-size: 3.5rem;
    }
}

/* wrapper */

.wrapper {
    display: flex;
    flex-direction: column;
    gap: 12rem;
    padding: 0 24px;
    max-width: 1140px;
    margin: 0 auto;
}

@media screen and (min-width: 768px) {
    .wrapper {
        padding: 0 60px;
    }
}

@media screen and (min-width: 1024px) {
    .wrapper {
        padding: 0 80px;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* eclipse layer blur */
.eclipse {
    z-index: -1;
    position: fixed;
    right: 0;
    transform: scaleX(-1);
    pointer-events: none;
    opacity: .7;
}

@media screen and (min-width: 768px) {
    .eclipse {
        transform: scale(1.7) scaleX(-1);
    }
}

@media screen and (min-width: 1024px) {
    .eclipse {
        transform: scale(4) scaleX(-1);
    }
}

/* navbar */
.nav {
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    margin-top: 2rem;
    margin: 2rem auto 0;
    padding: 0 .75rem;
    border-radius: 8px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(33, 33, 33, .8); /* Semi-transparent background */
    backdrop-filter: blur(4px); /* Apply blur effect */
    -webkit-backdrop-filter: blur(4px); /* For Safari support */
}

.nav__links {
    display: flex;
    padding-left: 0;
    gap: 1rem;
    margin: 0;
}

.nav__links li {
    padding: .75rem .75rem;
    border-radius: 8px;
    list-style: none;
}

.nav__links .nav__link {
    text-decoration: none;
    color: var(--color-font-accent);
    transition: all .3s ease;
}

.nav__links .nav__link:not(.active):hover {
    color: var(--color-light);
}

.nav__links .active {
    color: var(--color-primary);
}

/* hero */
.hero {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 15rem;
}

@media screen and (min-width: 768px) {
    .hero {
        margin-top: 14rem;
    }
}

.hero__upper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero__clickable {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.hero__h1 {
    font-size: 1.9rem;
    font-weight: 500;
    line-height: 105%;
    letter-spacing: -0.03em;
    margin: 0;
}

@media screen and (min-width: 625px) {
    .hero__h1 {
        font-size: 2.5rem;
    }
}

@media screen and (min-width: 835px) {
    .hero__h1 {
        font-size: 3rem;
    }
}

@media screen and (min-width: 978px) {
    .hero__h1 {
        font-size: 3.5rem;
    }
}

@media screen and (min-width: 1024px) {
    .hero__h1 {
        font-size: 4.3rem;
    }
}

.hero__links {
    display: flex;
    padding-left: 0;
    gap: 1rem;
    margin: 0;
}

.hero__links {
    display: flex;
    gap: 2rem;
}

.hero__links .hero__link {
    text-decoration: none;
    color: var(--color-font-subtle);
    border-radius: 8px;
    transition: all .3s ease;
}

.hero__links .hero__link:not(.active):hover {
    color: var(--color-font-accent);
}

.hero__links .active {
    color: var(--color-light);
}

/* Hero Label */
.label {
    display: flex;
    align-items: center;
    gap: .75rem;
    width: fit-content;
    padding: .35rem 1rem;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 28px 0 0 28px;
    background: linear-gradient(90deg, rgba(64, 224, 208, 0.6) 0%, rgba(34.86, 122, 113.29, 0) 100%);
  }
  
  .label .label__light-container {
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: 4px;
  }
  
  .label .label__light-circle {
    position: absolute;
    width: 8px;
    height: 8px;
    top: 1px;
    left: 1px;
    border-radius: 4px;
    background-color: #6efcc1;
  }
  
  .label .label__light-shadow {
    position: absolute;
    width: 12px;
    height: 12px;
    top: -0.7px;
    left: -1.5px;
    filter: blur(4px);
    background-color: #6efcc1;
    animation: fadeInOut 1s infinite;
  }

  @keyframes fadeInOut {
    0%, 100% {
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
  }
  
.label .label__text {
    display: flex;
    align-items: center;
    gap: .35rem;
    color: var(--font-accent);
    font-size: var(--font-size-very-small);
    white-space: nowrap;
  }

  @media screen and (min-width: 768px) {
    .label .label__text {
        font-size: var(--font-size-body);
    }
  }

  .label .label__text-shopee {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: .3rem;
    color: var(--color-font-accent);
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, .3);
    transition: all .2s ease;
  }

  .label .label__text-shopee:hover {
    text-decoration-color: var(--color-light);
  }
  
  .label .label__logo {
    width: 15px;
    height: 15px;
    object-fit: cover;
  }
  
/* hero__down */
.hero__down {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.hero__button {
    position: relative;
    display: inline-block;
    border: none;
    cursor: pointer;
    text-align: center;
    z-index: 1;
    text-decoration: none;
    overflow: hidden;
    text-transform: capitalize;
    padding: 1rem 2rem;
    background-color: var(--color-card);
    color: var(--color-light);
    border-radius: 8px;
    white-space: nowrap;
    transition: background-color .2s ease;
}

.hero__button::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1; /* Ensures the gradient is behind the button */
    border-radius: inherit;
    padding: 1px; /* Border thickness */
    background: var(--button-linear);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.hero__button:hover {
    background-color: #181818;
}

.hero__download-icon {
    width: 12px;
    height: 12px;
}

.hero__span-download {
    display: flex;
    align-items: center;
    gap: .25rem;
}

.hero__span-download p {
    margin: 0;
}

.hero__download-text {
    font-size: var(--font-size-very-small);
    color: var(--color-font-accent);
    text-decoration-color: rgba(255, 255, 255, .3);
    transition: all .2s ease;
}

.hero__download-text:hover {
    text-decoration-color: var(--color-light);
}

/* quote */
.quote {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
    margin: 10rem 0 20rem;
}

.quote__header {
    margin: 0;
    padding: 2px;
    background: var(--color-font-linear-tertiary);
    background-clip: text; /* Clip the gradient to the text */
    -webkit-text-fill-color: transparent; /* Make the text transparent to show the gradient */
    font-size: var(--font-size-body);
}

@media screen and (min-width:768px) {
    .quote__header {
        font-size: 1.5rem;
    }
}

.quote__content {
    margin: 0;
    background: var(--color-font-linear-primary);
    background-clip: text; /* Clip the gradient to the text */
    -webkit-text-fill-color: transparent; /* Make the text transparent to show the gradient */
    font-size: 2.1rem;
    letter-spacing: -0.03em;
    font-weight: 500;
    line-height: 105%;
    text-align: center;
}

@media screen and (min-width:768px) {
    .quote__content {
        font-size: 2.8rem;
    }
}

/* blog */
.blog {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
}

@media screen and (min-width: 768px) {
    .blog {
        gap: 5rem;
    }
}

@media screen and (min-width: 1024px) {
    .blog {
        display: grid;
        grid-template-columns: 40% 1fr;
        column-gap: 6.2rem;
    }
}

.blog__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.blog__header h2,.blog__subheader {
    margin: 0;
    text-align: center;
}

@media screen and (min-width:1024px) {
    .blog__header h2,.blog__subheader {
        text-align: left;
    }
}

.card {
    border-radius: 20px;
    position: relative;
    display: inline-block;
    background-color: var(--color-card);
    overflow: hidden; /* Ensures content stays within the border radius */
    padding: 1.5rem 1.5rem; /* Adjust padding based on your design */
    z-index: 1;
    width: 100%;
    color: var(--color-light);
    text-decoration: none;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1; /* Ensures the gradient is behind the card */
    border-radius: inherit;
    padding: 1px; /* Adjust for border thickness */
    background: var(--button-linear);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.card:hover {
    box-shadow: 0 0 8px rgba(19, 78, 72, 0.2), 0 0 20px rgba(19, 78, 72, .2), 0 0 40px rgba(19, 78, 72, .1);
}

.blog__content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.blog__card {
    display: flex;
    justify-content: space-between;
    gap: .5rem;
    align-items: center;
}

.blog__article {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    align-items: flex-start;
}

.blog__card h3 {
    transition: all .3s ease;
    background: transparent;
}

.blog__card:hover h3 {
    background: var(--color-background-linear);
}

.blog__article h3,p {
    margin: 0;
    text-align: left;
}

.blog__article p {
    color: var(--color-font-accent);
}

.blog__card img {
    width: 54px;
    height: 54px;
    opacity: 0;
    transform: scale(1) rotate(0deg) translate(0, 0); 
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.blog__card:hover img {
    transform: rotate(5deg) translate(0px, 0px) scale(1.3, 1.3);
    opacity: 1;
}

.blog__card:nth-child(even):hover img {
    transform: rotate(-7deg) translate(0px, 0px) scale(1.4, 1.4);
}

/* card */
.testimonial__card {
    border-radius: 20px;
    position: relative;
    display: inline-block;
    background-color: var(--color-card);
    overflow: hidden; /* Ensures content stays within the border radius */
    padding: 2rem; /* Adjust padding based on your design */
    z-index: 1;
    color: var(--color-light);
}

.testimonial__card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1; /* Ensures the gradient is behind the card */
    border-radius: inherit;
    padding: 1px; /* Adjust for border thickness */
    background: var(--button-linear);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.card__body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
    color: var(--color-font-accent);
}

.card__body p {
    font-size: var(--font-size-small);
    line-height: 140%;
    text-align: left;
}

/* media */
.media {
    display: flex;
    gap: .5rem;
    align-items: center;
}

.media .profile-photo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.media__body {
    display: flex;
    flex-direction: column;
    align-items: left;
    gap: .4rem;
}

.media__body .media__name {
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-bold);
    margin: 0;
    letter-spacing: 0;
}

.media__body .media__title {
    margin: 0;
    font-size: var(--font-size-very-small);
    color: var(--color-font-accent);
    line-height: 110%;
}

/* testimonial */
.testimonial {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}


.testimonial__header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.testimonial__header h2,.testimonial__header-p {
    margin: 0;
    text-align: center;
}


.testimonial__content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media screen and (min-width: 768px) {
    .testimonial__content {
        flex-direction: row;
    }
}

/* footer */
.footer {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    margin: 7rem 0 2.5rem;
}

.footer__line {
    height: 1px; /* Line thickness */
    background-image: linear-gradient(90deg, rgba(10,27,25,1) 0%, rgba(79,79,79,1) 50%, rgba(10,27,25,1) 100%);; /* Gradient colors */
    width: 100%;  /* Full width */
}

.footer__content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.footer__icon {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.footer__icon img {
    width: 20px;
    height: 20px;
}

.footer__content p {
    margin: 0;
    text-align: center;
}