/* Custom fonts and colors */
/*:root {
    --bs-primary: #0d6efd;
    
    --bs-success: #3ab579;
    --bs-dark: #1e293b;
    --bs-warning: #facc15;
}*/

/*body.page-body {
    background-color: #f8f9fa !important;
    font-family: 'Roboto', sans-serif;
}
*/
/* Header */
.search-container {
    max-width: 400px;
}

.fix-width {width: 70% !important}

p.text-muted.mb-4.line-height-lgb {
    line-height: 28px;
    font-size: 15px !important;
}

.search-container input {
    background-color: #f1f5f9 !important;
}

.text-primary {
    color: #0066cc !important;
}

/* .btn-primary {
    background-color: #0066cc !important;
    border-color: #0066cc !important;
} */

/* .btn-primary:hover {
    background-color: #0052a3 !important;
    border-color: #0052a3 !important;
} */

/* Hero Section */
.hero-section1 {
    min-height: 450px;
    height: auto;
}

.hero-img {
    height: 100%;
}

.hero-overlay {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 40%, rgba(0, 0, 0, 0.1) 100%);
}

.rating-card {
    width: 250px;
}

.text-warning {
    color: var(--bs-warning) !important;
}

/* Custom Tabs */
.custom-tabs {
    border-bottom: none !important;
}

.custom-tabs .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    color: #4b5563;
    padding: 1.25rem 1rem;
    font-weight: 500;
    font-size: 14px;
}



.contact-info-card tr {
    border-bottom: 1px solid #000 !important;
    line-height: 2rem;
}

.custom-tabs .nav-link.active {
    border: none;
    border-bottom: 2px solid #0066cc;
    color: #0066cc !important;
    background-color: transparent;
}

.custom-tabs .nav-link:hover:not(.active) {
    border-bottom: 2px solid #d1d5db;
}

/* Hide scrollbar for scrollable containers */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

@media (max-width: 991.98px) {
    .custom-tabs.nav-justified .nav-item {
        flex: 0 0 auto !important;
    }
}

/* Utility classes */
.smaller {
    font-size: 0.75rem;
}

.line-height-lg {
    line-height: 1.8;
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
.custom-tabs .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    color: #4b5563;
    padding: 1.25rem 1rem;
    font-weight: 500;
    font-size: 12px;
}
    
}

@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(5, 1fr);
    }

}

.product-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border: 1px solid #f1f5f9 !important;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
}

