/**
 * Modern Premium CSS for Adhunik Krushi Bhandar
 * Clean, professional design with smooth animations
 */

/* ==================== VARIABLES & ROOT ==================== */
:root {
    /* Primary Colors - Green Gradient Theme */
    --primary-green: #2e7d32;
    --light-green: #66bb6a;
    --dark-green: #1b5e20;
    --accent-orange: #f57c00;
    
    /* Backgrounds */
    --bg-white: #ffffff;
    --bg-light-gray: #f8f9fa;
    --bg-lighter: #fafbfc;
    --bg-dark: #1a1a1a;
    
    /* Text Colors */
    --text-dark: #2c3e50;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --text-white: #ffffff;
    
    /* Accents */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    
    /* Shadows - Soft & Premium */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.15);
    --shadow-2xl: 0 20px 60px rgba(46, 125, 50, 0.15);
    --shadow-green: 0 8px 32px rgba(46, 125, 50, 0.15);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    
    /* Transitions & Animations */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.35s ease-out;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #66bb6a 0%, #81c784 100%);
    --gradient-hover: linear-gradient(135deg, #2e7d32 0%, #66bb6a 100%);
    --gradient-accent: linear-gradient(135deg, #f57c00 0%, #ffb74d 100%);
    --gradient-orange: linear-gradient(135deg, #f9a825 0%, #fdd835 100%);
}

/* ==================== RESET & GLOBAL ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.5px;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.75rem;
    font-weight: 700;
}

h3 {
    font-size: 2rem;
    font-weight: 700;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
}

h5 {
    font-size: 1.25rem;
    font-weight: 600;
}

h6 {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

p {
    font-family: 'Roboto', sans-serif;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 400;
}

.lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1.8;
}

a {
    color: var(--primary-green);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--dark-green);
}

small {
    font-family: 'Roboto', sans-serif;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* ==================== BUTTONS ==================== */
.btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-radius: var(--radius-lg);
    padding: 0.75rem 1.5rem;
    transition: var(--transition-base);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Primary Button */
.btn-success {
    background: var(--gradient-primary);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.5);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.btn-success::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition-fast);
}

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

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

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

/* Outline Button */
.btn-outline-success {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    transition: var(--transition-base);
}

.btn-outline-success:hover {
    background: var(--gradient-primary);
    color: var(--text-white);
    border-color: var(--primary-green);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

/* Unified CTA Button Style */
.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(76, 175, 80, 0.1);
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 50px;
    padding: 12px 28px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-cta:hover {
    background: #ffffff;
    color: #2e7d32;
    border-color: #ffffff;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
    transform: translateY(-2px);
    text-decoration: none;
}

/* Button Sizes */
.btn-lg {
    padding: 0.95rem 2rem;
    font-size: 1.1rem;
}

.btn-md {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: var(--radius-md);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ==================== TOP BAR ==================== */
.top-bar {
    background: var(--primary-green);
    border-bottom: 3px solid var(--light-green);
    font-weight: 500;
    padding: 0.75rem 0;
}

.top-bar small {
    color: rgba(255, 255, 255, 0.9);
}

/* ==================== NAVIGATION ==================== */
.navbar {
    background: var(--bg-white);
    border-bottom: 1px solid #e5e7eb;
    padding: 0.75rem 0;
    transition: var(--transition-base);
}

.navbar.sticky-top {
    box-shadow: var(--shadow-sm);
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-green);
    transition: var(--transition-fast);
}

.navbar-brand:hover {
    color: var(--dark-green);
    transform: scale(1.05);
}

.nav-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    margin: 0 0.5rem;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--gradient-primary);
    transition: var(--transition-fast);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-green);
}

.nav-link.active {
    color: var(--primary-green);
    font-weight: 600;
}

