/* Enhanced Root Variables for Better Color Scheme */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --accent-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --dark-gradient: linear-gradient(135deg, #434343 0%, #000000 100%);
    --warm-gradient: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --cool-gradient: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #43e97b;
    --warning-color: #fee140;
    --danger-color: #f5576c;
    --success-color: #00f2fe;
    
    --text-dark: #2c3e50;
    --text-light: #718096;
    --text-muted: #a0aec0;
    
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.2);
    
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Enhanced Navbar */
.navbar {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    padding: 1rem 0;
    position: relative;
    z-index: 1060 !important;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    z-index: 10;
}

/* Ensure navbar dropdown container has proper z-index */
.navbar .dropdown {
    position: relative;
    z-index: 1070;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.8rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-brand:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.navbar-brand::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -10px;
    right: -10px;
    bottom: -5px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: var(--border-radius-md);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.navbar-brand:hover::after {
    opacity: 1;
}

.navbar-nav {
    gap: 0.5rem;
}

.nav-link {
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    color: var(--text-dark) !important;
    padding: 0.75rem 1.25rem !important;
    border-radius: var(--border-radius-md);
    background: transparent;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background: rgba(102, 126, 234, 0.05);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 1px;
}

.nav-link:hover::after {
    width: 60%;
}

.nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
    background: rgba(102, 126, 234, 0.1);
}

.nav-link.active::after {
    width: 60%;
}

/* Enhanced Auth Buttons */
#user-auth .btn {
    border-radius: var(--border-radius-lg);
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#user-auth .btn-primary {
    background: var(--primary-gradient);
    border: none;
    color: white;
}

#user-auth .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

#user-auth .btn-primary:hover::before {
    left: 100%;
}

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

#user-auth .btn-secondary {
    background: rgba(118, 75, 162, 0.1);
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

#user-auth .btn-secondary:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(118, 75, 162, 0.4);
}

/* Enhanced Cart Icon */
#cart-icon .btn {
    background: linear-gradient(135deg, rgba(67, 233, 123, 0.1) 0%, rgba(56, 249, 215, 0.1) 100%);
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    border-radius: var(--border-radius-lg);
    padding: 0.6rem 1.25rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

#cart-icon .btn:hover {
    background: var(--accent-gradient);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(67, 233, 123, 0.4);
}

#cart-count {
    background: var(--danger-color);
    color: white;
    border-radius: 50%;
    padding: 0.2rem 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Mobile Navbar Enhancements */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    border-radius: var(--border-radius-md);
    background: rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: scale(1.05);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.dropdown-item:hover {
    background-color: rgba(102, 126, 234, 0.1) !important;
    color: var(--primary-color) !important;
}

/* Navbar Dropdown Enhancements */
.navbar .dropdown-menu {
    z-index: 1070 !important;
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border-radius: 0.5rem;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    min-width: 200px;
    position: absolute !important;
}

.navbar .dropdown-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    color: var(--primary-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.navbar .dropdown-toggle:hover,
.navbar .dropdown-toggle:focus,
.navbar .dropdown-toggle.show {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 0.25rem 0.75rem rgba(102, 126, 234, 0.3);
}

.navbar .dropdown-item {
    padding: 0.75rem 1rem;
    font-weight: 500;
    color: var(--dark-color);
    transition: all 0.3s ease;
    border-radius: 0.25rem;
    margin: 0.25rem;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    background: var(--primary-gradient);
    color: white;
    transform: translateX(5px);
}

.navbar .dropdown-item i {
    width: 20px;
    text-align: center;
}

.navbar .dropdown-divider {
    margin: 0.5rem 0;
    border-color: rgba(102, 126, 234, 0.2);
}

/* Global dropdown positioning fixes */
.dropdown-menu.show {
    z-index: 1070 !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    transform: none !important;
}

/* Ensure navbar has proper stacking context */
header {
    position: relative;
    z-index: 1060;
}

/* Override Bootstrap z-index for specific scenarios */
.navbar-nav .dropdown-menu {
    z-index: 1070 !important;
    position: absolute !important;
}

/* Additional dropdown positioning fixes */
.dropdown-menu-end {
    right: 0 !important;
    left: auto !important;
}

/* Fix dropdown positioning on all pages */
.navbar .dropdown-menu,
.dropdown-menu.show,
.navbar-nav .nav-item .dropdown-menu {
    z-index: 1070 !important;
    position: absolute !important;
    top: 100% !important;
    will-change: transform;
}

/* Ensure hero section doesn't interfere */
.hero-section {
    z-index: 1;
}

/* Notification Styles */
.alert.position-fixed {
    animation: slideInRight 0.3s ease-out;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border: none;
    backdrop-filter: blur(10px);
}

.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
    border-left: 4px solid #ffc107;
}

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

/* Hero Section */
.hero-section {
    background: var(--primary-gradient);
    color: white;
    min-height: 80vh;
    display: flex;
    align-items: center;
    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 1000 1000"><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.5;
}

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

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 16px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-content .lead {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-stats {
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 1s ease-out 0.4s both;
    margin-bottom: 2rem;
}

.hero-stats h3 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-buttons .btn {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    margin: 0.5rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.hero-buttons .btn-primary {
    background: var(--accent-gradient);
    border: none;
    color: white;
    box-shadow: var(--shadow-lg);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.hero-buttons .btn-outline-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    backdrop-filter: blur(10px);
}

.hero-buttons .btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.hero-image {
    animation: fadeInRight 1s ease-out 0.3s both;
}

.hero-image img {
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.02) rotate(1deg);
}

/* Enhanced Features Section */
#features {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

#features::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(102,126,234,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.feature-card::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.6s ease;
}

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

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    background: rgba(255, 255, 255, 0.95);
}

.feature-icon {
    position: relative;
    z-index: 2;
}

