/* Custom CSS for Bekiabe Trading PLC */

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

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

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

/* Product hover effects */
.product-card {
    transition: all 0.3s ease;
}

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

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

/* Partner cards */
.partner-card {
    transition: all 0.3s ease;
}

.partner-card:hover {
    transform: scale(1.05);
}

/* Loading spinner */
.spinner-border {
    width: 1rem;
    height: 1rem;
}

/* Toast notification styling */
.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1050;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        margin: 5px 0;
    }
}

/* Service icons animation */
.service-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

/* Counter animation */
.counter {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* Category badges */
.category-badge {
    background-color: var(--accent-color);
    color: white;
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Success message styling */
.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

/* Error message styling */
.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

/* Search form styling */
.search-form {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Statistics cards */
.stats-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

/* FAQ section */
.faq-item {
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    background-color: #f8f9fa;
    padding: 15px 20px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #e9ecef;
}

.faq-answer {
    padding: 15px 20px;
    background-color: white;
    display: none;
}

/* CTA section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 10px;
    padding: 60px 40px;
    text-align: center;
}

/* Company structure styling */
.org-chart {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.org-level {
    margin-bottom: 20px;
    text-align: center;
}

.org-box {
    display: inline-block;
    padding: 15px 25px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 8px;
    margin: 5px;
    font-weight: 600;
}

/* Print styles */
@media print {
    .navbar, .footer, .btn, .toast-container {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .card {
        border: 1px solid #ddd !important;
        box-shadow: none !important;
    }
}