.navbar-toggler {
    border: none;
    font-size: 1.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
    border: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%232e7d32' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    background: linear-gradient(135deg, #0d3b1f 0%, #1b5e20 50%, #2e7d32 100%);
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    padding-top: 60px;
    padding-bottom: 40px;
    display: flex;
    align-items: center;
    color: var(--text-white);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(102, 187, 106, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(102, 187, 106, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.3) 0%, transparent 60%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: slideUp 0.8s ease-out;
}

.hero-content h1 {
    color: var(--text-white);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero-content .lead {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-content > p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 2rem;
}

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

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

/* ==================== CARDS & COMPONENTS ==================== */
.card {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    background: var(--bg-white);
    overflow: hidden;
}

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

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.card-footer {
    background: transparent;
    border: none;
    padding: 1.5rem;
}

/* ==================== FEATURE CARDS ==================== */
.feature-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: none;
    height: 100%;
    position: relative;
}

.feature-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px);
}

/* Highlighted Cards */
.feature-card-highlight {
    background: #f2fbf5;
    border: 2px solid #4CAF50;
    box-shadow: 0 12px 40px rgba(76, 175, 80, 0.15);
}

.feature-card-highlight:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 50px rgba(76, 175, 80, 0.25);
}

.feature-card-top-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #4CAF50;
    border-radius: 15px 15px 0 0;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: #e8f5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4CAF50;
    font-size: 2.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.feature-card-highlight .feature-icon {
    background: #4CAF50;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

.feature-card:hover .feature-icon {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.feature-card-highlight:hover .feature-icon {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(76, 175, 80, 0.4);
}

.feature-card h4 {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-family: 'Poppins', sans-serif;
}

.feature-card p {
    color: #7f8c8d;
    margin: 0;
    line-height: 1.8;
    font-family: 'Poppins', sans-serif;
}

/* ==================== CUSTOMER REVIEWS ==================== */
.review-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #4CAF50;
}

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

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.review-name {
    font-family: 'Poppins', sans-serif;
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.1rem;
}

.review-rating {
    color: #FFB800;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.review-date {
    color: #999999;
    font-size: 0.85rem;
    font-style: italic;
}

.review-message {
    color: #7f8c8d;
    line-height: 1.8;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    word-wrap: break-word;
}

.reviews-container {
    max-height: 800px;
    padding-right: 10px;
}

/* Rating Input Styling */
.rating-input .form-select {
    border-color: #e0e0e0 !important;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: #2c3e50;
    font-family: 'Poppins', sans-serif;
}

.rating-input .form-select:focus {
    border-color: #4CAF50 !important;
    box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
}

/* Form Styling */
.form-label.fw-600 {
    font-weight: 600;
    color: #2c3e50;
    font-family: 'Poppins', sans-serif;
}

.border-1 {
    border-color: #e0e0e0 !important;
}

.border-1:focus {
    border-color: #4CAF50 !important;
    box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
}

/* ==================== PRODUCT CARDS ==================== */
.product-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-slow);
    box-shadow: var(--shadow-md);
}

