﻿/* File: Content/site.css */

:root {
    --primary: #1f3a5f;
    --secondary: #2c4f70;
    --accent: #3498db;
    --light: #f8f9fa;
    --dark: #1a252f;
    --success: #2ecc71;
    --warning: #f39c12;
    --danger: #e74c3c;
    --info: #17a2b8;
    --border-radius: 6px;
    --box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
    color: #333;
    background-color: #f8f9fa;
    line-height: 1.6;
    font-size: 14px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
}

.h1 {
    font-size: 2rem;
}

.h2 {
    font-size: 1.7rem;
}

.h3 {
    font-size: 1.4rem;
}

.h4 {
    font-size: 1.2rem;
}

.h5 {
    font-size: 1.1rem;
}

.h6 {
    font-size: 1rem;
}

/* ADDED: Style for new accent button in hero section */
.btn-accent {
    color: #fff;
    background-color: var(--accent);
    border-color: var(--accent);
}

    .btn-accent:hover {
        color: #fff;
        background-color: #2980b9;
        /* A slightly darker shade of accent */
        border-color: #2980b9;
    }

/* Province Selection Modal */
.province-modal {
    z-index: 9999;
}

    .province-modal .modal-content {
        border-radius: var(--border-radius);
    }

.province-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.5rem;
}

.province-btn {
    padding: 0.7rem 1rem;
    border: 2px solid #e9ecef;
    background: white;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-size: 0.9rem;
}

    .province-btn:hover {
        border-color: var(--accent);
        background-color: rgba(52, 152, 219, 0.1);
    }

    .province-btn.all-iran {
        border-color: var(--accent);
        background-color: var(--accent);
        color: white;
    }

/* Header & Navigation */
.site-header {
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.5rem 0; /* Adjusted padding */
}

.navbar {
    padding-top: 0; /* Remove padding from here */
    padding-bottom: 0; /* Remove padding from here */
}

.navbar-brand img {
    height: 32px;
}

/* Province selector in header */
.province-selector {
    background-color: rgba(52, 152, 219, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.3);
    border-radius: var(--border-radius);
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    color: var(--accent);
    cursor: pointer;
    transition: var(--transition);
}

    .province-selector:hover {
        background-color: rgba(52, 152, 219, 0.2);
    }

/* Removed .auth-buttons from header as they are moved to offcanvas */
/* .auth-buttons .btn {
    border-radius: 15px;
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transition);
} */

/* Hero section */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 3rem 0; /* Slightly increased padding */
    color: white;
    position: relative;
    overflow: hidden;
    /* text-align: center; */ /* Removed global center alignment for hero section */
}

    .hero-section:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('https://placehold.co/1920x600/cccccc/c2c2c2/png?text=1920x600') center/cover no-repeat;
        opacity: 0.1;
    }

    .hero-section .container {
        position: relative;
        z-index: 1;
    }

.hero-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.hero-text {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Search box */
.search-box {
    padding: 1.2rem;
}

    .search-box .form-control {
        border-radius: var(--border-radius);
        padding: 0.5rem 0.8rem;
        border: 1px solid #e0e0e0;
        font-size: 0.9rem;
    }

    .search-box .form-select {
        border-radius: var(--border-radius);
        padding: 0.5rem 0.8rem;
        border: 1px solid #e0e0e0;
        font-size: 0.9rem;
    }

    .search-box .btn-search {
        border-radius: var(--border-radius);
        padding: 0.5rem 1.2rem;
        font-weight: 500;
        font-size: 0.9rem;
    }

/* Industrial Company Info in Hero */
.industrial-company-info-hero {
    background-color: rgba(255, 255, 255, 0.15) !important; /* Semi-transparent white */
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    padding: 1rem !important;
    /* margin-top: 1.5rem; */ /* Handled by parent row/col */
}

    .industrial-company-info-hero h4.fs-6 {
        color: white !important;
    }

    .industrial-company-info-hero .text-muted {
        color: rgba(255, 255, 255, 0.8) !important;
    }

    .industrial-company-info-hero .btn-outline-light { /* Changed to light for visibility */
        color: white;
        border-color: white;
    }

        .industrial-company-info-hero .btn-outline-light:hover {
            background-color: white;
            color: var(--primary);
        }

    .industrial-company-info-hero .rounded-circle {
        background-color: rgba(255, 255, 255, 0.3); /* Light background for logo */
        padding: 5px;
    }

    .industrial-company-info-hero .text-small {
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.9);
    }


/* Market info ticker */
.market-ticker {
    background-color: rgba(52, 152, 219, 0.08);
    border-bottom: 1px solid rgba(52, 152, 219, 0.15);
    padding: 0.4rem 0;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    margin-right: 1.2rem;
    white-space: nowrap;
}

