@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=DM+Serif+Display:ital@0;1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Advent+Pro:ital,wght@0,100..900;1,100..900&family=DM+Serif+Display:ital@0;1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=ABeeZee:ital@0;1&family=Gilda+Display&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
:root {
    --primary: #625BFE;
    --text: #0F192D;
    --text-gray: #5A678C;
    --gray: #c0bcff;
    --error: #E3452F;
    --primary-2: #4978F0;
    --primary-light: #E1EEF5;
    --secondary: #1D1D1D;
    --background: #F4F1FF;
    --text: #1F2346;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #F9F9F9;

}

header {
    background: #F9F9F9;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    
}

nav .menu {
    justify-content: center;
    
    
}

.logo{
    width: 60px;
}

.namelogo {
    font-family: "Abril Fatface", serif;
    display: flex;
    align-items: center;
    font-weight: 400;
    font-style: normal;
    font-size: 30px;
}

.navigation__group {
    display: flex;
    gap: 16px;
    align-items: center;
}

.navigation__group > .icon {
    cursor: pointer;
    width: 36px;
    height: 36px;
    transition: all 0.2s ease-in-out;
}

.navigation__group > .icon:hover {
    transform: scale(1.1);
}

.user-name {
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    color: var(--text);
}

.email {
    color: #71A894;
}

.dropdown__wrapper {
    width: 240px;
    top: 88px;
    right: 16px;
    position: absolute;
    border-radius: 8px;
    border: 1px solid var(--text-gray);
    display: flex;
    flex-direction: column;
    gap: 4px;
    animation: fadeOutAnimation ease-in-out 0.3s forwards;
}

.dropdown__wrapper--fade-in {
    animation: fadeInAnimation ease-in-out 0.3s forwards;
}

.none {
    display: none;
}

.hide {
    opacity: 0;
    visibility: hidden;
    animation: fadeOutAnimation ease-in-out 0.3s forwards;
}


@keyframes fadeInAnimation {
    0% {
        opacity: 0;
        visibility: hidden;
        width: 160px;
    }
    100% {
        opacity: 1;
        visibility: visible;
        width: 240px;
    }
}

@keyframes fadeOutAnimation {
    0% {
        opacity: 1;
        width: 240px;
        visibility: visible;
    }
    100% {
        opacity: 0;
        width: 160px;
        visibility: hidden;
    }
}

.dropdown__group {
    padding: 12px;
}

.divider {
    width: 100%;
    padding: 0;
    margin: 0;
}


nav a {
    margin: 0 10px;
    padding-right: 40px;
    text-decoration: none;
    color: #000;
    font-family: "ABeeZee", sans-serif;
    font-weight: 400;
    font-style: normal
}

nav a:hover{
    color: #71A894;
    transition: ease-in-out;
    transition-duration: 0.2s;
}

nav > ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    gap: 4px;
}

nav > ul > li {
    height: 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding-left: 8px;
    width: 100%;
}

nav > ul > li > img {
    height: 24px;
    width: 24px;
}

nav > ul > li:hover {
    cursor: pointer;
    color: #71A894;
    text-decoration: none;
}

/* Home page */
.main_home {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: #F9F9F9;
    height: calc(100vh - 60px);
}

.content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
}
.text {
    max-width: 500px;
}

.text h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-family: "Gilda Display", serif;
    font-weight: 400;
    font-style: normal;
}

