/* =========================================
   Services Page Enhancements
   ========================================= */

/* Sticky Sidebar for Desktop */
@media (min-width: 992px) {
    .tab-menu-container {
        position: sticky;
        top: 120px;
        /* Adjust based on header height */
        z-index: 90;
    }
}

/* Enhanced Tab Links (Sidebar) */
.tablinks {
    display: flex;
    /* Better alignment for icons */
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
    padding: 18px 25px;
    margin-bottom: 12px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Very subtle border */
    border-radius: 12px;
    /* Softer corners */
    font-size: 16px;
    font-weight: 600;
    color: #555;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    outline: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    /* Subtle depth */
}

/* Hover State */
.tablinks:hover {
    background: #ffffff;
    color: var(--primaryColor);
    transform: translateX(8px);
    /* Slide effect */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.05);
}

/* Focus State */
.tablinks:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(3, 79, 182, 0.12);
    border-color: var(--primaryColor);
    transform: translateX(8px);
}

/* Active State */
.tablinks.active {
    background: var(--primaryColor);
    /* Keep primary color for active */
    background: linear-gradient(135deg, var(--primaryColor), var(--secondaryColor));
    /* Gradient lift */
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(var(--primaryColorRGB), 0.3);
    /* Colored shadow if possible, else generic */
    transform: scale(1.02);
    /* Slight pop */
}

.tablinks.active i {
    color: #fff !important;
}

/* Icon Styling in Tabs */
.tablinks i.me-2 {
    font-size: 20px;
    width: 30px;
    text-align: center;
    transition: color 0.3s;
    color: var(--primaryColor);
}

.tablinks:hover i.me-2 {
    color: var(--primaryColor);
}

/* Content Area Card Styling */
.tabcontent {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    /*box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);*/
    /* Luxurious shadow */
    margin-bottom: 30px;
    /*border: 1px solid rgba(0, 0, 0, 0.03);*/
}

/* Section Title inside Tab */
.tabcontent .sidebar__title h5 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #1a1a1a;
    position: relative;
    display: inline-block;
}

.tabcontent .sidebar__title h5::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primaryColor);
    margin-top: 10px;
    border-radius: 2px;
}

/* Accordion Enhancements */
.faq__accordion .accordion-item {
    border: none;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    margin-bottom: 18px;
    border-radius: 10px !important;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.faq__accordion .accordion-item:hover {
    transform: translateY(-2px);
}

.faq__accordion .accordion-button {
    background-color: #fcfcfc;
    border: none;
    box-shadow: none !important;
    /* Remove default bootstrap focus shadow */
    font-weight: 600;
    font-size: 17px;
    padding: 20px 25px;
    color: #333;
}

.faq__accordion .accordion-button:not(.collapsed) {
    background-color: #f7f9fc;
    /* Light bg when open */
    color: var(--primaryColor);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.05) !important;
}

.faq__accordion .accordion-body {
    padding: 25px;
    color: #666;
    line-height: 1.7;
    background: #fff;
    border: none;
    /* Override existing border */
    font-size: 15px;
}

/* Service Visual Image */
.service-visual img {
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}

.service-visual:hover img {
    transform: translateY(-5px) scale(1.02);
}

/* =========================================
   Breadcrumb Area (Hero Section) Fix
   ========================================= */

.breadcrumbarea {
    min-height: 380px !important;
    padding: 120px 0 80px 0 !important;
    position: relative;
    display: flex;
    align-items: center;
}

/* Dark overlay for better text contrast */
.breadcrumbarea::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

/* Ensure content appears above overlay */
.breadcrumbarea .container,
.breadcrumbarea__content__wraper {
    position: relative;
    z-index: 2;
}

/* Hero title styling */
.breadcrumbarea__title h2.heading,
.breadcrumbarea__title .heading {
    color: #ffffff !important;
    font-size: 48px !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    text-align: center !important;
}

/* Hero description */
.breadcrumbarea__title p {
    color: #ffffff !important;
    font-size: 18px !important;
    line-height: 1.6 !important;
    opacity: 0.95 !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    text-align: center !important;
}

/* Breadcrumb navigation */
.breadcrumbarea__inner ul {
    margin-top: 30px;
}

.breadcrumbarea__inner ul li {
    color: #ffffff !important;
}

.breadcrumbarea__inner ul li a {
    color: #ffffff !important;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.breadcrumbarea__inner ul li a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .breadcrumbarea {
        min-height: 300px !important;
        padding: 80px 0 60px 0 !important;
    }

    .breadcrumbarea__title h2.heading,
    .breadcrumbarea__title .heading {
        font-size: 32px !important;
    }

    .breadcrumbarea__title p {
        font-size: 16px !important;
    }
}

/* =========================================
   Slider Arrow Navigation Fix
   ========================================= */

/* Fix for hidden slider arrows */
.swiper-button-next,
.swiper-button-prev,
.arrow-btn,
.arrow-btn-2 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(12, 128, 12, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0.8;
}

.swiper-button-next,
.arrow-btn.swiper-button-next {
    right: 20px !important;
}

.swiper-button-prev,
.arrow-btn.swiper-button-prev {
    left: 20px !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover,
.arrow-btn:hover,
.arrow-btn-2:hover {
    opacity: 1;
    background: rgba(12, 128, 12, 1);
    transform: translateY(-50%) scale(1.1);
}

/* Responsive: Hide arrows on mobile, show pagination */
@media (max-width: 768px) {

    .swiper-button-next,
    .swiper-button-prev,
    .arrow-btn,
    .arrow-btn-2 {
        display: none;
    }
}

/* =========================================
   Blog Author Bylines
   ========================================= */

/* Blog Author Mini Byline */
.blog__author__mini {
    font-size: 13px;
    color: #666;
    margin-top: 10px;
    font-style: italic;
}

.blog__author__mini i {
    margin-right: 5px;
    color: #0c800c;
}