.ticker-label {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.8rem;
    margin-left: 0.4rem;
}

.ticker-value {
    font-size: 0.8rem;
    color: #555;
}

/* Removed .main-nav-section styles as it's replaced by offcanvas */


/* Section styling */
.section {
    padding: 2.5rem 0;
    /* Increased padding slightly */
}

.section-header {
    margin-bottom: 2rem;
    /* Increased margin */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0;
    position: relative;
    padding-right: 12px;
}

    .section-title:before {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 16px;
        background-color: var(--accent);
        border-radius: 2px;
    }

.view-all {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
}

    .view-all:hover {
        text-decoration: underline;
    }

    .view-all i {
        margin-right: 0.25rem;
        font-size: 0.75rem;
    }

/* Cards */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    overflow: hidden;
}

    .card:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        transform: translateY(-2px);
    }

.card-img-top {
    height: 140px;
    object-fit: cover;
}

.card-body {
    padding: 1rem;
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.card-text {
    color: #666;
    font-size: 0.85rem;
}

/* Services Highlight Section */
.services-highlight-section {
    background-color: #eef5fa;
    /* A light blue, related to the accent color */
}

.service-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    }

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.bg-primary-soft {
    background-color: rgba(31, 58, 95, 0.1);
}

.text-primary {
    color: var(--primary) !important;
}

.bg-success-soft {
    background-color: rgba(46, 204, 113, 0.1);
}

.text-success {
    color: var(--success) !important;
}

.bg-warning-soft {
    background-color: rgba(243, 156, 18, 0.1);
}

.text-warning {
    color: var(--warning) !important;
}

/* Zone cards */
.zone-card .badge {
    font-size: 0.65rem;
    font-weight: 500;
    padding: 0.3em 0.6em;
    border-radius: 3px;
}

.zone-card .zone-location {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.4rem;
}

.zone-card .zone-stats {
    font-size: 0.75rem;
    color: #888;
}

/* Business cards */
.business-card .business-logo {
    width: 35px;
    height: 35px;
    object-fit: contain;
    border-radius: 3px;
    background-color: #f8f9fa;
    padding: 4px;
}

.business-card .badge {
    font-size: 0.6rem;
    font-weight: 500;
    padding: 0.2em 0.4em;
    border-radius: 2px;
    background-color: #e9ecef;
    color: #495057;
    margin-right: 0.2rem;
}

/* Modern Ad cards */
.modern-ad-card {
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    background: white;
}

    .modern-ad-card:hover {
        border-color: #d1ecf1;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .modern-ad-card .ad-header {
        padding: 0.6rem 1rem;
        background-color: #f8f9fa;
        border-bottom: 1px solid #e9ecef;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .modern-ad-card .ad-category {
        font-size: 0.8rem;
        font-weight: 600;
        color: #495057;
    }

    .modern-ad-card .ad-badge {
        font-size: 0.6rem;
        padding: 0.2em 0.5em;
        border-radius: 10px;
        background-color: #fff3cd;
        color: #856404;
    }

    .modern-ad-card .ad-body {
        padding: 1rem;
    }

    .modern-ad-card .ad-title {
        font-size: 0.95rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
        color: #333;
        line-height: 1.4;
    }

    .modern-ad-card .ad-content {
        font-size: 0.8rem;
        color: #666;
        line-height: 1.4;
        margin-bottom: 0.8rem;
    }

    .modern-ad-card .ad-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.75rem;
        color: #888;
    }

    .modern-ad-card .ad-location {
        display: flex;
        align-items: center;
    }

        .modern-ad-card .ad-location i {
            margin-left: 0.3rem;
        }

    .modern-ad-card .ad-date {
        display: flex;
        align-items: center;
    }

        .modern-ad-card .ad-date i {
            margin-left: 0.3rem;
        }

/* Latest ads section */
.latest-ads-section {
    background-color: #f8f9fa;
}

.latest-ad-item {
    display: flex;
    align-items: center;
    padding: 0.8rem;
    border-bottom: 1px solid #e9ecef;
    transition: var(--transition);
}

    .latest-ad-item:hover {
        background-color: #f1f3f4;
    }

    .latest-ad-item:last-child {
        border-bottom: none;
    }

.latest-ad-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.8rem;
    font-size: 0.8rem;
    color: white;
}

.latest-ad-content {
    flex: 1;
}

.latest-ad-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: #333;
}

.latest-ad-meta {
    font-size: 0.75rem;
    color: #888;
}

.latest-ad-time {
    font-size: 0.7rem;
    color: #aaa;
}

