:root {
    --text: #0c1a0d;
    --background: #f6fbf6;
    --primary: #3fb94b;
    --secondary: #b3e55e;
    --accent: #f7ffa3;

    --mint: #a8d5ba;
    --sage: #b2c9ab;
    --light-green: #e6f4ea;
    --text-dark: #2e3c2f;
    --text-light: #ffffff;  
    --green-light: #b7ffb4;
    --green-primary: #56a958;
    --green-medium: #439647;
    --green-dark: #004800;
    --green-deep: #002c00;
    --green-deeper: #002400;
    --green-accent: #338739;

}
*, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

body {
    color: var(--text);
    height: 100vh;
    width: 100vw;
}

main {
    background: var(--background);
    /* height: 1000px; */
    height: 100%;
    width: 100%;
    /* border: 2px solid darkblue; */
    position: relative;
}

header {
    position: absolute;
    padding: 1rem 5rem;
    box-shadow: 0px 2px 5px rgba(0, 36, 0, 0.1);
    width: 100%;
    z-index: 2;
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}
.logo {
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 3px;
}
.header ul {
    list-style: none;
    display: flex;
    column-gap: 1.5rem;
}
.header ul li a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    transition: color 0.2s ease-in-out;
}
.header ul li a:hover {
    color: var(--green-primary);
}

.banner {
    /* border: 2px solid firebrick; */
    display: flex;
    position: absolute;
    height: 100%;
    width: 100%;
    overflow: hidden;
    z-index: 1;
    bottom: 0px;
}

.s-design {
    position: relative;
    /* border: 2px solid rgb(51, 153, 104); */
    width: 70%;
    overflow: hidden;
}


.slideshow-container {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    /* border: 2px solid gold; */
    justify-content: center;
}

.slide {
    padding: 2rem;
    animation: fade 1s ease-in-out;
    position: relative;
}
.slide {
    overflow: hidden;
}
/* .slide.active {
    display: block;
} */

#typed-text {
    font-size: 1.5em;
    font-weight: 500;
    color: #222;
}
.typed-char {
  opacity: 0;
  display: inline-block;
  animation: fadeInChar 0.4s ease forwards;
}
@keyframes fadeInChar {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
.kaia-name {
    font-size: 1.5em;
    color: var(--primary);
    font-weight: bold;
}
#kaia-description {
    opacity: 0;
    font-size: 1.5em;
    transform: translateY(20px);
    /* animation: slideIn 1.5s ease forwards, floatY 1s ease infinite; */
    animation: slideIn 1.5s ease forwards;
    animation-delay: 0.2s;
}
@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes floatY {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

@keyframes fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.quote, .link, .subText {
    opacity: 0;
    animation: fadeInQuote 1s ease forwards;
}

.fadeInText, .quote, .link {
    opacity: 0;
    position: relative;
    font-size: 1.5em;
}
.showPrompt1 {
    animation: slideInRightUp 1s ease forwards;
}
.showQuote1 {
    animation: slideInLeft 1s ease forwards;
    animation-delay: 0.5s;
}
.fadeUpOld {
    animation: floatFadeUp 1s ease forwards;
}
.showPrompt2 {
    animation: slideInRightUp 1s ease forwards;
}
.showQuote2 {
    animation: slideInLeft 1s ease forwards;
    animation-delay: 0.5s;
}


@keyframes slideInRightUp {
    0% {
        opacity: 0;
        transform: translate(60px, 40px);
    }
    100% {
        opacity: 1;
        transform: translate(0, 0);
    }
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-60px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes floatFadeUp {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-40px);
    }
}


@keyframes fadeInQuote {
    to { opacity: 1; }
}

