:root {
    --primary-color: #2e7d32;
    --primary-dark: #1b5e20;
    --primary-light: #4caf50;
    --secondary-color: #ff9800;
    --dark-color: #333;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --white: #fff;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
}

.contact-info i {
    margin-right: 5px;
}

.social-links a {
    color: var(--white);
    margin-left: 15px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--secondary-color);
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 50px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.nav-menu a i {
    margin-right: 8px;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.admin-btn {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 5px;
}

.admin-btn:hover {
    background-color: var(--primary-dark);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 100px 20px;
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.cta-button:hover {
    background-color: #e68900;
    transform: translateY(-3px);
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.card-img {
    height: 200px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .card-img img {
    transform: scale(1.1);
}

.card-content {
    padding: 25px;
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.card p {
    color: var(--gray-color);
    margin-bottom: 20px;
}

/* Product Cards */
.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-info {
    padding: 20px;
}

.product-price {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 10px 0;
}

.order-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    transition: var(--transition);
}

.order-btn:hover {
    background-color: var(--primary-dark);
}

/* Forms */
.form-container {
    max-width: 600px;
    margin: 40px auto;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--dark-color);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: #e68900;
}

/* QR Code Styles */
.qr-container {
    text-align: center;
    padding: 40px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin: 40px 0;
}

.qr-code {
    max-width: 300px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.qr-code img {
    width: 100%;
    height: auto;
}

.validation-result {
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    text-align: center;
}

.valid {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.invalid {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3, .footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-col ul li a i {
    margin-right: 10px;
    font-size: 0.8rem;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: #bbb;
}

.contact-info i {
    margin-right: 10px;
    color: var(--primary-light);
    margin-top: 5px;
}

.footer-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #bbb;
    font-size: 0.9rem;
}

/* Admin Styles */
.admin-sidebar {
    width: 250px;
    background-color: var(--primary-dark);
    color: var(--white);
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    padding: 20px 0;
}

.admin-sidebar .logo {
    text-align: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.admin-sidebar ul {
    list-style: none;
    padding: 20px 0;
}

.admin-sidebar ul li {
    margin-bottom: 5px;
}

.admin-sidebar ul li a {
    color: var(--white);
    text-decoration: none;
    padding: 12px 30px;
    display: block;
    transition: var(--transition);
}

.admin-sidebar ul li a:hover,
.admin-sidebar ul li a.active {
    background-color: rgba(255,255,255,0.1);
    border-left: 4px solid var(--secondary-color);
}

.admin-sidebar ul li a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.admin-main {
    margin-left: 250px;
    padding: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-card {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 10px 0;
}

.stat-label {
    color: var(--gray-color);
    font-size: 0.9rem;
}

.table-container {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    margin: 30px 0;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px;
    text-align: left;
}

.table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.table tr:hover {
    background-color: #f8f9fa;
}

.btn-sm {
    padding: 5px 15px;
    font-size: 0.9rem;
}

.btn-danger {
    background-color: #dc3545;
}

.btn-danger:hover {
    background-color: #c82333;
}

.btn-success {
    background-color: #28a745;
}

.btn-success:hover {
    background-color: #218838;
}

/* Responsive */
@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .admin-sidebar {
        width: 200px;
    }
    
    .admin-main {
        margin-left: 200px;
    }
}

@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-info {
        margin-bottom: 10px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .admin-sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    
    .admin-main {
        margin-left: 0;
    }
}







/* Additional Styles for New Pages */

/* Services Page */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Contact Form Validation */
.error {
    border-color: #dc3545 !important;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
}

/* Admin Dashboard Improvements */
.admin-nav {
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
}

.nav-link {
    color: rgba(255,255,255,0.8) !important;
}

.nav-link:hover,
.nav-link.active {
    color: white !important;
    background: rgba(255,255,255,0.1);
}

/* QR Code Styles */
.qr-preview {
    border: 1px dashed #ddd;
    padding: 20px;
    text-align: center;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Responsive Tables */
@media (max-width: 768px) {
    .table-responsive {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #2e7d32;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #323232;
    color: white;
    padding: 15px 20px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 9999;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .print-only {
        display: block !important;
    }
    
    body {
        font-size: 12pt;
        color: black;
    }
    
    a {
        color: black;
        text-decoration: none;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .dark-mode {
        background-color: #1a1a1a;
        color: #e0e0e0;
    }
    
    .dark-mode .card {
        background-color: #2d2d2d;
        color: #e0e0e0;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-down {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}







/* ==========================================================================
   Home Page (index.php) Styles
   ========================================================================== */

.hero {
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.9), rgba(27, 94, 32, 0.95)),
                url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
    padding: 120px 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 152, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    line-height: 1.6;
    animation: fadeInUp 1s ease 0.2s both;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--secondary-color), #ff9800);
    color: var(--white);
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(255, 152, 0, 0.3);
    animation: fadeInUp 1s ease 0.4s both;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::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: 0.5s;
    z-index: -1;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 152, 0, 0.4);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button i {
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(5px);
}

/* Featured Products Section */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-dark);
    position: relative;
    font-family: 'Montserrat', sans-serif;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 15px auto 0;
    border-radius: 2px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
    margin: 50px 0;
}

.card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 1;
}

.card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card:hover .card-img img {
    transform: scale(1.1);
}

.card-content {
    padding: 30px;
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.card p {
    color: var(--gray-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-price {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 15px 0 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card .btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.2);
}

.card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.3);
}

/* About Preview Section */
.bg-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.bg-light::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 992px) {
    .about-preview {
        grid-template-columns: 1fr;
    }
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 25px;
    line-height: 1.2;
}

.about-content > p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray-color);
    margin-bottom: 40px;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
}

@media (max-width: 768px) {
    .features {
        grid-template-columns: 1fr;
    }
}

.feature {
    text-align: center;
    padding: 25px 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature h4 {
    color: var(--dark-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.feature p {
    color: var(--gray-color);
    font-size: 0.95rem;
    margin: 0;
}

.about-content .btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.2);
}

.about-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(46, 125, 50, 0.3);
}

.about-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(46, 125, 50, 0.1), rgba(255, 152, 0, 0.1));
    z-index: 1;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* QR Validation Section */
.qr-validation-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    margin: 60px 0;
}

