/* ===== KALABURAGI PULSES - MAIN STYLESHEET ===== */
:root {
    --primary: #1a6b2f;
    --primary-dark: #0f4a1e;
    --primary-light: #2d8a44;
    --secondary: #7b3f1e; 
    --secondary-dark: #5a2e12;
    --accent: #d4a017;
    --accent-light: #f0c040;
    --light-green: #e8f5e9;
    --text-dark: #1a1a1a;
    --text-muted: #6c757d;
    --white: #ffffff;
    --bg-light: #f8fdf9;
}

* { box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--primary-dark);
    color: #c8e6c9;
    font-size: 0.82rem;
}
.top-bar a { color: #c8e6c9; text-decoration: none; }

/* ===== NAVBAR ===== */
#mainNav {
    background: var(--primary) !important;
    padding: 10px 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
#mainNav.scrolled { background: var(--primary-dark) !important; }
.logo-img { height: 70px; width: 70px; object-fit: cover; border-radius: 8px; border: 2px solid var(--accent); }
.brand-name { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--white); font-weight: 700; line-height: 1; }
.brand-sub { font-size: 0.65rem; color: var(--accent-light); letter-spacing: 3px; font-weight: 600; }
.navbar-nav .nav-link { color: rgba(255,255,255,0.9) !important; font-weight: 500; font-size: 0.9rem; padding: 8px 14px !important; border-radius: 6px; transition: all 0.2s; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--accent-light) !important; background: rgba(255,255,255,0.1); }
.dropdown-menu { border: none; box-shadow: 0 10px 40px rgba(0,0,0,0.15); border-radius: 10px; }
.dropdown-item:hover { background: var(--light-green); color: var(--primary); }

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    min-height: 90vh;
    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 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.05)"/><circle cx="80" cy="80" r="3" fill="rgba(255,255,255,0.05)"/><circle cx="60" cy="20" r="1.5" fill="rgba(255,255,255,0.05)"/></svg>');
    animation: float 20s infinite linear;
}
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-20px); } }

.hero-badge { background: rgba(212,160,23,0.2); border: 1px solid var(--accent); color: var(--accent-light); font-size: 0.8rem; padding: 6px 16px; border-radius: 20px; display: inline-block; margin-bottom: 16px; }
.hero-title { font-family: 'Playfair Display', serif; font-size: 3.5rem; font-weight: 700; color: var(--white); line-height: 1.2; margin-bottom: 16px; }
.hero-title span { color: var(--accent-light); }
.hero-subtitle { font-size: 1.1rem; color: rgba(255,255,255,0.8); margin-bottom: 30px; }
.hero-stats { gap: 30px; }
.stat-item { text-align: center; }
.stat-num { font-size: 1.8rem; font-weight: 700; color: var(--accent-light); }
.stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.7); }
.hero-img-wrap { position: relative; }
.hero-img-wrap img { border-radius: 20px; box-shadow: 0 30px 80px rgba(0,0,0,0.3); border: 4px solid rgba(255,255,255,0.2); }
.floating-card { position: absolute; background: white; border-radius: 12px; padding: 12px 18px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); display: flex; align-items: center; gap: 10px; }
.floating-card.card-1 { top: 20px; left: -20px; }
.floating-card.card-2 { bottom: 30px; right: -20px; }
.floating-card .fc-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }

/* ===== SECTION STYLES ===== */
.section-badge { background: var(--light-green); color: var(--primary); font-size: 0.8rem; font-weight: 600; padding: 6px 16px; border-radius: 20px; display: inline-block; margin-bottom: 10px; border: 1px solid rgba(26,107,47,0.2); }
.section-title { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 10px; }
.section-title span { color: var(--secondary); }
.section-divider { width: 60px; height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 2px; margin: 0 auto 20px; }
.section-divider.left { margin: 0 0 20px; }

/* ===== PRODUCTS SECTION ===== */
.products-section { background: var(--bg-light); }
.product-card { background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 5px 25px rgba(0,0,0,0.08); transition: all 0.3s ease; border: 1px solid rgba(26,107,47,0.1); }
.product-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,0.15); }
.product-img-wrap { height: 200px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.product-badge { position: absolute; top: 12px; right: 12px; font-size: 0.7rem; padding: 4px 10px; border-radius: 10px; }
.product-body { padding: 20px; }
.product-name { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--primary-dark); font-weight: 700; }
.product-name-kannada { font-size: 0.85rem; color: var(--text-muted); }
.product-features { list-style: none; padding: 0; margin: 10px 0; }
.product-features li { font-size: 0.82rem; color: var(--text-muted); padding: 2px 0; }
.product-features li i { color: var(--primary); margin-right: 6px; }