/* News section */
.news-card .news-img {
    height: 150px;
    object-fit: cover;
}

.news-card .news-date {
    font-size: 0.75rem;
    color: #888;
}

/* Event cards */
.event-date {
    min-width: 45px;
    text-align: center;
    border-radius: 5px;
    overflow: hidden;
}

    .event-date .day {
        background-color: var(--accent);
        color: white;
        font-size: 1.1rem;
        font-weight: 700;
        padding: 0.25rem;
    }

    .event-date .month {
        background-color: #f8f9fa;
        color: #555;
        font-size: 0.7rem;
        padding: 0.15rem;
    }

.event-card .event-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.event-card .event-location {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.4rem;
}

/* Resources section */
.resource-card .card-header {
    padding: 0.8rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.resource-card .list-group-item {
    padding: 0.6rem 0.8rem;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

    .resource-card .list-group-item:last-child {
        border-bottom: none;
    }

    .resource-card .list-group-item a {
        color: #555;
        text-decoration: none;
        transition: var(--transition);
        display: block;
        font-size: 0.8rem;
    }

        .resource-card .list-group-item a:hover {
            color: var(--accent);
        }

/* Stats section */
.stats-section {
    background: linear-gradient(135deg, var(--accent) 0%, #2980b9 100%);
    padding: 2rem 0;
    color: white;
}

.stat-item {
    text-align: center;
    padding: 1.2rem 0.8rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: 1.5rem;
}

    .footer h5 {
        color: white;
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 1.2rem;
        position: relative;
        padding-right: 12px;
    }

        .footer h5:before {
            content: '';
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 3px;
            height: 14px;
            background-color: var(--accent);
            border-radius: 2px;
        }

.footer-about {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

    .footer-links a:hover {
        color: white;
    }

.footer-contact li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
}

.footer-contact i {
    color: var(--accent);
    margin-left: 0.4rem;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 0.4rem;
}

.social-link {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

    .social-link:hover {
        background-color: var(--accent);
        color: white;
    }

.newsletter-form {
    display: flex;
    margin-top: 0.8rem;
}

    .newsletter-form .form-control {
        border-radius: var(--border-radius) 0 0 var(--border-radius);
        border: none;
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }

    .newsletter-form .btn {
        border-radius: 0 var(--border-radius) var(--border-radius) 0;
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
        font-weight: 500;
    }

.footer-bottom {
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
}

    .footer-bottom p {
        color: rgba(255, 255, 255, 0.6);
    }

.footer-bottom-links {
    display: flex;
    gap: 1.2rem;
}

    .footer-bottom-links a {
        color: rgba(255, 255, 255, 0.6);
        text-decoration: none;
        transition: var(--transition);
    }

        .footer-bottom-links a:hover {
            color: white;
        }

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-section .col-lg-6.d-flex {
        text-align: center !important; /* Force center alignment for hero text on small screens */
        align-items: center;
    }

    .hero-section .d-flex.gap-2.justify-content-center.justify-content-md-end {
        justify-content: center !important; /* Center buttons on small screens */
    }

    .industrial-company-info-hero {
        margin-top: 1.5rem; /* Add margin on small screens if stacked */
    }
}

@media (max-width: 767.98px) {
    .section {
        padding: 2rem 0;
        /* Adjusted for consistency */
    }

    .hero-section {
        padding: 2rem 0;
    }

    .stat-value {
        font-size: 1.7rem;
    }

    .footer {
        padding: 2.5rem 0 1.2rem;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
        margin-top: 0.8rem;
    }

    .province-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Blog and Articles Section Styles */
.blog-section {
    background-color: #fff;
}

.blog-card {
    transition: var(--transition);
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

    .blog-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

    .blog-card .blog-img {
        height: 180px;
        object-fit: cover;
        transition: var(--transition);
    }

    .blog-card:hover .blog-img {
        transform: scale(1.05);
    }

    .blog-card .blog-category {
        position: absolute;
        top: 10px;
        right: 10px;
        background-color: rgba(31, 58, 95, 0.9);
        color: white;
        padding: 0.3rem 0.6rem;
        border-radius: 12px;
        font-size: 0.7rem;
        font-weight: 500;
    }

    .blog-card .blog-title {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
        color: #333;
        line-height: 1.4;
    }

    .blog-card .blog-excerpt {
        color: #666;
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }

    .blog-card .blog-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.75rem;
        color: #888;
        padding-top: 0.8rem;
        border-top: 1px solid #e9ecef;
    }

    .blog-card .blog-author {
        display: flex;
        align-items: center;
    }

        .blog-card .blog-author i {
            margin-left: 0.3rem;
            color: var(--accent);
        }

    .blog-card .blog-date {
        display: flex;
        align-items: center;
    }

        .blog-card .blog-date i {
            margin-left: 0.3rem;
            color: var(--accent);
        }

    .blog-card .blog-read-more {
        color: var(--accent);
        font-size: 0.8rem;
        font-weight: 500;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        transition: var(--transition);
    }

        .blog-card .blog-read-more:hover {
            color: var(--secondary);
        }

        .blog-card .blog-read-more i {
            margin-right: 0.3rem;
            font-size: 0.7rem;
        }

/* Featured Blog Card */ .featured-blog-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

    .featured-blog-card .featured-blog-img {
        height: 250px;
        object-fit: cover;
        width: 100%;
    }

    .featured-blog-card .featured-blog-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
        color: white;
        padding: 2rem 1.5rem 1.5rem;
    }

    .featured-blog-card .featured-blog-category {
        background-color: var(--accent);
        color: white;
        padding: 0.3rem 0.8rem;
        border-radius: 15px;
        font-size: 0.7rem;
        font-weight: 500;
        margin-bottom: 0.8rem;
        display: inline-block;
    }

    .featured-blog-card .featured-blog-title {
        font-size: 1.3rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }

    .featured-blog-card .featured-blog-excerpt {
        font-size: 0.9rem;
        opacity: 0.9;
        margin-bottom: 0.8rem;
        line-height: 1.4;
    }

    .featured-blog-card .featured-blog-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.8rem;
        opacity: 0.8;
    }

/* Blog Categories Tabs */
.blog-categories {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.blog-category-tab {
    padding: 0.5rem 1rem;
    border: 2px solid #e9ecef;
    background: white;
    border-radius: 20px;
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
}

    .blog-category-tab:hover,
    .blog-category-tab.active {
        border-color: var(--accent);
        background-color: var(--accent);
        color: white;
    }

/* Popular Articles Sidebar */
.popular-articles-card .popular-article-item {
    display: flex;
    align-items: center;
    padding: 0.8rem;
    border-bottom: 1px solid #e9ecef;
    transition: var(--transition);
}

    .popular-articles-card .popular-article-item:hover {
        background-color: #f8f9fa;
    }

    .popular-articles-card .popular-article-item:last-child {
        border-bottom: none;
    }

.popular-articles-card .popular-article-number {
    width: 25px;
    height: 25px;
    background-color: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.8rem;
    flex-shrink: 0;
}

.popular-articles-card .popular-article-content {
    flex: 1;
}

.popular-articles-card .popular-article-title {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: #333;
    line-height: 1.3;
}

.popular-articles-card .popular-article-date {
    font-size: 0.7rem;
    color: #888;
}

/* START: NEW STYLES FOR Q&A and University Connection */
.qna-section {
    background-color: #f8f9fa;
}

.qna-card {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    transition: var(--transition);
}

    .qna-card:hover {
        border-color: rgba(52, 152, 219, 0.5);
        box-shadow: var(--box-shadow);
    }

.qna-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    text-align: center;
    min-width: 60px;
}

.qna-stat-item {
    font-size: 0.8rem;
    color: #666;
}

    .qna-stat-item .value {
        display: block;
        font-weight: 700;
        font-size: 1.1rem;
        color: var(--primary);
    }

.qna-content {
    flex: 1;
}

.qna-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

    .qna-title a {
        text-decoration: none;
        color: var(--primary);
        transition: var(--transition);
    }

        .qna-title a:hover {
            color: var(--accent);
        }

.qna-excerpt {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.8rem;
}

.qna-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.qna-tags .badge {
    background-color: #eef5fa;
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.3em 0.6em;
}

.qna-user-info {
    font-size: 0.75rem;
    color: #888;
}

.sidebar-card {
    background: white;
    border-radius: var(--border-radius);
    border: 1px solid #e9ecef;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
}

.sidebar-card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-badge {
    background-color: #e9ecef;
    color: #495057;
    font-size: 0.8rem;
    padding: 0.3rem 0.7rem;
    border-radius: 15px;
    text-decoration: none;
    transition: var(--transition);
}

    .tag-badge:hover {
        background-color: var(--accent);
        color: white;
    }

.industry-uni-section {
    background-color: #eef5fa;
}

.opportunity-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

    .opportunity-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    }

.opportunity-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.opportunity-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.opportunity-company {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1rem;
}

.opportunity-description {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 1rem;
}

.opportunity-skills {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

    .opportunity-skills .skill-tag {
        font-size: 0.75rem;
        background-color: #e9ecef;
        color: #495057;
        padding: 0.2rem 0.5rem;
        border-radius: 3px;
        margin: 0.2rem;
        display: inline-block;
    }

/* END: NEW STYLES */

/* NEW: Industrial Companies Section Styles */
.industrial-companies-section {
    background-color: #f0f4f8;
}

.company-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .company-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .company-card .company-logo {
        height: 80px;
        width: 80px;
        object-fit: contain;
        margin: 1.5rem auto 1rem;
    }

    .company-card .card-body {
        text-align: center;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .company-card .company-title {
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--primary);
        margin-bottom: 0.5rem;
    }

    .company-card .company-province {
        font-size: 0.85rem;
        color: #666;
        margin-bottom: 1rem;
    }

    .company-card .company-stats {
        margin-top: auto;
        padding-top: 1rem;
        border-top: 1px solid #e9ecef;
        display: flex;
        justify-content: space-around;
    }

    .company-card .stat-item {
        text-align: center;
        background: none;
        padding: 0;
    }

    .company-card .stat-value {
        font-size: 1.1rem;
        color: var(--accent);
    }

    .company-card .stat-label {
        font-size: 0.7rem;
        color: #666;
    }

/* END: Industrial Companies Section Styles */

/* Responsive adjustments for blog section */
@media (max-width: 767.98px) {
    .blog-categories {
        justify-content: flex-start;
    }

    .featured-blog-card .featured-blog-overlay {
        padding: 1.5rem 1rem 1rem;
    }

    .featured-blog-card .featured-blog-title {
        font-size: 1.1rem;
    }

    .blog-card .blog-img {
        height: 150px;
    }
}


/* Page Hero Header Style */
.page-hero-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 2rem 0;
    margin-bottom: 2.5rem;
}

    .page-hero-header .breadcrumb {
        margin-bottom: 0.5rem;
        padding: 0;
    }

    .page-hero-header .breadcrumb-item a {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        transition: var(--transition);
    }

        .page-hero-header .breadcrumb-item a:hover {
            color: white;
        }

    .page-hero-header .breadcrumb-item.active {
        color: rgba(255, 255, 255, 0.6);
    }

    .page-hero-header .breadcrumb-item + .breadcrumb-item::before {
        color: rgba(255, 255, 255, 0.5);
    }

    .page-hero-header .page-title {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 0.25rem;
    }

    .page-hero-header .page-description {
        font-size: 1rem;
        opacity: 0.9;
        max-width: 800px;
        /* To keep the line length readable */
    }

/* Style for the company list cards */
.company-list-card {
    transition: all 0.3s ease-in-out;
    border: 1px solid #e9ecef;
}

    .company-list-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1) !important;
    }

    .company-list-card .card-title {
        color: var(--primary);
    }