@media (max-width: 992px) {
    .qr-validation-section {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 30px;
    }
}

.qr-content h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.qr-content > p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray-color);
    margin-bottom: 35px;
}

.qr-features {
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

@media (max-width: 576px) {
    .qr-features {
        justify-content: center;
    }
}

.qr-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    min-width: 120px;
    transition: transform 0.3s ease;
}

.qr-feature:hover {
    transform: translateY(-5px);
}

.qr-feature i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.qr-feature span {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.95rem;
}

.qr-content .btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), #ff9800);
    color: var(--white);
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.2);
}

.qr-content .btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 152, 0, 0.3);
}

.qr-image {
    position: relative;
    text-align: center;
}

.qr-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.qr-image:hover img {
    transform: scale(1.05);
}

/* ==========================================================================
   About Page (about.php) Styles
   ========================================================================== */

.about-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin: 60px 0;
}

@media (max-width: 992px) {
    .about-detail {
        grid-template-columns: 1fr;
    }
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 25px;
    line-height: 1.2;
}

.about-text > p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray-color);
    margin-bottom: 30px;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(46, 125, 50, 0.1);
}

.milestones {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 50px 0;
}

@media (max-width: 768px) {
    .milestones {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .milestones {
        grid-template-columns: 1fr;
    }
}

.milestone {
    text-align: center;
    padding: 25px 15px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.milestone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.milestone:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.milestone i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.milestone h4 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin: 10px 0;
    font-weight: 700;
}

.milestone p {
    color: var(--gray-color);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.about-stats {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 20px;
    padding: 50px 40px;
    color: var(--white);
    box-shadow: 0 20px 40px rgba(46, 125, 50, 0.2);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.stat-item i {
    font-size: 2.5rem;
    opacity: 0.9;
}

.stat-content h3 {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 5px;
    line-height: 1;
}

.stat-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

/* Company Values Section */
.company-values {
    margin: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.value-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.value-card i {
    font-size: 3rem;
    margin-bottom: 25px;
    display: block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.value-card h4 {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.value-card p {
    color: var(--gray-color);
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

/* ==========================================================================
   Products Page (products.php) Styles
   ========================================================================== */

.product-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 50px 0 40px;
    padding: 25px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

@media (max-width: 768px) {
    .product-filters {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }
}

.filter-categories {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: var(--white);
    border: 2px solid rgba(46, 125, 50, 0.2);
    border-radius: 50px;
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.2);
}

.filter-btn i {
    font-size: 0.9rem;
}

.filter-search {
    width: 300px;
}

@media (max-width: 768px) {
    .filter-search {
        width: 100%;
    }
}

.filter-search .form-control {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid rgba(46, 125, 50, 0.2);
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.filter-search .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 35px;
    margin: 40px 0;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, var(--secondary-color), #ff9800);
    color: var(--white);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(255, 152, 0, 0.2);
    z-index: 2;
}

.qr-indicator {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 10px rgba(46, 125, 50, 0.2);
    z-index: 2;
}

.product-info {
    padding: 30px;
}

.product-info h3 {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.product-info > p {
    color: var(--gray-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 60px;
}

.product-details {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 20px;
    margin-top: 20px;
}

.product-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stock-available,
.stock-out {
    font-size: 0.9rem;
    padding: 5px 12px;
    border-radius: 15px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.stock-available {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.stock-out {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.product-actions {
    display: flex;
    gap: 15px;
}

.order-btn,
.detail-btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
}

.order-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.2);
}

.order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.3);
    color: var(--white);
}

.detail-btn {
    background: var(--white);
    color: var(--dark-color);
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.detail-btn:hover {
    background: rgba(0, 0, 0, 0.02);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* No Products Message */
.no-products {
    text-align: center;
    padding: 80px 20px;
    grid-column: 1 / -1;
}

.no-products i {
    font-size: 4rem;
    color: rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
}

.no-products h3 {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.no-products p {
    color: var(--gray-color);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* QR Authentication Info */
.qr-info-section {
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.05), rgba(255, 152, 0, 0.05));
    border-radius: 20px;
    padding: 40px;
    margin: 60px 0 40px;
    border: 2px dashed rgba(46, 125, 50, 0.2);
}

.qr-info-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

@media (max-width: 768px) {
    .qr-info-content {
        flex-direction: column;
        text-align: center;
    }
}

.qr-info-content i {
    font-size: 3.5rem;
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    flex-shrink: 0;
}

.qr-info-content h3 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.qr-info-content p {
    color: var(--gray-color);
    line-height: 1.7;
    margin: 0;
    font-size: 1.05rem;
}

/* ==========================================================================
   Animations & Utilities
   ========================================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .card-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 20px;
        background-attachment: scroll;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .cta-button {
        padding: 14px 30px;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .card-grid,
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .about-detail,
    .about-preview,
    .qr-validation-section {
        gap: 40px;
    }
    
    .milestones {
        gap: 15px;
    }
    
    .value-card {
        padding: 30px 20px;
    }
    
    .product-filters {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
    }
    
    .card-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .features {
        gap: 15px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .order-btn,
    .detail-btn {
        width: 100%;
    }
}

/* Print Styles */
@media print {
    .hero,
    .bg-light,
    .qr-validation-section,
    .qr-info-section {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
    }
    
    .cta-button,
    .btn,
    .btn-secondary,
    .filter-btn,
    .order-btn,
    .detail-btn {
        display: none !important;
    }
    
    .product-card,
    .card,
    .value-card {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}










/* ==========================================================================
   QR Validator Page (validate.php) Styles
   ========================================================================== */

/* Main Validator Container */
.qr-validator-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.validator-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 20px;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.05), rgba(255, 152, 0, 0.05));
    border-radius: 20px;
    border: 2px dashed rgba(46, 125, 50, 0.2);
}

.validator-header h1 {
    font-size: 3rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.validator-header p {
    font-size: 1.2rem;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Validator Methods */
.validator-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.method-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.method-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.method-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    box-shadow: 0 10px 25px rgba(46, 125, 50, 0.3);
}

.method-card h3 {
    font-size: 1.6rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.method-card > p {
    color: var(--gray-color);
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1rem;
}

/* QR Scanner Placeholder */
.qr-scanner-placeholder {
    height: 200px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(46, 125, 50, 0.3);
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.qr-scanner-placeholder p {
    color: var(--gray-color);
    font-size: 1rem;
    z-index: 1;
    background: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.scanner-animation {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.scanner-line {
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    position: absolute;
    top: 50%;
    animation: scan 2s linear infinite;
    box-shadow: 0 0 15px var(--primary-color);
}

@keyframes scan {
    0% { top: 10%; }
    100% { top: 90%; }
}

.scanner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0%, 100% { border-color: var(--primary-color); }
    50% { border-color: var(--secondary-color); }
}

.scan-success {
    text-align: center;
    padding: 20px;
}

.scan-success i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    animation: pulse 2s infinite;
}

.scan-success p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.scan-code {
    font-family: monospace;
    background: rgba(46, 125, 50, 0.1);
    padding: 10px;
    border-radius: 5px;
    font-size: 1rem;
    color: var(--primary-dark);
    margin: 15px 0;
}

/* Code Form */
.code-form {
    margin-top: 25px;
}

.code-form .form-group {
    margin-bottom: 20px;
}

.code-form .form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(46, 125, 50, 0.2);
    border-radius: 50px;
    font-size: 1.1rem;
    text-align: center;
    letter-spacing: 2px;
    font-family: monospace;
    text-transform: uppercase;
    transition: all 0.3s ease;
    background: var(--white);
}

.code-form .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.1);
}

.code-form .form-control::placeholder {
    letter-spacing: normal;
    text-transform: none;
}

.code-form .btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    border-radius: 50px;
    color: var(--white);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.3);
}

.code-form .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(46, 125, 50, 0.4);
}

/* Validation Results */
.validation-result {
    margin: 60px 0;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.5s ease;
    border: 3px solid transparent;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.validation-result.valid {
    border-color: #28a745;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.05), rgba(40, 167, 69, 0.02));
}

.validation-result.expired {
    border-color: #ffc107;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.05), rgba(255, 193, 7, 0.02));
}

.validation-result.invalid {
    border-color: #dc3545;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.05), rgba(220, 53, 69, 0.02));
}

.result-icon {
    padding: 40px 20px 20px;
    text-align: center;
}

.result-icon i {
    font-size: 5rem;
    margin-bottom: 20px;
}

.validation-result.valid .result-icon i {
    color: #28a745;
    animation: success-pulse 2s infinite;
}

.validation-result.expired .result-icon i {
    color: #ffc107;
}

.validation-result.invalid .result-icon i {
    color: #dc3545;
}

@keyframes success-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.validation-result h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 30px;
    padding: 0 20px;
    color: var(--dark-color);
}

.validation-result > p {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray-color);
    padding: 0 20px;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Product Validation Info */
.product-validation-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 40px;
    background: var(--white);
}

.validation-details h3,
.validation-security h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(46, 125, 50, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item span:first-child {
    font-weight: 600;
    color: var(--gray-color);
    min-width: 140px;
}

.detail-item strong {
    color: var(--primary-dark);
    font-size: 1.1rem;
}

.detail-item code {
    background: rgba(46, 125, 50, 0.1);
    padding: 5px 10px;
    border-radius: 5px;
    font-family: monospace;
    color: var(--primary-dark);
    font-size: 1rem;
}

.validation-security ul {
    list-style: none;
    padding: 0;
}

.validation-security ul li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 1.05rem;
}

.validation-security ul li:last-child {
    border-bottom: none;
}

.validation-security ul li i {
    color: #28a745;
    font-size: 1.2rem;
}

/* Expired and Invalid Info */
.expired-info,
.warning-info {
    background: var(--white);
    padding: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.expired-info p {
    font-size: 1.1rem;
    color: var(--gray-color);
    text-align: center;
}

.warning-info {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.05), rgba(255, 193, 7, 0.02));
}

.warning-info h4 {
    font-size: 1.3rem;
    color: #dc3545;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.warning-info p {
    color: var(--gray-color);
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Validation Actions */
.validation-actions {
    padding: 30px 40px;
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.validation-actions .btn,
.validation-actions .btn-secondary {
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.validation-actions .btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.3);
}

.validation-actions .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(46, 125, 50, 0.4);
}

.validation-actions .btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), #ff9800);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.3);
}