/* ===== FARMER TO PROCESSOR ===== */
.ftp-section { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); }
.ftp-step { text-align: center; }
.ftp-icon { width: 80px; height: 80px; background: rgba(255,255,255,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 2rem; color: var(--accent-light); border: 2px solid rgba(255,255,255,0.2); }
.ftp-arrow { font-size: 2rem; color: var(--accent-light); display: flex; align-items: center; justify-content: center; }

/* ===== DIFFERENCE SECTION ===== */
.diff-card { background: white; border-radius: 16px; padding: 30px; text-align: center; box-shadow: 0 5px 25px rgba(0,0,0,0.08); transition: all 0.3s; border-top: 4px solid var(--primary); }
.diff-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.12); }
.diff-icon { width: 70px; height: 70px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 1.6rem; color: white; }

/* ===== WHY US SECTION ===== */
.why-us-section { background: var(--bg-light); }
.why-card { display: flex; gap: 20px; padding: 25px; background: white; border-radius: 16px; margin-bottom: 20px; box-shadow: 0 3px 20px rgba(0,0,0,0.07); transition: all 0.3s; }
.why-card:hover { box-shadow: 0 10px 35px rgba(0,0,0,0.12); transform: translateX(5px); }
.why-num { min-width: 50px; height: 50px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 700; color: white; }
.why-title { font-weight: 600; color: var(--primary-dark); margin-bottom: 6px; }

/* ===== REGISTER CARDS ===== */
.register-card { background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,0.1); transition: all 0.3s; border: none; }
.register-card:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
.register-card-header { padding: 30px 25px 20px; }
.register-card-icon { font-size: 3rem; margin-bottom: 10px; }