.text p {
    font-size: 18px;
    margin-bottom: 20px;
    font-family: "Advent Pro", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

button {
    padding: 10px 20px;
    background: #5EB6A5;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    font-family: "Advent Pro", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: bold;
}

button:hover {
    background: #4aa290;
    transition: ease-in-out 0.2s;
}

button a {
    text-decoration: none;
    color: #fff;
}
.image img {
    max-width: 900px;
    width: 100%;
    border-radius: 50%;
}

.main_home .content .image img {
    width: 100%;
    animation: moveImage 6s infinite;
}

@keyframes moveImage {
    0% { transform: translateX(0); }
    50% { transform: translateX(20px); }
    100% { transform: translateX(0); }
}

.features {
    padding: 60px 20px;
    background: #F9F9F9;
    text-align: center;
}

.features h2 {
    font-size: 64px;
    margin-bottom: 20px;
    font-family: "Gilda Display", serif;
    font-weight: 400;
    font-style: normal;
}

.features p {
    font-size: 17px;
    margin-bottom: 40px;
    color: #555;
    font-family: "Advent Pro", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.features-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.feature-box {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    margin: 20px;
    text-align: center;
    
}

.feature-box img {
    max-width: 150px;
}

.feature-box h3 {
    font-size: 24px;
    margin-bottom: 10px;
    font-family: "Advent Pro", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: Bold;
}

.feature-box p {
    font-size: 16px;
    color: #777;
}

.steps {
    padding: 60px 50px;
    background:#F9F9F9 ;
    /* text-align: center; */
}

.step-1-icon {
    max-width: 50px;
    margin-right: 20px;
}

.step-2-icon {
    max-width: 50px;
    margin-right: 20px;
    justify-content: end;
}

.step-3-icon {
    max-width: 50px;
    margin-right: 20px;
}

.step-1, .step-2, .step-3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}


.step-text {
    max-width: 600px;
    text-align: left;
}

.step-text h2 {
    font-size: 55px;
    margin-bottom: 10px;
    font-family: "Gilda Display", serif;
    font-weight: 400;
    font-style: normal;
}

.step-text p {
    font-size: 18px;
    color: #555;
    font-family: "Advent Pro", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.step-text img {
    max-width: 600px;
}

.step-profile {
 max-width: 700px;
}

.step-konsul {
    max-width: 500px;
}

.step-feedback { 
    max-width: 700px;
}





/* Konsultasi page */
main {
    display: flex;
    padding: 20px;
}

.articles, .consultation {
    width: 50%;
    padding: 20px;
}

.articles h2 {
    font-size: 23px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    font-family: "DM Serif Display", serif;
    font-weight: 400;
    font-style: normal;
    color: #71A894;
}

.article {
    margin-bottom: 60px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1); /* Adding shadow here */
    border: 1px solid #ddd;
    border-radius: 10px;
}

.article h3 {
    font-size: 16px;
    margin: 10px;
    display: flex;
    justify-content: center;
    font-family: "DM Serif Display", serif;
    font-weight: 400;
    font-style: normal;
    color: #71A894;
}

.article p {
    display: flex;
    justify-content: center;
    font-family: "Advent Pro", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.consultation {
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1); /* Adding shadow here */
 
    
}

.chat-header {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #c5c5c5;
}

.bot-icon {
    font-size: 34px;
    margin-right: 10px;
}

.bot-status {
    flex-direction: column;
}

.online-status {
    color: green;
    font-size: 12px;
}

.chat-window {
    height: 500px;
    overflow-y: auto;
    padding: 20px;
    
}

.message {
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
}

.bot-message {
    background: #F9F9F9;
    align-self: flex-start;
    
}

.user-message {
    background: #71A894;
    color: #fff;
    align-self: flex-end;
}

.message-input {
    display: flex;
    padding: 10px;
}

.message-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-right: 10px;
}

.message-input button {
    padding: 10px;
    border: none;
    background: #71A894;
    color: #fff;
    border-radius: 5px;
}



/* Profile Page */
.main-profile { 
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    padding: 40px 20px;
    background: #f9f9f9;
}
.profile {
    height: auto;
    background: #F9F9F9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: 0 auto;
}

.profile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.profile-pic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-info {
    flex: 1;
    margin-left: 20px;
}

.profile-info h2 {
    margin: 0;
    font-size: 24px;
}

.profile-info p {
    margin: 5px 0 0;
    color: #777;
}

.edit-button {
    padding: 10px 20px;
    background: #71A894;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.edit-button:hover {
    background: #567e70;
}

.profile-details {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.form-group {
    flex: 1;
    min-width: 250px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #555;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.email-section {
    margin-top: 20px;
}

.email-section h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.email-address {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.email-address img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.email-address p {
    margin: 0;
    color: #777;
}

.add-email-button {
    padding: 10px 20px;
    background: #71A894;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.add-email-button:hover {
    background: #567e70;
}



footer {
    background: #F9F9F9;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}

.footer-links a {
    margin: 0 10px;
    text-decoration: none;
    color: #000;
    font-family: "ABeeZee", sans-serif;
    font-weight: 400;
    font-style: normal
}
