/* Modern Color Palette & Variables */
:root {
    --primary-color: #0c4a6e;
    /* Sky 900 - Brand Blue */
    --primary-gradient: linear-gradient(135deg, #0c4a6e 0%, #0284c7 100%);
    --secondary-color: #0ea5e9;
    /* Sky 500 */
    --accent-color: #f43f5e;
    /* Rose 500 */
    --dark-bg: #0f172a;
    /* Slate 900 */
    --light-bg: #f8fafc;
    /* Slate 50 */
    --card-bg: #ffffff;
    --text-primary: #334155;
    /* Slate 700 - Softer than 800 */
    --text-secondary: #64748b;
    /* Slate 500 */
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow-sm: 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);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius-lg: 0.75rem;
    /* Slightly sharper for professional look */
    --radius-xl: 1rem;
}

.product-card .card-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    height: 100%;
}

.product-card .card-body .btn {
    margin-top: auto;
}

/* Global Styles */
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background-color: var(--light-bg);
    line-height: 1.7;
    /* Increased line height for readability */
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    /* Slightly reduced weight for elegance */
    color: var(--dark-bg);
    letter-spacing: -0.02em;
}

/* Bootstrap Overrides */
.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #075985; /* Sky 800 */
    border-color: #075985;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Navbar Styling */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
    padding: 0.25rem 0;
}

.navbar-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 0;
    padding-bottom: 0;
}

.navbar-brand img {
    height: 80px;
    width: auto;
}

.nav-link {
    font-weight: 500;
    color: var(--text-primary) !important;
    position: relative;
    padding: 0.5rem 1rem !important;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    /* More professional radius */
    font-weight: 500;
    box-shadow: var(--shadow-md);
    transition: all 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
    background: #075985;
    /* Sky 800 */
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    padding: 0.75rem 2rem;
    font-weight: 500;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, rgba(67, 56, 202, 0.05), rgba(14, 165, 233, 0.08));
}

.page-hero {
    padding: 3.5rem 0 2.5rem;
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.05), rgba(255, 255, 255, 0));
    border-bottom: 1px solid #e2e8f0;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-hero p {
    max-width: 720px;
    color: var(--text-secondary);
    margin: 0;
}

.section-padding {
    padding: 4rem 0;
}

.hero-bg-shape {
    position: absolute;
    width: 820px;
    height: 820px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(0.5px);
}

.hero-shape-1 {
    top: -250px;
    right: -250px;
}

.hero-shape-2 {
    bottom: -300px;
    left: -200px;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: var(--dark-bg);
}

.hero-title span {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin: 0 auto 1.75rem;
    max-width: 640px;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-color);
    background: rgba(79, 70, 229, 0.08);
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
    margin-bottom: 1rem;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.hero-tag {
    background: rgba(14, 165, 233, 0.12);
    color: #0c4a6e;
    border: 1px solid rgba(14, 165, 233, 0.2);
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-cta .btn {
    border-radius: 999px;
    padding: 0.75rem 1.75rem;
}

.hero-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-top: 2.5rem;
}

.hero-meta-card {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-lg);
    background: white;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
}

.hero-meta-card h4 {
    font-size: 1.75rem;
    margin-bottom: 0.2rem;
}

.hero-meta-card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.section-heading {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto 2rem;
}

.about-description {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.pill-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.info-item {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}

.info-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(14, 165, 233, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0369a1;
    font-size: 1.1rem;
}

.info-item-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-bg);
}

.info-item-text {
    margin-bottom: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.slider-controls button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(14, 165, 233, 0.4);
    background: white;
    color: #0369a1;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.slider-controls button:hover {
    background: #0369a1;
    color: white;
}

.quote-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(14, 165, 233, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0369a1;
    font-size: 1.4rem;
}

.testimonial-quote {
    font-size: 1rem;
    color: var(--text-secondary);
}

.testimonial-author {
    font-weight: 600;
    color: var(--dark-bg);
}

.chips-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.chip {
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(100, 116, 139, 0.12);
    color: #475569;
    font-size: 0.85rem;
}

.cta-card {
    border-radius: var(--radius-xl);
    padding: 3rem;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(79, 70, 229, 0.12));
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.cta-card .btn {
    border-radius: 999px;
    padding: 0.85rem 1.75rem;
    font-weight: 600;
}

.badge-soft-primary {
    background: rgba(67, 56, 202, 0.12);
    color: #4338ca;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    font-size: 0.85rem;
}

.badge-soft-secondary {
    background: rgba(14, 165, 233, 0.15);
    color: #0369a1;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    font-size: 0.85rem;
}

.tag-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.tag-card {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-lg);
    background: white;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tag-card i {
    color: #0369a1;
    font-size: 1.2rem;
}

.scroll-container::-webkit-scrollbar {
    display: none;
}

.scroll-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
    overflow-x: auto;
    overflow-y: hidden;
}

/* Cards */
.card {
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    background: var(--card-bg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.card-img-top {
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid #f1f5f9;
}

.product-card .card-body,
.vendor-card .card-body {
    padding: 1.5rem;
}

.product-card .card-title,
.vendor-card .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark-bg);
}

.badge-custom {
    background: #e0f2fe;
    /* Sky 100 */
    color: #0284c7;
    /* Sky 600 */
    padding: 0.35em 0.8em;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.025em;
}

.card.gradient-card {
    background: linear-gradient(135deg, #4338ca, #312e81);
    border: none;
    color: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.card.gradient-card .badge {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    padding: 0.35rem 1rem;
    font-weight: 500;
}

.card.gradient-card .list-check li {
    color: rgba(255, 255, 255, 0.9);
}

.card.gradient-card .list-check i {
    color: #a5b4fc;
}

.usp-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.usp-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.9);
}