.dimmed {
    opacity: 0.3;
    transform: translateY(-30px);
    transition: all .3s ease;
}
blockquote, #vLink {
    font-style: italic;
    margin: 1rem auto;
    padding: 1rem;
    border-left: 5px solid #3cff01;
    max-width: 600px;
    font-size: 1.3rem;
    background-color: rgba(245, 245, 245, 0.55);
}
.quote:hover {
    transform: scale(1.05);
    color: #4CAF50;
}
cite {
    display: block;
    font-style: italic;
    text-align: right;
    &:before {
        content: "- ";
    }
}



.fadeInText2 {
    opacity: 0;
    position: relative;
    font-size: 1.5em;
    margin-bottom: .9em;
    font-weight: 500;
}

#subText{
    opacity: 0;
    position: relative;
    font-size: 2em;
    color: darkgreen;
    font-weight: 600;
}

.chat-demo {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 320px;
    margin: 20px 0px;
    /* margin: 20px auto; */
    animation: fadeSlideUp 1s ease forwards;
    height: auto;
    overflow: hidden;
}
.chat-bubble {
    padding: 12px 16px;
    border-radius: 20px;
    max-width: 100%;
    font-size: 14px;
    line-height: 1.4;
    opacity: 0;
    animation: popIn 0.8s ease forwards;
}
.chat-bubble.bot {
    background-color: #e6f0ff;
    align-self: flex-start;
    animation-delay: 0.5s;
}
.chat-bubble.user {
    background-color: #d1ffd1;
    align-self: flex-end;
    animation-delay: 1.2s;
}
@keyframes popIn {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.stress-meter {
    /* margin: 20px auto; */
    max-width: 300px;
    text-align: center;
    font-family: 'Segoe UI', sans-serif;
}
.stress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: #444;
}
.stress-bar {
    position: relative;
    height: 20px;
    border-radius: 10px;
    background: linear-gradient(to right, #6fcf97, #f2c94c, #eb5757);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}
.stress-level {
    height: 100%;
    width: 0;
    background-color: rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    animation: fillLevel 2s ease-in-out forwards;
}
@keyframes fillLevel {
    from {
        width: 0%;
    }
    to {
        width: 66%;
    }
}
.subText {
    font-size: 0.95rem;
    color: #555;
    margin-top: -10px;
}
.encourage-text p {
    margin-top: 20px;
    font-style: italic;
    color: #333;
    font-size: 0.9rem;
    animation: fadeInUp 2s ease forwards;
    opacity: 0;
}
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
    from {
        opacity: 0;
        transform: translateY(20px);
    }
}







.homepage-container {
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 100%;
    height: 100%;
    background: whitesmoke;
    /* border: 3px solid orchid; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-self: center;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 2s ease forwards;
}
.homepage-container-popup {
    position: relative;
    display: flex;
    height: 100%;
    width: 100%;
    justify-content: center;
    align-items: center;
}
.homepage-container-popupContent {
    row-gap: 40px;
    position: relative;
    /* width: 450px; */
    width: 90%;
    /* box-shadow: 0px 2px 3px gray; */
    border-radius: 10px;
    color: black;
    padding: 5px;
    height: auto;
    /* top: -50px; */
    background-color: white;
    
}
.homepage-container-popupContent div {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-self: center; 
  align-self: center;
}
.homepage-container-popupContent div .container-head {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  column-gap: 10px;
  padding: 2px;
  align-items: center;
  margin-top: 20px;
}
.homepage-container-popupContent div .container-head span {
  color: rgb(1, 50, 1);
}
.homepage-container-popupContent div .container-head a {
  text-decoration: none;
  font-size: 1.2em;
  color: black;
  padding: 5px 15px;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
}
.homepage-container-popupContent div .container-head a:hover {
  color: darkgreen;
}

.container-head a.active-tab {
  font-weight: 700;
  color: #04ff00;
  border-bottom: 2px solid #00ff33;
}

.homepage-container-popupContent div .container-content {
  display: flex;
  flex-direction: row;
  gap: 1.8rem;
  justify-content: center;
  padding: 20px;
  position: relative;
}
.container-content .popContainer {
    display: none;
    width: 100%;
    max-width: 400px;
    /* transition: opacity 0.3s ease-in-out; */
    opacity: 0;
    animation: fadeInUp 2s ease forwards;
}

.container-content .popContainer form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1.1em;
  width: 100%;
  font-weight: 500;
}