.validation-actions .btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(255, 152, 0, 0.4);
}

/* Security Info */
.security-info {
    margin-top: 80px;
    padding: 50px;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.05), rgba(255, 152, 0, 0.05));
    border-radius: 25px;
    border: 2px solid rgba(46, 125, 50, 0.1);
}

.security-info h3 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 40px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.security-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.security-point {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.security-point:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.security-point i {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.security-point h4 {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.security-point p {
    color: var(--gray-color);
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

/* Validation Error Message */
.validation-error {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1), rgba(220, 53, 69, 0.05));
    border: 2px solid #dc3545;
    border-radius: 10px;
    padding: 15px 20px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.validation-error i {
    color: #dc3545;
    font-size: 1.5rem;
}

.validation-error span {
    color: #721c24;
    font-weight: 500;
}

/* ==========================================================================
   Mobile Navigation Fixes
   ========================================================================== */

/* Fix for mobile menu toggle */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 80px; /* Adjust based on your header height */
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 40px 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 0;
        width: 100%;
        max-width: 400px;
        margin-bottom: 15px;
    }
    
    .nav-menu a {
        padding: 18px 25px;
        border-radius: 10px;
        justify-content: flex-start;
        font-size: 1.1rem;
        background: rgba(46, 125, 50, 0.05);
        transition: all 0.3s ease;
    }
    
    .nav-menu a:hover {
        background: rgba(46, 125, 50, 0.1);
        transform: translateX(10px);
    }
    
    .nav-menu .admin-btn {
        margin-top: 20px;
        justify-content: center;
        background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    }
    
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 24px;
        cursor: pointer;
        z-index: 1000;
    }
    
    .hamburger span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: var(--dark-color);
        border-radius: 3px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        transform-origin: left center;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(2px, -1px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(2px, 1px);
    }
}

