/* Add Flexbox to ensure the footer sticks to the bottom */
html, body {
    height: 100%;  /* Ensure the body takes the full height */
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
}

.wrapper {
    flex-grow: 1;  /* This allows the wrapper to take up remaining space */
    display: flex;
    flex-direction: column;
}

header {
    background: linear-gradient(45deg, #2c3e50, #3498db);
    color: #fff;
    padding: 20px 0;
    width: 100%;
    position: sticky;
    top: 0;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-around;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 50px;
    margin-right: 10px;
}

header h1 {
    font-size: 2em;
    font-weight: bold;
    margin: 0;
}

nav {
    width: 60vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
    width: 80%;
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1em;
    position: relative;
}
@keyframes underline-anime {
    0%{
        width: 0%;
    }
    100%{
        width: 100%;
    }
}
nav ul li a:hover::before{
    /* display: block; */
    position: absolute;
    width: 100%;
    content: '';
    bottom: -10px;
    border: 2px solid white;
    animation-name: underline-anime;
    animation-duration: 0.3s;
    animation-delay: 0.2s;
    animation-timing-function: ease-out;
    animation-fill-mode: backwards;
}
.user-icon {
    margin-left: auto;
    border: 1px solid white;
    border-radius: 50%;
    padding: 5px 7px;
    display: flex;
    align-items: center;
}
.user-icon:hover{
    border: 1px solid black;
}
.user-icon img {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
}

/* .user-icon a:hover img {
    border: 2px solid #3498db;
    transition: border 0.3s ease;
} */

/* Main content and sidebar styling */
/* Main content and sidebar styling */
.body-container {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    flex-grow: 1;
}

.main-content {
    flex-grow: 1;
    padding: 20px;
}

.sidebar {
    width: 250px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    position: fixed;
    right: 20px;
    top: 200px; /* Changed from 120px to 200px to move the sidebar lower */
    text-align: center;
}

.sidebar h2 {
    font-size: 1.4em;
    color: #333;
}

.sidebar p {
    margin: 10px 0;
    font-size: 0.9em;
    color: #666;
}

.progress-bar {
    background-color: #e0e0e0;
    border-radius: 20px;
    height: 10px;
    width: 100%;
    margin: 10px 0;
    overflow: hidden;
}

.progress {
    background-color: #3498db;
    height: 100%;
    transition: width 0.3s ease;
    border-radius: 20px;
}

.progress-text {
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}

.sidebar-button {
    display: inline-block;
    background: #0e8bff;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 25px;
    transition: background 0.3s ease;
    margin-top: 15px;
    font-size: 0.9em;
}

.sidebar-button:hover {
    background-color: #00b3ff;
}


/* Footer is fixed to the bottom */
footer {
    background: #383838;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    width: 100%;
    flex-shrink: 0;  /* Keeps footer at the bottom */
}

.welcome {
    text-align: center;
    color: #006eff;
    font-family: "Libertinus Sans", sans-serif;
    text-decoration: underline;
    font-weight: bold;
    font-size: 2rem;
}

.navbar-items{
    display: flex;
    margin-top: 6vh;
    
}

/* CTA Buttons Styling */
.cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 300px;
    padding: 15px 25px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.cta-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.primary-cta {
    background: linear-gradient(45deg, #2ecc71, #27ae60);
    border: 2px solid #27ae60;
}

.primary-cta:hover {
    background: linear-gradient(45deg, #27ae60, #2ecc71);
}

.secondary-cta {
    background: linear-gradient(45deg, #3498db, #2980b9);
    border: 2px solid #2980b9;
}

.secondary-cta:hover {
    background: linear-gradient(45deg, #2980b9, #3498db);
}

.tertiary-cta {
    background: linear-gradient(45deg, #9b59b6, #8e44ad);
    border: 2px solid #8e44ad;
}

.tertiary-cta:hover {
    background: linear-gradient(45deg, #8e44ad, #9b59b6);
}

/* Tour Button Styles */
.tour-button {
    background-color: transparent;
    color: #f2f8ff;
    border: 1px solid #d3e8ff;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    top: -3vh;
}

.tour-button:hover {
    background-color: #007bff;
    color: white;
    transform: scale(1.1);
}

.theme-toggle {
    margin-left: 1rem;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.theme-toggle img {
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease;
}

.theme-toggle img:hover {
    transform: rotate(20deg) scale(1.1);
}