.feature-icon i {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon i {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h5 {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Enhanced Product Cards */
.card {
    border: none;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

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

.card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: var(--shadow-xl);
    background: white;
}

.card-img-top {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 200px;
    object-fit: cover;
    position: relative;
    z-index: 2;
}

.card:hover .card-img-top {
    transform: scale(1.08);
}

.card-body {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
}

.card-title {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.card-text {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.btn {
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-gradient);
    border: none;
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--accent-gradient);
}

.btn-success {
    background: var(--accent-gradient);
    border: none;
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--success-gradient);
}

/* Enhanced Testimonials Section */
#testimonials {
    background: var(--cool-gradient);
    position: relative;
    overflow: hidden;
}

#testimonials::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="waves" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M0,25 Q12.5,10 25,25 T50,25" stroke="rgba(255,255,255,0.1)" stroke-width="1" fill="none"/></pattern></defs><rect width="100%" height="100%" fill="url(%23waves)"/></svg>');
}

.testimonial-card .card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card .card:hover {
    transform: translateY(-8px) rotate(1deg);
    background: white;
    box-shadow: var(--shadow-xl);
}

.testimonial-card .rating {
    font-size: 1.5rem;
    color: #ffd700;
    text-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
}

.customer-info h6 {
    color: var(--text-dark);
    font-weight: 700;
}

/* Enhanced Solutions Section */
.solutions-section {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 50%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.solutions-background {
    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.5" fill="rgba(99,102,241,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
    opacity: 0.7;
}

.solutions-header {
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.solutions-title .text-gradient {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.solutions-title .highlight-text {
    color: #059669;
    position: relative;
}

.solutions-title .highlight-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #34d399, #10b981);
    border-radius: 2px;
}

.solutions-stats {
    margin-top: 2rem;
}

.solutions-stats .stat-item {
    text-align: center;
    padding: 0 1rem;
}

.solutions-stats .stat-item h5 {
    font-weight: 800;
    font-size: 1.25rem;
}

.premium-pricing-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(99, 102, 241, 0.1);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.1);
    height: 100%;
}

.premium-pricing-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.2);
}

.featured-card {
    transform: scale(1.05);
    border: 2px solid #fbbf24;
    box-shadow: 0 20px 40px rgba(251, 191, 36, 0.2);
}

.featured-card:hover {
    transform: scale(1.05) translateY(-15px);
}

