body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f4f8;
}

html,
body {
    height: 100%;
}

.wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.content {
    flex: 1;
}

.header {
    background: #003388;
    color: white;
    padding: 50px 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    animation: fadeInDown 0.8s ease-out;
}

.juz h1 {
    font-size: 2.5em;
    margin: 0;
    letter-spacing: 1px;
    font-weight: bold;
    animation: slideIn 1s ease-in-out;
}

.juz p {
    font-size: 1.2em;
    margin-top: 10px;
    color: #e0f7fa;
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Custom Dropdown */
.custom-dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 260px;
}

#dropdownToggle {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border-radius: 10px;
    border: 1px solid #ccc;
    background-color: white;
    cursor: pointer;
    text-align: left;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    color: #003388;
    font-weight: bold;
}

.dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10;
    width: 100%;
    max-height: 250px;
    overflow-y: auto;
    background: white;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    display: none;
    margin-top: 5px;
    padding: 0;
    list-style: none;
}

.dropdown-list li {
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.dropdown-list li:hover {
    background-color: #e6f0ff;
}

.back-button {
    display: inline-block;
    margin: 20px;
    padding: 10px 20px;
    background-color: #003388;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.back-button:hover {
    background-color: #0055aa;
}

/* Search Bar */
.search-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 30px;
    padding: 0 16px;
}

.search-container input,
.search-container button {
    padding: 12px;
    font-size: 16px;
    border-radius: 10px;
    border: 1px solid #ccc;
    min-width: 200px;
}

.search-container button {
    background-color: #003388;
    color: white;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-container button:hover {
    background-color: #0077b6;
}

/* Responsive Mobile */
@media (max-width: 600px) {
    .search-container {
        flex-direction: column;
        align-items: stretch;
    }

    .search-container input,
    .search-container button,
    .custom-dropdown {
        width: 100%;
        max-width: 100%;
    }

    .back-button {
        font-size: 14px;
        padding: 8px 14px;
        display: block;
        text-align: left;
        width: fit-content;
    }

    #dropdownToggle {
        text-align: center;
    }
}