/* Tiba International Theme Styles */
:root {
    --primary-color: #2f2f96; /* AliExpress/Tiba inspired red */
    --secondary-color: #222;
    --light-bg: #f4f4f4;
    --white: #ffffff;
    --text-muted: #666;
    --border-color: #ddd;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--secondary-color);
    background-color: var(--white);
    margin: 0;
    padding: 0;
}

/* Header */
.top-header {
    background: var(--light-bg);
    padding: 5px 0;
    font-size: 14px;
}

.main-header {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
    font-size: 24px;
}

.search-box .form-control {
    border-radius: 20px 0 0 20px;
    border-color: var(--primary-color);
}

.search-box .btn {
    border-radius: 0 20px 20px 0;
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.nav-link {
    font-weight: 500;
    color: var(--secondary-color) !important;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.page-title-section {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 40px;
}

/* Item Cards (Beautiful Outline UI) */
.item-card {
    border: 1px solid rgba(0,0,0,0.08); /* Subtle Outline */
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    padding: 0;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    height: 100%;
    overflow: hidden;
    position: relative;
}

.item-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(230, 46, 4, 0.1);
    border-color: var(--primary-color); /* Outline turns primary on hover */
}

.item-card .item-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f8f9fa;
    position: relative;
}

.item-card .item-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.4));
}

.item-card .item-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.item-card:hover .item-image-wrapper img {
    transform: scale(1.15);
}

.item-card .item-content {
    padding: 25px;
    background: #fff;
}

.item-card h5 {
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--secondary-color);
    letter-spacing: -0.5px;
}

.item-card p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* Info Card Enhanced */
.info-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: rgba(230, 46, 4, 0.3);
    box-shadow: 0 20px 45px rgba(0,0,0,0.06);
}

/* Why Choose Us Section - V4 (Compact & Clean) */
.compact-feature-section {
    background-color: #fcfcfc;
    padding: 60px 0;
}

.compact-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-box-v4 {
    background: #ffffff;
    padding: 30px 25px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-box-v4:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(230, 46, 4, 0.05);
}

.feature-box-v4 .icon-sm {
    width: 50px;
    height: 50px;
    background: rgba(230, 46, 4, 0.08);
    color: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 20px;
}

.feature-box-v4 h6 {
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--secondary-color);
}

.feature-box-v4 p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .compact-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .compact-feature-grid {
        grid-template-columns: 1fr;
    }
}

.faq-section .card-header {
    background: white;
    border-bottom: none;
    padding: 15px 20px;
}

.faq-section .btn-link {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-align: left;
}

.faq-section .btn-link:hover {
    color: var(--primary-color);
}

/* Info Sections */
.info-section {
    padding: 60px 0;
    background: #fdfdfd;
}

.process-step {
    position: relative;
    padding: 20px;
    text-align: center;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-weight: bold;
    font-size: 18px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    height: 100%;
}

.info-card h5 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .main-header .row {
        text-align: center;
    }
    
    .main-header .col-md-3, 
    .main-header .col-md-6 {
        margin-bottom: 15px;
    }

    .main-header .text-right {
        text-align: center !important;
        justify-content: center !important;
    }

    .top-header .container {
        flex-direction: column;
        text-align: center;
    }

    .top-header .contact-info {
        margin-bottom: 5px;
    }

    .page-title-section {
        padding: 50px 0;
    }

    .page-title-section h1 {
        font-size: 2rem;
    }
}

@media (max-width: 575px) {
    .navbar-brand {
        font-size: 20px;
    }
    
    .search-box .form-control {
        font-size: 14px;
    }
}

footer a {
    color: #ccc;
    text-decoration: none;
}

footer a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    margin-top: 30px;
    font-size: 14px;
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.category-list li a {
    color: #444;
    text-decoration: none;
}

