/* Service Detail Card */
.service-detail-card {
    background: white;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

/* Service Type Badge */
.service-type-badge {
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Service Meta Info */
.service-meta-info {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    padding: 20px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.meta-item i {
    color: #2d3e50;
    font-size: 16px;
}

/* Service Intro */
.service-intro {
    padding: 30px;
    background: #f8f9fa;
    border-left: 4px solid #2d3e50;
    border-radius: 4px;
}

.service-intro .lead {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin: 0;
}

/* Service Main Image */
.service-main-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Content Section */
.content-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #2d3e50;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #2d3e50;
    display: inline-block;
}

.section-title i {
    margin-right: 10px;
    color: #2d3e50;
}

.description-content {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.feature-item-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #2d3e50;
    transition: all 0.3s ease;
}

.feature-item-card:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 32px;
    color: #2d3e50;
    margin-bottom: 15px;
}

.feature-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: #2d3e50;
    margin-bottom: 10px;
}

.feature-content p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Sidebar */
.service-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: #2d3e50;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Price Card */
.price-card {
    background: linear-gradient(135deg, #2d3e50 0%, #1a252f 100%);
    color: white;
}

.price-header {
    text-align: center;
    padding: 20px 0;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.price-label {
    display: block;
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.price-value {
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
}

.price-value small {
    font-size: 20px;
    font-weight: 600;
}

.price-on-request {
    font-size: 28px;
    font-weight: 700;
}

.price-actions .btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 12px 25px;
    transition: all 0.3s ease;
}

.price-actions .btn i {
    margin-right: 8px;
}

.price-actions .btn-primary {
    background: white;
    color: #2d3e50;
    border: none;
}

.price-actions .btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.price-actions .btn-outline-primary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.price-actions .btn-outline-primary:hover {
    background: white;
    color: #2d3e50;
}

.price-actions .btn-outline-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.price-actions .btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Info Card */
.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-label {
    color: #666;
    font-weight: 600;
    font-size: 14px;
}

.info-value {
    color: #2d3e50;
    font-weight: 700;
    font-size: 14px;
}

/* Services List Card */
.services-list {
    display: flex;
    flex-direction: column;
}

.service-list-item {
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.service-list-item:hover {
    background: #f8f9fa;
    color: #2d3e50;
    transform: translateX(5px);
}

.service-list-item.active {
    background: #2d3e50;
    color: white;
}

.service-list-item i {
    font-size: 12px;
}

/* Service Item Animation */
.service-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-item.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delay */
.service-item:nth-child(1) {
    transition-delay: 0.05s;
}

.service-item:nth-child(2) {
    transition-delay: 0.1s;
}

.service-item:nth-child(3) {
    transition-delay: 0.15s;
}

.service-item:nth-child(4) {
    transition-delay: 0.2s;
}

.service-item:nth-child(5) {
    transition-delay: 0.25s;
}

.service-item:nth-child(6) {
    transition-delay: 0.3s;
}

.service-item:nth-child(7) {
    transition-delay: 0.35s;
}

.service-item:nth-child(8) {
    transition-delay: 0.4s;
}

.service-item:nth-child(9) {
    transition-delay: 0.45s;
}

/* Service Entry */
.service-entry {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.service-entry:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-entry .block-20 {
    transition: transform 0.3s ease;
    position: relative;
    height: 250px;
    background-size: cover;
    background-position: center;
}

.service-entry:hover .block-20 {
    transform: scale(1.05);
}

/* Featured Badge */
.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #f39c12, #e74c3c);
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

/* Service Filter Buttons */
.service-filters {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.filter-btn {
    padding: 10px 25px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    color: #666;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.filter-btn:hover {
    background: #f8f9fa;
    border-color: #2d3e50;
    color: #2d3e50;
    text-decoration: none;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: #2d3e50;
    border-color: #2d3e50;
    color: white;
}

/* Service Meta */
.meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    font-size: 13px;
    color: #999;
}

.meta>div {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Badge Styling */
.badge {
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Service Excerpt */
.service-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-top: 10px;
}

/* Service Footer */
.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.service-price {
    color: #2d3e50;
    font-size: 18px;
}

/* Heading */
.heading a {
    color: #000;
    transition: color 0.3s ease;
    font-size: 18px;
    font-weight: 600;
}

.heading a:hover {
    color: #2d3e50;
    text-decoration: none;
}

/* Featured Services */
.featured-service {
    margin-bottom: 30px;
}

/* No Services Found */
.no-services-found {
    padding: 60px 20px;
}

/* Button Styling */
.btn-sm {
    padding: 8px 20px;
    font-size: 13px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-sm:hover {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 768px) {
    .service-detail-card {
        padding: 25px;
    }

    .service-meta-info {
        flex-direction: column;
        gap: 12px;
    }

    .section-title {
        font-size: 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .service-sidebar {
        position: relative;
        top: 0;
        margin-top: 30px;
    }

    .price-value {
        font-size: 32px;
    }

    .service-filters {
        flex-direction: column;
    }

    .filter-btn {
        width: 100%;
        justify-content: center;
    }

    .service-item {
        margin-bottom: 30px;
    }

    .service-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .service-entry .block-20 {
        height: 200px;
    }
}

/* Smooth Scroll */
/* html {
    scroll-behavior: smooth;
} */

/* Animation for newly loaded services */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.new-service-loaded {
    animation: slideInUp 0.6s ease forwards;
}

.partner-wrap img:hover {
    filter: grayscale(0%) !important;
    opacity: 1 !important;
    transform: scale(1.05);
}

.carousel-partners .owl-stage-outer {
    padding: 20px 0;
}

.carousel-partners .owl-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-partners .owl-dots {
    text-align: center;
    margin-top: 30px;
}

.carousel-partners .owl-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: #ddd;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.carousel-partners .owl-dot.active {
    background: #2d3e50;
    width: 30px;
    border-radius: 10px;
}

/* Wishlist Button Styles */
.btn-toggle-wishlist {
    background: transparent;
    border: 2px solid #ddd;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.btn-toggle-wishlist:hover {
    border-color: #dc3545;
    transform: scale(1.1);
}

.btn-toggle-wishlist.in-wishlist {
    border-color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
}

.btn-toggle-wishlist .icon-heart {
    font-size: 20px;
    transition: all 0.3s ease;
}

.btn-toggle-wishlist:not(.in-wishlist) .icon-heart {
    color: #999;
}

.btn-toggle-wishlist.in-wishlist .icon-heart {
    color: #dc3545;
    animation: heartBeat 0.5s ease;
}

@keyframes heartBeat {

    0%,
    100% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.3);
    }

    50% {
        transform: scale(1.1);
    }
}

.btn-toggle-wishlist.loading {
    pointer-events: none;
    opacity: 0.6;
}

.btn-toggle-wishlist.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid #dc3545;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.wishlist-count-display {
    font-size: 11px;
    margin-top: 5px;
}

/* Canada Section Styles */
.bg-danger-gradient {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    position: relative;
    overflow: hidden;
}

.bg-danger-gradient::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.bg-danger-gradient::after {
    content: '🍁';
    position: absolute;
    bottom: -20px;
    left: -20px;
    font-size: 200px;
    opacity: 0.1;
}

.canada-stat h3 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.canada-stat p {
    font-size: 1rem;
    margin: 0;
}

.job-post-canada {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.2);
    transition: all 0.3s ease;
    border-left: 5px solid #dc3545;
}

.job-post-canada:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
}

.badge-danger {
    background: linear-gradient(135deg, #dc3545 0%, #ff4d4d 100%);
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
    }
}

.badge-success {
    background: #28a745;
}

/* Responsive */
@media (max-width: 768px) {
    .bg-danger-gradient::after {
        font-size: 100px;
    }

    .canada-stat h3 {
        font-size: 1.8rem;
    }
}

.canada-highlight {
    background: linear-gradient(135deg, #fff 0%, #ffe5e5 100%);
    border: 2px solid #dc3545 !important;
}

.canada-highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.3);
}

