/* Maple Grand Aviary Club - Custom Styles */

:root {
    --mga-primary: #2c5530;
    --mga-secondary: #4a7c59;
    --mga-accent: #8fbc8f;
    --mga-light: #f8f9fa;
    --mga-dark: #1a1a1a;
    --mga-text: #333333;
    --mga-text-light: #666666;
    --mga-border: #e9ecef;
    --mga-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --mga-shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Override Bootstrap primary color */
.btn-primary {
    background-color: var(--mga-primary);
    border-color: var(--mga-primary);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--mga-secondary);
    border-color: var(--mga-secondary);
}

.btn-outline-primary {
    color: var(--mga-primary);
    border-color: var(--mga-primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--mga-primary);
    border-color: var(--mga-primary);
}

.text-primary {
    color: var(--mga-primary) !important;
}

.bg-primary {
    background-color: var(--mga-primary) !important;
}

.border-primary {
    border-color: var(--mga-primary) !important;
}

/* Global Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--mga-text);
}

.main-content {
    min-height: calc(100vh - 200px);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--mga-dark);
}

.display-1, .display-2, .display-3, .display-4 {
    font-weight: 700;
}

/* Navbar Styles */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--mga-accent) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--mga-shadow-lg);
    border-radius: 8px;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: var(--mga-shadow);
}

.card:hover {
    box-shadow: var(--mga-shadow-lg);
    transform: translateY(-2px);
}

.card-header {
    background-color: var(--mga-light);
    border-bottom: 1px solid var(--mga-border);
    font-weight: 600;
}

/* Button Styles */
.btn {
    font-weight: 500;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-secondary {
    background-color: var(--mga-accent);
    border-color: var(--mga-accent);
    color: white;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: var(--mga-secondary);
    border-color: var(--mga-secondary);
}

/* Form Styles */
.form-control,
.form-select {
    border-radius: 8px;
    border: 2px solid var(--mga-border);
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--mga-primary);
    box-shadow: 0 0 0 0.2rem rgba(44, 85, 48, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--mga-dark);
    margin-bottom: 0.5rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--mga-primary), var(--mga-secondary));
    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 20"><path d="M0 10L50 0L100 10L50 20Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 100px 20px;
    animation: wave 20s linear infinite;
}

@keyframes wave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100px); }
}

/* Section Styles */
section {
    padding: 4rem 0;
}

.section-title {
    position: relative;
    text-align: center;
    margin-bottom: 3rem;
}

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

/* Stats Cards */
.stat-card .card {
    height: 100%;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.stat-card .card:hover {
    border-color: var(--mga-primary);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
}

.stat-icon i {
    font-size: 3rem;
    opacity: 0.8;
}

/* Event and Blog Cards */
.event-card .card,
.blog-card .card {
    height: 100%;
    overflow: hidden;
}

.event-card .card-img-top,
.blog-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-card:hover .card-img-top,
.blog-card:hover .card-img-top {
    transform: scale(1.05);
}

.event-date,
.post-meta {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Footer */
footer {
    background: var(--footer-gradient, linear-gradient(135deg, var(--mga-dark), #2a2a2a));
    color: white;
}

footer h1, footer h2, footer h3, footer h4, footer h5, footer h6,
footer p, footer span, footer div, footer a {
    color: white !important;
}

footer .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

footer .social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    color: white !important;
}

footer .social-links a:hover {
    background: var(--mga-primary);
    transform: translateY(-2px);
    color: white !important;
}

.text-light-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

.text-light-50:hover {
    color: rgba(255, 255, 255, 1) !important;
}

/* Admin Styles */
.admin-sidebar {
    background: var(--mga-dark);
    min-height: 100vh;
}

.admin-nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1rem;
    display: block;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 0.25rem;
    transition: all 0.3s ease;
}

.admin-nav-link:hover,
.admin-nav-link.active {
    background: var(--mga-primary);
    color: white;
}

.admin-nav-link i {
    width: 20px;
    margin-right: 0.5rem;
}

/* Data Tables */
.table {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--mga-shadow);
}

.table thead th {
    background: var(--mga-light);
    border: none;
    font-weight: 600;
    color: var(--mga-dark);
}

.table tbody tr:hover {
    background: rgba(44, 85, 48, 0.05);
}

/* Alerts */
.alert {
    border: none;
    border-radius: 8px;
    padding: 1rem 1.5rem;
}

.alert-success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    color: #856404;
}

