/* ===== DIESEL TRADER PRO - PROFESSIONAL STYLING ===== */

/* CSS Variables for Consistent Theming */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #06b6d4;
    
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    
    --border-radius: 0.5rem;
    --border-radius-lg: 0.75rem;
    --transition: all 0.15s ease-in-out;
}

/* ===== CUSTOM HAMBURGER MENU ===== */
.custom-toggler {
    border: none !important;
    padding: 0.375rem 0.75rem;
    background: transparent !important;
}

.custom-toggler:focus {
    box-shadow: none !important;
}

.custom-toggler-icon {
    display: flex;
    flex-direction: column;
    width: 1.5rem;
    height: 1.125rem;
    position: relative;
}

.custom-toggler-icon span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #475569;
    margin: 0.125rem 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Animation when menu is open */
.custom-toggler[aria-expanded="true"] .custom-toggler-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.custom-toggler[aria-expanded="true"] .custom-toggler-icon span:nth-child(2) {
    opacity: 0;
}

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

/* ===== GLOBAL STYLES ===== */
html {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    line-height: 1.6;
    color: #1D1F23 !important;
    background-color: #FFFFFF !important;
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

/* ===== MOBILE RESPONSIVENESS ===== */
* {
    box-sizing: border-box;
    max-width: 100% !important;
}

.container, .container-fluid {
    padding-left: 3rem !important;
    padding-right: 3rem !important;
}

/* Desktop section padding for all main sections */
@media (min-width: 769px) {
    section, .hero-section, .main-content-section, .feature-section, 
    .buyers-section, .sellers-section, .global-reach-section,
    .kpler-section, .how-it-works-section, .blog-section, 
    footer, .footer-section {
        padding-left: 3rem !important;
        padding-right: 3rem !important;
    }
    
    /* Specific content areas that need desktop padding */
    .row, .col-lg-6, .col-lg-4, .col-lg-8, .col-lg-5, .col-lg-7 {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
    

}

@media (max-width: 768px) {
    .container, .container-fluid {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
        max-width: 100% !important;
    }
    
    /* Ensure no horizontal overflow */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
    }
    
    /* Mobile padding for all sections */
    section {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    
    /* Mobile card adjustments */
    .card, .kpler-card {
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-radius: 0.5rem !important;
    }
    
    /* Mobile text sizing */
    .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
        font-size: calc(1.5rem + 1.5vw) !important;
        line-height: 1.2 !important;
    }
    
    h1 {
        font-size: 1.75rem !important;
    }
    
    h2 {
        font-size: 1.5rem !important;
    }
    
    h3 {
        font-size: 1.25rem !important;
    }
    
    /* Mobile button adjustments */
    .btn {
        width: 100% !important;
        margin-bottom: 0.5rem !important;
        padding: 0.75rem 1rem !important;
    }
    
    .btn-group .btn {
        width: auto !important;
    }
    
    /* Mobile navigation */
    .navbar {
        padding: 0.5rem 1rem !important;
    }
    
    .navbar-brand {
        font-size: 1.25rem !important;
    }
    
    /* Mobile forms */
    .form-control, .form-select {
        padding: 0.75rem !important;
        font-size: 16px !important; /* Prevents zoom on iOS */
    }
    
    /* Larger mobile select dropdowns */
    .form-select {
        font-size: 18px !important;
        padding: 1rem !important;
        min-height: 50px !important;
    }
    
    /* Prevent zoom on input focus */
    input[type="text"], input[type="email"], input[type="password"], 
    input[type="tel"], input[type="url"], textarea, select {
        font-size: 16px !important;
    }
    
    /* Mobile spacing */
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .py-4 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .py-3 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    
    /* Mobile margins */
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    
    .mb-4 {
        margin-bottom: 1.5rem !important;
    }
    
    /* Mobile grid adjustments */
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .col-lg-6, .col-lg-5, .col-lg-4, .col-lg-3, .col-lg-8, .col-lg-7 {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    
    /* Mobile hero and content sections */
    .hero-section {
        padding: 60px 0.75rem !important;
    }
    
    .main-content-section {
        padding: 60px 0.75rem !important;
    }
    
    /* Mobile font sizes */
    .hero-section h1 {
        font-size: 2rem !important;
    }
    
    .hero-section p {
        font-size: 1.1rem !important;
    }
    
    /* Mobile icon adjustments */
    .hero-section div[style*="width: 120px"] {
        width: 80px !important;
        height: 80px !important;
    }
    
    .hero-section i {
        font-size: 2rem !important;
    }
    
    /* Mobile card adjustments */
    div[style*="padding: 50px"] {
        padding: 30px 20px !important;
    }
    
    div[style*="padding: 40px"] {
        padding: 25px 15px !important;
    }
    
    div[style*="padding: 30px"] {
        padding: 20px 15px !important;
    }
    
    /* Mobile overflow prevention */
    .row, .row > *, .col-*, [class*="col-"] {
        overflow-x: hidden !important;
    }
    
    /* Prevent all horizontal scrolling */
    *, html, body, .container, .container-fluid, .row, [class*="col-"] {
        overflow-x: hidden !important;
        max-width: 100% !important;
    }
    
    /* Ensure all sections and divs don't overflow */
    section, div, main, article {
        overflow-x: hidden !important;
        max-width: 100% !important;
    }
    
    /* Specifically target feature cards and content */
    .kpler-card, .feature-card, .card {
        overflow: hidden !important;
        max-width: 100% !important;
        word-wrap: break-word !important;
    }
    
    /* Mobile table responsiveness */
    .table-responsive {
        border: none !important;
        overflow-x: auto !important;
    }
    
    /* Remove scrollbars from cards and sections */
    .card, .kpler-card, section, div[style*="background"] {
        overflow-x: hidden !important;
    }
    
    /* Ensure proper width constraints */
    .container, .container-fluid {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
    
    /* Fix specific homepage cards and sections */
    .kpler-feature-card, .feature-card, .kpler-card {
        overflow: hidden !important;
        max-width: 100% !important;
    }
    
    /* Fix row and column overflow */
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        overflow-x: hidden !important;
        max-width: 100% !important;
    }
    
    .col-lg-4, .col-lg-6, .col-md-6, .col-12 {
        padding-left: 0.375rem !important;
        padding-right: 0.375rem !important;
        overflow-x: hidden !important;
        max-width: 100% !important;
    }
    
    /* Force all Bootstrap containers to behave */
    .container-xxl, .container-xl, .container-lg, .container-md, .container-sm {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    
    /* Absolutely prevent any horizontal scrolling on ALL elements */
    *, *::before, *::after {
        overflow-x: hidden !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Force viewport width constraints */
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        position: relative !important;
    }
    
    /* Bootstrap row/column strict rules */
    .container, .container-fluid {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    
    /* Card and section overflow prevention */
    section, div, main, article, .card, .kpler-card {
        overflow-x: hidden !important;
        max-width: 100% !important;
        word-wrap: break-word !important;
    }
    
    /* Allow overflow for feature icons with badges */
    .feature-icon, .feature-card .feature-icon {
        overflow: visible !important;
        position: relative !important;
    }
    
    /* Ensure feature cards allow badge overflow */
    .feature-card {
        overflow: visible !important;
        position: relative !important;
    }
    
    /* Container for feature icons needs visible overflow */
    .feature-item {
        overflow: visible !important;
        position: relative !important;
    }
    
    /* Specific styles for preventing badge cutoff */
    .col-md-4, .col-lg-6 {
        overflow: visible !important;
    }
    
    /* Trust features section */
    .trust-features {
        overflow: visible !important;
    }
    
    .trust-features .row {
        overflow: visible !important;
    }
    
    .trust-features .col-md-4 {
        overflow: visible !important;
        position: relative !important;
    }
    
    /* Premium features section */
    .row.g-4 {
        overflow: visible !important;
    }
    
    /* For any element with a badge positioning */
    [style*="position: absolute; top: -8px; right: -8px"] {
        z-index: 10 !important;
    }
    
    /* Mobile specific adjustments for badge visibility */
    .feature-item {
        padding-top: 1rem !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    /* Trust features section mobile spacing */
    .trust-features .col-md-4 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    /* Trust features container spacing */
    .trust-features {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
        overflow: visible !important;
    }
    
    /* Feature items with badges need extra top spacing */
    .trust-features .feature-item {
        padding-top: 1.5rem !important;
        overflow: visible !important;
        position: relative !important;
    }
    
    /* Trust feature icons need more margin */
    .trust-features .feature-icon {
        margin-top: 1.5rem !important;
        margin-bottom: 2rem !important;
        overflow: visible !important;
    }
    
    /* CTA sections (I'm a Buyer / I'm a Seller) mobile fixes */
    .cta-section {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
        overflow: visible !important;
    }
    
    .cta-section .col-lg-6 {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
        overflow: visible !important;
    }
    
    /* CTA icon containers */
    .cta-section .feature-icon,
    .cta-section [style*="width: 120px; height: 120px"],
    .cta-section [style*="width: 100px; height: 100px"] {
        overflow: visible !important;
        margin-left: auto !important;
        margin-right: auto !important;
        position: relative !important;
    }
    
    /* Ensure CTA icons are not clipped */
    .cta-section .row {
        overflow: visible !important;
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    
    /* Buyer/Seller sections - force icon visibility */
    .kpler-card {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
        overflow: visible !important;
    }
    
    .icon-feature {
        overflow: visible !important;
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    /* Any section containing buyer/seller content */
    .container [style*="width: 60px; height: 60px"] {
        overflow: visible !important;
        margin: 1rem auto !important;
    }
    
    /* General icon containers that might be cut off */
    [style*="border-radius: 12px"][style*="display: flex"] {
        overflow: visible !important;
        position: relative !important;
    }
    
    /* Additional mobile spacing for all sections with large icons */
    .col-lg-5, .col-lg-6 {
        overflow: visible !important;
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    /* Enhanced mobile styling for buyer/seller icons */
    @media (max-width: 768px) {
        .icon-feature {
            width: 80px !important;
            height: 80px !important;
            margin: 1.5rem auto !important;
            box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
        }
        
        .icon-feature svg {
            width: 40px !important;
            height: 40px !important;
        }
        
        .kpler-card .d-flex {
            flex-direction: column !important;
            text-align: center !important;
        }
        
        .kpler-card .me-3 {
            margin-right: 0 !important;
            margin-bottom: 1rem !important;
        }
        
        .kpler-card h4 {
            font-size: 1.4rem !important;
            margin-bottom: 1rem !important;
        }
    }
    
    /* Premium features section mobile spacing */
    .col-lg-6 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    /* Additional margin for feature icons to prevent badge cutoff */
    .feature-icon {
        margin-top: 1rem !important;
        margin-bottom: 2rem !important;
    }
    
    /* Specific spacing for cards with badges */
    .feature-card {
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
        padding-top: 3rem !important;
    }
    
    /* Mobile logo adjustments */
    .navbar-brand {
        font-size: 1.25rem !important;
    }
    
    .navbar-brand img {
        height: 24px !important;
        width: auto !important;
        display: block !important;
    }
    
    /* Hide text fallback on mobile */
    .navbar-brand span {
        display: none !important;
    }
    
    /* Ensure logo displays correctly on mobile */
    .navbar-brand {
        display: flex !important;
        align-items: center !important;
    }
    
    /* Text overflow handling */
    h1, h2, h3, h4, h5, h6, p, span, li {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        overflow-x: hidden !important;
    }
    
    /* Media content constraints */
    img, svg, video {
        max-width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
    }
    
    /* Prevent text overflow */
    p, h1, h2, h3, h4, h5, h6 {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    /* Mobile form improvements */
    .form-control, .form-select, input, textarea {
        padding: 0.75rem !important;
        font-size: 1rem !important;
    }
    
    /* Mobile footer adjustments */
    footer {
        padding: 1.5rem 0.75rem !important;
    }
    
    footer .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* Enhanced Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 600;
    line-height: 1.3;
    color: #1D1F23 !important;
}

.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 700;
    color: #1D1F23 !important;
}

/* Global text colors for consistency */
.text-secondary-kpler {
    color: #4B5563 !important;
}

.text-highlight {
    color: #FF5B4F !important;
}

/* ===== KPLER-STYLE LIGHT NAVIGATION ===== */
.navbar {
    background: #FFFFFF !important;
    border-bottom: 1px solid #E5E7EB !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
}

/* Professional Navigation Links */
.navbar-nav .nav-link {
    font-weight: 500;
    color: #6B7280 !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
    font-size: 14px;
}

.navbar-nav .nav-link:hover {
    color: #FF5B4F !important;
}

.navbar-nav .nav-link.active {
    color: #FF5B4F !important;
    font-weight: 600;
}

/* Login Button in Navbar */
.navbar-nav .nav-link.btn-kommodex-primary {
    margin-left: 1rem;
    border-radius: 0.5rem;
    color: #FFFFFF !important;
    background-color: #FF5B4F !important;
    text-decoration: none !important;
}

.navbar-nav .nav-link.btn-kommodex-primary:hover {
    color: #FFFFFF !important;
    background-color: #E04B40 !important;
    text-decoration: none !important;
}
    font-size: 1.5rem;
    color: #1D1F23 !important;
    transition: opacity 0.3s ease;
}

.navbar-brand:hover {
    opacity: 0.8;
    color: #1D1F23 !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.75rem 1rem !important;
    color: #6B7280 !important;
}

.navbar-nav .nav-link:hover {
    color: #1D1F23 !important;
    background-color: #F7F8FA;
    border-radius: 0.5rem;
}

.navbar-toggler {
    border: none;
    padding: 0.2rem 0.5rem;
}

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

/* Mobile Login Button */
.btn-kommodex-primary {
    background-color: #FF5B4F;
    color: white !important;
    border: none;
    padding: 8px 16px;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-kommodex-primary:hover {
    background-color: #E04B40;
    color: white !important;
    text-decoration: none;
    transform: translateY(-1px);
}

.badge {
    background-color: #FF5B4F !important;
    color: #FFFFFF !important;
}

.badge.bg-warning {
    background-color: #f59e0b !important;
    color: #000000 !important;
}

.badge.bg-success {
    background-color: #10b981 !important;
    color: #FFFFFF !important;
}

/* Kpler-Style Light Dropdown */
.dropdown-menu {
    border: 1px solid #E5E7EB;
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0 !important;
    background: #FFFFFF;
}

/* Fix dropdown hover issue by removing gap and improving hover area */
.dropdown {
    position: relative;
}

/* Create seamless connection between trigger and dropdown */
.nav-item.dropdown {
    position: relative;
}

.nav-item.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 5px;
    background: transparent;
    z-index: 1000;
}

/* Ensure dropdown appears immediately below the trigger */
.dropdown-menu {
    top: 100% !important;
    left: auto !important;
    right: 0 !important;
    transform: none !important;
    min-width: 200px;
    z-index: 1001;
}

/* Bootstrap dropdown toggle hover fix */
.dropdown-toggle::after {
    margin-left: 0.5em;
}

/* Improve hover behavior */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu:hover {
    display: block;
}

.dropdown-item {
    padding: 0.7rem 1.5rem;
    transition: background-color 0.2s ease;
    font-weight: 500;
    color: #1D1F23;
}

.dropdown-item:hover {
    background-color: #F7F8FA;
    color: #FF5B4F;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* ===== CARD ENHANCEMENTS ===== */
.card {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    background-color: white;
}

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

.card-header {
    border-bottom: 1px solid var(--gray-200);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0 !important;
    background-color: white;
    padding: 1.25rem 1.5rem;
    font-weight: 600;
}

.card-header.bg-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
    border-bottom: none;
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    background-color: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg) !important;
    padding: 1.25rem 1.5rem;
}

/* ===== OFFER CARDS ===== */
.offer-card {
    transition: var(--transition);
    height: 100%;
}

.offer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 10px 10px -5px rgb(0 0 0 / 0.04);
}

.offer-card .card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.offer-card .specifications {
    background-color: var(--gray-50);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin: 1rem 0;
}

.offer-card .delivery-info {
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
    background-color: var(--gray-50);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    margin: 1rem 0;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* ===== FEATURE CARDS ===== */
.feature-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.feature-icon {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    border-radius: 50%;
    display: inline-block;
    margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1e40af 100%);
    box-shadow: var(--shadow);
    transform: translateY(-1px);
}

.btn-success {
    background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
}

.btn-warning {
    background: linear-gradient(135deg, var(--warning-color) 0%, #d97706 100%);
}

.btn-info {
    background: linear-gradient(135deg, var(--info-color) 0%, #0891b2 100%);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: var(--border-radius-lg);
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

/* ===== FORM ENHANCEMENTS ===== */
.form-control, .form-select {
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    transition: var(--transition);
    font-weight: 500;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

.form-label {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.invalid-feedback {
    font-weight: 500;
}

.form-text {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* ===== ALERTS ===== */
.alert {
    border: none;
    border-radius: var(--border-radius-lg);
    padding: 1.25rem 1.5rem;
    border-left: 4px solid;
    font-weight: 500;
}

.alert-success {
    background-color: #f0fdf4;
    color: #166534;
    border-left-color: var(--success-color);
}

.alert-warning {
    background-color: #fffbeb;
    color: #92400e;
    border-left-color: var(--warning-color);
}

.alert-info {
    background-color: #f0f9ff;
    color: #155e75;
    border-left-color: var(--info-color);
}

.alert-danger {
    background-color: #fef2f2;
    color: #991b1b;
    border-left-color: var(--danger-color);
}

/* ===== BADGES ===== */
.badge {
    font-weight: 600;
    padding: 0.5em 0.75em;
    border-radius: var(--border-radius);
}

/* ===== TABLES ===== */
.table {
    background-color: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.table th {
    background-color: var(--gray-50);
    border-bottom: 2px solid var(--gray-200);
    font-weight: 600;
    color: var(--gray-700);
    padding: 1rem;
}

.table td {
    padding: 1rem;
    vertical-align: middle;
}

/* ===== STATISTICS ===== */
.stat-item {
    padding: 2rem 1rem;
    text-align: center;
    transition: var(--transition);
    border-radius: var(--border-radius-lg);
}

.stat-item:hover {
    background-color: white;
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

/* ===== PAGINATION ===== */
.pagination .page-link {
    border: 2px solid var(--gray-300);
    color: var(--gray-600);
    font-weight: 500;
    padding: 0.75rem 1rem;
    margin: 0 0.125rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.pagination .page-link:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-color: var(--primary-color);
}

/* ===== PROGRESS BARS ===== */
.progress {
    background-color: var(--gray-200);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    transition: width 0.6s ease;
}

/* ===== FOOTER ===== */
.footer {
    background-color: #2D3748;
    border-top: none;
    padding: 40px 0 15px;
    margin-top: 80px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-logo {
    font-size: 26px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 25px;
    text-align: center;
}

.footer-logo-img {
    height: 40px;
    filter: brightness(0) saturate(100%) invert(48%) sepia(79%) saturate(2476%) hue-rotate(346deg) brightness(104%) contrast(97%);
    /* This filter converts the black logo to orange (#FF5B4F) */
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    color: #FF5B4F !important;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    position: relative;
    padding-left: 15px;
}

.footer-column h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background-color: #FF5B4F;
    border-radius: 2px;
}

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

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #B8C5D1;
}

.footer-column a.protected-link:hover {
    color: #B8C5D1;
}

.footer-bottom {
    border-top: 1px solid #5A6B7D;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #FFFFFF;
}

.footer-bottom a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #B8C5D1;
}

/* Footer responsive improvements */
@media (max-width: 768px) {
    .footer {
        padding: 20px 0 15px;
    }
    
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-logo {
        font-size: 24px;
        margin-bottom: 25px;
        text-align: center;
    }
    
    .footer-column h4 {
        padding-left: 15px;
        text-align: left;
        display: block;
        position: relative;
    }
    
    .footer-column h4::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 3px;
        height: 20px;
        background-color: #FF5B4F;
        border-radius: 2px;
    }
}

@media (max-width: 480px) {
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .footer-column {
        text-align: left;
    }
    
    .footer-column ul {
        text-align: left;
    }
    
    .footer-container {
        padding: 0 10px;
    }
    
    .footer-column h4 {
        padding-left: 15px;
        text-align: left;
        display: block;
        position: relative;
    }
    
    .footer-column h4::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 3px;
        height: 20px;
        background-color: #FF5B4F;
        border-radius: 2px;
    }
}

/* ===== LIST GROUPS ===== */
.list-group-item {
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    padding: 1rem 1.25rem;
}

.list-group-item:hover {
    background-color: var(--gray-50);
    border-color: var(--primary-color);
}

.list-group-item:first-child {
    border-top-left-radius: var(--border-radius-lg);
    border-top-right-radius: var(--border-radius-lg);
}

.list-group-item:last-child {
    border-bottom-left-radius: var(--border-radius-lg);
    border-bottom-right-radius: var(--border-radius-lg);
}

/* ===== BREADCRUMBS ===== */
.breadcrumb {
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-sm);
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.breadcrumb-item a:hover {
    color: var(--primary-dark);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero-section .display-4 {
        font-size: 2.5rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem 0.5rem;
    }
    
    .feature-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section .display-4 {
        font-size: 2rem;
    }
    
    .offer-card .specifications,
    .offer-card .delivery-info {
        margin: 0.75rem 0;
        padding: 0.75rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .card-header,
    .card-body,
    .card-footer {
        padding: 1rem;
    }
}

/* ===== LOADING STATES ===== */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* ===== UTILITY CLASSES ===== */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.border-gradient {
    border: 2px solid;
    border-image: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) 1;
}

.shadow-custom {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

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

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

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

.pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .btn,
    footer {
        display: none !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid var(--gray-300) !important;
    }
    
    body {
        background-color: white !important;
        color: black !important;
    }
}

/* ===== ACCESSIBILITY ENHANCEMENTS ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0000ff;
        --success-color: #008000;
        --warning-color: #ff8c00;
        --danger-color: #ff0000;
    }
}

/* ===== HERO SECTION ===== */
.hero-kpler {
    background: #FFFFFF;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 700 !important;
    color: #1D1F23 !important;
    letter-spacing: -0.025em !important;
    line-height: 1.2 !important;
}

.hero-description {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    color: #4B5563 !important;
    line-height: 1.6 !important;
}

/* Responsive hero text */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem !important;
    }
    
    .hero-description {
        font-size: 1rem !important;
    }
}

/* ===== CTA BUTTONS (HERO SECTION) ===== */
.btn-cta-primary {
    background-color: #FF5B4F !important;
    border: none;
    color: #FFFFFF !important;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 50px !important; /* rounded-full equivalent */
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 2px 4px rgba(255, 91, 79, 0.2);
}

.btn-cta-primary:hover {
    background-color: #E04B40 !important;
    color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 91, 79, 0.3);
    text-decoration: none;
}

.btn-cta-primary:focus {
    box-shadow: 0 0 0 3px rgba(255, 91, 79, 0.25);
    outline: none;
}