.text-input-selection,
.text-input-row,
.form-row,
.form-row2 {
  display: flex;
  gap: 8px;
}

.container-content .popContainer .text-input-row div {
  display: flex;
  align-self: flex-start;
  width: 100%;
  transition: all .3s ease-in-out;
}


.container-content .popContainer .text-input-row input, select {
  flex: 1;
  border: 1px solid darkgreen;
  border-bottom: 1px solid darkgreen;
  border-radius: 5px;
  background: transparent;
  padding: 0.5rem;
  outline: none;
  font-size: 1em;
  transition: all 0.2s ease-in-out;
}
.container-content .popContainer .text-input-row input {
  display: flex;
  position: relative;
  width: 100%;
}
.container-content .popContainer .text-input-row input:focus, select:focus {
  border-bottom: 2px solid #4caf50;
  box-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
}

.container-content .popContainer form .forgotPass-btn {
  font-size: .8em;
  font-weight: 500;
  text-decoration: none;
  color: rgb(3, 55, 128);
  position: relative;
  left: 10px;
  top: -5px;
  transition: all .3s ease-in-out;
}
.container-content .popContainer form .forgotPass-btn:hover {
  color: rgb(51, 115, 204);
}
.container-content .popContainer form .login-btn {
  width: 100%;
  border-radius: 2px;
  border: none;
  background-color: #66bb6a;
  padding: 5px;
  width: 80%;
  position: relative;
  display: block;
  align-self: center;
  font-size: 1em;
  box-shadow: 1px 0px 2px rgba(148, 148, 148, 0.668);
  margin-top: 30px;
  font-weight: 400;
  transition: all .3s ease-in-out;
}

.container-content .popContainer form .login-btn:hover {
  background-color: #1bd452;
  cursor: pointer;
  font-weight: 600;
}

#popupLogin-form {
  display: none;
}
#popupRegister-form {
  display: none;
}.container-content .popContainer form

.active {
  display: block;
}


/* .popContainer .form-row {
    flex-direction: column;
} */
.popContainer .form-row2 {
    flex-direction: column;
    width: 100%;
    gap: 1px;
}

.popContainer .form-row:nth-child(1) {
    /* display: grid;
    grid-template-columns: 1fr 2fr; */
}

.popContainer .form-row2 div {
  display: flex;
  position: relative;
  align-self: flex-start;
  width: 100%;
}
.popContainer .form-row2 input {
  display: flex;
  position: relative;
  width: 100%;
  flex: 1;
  border: 1px solid darkgreen;
  border-bottom: 1px solid darkgreen;
  border-radius: 5px;
  background: transparent;
  padding: 0.5rem;
  outline: none;
  font-size: 1rem;
  transition: all 0.2s ease-in-out;
}
.popContainer .form-row2 input:focus, select:focus {
  border-bottom: 2px solid #4caf50;
  box-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
}
.popContainer form .reg-btn {
  width: 100%;
  border-radius: 2px;
  border: none;
  background-color: #66bb6a;
  padding: 5px;
  width: 80%;
  position: relative;
  display: block;
  align-self: center;
  font-size: 1em;
  box-shadow: 1px 0px 2px rgba(148, 148, 148, 0.668);
  margin-top: 24px;
  font-weight: 400;
  transition: all .3s ease-in-out;
}

.popContainer form .reg-btn:hover {
  background-color: #1bd452;
  cursor: pointer;
  font-weight: 600;
}















.details {
    padding: 3rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.details h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--green-deep);
   text-align: justify;
}

.details p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--green-dark);
    margin-bottom: 2rem;
}

