body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.hero-section {
    padding: 4rem 0;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9))
}

.feature-card {
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.footer {
    background-color: #f8f9fa;
    padding-top: 3rem;
    margin-top: auto;
}

/* superscript */
.card .ribbon {
    position: absolute;
    top: 10px;
    right: -5px;
    padding: 5px 10px;
    background: #007bff;
    color: white;
    font-size: 0.8em;
    border-radius: 3px;
}

/* portfolio image style */
.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-item img {
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

/* dashboard */
.dashboard {
    background-color: #f8f9fa;
}

.dashboard .navbar {
    padding: 1rem;
    margin-bottom: 2rem;
}

.dashboard .dropdown-toggle::after {
    display: none;
}

#googleLogin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

#googleLogin:hover {
    background-color: #ea4335;
    color: white;
    border-color: #ea4335;
}

#googleLogin .fab {
    margin-right: 8px;
}
/* Light Mode Theme */
.light-mode {
    background-color: #f8f9fa !important;
    color: #212529 !important;
}

.light-mode .navbar,
.light-mode nav.bg-dark {
    background-color: #ffffff !important;
    color: #212529 !important;
}

.light-mode .nav-link,
.light-mode .text-white {
    color: #000 !important;
}

.light-mode .dropdown-menu {
    background-color: #ffffff !important;
    color: #000;
}

.light-mode .dropdown-item {
    color: #000 !important;
}

.light-mode .card {
    background-color: #ffffff;
    color: #000;
}

/* Make dashboard icons prettier */
.card .bi {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.is-invalid {
    border-color: #dc3545 !important;
}

.is-valid {
    border-color: #198754 !important;
}

.form-control:focus.is-invalid {
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25) !important;
}

.form-control:focus.is-valid {
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25) !important;
}

.form-text.text-danger {
    color: #dc3545 !important;
}

.form-text.text-success {
    color: #198754 !important;
}

.form-text.text-warning {
    color: #ffc107 !important;
}