/* Service Detail Page Styles - Intex Capital Group Inspired */

/* ========================================
   Service Hero Section
   ======================================== */
.service-hero-section {
    background: linear-gradient(135deg, #0052cc 0%, #003d99 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.service-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.service-hero-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.badge-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.badge-dot:nth-child(4) {
    animation-delay: 0.4s;
}

.badge-dot:nth-child(5) {
    animation-delay: 0.6s;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.badge-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.service-hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    text-align: center;
    position: relative;
    z-index: 1;
    line-height: 1.2;
}

.service-hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

/* ========================================
   Service Content Section
   ======================================== */
.service-content-section {
    padding: 80px 0;
    background: #f8f9fa;
}

/* Overview Card */
.service-overview-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* Two Overlapping Images Layout */
.service-images-wrapper {
    position: relative;
    margin-bottom: 60px;
    padding-bottom: 30px;
    max-width: 500px;
}

.service-main-image {
    position: relative;
    z-index: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-main-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.service-secondary-image {
    position: absolute;
    bottom: -30px;
    right: -50px;
    width: 60%;
    z-index: 2;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 5px solid #ffffff;
}

.service-secondary-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

/* Section Titles */
.service-section-title {
    font-size: 22px;
    font-weight: 700;
    color: #0052cc;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 8px;
}

.service-section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #0052cc 0%, transparent 100%);
}

.service-section-text {
    font-size: 15px;
    line-height: 1.7;
    color: #4a4a4a;
    margin-bottom: 0;
}

/* Service Sections */
.service-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* Feature List */
.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    font-size: 15px;
    color: #4a4a4a;
    line-height: 1.6;
}

.service-list li i {
    color: #0052cc;
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Technology Tags */
.service-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tech-tag {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #0052cc 0%, #003d99 100%);
    color: #ffffff;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 82, 204, 0.3);
}

/* Ideal For Box */
.service-ideal-box {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.service-ideal-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 82, 204, 0.1) 0%, transparent 70%);
}

.service-ideal-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.service-ideal-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

.service-ideal-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.service-ideal-list li i {
    color: #0052cc;
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Pricing Section */
.service-pricing-section {
    margin-bottom: 24px;
}

.service-info-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.service-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 82, 204, 0.15);
}

.service-info-card i {
    font-size: 48px;
    color: #0052cc;
    margin-bottom: 16px;
}

.service-info-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.service-price {
    font-size: 32px;
    font-weight: 700;
    color: #0052cc;
    margin: 0;
}

.service-delivery {
    font-size: 24px;
    font-weight: 600;
    color: #4a4a4a;
    margin: 0;
}

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

.sidebar-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #0052cc;
}

.service-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.service-sidebar-list li {
    border-bottom: 1px solid #e9ecef;
}

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

.service-sidebar-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    color: #4a4a4a;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.service-sidebar-list li a i {
    font-size: 20px;
    color: #0052cc;
    transition: transform 0.3s ease;
}

.service-sidebar-list li a:hover {
    background: #f8f9fa;
    color: #0052cc;
    padding-left: 24px;
}

.service-sidebar-list li a:hover i {
    transform: translateX(4px);
}

.service-sidebar-list li.active a {
    background: linear-gradient(135deg, #0052cc 0%, #003d99 100%);
    color: #ffffff;
}

.service-sidebar-list li.active a i {
    color: #ffffff;
}

/* Sidebar CTA */
.sidebar-cta {
    background: linear-gradient(135deg, #0052cc 0%, #003d99 100%);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    color: #ffffff;
}

.sidebar-cta h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
}

.sidebar-cta p {
    font-size: 14px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.sidebar-cta .btn-primary {
    background: #ffffff;
    color: #0052cc;
    border: none;
    font-weight: 600;
    padding: 12px 24px;
    transition: all 0.3s ease;
}

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

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 991px) {
    .service-hero-title {
        font-size: 36px;
    }
    
    .service-hero-subtitle {
        font-size: 18px;
    }
    
    .service-overview-card,
    .service-section {
        padding: 30px 24px;
    }
    
    .service-images-wrapper {
        margin-bottom: 40px;
        padding-bottom: 0;
    }
    
    .service-secondary-image {
        display: none;
    }
    
    .service-sidebar {
        position: static;
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .service-hero-section {
        padding: 100px 20px 60px;
    }
    
    .service-hero-section .container {
        padding-left: 0;
        padding-right: 0;
    }
    
    .service-hero-title {
        font-size: 28px;
    }
    
    .service-hero-subtitle {
        font-size: 16px;
    }
    
    .service-content-section {
        padding: 60px 20px;
    }
    
    .service-content-section .container {
        padding-left: 0;
        padding-right: 0;
    }
    
    .service-overview-card,
    .service-section,
    .service-ideal-box {
        padding: 24px 20px;
        margin-bottom: 24px;
    }
    
    .service-images-wrapper {
        margin-bottom: 30px;
        padding-bottom: 0;
    }
    
    .service-section-title {
        font-size: 24px;
    }
    
    .service-ideal-title {
        font-size: 20px;
    }
    
    .service-info-card {
        padding: 24px;
        margin-bottom: 16px;
    }
    
    .service-price {
        font-size: 28px;
    }
    
    .service-delivery {
        font-size: 20px;
    }
}


/* ========================================
   Eujim-Style CTA Section
   ======================================== */
.service-cta-section {
    margin-top: 60px;
    text-align: center;
}

.service-cta-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 82, 204, 0.1);
    color: #0052cc;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 20px;
}

.service-cta-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 40px;
}

.highlight-text {
    background: #ffffff;
    padding: 0 12px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.service-cta-box {
    background: linear-gradient(135deg, #0052cc 0%, #003d99 100%);
    border-radius: 16px;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

.service-cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.service-cta-box-title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.service-cta-divider {
    width: 60px;
    height: 3px;
    background: #ffffff;
    margin: 0 auto 30px;
    position: relative;
    z-index: 1;
}

.service-cta-description {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 1;
}

.btn-cta {
    display: inline-block;
    padding: 14px 40px;
    background: #ffffff;
    color: #0052cc;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.btn-cta:hover {
    background: #f0f0f0;
    color: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 991px) {
    .service-cta-title {
        font-size: 28px;
    }
    
    .service-cta-box {
        padding: 50px 30px;
    }
    
    .service-cta-box-title {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .service-cta-section {
        margin-top: 40px;
        padding: 0 20px;
    }
    
    .service-cta-title {
        font-size: 24px;
    }
    
    .service-cta-box {
        padding: 40px 24px;
    }
    
    .service-cta-box-title {
        font-size: 24px;
    }
    
    .service-cta-description {
        font-size: 15px;
    }
}


/* Service Cards on Services Overview Page */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(0, 102, 204, 0.05));
    border-radius: 12px;
}

.service-card .btn {
    transition: all 0.3s ease;
}

.service-card:hover .btn {
    background: var(--sn-primary, #0066cc);
    color: white;
    border-color: var(--sn-primary, #0066cc);
}
