/* Header Implementation */
.site-header {
    position: relative;
    z-index: 1000;
}

.service-section-nine {
    margin: 30px !important;
}

/* Pre-header default state */
.pbmit-pre-header-wrapper {
    background-color: #f8f9fa;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    position: relative;
    z-index: 999;
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

/* Main header default state */
.pbmit-main-header-area {
    background-color: #fff;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1000;
}

@media (max-width: 1200px) {
    .service-nine-left-box {
        padding: 30px 0 0 0 !important;
    }
}

/* Desktop view (769px and above) */
@media (min-width: 769px) {

    /* On scroll: hide pre-header, make main header fixed at top */
    body.scrolled .pbmit-pre-header-wrapper {
        transform: translateY(-100%) !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }

    /* Main header becomes fixed at top when scrolled */
    body.scrolled .pbmit-main-header-area {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
        z-index: 1000 !important;
    }

    /* Add body padding to prevent content jump when header becomes fixed */
    body.scrolled {
        padding-top: 80px !important;
    }
}

/* Mobile view (768px and below) */
@media (max-width: 768px) {

    .pbmit-fld-wrap {
        text-align: center !important;
    }

    /* Always hide pre-header on mobile */
    .pbmit-pre-header-wrapper {
        display: none !important;
    }

    /* Main header is sticky/static on mobile */
    .pbmit-main-header-area {
        position: sticky !important;
        top: 0 !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
        z-index: 1000 !important;
    }

    /* Logo size adjustment for mobile */
    .site-branding img {
        max-height: 60px !important;
        transition: all 0.3s ease;
    }
}

.site-header .site-branding img {
    max-height: 80px !important;
}

.pbmit-title-bar-wrapper,
.pbmit-title-bar-content {
    min-height: 300px;
}

@media (min-width: 1201px) {

    .pbmit-title-bar-wrapper {
        border-radius: 0;
        margin: 0;
    }
}

.pbmit-accordion-style-1 .accordion-item.active {
    background-color: #fff !important;
}

.footer-style-2 .pbmit-footer-logo img {
    height: 150px;
}

.site-footer .widget {
    padding-top: 0;
}

.footer-wrap {
    padding-bottom: 25px;
}

.footer-style-2 {
    padding: 55px 0 10px;
}

.footer-style-2 .pbmit-footer-big-area {
    padding: 10px 15px 20px;
}

.section-lgb {
    padding-bottom: 50px;
    margin-top: 50px;
}

.header-style-3 .pbmit-pre-header-wrapper {
    background: #fff;
}

.portfolio-one .pbmit-sortable-list a:before {
    display: none !important;
}

.portfolio-one {
    margin-top: 0 !important;
}

.fid-section-nine {
    padding: 60px 0 60px 0;
}

.testimonial-one {
    padding: 60px 0px 0px 0px;
}

.testimonial-one .swiper-slider {
    padding-bottom: 150px;
}

.product-collections .pbmit-team-style-2 .pbminfotech-post-item {
    border-radius: 30px;
}

.product-collections .pbmit-team-style-2 .pbminfotech-post-item::after {
    content: none !important;
}

/* Product Details Page Styles */
.product-details {
    font-family: 'Arial', sans-serif;
}

/* Hero Section Styles */

.product-image-gallery .main-product-image img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(187, 154, 101, 0.2);
    transition: transform 0.3s ease;
}

.product-image-gallery .main-product-image img:hover {
    transform: scale(1.02);
}

