/* Services Page Styles - Matching Figma Design */

.service-detail-section {
    padding: 2rem 1rem;
    max-width: 900px;
    margin: -30px auto;

}

main:has(.service-detail-section) {
    display: block;
    max-width: none;
    margin: 0 auto;
    padding: 0;
}

main:has(.service-detail-section) > div:has(.service-detail-section) {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 2rem 0;
}

main:has(.service-detail-section) > div:has(.service-detail-section) > .services-page-header,
main:has(.service-detail-section) > div:has(.service-detail-section) > .neon-grid-trail,
main:has(.service-detail-section) > div:has(.service-detail-section) > .book-call {
    grid-column: 1 / -1;
}

main:has(.service-detail-section) > div:has(.service-detail-section) > .service-detail-section {
    max-width: 100%;
    margin: 0;
    padding: 0 clamp(1rem, 3vw, 3rem);
    width: 50%;
}

main:has(.service-detail-section) > div:has(.service-detail-section) > .service-detail-section:nth-of-type(odd) {
    justify-self: start;
}

main:has(.service-detail-section) > div:has(.service-detail-section) > .service-detail-section:nth-of-type(even) {
    justify-self: end;
}

/* Main Card Container */
.service-detail-card {
    display: flex;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 0;
    height: 100%;
}

/* Left Gradient Border */
.service-card-border {
    width: 8px;
    min-height: 100%;
    background: linear-gradient(180deg, #2D1B69 0%, #5B2C91 40%, #D946A6 100%);
    flex-shrink: 0;
}

/* Card Content */
.service-card-content {
    padding: 2rem 2.5rem;
    flex: 1;
}

/* Icon Wrapper */
.service-icon-wrapper {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.service-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Service Header */
.service-header {
    margin-bottom: 1rem;
}

.service-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    background: linear-gradient(90deg, #031665 0%, #7B2A9A 22%, #F13ECE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.service-subtitle {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Description */
.service-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 1.5rem;
    padding: 0;
}

/* Accordion Styles */
.service-accordion {
    margin-bottom: 1.5rem;
}

.accordion-item {
    border-bottom: 1px solid #E5E5E5;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

.accordion-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
}

.accordion-icon {
    font-size: 0;
    font-weight: 300;
    color: #5B2C91;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accordion-icon::before {
    content: "+";
    font-size: 1.25rem;
}

.accordion-item.open .accordion-icon::before {
    content: "-";
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-content.show {
    max-height: 500px;
    padding-bottom: 1rem;
}

.accordion-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
    padding: 0;
}

/* CTA Button */
.service-cta-btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    background: linear-gradient(135deg, #5B2C91 0%, #D946A6 100%);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(91, 44, 145, 0.3);
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
    main:has(.service-detail-section) > div:has(.service-detail-section) {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .service-detail-section {
        padding: 1rem;
    }

    main:has(.service-detail-section) > div:has(.service-detail-section) > .service-detail-section {
        width: 100%;
        justify-self: stretch;
        padding: 0;
    }
    
    .service-card-content {
        padding: 1.5rem;
    }
    
    .service-title {
        font-size: 1.5rem;
    }
    
    .service-icon-wrapper {
        width: 50px;
        height: 50px;
    }
}

@media (min-width: 1024px) {
    .service-detail-section {
        padding: 0 clamp(1rem, 3vw, 3rem);
    }
    
    .service-card-content {
        padding: 2.5rem 3rem;
    }
}

/* Services Page Header */
.services-page-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem 1rem;
}

.services-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: -3.5rem;
}

.services-page-subtitle {
    font-size: 1.1rem;
    color: #666;
    font-weight: 400;
}

/* Interactive Neon Grid Trail */
main:has(.neon-grid-trail) {
    position: relative;
    overflow: hidden;
    background: transparent;
}

main:has(.neon-grid-trail) > :not(.neon-grid-trail) {
    position: relative;
    z-index: 1;
}

main:has(.neon-grid-trail) > div:has(.neon-grid-trail) {
    position: relative;
    overflow: hidden;
}

main:has(.neon-grid-trail) > div:has(.neon-grid-trail) > :not(.neon-grid-trail) {
    position: relative;
    z-index: 1;
}

.neon-grid-trail {
    position: absolute;
    inset: 0;
    isolation: isolate;
    overflow: hidden;
    display: block;
    margin: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    border-radius: 0;
    background: #5454b6;
    pointer-events: auto;
    z-index: 0;
}

.neon-grid-trail canvas,
.neon-grid-trail__canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
}

@media (max-width: 768px) {
    .neon-grid-trail {
        min-height: 100%;
    }
}
 
