/* NiksaMart B2B Marketplace Styles */

/* Global Styles */
:root {
    --primary-color: #1a73e8;
    --secondary-color: #ff8c42;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --white-color: #ffffff;
    --gray-color: #6c757d;
    --border-color: #dee2e6;
    --box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

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

a:hover {
    color: #0056b3;
}

.section-title {
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    color: var(--dark-color);
}

.btn {
    border-radius: 4px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0d62d0;
    border-color: #0d62d0;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Header Styles */
header {
    background-color: var(--white-color);
    box-shadow: var(--box-shadow);
}

.navbar {
    padding: 0.75rem 0;
}

.navbar-brand img {
    max-height: 40px;
}

.search-container {
    width: 100%;
    max-width: 600px;
}

.state-select {
    max-width: 150px;
    flex: 0 0 150px;
}

.search-btn {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
}

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

/* Hero Section Styles */
.hero-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    margin-top: 76px;
}

.carousel-item {
    height: 500px;
    background-size: cover;
    background-position: center;
}

.hero-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    color: var(--dark-color);
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons .btn {
    margin: 0 0.5rem;
}

/* Categories Section Styles */
.categories-section {
    padding: 4rem 0;
}

.categories-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 1rem 0;
    gap: 1.5rem;
    scrollbar-width: thin;
}

.categories-container::-webkit-scrollbar {
    height: 6px;
}

.categories-container::-webkit-scrollbar-thumb {
    background-color: var(--gray-color);
    border-radius: 3px;
}

.category-card {
    flex: 0 0 auto;
    width: 150px;
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: 8px;
    background-color: var(--white-color);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.category-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

/* Featured Products Section Styles */
.featured-section {
    background-color: var(--light-color);
    padding: 4rem 0;
}

.product-card {
    background-color: var(--white-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

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

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

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.price {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.seller {
    color: var(--gray-color);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* Process Section Styles */
.process-section {
    padding: 4rem 0;
}

.process-step {
    padding: 2rem 1rem;
    border-radius: 8px;
    background-color: var(--white-color);
    box-shadow: var(--box-shadow);
    height: 100%;
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.process-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.process-step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.process-step p {
    color: var(--gray-color);
}

/* Testimonials Section Styles */
.testimonials-section {
    background-color: var(--light-color);
    padding: 4rem 0;
}

.testimonial-card {
    background-color: var(--white-color);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    margin: 0 auto;
    max-width: 800px;
}

.testimonial-content p {
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-content p::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    left: -20px;
    top: -20px;
    opacity: 0.1;
    color: var(--primary-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.testimonial-author h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

.testimonial-author p {
    color: var(--gray-color);
    margin: 0;
}

/* Why Choose Section Styles */
.why-choose-section {
    padding: 4rem 0;
}

.feature-card {
    padding: 2rem 1.5rem;
    border-radius: 8px;
    background-color: var(--white-color);
    box-shadow: var(--box-shadow);
    height: 100%;
    transition: var(--transition);
}

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

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gray-color);
}

/* Footer Styles */
.footer-section {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 4rem 0 2rem;
}

.footer-section h5 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white-color);
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white-color);
    padding-left: 5px;
}

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

.footer-contact li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.footer-contact li i {
    margin-right: 0.75rem;
    color: var(--secondary-color);
}

.social-icons {
    margin-top: 1.5rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 0.75rem;
    color: var(--white-color);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.newsletter .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white-color);
}

.newsletter .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter .btn {
    padding: 0.375rem 0.75rem;
}

/* Floating WhatsApp Button */
.float-whatsapp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: var(--white-color);
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.float-whatsapp:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: var(--white-color);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .carousel-item {
        height: 400px;
    }
    
    .search-container {
        margin: 1rem 0;
    }
}

@media (max-width: 767.98px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .carousel-item {
        height: 350px;
    }
    
    .hero-buttons .btn {
        margin-bottom: 0.5rem;
    }
    
    .process-step, .feature-card {
        margin-bottom: 1.5rem;
    }
    
    .float-whatsapp {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
}

@media (max-width: 575.98px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .carousel-item {
        height: 300px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .category-card {
        width: 120px;
    }
}