@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}

body {
    background-color: #f4f4f4;
    color: #333;
}

nav {
    background-color: #04955d;
    padding: 0.3rem 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

nav .logo {
    font-size: 1.1rem;
    font-weight: bold;
    color: white;
}

nav .nav-left, nav .nav-right {
    display: flex;
    align-items: center;
}

nav .nav-right {
    margin-left: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 0.8rem;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 0.85rem;
    font-weight: bold;
    transition: color 0.3s ease;
    padding: 0.3rem 0;
}

nav ul li a:hover {
    color: #f1f7f5;
}

nav img {
    height: 24px;
}

nav .duk-text {
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    text-decoration: none;
}

nav a.duk-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

nav a.duk-link:hover .duk-text {
    text-decoration: none;
}

nav a.duk-link img {
    margin-right: 0.5rem;
}

.language-buttons {
    display: flex;
    gap: 0.5rem;
    margin-left: 1.5rem;
}

.language-buttons button {
    background-color: #fff;
    border: 1px solid #ddd;
    color: #04955d;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.language-buttons button:hover {
    background-color: #f1f7f5;
    color: #037d4e;
}

.language-buttons button.active {
    background-color: #04955d;
    color: white;
}

.wrapper {
    max-width: 75%;
    margin: 2rem auto;
    background: #fff;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.wrapper > h1 {
    text-align: center;
    letter-spacing: 3px;
    color: #04955d;
}

.search-container {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
}

.search-container input {
    width: 80%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    outline: none;
}

.search-container input:focus {
    border-color: #04955d;
}

.category-header {
    font-size: 1.5rem;
    color: #04955d;
    border-bottom: 2px solid #04955d;
    margin: 1.5rem 0;
    padding-bottom: 0.5rem;
}

.accordion {
    background-color: #04955d;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
    width: 100%;
    padding: 1.5rem 2.5rem;
    border: none;
    outline: none;
    transition: 0.4s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    border-radius: 8px;
    margin-bottom: 10px;
}

.accordion i {
    font-size: 1.6rem;
    transition: transform 0.2s;
}

.active i {
    transform: rotate(180deg);
}

.panel {
    padding: 0 2.5rem 2rem;
    background-color: #f1f7f5;
    display: none;
    border-radius: 8px;
}

.panel p {
    color: rgba(0, 0, 0, 0.7);
    font-size: 1.1rem;
    line-height: 1.4;
}

.faq {
    border: 1px solid rgba(0, 0, 0, 0.2);
    margin: 10px 0;
    border-radius: 8px;
    transition: 0.3s;
}

.faq.active {
    border: 1px solid #04955d;
}

/* Dropdown menu styling */
.user-info {
    position: relative;
    color: white;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.user-info span {
    margin-right: 15px;
}

.user-info img {
    height: 32px;
    width: 32px;
    border-radius: 50%;
    margin-right: 8px;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1;
    top: 100%; /* Position it directly below the dropdown */
    left: 0; /* Align left with the icon */
    border-radius: 5px;
    overflow: hidden;
}

.dropdown-content a {
    color: #04955d;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.85rem;
    border-bottom: 1px solid #ddd;
}

.dropdown-content a:hover {
    background-color: #f1f7f5;
}

.dropdown:hover .dropdown-content {
    display: block;
}
@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}

body {
    background-color: #f4f4f4;
    color: #333;
}

.wrapper {
    max-width: 75%;
    margin: 2rem auto;
    background: #fff;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.wrapper h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: #04955d;
    font-size: 2rem;
}

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

label {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

button[type="submit"] {
    background-color: #04955d;
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #037d4e;
}

.back-button {
    background-color: #04955d;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1rem;
    margin-top: 20px;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease;
}

.back-button:hover {
    background-color: #037d4e;
}
