/* -------------------------------------------------------------------------- */
/* SERVICE PAGE SPECIFIC STYLES                         */
/* -------------------------------------------------------------------------- */

/* 1. Sidebar Styles */
.service-sidebar {
    position: sticky;
    top: 100px; /* Stays visible when scrolling */
}

.service-sidebar .widget {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    border-top: 4px solid var(--primary-color);
}

.service-list li {
    margin-bottom: 12px;
}

.service-list a {
    display: block;
    padding: 12px 20px;
    background: #f8f9fa;
    color: #555;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.service-list a:hover, .service-list a.active {
    background: var(--primary-color);
    color: #fff;
    padding-left: 25px;
    border-left-color: var(--secondary-color);
}

/* 2. Service Content Areas */
.service-details h2, .service-details h3 {
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.service-details p {
    margin-bottom: 20px;
    color: #666;
}

/* Checkmark Lists */
.check-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.check-list-grid li {
    position: relative;
    padding-left: 30px;
    color: #555;
    font-weight: 500;
}

.check-list-grid li::before {
    content: '\f00c'; /* FontAwesome Check */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--success-color);
}

/* 3. Pricing Tables (Colorful) */
.comparison-table {
    width: 100%;
    margin-bottom: 30px;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.comparison-table th {
    background: var(--primary-color);
    color: #fff;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    background: #fff;
    color: #555;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:nth-child(even) td {
    background: #f8f9fa;
}

/* -------------------------------------------------------------------------- */
/* 4. NEW: SERVICE BRANDING SYSTEM (Unique Colors per Service) */
/* -------------------------------------------------------------------------- */

/* A. BIKE TRANSPORT (Orange/Dark Theme) */
.theme-bike .widget { border-top-color: #ff6600; }
.theme-bike .step-num { background-color: #ff6600; color: #fff; }
.theme-bike .comparison-table th { background-color: #333; color: #ff6600; }
.theme-bike .text-primary { color: #ff6600 !important; }
.theme-bike .btn-primary { background-color: #ff6600; border-color: #ff6600; }
.theme-bike .btn-primary:hover { background-color: #e65c00; }

/* B. TRUCK/GOODS (Red Theme) */
.theme-truck .widget { border-top-color: #dc3545; }
.theme-truck .step-num { background-color: #dc3545; color: #fff; }
.theme-truck .comparison-table th { background-color: #dc3545; }
.theme-truck .text-primary { color: #dc3545 !important; }
.theme-truck .btn-primary { background-color: #dc3545; border-color: #dc3545; }

/* C. PACKERS (Blue Theme - Default) */
.theme-packers .widget { border-top-color: #0d6efd; }
.theme-packers .step-num { background-color: #0d6efd; color: #fff; }
.theme-packers .comparison-table th { background-color: #0d6efd; }

/* D. CAR TRANSPORT (Teal Theme) */
.theme-car .widget { border-top-color: #20c997; }
.theme-car .step-num { background-color: #20c997; color: #fff; }
.theme-car .comparison-table th { background-color: #20c997; }
.theme-car .text-primary { color: #20c997 !important; }


/* -------------------------------------------------------------------------- */
/* 5. NEW: SERVICE BOX LINKS (Grid Layout) */
/* -------------------------------------------------------------------------- */
.service-box-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px 10px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #555;
    height: 100%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.service-box-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.service-box-link i {
    font-size: 2rem;
    margin-bottom: 12px;
    color: #ccc; /* Default icon color */
    transition: 0.3s;
}

/* Service Box Hover Icon Colors */
.service-box-link:hover i.fa-motorcycle { color: #ff6600; }
.service-box-link:hover i.fa-truck { color: #dc3545; }
.service-box-link:hover i.fa-home { color: #0d6efd; }
.service-box-link:hover i.fa-car { color: #20c997; }

.service-box-link h6 {
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}


/* -------------------------------------------------------------------------- */
/* 6. NEW: DATABASE LINKS GRID (Link1, Link2, etc.) */
/* -------------------------------------------------------------------------- */
.db-links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.db-links-grid li {
    width: 100%; /* Default mobile: 1 per row */
    flex: 0 0 auto;
}

@media(min-width: 768px) {
    .db-links-grid li { width: calc(50% - 5px); } /* Tablet: 2 per row */
}

@media(min-width: 1200px) {
    .db-links-grid li { width: calc(33.333% - 7px); } /* Desktop: 3 per row */
}

/* Sidebar specific link grid (always 1 column) */
.sidebar-stack .db-links-grid li {
    width: 100% !important;
}

.db-links-grid li a {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #555;
    border: 1px solid #e9ecef;
    text-decoration: none;
    height: 100%;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.db-links-grid li a:before {
    content: "\f105"; /* FontAwesome Chevron Right */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 12px;
    color: #ccc;
    font-size: 1rem;
}

.db-links-grid li a:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    color: var(--primary-color);
    transform: translateX(3px);
}

.db-links-grid li a:hover:before {
    color: var(--primary-color);
}