/* Separate Breadcrumb Section */
.breadcrumb-section {
    position: relative;
    padding: 120px 0 80px 0;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
}

.breadcrumb-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--primary-color) 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.breadcrumb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.1) 50%,
        rgba(0, 0, 0, 0.3) 100%
    );
}

.breadcrumb-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="breadcrumb-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1.5" fill="white" opacity="0.1"/><circle cx="5" cy="5" r="0.8" fill="white" opacity="0.05"/><circle cx="15" cy="15" r="0.8" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23breadcrumb-pattern)"/></svg>');
    background-size: 60px 60px;
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.breadcrumb-content {
    position: relative;
    z-index: 2;
}

.breadcrumb-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    text-align: center;
}

.breadcrumb-nav {
    width: 100%;
    display: flex;
    justify-content: center;
}

.breadcrumb-container-new {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 1.5rem 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.breadcrumb-container-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.breadcrumb-item-new {
    display: flex;
    align-items: center;
    position: relative;
}

.breadcrumb-link-new {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.breadcrumb-link-new:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.breadcrumb-icon-new {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.breadcrumb-icon-new::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.breadcrumb-link-new:hover .breadcrumb-icon-new::before {
    width: 100%;
    height: 100%;
}

.breadcrumb-icon-new i {
    position: relative;
    z-index: 1;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.breadcrumb-text-new {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.breadcrumb-separator-new {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    animation: separatorPulse 2s ease-in-out infinite;
}

@keyframes separatorPulse {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.breadcrumb-item-new.active .breadcrumb-link-new {
    background: rgba(255, 255, 255, 0.25);
    cursor: default;
}

.breadcrumb-item-new.active .breadcrumb-icon-new {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    animation: activeGlow 2s ease-in-out infinite;
}

@keyframes activeGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(255, 255, 255, 0); }
}

.breadcrumb-title {
    color: var(--white);
    text-align: center;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
    animation: titleSlideUp 1s ease-out;
}

@keyframes titleSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-subtitle {
    font-size: 1.3rem;
    font-weight: 500;
    opacity: 0.9;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
    animation: subtitleSlideUp 1s ease-out 0.3s both;
}

@keyframes subtitleSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 0.9;
        transform: translateY(0);
    }
}

.service-listing-main {
    padding-top: 3rem;
    padding-bottom: 3rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

/* Service Content Layout */
.service-content-layout {
    margin-bottom: 2rem;
}

/* Category Sidebar */
.category-sidebar {
    background: var(--white);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(195, 7, 1, 0.1);
    position: sticky;
    top: 100px;
}

.sidebar-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(195, 7, 1, 0.1);
    position: relative;
}

.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.category-tabs-vertical {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.category-tab-vertical {
    background: transparent;
    border: 2px solid rgba(195, 7, 1, 0.1);
    border-radius: 15px;
    padding: 1rem;
    text-align: left;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.category-tab-vertical::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(195, 7, 1, 0.1), transparent);
    transition: all 0.5s ease;
}

.category-tab-vertical:hover::before {
    left: 100%;
}

.category-tab-vertical:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(195, 7, 1, 0.2);
}

.category-tab-vertical.active {
    border-color: var(--primary-color);
    background: rgba(195, 7, 1, 0.05);
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(195, 7, 1, 0.2);
}

.category-tab-vertical.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
}

