/* Global Styles */
:root {
    --primary-color: #2E7D32;
    --secondary-color: #4CAF50;
    --accent-color: #81C784;
    --text-color: #333;
    --light-text: #fff;
    --dark-bg: #1B5E20;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background: url('https://images.unsplash.com/photo-1502086223501-7ea6ecd79368?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80') no-repeat center center fixed;
    background-size: cover;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: -1;
}

/* Top Bar */
.top-bar {
    background-color: var(--dark-bg);
    color: var(--light-text);
    font-size: 0.9rem;
}

.top-bar a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-bar a:hover {
    color: var(--accent-color) !important;
}

/* Navigation */
.navbar {
    background-color: var(--primary-color);
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.nav-link {
    color: var(--light-text) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-color) !important;
    background-color: rgba(255,255,255,0.1);
    border-radius: 4px;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 400px);
    padding: 2rem 0;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.05) 0%, rgba(76, 175, 80, 0.03) 100%);
    position: relative;
}

.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(46,125,50,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: rgba(46, 125, 50, 0.3);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover::before {
    opacity: 1;
}

.card-header {
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: 10px 10px 0 0 !important;
}

/* Search and Filter Section */
.search-filter {
    background: rgba(46, 125, 50, 0.15) !important;
    backdrop-filter: blur(5px);

/* Animated Logo Styling */
.animated-logo {
    width: 60px;
    height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: logoDance 3s ease-in-out infinite;
    position: relative;
    z-index: 10000;
}

.animated-logo:hover {
    animation: logoSpin 1s linear infinite;
    transform: scale(1.1);
}

@keyframes logoDance {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-5px) rotate(5deg); }
    50% { transform: translateY(0) rotate(0deg); }
    75% { transform: translateY(-3px) rotate(-3deg); }
}

@keyframes logoSpin {
    0% { transform: translateX(0) scale(1.1); }
    25% { transform: translateX(-5px) scale(1.1); }
    50% { transform: translateX(0) scale(1.1); }
    75% { transform: translateX(5px) scale(1.1); }
    100% { transform: translateX(0) scale(1.1); }
}

/* Public Menu Styling */
.public-menu {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) scale(0.8) !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(15px) !important;
    border-radius: 16px !important;
    padding: 1.5rem !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
    border: 2px solid rgba(102, 126, 234, 0.3) !important;
    min-width: 280px !important;
    z-index: 99999 !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    max-height: 80vh !important;
    overflow-y: auto !important;
}

/* Admin Menu Items Styling */
.admin-menu-item {
    background: rgba(102, 126, 234, 0.05) !important;
    border-left: 3px solid #667eea !important;
    color: #667eea !important;
    font-weight: 600 !important;
}

.admin-menu-item:hover {
    background: rgba(102, 126, 234, 0.1) !important;
    color: #5a67d8 !important;
    transform: translateX(5px) !important;
}

.login-menu-item {
    background: rgba(40, 167, 69, 0.05) !important;
    border-left: 3px solid #28a745 !important;
    color: #28a745 !important;
    font-weight: 600 !important;
}

.login-menu-item:hover {
    background: rgba(40, 167, 69, 0.1) !important;
    color: #218838 !important;
    transform: translateX(5px) !important;
}

.public-menu.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translate(-50%, -50%) scale(1) !important;
    pointer-events: auto !important;
}

.public-menu-item {
    display: block !important;
    padding: 0.75rem 1rem !important;
    color: #333 !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    margin-bottom: 0.5rem !important;
    background: transparent !important;
    border: none !important;
    font-weight: 500 !important;
    font-size: 0.95rem !important;
}

.public-menu-item:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    transform: translateX(5px);
}

.public-menu-item:last-child {
    margin-bottom: 0;
}

.public-menu-item i {
    margin-right: 0.75rem !important;
    width: 16px !important;
    text-align: center !important;
}

/* Menu Backdrop Overlay */
.menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 999998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.menu-backdrop.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

@media (max-width: 768px) {
    .animated-logo {
        width: 50px;
        height: 50px;
    }

    .public-menu {
        min-width: 250px;
        padding: 1.25rem;
    }
}
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.9) 0%, rgba(76, 175, 80, 0.8) 100%);
    padding: 4rem 0;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

.hero-section .lead {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 500;
}

/* Species Grid */
.species-grid {
    background: rgba(46, 125, 50, 0.1);
}

/* Modal */
.modal-content {
    background: rgba(255, 255, 255, 0.98);
    border: none;
    border-radius: 15px;
}

.modal-header {
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: 15px 15px 0 0;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

/* Alerts */
.alert {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 10px;
}

/* Forms */
.form-control, .form-select {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(46, 125, 50, 0.2);
}

.form-control:focus, .form-select:focus {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(46, 125, 50, 0.25);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.4);
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.3);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0 0;
    margin-top: 3rem;
}

.footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.footer a {
    color: #e3f2fd;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer a:hover {
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.footer p {
    color: #e3f2fd;
    font-weight: 500;
}

.footer i {
    color: #fff;
    margin-right: 0.5rem;
}

.footer-bottom {
    background-color: rgba(0,0,0,0.2);
    padding: 1rem 0;
    margin-top: 2rem;
}

.social-links a {
    font-size: 1.2rem;
    margin-right: 1rem;
}

/* Tables */
.table {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
}

.table thead th {
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
}

/* Alerts */
.alert-success {
    background-color: #E8F5E9;
    border-color: #C8E6C9;
    color: var(--primary-color);
}

.alert-danger {
    background-color: #FFEBEE;
    border-color: #FFCDD2;
    color: #C62828;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .footer {
        text-align: center;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom .text-end {
        text-align: center !important;
        margin-top: 1rem;
    }
}

/* Species Detail Page Styles */
.species-detail {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    margin: 20px 0;
}

.species-detail .card {
    background-color: rgba(255, 255, 255, 0.95);
    transition: transform 0.3s ease;
}

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

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.info-item h5 {
    color: #2c5530;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.info-item p {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.description-section {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.description-section h5 {
    color: #2c5530;
    margin-bottom: 1rem;
}

.qr-section {
    background-color: rgba(44, 85, 48, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
}

.qr-section h5 {
    color: #2c5530;
    margin-bottom: 1rem;
}

.qr-code {
    background-color: white;
    padding: 1rem;
    border-radius: 10px;
    display: inline-block;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.related-species h3 {
    color: #2c5530;
    font-weight: 600;
}

.related-species .card {
    border: none;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.related-species .card-img-top {
    height: 200px;
    object-fit: cover;
}

.related-species .card-title {
    color: #2c5530;
    font-weight: 600;
}

.related-species .card-text {
    color: #666;
}

/* Faculty Photos */
.faculty-photo {
    position: relative;
    width: 100%;
    padding-top: 100%; /* Makes the container square */
    overflow: hidden;
    background-color: #f8f9fa;
    border-radius: 8px 8px 0 0;
}

.faculty-photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.faculty-photo:hover img {
    transform: scale(1.05);
}

.faculty-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faculty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.faculty-card .card-title {
    color: #2c3e50;
    font-weight: 600;
}

.faculty-card .card-text {
    color: #6c757d;
}

/* Faculty Card Styles */
.faculty-section .card,
.contact-section .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faculty-section .card:hover,
.contact-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.faculty-section .card-title,
.contact-section .card-title {
    color: #2c5530;
    font-weight: 600;
}

.faculty-section .card-text,
.contact-section .card-text {
    color: #666;
}

/* Section Titles and Content Styling */
.section-title {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Enhanced Card Styling for About and Contact Pages */
.faculty-card,
.contact-info {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.faculty-photo {
    position: relative;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}

.faculty-photo img {
    transition: transform 0.3s ease;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Contact Information Enhancement */
.contact-info p {
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(46, 125, 50, 0.1);
}

.contact-info p:last-child {
    border-bottom: none;
}

.contact-info i {
    width: 20px;
    text-align: center;
    margin-right: 0.75rem;
}

/* Login Page Styles */
.login-container {
    max-width: 320px;
    margin: 100px auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.login-container h2 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.login-container .form-label {
    color: var(--text-color);
    font-weight: 500;
}

.login-container .form-control {
    padding: 0.75rem;
    border-radius: 8px;
    border: 2px solid rgba(46, 125, 50, 0.2);
    transition: all 0.3s ease;
    max-width: 200px;
    margin: 0 auto;
    display: block;
}

.login-container .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(46, 125, 50, 0.15);
}

.login-container .btn-primary {
    padding: 0.75rem;
    font-weight: 500;
    border-radius: 8px;
    margin-top: 1rem;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.login-container .text-muted {
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: block;
}

.login-container .alert {
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.login-container a {
    color: var(--primary-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.login-container a:hover {
    color: var(--dark-bg);
}

@media (max-width: 576px) {
    .login-container {
        margin: 50px 20px;
        padding: 1.5rem;
    }
} 

/* Species Cards */
.species-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.species-card .card-img-top {
    height: 250px;
    object-fit: cover;
    width: 100%;
}

.species-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.species-card .card-text {
    flex: 1;
}

.species-card .btn {
    margin-top: auto;
}

/* Share Section */
.share-section {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 1.5rem;
}

.share-section h5 {
    color: #2c5530;
    margin-bottom: 1rem;
}

.share-section .btn-success {
    background-color: #25D366;
    border-color: #25D366;
    color: white;
    transition: all 0.3s ease;
}

.share-section .btn-success:hover {
    background-color: #128C7E;
    border-color: #128C7E;
    transform: translateY(-2px);
}

.share-section .btn-success i {
    margin-right: 8px;
}

/* Modal Footer */
.modal-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1rem;
}

.modal-footer .btn-success {
    background-color: #2E7D32;
    border-color: #2E7D32;
    transition: all 0.3s ease;
}

.modal-footer .btn-success:hover {
    background-color: #1B5E20;
    border-color: #1B5E20;
    transform: translateY(-2px);
}

.modal-footer .btn-success i {
    margin-right: 8px;
} 

/* Login Modal Styling */
#loginModal.modal {
    z-index: 99999 !important;
}

#loginModal .modal-backdrop {
    z-index: 99998 !important;
}

#loginModal .form-control {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 2px solid rgba(40, 167, 69, 0.3) !important;
    border-radius: 12px !important;
    padding: 1rem !important;
    font-size: 1.1rem !important;
    color: #2c3e50 !important;
    transition: all 0.3s ease !important;
}

#loginModal .form-control::placeholder {
    color: rgba(44, 62, 80, 0.6) !important;
}

#loginModal .form-control:focus {
    background: rgba(255, 255, 255, 1) !important;
    border-color: #28a745 !important;
    box-shadow: 0 0 0 0.3rem rgba(40, 167, 69, 0.25) !important;
    color: #2c3e50 !important;
}

#loginModal .btn-primary {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 1rem 2rem !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4) !important;
    transition: all 0.3s ease !important;
}

#loginModal .btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.6) !important;
}

#loginModal .btn-secondary {
    background: rgba(108, 117, 125, 0.1) !important;
    border: 2px solid rgba(108, 117, 125, 0.3) !important;
    border-radius: 12px !important;
    padding: 1rem 2rem !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    color: #6c757d !important;
    transition: all 0.3s ease !important;
}

#loginModal .btn-secondary:hover {
    background: rgba(108, 117, 125, 0.2) !important;
    border-color: rgba(108, 117, 125, 0.5) !important;
    transform: translateY(-2px) !important;
}

#loginModal .text-muted {
    color: rgba(40, 167, 69, 0.8) !important;
    font-size: 0.9rem !important;
}