.popular-ribbon {
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    color: white;
    padding: 8px 40px;
    transform: rotate(45deg);
    font-weight: 700;
    font-size: 0.75rem;
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.pricing-header {
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.starter-header {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
}

.premium-header {
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
}

.elite-header {
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    color: white;
}

.package-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
}

.package-icon i {
    font-size: 1.5rem;
    color: white;
}

.package-name {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.price-container {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin: 1rem 0;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    opacity: 0.8;
}

.price {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
}

.period {
    font-size: 1rem;
    opacity: 0.7;
    font-weight: 500;
}

.package-description {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.savings-badge {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-block;
}

.pricing-body {
    padding: 1.5rem;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: #f8fafc;
    padding-left: 0.5rem;
    border-radius: 8px;
}

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

.feature-check {
    color: #10b981;
    font-size: 1.1rem;
    background: rgba(16, 185, 129, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-info {
    color: #6b7280;
    font-size: 0.875rem;
    margin-left: auto;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    cursor: help;
}

.feature-item:hover .feature-info {
    opacity: 1;
}

.package-features {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.feature-badge {
    background: #f1f5f9;
    color: #475569;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.pricing-footer {
    padding: 1.5rem;
}

.pricing-btn {
    border-radius: 16px;
    padding: 1rem 2rem;
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
}

.starter-btn {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
}

.premium-btn {
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
}

.elite-btn {
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    color: white;
}

.pricing-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

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

.pricing-btn:hover::before {
    left: 100%;
}

.solutions-guarantee {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.guarantee-icon {
    font-size: 3rem;
    color: #fbbf24;
    margin-bottom: 1rem;
}

.guarantee-content h5 {
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Animation delays for staggered effect */
.premium-pricing-card:nth-child(1) {
    animation-delay: 0.1s;
}

.premium-pricing-card:nth-child(2) {
    animation-delay: 0.2s;
}

.premium-pricing-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* Enhanced Newsletter Section */
#newsletter {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    min-height: 400px;
}

#newsletter::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="grid" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    z-index: 1;
}

#newsletter .container {
    position: relative;
    z-index: 2;
}

.newsletter-icon {
    font-size: 4rem;
    color: #ffd700;
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

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

.newsletter-benefits {
    margin: 2rem 0;
}

.newsletter-benefits li {
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    opacity: 0;
    animation: slideInLeft 0.8s ease-out forwards;
}

.newsletter-benefits li:nth-child(1) { animation-delay: 0.2s; }
.newsletter-benefits li:nth-child(2) { animation-delay: 0.4s; }
.newsletter-benefits li:nth-child(3) { animation-delay: 0.6s; }

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

.newsletter-benefits i {
    color: #4ade80;
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

.newsletter-form {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.newsletter-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.newsletter-form .form-floating {
    margin-bottom: 1.5rem;
}

.newsletter-form .form-control {
    background: rgba(255,255,255,0.9);
    border: 2px solid transparent;
    border-radius: 15px;
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    height: 60px;
}

.newsletter-form .form-control:focus {
    background: white;
    border-color: #ffd700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
    transform: scale(1.02);
}

.newsletter-form label {
    color: #666;
    font-weight: 500;
}

.newsletter-subscribe-btn {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    border: none;
    border-radius: 15px;
    padding: 1rem 2.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: #333;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.newsletter-subscribe-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.newsletter-subscribe-btn:hover::before {
    left: 100%;
}

.newsletter-subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
    background: linear-gradient(45deg, #ffed4e, #ffd700);
}

.newsletter-subscribe-btn:active {
    transform: translateY(0);
}

.background-pattern {
    position: absolute;
    width: 200px;
    height: 200px;
    opacity: 0.1;
    z-index: 1;
}

.pattern-1 {
    top: 10%;
    left: 5%;
    animation: rotate 20s linear infinite;
}

.pattern-2 {
    top: 20%;
    right: 5%;
    animation: rotate 25s linear infinite reverse;
}

.pattern-3 {
    bottom: 10%;
    left: 10%;
    animation: rotate 30s linear infinite;
}

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

/* Enhanced Trust Section */
.trust-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.trust-background-pattern {
    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 60 60"><defs><pattern id="hexagons" width="30" height="26" patternUnits="userSpaceOnUse"><polygon points="15,1 28,8 28,22 15,29 2,22 2,8" fill="none" stroke="rgba(99,102,241,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23hexagons)"/></svg>');
    opacity: 0.6;
}

.trust-header {
    margin-bottom: 3rem;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.trust-title .text-gradient {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.trust-title .highlight-text {
    color: #059669;
    position: relative;
}

.trust-title .highlight-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #34d399, #10b981);
    border-radius: 2px;
}

.trust-stats {
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 0 1rem;
}

.stat-item h4 {
    font-weight: 800;
    font-size: 1.5rem;
}

.enhanced-trust-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(99, 102, 241, 0.1);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.08);
    height: 100%;
}

.enhanced-trust-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.enhanced-trust-card:hover::before {
    transform: scaleX(1);
}

.enhanced-trust-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.2);
}

.trust-icon-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.trust-icon {
    font-size: 3rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.4s ease;
}

.enhanced-trust-card:hover .icon-glow {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
}

.enhanced-trust-card:hover .trust-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.3));
}

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

.trust-content .trust-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.enhanced-trust-card:hover .trust-content .trust-title {
    color: #6366f1;
}

.trust-description {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.trust-badge-small {
    margin-top: 1rem;
}

.trust-badge-small span {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    color: #0369a1;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(3, 105, 161, 0.2);
    display: inline-block;
    transition: all 0.3s ease;
}

.enhanced-trust-card:hover .trust-badge-small span {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    transform: scale(1.05);
}

/* Animation delays for staggered effect */
.enhanced-trust-card:nth-child(1) {
    animation-delay: 0.1s;
}

.enhanced-trust-card:nth-child(2) {
    animation-delay: 0.2s;
}

.enhanced-trust-card:nth-child(3) {
    animation-delay: 0.3s;
}

.enhanced-trust-card:nth-child(4) {
    animation-delay: 0.4s;
}

.product-card img {
    max-width: 100%;
    border-radius: 8px;
}

/* Enhanced Product Card Styles */
.product-card .rating {
    font-size: 1.1rem;
}

.product-card .badge {
    font-size: 0.75rem;
    margin-right: 0.25rem;
}

.product-details {
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Product Details Page */
.product-info {
    padding: 20px;
}

.color-options .badge {
    margin: 2px;
    padding: 5px 10px;
}

.pricing-action {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #e9ecef;
}

/* Enhanced Product Page Styles */
.product-images .main-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.product-images .main-image img {
    transition: transform 0.3s ease;
}

.product-images .main-image:hover img {
    transform: scale(1.05);
}

.thumbnail-img {
    transition: all 0.3s ease;
    border-radius: 8px !important;
}

.thumbnail-img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.product-header h1 {
    font-size: 2.2rem;
    font-weight: 600;
    color: #333;
}

.product-badges .badge {
    font-size: 0.85rem;
    padding: 8px 12px;
}

.product-rating .stars {
    font-size: 1.2rem;
    color: #ffc107;
}

.key-features ul li {
    padding: 5px 0;
    border-bottom: 1px solid #f8f9fa;
}

.key-features ul li:last-child {
    border-bottom: none;
}

.color-option .color-label {
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid #e9ecef !important;
}

.color-option .color-label:hover {
    border-color: #007bff !important;
    transform: translateY(-2px);
}

.quantity-selector .input-group {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.quantity-selector .btn {
    border: none;
    background: #f8f9fa;
    color: #333;
    font-weight: 600;
}

.quantity-selector .btn:hover {
    background: #e9ecef;
}

.quantity-selector .form-control {
    border: none;
    font-weight: 600;
    background: #fff;
}

.action-buttons .btn {
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.action-buttons .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
}

.action-buttons .btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.price-display h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

.price-info small {
    display: block;
    margin-bottom: 5px;
}

.nav-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: #6c757d;
    font-weight: 500;
    padding: 12px 20px;
}

.nav-tabs .nav-link.active {
    border-bottom-color: #007bff;
    color: #007bff;
    background: transparent;
}

.nav-tabs .nav-link:hover {
    border-bottom-color: #007bff;
    color: #007bff;
}

.compatibility-item {
    transition: all 0.3s ease;
    cursor: pointer;
}

.compatibility-item:hover {
    border-color: #007bff !important;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.15);
}

.support-contact p {
    margin-bottom: 8px;
    color: #6c757d;
}

.table td {
    padding: 8px 0;
    border: none;
    color: #6c757d;
}

.table td:first-child {
    width: 40%;
    color: #333;
}

/* Category badges */
.badge {
    font-size: 0.9em;
    margin-right: 0.5rem;
}

/* Carousel enhancements */
.carousel-item img {
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.carousel-caption {
    background: rgba(0,0,0,0.7);
    border-radius: 10px;
    padding: 20px;
}

/* Carousel Custom Caption */
.carousel-caption-custom {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin: 1rem;
}

.carousel-caption-custom h3 {
    color: #333;
    margin-bottom: 1rem;
}

.carousel-caption-custom .lead {
    color: #666;
    margin-bottom: 1rem;
}

/* Cart */
#cart-items .cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

#cart-items .cart-item img {
    max-width: 100px;
    border-radius: 5px;
}

/* Navigation */
.navbar-brand {
    font-weight: bold;
    font-size: 1.8rem;
    color: #007bff !important;
}

.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

/* Button enhancements */
.btn {
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Search section */
#product-search {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

/* Category section */
#shop-by-category {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.category-link {
    transition: all 0.2s ease-in-out;
}

.category-link:hover {
    background-color: #007bff !important;
    color: white !important;
    transform: translateX(10px);
}

/* Product Grid Improvements */
#products {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

/* Search Results Styling */
#search-results .alert {
    border: none;
    border-radius: 15px;
}

/* Price Styling */
.text-success {
    font-weight: 600;
}

/* Stock Badge Styling */
.bg-success {
    background-color: #28a745 !important;
}

.bg-danger {
    background-color: #dc3545 !important;
}

/* Loading Animation */
.loading {
    text-align: center;
    padding: 3rem;
}

.loading::after {
    content: "Loading products...";
    animation: dots 1.5s steps(5, end) infinite;
}

@keyframes dots {
    0%, 20% {
        color: rgba(0,0,0,0);
        text-shadow:
            .25em 0 0 rgba(0,0,0,0),
            .5em 0 0 rgba(0,0,0,0);
    }
    40% {
        color: black;
        text-shadow:
            .25em 0 0 rgba(0,0,0,0),
            .5em 0 0 rgba(0,0,0,0);
    }
    60% {
        text-shadow:
            .25em 0 0 black,
            .5em 0 0 rgba(0,0,0,0);
    }
    80%, 100% {
        text-shadow:
            .25em 0 0 black,
            .5em 0 0 black;
    }
}

/* Features Section */
.feature-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.feature-icon {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Testimonials Section */
.testimonial-card .card {
    transition: transform 0.3s ease;
}

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

.rating {
    font-size: 1.2rem;
}

.customer-info h6 {
    color: #333;
    font-weight: 600;
}

/* Newsletter Section */
.newsletter-form .input-group {
    max-width: 400px;
    margin-left: auto;
}

.newsletter-form .btn {
    border-radius: 0 25px 25px 0;
}

.newsletter-form .form-control {
    border-radius: 25px 0 0 25px;
    border-right: none;
}

/* Footer Enhancements */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%) !important;
}

footer h5, footer h6 {
    color: #fff;
}

.app-download {
    margin: 1rem 0;
}

.app-stores {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.app-store-btn {
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.app-store-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 0.5rem;
}

.app-store-btn i {
    font-size: 1.2rem;
}

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;
}

footer .social-links a:hover {
    background: #007bff;
    transform: translateY(-3px);
}

footer ul li a:hover {
    color: #007bff !important;
    text-decoration: underline !important;
}

.payment-methods i {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

/* Checkout Enhancements */
.checkout-section {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.order-summary-section .card {
    position: sticky;
    top: 20px;
}

.checkout-item {
    padding: 1rem 0;
}

.security-notice .alert {
    border: none;
    border-radius: 10px;
}

/* Order Timeline Styles */
.timeline {
    position: relative;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #dee2e6;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

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

.timeline-marker {
    position: absolute;
    left: -2.5rem;
    top: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: white;
    z-index: 1;
}

.timeline-item.active .timeline-marker {
    background: #28a745 !important;
}

.timeline-content h6 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.timeline-item.active .timeline-content h6 {
    color: #28a745;
}

/* Order Status Page */
.success-icon {
    animation: bounceIn 0.8s ease-out;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.order-item {
    transition: background-color 0.2s ease;
}

.order-item:hover {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1rem !important;
    margin: 0 -1rem 1rem -1rem;
}

/* Cart Item Enhancements */
.cart-item {
    transition: all 0.2s ease;
    padding: 1rem;
    border-radius: 8px;
}

.cart-item:hover {
    background-color: #f8f9fa;
}

.cart-totals {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    border: 1px solid #dee2e6;
}

/* Form Enhancements */
.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 2px solid #dee2e6;
}

/* Checkout Timer */
#checkout-timer {
    font-size: 0.9rem;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

/* Progress Indicators */
.checkout-progress .badge {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
}

/* Button Loading States */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

/* Delivery Options Styling */
.delivery-option {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
}

.delivery-option:hover {
    border-color: #007bff;
    background-color: #f8f9fa;
}

.delivery-option input[type="radio"]:checked + label .delivery-option-content {
    color: #007bff;
}

.delivery-option input[type="radio"]:checked {
    border-color: #007bff;
}

.delivery-option input[type="radio"]:checked + label {
    border-color: #007bff;
    background-color: rgba(0, 123, 255, 0.1);
}

.delivery-option-content h6 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.delivery-option-content p {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.delivery-option label {
    cursor: pointer;
    width: 100%;
    margin-bottom: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.delivery-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.delivery-option input[type="radio"]:checked + label {
    border-color: #007bff;
    background-color: rgba(0, 123, 255, 0.1);
}

/* Collection Point Styling */
.collection-info {
    border-left: 4px solid #007bff;
}

.store-hours {
    border-top: 1px solid #dee2e6;
    padding-top: 0.75rem;
    margin-top: 0.75rem;
}

/* Delivery Address Toggle */
.form-check-input:checked {
    background-color: #007bff;
    border-color: #007bff;
}

/* Responsive Delivery Options */
@media (max-width: 768px) {
    .delivery-option {
        margin-bottom: 1rem;
    }
    
    .delivery-option label {
        padding: 0.75rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.btn-loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

/* Print Styles */
@media print {
    .btn, .navbar, footer {
        display: none !important;
    }
    
    .card {
        border: 1px solid #000 !important;
        box-shadow: none !important;
    }
    
    .timeline::before {
        background: #000 !important;
    }
}

/* Delivery Options Styles */
.delivery-option {
    margin-bottom: 0;
}

.delivery-option .form-check-input {
    position: absolute;
    opacity: 0;
}

.delivery-option .form-check-label {
    width: 100%;
    cursor: pointer;
}

.delivery-card {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    background: #fff;
}

.delivery-card:hover {
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.delivery-option .form-check-input:checked + .form-check-label .delivery-card {
    border-color: #007bff;
    background: #f8f9ff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.delivery-card i {
    font-size: 2rem;
    display: block;
}

.delivery-card h6 {
    margin: 10px 0 5px 0;
    font-weight: 600;
    color: #333;
}

.delivery-card p {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

#collection-info .alert {
    border-left: 4px solid #17a2b8;
}

#delivery-address {
    border-top: 1px solid #e9ecef;
    padding-top: 20px;
}

/* Enhanced Product Page Styles */
.product-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.product-image img {
    transition: transform 0.3s ease;
}

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

.product-header h1 {
    font-size: 2.2rem;
    font-weight: 600;
    color: #333;
}

.product-badges .badge {
    font-size: 0.85rem;
    padding: 8px 12px;
}

.product-rating .stars {
    font-size: 1.2rem;
    color: #ffc107;
}

.key-features ul li {
    padding: 5px 0;
    border-bottom: 1px solid #f8f9fa;
}

.key-features ul li:last-child {
    border-bottom: none;
}

.color-option .color-label {
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid #e9ecef !important;
}

.color-option .color-label:hover {
    border-color: #007bff !important;
    transform: translateY(-2px);
}

.quantity-selector .input-group {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.quantity-selector .btn {
    border: none;
    background: #f8f9fa;
    color: #333;
    font-weight: 600;
}

.quantity-selector .btn:hover {
    background: #e9ecef;
}

.quantity-selector .form-control {
    border: none;
    font-weight: 600;
    background: #fff;
}

.action-buttons .btn {
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.action-buttons .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
}

.action-buttons .btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.price-display h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

.price-info small {
    display: block;
    margin-bottom: 5px;
}

.nav-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: #6c757d;
    font-weight: 500;
    padding: 12px 20px;
}

.nav-tabs .nav-link.active {
    border-bottom-color: #007bff;
    color: #007bff;
    background: transparent;
}

.nav-tabs .nav-link:hover {
    border-bottom-color: #007bff;
    color: #007bff;
}

.compatibility-item {
    transition: all 0.3s ease;
    cursor: pointer;
}

.compatibility-item:hover {
    border-color: #007bff !important;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.15);
}

.support-contact p {
    margin-bottom: 8px;
    color: #6c757d;
}

.table td {
    padding: 8px 0;
    border: none;
    color: #6c757d;
}

.table td:first-child {
    width: 40%;
    color: #333;
}

/* Product Management Styles */
.stock-input {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
    text-align: center;
}

.stock-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.product-stats .card {
    transition: transform 0.2s;
}

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

.table img {
    transition: transform 0.2s;
}

.table img:hover {
    transform: scale(1.1);
}

.btn-group .btn {
    margin: 0 1px;
}

.modal-lg {
    max-width: 800px;
}

.form-text {
    font-size: 0.875rem;
    color: #6c757d;
}

/* Product status badges */
.badge.bg-success {
    background-color: #198754 !important;
}

.badge.bg-warning {
    background-color: #ffc107 !important;
    color: #000 !important;
}

.badge.bg-danger {
    background-color: #dc3545 !important;
}

.badge.bg-info {
    background-color: #0dcaf0 !important;
    color: #000 !important;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .btn-group {
        flex-direction: column;
    }
    
    .btn-group .btn {
        margin: 1px 0;
        border-radius: 4px !important;
    }
    
    .table-responsive {
        font-size: 0.875rem;
    }
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* User-specific cart notifications */
.cart-transfer-notification {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Cart icon tooltip improvements */
#cart-icon a[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1000;
}

#cart-icon {
    position: relative;
}

/* Animation for success messages */
.alert.position-fixed {
    animation: slideInRight 0.5s ease-out;
}

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

/* =====================================
   ENHANCED FOOTER DESIGN
===================================== */

.bg-dark {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 50%, #1a1a2e 100%) !important;
    position: relative;
    overflow: hidden;
}

.bg-dark::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-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(102,126,234,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots-pattern)"/></svg>');
    opacity: 0.3;
}

.bg-dark::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    z-index: 2;
}

footer {
    position: relative;
    z-index: 1;
}

footer .container {
    position: relative;
    z-index: 3;
}

/* Footer Brand */
footer h5 {
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    position: relative;
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

/* Footer Section Titles */
footer h6 {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

footer h6::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-gradient);
    border-radius: 1px;
}

/* Footer Description */
footer .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Social Links */
footer .social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

footer .social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    transition: left 0.3s ease;
    z-index: -1;
}

footer .social-links a:hover::before {
    left: 0;
}

footer .social-links a:hover {
    color: white;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    border-color: transparent;
}

/* Footer Links */
footer .list-unstyled {
    list-style: none;
    padding: 0;
}

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

footer .list-unstyled a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.25rem 0;
    display: inline-block;
}

footer .list-unstyled a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
    border-radius: 1px;
}

footer .list-unstyled a:hover::before {
    width: 100%;
}

footer .list-unstyled a:hover {
    color: white;
    transform: translateX(8px);
    padding-left: 0.5rem;
}

footer .list-unstyled a:hover::after {
    content: '→';
    position: absolute;
    left: -0.5rem;
    color: var(--accent-color);
    font-weight: bold;
}

/* Footer Divider */
footer hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    margin: 2.5rem 0 2rem 0;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.payment-methods span {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.payment-methods i {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    padding: 0.25rem;
    border-radius: var(--border-radius-sm);
}

.payment-methods i:hover {
    color: var(--accent-color);
    transform: scale(1.2) translateY(-2px);
    background: rgba(255, 255, 255, 0.05);
}

/* Copyright */
footer .copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

/* Contact Info in Footer */
footer .contact-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

footer .contact-info p:hover {
    color: white;
    transform: translateX(5px);
}

footer .contact-info i {
    color: var(--accent-color);
    width: 20px;
    text-align: center;
}

/* Responsive Footer */
@media (max-width: 768px) {
    footer .social-links {
        justify-content: center;
        margin-top: 2rem;
    }
    
    footer .payment-methods {
        justify-content: center;
        margin-top: 1rem;
    }
    
    footer .text-md-end {
        text-align: center !important;
        margin-top: 1rem;
    }
    
    footer h5::after,
    footer h6::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    footer .list-unstyled {
        text-align: center;
    }
}

/* Footer Animation on Scroll */
footer .animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

footer .animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Additional Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Button Shine Effect */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

/* Enhanced Modal Styles */
.modal {
    z-index: 1080 !important;
}

.modal-backdrop {
    z-index: 1079 !important;
}

.modal-content {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95);
    z-index: 1081 !important;
    position: relative;
}

.modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: var(--primary-gradient);
    color: white;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.modal-title {
    font-weight: 700;
}

/* Specific modal z-index overrides */
#loginModal,
#registerModal,
#cartModal {
    z-index: 1090 !important;
}

#loginModal .modal-backdrop,
#registerModal .modal-backdrop,
#cartModal .modal-backdrop {
    z-index: 1089 !important;
}

#loginModal .modal-content,
#registerModal .modal-content,
#cartModal .modal-content {
    z-index: 1091 !important;
}