.usp-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bfdbfe;
    font-size: 1.2rem;
}

.usp-text {
    font-size: 0.95rem;
    margin: 0;
}

.usp-card {
    padding: 2rem;
}

.usp-item:nth-child(1) .usp-icon {
    background: rgba(148, 163, 246, 0.22);
    color: #c7d2fe;
}

.usp-item:nth-child(1) .usp-title {
    color: #e0e7ff;
}

.usp-item:nth-child(1) .usp-text {
    color: rgba(224, 231, 255, 0.85);
}

.usp-item:nth-child(2) .usp-icon {
    background: rgba(45, 212, 191, 0.25);
    color: #5eead4;
}

.usp-item:nth-child(2) .usp-title {
    color: #99f6e4;
}

.usp-item:nth-child(2) .usp-text {
    color: rgba(153, 246, 228, 0.85);
}

.usp-item:nth-child(3) .usp-icon {
    background: rgba(251, 191, 36, 0.2);
    color: #fcd34d;
}

.usp-item:nth-child(3) .usp-title {
    color: #fde68a;
}

.usp-item:nth-child(3) .usp-text {
    color: rgba(253, 230, 138, 0.9);
}

.usp-item:nth-child(4) .usp-icon {
    background: rgba(248, 113, 113, 0.18);
    color: #fda4af;
}

.usp-item:nth-child(4) .usp-title {
    color: #fecdd3;
}

.usp-item:nth-child(4) .usp-text {
    color: rgba(254, 205, 211, 0.9);
}

.about-section .info-list {
    margin-top: 1.75rem;
}

.usp-title {
    font-weight: 600;
    margin: 0 0 0.2rem 0;
}

.filter-card {
    border-radius: var(--radius-lg);
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-sm);
    background: white;
}

.filter-card .form-label {
    font-weight: 600;
    color: var(--text-primary);
}

.vendor-page-grid .vendor-card,
.product-page-grid .product-card {
    height: 100%;
    overflow: hidden;
}

.stats-card {
    text-align: center;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease;
}

.stats-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.stats-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.stats-label {
    color: #94a3b8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: #cbd5e1;
    margin-top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 4rem;
    padding-bottom: 3rem;
}

.footer-title {
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.footer-text {
    color: #cbd5e1;
    font-size: 0.95rem;
}

.footer-links li {
    margin-bottom: 0.4rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: white;
}

.footer-contact li {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.footer-contact i {
    color: #0ea5e9;
    font-size: 1rem;
    margin-top: 0.2rem;
}

.footer-social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    transition: all 0.2s ease;
}

.footer-social-link:hover {
    color: white;
    border-color: #0ea5e9;
    transform: translateY(-2px);
}

.footer-stat-number {
    color: #0ea5e9;
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-stat-label {
    color: #cbd5e1;
    font-size: 0.85rem;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.12);
    opacity: 1;
}

.footer-legal {
    font-size: 0.9rem;
    color: #cbd5e1;
}

.footer-legal a {
    color: #cbd5e1;
    text-decoration: none;
    margin: 0 0.35rem;
}

.footer-legal a:hover {
    color: white;
}

.footer-legal .divider {
    color: #475569;
    margin: 0 0.35rem;
}

/* Chatbot Widget */
.chatbot-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chatbot-toggle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    border: none;
    color: white;
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-toggle:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(79, 70, 229, 0.6);
}

.chatbot-window {
    position: absolute;
    bottom: 85px;
    right: 0;
    width: 400px;
    height: 580px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.chatbot-header {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 24px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.chatbot-header h6 {
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
    scroll-behavior: smooth;
}

.message {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    animation: messageSlide 0.3s ease-out;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.bot-message .message-avatar {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
}

.user-message .message-avatar {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.message-content {
    max-width: 75%;
    padding: 14px 18px;
    border-radius: 18px;
    word-wrap: break-word;
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
}

.bot-message {
    flex-direction: row;
}

.bot-message .message-content {
    background: white;
    border: 1px solid #e2e8f0;
    border-top-left-radius: 6px;
    color: #1e293b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.user-message {
    justify-content: flex-end;
    flex-direction: row-reverse;
}

.user-message .message-content {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    border-bottom-right-radius: 6px;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.default-prompts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

.prompt-button {
    background: white;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 16px;
    text-align: left;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    color: #475569;
    position: relative;
    overflow: hidden;
}

.prompt-button:hover {
    background: #f8fafc;
    border-color: #4f46e5;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
}

.chatbot-input {
    display: flex;
    padding: 18px;
    background: white;
    border-top: 1px solid #e2e8f0;
    gap: 10px;
}

.chatbot-input input {
    flex: 1;
    border-radius: 28px;
    background-color: #f8fafc;
    border: 1.5px solid #e2e8f0;
    padding: 12px 20px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.chatbot-input input:focus {
    background-color: white;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    border-color: #4f46e5;
    outline: none;
}

#chatbot-send {
    width: 44px;
    height: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    border: none;
    transition: all 0.2s ease;
    color: white;
}

#chatbot-send:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

.typing-indicator {
    display: flex;
    gap: 5px;
    padding: 12px 16px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    border-top-left-radius: 6px;
    width: fit-content;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.typing-indicator span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-5px);
        opacity: 1;
    }
}

@media (max-width: 576px) {
    .chatbot-window {
        width: calc(100vw - 40px);
        right: 0;
        left: 20px;
        bottom: 100px;
    }
}
/* Animations */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}