/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&family=Montserrat:wght@700&display=swap');

/* Manual TTF Font for Bangla Category About */
@font-face {
    font-family: 'BanglaCategoryFont';
    src: url('path/to/kalpurush.ttf') format('truetype'); /* আপনার TTF ফাইলের পাথ দিন */
    font-weight: normal;
    font-style: normal;
}

/* Manual TTF Font for Bangla Service Header and Details */
@font-face {
    font-family: 'BanglaServiceFont';
    src: url('path/to/nikosh.ttf') format('truetype'); /* আপনার TTF ফাইলের পাথ দিন */
    font-weight: normal;
    font-style: normal;
}

/* General Styles */
body { 
    font-family: Arial, sans-serif; 
    background-color: #f5f7fa; 
}

header .container-fluid {
    padding-left: 10px;
    padding-right: 10px;
}

/* Round Logo */
.rounded-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
}

/* Company Name */
.company-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.8rem;
    letter-spacing: 1px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

/* Login Button Animation */
.login-btn {
    animation: pulse 2s infinite ease-in-out;
    transition: all 0.3s ease;
    background-color: #ff6b6b;
    color: #fff;
    border-radius: 25px;
    padding: 8px 20px;
}
.login-btn:hover {
    transform: scale(1.1);
    background-color: #ff8787;
    color: #fff;
    animation: none;
}