/* Global modal override to ensure highest priority */
.modal.show {
    z-index: 1090 !important;
}

.modal.fade {
    z-index: 1090 !important;
}

.modal-dialog {
    z-index: 1091 !important;
    position: relative;
}

/* Bootstrap modal backdrop override */
.modal-backdrop.show {
    z-index: 1089 !important;
}

/* Force modals above everything */
div[id$="Modal"] {
    z-index: 1090 !important;
}

div[id$="Modal"] .modal-dialog {
    z-index: 1091 !important;
}

div[id$="Modal"] .modal-content {
    z-index: 1092 !important;
}

/* Additional modal positioning fixes */
.modal.show .modal-dialog {
    transform: none !important;
}

/* Ensure modal content is always visible */
.modal-open {
    overflow: hidden;
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}

/* Cart modal specific styling */
#cartModal {
    z-index: 1095 !important;
}

#cartModal .modal-dialog {
    z-index: 1096 !important;
}

#cartModal .modal-content {
    z-index: 1097 !important;
}

/* Login modal specific styling */
#loginModal {
    z-index: 1093 !important;
}

#loginModal .modal-dialog {
    z-index: 1094 !important;
}

#loginModal .modal-content {
    z-index: 1095 !important;
}

/* Register modal specific styling */
#registerModal {
    z-index: 1093 !important;
}