/* Details Page Hero with Image Background */
.details-hero-header {
    position: relative;
    padding: 4rem 0;
    color: white;
    background-size: cover;
    background-position: center center;
    margin-bottom: 2.5rem;
}

    .details-hero-header::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
        z-index: 1;
    }

    .details-hero-header .container {
        position: relative;
        z-index: 2;
    }

/* Key Stats Bar */ .key-stats-bar {
    display: flex;
    justify-content: space-around;
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 1rem;
    border: 1px solid #e9ecef;
}

    .key-stats-bar .stat-item {
        text-align: center;
    }

        .key-stats-bar .stat-item .stat-icon {
            font-size: 2rem;
            color: var(--accent);
            margin-bottom: 0.5rem;
        }

        .key-stats-bar .stat-item .stat-value {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
        }

        .key-stats-bar .stat-item .stat-label {
            font-size: 0.85rem;
            color: #6c757d;
        }

/* Infrastructure List */
.infrastructure-list .list-group-item {
    border: none;
    padding: 0.75rem 0;
}

    .infrastructure-list .list-group-item i {
        color: var(--success);
        font-size: 1.2rem;
    }

/* Business List Item */
.business-list-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    margin-bottom: 0.75rem;
    transition: all 0.2s ease;
}

    .business-list-item:hover {
        border-color: var(--accent);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    }

    .business-list-item .business-logo {
        width: 50px;
        height: 50px;
        object-fit: contain;
        margin-left: 1rem;
        background-color: #f8f9fa;
        border-radius: var(--border-radius);
    }

    .business-list-item .business-info {
        flex-grow: 1;
    }

    .business-list-item .business-name {
        font-weight: 600;
        color: var(--primary);
        text-decoration: none;
    }

    .business-list-item .business-categories .badge {
        font-size: 0.7rem;
        font-weight: 500;
    }