.product-card:hover {
    box-shadow: var(--shadow-2xl);
    transform: translateY(-10px);
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
    background: var(--bg-light-gray);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-overlay .btn {
    animation: slideUp 0.3s ease-out;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    min-height: 2.5rem;
}

.card-body .text-muted {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.card-body .h5 {
    color: var(--primary-green);
    font-weight: 700;
    margin: 0;
}

.badge {
    border-radius: var(--radius-sm);
    padding: 0.35rem 0.75rem;
    font-weight: 600;
    font-size: 0.75rem;
}

.badge.bg-success {
    background: linear-gradient(135deg, #10b981, #34d399) !important;
}

/* ==================== TESTIMONIALS ==================== */
.testimonial-card {
    border-radius: var(--radius-lg);
    background: var(--bg-white);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--light-green);
    box-shadow: var(--shadow-md);
}

.rating {
    margin-bottom: 1.5rem;
}

.rating i {
    color: var(--warning);
    margin: 0 2px;
    font-size: 1.1rem;
}

.testimonial-card p {
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.testimonial-card h5 {
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.testimonial-card small {
    color: var(--text-light);
}

/* ==================== BUYING STEPS ==================== */
.buying-step {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
    border: 1px solid #f0f0f0;
}

.buying-step:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.step-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
    margin: 0 auto 1.5rem;
}

.buying-step:hover .step-icon {
    transform: scale(1.15) rotate(-10deg);
    box-shadow: var(--shadow-xl);
}

.buying-step h4 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.buying-step p {
    color: var(--text-muted);
    margin: 0;
    line-height: 1.8;
}

/* ==================== FORMS ==================== */
.form-control,
.form-select {
    font-family: 'Roboto', sans-serif;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: var(--transition-fast);
    background-color: var(--bg-white);
    color: var(--text-dark);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
    background-color: var(--bg-white);
}

.form-control::placeholder {
    color: var(--text-light);
    font-weight: 400;
}

.form-label {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* ==================== SECTIONS ==================== */
section {
    padding: 5rem 0;
}

section.py-5 {
    padding: 5rem 0;
}

.text-center {
    text-align: center;
}

.text-center h2 {
    color: var(--primary-green);
    margin-bottom: 0.75rem;
}

.text-center .lead {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-divider {
    height: 4px;
    width: 60px;
    background: var(--gradient-primary);
    margin: 1rem auto 2rem;
    border-radius: 2px;
}

/* Background Sections */
section.bg-light {
    background: var(--bg-light-gray);
}

/* ==================== FOOTER ==================== */
footer {
    background: #0f172a;
    color: #e2e8f0;
    font-family: 'Roboto', sans-serif;
    padding: 4rem 0 1.5rem;
    border-top: 1px solid #1e293b;
}

footer h4,
footer h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--light-green);
    margin-bottom: 1.5rem;
}

footer p {
    color: #cbd5e1;
    line-height: 1.8;
}

footer a {
    color: #94a3b8;
    transition: var(--transition-fast);
}

footer a:hover {
    color: var(--light-green);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(102, 187, 106, 0.1);
    color: var(--light-green);
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--light-green);
    color: var(--bg-white);
    transform: translateY(-3px);
}

.contact-info {
    line-height: 2;
}

.contact-info i {
    color: var(--light-green);
    min-width: 20px;
}

footer hr {
    border-color: #1e293b;
}

/* ==================== BACK TO TOP & WHATSAPP ==================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
    z-index: 999;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    border: none;
    border-radius: 50%;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--dark-green);
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ==================== ALERTS ==================== */
.alert {
    border-radius: var(--radius-lg);
    border: none;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.alert-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(34, 197, 94, 0.1));
    color: #047857;
    border-left: 4px solid var(--success);
}

.alert-danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.1));
    color: #991b1b;
    border-left: 4px solid var(--danger);
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

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

/* AOS Library Overrides */
[data-aos] {
    opacity: 0;
}

[data-aos].aos-animate {
    opacity: 1;
    animation: slideInUp 0.8s ease-out forwards;
}

/* ==================== UTILITY CLASSES ==================== */
.text-success {
    color: var(--primary-green) !important;
}

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

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

.bg-success {
    background: var(--gradient-primary) !important;
}