.tab-image-small {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(195, 7, 1, 0.2);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.category-tab-vertical.active .tab-image-small {
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.tab-image-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.category-tab-vertical:hover .tab-image-small img {
    transform: scale(1.1);
}

.tab-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.tab-title-small {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.category-tab-vertical.active .tab-title-small {
    color: var(--primary-color);
}

.tab-subtitle {
    font-size: 0.85rem;
    color: var(--secondary-color);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.category-tab-vertical:hover .tab-subtitle {
    opacity: 1;
}

.tab-arrow {
    color: var(--primary-color);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.category-tab-vertical:hover .tab-arrow {
    opacity: 1;
    transform: translateX(3px);
}

.category-tab-vertical.active .tab-arrow {
    opacity: 1;
    animation: arrowBounce 1.5s ease-in-out infinite;
}

@keyframes arrowBounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

/* Service Details Section */
.service-details-section {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(195, 7, 1, 0.1);
    min-height: 600px;
}

/* Package Header Styling */
.package-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(195, 7, 1, 0.1);
}

.package-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin: 0;
    letter-spacing: 1px;
}

.package-select {
    border: 2px solid rgba(195, 7, 1, 0.2);
    border-radius: 12px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    background: var(--white);
    min-width: 150px;
}

.package-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(195, 7, 1, 0.15);
}

.service-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-card {
    background: rgba(248, 249, 250, 0.8);
    border: 2px solid rgba(195, 7, 1, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 15px 50px rgba(195, 7, 1, 0.15);
    transform: translateY(-5px);
}

.service-card-body {
    padding-right: 1rem;
}

.service-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.service-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 1rem;
}

.price-symbol {
    font-size:17px;
    font-weight: 600;
    color: var(--primary-color);
}

.price-amount {
    font-size:20px;
    font-weight: 800;
    color: var(--primary-color);
    margin-left: 0.25rem;
}

.service-card-description {
    font-size: 1rem;
    color: var(--secondary-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 0.75rem;
}

/* Sub Services Styles */
.sub-services-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.sub-services-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sub-services-title::before {
    content: '\f0ad';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--primary-color);
    font-size: 1rem;
}

.sub-services-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sub-service-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(195, 7, 1, 0.02);
    border: 1px solid rgba(195, 7, 1, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.sub-service-card:hover {
    background: rgba(195, 7, 1, 0.05);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(195, 7, 1, 0.15);
}

.sub-service-image {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(195, 7, 1, 0.1);
}

.sub-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sub-service-card:hover .sub-service-image img {
    transform: scale(1.1);
}

.sub-service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sub-service-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 0;
    line-height: 1.3;
}

.sub-service-description {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sub-service-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.sub-service-price::before {
    content: 'Starting at ';
    font-size: 0.75rem;
    font-weight: 500;
    color: #6c757d;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--secondary-color);
}

.feature-item i {
    color: #28a745;
    font-size: 1rem;
}

.service-card-image {
    position: relative;
    text-align: center;
}

.service-card-image img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem;
}

.service-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(195, 7, 1, 0.9);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
}

.service-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.service-icon-item {
    background: rgba(195, 7, 1, 0.1);
    border-radius: 10px;
    padding: 0.75rem;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.service-icon-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.service-select-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #e60600 100%);
    border: none;
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.875rem 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(195, 7, 1, 0.3);
    width: 100%;
}

.service-select-btn:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a1f3a 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(195, 7, 1, 0.4);
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .breadcrumb-section {
        padding: 100px 0 60px 0;
        min-height: 250px;
    }

    .breadcrumb-container-new {
        padding: 1rem 1.5rem;
        gap: 1rem;
    }

    .breadcrumb-icon-new {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .breadcrumb-text-new {
        font-size: 0.9rem;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .page-subtitle {
        font-size: 1.1rem;
    }

    .service-listing-main {
        padding-top: 2rem;
    }

    .service-content-layout .row {
        flex-direction: column;
    }

    .category-sidebar {
        position: static;
        margin-bottom: 1.5rem;
    }

    .category-tabs-vertical {
        flex-direction: row;
        overflow-x: auto;
        gap: 1rem;
        padding-bottom: 0.5rem;
    }

    .category-tab-vertical {
        min-width: 200px;
        flex-shrink: 0;
    }

    .service-details-section {
        min-height: auto;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-card-title {
        font-size: 1.5rem;
    }

    .price-amount {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .breadcrumb-section {
        padding: 90px 0 50px 0;
        min-height: 220px;
    }

    .breadcrumb-wrapper {
        gap: 1.5rem;
    }

    .breadcrumb-container-new {
        padding: 0.75rem 1rem;
        gap: 0.75rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .breadcrumb-icon-new {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .breadcrumb-text-new {
        font-size: 0.85rem;
    }

    .breadcrumb-separator-new {
        font-size: 0.8rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .category-sidebar {
        padding: 1rem;
    }

    .sidebar-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .category-tabs-vertical {
        gap: 0.75rem;
    }

    .category-tab-vertical {
        min-width: 180px;
        padding: 0.75rem;
    }

    .tab-image-small {
        width: 40px;
        height: 40px;
    }

    .tab-title-small {
        font-size: 0.9rem;
    }

    .tab-subtitle {
        font-size: 0.8rem;
    }

    .service-details-section {
        padding: 1.5rem;
    }

    .package-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .service-card .row {
        flex-direction: column-reverse;
    }

    .service-card-body {
        padding-right: 0;
        margin-top: 1rem;
    }

    .service-features {
        grid-template-columns: 1fr;
    }

    /* Sub Services Mobile Responsive */
    .sub-services-section {
        margin-top: 1.5rem;
        padding-top: 1rem;
    }

    .sub-services-title {
        font-size: 1.1rem;
    }

    .sub-service-card {
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .sub-service-image {
        width: 50px;
        height: 50px;
    }

    .sub-service-title {
        font-size: 0.9rem;
    }

    .sub-service-description {
        font-size: 0.8rem;
        -webkit-line-clamp: 1;
    }

    .sub-service-price {
        font-size: 0.9rem;
    }

    .service-icons {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }

    .service-icon-item {
        padding: 0.5rem;
        font-size: 0.75rem;
    }
}