/* 🔥 Healthcare GUI Section */
.project-detail-section {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: 'Segoe UI', sans-serif;
}

.project-detail-section ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.project-detail-section h2 {
    margin-top: 30px;
    font-size: 1.5rem;
    color: #333;
}

.project-link {
    color: inherit;             /* Use the default text color */
    text-decoration: none;     /* Remove underline */
    font-weight: bold;         /* Optional: keep it bold */
}

.project-link:hover {
    text-decoration: underline; /* Optional: underline on hover */
    color: inherit;             /* Prevent hover color change */
}

/* Author Section */
.author-info {
    text-align: right;
    font-size: 0.95em;
    color: #555;
    margin-bottom: 20px;
  }

/* Background Section */
.body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    max-width: 900px;
    margin: 80px auto 0; /* top padding for fixed navbar */
    padding: 40px 20px;

    /* Background image setup */
    background-image: url('/static/image/healthcare_gui_project/cover.jpg');
    background-size: cover;          /* Make it cover the entire area */
    background-position: center;     /* Center the image */
    background-attachment: fixed;    /* Optional: parallax effect */

    position: relative;              /* Needed for overlay positioning */
}

/* Transparent overlay */
.body::before {
    content: "";
    position: fixed;      /* Stays in place while scrolling */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.7); /* White overlay, 70% opacity */
    z-index: -1;          /* Keep it behind the text */
}

/* Transparent navbar only for pages with class="body" */
.body .topnav {
    background: transparent;
    backdrop-filter: blur(6px);           /* frosted glass effect */
    border-bottom: 1px solid rgba(200, 200, 200, 0.5);
}

/* Back button */
.back-button {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 20px;
    background-color: #2c3e50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.back-button:hover {
    background-color: #1a252f;
}