#registerModal .modal-dialog {
    z-index: 1094 !important;
}

#registerModal .modal-content {
    z-index: 1095 !important;
}

/* Enhanced Form Controls */
.form-control {
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius-sm);
    padding: 12px 16px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    background: white;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content .lead {
        font-size: 1.1rem;
    }
    
    .hero-buttons .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        margin: 0.25rem;
    }
    
    .feature-card {
        margin-bottom: 2rem;
    }
}

/* Loading Animation */
.loading {
    animation: pulse 2s infinite;
}

/* Hover Effects for Interactive Elements */
.interactive:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

/* About Page Specific Styles */
.about-visual {
    position: relative;
    display: inline-block;
}

.tech-icons {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    color: var(--accent-color);
    animation: floatAround 4s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
    top: 10%;
    left: 20%;
}

.floating-icon:nth-child(2) {
    top: 20%;
    right: 10%;
}

.floating-icon:nth-child(3) {
    bottom: 20%;
    left: 10%;
}

.floating-icon:nth-child(4) {
    bottom: 10%;
    right: 20%;
}

@keyframes floatAround {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(90deg);
    }
    50% {
        transform: translateY(-5px) rotate(180deg);
    }
    75% {
        transform: translateY(-15px) rotate(270deg);
    }
}

.mission-card, .history-card, .founder-card, .sustainability-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.mission-card:hover, .history-card:hover, .founder-card:hover, .sustainability-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    background: white;
}

