/* Reset and General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    /* Background with Image */
    background-image: url("background.jpg");
    background-size: contain; /* Scale the image to cover the entire background */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent image repetition */
    background-attachment: fixed; /* Keep background fixed during scroll */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative; /* Needed for absolute positioning of shapes */
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* The rest of the CSS remains the same */
.dashboard-container {
    width: 800px;
    /* Background Color - White */
    background-color: #ffffff; /* Changed to pure white */
    border-radius: 15px;
    /* Box Shadow - Soft and Subtle */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Slightly adjusted shadow */
    overflow: hidden;
}

/* Top Bar */
.top-bar {
    background-color: #5085a5;
    color: white;
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.top-bar nav ul li {
    margin-left: 1rem;
}

.top-bar nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
}

.window-controls {
    display: flex;
}

.window-controls span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}

.window-controls span:nth-child(1) {
    background-color: #ff6059;
}

.window-controls span:nth-child(2) {
    background-color: #ffbd2e;
}

.window-controls span:nth-child(3) {
    background-color: #27c93f;
}

/* Header Styles */
header {
    padding: 2rem;
    text-align: left;
}

header h1 {
    color: #305973;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-text {
    flex: 1;
    margin-right: 20px;
}

.header-text h2 {
    color: #305973;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.header-text p {
    color: #5e7a8f;
    font-size: 0.9rem;
    line-height: 1.4;
}

.header-chart {
    flex-shrink: 0;
    width: 300px;
}

.header-chart img {
    max-width: 100%;
    height: auto;
}

/* Main Content */
main {
    padding: 0 2rem 2rem;
}

.card-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.card {
    flex: 1;
    background-color: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: left;
    margin-right: 1.5rem;
}

.card:last-child {
    margin-right: 0;
}

.card h3 {
    color: #305973;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.card p {
    color: #5e7a8f;
    font-size: 0.85rem;
    line-height: 1.3;
}

.card .card-chart {
    text-align: center;
}

.card .card-chart img {
    max-width: 100%;
    height: auto;
}

.card .contract {
    color: #5e7a8f;
    font-size: 0.75rem;
    text-align: center;
}

/* Buttons */
.button {
    background-color: #5085a5;
    color: white;
    border: none;
    padding: 0.7rem 1.2rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    display: inline-block;
    margin-top: 1rem;
}

.button.view-data-btn {
    margin: 0 auto;
    display: block;
    text-align: center;
}









.card h2 {
    font-size: 1.3rem; /* Adjust the size */
    color: #305973;   /* Match the header color */
    margin-bottom: 0.75rem; /* Adjust spacing */
  }