/* Sidebar Category List */
.category-list .category-item {
    display: block;
    padding: 0.6rem 1rem;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    margin-bottom: 0.3rem;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.category-list .category-item:hover {
    color: #0066cc;
}

.category-list .category-item.active {
    background-color: #f0f7ff;
    color: #0066cc;
}

.product-img-container {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.product-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.demo-card {
    background-color: #1e293b !important;
}

.product-btn {
    padding: 0.4rem 1.5rem;
    font-size: 0.9rem;
}

/* Features */
.feature-icon-box {
    width: 80px;
    height: 80px;
    border: 1px solid #f8f9fa;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.feature-icon-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, .05) !important;
}

/* Swiper navigation buttons customization */
.review-next,
.review-prev {
    color: var(--bs-dark);
}

.review-next::after,
.review-prev::after {
    font-size: 14px;
    font-weight: bold;
}

.swiper-button-next.review-next {
    right: -20px;
}

.swiper-button-prev.review-prev {
    left: -20px;
}

/* Ensure swiper wrapper has padding for shadows */
.reviewsSwiper {
    padding: 10px;
    margin: -10px;
}

@media (max-width: 768px) {
    .swiper-button-next.review-next {
        right: 0px;
        background: rgba(255, 255, 255, 0.8) !important;
    }

    .swiper-button-prev.review-prev {
        left: 0px;
        background: rgba(255, 255, 255, 0.8) !important;
    }

    .cta-section {
        text-align: center;
    }

    .cta-section .d-flex.gap-3 {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* CTA Section */
.cta-section {
    background: linear-gradient(90deg, #1b85d9 0%, #3bb273 100%);
}

.cta-section .btn-light {
    color: #1b85d9 !important;
}







/************************************************************** virksomheden section  **********************************************/
.feature-card-hover {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.feature-card-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}




/************************************************************** produkter section  **********************************************/

/* Image Gallery Grid */
.image-gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 15px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.gallery-item-1 {
    grid-column: 1 / 6;
    grid-row: 1 / 3;
}

.gallery-item-2 {
    grid-column: 6 / 9;
    grid-row: 1;
}

.gallery-item-3 {
    grid-column: 9 / 13;
    grid-row: 1;
}

.gallery-item-4 {
    grid-column: 6 / 8;
    grid-row: 2;
}

.gallery-item-5 {
    grid-column: 8 / 11;
    grid-row: 2;
}

.gallery-item-6 {
    grid-column: 11 / 13;
    grid-row: 2;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 500;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.gallery-overlay:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

@media (max-width: 991px) {
    .image-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .gallery-item-1 {
        grid-column: 1 / 3;
        grid-row: 1;
        aspect-ratio: 16/9;
    }

    .gallery-item-2,
    .gallery-item-3,
    .gallery-item-4,
    .gallery-item-5,
    .gallery-item-6 {
        grid-column: span 1;
        grid-row: auto;
        aspect-ratio: 4/3;
    }
}

@media (max-width: 576px) {
    .image-gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item-1 {
        grid-column: 1;
    }

    .gallery-item-2,
    .gallery-item-3,
    .gallery-item-4,
    .gallery-item-5,
    .gallery-item-6 {
        grid-column: 1;
    }
/* ==========================================================================
   Company Gallery Section (Bootstrap Grid + FSLightbox)
   ========================================================================== */
.company-gallery-thumb {
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
.company-gallery-thumb {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.company-gallery-thumb:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.16) !important;
}

.company-gallery-thumb .gallery-img {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    object-fit: cover;
}

.company-gallery-thumb:hover .gallery-img {
    transform: scale(1.08);
}

.company-gallery-thumb .gallery-thumb-overlay {
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0.65) 100%);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.company-gallery-thumb:hover .gallery-thumb-overlay {
    opacity: 1;
}

.gallery-zoom-badge {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important;
    max-width: 50px !important;
    max-height: 50px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    background: #ffffff !important;
    color: #0f172a !important;
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.35), 0 0 0 2px rgba(255, 255, 255, 0.6) !important;
    opacity: 0;
    transform: scale(0.55) rotate(-15deg);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.gallery-zoom-badge i {
    font-size: 1.25rem !important;
    line-height: 1 !important;
    display: block !important;
}

.company-gallery-thumb:hover .gallery-zoom-badge {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.company-gallery-thumb:hover .gallery-zoom-badge:hover {
    background: #0d6efd !important;
    color: #ffffff !important;
    transform: scale(1.1) rotate(0deg);
    box-shadow: 0 12px 30px rgba(13, 110, 253, 0.45), 0 0 0 2px rgba(255, 255, 255, 0.8) !important;
}

/* ==========================================================================
   Modern Blackbull Styles for Post-Gallery Add-on Modules (ce*.php)
   ========================================================================== */
.company-post-gallery-section {
    position: relative;
}

.post-gallery-modules .custom-module-col {
    margin-bottom: 1.5rem;
}

.post-gallery-modules .card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1.25rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-gallery-modules .card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.post-gallery-modules h5,
.post-gallery-modules h5.text9 {
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.post-gallery-modules h5 i.bi,
.post-gallery-modules h5.text9 i.bi {
    font-size: 1.25rem;
}

.post-gallery-modules .card-body {
    /* padding: 1rem 1.25rem; */
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: background-color 0.15s ease;
}

.post-gallery-modules .card-body:last-child {
    border-bottom: none;
}

.post-gallery-modules .card-body:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.post-gallery-modules .card-title a {
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.post-gallery-modules .card-title a:hover {
    opacity: 0.8;
}

.post-gallery-modules .btn-outline-primary {
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 0.4rem 0.85rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.post-gallery-modules .btn-outline-primary:hover {
    opacity: 0.9;
    filter: brightness(0.92);
}

.post-gallery-modules .btn-viewmore {
    border: 1px dashed rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.post-gallery-modules .btn-viewmore:hover {
    filter: brightness(0.95);
}

/* Company Quick Buttons (#cecompanybuttons-container) */
#cecompanybuttons-container .card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1.25rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    padding: 0.5rem;
}

#cecompanybuttons-container .companybuttons {
    border: none;
    font-weight: 700;
    font-size: 1.05rem;
}

#cecompanybuttons-container a.btn {
    border-radius: 0.6rem;
    font-weight: 500;
    padding: 0.45rem 1rem;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    transition: all 0.2s ease;
}

/* Infobjælker Modernization */
.info-bar-card {
    border-radius: 1rem;
    padding: 1.2rem 1.5rem;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-bar-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.info-bar-card a {
    text-decoration: none;
}

.blueBars {
    border-radius: 1rem !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blueBars:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.blueBars a {
    text-decoration: none;
}

/* Map Embed Container */
.map-embed-container {
    width: 100%;
    min-height: 350px;
    background: #f8fafc;
}

.map-embed-container iframe {
    width: 100% !important;
    height: 350px !important;
    border: none !important;
}

/* Top Buttons / Certifications */
.top-buttons-card img {
    max-height: 50px;
    height: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.top-buttons-card img:hover {
    transform: scale(1.06);
}

.country-flag-badge {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.country-flag-badge:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25) !important;
}


@media (max-width: 1663px) and (min-width: 1375px) {
    .custom-tabs .nav-link {
        padding: 1.25rem 0 !important;
    }
}
[data-bs-toggle="collapse"] .bi-chevron-down {
    display: inline-block;
    transition: transform 0.25s ease-in-out;
}
[data-bs-toggle="collapse"][aria-expanded="true"] .bi-chevron-down {
    transform: rotate(180deg);
}