body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    color: white; /* Adjust text color to be visible on background */
}

/* Background image for index.html page */
body {
    background: url("{{ url_for('static', filename='images/teakenya.jpg') }}") no-repeat center center fixed;
    background-size: cover; /* Ensures the image covers the screen */
    background-position: center; /* Centers the image */
    background-attachment: fixed; /* Keeps the background fixed */
    background-color: #1a2b36; /* Fallback color if the image doesn't load */
    color: white; /* Adjust text color to be visible on the background */
    height: 100vh;
    margin: 0;
}

/* Sidebar styles */
.sidebar {
    height: 100vh;
    padding: 20px;
}

.sidebar .logo {
    width: 100%; /* Adjust to fit the sidebar */
    margin-bottom: 20px;
}

/* Navigation styles */
.nav-link {
    color: white !important;
    padding: 10px;
    text-align: center;
    transition: background 0.3s;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Main content area styles */
.main-content {
    padding: 20px;
}

/* Jumbotron styles */
.jumbotron {
    background-color: rgba(39, 174, 96, 0.8); /* Success color with opacity */
    border-radius: 0.5rem;
    padding: 50px;
    text-align: center;
}

.jumbotron h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.jumbotron p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Button styles */
.btn-outline-light {
    color: white;
    border-color: white;
}

.btn-outline-light:hover {
    background-color: white;
    color: #28a745; /* Success color */
}

/* Responsive design */
@media (max-width: 768px) {
    /* Background image adjustments for smaller screens */
    body.index-page {
        background-size: contain;  /* Ensures the whole image fits without stretching */
    }

    /* Sidebar adjustments for smaller screens */
    .sidebar {
        position: relative; /* Change position on smaller screens */
        height: auto; /* Allow it to be fluid */
    }

    /* Main content adjustments */
    .main-content {
        padding: 10px; /* Reduce padding for smaller screens */
    }

    /* Jumbotron text size */
    .jumbotron h1 {
        font-size: 2rem; /* Smaller font size */
    }

    .jumbotron p {
        font-size: 1rem; /* Smaller font size */
    }
}

/* Footer styles (if applicable) */
footer {
    text-align: center;
    padding: 20px;
    background-color: #28a745;
    color: white;
    position: relative;
    bottom: 0;
    width: 100%;
}