.bg-light {
    background: var(--bg-light-gray) !important;
}

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

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

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    section {
        padding: 3.5rem 0;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    /* Hero Section - Mobile */
    .hero-section {
        min-height: 70vh;
        padding-top: 40px;
        padding-bottom: 30px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    p {
        font-size: 0.95rem;
    }

    .lead {
        font-size: 1.1rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .hero-content .lead {
        font-size: 1.1rem;
    }

    .hero-content > p {
        font-size: 1rem;
    }

    section {
        padding: 2.5rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    .card {
        margin-bottom: 1rem;
    }

    .feature-card {
        padding: 1.5rem;
        text-align: center;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .buying-step {
        padding: 1.5rem;
    }

    .step-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .navbar-brand {
        font-size: 1.25rem;
    }

    .testimonial-card {
        padding: 1.5rem;
        min-height: auto;
    }

    .text-center .lead {
        margin-bottom: 2rem;
    }

    .whatsapp-float,
    .back-to-top {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .nav-link {
        margin: 0.25rem 0;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover {
        color: var(--primary-green);
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    h4, .h4 {
        font-size: 1.1rem;
    }

    .hero-content h1 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .hero-content .lead {
        font-size: 1rem;
    }

    .hero-content > p {
        font-size: 0.95rem;
    }

    section {
        padding: 2rem 0;
    }

    .feature-card,
    .testimonial-card,
    .buying-step {
        padding: 1.25rem;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .step-icon {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
    }

    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .btn-lg {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .form-control {
        padding: 0.6rem 0.75rem;
    }

    .product-image-wrapper {
        height: 200px;
    }

    .rating i {
        font-size: 1rem;
    }

    .contact-info {
        line-height: 1.8;
        font-size: 0.9rem;
    }

    .whatsapp-float {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 80px;
        right: 20px;
    }
}

/* ==================== PRINT STYLES ==================== */
@media print {
    .whatsapp-float,
    .back-to-top,
    .navbar,
    .top-bar {
        display: none;
    }
}

/* ==================== RESET & GLOBAL ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.5px;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.75rem;
    font-weight: 700;
}

h3 {
    font-size: 2rem;
    font-weight: 700;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
}

h5 {
    font-size: 1.25rem;
    font-weight: 600;
}

h6 {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

p {
    font-family: 'Roboto', sans-serif;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 400;
}

.lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1.8;
}

a {
    color: var(--primary-green);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--dark-green);
}

small {
    font-family: 'Roboto', sans-serif;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* ======== HERO SECTION - MODERN PREMIUM DESIGN ======== */
.hero-section {
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.95) 0%, rgba(46, 125, 50, 0.9) 50%, rgba(102, 187, 106, 0.85) 100%),
                url('../images/hero-banner.jpg') center/cover;
    min-height: 85vh;
    padding-top: 60px;
    padding-bottom: 40px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top right, rgba(102, 187, 106, 0.3) 0%, transparent 50%),
                radial-gradient(ellipse at bottom left, rgba(27, 94, 32, 0.4) 0%, transparent 50%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.85) 0%, rgba(46, 125, 50, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out;
}

.hero-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    max-width: 700px;
}

.hero-content .lead {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    max-width: 600px;
}

.hero-content p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 550px;
}

/* Hero Buttons - Modern Style */
.hero-content .btn {
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.hero-content .btn-success {
    background: linear-gradient(135deg, var(--white) 0%, #f5f5f5 100%);
    color: var(--primary-green);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-content .btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: var(--white);
    color: var(--dark-green);
}

.hero-content .btn-success::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: 0.5s;
}

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

.hero-content .btn-outline-success {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.hero-content .btn-outline-success:hover {
    background: var(--white);
    color: var(--primary-green);
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ======== PRODUCT CARDS - MODERN PREMIUM DESIGN ======== */
.product-card {
    background: var(--white);
    border-radius: var(--border-radius);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

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

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.08);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.9) 0%, rgba(102, 187, 106, 0.85) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(2px);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.quick-view-btn {
    background: var(--white);
    color: var(--primary-green);
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(10px);
    opacity: 0;
}

.product-card:hover .quick-view-btn {
    transform: translateY(0);
    opacity: 1;
}

.quick-view-btn:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(0) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.product-card .card-body {
    padding: 1.5rem;
}

.product-card .card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.product-card .card-text {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.product-card .h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--primary-green);
    font-size: 1.25rem;
}

.product-card .badge {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.product-card .card-footer {
    padding: 1rem 1.5rem;
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.product-card .card-footer .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: 50px;
}

/* ======== FEATURE CARDS - MODERN WHITE CARD DESIGN ======== */
.feature-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--box-shadow-card);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(46, 125, 50, 0.08);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--light-green));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

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

.feature-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--light-green) 100%);
    box-shadow: 0 8px 24px rgba(46, 125, 50, 0.3);
    transition: var(--transition);
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(46, 125, 50, 0.1);
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(46, 125, 50, 0.4);
}

.feature-icon i {
    color: var(--white);
    font-size: 2.2rem;
    position: relative;
    z-index: 1;
}

.feature-card h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.feature-card p {
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ======== TESTIMONIALS - MODERN CARD DESIGN ======== */
.testimonial-card {
    background: var(--white);
    border-radius: var(--border-radius);
    transition: var(--transition);
    margin: 0 15px;
    padding: 2.5rem;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 25px;
    font-size: 4rem;
    color: var(--light-green);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

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

.testimonial-card img {
    border: 4px solid var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 90px;
    height: 90px;
    object-fit: cover;
}

.testimonial-card h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.25rem;
}

.testimonial-card small {
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    color: #888;
}

.testimonial-card p {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    font-style: italic;
    margin-top: 1rem;
}

.rating .fa-star {
    color: #ffc107;
    font-size: 0.9rem;
    margin: 0 1px;
}

/* ======== BUYING STEPS - MODERN CARD DESIGN ======== */
.buying-step {
    background: var(--white);
    border-radius: var(--border-radius);
    transition: var(--transition);
    padding: 2.5rem 2rem;
    box-shadow: var(--box-shadow);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.buying-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--light-green));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.buying-step:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-hover);
}

