/* Services Hero Section */
.services-hero {
    background: linear-gradient(rgba(40, 170, 225, 0.1), rgba(40, 170, 225, 0.05));
    padding: 6rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../photos/pattern-dots.svg');
    background-size: 20px;
    opacity: 0.15;
    pointer-events: none;
}

.services-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.services-hero h1 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-size: 2.8rem;
    line-height: 1.2;
}

.services-hero p {
    font-size: 1.25rem;
    color: var(--light-text);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Hero Badges */
.hero-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-badge {
    display: flex;
    align-items: center;
    background-color: white;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.badge-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.badge-text {
    font-weight: 600;
    color: var(--text-color);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Services Navigation */
.services-navigation {
    background-color: var(--light-background);
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-height: 0;
}

.services-menu {
    margin: 0.25rem 0;
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #e0e7ef transparent;
    min-height: 0;
}

.services-list li {
    margin: 0;
    flex: 0 0 auto;
}

.service-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    color: var(--text-color);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    white-space: nowrap;
    min-width: 120px;
    text-align: center;
}

.service-link:hover {
    background-color: rgba(40, 170, 225, 0.1);
    color: var(--primary-color);
}

.service-link.active {
    background-color: var(--primary-color);
    color: white;
}

/* Service Details Section */
.service-details {
    max-width: 100%;
    margin: 0;
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.service-item {
    margin-bottom: 4rem;
    padding: 2rem;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px rgba(40, 170, 225, 0.1);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    scroll-margin-top: 120px;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(40, 170, 225, 0.15);
}

.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.service-icon {
    color: var(--primary-color);
    margin-right: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-header h2 {
    color: var(--primary-dark);
    margin: 0;
    font-size: 1.8rem;
    line-height: 1.3;
}

.service-content {
    padding: 0;
}

.service-content p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.service-features {
    list-style: none;
    margin: 1.5rem 0;
    padding-left: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.service-features li {
    position: relative;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    padding-left: 1.5rem;
}

.service-features li::before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.service-note {
    font-style: italic;
    color: var(--light-text);
    margin: 1.5rem 0;
    padding: 1rem;
    background-color: rgba(40, 170, 225, 0.05);
    border-left: 3px solid var(--primary-color);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.service-content .cta-button {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: transform 0.3s ease, background-color 0.3s ease;
    align-self: flex-start;
}

.service-content .cta-button:hover {
    transform: translateY(-3px);
}

/* Journey Section */
.journey-section {
    background-color: var(--light-background);
    padding: 4rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.journey-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../photos/pattern-dots.svg');
    background-size: 20px;
    opacity: 0.05;
    pointer-events: none;
}

.journey-section h2 {
    margin-bottom: 2rem;
    color: var(--text-color);
    font-size: 2.2rem;
    position: relative;
    z-index: 1;
}

.journey-steps {
    max-width: 1200px;
    margin: 3rem auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.journey-step {
    background-color: white;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px rgba(40, 170, 225, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
}

.journey-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(40, 170, 225, 0.15);
}

.step-number {
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.journey-step h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.journey-step p {
    color: var(--light-text);
    margin: 0;
    line-height: 1.6;
}

.journey-section .cta-button {
    margin-top: 2rem;
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.journey-section .cta-button:hover {
    transform: translateY(-3px);
}

/* Testimonial Section */
.testimonial-section {
    background-color: var(--primary-color);
    padding: 4rem 1rem;
    color: white;
    text-align: center;
}

.testimonial-content {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-content blockquote {
    margin: 0 0 2rem;
}

.testimonial-content blockquote p {
    font-size: 1.5rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-content cite {
    font-size: 1.1rem;
    font-style: normal;
    opacity: 0.9;
}

.testimonial-content .secondary-cta {
    background-color: white;
    color: var(--primary-color);
    border: none;
    padding: 0.9rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.testimonial-content .secondary-cta:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    animation: fadeInUp 0.6s ease-out forwards;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:nth-child(3) {
    animation-delay: 0.4s;
}

.service-card:nth-child(4) {
    animation-delay: 0.6s;
}

.service-card:nth-child(5) {
    animation-delay: 0.8s;
}

.journey-step {
    animation: fadeInUp 0.6s ease-out forwards;
}

.journey-step:nth-child(2) {
    animation-delay: 0.2s;
}

.journey-step:nth-child(3) {
    animation-delay: 0.4s;
}

.journey-step:nth-child(4) {
    animation-delay: 0.6s;
}

/* Responsive Adjustments */
@media (min-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .services-navigation {
        padding: 0.25rem 0;
    }
    .services-menu {
        margin: 0;
    }
    .services-list {
        gap: 0.25rem;
        padding-bottom: 0.25rem;
        margin-bottom: 0.25rem;
    }
    .service-link {
        font-size: 0.98rem;
        padding: 0.5rem 0.7rem;
        min-width: 100px;
    }
}

@media (max-width: 768px) {
    .services-hero {
        padding: 4rem 1rem;
    }
    
    .services-hero h1 {
        font-size: 2.2rem;
    }
    
    .services-hero p {
        font-size: 1.1rem;
    }
    
    .hero-badges {
        gap: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-item {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .service-header {
        flex-direction: column;
        text-align: center;
    }
    
    .service-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .service-header h2 {
        font-size: 1.5rem;
    }
    
    .journey-step {
        padding: 1.5rem;
    }
    
    .testimonial-content blockquote p {
        font-size: 1.3rem;
    }
}

@media (max-width: 600px) {
    .services-list li {
        min-width: 90px;
    }
    .service-link {
        font-size: 0.95rem;
        padding: 0.45rem 0.5rem;
        min-width: 90px;
    }
}

@media (max-width: 480px) {
    .service-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .service-content h2 {
        font-size: 1.4rem;
    }
    
    .step-number {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
    }
}

/* Accessibility - Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    .service-card,
    .journey-step {
        animation: none !important;
    }
    
    .service-card:hover,
    .journey-step:hover,
    .service-content .cta-button:hover,
    .journey-section .cta-button:hover,
    .testimonial-content .secondary-cta:hover {
        transform: none;
    }
}

/* Print Styles */
@media print {
    .service-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid var(--border-color);
    }

    .cta-button {
        display: none;
    }
}

.nav-float-indicator {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    border-radius: var(--border-radius);
    background: var(--primary-color);
    opacity: 0.15;
    transition: all 0.3s cubic-bezier(.4,2,.6,1);
    z-index: 0;
    pointer-events: none;
    will-change: transform, width, left;
} 