/* Header Styles */
header {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    background-color: #30475e;
    color: white;
    padding: 20px 0;
}

header nav a {
    color: white;
    margin-right: 30px;
    font-weight: 500;
    text-decoration: none;
}

header div.sign-in-up button {
    background-color: #eff4f8;
    font-size: 16px;
    font-weight: 550;
    padding: 4px 12px;
    border: 2px solid #f3f5f6;
    border-radius: 5px;
    outline: none;
    margin-right: 20px;
    cursor: pointer;
}

header div.sign-in-up button:last-child {
    background-color: #e7ecf0;
}

/* Popup Container */
div.popup-container {
    position: fixed; /* Changed to fixed to center on the screen */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
    z-index: 1000; /* Ensure it's on top of other content */
}

/* Popup Box */
div.popup-container div.popup {
    background-color: #f0f0f0;
    width: 350px;
    border-radius: 5px;
    padding: 20px 25px 30px 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative; /* Ensure it's positioned correctly */
}

div.popup-container div.popup h2 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    color: #30475e;
}

div.popup-container div.popup h2 button {
    border: none;
    background-color: transparent;
    outline: none;
    font-size: 18px;
    font-weight: 550;
    color: #797775;
    cursor: pointer;
}

div.popup-container div.popup input {
    width: 100%;
    margin-bottom: 20px;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid #30475e;
    border-radius: 0;
    padding: 5px 0;
    font-weight: 550;
    font-size: 14px;
    outline: none;
}

div.popup-container div.popup button.login-btn,
div.popup-container div.register button.register-btn {
    font-weight: 550;
    font-size: 15px;
    color: white;
    background-color: #30475e;
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    outline: none;
    margin-top: 10px;
    cursor: pointer;
    width: 100%;
}

/* Register Popup Specific Styles */
div.popup-container div.register {
    background-color: #edeef7;
}

div.popup-container div.register h2 {
    color: #fa9579;
}

div.popup-container div.register button.register-btn {
    background-color: #fa9579;
}

/* Responsive Design for Phone Screens */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 10px 0;
    }

    header nav {
        margin: 10px 0;
    }

    header nav a {
        margin-right: 15px;
    }

    header div.sign-in-up button {
        font-size: 14px;
        padding: 4px 10px;
        margin-right: 10px;
    }

    div.popup-container div.popup {
        width: 90%;
        max-width: 300px;
        padding: 15px;
    }

    div.popup-container div.popup h2 {
        font-size: 18px;
    }

    div.popup-container div.popup input {
        font-size: 12px;
    }

    div.popup-container div.popup button.login-btn,
    div.popup-container div.register button.register-btn {
        font-size: 14px;
        padding: 6px 12px;
    }
}

/* Slider Image Styles */
.slider-container {
    width: 80%;
    max-width: 500px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    margin-bottom: 170px;
}

.slider {
    display: flex;
    transition: transform 1s ease;
    transform: translateX(0);
}

.slider img {
    width: 100%;
    height: auto;
    flex-shrink: 0;
}

.slider-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: background 0.3s;
    cursor: pointer;
}

.indicator.active {
    background: #fff;
}






