body,
h1,
h2,
h3,
p,
ul {
    font-family: 'Roboto', sans-serif;
    /* Use Roboto everywhere */
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    font-size: .875rem;
}

html,
body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

body {
    /* take up the full height minus the footer*/
    flex: 1;
}

.main-content {
    /* take up the remaining space */
    flex: 1;
}

.feather {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
}


/* Header */
header {
    background: #333;
    color: #fff;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

header h1 {
    font-size: 1.8em;
    font-weight: 700;
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
}

header nav ul li a:hover {
    text-decoration: underline;
}

nav {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-items {
    list-style: none;
    display: flex;
    margin-right: 20px;
}

.nav-items li {
    margin-left: 20px;
}

.nav-items a {
    color: #fff;
    text-decoration: none;
    padding: 10px;
}

.nav-items a:hover {
    text-decoration: underline;
}

.success-message {
    background-color: #28a745;
    /* Green background */
    color: #fff;
    /* White text */
    padding: 04px 08px;
    /* Padding for space */
    border-radius: 5px;
    /* Rounded corners */
    font-size: 1.2em;
    /* Slightly larger text */
    text-align: center;
    /* Center the text */
    margin-top: 0px;
    /* Space from navigation */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
}

/*
   * Sidebar
   */

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    /* Behind the navbar */
    padding: 0;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 48px;
    /* Height of navbar */
    height: calc(100vh - 48px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto;
    /* Scrollable contents if viewport is shorter than content. */
}

.sidebar .nav-link {
    font-weight: 500;
    color: #333;
}

.sidebar .nav-link .feather {
    margin-right: 4px;
    color: #999;
}

.sidebar .nav-link.active {
    color: #007bff;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
    color: inherit;
}

.sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
}

/* Flash Message */
.flash-message {
    position: fixed;
    top: 1;
    left: 0;
    width: 100%;
    z-index: 1050;
    /* Ensure it is above other content */
    margin: 0px;
    padding: 5px 0px;
    /* Padding: 15px top/bottom, 0px left/right */
    border-radius: 0;
    background: #d1ecf1;
    color: #0c5460;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: flex-end;
    /* Aligns content to the right */
    align-items: center;
    /* Centers content vertically */
}

.flash-message.alert-info {
    border: 1px solid #bee5eb;
    background-color: #d1ecf1;
    color: #0c5460;
}

.flash-message .btn-close {
    background: transparent;
    border: none;
    font-size: 1.2em;
    color: #0c5460;
    margin-left: 15px;
    /* Space between text and close button */
}

.flash-message .btn-close:hover {
    color: #0056b3;
}

.flash-message .btn-close:focus {
    box-shadow: none;
}

/* Adjust hero section margin to accommodate flash message height */
.hero {
    margin-top: 60px;
    /* Adjust this to accommodate the height of the flash message */
}


/* Hero Section */
.hero {
    background: #f4f4f4;
    padding: 100px 20px 60px;
    text-align: center;
    margin-top: 60px;
    /* Adjust this to accommodate the height of the flash message */
}

.hero h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.cta-btn {
    background: #007bff;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
}

.cta-btn:hover {
    background: #0056b3;
}

/* Features Section */
.features {
    padding: 60px 20px;
    background: #f4f4f4;
}

.features h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.4em;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.feature-item {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.feature-item .icon {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #007bff;
}

.feature-item h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #333;
}

.feature-item p {
    font-size: 1em;
    color: #666;
}

/* Pricing Section */
.pricing {
    background: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
}

.pricing h2 {
    margin-bottom: 20px;
}

.pricing-table {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.pricing-plan {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    width: 30%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    text-align: center;
}

.pricing-plan h3 {
    margin-bottom: 10px;
}

.pricing-plan p {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.pricing-plan ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.pricing-plan ul li {
    margin-bottom: 10px;
}

.pricing-plan .cta-btn {
    background: #28a745;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

.pricing-plan .cta-btn:hover {
    background: #218838;
}

/* Testimonials Section */
.testimonials {
    padding: 60px 20px;
    background: #fff;
    text-align: center;
}

.testimonials h2 {
    margin-bottom: 20px;
}

.testimonial-item {
    margin-bottom: 20px;
}

.testimonial-item p {
    font-style: italic;
    margin-bottom: 10px;
}

.testimonial-item cite {
    font-size: 1.1em;
    color: #666;
}

/* Footer */
.footer {
    background: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer p {
    margin: 0;
}

.footer ul {
    list-style: none;
    display: flex;
}

.footer ul li {
    margin-left: 20px;
}

.footer ul li a {
    color: #fff;
    text-decoration: none;
}

.footer ul li a:hover {
    text-decoration: underline;
}

.login-form {
    align-items: stretch;
}

/* Form styling */
.login-form {
    display: flex;
    align-items: center;
}

.login-form input {
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 1em;
    margin-right: 10px;
}

.login-form input[type="text"],
.login-form input[type="password"] {
    width: 150px;
}

.login-form button {
    background: #007bff;
    color: #fff;
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    margin-right: 10px;
}

.login-form .btn-primary {
    font-size: 1em;
    margin-right: 20px;
    padding-right: 20px;
}

.login-form .btn-secondary {
    margin-left: 10px;
    padding-left: 15px;
    visibility: hidden;
    pointer-events: none;
}

.login-form .btn-secondary.show-btn {
    visibility: visible !important;
    pointer-events: auto !important;
}

.login-form button:hover {
    background: #0056b3;
}

/*
   * Utilities
   */

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.copy-image {
    cursor: pointer;
    margin: 10px;
}

#confirmation {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #333;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
}