.mission-icon i, .history-icon i, .sustainability-icon i {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.mission-card:hover .mission-icon i,
.history-card:hover .history-icon i,
.sustainability-card:hover .sustainability-icon i {
    transform: scale(1.1) rotate(5deg);
}

.founder-avatar {
    position: relative;
    display: inline-block;
}

.founder-badge {
    position: absolute;
    top: -10px;
    right: -10px;
}

.founder-badge .badge {
    background: var(--accent-gradient) !important;
    color: white !important;
    border-radius: 20px;
    padding: 8px 16px;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.achievement-badge {
    margin-top: 2rem;
}

.achievement-badge .badge {
    background: var(--warm-gradient) !important;
    color: var(--text-dark) !important;
    font-weight: 700;
    border-radius: 25px;
    box-shadow: var(--shadow-md);
    animation: pulse 2s infinite;
}

.sustainability-feature {
    padding: 1.5rem 1rem;
    transition: all 0.3s ease;
}

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

.sustainability-feature i {
    transition: all 0.3s ease;
}

.sustainability-feature:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* Enhanced Section Backgrounds */
#about-hero {
    background: var(--primary-gradient);
    position: relative;
    overflow: hidden;
}

#about-hero::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 1000"><defs><pattern id="about-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(%23about-grain)"/></svg>');
    opacity: 0.5;
}

/* Staggered Animations for About Page */
.animate-on-scroll:nth-child(1) {
    animation-delay: 0.1s;
}

.animate-on-scroll:nth-child(2) {
    animation-delay: 0.2s;
}

.animate-on-scroll:nth-child(3) {
    animation-delay: 0.3s;
}

.animate-on-scroll:nth-child(4) {
    animation-delay: 0.4s;
}

/* Call to Action Button Enhancements */
.hero-buttons .btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.hero-buttons .btn:hover::before {
    left: 100%;
}

/* Key Personnel Section Styles */
.personnel-card .card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.personnel-card .card::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.6s ease;
}

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

.personnel-card .card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    background: white;
}

.personnel-avatar {
    transition: all 0.3s ease;
}

.personnel-card:hover .personnel-avatar i {
    transform: scale(1.1) rotate(5deg);
}