/* Sidebar Map */
.sidebar-map {
    height: 200px;
    background-color: #e9ecef;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-style: italic;
    background-image: url('https://www.google.com/maps/d/u/0/thumbnail?mid=1_4yL_5s6o9KCIQu4n44f80sMziY&hl=en');
    background-size: cover;
}

/* Business List Card Style */
.business-list-card {
    display: flex;
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    background-color: #fff;
    transition: all 0.2s ease-in-out;
}

    .business-list-card:hover {
        border-color: var(--accent);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        transform: translateY(-2px);
    }

    .business-list-card .business-logo {
        width: 60px;
        height: 60px;
        object-fit: contain;
        border-radius: var(--border-radius);
        background-color: #f8f9fa;
        margin-left: 1.5rem;
        flex-shrink: 0;
    }

    .business-list-card .business-content {
        flex-grow: 1;
    }

    .business-list-card .business-name {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 0.25rem;
    }

        .business-list-card .business-name a {
            color: var(--primary);
            text-decoration: none;
        }

            .business-list-card .business-name a:hover {
                color: var(--accent);
            }

    .business-list-card .business-meta {
        font-size: 0.8rem;
        color: #6c757d;
        margin-bottom: 0.5rem;
    }

    .business-list-card .business-categories .badge {
        font-weight: 500;
        font-size: 0.7rem;
    }

    .business-list-card .business-excerpt {
        font-size: 0.85rem;
        color: #555;
        margin-top: 0.75rem;
    }

    .business-list-card .business-actions {
        margin-right: 1rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
/* Sidebar filter styles */
.filter-sidebar .card-header {
    background-color: #f8f9fa;
}

.filter-sidebar .form-label {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.filter-sidebar .form-check-label {
    font-size: 0.85rem;
}

/* Business Profile Header */
.business-profile-header {
    background-color: #fff;
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 2.5rem;
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
}

    .business-profile-header .profile-logo {
        width: 100px;
        height: 100px;
        object-fit: contain;
        border-radius: 50%;
        background-color: #f8f9fa;
        border: 4px solid #fff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        margin-left: 1.5rem;
        flex-shrink: 0;
    }

    .business-profile-header .profile-info .profile-name {
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--primary);
    }

    .business-profile-header .profile-info .profile-meta {
        font-size: 0.9rem;
        color: #6c757d;
    }

    .business-profile-header .profile-info .profile-categories .badge {
        font-size: 0.75rem;
        font-weight: 500;
    }

/* Tab styles for details page */
.details-tabs .nav-link {
    font-size: 1rem;
    color: #6c757d;
    padding: 0.75rem 1.25rem;
}

    .details-tabs .nav-link.active {
        color: var(--primary);
        font-weight: 600;
        border-color: #dee2e6 #dee2e6 #fff;
    }

/* Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

    .image-gallery .gallery-item img {
        width: 100%;
        height: 100px;
        object-fit: cover;
        border-radius: var(--border-radius);
        cursor: pointer;
        transition: transform 0.2s ease;
    }

        .image-gallery .gallery-item img:hover {
            transform: scale(1.05);
        }

/* Product List */
.product-list .list-group-item {
    font-size: 0.9rem;
}

    .product-list .list-group-item i {
        color: var(--accent);
    }

/* Contact Sidebar */
.contact-sidebar .list-group-item {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
}

    .contact-sidebar .list-group-item i {
        width: 20px;
        text-align: center;
        color: var(--accent);
    }


/* Advertisement Card Styles */
.advertisement-card {
    position: relative;
    border: 1px solid #e9ecef;
    border-right-width: 4px;
    /* Default border color */
    border-right-color: #6c757d;
    /* Default border color */
    background-color: #fff;
    transition: all 0.2s ease-in-out;
}

    .advertisement-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
    }

    /* Category-specific border colors */
    .advertisement-card.category-استخدام {
        border-right-color: var(--primary);
    }

    .advertisement-card.category-املاک-صنعتی {
        border-right-color: var(--success);
    }

    .advertisement-card.category-ماشین-آلات {
        border-right-color: var(--warning);
    }

    .advertisement-card.category-مواد-اولیه {
        border-right-color: var(--danger);
    }

    .advertisement-card.category-خدمات-فنی-و-مهندسی {
        border-right-color: var(--info);
    }

    .advertisement-card.category-سرمایه-گذاری {
        border-right-color: #6f42c1;
        /* Custom purple for investment */
    }


    .advertisement-card .ad-title a {
        color: var(--bs-body-color);
        text-decoration: none;
    }

        .advertisement-card .ad-title a:hover {
            color: var(--primary);
        }

    .advertisement-card.featured {
        background-color: #fefcf0;
        /* A light yellow background for featured ads */
    }

    .advertisement-card .featured-badge {
        position: absolute;
        top: -1px;
        left: -1px;
        font-size: 0.75rem;
        padding: 0.4em 0.8em;
        border-radius: var(--border-radius) 0 var(--border-radius) 0;
        background-color: var(--accent);
        color: white;
    }

        .advertisement-card .featured-badge i {
            font-size: 0.7rem;
        }

    .advertisement-card .ad-meta {
        font-size: 0.8rem;
        color: #6c757d;
    }

