/* Modern Service Details Styles */

/* Hero Section */
.service-hero-modern {
    padding: 80px 0 60px;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.service-hero-modern .breadcrumb-modern {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    margin-bottom: 20px;
}

.service-hero-modern .breadcrumb-modern a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s;
}

.service-hero-modern .breadcrumb-modern a:hover {
    color: var(--primary-color, #000);
}

.service-hero-modern .hero-title {
    font-size: 3rem;
    line-height: 1.1;
    font-weight: 500;
    margin-bottom: 20px;
    color: #000000;
    letter-spacing: -0.02em;
}

.service-hero-modern .hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: #000000;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.service-hero-modern .hero-subtitle::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ff4d4d, #f9cb28);
    border-radius: 2px;
}

/* Responsive adjustments for Hero */
@media only screen and (max-width: 1200px) {
    .service-hero-modern .hero-title {
        font-size: 2.75rem;
    }
}

@media only screen and (max-width: 991px) {
    .service-hero-modern {
        padding: 60px 0 40px;
    }

    .service-hero-modern .hero-title {
        font-size: 2.25rem;
    }
}

@media only screen and (max-width: 767px) {
    .service-hero-modern {
        padding: 40px 0 30px;
    }

    .service-hero-modern .hero-title {
        font-size: 1.75rem;
    }

    .service-hero-modern .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .service-hero-modern .breadcrumb-modern {
        font-size: 12px;
    }

    .tech-stack-area {}
}

.service-hero-modern .hero-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
}

.service-hero-modern .hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.02);
    transition: transform 0.8s ease;
}

.service-hero-modern .hero-image-wrapper:hover img {
    transform: scale(1.05);
}

/* Overview Section */
.service-overview-modern {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.service-overview-modern .lead-text {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #000000;
    font-weight: 500;
    margin-bottom: 25px;
}

.service-overview-modern .section-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #000000;
    margin-bottom: 20px;
    font-family: var(--font_dmsans) !important;
}

.service-overview-modern .section-text h4 {
    margin-bottom: 20px;
    margin-top: 25px;
    font-family: var(--font_dmsans) !important;
}

/* Modern Feature Cards */
.features-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.feature-card-modern {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.feature-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #000;
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.feature-card-modern:hover::before {
    opacity: 1;
}

.feature-card-modern h4 {
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font_dmsans) !important;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #000000;
}

.feature-card-modern h4 i {
    font-size: 1.2rem;
    color: #444;
    transition: color 0.3s;
}

.feature-card-modern:hover h4 i {
    color: #000;
}

.feature-card-modern p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #000000;
    margin: 0;
}

/* Card Color Variations */
.feature-card-modern.cms {
    background: #f0f7ff;
    border-color: #cce5ff;
}

.feature-card-modern.cms h4 i {
    color: #007bff;
}

.feature-card-modern.cms::before {
    background: #007bff;
}

.feature-card-modern.responsive {
    background: #f8f0fc;
    border-color: #e5ccff;
}

.feature-card-modern.responsive h4 i {
    color: #9c27b0;
}

.feature-card-modern.responsive::before {
    background: #9c27b0;
}

.feature-card-modern.performance {
    background: #f0fdf4;
    border-color: #d1fae5;
}

.feature-card-modern.performance h4 i {
    color: #10b981;
}

.feature-card-modern.performance::before {
    background: #10b981;
}

.feature-card-modern.security {
    background: #fef2f2;
    border-color: #fee2e2;
}

.feature-card-modern.security h4 i {
    color: #ef4444;
}

.feature-card-modern.security::before {
    background: #ef4444;
}

.feature-card-modern.api {
    background: #fff7ed;
    border-color: #ffedd5;
}

.feature-card-modern.api h4 i {
    color: #f97316;
}

.feature-card-modern.api::before {
    background: #f97316;
}

.feature-card-modern.seo {
    background: #fffbeb;
    border-color: #fef3c7;
}

.feature-card-modern.seo h4 i {
    color: #f59e0b;
}

.feature-card-modern.seo::before {
    background: #f59e0b;
}


/* Modern Sidebar Overlay Design */
.service-sidebar-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    min-height: 600px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.service-sidebar-wrapper .sidebar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.service-sidebar-wrapper:hover .sidebar-image {
    transform: scale(1.05);
}

.quote-overlay-card {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.service-sidebar-wrapper:hover .quote-overlay-card {
    transform: translateY(-5px);
}

.quote-overlay-card .quote-icon {
    position: absolute;
    top: -20px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.quote-overlay-card p {
    font-size: 1.15rem;
    font-style: italic;
    color: #000000;
    line-height: 1.6;
    margin-bottom: 20px;
}

.quote-overlay-card .author {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.quote-overlay-card .author strong {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000;
}

.quote-overlay-card .author span {
    font-size: 0.85rem;
    color: #000000;
}

/* Modern Process Roadmap Section */
.process-roadmap-area {
    padding: 100px 0;
    background: #eff2ff;
    /* Light, subtle background */
    overflow: hidden;
    position: relative;
}

.process-roadmap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.roadmap-step {
    position: relative;
    padding: 40px 30px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.roadmap-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    border-color: #000;
}

.roadmap-step .step-number-bg {
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 120px;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    line-height: 1;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: all 0.4s ease;
    z-index: -1;
    pointer-events: none;
}

.roadmap-step:hover .step-number-bg {
    color: rgba(0, 0, 0, 0.06);
    transform: scale(1.1);
}

.roadmap-step .step-label {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    color: #e33a7d;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: block;
}

.roadmap-step .step-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
    line-height: 1.2;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.roadmap-step .step-text {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    margin: 0;
}

/* Connecting line for desktop */
@media (min-width: 1200px) {
    .process-roadmap::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 5%;
        right: 5%;
        height: 2px;
        background: repeating-linear-gradient(to right, #eee, #eee 10px, transparent 10px, transparent 20px);
        z-index: 0;
        opacity: 0.5;
    }
}

@media (max-width: 1199px) {
    .process-roadmap {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .process-roadmap {
        grid-template-columns: 1fr;
    }

    .roadmap-step {
        padding: 35px 25px;
    }

    .roadmap-step .step-number-bg {
        font-size: 80px;
    }
}

@media (max-width: 767px) {
    .process-roadmap-area .d-flex.gap-3 {
        gap: 0 !important;
        margin-bottom: 40px !important;
    }

    .wc-btn-pill-icon-right {
        white-space: nowrap !important;
        padding: 12px 25px !important;
        font-size: 14px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 220px !important;
    }

    .wc-btn-pill-icon-right .icon-wrapper {
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
    }
}