.icon-grid {
    display: flex;
    overflow-x: visible;
    /* overflow-x: auto; */
    scroll-snap-type: x mandatory;
    padding: 2rem 0;
    justify-content: center;
    gap: 2rem;
    scrollbar-width: none;
}

.icon-grid::-webkit-scrollbar {
    display: none;
}

.icon-box {
    flex: 0 0 auto;
    scroll-snap-align: center;
    background-color: var(--green-primary);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.4s ease;
    width: 180px;
    cursor: pointer;
    opacity: 0.6;
    transform: scale(1);
}

.icon-box:hover,
.icon-box.focused {
    transform: scale(1.15);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background-color: var(--green-accent);
    opacity: 1;
}
.icon-box i {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 0.75rem;
    overflow: hidden;
}
.icon-box p {
    font-size: 1rem;
    font-weight: 600;
    color: white;
}
.icon-box small {
    display: block;
    font-size: 0.85rem;
    color: white;
    margin-top: 0.5rem;
}
@keyframes fadeIn {
    from {opacity: 0}
    to {opacity: 1}
}

.input-error {
    border: 2px solid #e74c3c;
    box-shadow: 0 0 5px rgba(231, 76, 60, 0.6);
    transition: 0.3s;
}



.policy-section {
    /* background: #f9f9f9; */
    padding: 50px 20px;
    margin-top: 40px;
    border-top: 2px solid #eee;
    font-family: Arial, sans-serif;
}
.policy-container {
    max-width: 900px;
    margin: auto;
    line-height: 1.6;
    color: #333;
}
.policy-container h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #222;
}
.policy-container h3 {
    margin-top: 25px;
    color: #444;
    font-size: 1.2rem;
}
.policy-container ul {
    margin: 10px 0 20px 20px;
}
.policy-container a {
    color: #0077cc;
    text-decoration: underline;
}
.policy-container p {
    margin-bottom: 15px;
    text-align: justify;
}




/* footer {
    display: flex;
    flex-direction: column;
    background: rgb(40, 66, 40);
    color: black;
    justify-content: center;
}
.footer {
    justify-items: center;
} */

