/* Global Styling */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('../img/background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Navbar Styling */

/* Navbar Styling */
.navbar {
    display: none; /* Hide navbar by default */
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background-color: #1e3c78;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    color: white;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar-logo img {
    width: 150px;
}

/* Navbar links container */
.navbar-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

/* Navbar links */
.navbar-links a {
    color: white;
    text-decoration: none;
    padding: 26px 30px;
    background-color: #1e3c78; /* Background color for button effect */
    border-radius: 5px; /* Rounded corners */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth transitions */
    border: none;
}

/* Hover effect for navbar links */
.navbar-links a:hover {
    background-color: #162c5a; /* Darker blue on hover */
    transform: translateY(-2px); /* Slight lift effect on hover */
}

/* Active (clicked) effect for navbar links */
.navbar-links a:active {
    background-color: #0f2042; /* Even darker blue when clicking */
    transform: scale(0.98); /* Slight shrink effect when clicked */
}

/* Optional focus state for keyboard accessibility */
.navbar-links a:focus {
    outline: none; /* Remove default outline */
    box-shadow: 0 0 0 3px rgba(30, 60, 120, 0.5); /* Custom focus outline */
}

.nav-link.active {
    background-color:  #0f2042;;  /* Dark blue background for active link */
    color: white;  /* White text for active link */
    padding: 26px 30px;
    border-radius: 5px;
    text-decoration: none;
}



.navbar-profile {
    display: flex;
    align-items: center;
    gap: 10px; /* Spacing between profile icon and name */
    margin-right: 20px; /* Add margin to separate profile from the edge */
}

.profile-icon {
    height: 40px;
    width: 40px;
    border-radius: 50%;
}

/* Hamburger Menu (CSS only) */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    position: absolute;
    right: 30px;
    top: 25px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: 0.3s ease;
}


/* Logout Button Styling */
.navbar-profile button {
    background-color: #f05437;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-left: 10px; /* Add margin to separate it from the profile name */
}

.navbar-profile button:hover {
    background-color: #d0442d;
}

.navbar-links a:focus {
    outline: none; /* Remove default outline */
    box-shadow: 0 0 0 3px rgba(30, 60, 120, 0.5); /* Custom focus outline */
}

.mobile-only {
    background-color: #f05437;
    color: white;
    border: none;
    padding: 10px 0px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    display: none;
    width: 100%;
}
.mobile-only button:hover {
    background-color: #851807;
}

.primary-button {
    background-color: #1e3c78; /* Dark blue background */
    color: white; /* White text */
    padding: 10px 20px; /* Padding for size */
    border: none; /* Remove border */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
    font-size: 16px; /* Increase font size */
    transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transitions */
}

/* Hover effect */
.primary-button:hover {
    background-color: #162c5a; /* Slightly darker blue on hover */
}

/* Active state when button is pressed */
.primary-button:active {
    background-color: #0f2042; /* Even darker blue when clicking */
    transform: scale(0.98); /* Slight shrink effect when clicked */
}

/* Focus state for accessibility */
.primary-button:focus {
    outline: none; /* Remove default outline */
    box-shadow: 0 0 0 3px rgba(30, 60, 120, 0.5); /* Add custom outline on focus */
}


/* Login Page Styling */
.login-page {
    text-align: center;
    color: #1e3c78;
    margin-top: 50px;
}

.login-logo {
    max-width: 200px;
    margin-bottom: 30px;
}

/* Central Container */
.container {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    text-align: center;
    margin: 100px auto 0;
}
/* Central Container */
.feedback-container {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 40px 0px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    min-width: 650px;
    text-align: center;
    margin: 60px auto 0;
}

/* Central Container */
.home-container {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 40px 0px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    min-width: 100px;
    text-align: left;
    margin: 80px auto 0;
    font: -webkit-control;
    padding-left: 10px;
}


/* .home-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
} */

/* Modern heading styling */
.home-container h1 {
    font-size: 2.5em;
    font-weight: bold;
    color: #1e3c78;
    text-align: center;
    margin-bottom: 20px;
}

/* Instructions paragraph styling */
.home-container p {
    font-size: 1.1em;
    color: #555;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 30px;
}

/* Modern ordered list styling */
.home-container ol {
    counter-reset: list-counter;
    padding-left: 20px;
    /* list-style: none; Remove default browser list numbering */
    font-size: 1.1em;
}


.home-container ol li {
    position: relative;
    margin-bottom: 10px;
    font-size: 1.1em;
    color: #333;
    padding-left: 10px;
}

.home-container ol li:before {
    /* content: counter(list-counter) "."; */
    /* counter-increment: list-counter; */
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.5em;
    color: #1e3c78;
    font-weight: bold;
}


/* Modern unordered list styling */
.home-container ul {
    list-style-type: none;
    padding-left: 10px;
}

.home-container ul li {
    padding-left: 20px;
    font-size: 1.05em;
    color: #666;
    margin-bottom: 8px;
}

.home-container ul li:before {
    content: "•";
    color: #1e3c78;
    font-weight: bold;
    display: flex;
    width: 1em;
    margin-left: -1em;
}


.sign-in-button {
    padding: 20px;
    display: inline-flex;
    
}


/* Collapsible Navbar for Small Screens */
@media (max-width: 768px) {
    .navbar-links {
        position: absolute;
        top: 65px;
        right: 0;
        left: 0px;
        background-color: #1e3c78;
        flex-direction: column;
        width: 100%;
        max-height: calc(100vh - 70px);
        height: 230px;
        overflow-y: auto;
        box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 0 10px;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        padding-top: 5px;
        gap: 1px;
        display: flow;
    }

    .navbar-links.active {
        transform: translateX(0);
        width: 92%;
        text-align: center;
        left: -5px;
       
    }

    .navbar-profile {
        margin-right: 60px;
    }
    /* Show the Logout Button in the Menu */
    .mobile-only {
        display: block;
    }
    #logout-button-desktop {
        display: none;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
        padding: 10px;
    }

    .navbar-links a {
        display: flex;
        padding:  20px 0px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        text-align: center;
        font-size: 16px;
    }

    .navbar-links a:last-child {
        display: flow;
    }

    .navbar-links a:hover,
    .navbar-links a:active,
    .nav-link.active {
        background-color: #162c5a;
        transform: none;
        padding:  20px 0px;
    }

    /* Profile Picture Styling */
    .profile-icon {
        height: 40px;
        width: 40px;
        border-radius: 50%;
        margin-right: 10px;
    }

    /* Styling for Settings Page */
    .user-info {
        text-align: left;
        margin-top: 20px;
        padding: 0 20px;
    }

    .user-info img {
        height: 80px;
        width: 80px;
        border-radius: 50%;
        display: block;
        margin-bottom: 20px;
    }

    .user-info p {
        margin: 10px 0;
    }
    .feedback-container {
        max-width: 100%;
        min-width: 350px;
    }
}