.buying-step:hover::before {
    opacity: 1;
}

.buying-step h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.buying-step p {
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 0;
}

.step-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.buying-step:hover .step-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* ======== PROGRESS STEPS ======== */
.step-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.step-item.completed {
    background: rgba(40, 167, 69, 0.1);
    border: 2px solid var(--success-color);
}

.step-item.active {
    background: rgba(255, 193, 7, 0.1);
    border: 2px solid var(--warning-color);
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-weight: bold;
}

.step-item.completed .step-icon {
    background: var(--success-color);
    color: white;
}

.step-item.active .step-icon {
    background: var(--warning-color);
    color: white;
}

.step-item:not(.completed):not(.active) .step-icon {
    background: #e9ecef;
    color: #6c757d;
}

/* ======== SECTION HEADINGS ======== */
section h2.display-5 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

section h2.display-5::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--light-green));
    border-radius: 2px;
}

section .lead {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    color: #666;
    margin-top: 1.5rem;
}

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

section.py-5 {
    padding: 4rem 0;
}
.cart-item {
    transition: var(--transition);
}

.cart-item:hover {
    background: var(--light-gray);
}

/* ======== WHATSAPP FLOAT BUTTON - MODERN DESIGN ======== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25d366 0%, #128C7E 100%);
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 28px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 3px solid var(--white);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
    color: white;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.2);
    animation: pulse-whatsapp 2s ease-out infinite;
}

@keyframes pulse-whatsapp {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* ======== BACK TO TOP BUTTON - MODERN DESIGN ======== */
.back-to-top {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 100px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--light-green) 100%);
    color: white;
    border: none;
    border-radius: 50%;
    text-align: center;
    font-size: 18px;
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
    z-index: 1000;
    display: none;
    transition: var(--transition);
    border: 3px solid var(--white);
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.5);
}

/* ======== NAVIGATION ======== */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--primary-green) !important;
}

.nav-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-green) !important;
}

.nav-link.active {
    color: var(--primary-green) !important;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: var(--primary-green);
    border-radius: 2px;
}

/* ======== BUTTONS ======== */
.btn-success {
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    border: none;
    border-radius: 25px;
    padding: 12px 28px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: var(--transition);
}

.btn-success:hover {
    background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

.btn-outline-success {
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    border-radius: 25px;
    padding: 12px 28px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: var(--transition);
}

.btn-outline-success:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
    transform: translateY(-2px);
}

/* ======== CARDS ======== */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* ======== FORMS ======== */
.form-control, .form-select {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: var(--transition);
}

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

/* ======== ALERTS ======== */
.alert {
    border: none;
    border-radius: var(--border-radius);
    border-left: 4px solid;
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    border-left-color: var(--success-color);
    color: var(--success-color);
}

.alert-warning {
    background: rgba(255, 193, 7, 0.1);
    border-left-color: var(--warning-color);
    color: #856404;
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    border-left-color: var(--danger-color);
    color: var(--danger-color);
}

.alert-info {
    background: rgba(23, 162, 184, 0.1);
    border-left-color: var(--info-color);
    color: #0c5460;
}

/* ======== FOOTER - MODERN DESIGN ======== */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 4rem 0 2rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--light-green));
}

footer h4, footer h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

footer h4::after, footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-green);
    border-radius: 2px;
}

footer p, footer a, footer li {
    font-family: 'Roboto', sans-serif;
    color: #b0b0b0;
    line-height: 1.8;
}

footer a {
    color: #adb5bd;
    transition: var(--transition);
    text-decoration: none;
}

footer a:hover {
    color: var(--light-green);
    padding-left: 5px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: white;
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
}