/* Sidebar Category Filter */
.category-filter-list .list-group-item {
    border: none;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    color: var(--bs-body-color);
}

    .category-filter-list .list-group-item:hover,
    .category-filter-list .list-group-item.active {
        background-color: var(--bs-light);
        color: var(--primary);
        font-weight: 600;
    }

    .category-filter-list .list-group-item .badge {
        font-size: 0.8em;
    }

/* Featured News Card (Horizontal) */
.featured-news-card .card-img-container {
    flex: 0 0 300px;
    /* Fixed width for the image container */
}

    .featured-news-card .card-img-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0 var(--border-radius) var(--border-radius) 0;
        /* Rounded corners on the right */
    }

/* Standard News Card (Vertical) */
.news-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

    .news-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
    }

    .news-card .card-img-top {
        height: 180px;
        object-fit: cover;
    }

    .news-card .category-badge {
        position: absolute;
        top: 0.75rem;
        right: 0.75rem;
        font-size: 0.75rem;
    }

    .news-card .card-title a {
        color: var(--bs-body-color);
        text-decoration: none;
    }

        .news-card .card-title a:hover {
            color: var(--primary);
        }

    .news-card .card-footer {
        font-size: 0.8rem;
        background-color: #fcfcfc;
    }

/* Sidebar Category List */
.sidebar-categories .list-group-item {
    border: none;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
}

    .sidebar-categories .list-group-item:hover,
    .sidebar-categories .list-group-item.active {
        background-color: var(--bs-light);
        color: var(--primary);
        font-weight: 600;
    }

