/* Homepage Visual Enhancements */

.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bs-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
}

.object-fit-cover {
    object-fit: cover;
}

/* Smooth transitions for cards */
.card {
    transition: transform 0.2s ease-in-out;
}

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

/* Feature card image overlays */
.feature-card-overlay {
    background: linear-gradient(45deg, rgba(var(--bs-primary-rgb), 0.8), rgba(var(--bs-primary-rgb), 0.6));
}

/* Hero section responsiveness */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
}

/* Professional image styling */
.professional-image {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Card image heights consistency */
.card-img-top {
    border-top-left-radius: calc(var(--bs-border-radius) - 1px);
    border-top-right-radius: calc(var(--bs-border-radius) - 1px);
}

/* Enhanced testimonial styling */
.testimonial-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.testimonial-card .card-body {
    background: #ffffff;
    color: #212529;
}

.testimonial-card h5 {
    color: #212529 !important;
    font-weight: 700;
}

.testimonial-card .text-muted {
    color: #6c757d !important;
}

.testimonial-image {
    filter: brightness(0.9) contrast(1.1);
}

/* Better contrast for light sections */
.bg-light {
    background-color: #f8f9fa !important;
}

.bg-light .card {
    background: #ffffff;
    color: #212529;
}

.bg-light h2,
.bg-light h3,
.bg-light .fw-bold {
    color: #212529 !important;
}

.bg-light .lead,
.bg-light p {
    color: #495057 !important;
}

/* Authentication Pages Enhanced Styling */
.auth-container {
    min-height: 100vh;
}

.auth-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.auth-image-side {
    min-height: 500px;
}

.auth-form-side {
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Login page specific styling */
.auth-form-side .form-control {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.auth-form-side .form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.auth-form-side .btn-primary {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Register page form styling */
.auth-container .form-control,
.auth-container .form-select {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    border: 2px solid #e9ecef;
    color: #212529;
    background-color: #ffffff;
}

.auth-container .form-control:focus,
.auth-container .form-select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
    color: #212529;
}

.auth-container .form-label {
    color: #495057;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.auth-container .btn-primary {
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.auth-container .form-section h5 {
    color: #212529;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

/* Mobile responsiveness for auth pages */
@media (max-width: 991.98px) {
    .auth-hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .auth-image-side {
        display: none !important;
    }
    
    .auth-form-side {
        min-height: auto;
        padding: 2rem 1.5rem !important;
    }
}

/* Enhanced card shadows */
.auth-container .card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

.auth-container .shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* Dashboard Enhancements */
.dashboard-card-enhanced {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border: none;
    border-radius: 12px;
}

.dashboard-card-enhanced:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.dashboard-stats-card {
    border-radius: 12px;
    transition: transform 0.2s ease-in-out;
}

.dashboard-stats-card:hover {
    transform: translateY(-3px);
}

.dashboard-stats-card .card-body {
    padding: 1.5rem;
}

.dashboard-feature-icon {
    font-size: 1.2rem;
    margin-right: 8px;
}

/* Quick Access Positioning Adjustment */
.quick-access-fab {
    bottom: 100px !important;
}

/* Feedback Button Positioning */
.feedback-button {
    bottom: 20px !important;
    z-index: 1001;
}

/* Dashboard welcome message enhancement */
.alert-info {
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    color: #0c5460;
}