/* ==========================================================================
   Enhanced Admin Sidebar Styles
   ========================================================================== */

.admin-sidebar {
    width: 280px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a4f1c 100%);
    color: var(--white);
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    padding: 0;
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    overflow-y: auto;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-sidebar::-webkit-scrollbar {
    width: 6px;
}

.admin-sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.admin-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.admin-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

.admin-sidebar .logo {
    padding: 30px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.admin-sidebar .logo img {
    height: 50px;
    filter: brightness(0) invert(1);
}

.admin-sidebar .logo h3 {
    color: var(--white);
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    opacity: 0.9;
}

.admin-sidebar ul {
    list-style: none;
    padding: 25px 15px;
    margin: 0;
}

.admin-sidebar ul li {
    margin-bottom: 8px;
}

.admin-sidebar ul li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.admin-sidebar ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--secondary-color);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.admin-sidebar ul li a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transform: translateX(5px);
}

.admin-sidebar ul li a:hover::before {
    transform: translateX(0);
}

.admin-sidebar ul li a.active {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.admin-sidebar ul li a.active::before {
    transform: translateX(0);
}

.admin-sidebar ul li a i {
    width: 24px;
    text-align: center;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.admin-sidebar ul li a:hover i {
    transform: scale(1.1);
}

.admin-sidebar ul li:last-child a {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    margin-top: 10px;
}

.admin-sidebar ul li:last-child a:hover {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
}

.admin-sidebar .user-info {
    padding: 20px 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
}

.admin-sidebar .user-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--secondary-color), #ff9800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--white);
    font-weight: 600;
}