/* Article Details Styles */
.article-header .article-title {
    font-weight: 700;
}

.article-meta {
    font-size: 0.85rem;
    color: #6c757d;
}

    .article-meta .meta-item {
        display: inline-flex;
        align-items: center;
    }

.article-content {
    line-height: 1.8;
    font-size: 1.05rem;
    color: #343a40;
}

    .article-content img.featured-image {
        margin-bottom: 1.5rem;
        border-radius: var(--border-radius);
    }

.article-tags .badge {
    font-size: 0.8rem;
    padding: 0.5em 0.9em;
}

/* Sidebar Recent Posts Widget */
.widget-recent-posts .post-item {
    display: flex;
    align-items: center;
}

    .widget-recent-posts .post-item img {
        width: 65px;
        height: 65px;
        object-fit: cover;
        border-radius: var(--border-radius);
        margin-left: 1rem;
    }

.widget-recent-posts .post-item-content .post-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.25rem;
}

.widget-recent-posts .post-item-content .post-date {
    font-size: 0.75rem;
    color: #6c757d;
}

/* Q&A Forum Styles */
.qna-item {
    display: flex;
    gap: 1.5rem;
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.qna-stats {
    flex-shrink: 0;
    width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #6c757d;
}

    .qna-stats .stat-item {
        text-align: center;
    }

    .qna-stats .stat-count {
        display: block;
        font-size: 1.1rem;
        font-weight: 600;
        color: #343a40;
    }

    .qna-stats .stat-item.resolved .stat-count {
        color: white;
    }

    .qna-stats .stat-item.resolved {
        background-color: var(--success);
        color: white;
        padding: 0.3rem 0.8rem;
        border-radius: var(--border-radius);
        width: 100%;
    }


.qna-content {
    flex-grow: 1;
}

.qna-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

    .qna-title a {
        color: var(--primary);
        text-decoration: none;
    }

        .qna-title a:hover {
            color: var(--accent);
        }

.qna-excerpt {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.75rem;
}

.qna-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.qna-tags .badge {
    background-color: #eef5fa;
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.3em 0.6em;
}

.qna-user-info {
    font-size: 0.75rem;
    color: #888;
}

.sidebar-card {
    background: white;
    border-radius: var(--border-radius);
    border: 1px solid #e9ecef;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
}

.sidebar-card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-badge {
    background-color: #e9ecef;
    color: #495057;
    font-size: 0.8rem;
    padding: 0.3rem 0.7rem;
    border-radius: 15px;
    text-decoration: none;
    transition: var(--transition);
}

    .tag-badge:hover {
        background-color: var(--accent);
        color: white;
    }

.industry-uni-section {
    background-color: #eef5fa;
}

.opportunity-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

    .opportunity-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    }

