/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Top Info Bar */
.top-info-bar {
    background: linear-gradient(135deg, #1e293b 0%, #2b2d42 100%);
    color: white;
    padding: 12px 0;
    font-size: 13px;
    border-bottom: 3px solid #d90429;
    position: relative;
    z-index: 1100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.top-contact-item {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: color 0.3s;
}

.top-contact-item:hover {
    color: white;
}

.top-contact-item i {
    color: #d90429;
}

.top-user-menu {
    position: relative;
    z-index: 1100;
}

.top-dropdown-link {
    color: white !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
}

.top-dropdown-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.top-login-btn {
    color: white !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    padding: 6px 20px;
    background: #d90429;
    border-radius: 20px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
}

.top-login-btn:hover {
    background: #b90422;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(217, 4, 41, 0.4);
}

.top-cart-link {
    color: white !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    position: relative;
}

.top-cart-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.cart-badge-top {
    position: absolute;
    top: -5px;
    right: 8px;
    background: #d90429;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    line-height: 1;
}

.top-info-bar .dropdown {
    position: relative;
    z-index: 1100;
}

.top-info-bar .dropdown-menu {
    z-index: 1150 !important;
    position: absolute !important;
    margin-top: 8px;
}

.social-link {
    color: #333;
    margin-left: 15px;
    text-decoration: none;
    transition: color 0.3s;
}

.social-link:hover {
    color: #d90429;
}

/* Main Navigation */
.main-nav {
    background: #2b2d42 !important;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1050;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.brand-super {
    color: #d90429;
}

.brand-cheap {
    color: #fff;
}

.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 16px !important;
    transition: all 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #d90429 !important;
}

/* Dropdown - Show on Hover (Removed to avoid conflict with Bootstrap JS)
.navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeInDown 0.3s ease-in-out;
}
*/

.dropdown-menu {
    border: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 12px 0;
    min-width: 260px;
    margin-top: 0;
    background: white;
    border-top: 3px solid #d90429;
}

.dropdown-item {
    padding: 12px 24px;
    font-size: 14px;
    transition: all 0.2s;
    color: #333;
    display: flex;
    align-items: center;
}

.dropdown-item:hover {
    background: linear-gradient(90deg, #d90429 0%, #b90422 100%);
    color: white !important;
    padding-left: 30px;
}

.dropdown-item i {
    font-size: 12px;
    opacity: 0.7;
    transition: all 0.2s;
}

.dropdown-item:hover i {
    opacity: 1;
    transform: translateX(3px);
}

.dropdown-divider {
    margin: 8px 0;
    border-color: #f0f0f0;
}

/* Dropdown Animation */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Quote Button */
.btn-quote {
    background: #d90429;
    color: white !important;
    padding: 8px 24px !important;
    border-radius: 4px;
    margin-left: 10px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-quote:hover {
    background: #b90422;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(217, 4, 41, 0.3);
}

/* Hero Section */
.hero-section-main {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    padding: 80px 0;
}

.hero-content h1 {
    color: #2b2d42;
    line-height: 1.2;
}

.hero-buttons .btn {
    margin-bottom: 10px;
}

.hero-stats h3 {
    font-size: 2rem;
}

.hero-image-wrapper {
    position: relative;
}

/* Category Cards */
.category-card-modern {
    transition: all 0.3s;
    cursor: pointer;
}

.category-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
}

.category-card-modern:hover .category-icon-wrapper i {
    transform: scale(1.1);
}

.category-icon-wrapper i {
    transition: transform 0.3s;
}

/* Product Cards */
.product-card-modern {
    transition: all 0.3s;
    border-radius: 12px;
    overflow: hidden;
}

.product-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
}

.product-img-wrapper {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    padding: 20px;
    position: relative;
}

.product-img-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

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

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
}

/* Process Cards */
.process-card {
    transition: all 0.3s;
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1) !important;
}

.process-number .badge {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Feature Cards */
.feature-card {
    transition: all 0.3s;
}

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

.feature-card:hover .feature-icon i {
    transform: scale(1.1);
}

.feature-icon i {
    transition: transform 0.3s;
}

/* Testimonial Cards */
.testimonial-card {
    transition: all 0.3s;
    border-radius: 12px;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
}

.avatar {
    font-size: 1.2rem;
}

/* SEO Content */
.seo-content h2,
.seo-content h3,
.seo-content h4 {
    color: #2b2d42;
}

.seo-content p {
    color: #666;
    line-height: 1.8;
}

/* Buttons */
.btn-danger {
    background: #d90429;
    border-color: #d90429;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-danger:hover {
    background: #b90422;
    border-color: #b90422;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(217, 4, 41, 0.3);
}

.btn-outline-danger {
    color: #d90429;
    border-color: #d90429;
    font-weight: 600;
}

.btn-outline-danger:hover {
    background: #d90429;
    border-color: #d90429;
    color: white;
    transform: translateY(-2px);
}

.btn-outline-dark {
    font-weight: 600;
}

.btn-outline-dark:hover {
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #2b2d42;
    color: white;
    padding: 40px 0 20px;
    border-top: 4px solid #d90429;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer a:hover {
    color: white;
}

.footer h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Utilities */
.text-danger {
    color: #d90429 !important;
}

.bg-light {
    background: #f8f9fa !important;
}

.bg-danger {
    background: #d90429 !important;
}

.rounded-3 {
    border-radius: 12px !important;
}

.rounded-4 {
    border-radius: 16px !important;
}

/* Responsive */
@media (max-width: 991px) {
    .navbar-nav {
        margin-top: 15px;
    }

    .btn-quote {
        margin-left: 0;
        margin-top: 10px;
        display: inline-block;
    }

    .hero-section-main {
        padding: 60px 0;
    }

    .hero-stats {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .hero-section-main {
        padding: 40px 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-stats h3 {
        font-size: 1.5rem;
    }

    .display-3 {
        font-size: 2.5rem;
    }

    .display-5 {
        font-size: 2rem;
    }
}

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

/* Section Spacing */
section {
    position: relative;
}

/* Card Hover Effects */
.card {
    transition: all 0.3s ease;
}

/* Form Styling */
.form-control,
.form-select {
    border: 1px solid #dee2e6;
    padding: 12px 16px;
    border-radius: 6px;
    transition: all 0.3s;
}

.form-control:focus,
.form-select:focus {
    border-color: #d90429;
    box-shadow: 0 0 0 0.2rem rgba(217, 4, 41, 0.15);
}

.form-label {
    color: #333;
    margin-bottom: 8px;
}

/* FAQ Section */
.faq-sidebar {
    position: sticky;
}

.faq-category {
    margin-bottom: 2rem;
}

.accordion-item {
    background: white;
    margin-bottom: 12px;
    overflow: hidden;
}

.accordion-button {
    background: white;
    color: #333;
    font-size: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: 12px !important;
}

.accordion-button:not(.collapsed) {
    background: #fff;
    color: #d90429;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23d90429'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 1.25rem 1.5rem;
    color: #666;
    line-height: 1.8;
}

/* Accordion Hover Effect */
.accordion-item:hover {
    transform: translateY(-2px);
    transition: all 0.3s;
}