/* Pulse Animation Keyframes */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Sliding Text */
.sliding-text-bold {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #2c3e50;
    background: linear-gradient(90deg, #f7f7f759, #e5d4c7);
    padding: 10px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Search Box */
.search-container {
    position: relative;
    max-width: 300px;
}
.search-box {
    padding-left: 40px;
    border-radius: 25px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border: 1px solid #6c5ce7;
    background-color: #fff;
    transition: all 0.3s ease;
}
.search-box:focus {
    border-color: #4a00e0;
    box-shadow: 0 0 8px rgba(108, 92, 231, 0.5);
}
.search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c5ce7;
    font-size: 1.1rem;
}

/* Filter Button and Options */
.filter-btn {
    animation: pulse 2s infinite ease-in-out;
    transition: all 0.3s ease;
    background: linear-gradient(90deg, #ff6b6b, #ff8e53);
    color: #fff;
    border-radius: 25px;
}
.filter-btn:hover {
    transform: scale(1.1);
    background: linear-gradient(90deg, #ff8787, #ff9f80);
    animation: none;
}
.filter-options {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e6e6e6;
}

/* Clear Filter Button */
#clear-filter {
    background-color: #6c757d;
    color: #fff;
    transition: all 0.3s ease;
    border-radius: 25px;
}
#clear-filter:hover {
    background-color: #5a6268;
    transform: scale(1.05);
}

/* All Providers and Owners Buttons */
.btn-provider {
    background: linear-gradient(90deg, #00b894, #55efc4);
    color: #fff;
    border: none;
    padding: 6px 12px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-radius: 20px;
}
.btn-provider:hover {
    transform: scale(1.1);
    background: linear-gradient(90deg, #00c9a7, #6af0d6);
}
.btn-owner {
    background: linear-gradient(90deg, #e74c3c, #f39c12);
    color: #fff;
    border: none;
    padding: 6px 12px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-radius: 20px;
}
.btn-owner:hover {
    transform: scale(1.1);
    background: linear-gradient(90deg, #ff4d43, #ffaf40);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100%;
    background-color: #fff;
    padding: 20px;
    box-shadow: -2px 0 5px rgba(0,0,0,0.2);
    z-index: 1000;
}

.mobile-profile-section {
    margin-top: 10px;
}

.profile-icon, .logout-icon {
    font-size: 20px;
    vertical-align: middle;
}

.btn-login {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 8px 15px;
    text-align: left;
    width: 0%;
    margin-bottom: 10px;
}

.btn-login:hover {
    background-color: #0056b3;
}

.btn-logout-icon {
    background-color: transparent;
    border: none;
    padding: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-logout-icon:hover {
    background-color: #f0f0f0;
    border-radius: 50%;
}

.btn-logout-icon .logout-icon {
    font-size: 20px;
}

/* Top Services */
.top-services-section {
    background: linear-gradient(135deg, #81ecec, #6c5ce7);
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}
.top-services-heading {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}
.top-services {
    display: flex;
    overflow-x: auto;
}
.top-services .btn {
    background-color: #fff;
    color: #6c5ce7;
    border: 1px solid #6c5ce7;
    border-radius: 20px;
    margin-right: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}
.top-services .btn:hover {
    background: linear-gradient(90deg, #6c5ce7, #a29bfe);
    color: #fff;
    text-decoration: none;
}

/* Categories List */
.categories-list {
    background: linear-gradient(135deg, #ffcccb, #ff7e5f);
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
}
.categories-heading {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}
.categories-container {
    max-height: none;
    overflow-y: visible;
}
.categories-container ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.categories-list .list-group-item {
    border-radius: 15px;
    background: #fff;
    color: #2c3e50;
    transition: all 0.3s ease;
    cursor: pointer;
}
.categories-list .list-group-item:hover {
    background: linear-gradient(90deg, #ff6b6b, #ff8e53);
    color: #fff;
}
.categories-list .active { 
    background: linear-gradient(90deg, #6c5ce7, #a29bfe); 
    color: #fff; 
}

/* Service Items */
.category-header {
    background: linear-gradient(90deg, #6c5ce7, #a29bfe);
    color: #fff;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.service-item {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.service-header {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, #ffffff, #e5bf01d9);
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
    border-left: 4px solid #6c5ce7;
}

.service-number {
    background: #6c5ce7;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    margin-right: 12px;
    flex-shrink: 0;
}

.service-name {
    font-family: 'BanglaServiceFont', sans-serif; /* বাংলা ফন্ট সার্ভিস নামের জন্য */
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    font-size: 16px;
}

.service-details {
    font-family: 'BanglaServiceFont', sans-serif; /* বাংলা ফন্ট সার্ভিস ডিটেলসের জন্য */
    color: #555;
    line-height: 1.6;
    padding-left: 36px;
}

.service-details p {
    margin-bottom: 0;
}

/* Category About with Custom Font */
.category-about {
    font-family: 'BanglaCategoryFont', sans-serif; /* বাংলা ফন্ট ক্যাটাগরি অ্যাবাউটের জন্য */
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border-left: 4px solid #007bff;
    font-style: italic;
    font-size: 1rem; /* অ্যাডজাস্টেড সাইজ বাংলা টেক্সটের জন্য */
    line-height: 1.6;
}

/* Top 10 Heading */
.top-ten-heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff;
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

/* Right Columns (Service Providers and Shop Owners) */
.right-columns h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #00b894, #55efc4);
    padding: 5px 10px;
    border-radius: 5px;
}
.lists-container {
    display: flex;
    gap: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    background: linear-gradient(135deg, #e6f0fa, #f0e6fa);
}
.service-providers-list {
    flex: 1;
    background: linear-gradient(135deg, #e6f3ff, #d6eaff);
    border-radius: 10px;
    padding: 10px;
}
.shop-owners-list {
    flex: 1;
    background: linear-gradient(135deg, #ffe6e6, #ffd6d6);
    border-radius: 10px;
    padding: 10px;
    border-left: 2px solid #ff6b6b;
}
.service-providers-list h5, .shop-owners-list h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #6c5ce7, #a29bfe);
    padding: 5px;
    border-radius: 5px;
}
.service-providers-list .list-group-item, .shop-owners-list .list-group-item {
    border-radius: 5px;
    margin-bottom: 5px;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}
.service-providers-list .list-group-item:hover, .shop-owners-list .list-group-item:hover {
    background: linear-gradient(90deg, #ffcccb, #ff7e5f);
    color: #fff;
}

/* Verified Tick (Social Media Style) */
.verified-tick {
    color: #00b894;
    font-size: 1rem;
    margin-left: 5px;
    vertical-align: middle;
}

/* Rating Stars */
.rating-stars {
    color: #0029ff;
    font-size: 1.1rem;
    margin-left: 5px;
    vertical-align: middle;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Main Content */
main.container-fluid {
    padding-left: 10px;
    padding-right: 10px;
}


.mobile-menu.d-none { right: -100%; }

/* Responsive */
@media (max-width: 767px) {
    .desktop-login { display: none; }
    .search-filter-row {
        display: flex;
        flex-wrap: wrap;
    }
    .search-container {
        max-width: 100%;
    }
    .search-box {
        width: 100%;
    }
    .button-gap {
        margin-top: 10px;
    }
    .categories-list {
        padding: 10px;
    }
    .categories-heading {
        margin-bottom: 10px;
    }
    .categories-container {
        overflow-x: auto;
        white-space: nowrap;
        max-height: none;
        scroll-behavior: smooth;
    }
    .categories-container ul {
        display: flex;
        flex-direction: row;
        gap: 10px;
    }
    .categories-container li {
        flex: 0 0 auto;
        margin-right: 0;
        text-align: center;
        padding: 10px;
        background: #fff;
        border-radius: 15px;
        transition: all 0.3s ease;
    }
    .categories-container li:hover {
        background: linear-gradient(90deg, #ff6b6b, #ff8e53);
        color: #fff;
    }
    .lists-container {
        flex-direction: column;
        gap: 10px;
    }
    .shop-owners-list {
        border-left: none;
        border-top: 2px solid #ff6b6b;
    }
    .service-providers-list, .shop-owners-list {
        flex: none;
    }
    .service-providers-list h5, .shop-owners-list h5 {
        text-align: center;
    }
    
    .category-header {
        font-size: 1.1rem;
        padding: 10px;
        margin-bottom: 15px;
    }
    
    .service-item {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    .service-header {
        padding: 6px 10px;
        margin-bottom: 10px;
    }
    
    .service-number {
        width: 20px;
        height: 20px;
        font-size: 12px;
        margin-right: 10px;
    }
    
    .service-name {
        font-size: 14px;
    }
    
    .service-details {
        padding-left: 30px;
    }
}

/* Service Details Page Styles */
.service-details-card .card {
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.service-details-card .card-header {
    background: linear-gradient(90deg, #6c5ce7, #a29bfe);
    padding: 20px;
    position: relative;
}

.service-details-card .card-header h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 2rem;
    margin-bottom: 5px;
}

.category-badge {
    margin-top: 10px;
}

.category-badge .badge {
    font-size: 0.9rem;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 500;
}

.service-description {
    line-height: 1.8;
    color: #333;
    padding: 20px 0;
}

.service-description img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.service-description h2, 
.service-description h3, 
.service-description h4 {
    color: #2c3e50;
    margin-top: 30px;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.service-description h2 {
    font-size: 1.8rem;
}

.service-description h3 {
    font-size: 1.5rem;
}

.service-description h4 {
    font-size: 1.3rem;
}

.service-description ul, 
.service-description ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

.service-description li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 5px;
}

.service-description li::before {
    content: "•";
    color: #6c5ce7;
    font-weight: bold;
    position: absolute;
    left: -15px;
}

.service-description ol li::before {
    content: "";
}

.service-description table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.service-description th, 
.service-description td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: left;
}

.service-description th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
}

.service-description tr:nth-child(even) {
    background-color: #f8f9fa;
}

.service-description blockquote {
    border-left: 4px solid #6c5ce7;
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #555;
}

.service-description a {
    color: #6c5ce7;
    text-decoration: none;
    font-weight: 500;
}

.service-description a:hover {
    text-decoration: underline;
}

.back-to-home {
    text-align: center;
}

.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 20px;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #6c757d;
}

.breadcrumb-item.active {
    color: #6c5ce7;
    font-weight: 600;
}

@media (max-width: 767px) {
    .service-details-card .card-header h1 {
        font-size: 1.5rem;
    }
    
    .category-badge .badge {
        font-size: 0.8rem;
    }
    
    .service-description h2 {
        font-size: 1.5rem;
    }
    
    .service-description h3 {
        font-size: 1.3rem;
    }
    
    .service-description h4 {
        font-size: 1.1rem;
    }
    
    .service-description {
        padding: 15px 0;
    }
}


/* Search suggestions styling */
#suggestions-list {
    background-color: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    list-style-type: none;
    padding: 0;
    margin-top: -5px;
}

#suggestions-list li {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}

#suggestions-list li:hover {
    background-color: #f5f5f5;
}

#suggestions-list li:last-child {
    border-bottom: none;
}

.search-container {
    position: relative;
}