/* ===== FORM STYLES ===== */
.form-section { background: var(--bg-light); }
.form-card { background: white; border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.1); overflow: hidden; }
.form-card-header { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); padding: 30px; color: white; }
.form-body { padding: 35px; }
.form-label { font-weight: 500; color: var(--primary-dark); font-size: 0.9rem; }
.form-control, .form-select { border: 1px solid #dce8dc; border-radius: 8px; padding: 10px 14px; font-size: 0.9rem; transition: all 0.2s; }
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,107,47,0.15); }
.form-section-heading { font-size: 0.95rem; font-weight: 600; color: var(--primary); border-bottom: 2px solid var(--light-green); padding-bottom: 8px; margin-bottom: 20px; }
.btn-primary-custom { background: linear-gradient(135deg, var(--primary), var(--primary-light)); border: none; color: white; padding: 12px 35px; border-radius: 10px; font-weight: 600; font-size: 1rem; transition: all 0.3s; }
.btn-primary-custom:hover { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(26,107,47,0.3); color: white; }
.btn-secondary-custom { background: linear-gradient(135deg, var(--secondary), #a0522d); border: none; color: white; padding: 12px 35px; border-radius: 10px; font-weight: 600; }
.upload-area { border: 2px dashed var(--primary); border-radius: 12px; padding: 25px; text-align: center; cursor: pointer; transition: all 0.2s; background: var(--light-green); }
.upload-area:hover { background: rgba(26,107,47,0.1); }
.img-preview { max-width: 120px; max-height: 120px; border-radius: 10px; margin-top: 10px; object-fit: cover; display: none; }

/* ===== DASHBOARD ===== */
.sidebar { background: linear-gradient(180deg, var(--primary-dark), var(--primary)); min-height: 100vh; width: 260px; position: fixed; top: 0; left: 0; z-index: 1000; padding: 20px 0; }
.sidebar-logo { padding: 15px 20px 25px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.sidebar-logo img { height: 50px; border-radius: 8px; }
.sidebar-menu { list-style: none; padding: 20px 0; margin: 0; }
.sidebar-menu li a { display: flex; align-items: center; gap: 12px; padding: 12px 20px; color: rgba(255,255,255,0.8); text-decoration: none; font-size: 0.9rem; transition: all 0.2s; }
.sidebar-menu li a:hover, .sidebar-menu li a.active { background: rgba(255,255,255,0.15); color: white; padding-left: 28px; }
.sidebar-menu li a i { width: 20px; text-align: center; }
.main-content { margin-left: 260px; padding: 30px; background: #f0f4f0; min-height: 100vh; }
.dashboard-header { background: white; border-radius: 15px; padding: 20px 25px; margin-bottom: 25px; box-shadow: 0 3px 15px rgba(0,0,0,0.07); display: flex; justify-content: space-between; align-items: center; }
.stat-card { background: white; border-radius: 15px; padding: 20px; box-shadow: 0 3px 15px rgba(0,0,0,0.07); border-left: 4px solid var(--primary); transition: all 0.3s; }
.stat-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.12); }
.stat-card .stat-icon { width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.data-table { background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 3px 15px rgba(0,0,0,0.07); }
.data-table table { margin: 0; }
.data-table thead th { background: var(--primary); color: white; font-weight: 500; font-size: 0.85rem; padding: 12px 15px; border: none; }
.data-table tbody td { font-size: 0.85rem; vertical-align: middle; padding: 10px 15px; }
.table-title { padding: 18px 20px; border-bottom: 1px solid #eee; font-weight: 600; color: var(--primary-dark); }

/* ===== STATUS BADGES ===== */
.badge-pending { background: #fff3cd; color: #856404; padding: 5px 12px; border-radius: 20px; font-size: 0.75rem; }
.badge-approved { background: #d1e7dd; color: #0f5132; padding: 5px 12px; border-radius: 20px; font-size: 0.75rem; }
.badge-rejected { background: #f8d7da; color: #842029; padding: 5px 12px; border-radius: 20px; font-size: 0.75rem; }

/* ===== LOGIN PAGE ===== */
.login-wrap { min-height: 100vh; background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-light)); display: flex; align-items: center; justify-content: center; }
.login-card { background: white; border-radius: 20px; padding: 45px; max-width: 420px; width: 100%; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.login-logo { text-align: center; margin-bottom: 25px; }
.login-logo img { height: 80px; border-radius: 12px; }
.login-title { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--primary-dark); text-align: center; margin-bottom: 5px; }
.login-subtitle { text-align: center; color: var(--text-muted); font-size: 0.85rem; margin-bottom: 25px; }
.tab-selector .nav-link { color: var(--text-muted); font-size: 0.85rem; padding: 8px 16px; border-radius: 8px; }
.tab-selector .nav-link.active { background: var(--primary); color: white; }
.input-group-text { background: var(--light-green); border-color: #dce8dc; color: var(--primary); }

/* ===== CONTACT ===== */
.contact-info-card { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); border-radius: 20px; padding: 35px; color: white; height: 100%; }
.contact-item { display: flex; gap: 15px; margin-bottom: 25px; }
.contact-icon { width: 45px; height: 45px; background: rgba(255,255,255,0.15); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.map-embed { border-radius: 15px; overflow: hidden; box-shadow: 0 5px 25px rgba(0,0,0,0.1); }

/* ===== ABOUT ===== */
.about-img { border-radius: 20px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
.about-feature { display: flex; gap: 15px; margin-bottom: 20px; }
.af-icon { width: 50px; height: 50px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.2rem; flex-shrink: 0; }

/* ===== GI TAG SECTION ===== */
.gi-section { background: linear-gradient(135deg, var(--secondary-dark), var(--secondary)); }
.gi-badge { background: rgba(255,255,255,0.15); border: 2px solid rgba(255,255,255,0.3); border-radius: 15px; padding: 20px; text-align: center; }
.gi-badge i { font-size: 2.5rem; color: var(--accent-light); margin-bottom: 10px; }

/* ===== FOOTER ===== */
.footer-section { background: #0a1a0d; }
.footer-top { border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-heading { color: var(--accent-light); font-weight: 600; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; margin-bottom: 18px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.85rem; transition: all 0.2s; }
.footer-links a:hover { color: var(--accent-light); padding-left: 5px; }
.footer-contact { list-style: none; padding: 0; }
.footer-contact li { color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-bottom: 10px; display: flex; align-items: flex-start; gap: 10px; }
.footer-contact li i { color: var(--primary-light); margin-top: 3px; width: 16px; }
.social-links { display: flex; gap: 10px; }
.social-link { width: 36px; height: 36px; background: rgba(255,255,255,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); text-decoration: none; transition: all 0.2s; }
.social-link:hover { background: var(--primary); color: white; transform: translateY(-3px); }
.footer-bottom { background: rgba(0,0,0,0.3); }

/* ===== ALERTS ===== */
.alert { border-radius: 10px; border: none; }
.alert-success { background: #d1e7dd; color: #0f5132; }
.alert-danger { background: #f8d7da; color: #842029; }

/* ===== UTILITY ===== */
.bg-primary-custom { background: var(--primary) !important; }
.text-primary-custom { color: var(--primary) !important; }
.text-secondary-custom { color: var(--secondary) !important; }
.text-accent { color: var(--accent) !important; }
.btn-outline-primary-custom { border: 2px solid var(--primary); color: var(--primary); background: transparent; padding: 10px 28px; border-radius: 10px; font-weight: 600; transition: all 0.3s; }
.btn-outline-primary-custom:hover { background: var(--primary); color: white; }
.page-hero { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); padding: 80px 0 60px; color: white; text-align: center; margin-top: 0; }
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 700; }
.breadcrumb-item a { color: var(--accent-light); }
.breadcrumb-item.active { color: rgba(255,255,255,0.8); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }

/* Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .sidebar { transform: translateX(-100%); }
    .main-content { margin-left: 0; }
    .ftp-arrow { display: none; }
}