footer {
    background:#012a0a;
    color:#f1f1f1;
    padding: 30px 20px;
    font-family: Arial, sans-serif;
}
footer .f1 {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
footer h3 {
    color:#fff;
    margin-bottom:10px;
}
footer p a {
    color:#f1f1f1;
    text-decoration:underline;
}
footer p span {
    color:#f1f1f1;
}
footer ul {
    list-style:none;
    padding:0;
    margin:0;
}
footer ul li a {
    color:#f1f1f1;
    text-decoration:none;
}
footer .f2 {
    text-align:center;
    margin-top:30px;
    font-size: 14px;
    color:#bbb;
}






@media (max-width: 480px) {

    main {
        /* border: 2px solid green; */
        /* height: 96%; */
        min-height: fit-content;
        height: 93%;
    }
    header {
        position: absolute;
        padding: 1rem 1rem;
    }
    .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 0 auto;
    }
    .logo {
        font-size: 1.5rem;
        font-weight: bold;
        letter-spacing: 3px;
    }
    .header ul li a {
        text-decoration: none;
        color: var(--text);
        font-weight: 600;
        font-size: .9em;
        transition: color 0.2s ease-in-out;
    }


    .banner {
        top: 70px;
        display: flex;
        flex-direction: column;
        /* border: 2px solid darkblue; */
        height: fit-content;
    }
    .s-design {
        position: relative;
        /* border: 6px solid rgb(115, 255, 0); */
        height: fit-content;
        background: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .homepage-container {
        top: 0px;
        height: fit-content;
        width: 100%;
        display: flex;
        overflow: hidden;
        position: relative;
        background: none;
        /* border: 5px solid hotpink; */
        justify-content: start;
        padding: 15px 0;

    }

    .homepage-container-popup {
        height: fit-content;
        top: 0px;
        position: relative;
    }

    .homepage-container-popupContent {
        width: 80%;
    }
    .homepage-container-popupContent div {}
    .homepage-container-popupContent div .container-head {}

    .homepage-container-popupContent div .container-head a {}
    
    .homepage-container-popupContent div .container-content {}
    .container-content .popContainer {
        display: none;
        width: 100%;
        max-width: 400px;
        opacity: 0;
        animation: fadeInUp 2s ease forwards;
    }

    .container-content .popContainer form {
        display: flex !important;
        gap: 10px;
        font-weight: 400;
        font-size: 1em;
    }

    #popupLogin-form {
        display: none;
    }
    #popupRegister-form {
        display: none;
    }


    #slide1 {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
        padding: 0 0;
        /* border: 3px solid darkblue; */
        height: 400px;
    }

    #slide1 dotlottie-wc {
        z-index: 1;
    }

    #slide1 h1 {
        font-size: 1.3rem;
        position: relative;
        top: -10px;
        z-index: 2;
        overflow: hidden;
    }

    #slide1 p {
        top: -5%;
        font-size: 1rem;
        z-index: 2;
        position: relative;
        padding: 2px;
        height: 70px;
        align-content: center;
    }
    #slide2, #slide3, #slide4, #slide5 {
        display: none;
    }


    #loginForm,
    #signupForm {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
    }

    .text-input-row,
    .form-row2,
    .text-input-selection {
        display: flex;
        flex-direction: column;
        gap: 0.3rem;
        width: 100%;
    }

    input, select {
        width: 100%;
        padding: 0.6rem;
        border-radius: 6px;
        border: 1px solid #ccc;
        font-size: 1rem;
    }

    label {
        font-size: 0.9rem;
        font-weight: bold;
    }

    .container-content .popContainer form .forgotPass-btn {
        /* font-size: 0.8em; */
        text-align: right;
        left: 0px;
    }

    .login-btn,
    .reg-btn {
        width: 100%;
        padding: 0.7rem;
        border-radius: 6px;
        border: none;
        font-size: 1rem;
        background: #2e86de;
        color: #fff;
        cursor: pointer;
    }

    .login-btn:hover,
    .reg-btn:hover {
        background: #1b4f72;
    }

    .details h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
        color: var(--green-deep);
    }

    .details p {
        font-size: 1.1rem;
        line-height: 1.6;
        color: var(--green-dark);
        margin-bottom: 2rem;
        text-align: justify;
    }


    .icon-grid {
        width: 100%;
        height: 280px;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .icon-box {
        position: absolute;
        top: 50%;
        left: 50%;
        display: none;
        opacity: 0;
        transform: translate(100%, -50%);
        transition: transform 0.5s ease, opacity 0.5s ease;
        text-align: center;
    }
    .icon-box p {
        text-align: center;
    }
    .icon-box.focused {
        display: block;
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.15);
    }
    .icon-box.exit-left {
        transform: translate(-150%, -50%);
        opacity: 0;
    }


    footer {
        /* background:#012a0a;
        color:#f1f1f1; */
        padding: 20px;
        font-family: Arial, sans-serif;
    }
    footer .f1 {
        /* max-width: 1100px;
        margin: auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); */
        gap: 20px;
    }
    footer h3 {
        color:#f2f8f2;
        margin-bottom: 5px;
        font-size: 1em;
    }
    footer p {
        font-size: .8em;
    }
    footer p a {
        font-weight: 300;
        /* color:#f1f1f1;
        text-decoration:underline; */
    }
    footer p span {
        color:#f2f8f2;
    }
    /* footer ul {} */
    footer ul li a {
        color:#f2f8f2;
        font-size: .8em;
    }
    footer .f2 {
        text-align:center;
        margin-top:30px;
        font-size: 12px;
        color:#bbb;
    }

}