.admin-sidebar .user-details h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
}

.admin-sidebar .user-details p {
    margin: 5px 0 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Admin Main Content */
.admin-main {
    margin-left: 280px;
    padding: 30px;
    min-height: 100vh;
    background: #f5f7fa;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile Admin Sidebar */
@media (max-width: 992px) {
    .admin-sidebar {
        width: 280px;
        left: -280px;
        box-shadow: none;
    }
    
    .admin-sidebar.active {
        left: 0;
        box-shadow: 5px 0 25px rgba(0, 0, 0, 0.2);
    }
    
    .admin-main {
        margin-left: 0;
        padding: 20px;
    }
    
    .admin-toggle {
        position: fixed;
        top: 20px;
        left: 20px;
        z-index: 1001;
        width: 40px;
        height: 40px;
        background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--white);
        font-size: 1.3rem;
        cursor: pointer;
        box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
        border: none;
        outline: none;
    }
    
    .admin-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        display: none;
    }
    
    .admin-overlay.active {
        display: block;
    }
}

/* Admin Content Header */
.admin-header {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--primary-color);
}

.admin-header h1 {
    color: var(--primary-dark);
    margin: 0 0 10px;
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.admin-header p {
    color: var(--gray-color);
    margin: 0;
    font-size: 1.1rem;
}

/* Responsive Adjustments for QR Validator */
@media (max-width: 992px) {
    .validator-header h1 {
        font-size: 2.2rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .validator-header p {
        font-size: 1.1rem;
    }
    
    .product-validation-info {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }
    
    .validation-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .validation-actions .btn,
    .validation-actions .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .validator-header {
        padding: 30px 15px;
    }
    
    .validator-header h1 {
        font-size: 1.8rem;
    }
    
    .validator-header p {
        font-size: 1rem;
    }
    
    .method-card {
        padding: 30px 20px;
    }
    
    .security-info {
        padding: 30px 20px;
    }
    
    .security-info h3 {
        font-size: 1.6rem;
    }
    
    .security-points {
        grid-template-columns: 1fr;
    }
    
    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .detail-item span:first-child {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .qr-validator-container {
        padding: 20px 15px;
    }
    
    .validation-result h2 {
        font-size: 1.8rem;
    }
    
    .result-icon i {
        font-size: 4rem;
    }
    
    .admin-header {
        padding: 20px;
    }
    
    .admin-header h1 {
        font-size: 1.8rem;
    }
}

/* Loading State for Validation */
.validation-loading {
    text-align: center;
    padding: 60px 20px;
}

.validation-loading i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    animation: spin 1.5s linear infinite;
}

.validation-loading p {
    font-size: 1.2rem;
    color: var(--gray-color);
}

/* Success Animation */
@keyframes success-check {
    0% {
        stroke-dashoffset: 100;
        opacity: 0;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

/* Print Styles for Validation Results */
@media print {
    .validation-result {
        box-shadow: none;
        border: 2px solid #000;
    }
    
    .validation-actions,
    .security-info,
    .validator-methods,
    .validator-header {
        display: none;
    }
    
    .validation-result.valid {
        background: white !important;
        color: black !important;
    }
}



/* Agent Dashboard Specific Styles */
.agent-header {
    background: linear-gradient(135deg, #1a5d1a 0%, #28a745 100%);
    color: white;
    padding: 20px 0;
}

.agent-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.agent-welcome h1 {
    margin: 0;
    font-size: 1.8rem;
}

.agent-welcome p {
    margin: 5px 0 0;
    opacity: 0.9;
}

.agent-actions {
    display: flex;
    gap: 10px;
}

.agent-actions .btn {
    display: flex;
    align-items: center;
    gap: 8px;
}

.agent-actions .badge {
    background: #ff6b35;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}

/* Dashboard Stats Grid */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #28a745 0%, #20c997 100%);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    color: white;
    font-size: 1.8rem;
}

.stat-content h3 {
    margin: 0;
    font-size: 1.8rem;
    color: #333;
}

.stat-content p {
    margin: 5px 0 0;
    color: #666;
    font-size: 14px;
}

.stat-action {
    margin-left: auto;
    color: #28a745;
    font-weight: 500;
    text-decoration: none;
    font-size: 14px;
}

.stat-action:hover {
    text-decoration: underline;
}

.commission-rate {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffc107;
    color: #333;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Dashboard Layout */
.dashboard-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin: 40px 0;
}

@media (max-width: 1024px) {
    .dashboard-content {
        grid-template-columns: 1fr;
    }
}

.dashboard-card {
    background: white;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    overflow: hidden;
}

.card-header {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.view-all {
    color: #28a745;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.view-all:hover {
    text-decoration: underline;
}

.card-body {
    padding: 20px;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

@media (max-width: 480px) {
    .quick-actions {
        grid-template-columns: 1fr;
    }
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    text-align: center;
}

.action-btn:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.action-btn i {
    font-size: 1.5rem;
    color: #28a745;
    margin-bottom: 10px;
}

.action-btn span {
    font-size: 13px;
    font-weight: 500;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-pending { background: #ffc107; color: #333; }
.status-processing { background: #17a2b8; color: white; }
.status-delivered { background: #28a745; color: white; }
.status-cancelled { background: #dc3545; color: white; }

/* Transaction Type Badges */
.transaction-type {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
}

.type-commission { background: #e8f5e9; color: #2e7d32; }
.type-withdrawal { background: #fff3e0; color: #ef6c00; }
.type-bonus { background: #f3e5f5; color: #7b1fa2; }
.type-adjustment { background: #e3f2fd; color: #1565c0; }