/* ===========================
   Existing Styles (unchanged)
=========================== */
body {
    font-family: 'Nunito', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #e0f7fa, #ffffff);
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    scroll-behavior: smooth;
}
.container {
    max-width: 900px;
    margin: 40px auto;
    background: #fff;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}
footer .container {
    max-width: 100%;
    margin: 0 auto;
    background: none;
    padding: 0 20px;
    border-radius: 0;
    box-shadow: none;
    border: none;
}
h2 {
    color: #0d6efd;
    text-align: center;
    margin-bottom: 25px;
    font-weight: 700;
    border-bottom: 2px solid #ccc;
    padding-bottom: 10px;
    transition: color 0.3s ease;
}
h2:hover { color: #014f86; }
form input, form textarea {
    padding: 10px 12px;
    border: 2px solid #0d6efd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
form input:focus, form textarea:focus {
    border-color: #014f86;
    box-shadow: 0 0 8px rgba(13,110,253,0.5);
    outline: none;
}
button, .btn { 
    border-radius: 8px; 
    font-weight: 600; 
    transition: all 0.3s ease;
}
.btn-primary { 
    background-color: #0d6efd; 
    color: #fff; 
}
.btn-primary:hover { 
    background-color: #014f86; 
    transform: scale(1.05); 
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.btn-gradient-primary {
    background: linear-gradient(135deg, #0dcaf0, #ffc107);
    background-size: 200% 200%;
    color: #fff;
    font-weight: 600;
    animation: gradientShift 4s ease infinite;
}
.btn-gradient-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}
.btn-gradient-warning {
    background: linear-gradient(135deg, #ffc107, #ff6f61);
    background-size: 200% 200%;
    color: #fff;
    font-weight: 600;
    animation: gradientShift 4s ease infinite;
}
.btn-gradient-warning:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.navbar { 
    background: linear-gradient(90deg, #e6f7ff, #ffffff); 
    padding: 0.8rem 1rem; 
    transition: all 0.3s ease; 
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
}
.navbar:hover { box-shadow: 0 6px 18px rgba(0,0,0,0.15); }
.navbar-brand { 
    font-weight: 800; 
    font-size: 1.7rem; 
    color: #0dcaf0 !important; 
    transition: transform 0.3s, text-shadow 0.3s; 
}
.navbar-brand:hover { 
    transform: scale(1.05); 
    text-shadow: 0 2px 8px rgba(13,202,240,0.5); 
}
.profile-photo-navbar { 
    width: 42px; 
    height: 42px; 
    border-radius: 50%; 
    border: 2px solid #0dcaf0; 
    object-fit: cover; 
    transition: transform 0.3s, box-shadow 0.3s; 
}
.profile-photo-navbar:hover { 
    transform: scale(1.1); 
    box-shadow: 0 0 12px rgba(13,202,240,0.6); 
}
.card { 
    border-radius: 12px; 
    transition: transform 0.3s, box-shadow 0.3s; 
    cursor: pointer; 
    background: #fefefe; 
    border: 1px solid #e0e0e0;
    position: relative;
    overflow: hidden;
}
.card::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    background: linear-gradient(120deg, rgba(13,202,240,0.1), rgba(255,193,7,0.1), rgba(13,202,240,0.1));
    z-index: 0;
    transform: rotate(25deg);
    transition: all 0.5s ease;
}
.card:hover::before { transform: rotate(45deg); }
.card:hover { 
    transform: translateY(-6px) scale(1.03); 
    box-shadow: 0 10px 22px rgba(0,0,0,0.22); 
    z-index: 2;
}
.card-body { padding: 15px; position: relative; z-index: 1; }
.card-img-top { 
    width: 100%; 
    height: 180px; 
    object-fit: cover; 
    border-top-left-radius: 12px; 
    border-top-right-radius: 12px; 
}
.dashboard-header {
    background: linear-gradient(135deg,#0dcaf0,#ffc107);
    color: #fff;
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.carousel-item .card { transition: transform 0.3s, box-shadow 0.3s; }
.carousel-item .card:hover { transform: translateY(-8px) scale(1.03); box-shadow: 0 12px 25px rgba(0,0,0,0.25); }
#featuredCarousel .card {
    border-radius: 16px;
    overflow: hidden;
}
#featuredCarousel .card-img-top { height: 220px; object-fit: cover; }
#featuredCarousel .btn {
    border-radius: 50px;
    padding: 10px 28px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#featuredCarousel .btn:hover { transform: translateY(-3px); box-shadow: 0 6px 15px rgba(0,0,0,0.2); }
section.py-5 .card {
    border: none;
    background: linear-gradient(135deg, #ffffff, #f0f8ff);
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}
section.py-5 .card:hover { 
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    background: linear-gradient(135deg, #e0f7fa, #ffffff);
}
section.bg-primary.text-white {
    background: linear-gradient(270deg, #0d6efd, #0dcaf0, #ffc107);
    background-size: 600% 600%;
    animation: gradientShift 8s ease infinite;
    padding: 60px 20px;
    border-radius: 12px;
    text-align: center;
}
section.bg-primary.text-white h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    transition: color 0.3s;
}
section.bg-primary.text-white h2:hover { color: #ffc107; }
section.bg-primary.text-white a.btn {
    font-size: 1.1rem;
    padding: 12px 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
section.bg-primary.text-white a.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 100%, 100%;
    border-radius: 50%;
    background-color: rgba(13, 110, 253, 0.7);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(13, 110, 253, 0.9);
}
@media (max-width:768px) {
    .card-img-top { height: 160px; }
    section.bg-primary.text-white h2 { font-size: 1.6rem; }
    section.bg-primary.text-white a.btn { font-size: 1rem; padding: 10px 30px; }
    .container { padding: 20px; margin: 20px auto; }
}
.card {
    position: relative;
    z-index: 1;
}
.card::before {
    z-index: 0; 
    pointer-events: none;
}
.card form,
.card form * {
    position: relative;
    z-index: 2;
}
.container, .dashboard-wrapper {
    overflow: visible;
}
.navbar .dropdown-menu {
    position: absolute;
    z-index: 1050;
}

/* ===========================
   Minimal Professional Enhancements
=========================== */

/* Smooth hover for navbar links & dropdowns */
.nav-link, .dropdown-item {
    transition: background-color 0.2s, color 0.2s;
}

/* Footer social icon hover */
.footer-icon i {
    transition: transform 0.2s, color 0.2s;
}
.footer-icon:hover i {
    transform: scale(1.2);
    color: #0dcaf0;
}

/* Smooth fade-out for messages */
.message-fade.hide {
    opacity: 0;
    transition: opacity 0.5s;
}

/* Slight card shadow enhancement on hover (minimal) */
.card:hover {
    box-shadow: 0 12px 24px rgba(0,0,0,0.22);
}
