@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

::after,
::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

h1 {
    font-weight: 600;
    font-size: 1.5rem;
}

body {
    font-family: 'Poppins', sans-serif;
}

.wrapper {
    display: flex;
}

.main {
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    transition: all 0.35s ease-in-out;
    background-color: #fafbfe;
}

#sidebar {
    width: 70px;
    min-width: 70px;
    z-index: 1000;
    transition: all .25s ease-in-out;
    background-color: #1f242b;
    display: flex;
    flex-direction: column;
}

#sidebar.expand {
    width: 260px;
    min-width: 260px;
}

.toggle-btn {
    background-color: transparent;
    cursor: pointer;
    border: 0;
    padding: 1rem 1.5rem;
}

.toggle-btn i {
    font-size: 1.5rem;
    color: #FFF;
}

.sidebar-logo {
    margin: auto 0;
}

.sidebar-logo a {
    color: #FFF;
    font-size: 1.15rem;
    font-weight: 600;
}

#sidebar:not(.expand) .sidebar-logo,
#sidebar:not(.expand) a.sidebar-link span {
    display: none;
}

.sidebar-nav {
    padding: 2rem 0;
    flex: 1 1 auto;
}

a.sidebar-link {
    padding: .625rem 1.625rem;
    color: #FFF;
    display: block;
    font-size: 0.9rem;
    white-space: nowrap;
    border-left: 3px solid transparent;
}

.sidebar-link i {
    font-size: 1.1rem;
    margin-right: .75rem;
}

a.sidebar-link:hover {
    background-color: rgba(255, 255, 255, .075);
    border-left: 3px solid #1f242b;
}

.sidebar-item {
    position: relative;
}

#sidebar:not(.expand) .sidebar-item .sidebar-dropdown {
    position: absolute;
    top: 0;
    left: 70px;
    background-color: #1f242b;
    padding: 0;
    min-width: 15rem;
    display: none;
}

#sidebar:not(.expand) .sidebar-item:hover .has-dropdown+.sidebar-dropdown {
    display: block;
    max-height: 15em;
    width: 100%;
    opacity: 1;
}

#sidebar.expand .sidebar-link[data-bs-toggle="collapse"]::after {
    border: solid;
    border-width: 0 .075rem .075rem 0;
    content: "";
    display: inline-block;
    padding: 2px;
    position: absolute;
    right: 1.5rem;
    top: 1.4rem;
    transform: rotate(-135deg);
    transition: all .2s ease-out;
}

#sidebar.expand .sidebar-link[data-bs-toggle="collapse"].collapsed::after {
    transform: rotate(45deg);
    transition: all .2s ease-out;
}
.sidebar-dropdown {
    padding-left: 20px; /* Indent dropdown items */
}

.sidebar-dropdown .sidebar-item {
    padding-left: 20px; /* Further indentation for subitems */
}

.sidebar-dropdown .sidebar-link {
    padding: .625rem 1.625rem;
}
@media (max-width: 768px) {
    .sidebar-dropdown {
        padding-left: 10px; /* Reduce padding for smaller screens if needed */
    }

    .sidebar-dropdown .sidebar-item {
        padding-left: 10px;
    }
}

/* Navbar background: very deep green */
#navbar {
    background-color: #012B0A !important; /* almost black-green */
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #014d01; /* subtle bottom border */
}

/* Navbar spacing */
.navbar-nav .nav-item {
    margin: 0 1rem;
}

/* Nav links default */
.navbar-dark .navbar-nav .nav-link {
    color: #012B0A !important; /* light muted green for contrast */
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Active link */
.navbar-dark .navbar-nav .nav-link.active {
    color: #B9FBC0 !important; /* soft green */
}

/* Hover effect */
.navbar-dark .navbar-nav .nav-link:hover {
    color: #A6E3A1 !important; /* light green */
}

/* Dropdown menu: solid deep green background */
.dropdown-menu {
    background-color: #013E13 !important; /* dark forest green */
    border: none;
    border-radius: 8px;
    padding: 0.5rem 0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Dropdown items default */
.dropdown-item {
    color: #CFFFCF !important; /* light greenish white */
    font-weight: 500;
    padding: 10px 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Dropdown item hover effect */
.dropdown-item:hover,
.dropdown-item:focus {
    color: #ffffff !important;
    background-color: #022A0F !important; /* darker hover */
}

/* Dropdown toggle button */
.navbar .dropdown-toggle {
    color: #DFFFD8 !important;
}

/* Dropdown toggle on hover */
.navbar .dropdown-toggle:hover {
    color: #A6E3A1 !important;
}








/*.header-carousel {*/
/*    position: relative;*/
/*    width: 100%;*/
/*    height: 100vh;*/
/*}*/

/*.header-carousel-item {*/
    /*height: 100vh; /* Full height for carousel items */
/*}*/

/*.header-carousel-item-img-2 {*/
/*    position: relative;*/
    /*height: 100%; /* Ensure the image takes full height */
/*    overflow: hidden;*/
/*}*/

/*.header-carousel-item-img-2 img {*/
/*    object-fit: cover;*/
    /*height: 100%; /* Cover the entire height */
/*}*/

/*.carousel-caption {*/
/*    position: absolute;*/
/*    bottom: 20%;*/
/*    left: 50%;*/
/*    transform: translateX(-50%);*/
/*    text-align: center;*/
/*}*/








/* 
/* Form styles */
.form-container {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto; 
}

.progress-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    position: relative;
}

.progress-step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    transition: background 0.3s;
    position: relative;
    z-index: 1;
}

.progress-line {
    height: 5px;
    background: #e0e0e0;
    flex-grow: 1;
    position: relative;
}

.progress-step.step-active {
    background: #007bff;
    color: #fff;
}

.progress-line.step-active {
    background: #007bff;
}

.progress-step.step-active + .progress-line {
    background: #007bff;
}

.progress-step.step-active ~ .progress-step.step-active + .progress-line {
    background: #007bff;
}

.form-step {
    display: none;
}

.form-step-active {
    display: block;
}

label {
    display: block;
    margin: 5px 0; /* Reduced margin */
}

input, select {
    width: 100%;
    padding: 8px; /* Adjusted padding */
    margin-bottom: 8px; /* Reduced margin */
    font-size: 14px; /* Adjusted font size */
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 3px;
}

button {
    padding: 6px 12px; /* Smaller button size */
    border: none;
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
    box-sizing: border-box;
}

button.btn-prev {
    background-color: #6c757d;
}

button.btn-next, button.btn-submit {
    float: right;
}

button.btn-submit {
    background-color: #28a745;
}

h2 {
    margin-bottom: 15px; /* Adjusted margin */
}

.form-row {
    display: flex;
    justify-content: space-between;
}

.form-column {
    flex: 1;
    margin: 0 5px; /* Reduced spacing between columns */
}

.form-column:first-child {
    margin-left: 0;
}

.form-column:last-child {
    margin-right: 0;
}

/* Media queries for responsive design */
@media (max-width: 768px) {
    .form-column {
        flex-basis: 100%; /* Stacks columns on smaller screens */
        margin-bottom: 10px; /* Add space between stacked columns */
    }
}