.personnel-card h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.personnel-card .contact-info .btn {
    border-radius: 25px;
    padding: 8px 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.personnel-card .contact-info .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* =====================================
   CONTACT PAGE STYLES
===================================== */

/* Contact Page Layout */
.contact-page {
    padding-top: 0;
}

/* Contact Hero Section */
.contact-hero {
    background: var(--primary-gradient);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.contact-hero::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;
}

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

.contact-hero h1 {
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.hero-stats {
    margin-top: 2rem;
}

.stat-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.stat-item i {
    font-size: 1.2rem;
    color: var(--accent-color);
}

/* Contact Visual */
.contact-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
}

.contact-icon {
    font-size: 120px;
    color: rgba(255, 255, 255, 0.9);
    animation: pulse 2s infinite;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 3s ease-in-out infinite;
}

.floating-element i {
    font-size: 1.5rem;
    color: white;
}

.element-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    top: 60%;
    right: 15%;
    animation-delay: 1s;
}

.element-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 2s;
}

/* Contact Information Section */
.contact-info {
    background: #f8fafc;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-card:hover::before {
    transform: scaleX(1);
}

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

.contact-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
}

.contact-icon-wrapper::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: var(--primary-gradient);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.2;
    animation: pulse 2s infinite;
}

.contact-icon-wrapper i {
    font-size: 1.8rem;
    color: white;
}

.contact-card h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-card p {
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-card a:hover {
    color: var(--secondary-color);
}

/* Map Section */
.map-section {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.map-container {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-container img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.map-container:hover img {
    transform: scale(1.02);
}

.map-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 300px;
}

.map-info h5 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.map-info h5 i {
    color: var(--primary-color);
}

.map-info p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9rem;
}

/* Contact Form Section */
.contact-form-section {
    background: white;
}

.contact-form-card {
    background: #f8fafc;
    padding: 3rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-form .form-floating {
    margin-bottom: 1rem;
}

.contact-form .form-control {
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius-md);
    padding: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    transform: translateY(-2px);
}

.contact-form .form-select {
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius-md);
    transition: all 0.3s ease;
    background: white;
}

.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

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

.contact-form .btn-primary {
    background: var(--primary-gradient);
    border: none;
    border-radius: var(--border-radius-md);
    padding: 1rem 2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-form .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.contact-form .btn-primary:hover::before {
    left: 100%;
}

.contact-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Animation Classes */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.animate-fade-up[data-delay="0.1"] {
    animation-delay: 0.1s;
}

.animate-fade-up[data-delay="0.2"] {
    animation-delay: 0.2s;
}

.animate-fade-up[data-delay="0.3"] {
    animation-delay: 0.3s;
}

.animate-fade-up[data-delay="0.4"] {
    animation-delay: 0.4s;
}

.animate-fade-up[data-delay="0.5"] {
    animation-delay: 0.5s;
}

.animate-fade-up[data-delay="0.6"] {
    animation-delay: 0.6s;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .contact-hero {
        padding: 60px 0;
    }
    
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-visual {
        height: 300px;
    }
    
    .contact-icon {
        font-size: 80px;
    }
    
    .floating-element {
        width: 50px;
        height: 50px;
    }
    
    .floating-element i {
        font-size: 1.2rem;
    }
    
    .contact-form-card {
        padding: 2rem;
    }
    
    .map-overlay {
        position: static;
        margin-top: 1rem;
        max-width: 100%;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .stat-item {
        justify-content: center;
    }
}

/* =====================================
   HELP PAGE STYLES
===================================== */

/* Help Page Layout */
.help-page {
    padding-top: 0;
}

/* Help Hero Section */
.help-hero {
    background: var(--success-gradient);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.help-hero::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="helpgrain" 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(%23helpgrain)"/></svg>');
    opacity: 0.3;
}

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

.help-hero h1 {
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

/* Hero Search */
.hero-search {
    margin-top: 2rem;
}

.search-container {
    position: relative;
    display: flex;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 8px;
    transition: all 0.3s ease;
}

.search-container:hover {
    background: rgba(255, 255, 255, 0.2);
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    z-index: 2;
}

.search-input {
    background: transparent;
    border: none;
    color: white;
    padding: 12px 20px 12px 50px;
    flex: 1;
    border-radius: var(--border-radius-md);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-input:focus {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
    border: none;
}

.search-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 24px;
    border-radius: var(--border-radius-md);
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-2px);
}

/* Help Visual */
.help-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
}

.help-icon {
    font-size: 120px;
    color: rgba(255, 255, 255, 0.9);
    animation: pulse 2s infinite;
}

/* Quick Help Section */
.quick-help {
    background: #f8fafc;
}

.help-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.help-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--success-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.help-card:hover::before {
    transform: scaleX(1);
}

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

.help-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--success-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
}

.help-icon-wrapper::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: var(--success-gradient);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.2;
    animation: pulse 2s infinite;
}

.help-icon-wrapper i {
    font-size: 1.8rem;
    color: white;
}

.help-card h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.help-list {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-top: 1.5rem;
}

.help-list li {
    padding: 0.5rem 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.help-list i {
    color: var(--success-color);
    font-size: 0.8rem;
}

/* How to Use Section */
.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-content h5 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.feature-tips {
    background: #f1f5f9;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-sm);
    border-left: 4px solid var(--success-color);
}

.feature-tips i {
    color: var(--warning-color);
}

/* Consultancy Section */
.consultancy-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.consultancy-card::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="consultgrain" 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(%23consultgrain)"/></svg>');
    opacity: 0.3;
}

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

.consultancy-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.consultancy-icon i {
    font-size: 2.5rem;
    color: white;
}

.consultancy-card h3 {
    margin-bottom: 1rem;
    font-weight: 700;
}

.consultancy-features {
    margin: 2rem 0;
}

.feature-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.feature-item i {
    color: var(--accent-color);
}

.consultancy-actions {
    margin-top: 2rem;
}

.consultancy-actions .btn {
    border-radius: var(--border-radius-md);
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: none;
    transition: all 0.3s ease;
}

