:root {
    --primary-color: #0075b7;
    --secondary-color: #003963;
    --accent-color: #ff6b6b;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    padding-top: 7px;
    color: var(--dark-color);
    background: #f5f7fa;
}

/* Navbar Styling */
.navbar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 1px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--info-color), var(--secondary-color));
    color: white;
    padding: 80px 5px 0px 0px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   
    background-size: cover;
    opacity: 0.2;
}

.hero-text h1 {
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-text h2 {
    font-weight: 600;
    margin-bottom: 20px;
}

.hero .btn-primary {
    background-color: #fff;
    color: var(--primary-color);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hero .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

/* Products Section */
.products {
    padding: 80px 0;
}

.product-card {
    border-radius: 10px;
    border: none;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

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

.product-card .card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 15px;
    border-bottom: none;
    display: flex;
    align-items: center;
}

.product-icon {
    font-size: 24px;
    margin-right: 15px;
}

.price-tag {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    margin-top: 10px;
}

.view-details {
    width: 100%;
}

/* Features Section */
.features {
    padding: 80px 0;
}

.feature-card {
    background: white;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

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

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

/* Comments Section */
.comments {
    padding: 80px 0;
}

.comment-card {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.comment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.comment-body {
    padding-left: 10px;
    border-left: 3px solid #f1f1f1;
}

/* Admin Replies */
.admin-replies {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #e0e0e0;
}

.admin-reply {
    background-color: rgba(78, 84, 200, 0.05);
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
    border-left: 3px solid var(--primary-color);
}

.reply-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.admin-avatar {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
}

.reply-body {
    padding-left: 10px;
}

.badge.bg-primary {
    background-color: var(--primary-color) !important;
    font-weight: 500;
    font-size: 0.65rem;
    padding: 0.25em 0.5em;
    vertical-align: middle;
}

/* Contact Section */
.contact {
    padding: 80px 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
}

.contact-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 50px 0 20px;
}

.footer h5 {
    margin-bottom: 20px;
    font-weight: 600;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    color: white;
    font-size: 20px;
    margin-right: 15px;
    transition: all 0.3s ease;
}

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

/* Chat Bot */
.chat-bot-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    font-size: 24px;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(78, 84, 200, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(78, 84, 200, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(78, 84, 200, 0);
    }
}

.chat-bot-toggle:hover {
    transform: scale(1.1);
}

.chat-bot {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
    animation: slideUp 0.3s ease;
}

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

.chat-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h5 {
    margin: 0;
    display: flex;
    align-items: center;
}

.chat-header h5::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #28a745;
    border-radius: 50%;
    margin-right: 8px;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}

.chat-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background-color: #f8f9fa;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23dfe1e5' fill-opacity='0.4' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

.chat-footer {
    padding: 15px;
    display: flex;
    gap: 10px;
    border-top: 1px solid #eee;
    background-color: white;
}

.chat-footer input {
    border-radius: 20px;
    padding-left: 15px;
}

.chat-footer button {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.message {
    margin-bottom: 15px;
    display: flex;
    animation: fadeIn 0.3s ease;
}

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

.user-message {
    justify-content: flex-end;
}

.ai-message {
    justify-content: flex-start;
}

.message-content {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 15px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
}

.user-message .message-content {
    background-color: var(--primary-color);
    color: white;
    border-radius: 15px 15px 0 15px;
}

.ai-message .message-content {
    background-color: white;
    border-radius: 15px 15px 15px 0;
}

.ai-message .message-content::before {
    content: '';
    position: absolute;
    left: -5px;
    bottom: 0;
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 0 0 18px 0;
    z-index: -1;
}

.typing-indicator .message-content {
    background-color: #f1f1f1;
    display: flex;
    align-items: center;
    min-width: 60px;
}

.typing-indicator .message-content p {
    margin: 0;
    display: flex;
}

.typing-indicator .message-content p::after {
    content: '.';
    animation: typing 1s infinite;
    margin-left: 2px;
}

@keyframes typing {
    0%, 33% { content: '.'; }
    34%, 66% { content: '..'; }
    67%, 100% { content: '...'; }
}

.chat-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 15px;
}

.chat-suggestion {
    background-color: rgba(78, 84, 200, 0.1);
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chat-suggestion:hover {
    background-color: rgba(78, 84, 200, 0.2);
}

.chat-minimized {
    position: fixed;
    bottom: 100px;
    right: 30px;
    padding: 10px 15px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
    display: none;
    animation: fadeIn 0.3s ease;
    max-width: 250px;
    cursor: pointer;
}

.chat-minimized p {
    margin: 0;
    font-size: 0.9rem;
}

.chat-notification {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--accent-color);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    font-weight: bold;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-5px);}
    60% {transform: translateY(-3px);}
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1060;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero {
        padding-top: 80px;
        text-align: center;
    }
    
    .hero img {
        margin-top: 40px;
    }
    
    .navbar-collapse {
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        padding: 15px;
        border-radius: 0 0 10px 10px;
    }
}

@media (max-width: 768px) {
    .chat-bot {
        width: 300px;
        right: 10px;
        bottom: 80px;
    }
    
    .chat-bot-toggle {
        right: 20px;
        bottom: 20px;
    }
}