.bg-africa-gradient {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
}

.job-post-africa {
    border-left: 4px solid #ff9800;
    background: linear-gradient(135deg, #ffffff 0%, #fff8f0 100%);
    transition: all 0.3s ease;
}

.job-post-africa:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 152, 0, 0.15);
}

.africa-stat h3 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.badge-warning {
    background-color: #ff9800;
    color: #fff;
}

/* Match the same structure as Canada section */
@media (max-width: 768px) {
    .africa-stat h3 {
        font-size: 1.8rem;
    }

    .job-post-item .one-forth {
        margin-left: 0 !important;
    }
}

.africa-highlight {
    background: linear-gradient(135deg, #fff 0%, #fff8e5 100%);
    border: 2px solid #ff9800 !important;
    transition: all 0.3s ease;
}

.africa-highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.3);
    background: linear-gradient(135deg, #fff8e5 0%, #ffedcc 100%);
}

.africa-highlight h3 a {
    color: #ff9800;
    transition: color 0.3s ease;
}

.africa-highlight:hover h3 a {
    color: #f57c00;
}

.africa-highlight .icon {
    color: #ff9800;
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.africa-highlight:hover .icon {
    transform: scale(1.1);
    color: #f57c00;
}

.africa-highlight .subheading {
    color: #666;
    font-weight: 500;
}

/* Animation for the icon */
@keyframes pulse-africa {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.africa-highlight .icon {
    animation: pulse-africa 3s infinite;
}

.form-control #client_id {
    color: #212529 !important
}