.thumbnail-img {
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.thumbnail-img:hover,
.thumbnail-img.active {
    border-color: #bb9a65;
    transform: scale(1.05);
}

.product-title {
    color: #2c3e50;
    font-weight: 700;
}

.product-description .lead {
    color: #6c757d;
    line-height: 1.8;
}

/* Product Details Content Styles */
.product-details-content {
    background: #fff;
}

.section-title {
    color: #2c3e50;
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 3px;
    background: #bb9a65;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.product-entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: #495057;
}

.product-firstletter:first-letter {
    float: left;
    font-size: 75px;
    line-height: 60px;
    padding-top: 4px;
    padding-right: 8px;
    padding-left: 3px;
    font-family: Georgia, serif;
    color: #bb9a65;
    font-weight: bold;
}

.product-blockquote {
    background: linear-gradient(135deg, #bb9a65 0%, #d4b885 100%);
    border-left: 5px solid #bb9a65;
    padding: 30px;
    margin: 30px 0;
    border-radius: 10px;
    position: relative;
}

.product-blockquote p {
    color: #fff;
    font-size: 18px;
    font-style: italic;
    margin: 0;
}

.product-blockquote cite {
    color: #f8f9fa;
    font-size: 14px;
    display: block;
    margin-top: 10px;
    text-align: right;
}

.product-blockquote::before {
    content: '"';
    font-size: 60px;
    color: rgba(255, 255, 255, 0.3);
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: Georgia, serif;
}

.product-block-columns figure {
    margin: 0;
    overflow: hidden;
    border-radius: 10px;
}

.product-block-columns img {
    transition: transform 0.3s ease;
}

.product-block-columns img:hover {
    transform: scale(1.05);
}

.list-group-borderless .list-group-item {
    border: none;
    padding: 10px 0;
    background: transparent;
    display: flex;
    align-items: center;
}

.product-icon-list-icon {
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

.product-icon-list-text {
    font-size: 16px;
    color: #495057;
}

.product-meta-tags a {
    text-decoration: none;
    margin-right: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.product-meta-tags a:hover {
    color: #8b7355 !important;
}

/* Gallery Section Styles */
.product-gallery-section h3 {
    color: #2c3e50;
    font-weight: 700;
    position: relative;
}

.product-gallery-section h3::after {
    content: '';
    width: 60px;
    height: 3px;
    background: #bb9a65;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Slider Styles */
.product-gallery-slider {
    position: relative;
    margin-top: 40px;
}

.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.slider-track {
    position: relative;
    width: 100%;
    height: 400px;
}

.gallery-slide {
    display: none;
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-slide.active {
    display: block;
}

.gallery-photo-wrap {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.gallery-photo {
    display: block;
    text-decoration: none;
    width: 100%;
    height: 100%;
}

.gallery-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(187, 154, 101, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay i {
    color: #fff;
    font-size: 24px;
}

.gallery-slide:hover .gallery-overlay {
    opacity: 1;
}

.gallery-slide:hover .gallery-photo img {
    transform: scale(1.1);
}

/* Navigation Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(187, 154, 101, 0.9);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: rgba(187, 154, 101, 1);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background: #bb9a65;
    transform: scale(1.2);
}

/* Responsive Design for Product Details */
@media (max-width: 768px) {
    .product-hero-section .row {
        text-align: center;
    }

    .product-info {
        padding-left: 0 !important;
        margin-top: 30px;
    }

    .product-gallery-grid {
        flex-wrap: wrap;
        justify-content: center;
    }

    .gallery-item {
        min-width: 200px;
        flex: 0 0 calc(50% - 10px);
    }

    .gallery-photo img {
        height: 200px;
    }

    .product-firstletter:first-letter {
        font-size: 50px;
        line-height: 40px;
    }

    .product-blockquote {
        padding: 20px;
        margin: 20px 0;
    }

    .product-blockquote p {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .product-gallery-grid {
        flex-direction: column;
        align-items: center;
    }

    .gallery-item {
        min-width: 100%;
        max-width: 300px;
    }

    .gallery-photo img {
        height: 200px;
    }
}

.text-theme-color {
    color: #bb9a65 !important;
}

.bg-theme-color {
    background: #bb9a65 !important;
}

.about-five-bg {
    margin: 70px 0 !important;
}

.blog-section-home {
    padding-top: 0 !important;
    padding-bottom: 60px;
}

.home-service,
.testimonial-seven-bg {
    padding-top: 0 !important;
    padding-bottom: 60px !important;
}

.testimonial-seven-bg {
    padding: 60px 15px 80px 15px;
}

.padding-bottom-40 {
    padding-bottom: 40px !important;
}

.about-four-lamp-img {
    position: absolute;
    width: auto;
    max-width: 100%;
    left: -85px;
    bottom: -80%;
}

.ihbox-style-10-bg-area {
    padding: 30px 30px;
    border-radius: 20px;
}

.padding-top-70 {
    padding-top: 70px !important;
}

.why-choose-us {
    padding: 120px 0 60px 0 !important;
}

.pbmit-blog-style-3 .pbminfotech-box-content {
    padding: 130px 44px !important;
}

.pbmit-service-style-7 .pbmit-featured-img-wrapper::after {
    content: none !important;
}

/* Custom Pagination Styles */
.pagination-area {
    padding: 30px 0;
    display: flex;
    justify-content: center;
}

.pagination-area .pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
}

.pagination-area .pagination .page-item .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: #333;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pagination-area .pagination .page-item .page-link:hover {
    background-color: #bb9a65;
    color: #fff;
    border-color: #bb9a65;
}

.pagination-area .pagination .page-item.active .page-link {
    background-color: #bb9a65;
    color: #fff;
    border-color: #bb9a65;
}

.pagination-area .pagination .page-item.disabled .page-link {
    background-color: #e9ecef;
    color: #6c757d;
    pointer-events: none;
    border-color: #dee2e6;
}

.pagination-area .pagination .page-item .page-link .sr-only {
    display: none;
}

.alert-success {
    --bs-alert-color: #ffffff !important;
    --bs-alert-bg: #b39668 !important;
    --bs-alert-border-color: #b39668 !important;
}

.lg-outer.lg-visible {
    opacity: 1 !important;
    background: #00000099 !important;
}

.footer-style-2 .pbmit-footer-logo img {
    height: 100px !important;
}

.about-five-rightbox {
    padding: 50px 0px 50px 100px !important;
}

.service-nine-right-box {
    padding-top: 100px !important;
}

.post.blog-classic .pbmit-featured-wrapper img {
    border-radius: 0px !important;
}

.service-three {
    border-radius: 0 !important;
}

.pbmit-heading-subheading .pbmit-title,
.pbmit-heading .pbmit-title {
    font-size: 35px !important;
}

@media (max-width: 768px) {
    .about-five-rightbox {
        padding: 50px 0 !important;
    }

    .tab-sec-one .pbmit-tab {
        padding-left: 0;
    }

    .pbmit-static-box-style-1,
    .pbmit-static-box-style-1.pbmit-active {
        margin-bottom: 30px !important;
    }

    .before-after-left-area {
        border-radius: 0 !important;
    }

    .footer-wrap [class^="col"] {
        margin-bottom: 20px !important;
    }

    .tab-sec-one .pbmit-tab {
        padding-left: 0px !important;
    }

    .service-nine-right-box {
        padding-top: 20px !important;
    }

    .service-section-nine {
        margin: 0 !important;
        border-radius: 0 !important;
    }

    .pbmit-content-box {
        width: 90% !important;
    }

    .pbmit-service-style-7:hover .pbmit-service-description {
        height: 90px !important;
    }

    .pbminfotech-ele-fid-style-8 .pbmit-fid-inner {
        text-align: center !important;
    }

    .pbmit-sortable-list-ul li {
        display: block !important;
        text-align: center !important;
    }

    .blog-classic h2 {
        font-size: 25px !important;
    }

    .service-nine-left-box {
        padding: 30px 0 0 0;
    }


}

/* RichEditor Content Styling */
.pbmit-entry-content ul,
.pbmit-entry-content ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

.pbmit-entry-content ul {
    list-style-type: disc;
}

.pbmit-entry-content ol {
    list-style-type: decimal;
}

.pbmit-entry-content li {
    margin-bottom: 5px;
}

.pbmit-entry-content h1,
.pbmit-entry-content h2,
.pbmit-entry-content h3,
.pbmit-entry-content h4,
.pbmit-entry-content h5,
.pbmit-entry-content h6 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.2;
}

.pbmit-entry-content h1 {
    font-size: 2.5rem;
}

.pbmit-entry-content h2 {
    font-size: 2rem;
}

.pbmit-entry-content h3 {
    font-size: 1.75rem;
}

.pbmit-entry-content h4 {
    font-size: 1.5rem;
}

.pbmit-entry-content h5 {
    font-size: 1.25rem;
}

.pbmit-entry-content h6 {
    font-size: 1rem;
}

.pbmit-entry-content blockquote {
    border-left: 4px solid #bb9a65;
    padding-left: 15px;
    margin-left: 0;
    margin-bottom: 20px;
    font-style: italic;
    color: #555;
    background: #f9f9f9;
    padding: 15px;
}

.pbmit-entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}

.pbmit-entry-content a {
    color: #bb9a65;
    text-decoration: underline;
}

.pbmit-entry-content a:hover {
    color: #333;
}

.pbmit-entry-content table {
    width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse;
    border: 1px solid #dee2e6;
}

.pbmit-entry-content table p {
    margin: 0 !important;
}

.pbmit-entry-content table {
    font-size: 14px !important;
}

.pbmit-entry-content table th,
.pbmit-entry-content table td {
    padding: 12px;
    border: 1px solid #dee2e6;
    vertical-align: top;
}

.pbmit-entry-content table th {
    font-weight: 600;
    text-align: left;
    color: #333;
}

.lg-outer .lg-object {
    max-width: unset !important;
    max-height: unset !important;
}

.lg-outer .lg-thumb-outer {
    background-color: #0d0a0a9c !important;
}