.consultancy-actions .btn-primary {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.consultancy-actions .btn-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.consultancy-actions .btn-outline-primary {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    background: transparent;
}

.consultancy-actions .btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
    transform: translateY(-2px);
}

/* FAQ Section */
.accordion-item {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--border-radius-md) !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    background: white;
    border: none;
    padding: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    border-radius: var(--border-radius-md) !important;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:focus {
    border: none;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23667eea'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 1.5rem;
    background: white;
    color: var(--text-light);
    line-height: 1.6;
}

/* Responsive Design for Help Page */
@media (max-width: 768px) {
    .help-hero {
        padding: 60px 0;
    }
    
    .help-hero h1 {
        font-size: 2.5rem;
    }
    
    .help-visual {
        height: 300px;
    }
    
    .help-icon {
        font-size: 80px;
    }
    
    .search-container {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .search-input {
        padding-left: 20px;
    }
    
    .search-icon {
        display: none;
    }
    
    .feature-card {
        flex-direction: column;
        text-align: center;
    }
    
    .consultancy-card {
        padding: 2rem;
    }
    
    .consultancy-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .consultancy-actions .btn {
        width: 100%;
        margin: 0;
    }
}

/* =====================================
   ENHANCED MODAL STYLES
===================================== */

.modal {
    z-index: 1090 !important;
}

.modal-content {
    border: none;
    border-radius: var(--border-radius-xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    overflow: hidden;
    z-index: 1091 !important;
    position: relative;
}

.modal-header {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 1.5rem 2rem;
    position: relative;
}

.modal-header::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="modal-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23modal-pattern)"/></svg>');
    opacity: 0.3;
}

.modal-title {
    font-weight: 700;
    font-size: 1.4rem;
    position: relative;
    z-index: 2;
}

.btn-close {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    padding: 0.75rem;
    opacity: 1;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.btn-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.modal-footer {
    background: #f8fafc;
    border: none;
    padding: 1.5rem 2rem;
}

/* Enhanced Form Styles */
.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-control {
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius-md);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    transform: translateY(-1px);
}

.modal .btn-primary {
    background: var(--primary-gradient);
    border: none;
    border-radius: var(--border-radius-md);
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modal .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.modal .btn-primary:hover::before {
    left: 100%;
}

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

/* =====================================
   ENHANCED BUTTON STYLES
===================================== */

.btn {
    border-radius: var(--border-radius-md);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: none;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary-gradient);
    border: none;
    color: white;
}

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

.btn-primary:hover::before {
    left: 100%;
}

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

.btn-secondary {
    background: rgba(118, 75, 162, 0.1);
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(118, 75, 162, 0.4);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

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

.btn-outline-success {
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    background: transparent;
}

.btn-outline-success:hover {
    background: var(--accent-gradient);
    border-color: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(67, 233, 123, 0.4);
}

/* Product Management Specific Styles */
.product-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.product-image:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.category-badge {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 1px solid rgba(102, 126, 234, 0.3);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.stock-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stock-in {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #059669;
}

.stock-low {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(217, 119, 6, 0.1) 100%);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #d97706;
}

.stock-out {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.1) 100%);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #dc2626;
}

.product-management-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
    border-radius: 0 0 20px 20px;
}

.search-filters {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.product-table {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.product-table thead {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.product-table th {
    border: none;
    padding: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.5px;
}

.product-table td {
    border: none;
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.user-row:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    transform: translateY(-1px);
    transition: all 0.3s ease;
}

.btn-group .btn {
    border: none;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-group .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Enhanced Modal Styles for Product Management */
.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 2rem;
}

.modal-body {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
}

.modal-footer {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    padding: 1.5rem 2rem;
}

/* Form Enhancement */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Image preview styles */
#add-image-preview, #edit-image-preview {
    border: 2px dashed rgba(102, 126, 234, 0.3);
    background: rgba(102, 126, 234, 0.05);
    transition: all 0.3s ease;
}

#add-image-preview:hover, #edit-image-preview:hover {
    border-color: rgba(102, 126, 234, 0.5);
    background: rgba(102, 126, 234, 0.1);
}

/* Loading Animation */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

/* Responsive Design for Product Management */
@media (max-width: 768px) {
    .product-image {
        width: 40px;
        height: 40px;
    }
    
    .category-badge, .stock-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }
    
    .btn-group .btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .product-table th,
    .product-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
    }
}

/* Enhanced Admin Dashboard Styles */
.admin-body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-attachment: fixed;
}

.admin-sidebar, .admin-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stats-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stats-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.user-table {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.user-row {
    transition: all 0.3s ease;
}

.user-row:hover {
    background: rgba(102, 126, 234, 0.05);
    transform: translateX(4px);
}

.user-row:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    transform: translateX(5px);
}

.role-badge {
    display: inline-block;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-pills .nav-link {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-box {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-box:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.25);
}

.btn-gradient {
    background: var(--primary-gradient);
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.4);
}

.admin-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Modal Enhancements */
.modal-content {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Loading Animation */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(102, 126, 234, 0.1);
    border-left: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Responsive Enhancements */
@media (max-width: 768px) {
    .admin-sidebar {
        margin-bottom: 1rem;
        min-height: auto;
    }
    
    .admin-content {
        margin-top: 0;
    }
    
    .stats-card {
        margin-bottom: 1rem;
    }
    
    .user-table {
        font-size: 0.875rem;
    }
    
    .btn-group {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .btn-group .btn {
        border-radius: 8px !important;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .admin-sidebar, .admin-content, .stats-card, .user-table {
        background: rgba(30, 41, 59, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: #e2e8f0;
    }
    
    .admin-header {
        background: rgba(30, 41, 59, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .search-box {
        background: rgba(51, 65, 85, 0.9);
        border-color: rgba(102, 126, 234, 0.3);
        color: #e2e8f0;
    }
    
    .table {
        color: #e2e8f0;
    }
    
    .text-muted {
        color: #94a3b8 !important;
    }
}