#loginModal .alert-danger {
    background: rgba(220, 53, 69, 0.1) !important;
    border: 2px solid rgba(220, 53, 69, 0.3) !important;
    color: #dc3545 !important;
    border-radius: 12px !important;
}

.pin-input {
    letter-spacing: 0.5em;
    text-align: center;
    font-size: 1.5em;
    font-weight: 500;
}

.pin-input::placeholder {
    letter-spacing: normal;
}

.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

/* Enhanced mobile menu styles */
@media (max-width: 768px) {
    .public-menu {
        min-width: 250px !important;
        padding: 1.25rem !important;
        max-height: 70vh !important;
    }
    
    .public-menu-item {
        padding: 1rem !important;
        font-size: 1rem !important;
    }
    
    .animated-logo {
        width: 60px !important;
        height: 60px !important;
    }
}

@media (max-width: 576px) {
    .public-menu {
        min-width: 90vw !important;
        max-width: 90vw !important;
        padding: 1rem !important;
    }
    
    .public-menu-item {
        padding: 0.875rem !important;
        font-size: 0.95rem !important;
    }
} 

/* Navigation Hint Styling (Visible on all devices) */
.nav-hint {
    margin-top: 0.75rem;
    text-align: center;
    opacity: 0.7;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(102, 126, 234, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.nav-hint:hover {
    opacity: 1;
    background: rgba(102, 126, 234, 0.08);
    border-color: rgba(102, 126, 234, 0.2);
    transform: translateY(-1px);
}

.nav-hint small {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color: #667eea !important;
    letter-spacing: 0.3px;
}

.nav-hint i {
    color: #667eea;
    font-size: 1rem;
}

/* Enhanced header clickability */
.page-header {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(102, 126, 234, 0.03);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.page-header:hover::before {
    opacity: 1;
}

.page-header:active::before {
    opacity: 1;
    background: rgba(102, 126, 234, 0.08);
}

.page-header:active {
    transform: scale(0.99);
}

/* Professional styling for different screen sizes */
@media (max-width: 768px) {
    .nav-hint {
        margin-top: 0.5rem;
        padding: 0.4rem;
        background: rgba(102, 126, 234, 0.08);
        border-color: rgba(102, 126, 234, 0.15);
    }
    
    .nav-hint small {
        font-size: 0.85rem;
    }
    
    .nav-hint i {
        font-size: 0.9rem;
    }
    
    /* Touch feedback for mobile */
    .page-header:active .nav-hint {
        background: rgba(102, 126, 234, 0.12);
        border-color: rgba(102, 126, 234, 0.25);
        transform: translateY(-1px) scale(1.02);
    }
}

@media (max-width: 576px) {
    .nav-hint {
        margin-top: 0.4rem;
        padding: 0.35rem;
    }
    
    .nav-hint small {
        font-size: 0.8rem;
    }
    
    .nav-hint i {
        font-size: 0.85rem;
    }
} 