/* ======== RESPONSIVE - MOBILE OPTIMIZATIONS ======== */
@media (max-width: 991px) {
    section {
        padding: 3rem 0;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .buying-step {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
        padding-top: 40px;
        padding-bottom: 30px;
    }

    .hero-content h1 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        line-height: 1.3;
    }
    
    .hero-content .lead {
        font-size: 1.1rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-content .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .hero-content .d-flex {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .hero-content .btn {
        width: 100%;
        text-align: center;
    }
    
    section h2.display-5 {
        font-size: 1.6rem;
    }
    
    .feature-card {
        margin-bottom: 1.5rem;
    }
    
    .product-card {
        margin-bottom: 1.5rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 22px;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 80px;
        right: 20px;
        font-size: 16px;
    }
    
    .testimonial-card {
        padding: 1.5rem;
        margin: 0 10px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
    }
    
    .feature-icon i {
        font-size: 1.8rem;
    }
    
    .step-icon {
        width: 65px;
        height: 65px;
    }
    
    .step-icon i {
        font-size: 1.5rem;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ======== LOADING SPINNER ======== */
.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-green);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

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

/* ======== OTP VERIFICATION STYLES ======== */
.otp-verification-section {
    background: linear-gradient(135deg, #f2fbf5 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e8f5e9;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.otp-verification-section.active {
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.1);
}

.otp-inputs-group {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.otp-inputs-group .form-control,
.otp-inputs-group .btn {
    flex: 1;
    min-height: 40px;
}

.otp-inputs-group #otp_input {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 4px;
    text-align: center;
    font-family: 'Courier New', monospace;
}

.otp-inputs-group #otp_input::placeholder {
    letter-spacing: 8px;
    opacity: 0.5;
}

.otp-inputs-group #verify_otp_btn {
    min-width: 120px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.otp-inputs-group #verify_otp_btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.otp-inputs-group #verify_otp_btn:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

.otp-status-message {
    padding: 10px 12px;
    border-radius: 8px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.otp-status-message.success {
    border-left: 4px solid #4CAF50;
    background-color: #f1f8f1;
    color: #2e7d32;
}

.otp-status-message.error {
    border-left: 4px solid #ef4444;
    background-color: #fef2f2;
    color: #991b1b;
}

.otp-status-message.info {
    border-left: 4px solid #3b82f6;
    background-color: #f0f9ff;
    color: #1e40af;
}

.otp-status-message i {
    font-size: 16px;
}

.otp-verified-status {
    display: None;
    padding: 12px;
    background-color: #f1f8f1;
    border: 1px solid #4CAF50;
    border-radius: 8px;
    color: #2e7d32;
    font-weight: 600;
    text-align: center;
}

.otp-verified-status i {
    margin-right: 8px;
    font-size: 18px;
}

#resend_otp_btn {
    color: #2e7d32 !important;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

#resend_otp_btn:hover:not(:disabled) {
    color: #1b5e20 !important;
    text-decoration: underline;
}

#resend_otp_btn:disabled {
    color: #9e9e9e !important;
    cursor: not-allowed;
    opacity: 0.6;
}

#resend_timer {
    font-size: 12px;
    color: #ef4444;
    font-weight: 600;
    margin-left: 4px;
}

#dev_otp_display {
    background-color: #fff3cd !important;
    border: 1px solid #ffc107 !important;
    border-left: 4px solid #ff9800 !important;
    padding: 12px !important;
    border-radius: 6px;
}

#dev_otp_display code {
    background-color: #fff8e1;
    padding: 4px 8px;
    border-radius: 4px;
    color: #ff9800;
    font-weight: 700;
    font-size: 14px;
}

#send_otp_btn {
    white-space: nowrap;
    min-width: 140px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#send_otp_btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

#send_otp_btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-control:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
}

/* OTP Input Group Styling */
.input-group .form-control,
.input-group .btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile responsiveness for OTP inputs */
@media (max-width: 768px) {
    .otp-inputs-group {
        flex-direction: column;
        gap: 8px;
    }
    
    .otp-inputs-group .form-control,
    .otp-inputs-group .btn {
        width: 100%;
    }
    
    #otp_input {
        letter-spacing: 6px !important;
    }
}

/* ======== PRINT STYLES ======== */
@media print {
    .navbar, .footer, .whatsapp-float, .back-to-top, .btn {
        display: none !important;
    }
    
    .card {
        border: 1px solid #ddd !important;
        box-shadow: none !important;
    }
}