.alert-info {
    background: linear-gradient(135deg, #d1ecf1, #bee5eb);
    color: #0c5460;
}

/* Progress Bars */
.progress {
    height: 10px;
    border-radius: 5px;
    background: var(--mga-border);
}

.progress-bar {
    background: linear-gradient(90deg, var(--mga-primary), var(--mga-accent));
}

/* Modal Styles */
.modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: var(--mga-shadow-lg);
}

.modal-header {
    background: var(--mga-light);
    border-bottom: 1px solid var(--mga-border);
}

/* Loading Spinner */
.spinner-border-primary {
    color: var(--mga-primary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .navbar-nav {
        padding-top: 1rem;
    }
    
    .dropdown-menu {
        border-radius: 0;
        box-shadow: none;
        border-top: 1px solid var(--mga-border);
    }
}

@media (max-width: 576px) {
    section {
        padding: 2.5rem 0;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    footer,
    .btn,
    .admin-sidebar {
        display: none !important;
    }
    
    .main-content {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Utility Classes */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.backdrop-blur {
    backdrop-filter: blur(10px);
}

.gradient-bg {
    background: linear-gradient(135deg, var(--mga-primary), var(--mga-secondary));
}

.min-vh-75 {
    min-height: 75vh;
}

.border-mga {
    border-color: var(--mga-primary) !important;
}

.shadow-mga {
    box-shadow: var(--mga-shadow) !important;
}

.shadow-mga-lg {
    box-shadow: var(--mga-shadow-lg) !important;
}

/* Enhanced Event Styles */
.event-hero {
    background: linear-gradient(135deg, var(--mga-primary) 0%, var(--mga-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.event-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.event-card-enhanced {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.event-card-enhanced:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.event-card-enhanced .card-img-overlay {
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.event-card-enhanced:hover .card-img-overlay {
    opacity: 1;
}

.event-status-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.event-quick-action {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.event-card-enhanced:hover .event-quick-action {
    opacity: 1;
    transform: translateY(0);
}

.event-meta-info {
    background: rgba(var(--mga-primary), 0.05);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.event-meta-info .meta-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.event-meta-info .meta-item:last-child {
    margin-bottom: 0;
}

.event-meta-info .meta-icon {
    width: 20px;
    margin-right: 0.75rem;
    color: var(--mga-primary);
}

.event-attendee-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mga-primary), var(--mga-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 0.5rem;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.event-share-buttons .btn {
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.event-share-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.event-timeline {
    position: relative;
    padding-left: 2rem;
}

.event-timeline::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--mga-primary), var(--mga-accent));
}

.event-timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.event-timeline-item::before {
    content: '';
    position: absolute;
    left: -0.5rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--mga-primary);
    border: 3px solid white;
    box-shadow: 0 0 0 3px rgba(var(--mga-primary), 0.2);
}

.rsvp-card {
    position: sticky;
    top: 120px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--mga-shadow-lg);
    overflow: hidden;
    z-index: 5;
}

.rsvp-card-header {
    background: linear-gradient(135deg, var(--mga-primary), var(--mga-secondary));
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.rsvp-status-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.rsvp-status-success .status-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: bounce 1s ease-out;
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% { transform: translate3d(0,0,0); }
    40%, 43% { transform: translate3d(0,-20px,0); }
    70% { transform: translate3d(0,-10px,0); }
    90% { transform: translate3d(0,-4px,0); }
}

.event-filters {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: var(--mga-shadow);
    margin-bottom: 2rem;
}

.filter-btn-group .btn {
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    margin-right: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn-group .btn.active {
    background: linear-gradient(135deg, var(--mga-primary), var(--mga-secondary));
    border-color: var(--mga-primary);
    color: white;
    transform: scale(1.05);
}

.event-grid-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.event-grid-item:nth-child(1) { animation-delay: 0.1s; }
.event-grid-item:nth-child(2) { animation-delay: 0.2s; }
.event-grid-item:nth-child(3) { animation-delay: 0.3s; }
.event-grid-item:nth-child(4) { animation-delay: 0.4s; }
.event-grid-item:nth-child(5) { animation-delay: 0.5s; }
.event-grid-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.event-no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--mga-text-light);
}

.event-no-results .no-results-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.5;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.event-cta-section {
    background: linear-gradient(135deg, var(--mga-light) 0%, rgba(var(--mga-accent), 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.event-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(var(--mga-primary), 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-card-animated {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cta-card-animated::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.cta-card-animated:hover::before {
    left: 100%;
}

.cta-card-animated:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
} 

/* Modern Shop and Dashboard Styles - Colors now controlled by admin settings */

/* Global layout fixes */
.main-content {
    min-height: calc(100vh - 120px);
    position: relative;
    z-index: 1;
    margin-bottom: 4rem;
    padding-bottom: 3rem;
}

/* Prevent content overflow into footer */
body {
    overflow-x: hidden;
}

.container {
    max-width: 100%;
}

.sticky-sidebar-element {
    top: 120px !important;
    z-index: 10;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
}

/* Ensure sections don't overlap */
section {
    position: relative;
    z-index: 1;
}

.hero-modern {
    background: var(--primary-gradient);
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
    margin-bottom: 0;
    z-index: 2;
}

.hero-modern::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 1000 100" preserveAspectRatio="none" fill="%23ffffff" opacity="0.1"><polygon points="1000,100 1000,0 0,100"/></svg>');
    background-size: 100% 100%;
}

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

.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 1rem 1.5rem;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: none;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.product-price {
    background: var(--primary-gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-weight: bold;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.product-content {
    padding: 1.5rem;
}

.btn-primary-modern {
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
}

.filter-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.form-control-modern {
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control-modern:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    outline: none;
}

.cart-badge {
    background: var(--secondary-gradient);
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    position: absolute;
    top: -10px;
    right: -10px;
}

.pagination-modern .page-link {
    border-radius: 15px;
    margin: 0 2px;
    border: none;
    padding: 10px 15px;
    color: #667eea;
}

.pagination-modern .page-item.active .page-link {
    background: var(--primary-gradient);
    border: none;
}

.quick-stats {
    background: var(--cool-gradient);
    border-radius: 15px;
    padding: 1rem;
    text-align: center;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #6c757d;
}

.category-chip {
    display: inline-block;
    background: var(--accent-gradient);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

/* Dashboard Modern Styles */
.dashboard-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: none;
}

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

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.stat-icon.events {
    background: var(--primary-gradient);
}

.stat-icon.donations {
    background: var(--success-gradient);
}

.stat-icon.orders {
    background: var(--accent-gradient);
}

.stat-icon.level {
    background: var(--warm-gradient);
}

.quick-action-btn {
    border-radius: 15px;
    padding: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

.quick-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: var(--cool-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.section-header {
    background: var(--cool-gradient);
    padding: 1rem 1.5rem;
    border-radius: 15px 15px 0 0;
    border: none;
}

.table-modern {
    border-radius: 0 0 15px 15px;
    overflow: hidden;
}

.table-modern tbody tr:hover {
    background-color: #f8f9fa;
}

/* Cart Styles */
.cart-item {
    padding: 1.5rem;
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.cart-item:hover {
    background-color: rgba(108, 117, 125, 0.02);
}

.cart-item.border-bottom {
    border-bottom: 1px solid var(--mga-border) !important;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    position: relative;
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.placeholder-image {
    width: 80px;
    height: 80px;
    background-color: var(--mga-light);
    color: var(--mga-text-light);
    font-size: 1.5rem;
}

.category-chip-small {
    display: inline-block;
    background: linear-gradient(135deg, var(--mga-primary), var(--mga-secondary));
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hover-primary:hover {
    color: var(--mga-primary) !important;
}

.quantity-controls {
    min-width: 140px;
}

.quantity-input-group {
    width: 120px;
}

.quantity-input-group .form-control {
    padding: 0.375rem 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.quantity-btn {
    padding: 0.375rem 0.5rem;
    border-radius: 0;
    font-size: 0.75rem;
}

.quantity-btn:first-child {
    border-radius: 6px 0 0 6px;
}

.quantity-btn:last-child {
    border-radius: 0 6px 6px 0;
}

.cart-item-total {
    min-width: 100px;
}

.remove-item-btn {
    padding: 0.375rem 0.5rem;
    font-size: 0.875rem;
}

.order-summary {
    background-color: rgba(248, 249, 250, 0.5);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.summary-line:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: var(--mga-text-light);
}

.benefit-item i {
    width: 20px;
    flex-shrink: 0;
}

.empty-cart {
    padding: 4rem 2rem;
}

.empty-cart-icon {
    margin-bottom: 2rem;
}

.empty-cart-icon i {
    font-size: 5rem;
    color: var(--mga-border);
    opacity: 0.7;
}

/* Cart Animation Effects */
.cart-item {
    animation: fadeInUp 0.5s ease;
}

.cart-item:nth-child(1) { animation-delay: 0.1s; }
.cart-item:nth-child(2) { animation-delay: 0.2s; }
.cart-item:nth-child(3) { animation-delay: 0.3s; }
.cart-item:nth-child(4) { animation-delay: 0.4s; }
.cart-item:nth-child(5) { animation-delay: 0.5s; }

/* Responsive Cart Styles */
@media (max-width: 992px) {
    .quantity-controls {
        min-width: 120px;
    }
    
    .quantity-input-group {
        width: 100px;
    }
    
    .cart-item-total {
        min-width: 80px;
    }
}

@media (max-width: 768px) {
    .cart-item {
    padding: 1rem;
    }
    
    .cart-item-image {
        width: 60px;
        height: 60px;
    }
    
    .placeholder-image {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
    
    .quantity-controls {
        min-width: 100px;
        margin-top: 0.5rem;
    }
    
    .quantity-input-group {
        width: 90px;
    }
    
    .quantity-input-group .form-control {
        padding: 0.25rem;
        font-size: 0.8rem;
    }
    
    .quantity-btn {
        padding: 0.25rem 0.375rem;
        font-size: 0.7rem;
    }
    
    .cart-item-total {
        min-width: 70px;
        margin-top: 0.5rem;
    }
    
    .order-summary {
        padding: 1rem;
    }
    
    .summary-line {
        padding: 0.5rem 0;
        font-size: 0.875rem;
    }
}

@media (max-width: 576px) {
    .hero-modern .display-5 {
        font-size: 1.8rem;
    }
    
    .empty-cart {
        padding: 2rem 1rem;
    }
    
    .empty-cart-icon i {
        font-size: 3.5rem;
    }
}

/* Checkout Styles */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-method-btn {
    padding: 1.5rem;
    border-radius: 15px;
    text-align: left;
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
    width: 100%;
    position: relative;
}

.payment-method-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.btn-check:checked + .payment-method-btn {
    background: linear-gradient(135deg, var(--mga-primary), var(--mga-secondary));
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.btn-check:checked + .payment-method-btn .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

.order-items {
    margin-bottom: 1.5rem;
}

.order-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--mga-border);
}

.order-item:last-child {
    border-bottom: none;
}

.order-item-image {
    width: 60px;
    height: 60px;
    position: relative;
    overflow: hidden;
}

.order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-image-small {
    width: 60px;
    height: 60px;
    background-color: var(--mga-light);
    color: var(--mga-text-light);
    font-size: 1.2rem;
}

.order-totals {
    background-color: rgba(248, 249, 250, 0.8);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.summary-line:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.total-line {
    border-top: 2px solid var(--mga-primary);
    padding-top: 1rem;
    margin-top: 0.5rem;
}

.security-badges {
    padding: 1rem 0;
}

.security-badge {
    text-align: center;
    padding: 0.5rem;
    background-color: var(--mga-light);
    border-radius: 8px;
    color: var(--mga-text-light);
}

.security-badge i {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.mission-card {
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.8), rgba(233, 236, 239, 0.5));
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--mga-primary);
}

.checkout-btn {
    font-size: 1.1rem;
    padding: 0.875rem 1.5rem;
}

.form-control-modern {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.form-control-modern:focus {
    border-color: var(--mga-primary);
    box-shadow: 0 0 0 0.2rem rgba(44, 85, 48, 0.25);
    background-color: white;
    transform: translateY(-1px);
}

.form-control-modern.is-invalid {
    border-color: #dc3545;
    background-color: #fff5f5;
}

.form-control-modern.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Responsive Checkout Styles */
@media (max-width: 768px) {
    .payment-method-btn {
        padding: 1rem;
    }
    
    .order-item-image {
        width: 50px;
        height: 50px;
    }
    
    .placeholder-image-small {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .order-totals {
        padding: 1rem;
    }
    
    .summary-line {
        padding: 0.375rem 0;
        font-size: 0.9rem;
    }
    
    .mission-card {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .payment-methods {
        gap: 0.75rem;
    }
    
    .payment-method-btn {
        padding: 0.75rem;
    }
    
    .security-badges {
        padding: 0.75rem 0;
    }
    
    .security-badge {
        padding: 0.375rem;
    }
    
    .security-badge i {
        font-size: 1rem;
    }
}

/* ========================================
   MODERN HEADER & NAVIGATION STYLES
   ======================================== */

/* Modern Navbar */
.navbar-modern {
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(44, 85, 48, 0.1);
    transition: all 0.3s ease;
}

.navbar-modern.scrolled {
    background: var(--primary-gradient) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.navbar-modern.scrolled .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-modern.scrolled .navbar-nav .nav-link:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.1);
}

.navbar-modern.scrolled .navbar-nav .nav-link i {
    color: rgba(255, 255, 255, 0.8);
}

.navbar-modern.scrolled .navbar-nav .nav-link:hover i {
    color: white;
}

.navbar-modern.scrolled .navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

/* Modern Brand */
.navbar-brand-modern {
    text-decoration: none;
    transition: transform 0.3s ease;
}

.navbar-brand-modern:hover {
    transform: scale(1.02);
    text-decoration: none;
}

.brand-logo-container {
    /* Background styling removed as requested */
}

.brand-logo {
    /* Logo filter removed to show original colors */
}

/* Modern Toggle Button */
.navbar-toggler-modern {
    border: none;
    padding: 8px;
    background: transparent;
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-toggler-modern:hover {
    background: rgba(44, 85, 48, 0.1);
}

.navbar-toggler-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--mga-primary);
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.navbar-toggler-modern[aria-expanded="true"] .navbar-toggler-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggler-modern[aria-expanded="true"] .navbar-toggler-line:nth-child(2) {
    opacity: 0;
}

.navbar-toggler-modern[aria-expanded="true"] .navbar-toggler-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Modern Navigation Menu */
.navbar-nav-modern {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.navbar-nav-right {
    margin-left: auto;
}

.nav-item-modern {
    position: relative;
}

.nav-link-modern {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.75rem 1rem;
    color: var(--mga-text);
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link-modern:hover {
    background: rgba(44, 85, 48, 0.05);
    color: var(--mga-primary) !important;
    transform: translateY(-1px);
}

.nav-link-modern i {
    font-size: 0.9rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.nav-link-modern:hover i,
.nav-link-modern i.animate {
    opacity: 1;
    transform: scale(1.1);
}

/* CTA Button in Navigation */
.nav-link-modern.btn-cta {
    background: linear-gradient(135deg, var(--mga-primary), var(--mga-secondary));
    color: white !important;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(44, 85, 48, 0.3);
}

.nav-link-modern.btn-cta:hover {
    background: linear-gradient(135deg, var(--mga-secondary), var(--mga-primary));
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 85, 48, 0.4);
}

/* Cart Link Styling */
.cart-link {
    position: relative;
}

.cart-icon-container {
    position: relative;
    display: flex;
    align-items: center;
}

.cart-badge-modern {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #ff4757, #ff3742);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

/* User Dropdown */
.user-dropdown .user-link {
    border: 1px solid rgba(44, 85, 48, 0.2);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mga-primary), var(--mga-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.user-name {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Modern Dropdown Menus */
.dropdown-menu-modern {
    background: white;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.dropdown-item {
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 2px;
}

.dropdown-item:hover {
    background: rgba(44, 85, 48, 0.05);
    color: var(--mga-primary);
    transform: translateX(2px);
}

.dropdown-item i {
    width: 18px;
    text-align: center;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.dropdown-item:hover i {
    opacity: 1;
    transform: scale(1.1);
}

.dropdown-divider-modern {
    margin: 0.5rem 0;
    border-top: 1px solid rgba(44, 85, 48, 0.1);
}

.logout-link {
    color: #dc3545 !important;
}

.logout-link:hover {
    background: rgba(220, 53, 69, 0.05) !important;
    color: #dc3545 !important;
}

/* Mobile Navigation */
@media (max-width: 991px) {
    .navbar-nav-modern {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(44, 85, 48, 0.1);
    }
    
    .navbar-nav-right {
        margin-left: 0;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(44, 85, 48, 0.1);
    }
    
    .nav-link-modern {
        padding: 1rem;
        justify-content: flex-start;
    }
    
    .dropdown-menu-modern {
        position: static;
        display: block;
        box-shadow: none;
        background: rgba(44, 85, 48, 0.02);
        margin: 0.5rem 0 0 1rem;
        border-left: 2px solid var(--mga-primary);
    }
    
    .user-name {
        max-width: none;
    }
}

/* ========================================
   MODERN FOOTER STYLES
   ======================================== */

.footer-modern {
    background: var(--primary-gradient);
    position: relative;
}

.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

/* Footer styling handled in enhanced section */

.social-links-modern {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: var(--accent-gradient);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-section {
    margin-bottom: 2rem;
}

.footer-title {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(135deg, var(--mga-primary), var(--mga-secondary));
    border-radius: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #b8b8b8;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: block;
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1px;
    background: var(--mga-primary);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 15px;
}

.footer-links a:hover::before {
    width: 10px;
}

.contact-info-modern {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    color: #b8b8b8;
    font-size: 0.95rem;
}

.contact-item i {
    width: 18px;
    text-align: center;
    color: var(--mga-accent);
    font-size: 1rem;
}

.newsletter-signup {
    margin-top: 2rem;
}

.newsletter-title {
    color: white;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.newsletter-description {
    color: #b8b8b8;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.newsletter-form .input-group {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.newsletter-input {
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: var(--mga-text);
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    border-radius: 0;
}

.newsletter-input:focus {
    box-shadow: none;
    background: white;
    border-color: transparent;
}

.newsletter-input::placeholder {
    color: #999;
}

.btn-newsletter {
    background: var(--accent-gradient);
    border: none;
    color: white;
    padding: 0.75rem 1.25rem;
    transition: all 0.3s ease;
    border-radius: 0;
}

.btn-newsletter:hover {
    background: var(--success-gradient);
    transform: scale(1.05);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright-text {
    color: #b8b8b8;
    margin: 0;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
    align-items: center;
}

.footer-bottom-link {
    color: #b8b8b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-link:hover {
    color: var(--mga-accent);
}

@media (max-width: 768px) {
    .footer-main {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-brand {
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .social-links-modern {
        justify-content: center;
    }
    
    .footer-section {
        text-align: center;
        margin-bottom: 2.5rem;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .newsletter-form {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 1rem;
        justify-content: center;
        margin-top: 1rem;
    }
    
    .footer-bottom .row {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .footer-main {
        padding: 2rem 0 1rem;
    }
    
    .footer-brand-name {
        font-size: 1.1rem;
    }
    
    .footer-description {
        font-size: 0.9rem;
    }
    
    .contact-item {
        font-size: 0.9rem;
        justify-content: center;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
}

/* Animation for navbar items on load */
.nav-item-modern {
    animation: slideInDown 0.6s ease forwards;
    opacity: 0;
}

.nav-item-modern:nth-child(1) { animation-delay: 0.1s; }
.nav-item-modern:nth-child(2) { animation-delay: 0.2s; }
.nav-item-modern:nth-child(3) { animation-delay: 0.3s; }
.nav-item-modern:nth-child(4) { animation-delay: 0.4s; }
.nav-item-modern:nth-child(5) { animation-delay: 0.5s; }
.nav-item-modern:nth-child(6) { animation-delay: 0.6s; }
.nav-item-modern:nth-child(7) { animation-delay: 0.7s; }
.nav-item-modern:nth-child(8) { animation-delay: 0.8s; }

@keyframes slideInDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Additional Animation Classes */
.bounce-in {
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.show-animate {
    animation: fadeInScale 0.3s ease forwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Loading states for buttons */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    color: white;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Smooth Scroll Effect */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Focus States for Accessibility */
.navbar-nav .nav-link:focus,
.dropdown-item:focus,
.footer-modern a:focus {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

/* Loading Animation for Newsletter */
.newsletter-form .btn.loading {
    position: relative;
    color: transparent !important;
}

.newsletter-form .btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Join Us Button Enhancement */
.navbar-nav .btn-primary {
    font-weight: 600;
    background: var(--accent-gradient);
    border: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.navbar-nav .btn-primary:hover {
    background: var(--success-gradient);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Fade-in animation for page load */
.navbar-modern {
    animation: fadeInDown 0.6s ease;
}

.footer-modern {
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