.opportunity-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.opportunity-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.opportunity-company {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1rem;
}

.opportunity-description {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 1rem;
}

.opportunity-skills {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

    .opportunity-skills .skill-tag {
        font-size: 0.75rem;
        background-color: #e9ecef;
        color: #495057;
        padding: 0.2rem 0.5rem;
        border-radius: 3px;
        margin: 0.2rem;
        display: inline-block;
    }

/* END: NEW STYLES */

/* ADDED: Offcanvas specific styling */
.offcanvas-end {
    width: 280px; /* Adjust width for better appearance */
}

.offcanvas-header {
    background-color: var(--primary); /* Darker header for offcanvas */
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

    .offcanvas-header .btn-close {
        filter: invert(1) grayscale(100%) brightness(200%); /* Make close button white */
    }

.offcanvas-title {
    font-weight: 600;
}

.offcanvas-body {
    padding: 0; /* Remove default padding to handle it inside sections */
}

    .offcanvas-body .navbar-nav {
        padding-top: 0.5rem; /* Add some padding to the top of nav links */
        padding-bottom: 0.5rem;
    }

    .offcanvas-body .nav-item {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05); /* Separator for nav items */
    }

        .offcanvas-body .nav-item:last-child {
            border-bottom: none;
        }

    .offcanvas-body .nav-link {
        padding: 0.8rem 1.5rem; /* Increased padding for better touch targets */
        color: var(--dark);
        font-weight: 500;
        transition: var(--transition);
    }

        .offcanvas-body .nav-link:hover,
        .offcanvas-body .nav-link.active {
            background-color: var(--light);
            color: var(--accent);
            padding-right: 1.8rem; /* Slight indent on hover/active */
        }

    .offcanvas-body .dropdown-menu {
        border: none;
        box-shadow: none;
        padding: 0;
        margin: 0; /* Remove default margins */
        background-color: #f8f9fa; /* Lighter background for dropdowns */
    }

    .offcanvas-body .dropdown-item {
        padding: 0.6rem 2.5rem; /* Further indent dropdown items */
        color: #555;
        font-size: 0.9rem;
        transition: var(--transition);
    }

        .offcanvas-body .dropdown-item:hover {
            background-color: #e9ecef;
            color: var(--primary);
        }

    .offcanvas-body .dropdown-divider {
        margin: 0.5rem 0;
        border-color: rgba(0, 0, 0, 0.08);
    }

/* NEW: Offcanvas Auth Section */
.offcanvas-auth-section {
    background-color: var(--light);
    padding: 1.5rem !important; /* Important to override potential parent padding */
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    text-align: center;
}

    .offcanvas-auth-section h6 {
        color: var(--primary);
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .offcanvas-auth-section .btn {
        width: 100%;
        margin-bottom: 0.8rem; /* Space between buttons */
        font-size: 1rem;
        padding: 0.75rem 1rem;
        border-radius: var(--border-radius);
    }

    .offcanvas-auth-section .btn-outline-primary {
        border-color: var(--accent);
        color: var(--accent);
    }

        .offcanvas-auth-section .btn-outline-primary:hover {
            background-color: var(--accent);
            color: white;
        }

/* NEW: Offcanvas Search Section */
.offcanvas-search-section {
    padding: 1.5rem !important; /* Ensure padding is applied */
    background-color: #fff; /* White background for search */
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}

    .offcanvas-search-section h6 {
        color: var(--primary);
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .offcanvas-search-section .search-box {
        padding: 0; /* Remove extra padding from nested search-box class */
        box-shadow: none; /* Remove shadow from nested search-box */
        border: none; /* Remove border from nested search-box */
    }

        .offcanvas-search-section .search-box .form-control,
        .offcanvas-search-section .search-box .form-select {
            border-radius: var(--border-radius);
            padding: 0.5rem 0.8rem;
            border: 1px solid #e0e0e0;
            font-size: 0.9rem;
            width: 100%; /* Ensure full width */
        }

        .offcanvas-search-section .search-box .input-group > .form-control {
            border-top-left-radius: var(--border-radius);
            border-bottom-left-radius: var(--border-radius);
            border-top-right-radius: 0;
            border-bottom-right-radius: 0;
        }

        .offcanvas-search-section .search-box .btn-search {
            border-radius: 0 var(--border-radius) var(--border-radius) 0;
            padding: 0.5rem 1.2rem;
            font-weight: 500;
            font-size: 0.9rem;
        }

    .offcanvas-search-section .text-secondary {
        font-size: 0.8rem;
    }
