/* ========================================================================
   SERVICES PAGE - HOLISTIC PSYCHOLOGICAL SERVICES
   Sleek, Modern, Minimalistic Design
   ======================================================================== */

/* ========================================================================
   SERVICES HERO SECTION
   ======================================================================== */
.services-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(109, 93, 166, 0.2) 50%, 
        transparent 100%);
}

.services-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
    animation: fadeInUp 0.8s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(109, 93, 166, 0.1);
    border-radius: 50px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 500;
    color: #6d5da6;
    animation: fadeIn 0.8s ease 0.2s both;
}

.hero-badge i {
    font-size: 18px;
}

.services-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.services-hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-decorative-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #6d5da6, #8b7dc0);
    margin: 40px auto 0;
    border-radius: 3px;
    animation: expandWidth 0.8s ease 0.6s both;
}

/* ========================================================================
   SERVICES NAVIGATION
   ======================================================================== */
.services-navigation {
    padding: 40px 0;
    background: #fff;
    position: sticky;
    top: 80px;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.services-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
    padding: 0 20px;
    overflow-x: auto;
    scrollbar-width: none;
}

.services-nav-container::-webkit-scrollbar {
    display: none;
}

.service-nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.service-nav-btn i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.service-nav-btn:hover {
    background: rgba(109, 93, 166, 0.1);
    color: #6d5da6;
    transform: translateY(-2px);
}

.service-nav-btn.active {
    background: linear-gradient(135deg, #6d5da6, #8b7dc0);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(109, 93, 166, 0.3);
}

.service-nav-btn.active i {
    transform: scale(1.1);
}

/* ========================================================================
   SERVICES CONTENT SECTION
   ======================================================================== */
.services-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.service-detail-card {
    background: white;
    border-radius: 24px;
    padding: 60px;
    margin-bottom: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s ease;
}

.service-detail-card.hidden {
    display: none;
}

.service-detail-card.fade-out {
    opacity: 0;
    transform: translateY(20px);
}

.service-detail-card.fade-in {
    animation: fadeInUp 0.6s ease both;
}

/* ========================================================================
   SERVICE CARD HEADER
   ======================================================================== */
.service-card-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.service-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6d5da6, #8b7dc0);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(109, 93, 166, 0.25);
    transition: transform 0.3s ease;
}

.service-icon-large i {
    font-size: 40px;
    color: white;
}

.service-card-header:hover .service-icon-large {
    transform: scale(1.05) rotate(5deg);
}

.service-header-text {
    flex: 1;
}

.service-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.service-tagline {
    font-size: 16px;
    color: #6d5da6;
    font-weight: 500;
}

/* ========================================================================
   SERVICE CARD BODY
   ======================================================================== */
.service-card-body {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.service-intro {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
}

/* ========================================================================
   SERVICE FEATURES GRID
   ======================================================================== */
.service-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(109, 93, 166, 0.05);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6d5da6, #8b7dc0);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 20px;
    color: white;
}

.feature-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
}

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

/* ========================================================================
   SERVICE DETAILS SECTION
   ======================================================================== */
.service-details-section {
    padding: 32px;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 16px;
    border-left: 4px solid #6d5da6;
}

.section-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.details-content {
    padding-left: 0;
}

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

.conditions-list li {
    position: relative;
    padding-left: 28px;
    font-size: 15px;
    color: #444;
    line-height: 1.8;
}

.conditions-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #6d5da6;
    font-weight: bold;
    font-size: 18px;
}

/* ========================================================================
   SERVICE PROCESS
   ======================================================================== */
.service-process {
    background: white;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.process-step {
    position: relative;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.process-step:hover {
    background: rgba(109, 93, 166, 0.05);
    transform: translateY(-4px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6d5da6, #8b7dc0);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.step-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
}

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

/* ========================================================================
   SERVICE APPROACH
   ======================================================================== */
.service-approach {
    padding: 32px;
    background: rgba(109, 93, 166, 0.05);
    border-radius: 16px;
}

.service-approach p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

/* ========================================================================
   SERVICE HIGHLIGHT
   ======================================================================== */
.service-highlight {
    display: flex;
    gap: 24px;
    padding: 32px;
    background: linear-gradient(135deg, rgba(109, 93, 166, 0.1), rgba(139, 125, 192, 0.05));
    border-radius: 16px;
    border: 2px solid rgba(109, 93, 166, 0.2);
}

.highlight-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6d5da6, #8b7dc0);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-icon i {
    font-size: 30px;
    color: white;
}

.highlight-content h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.highlight-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
}

/* ========================================================================
   SERVICE CTA
   ======================================================================== */
.service-cta {
    text-align: center;
    padding-top: 16px;
}

.service-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #6d5da6, #8b7dc0);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(109, 93, 166, 0.3);
    transition: all 0.3s ease;
}

.service-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(109, 93, 166, 0.4);
}

.service-cta-btn i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.service-cta-btn:hover i {
    transform: translateX(4px);
}

/* ========================================================================
   SERVICES CTA SECTION
   ======================================================================== */
.services-cta-section {
    background: linear-gradient(135deg, #6d5da6, #8b7dc0);
    padding: 80px 20px;
    margin: 40px 20px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.services-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.cta-section-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.cta-icon i {
    font-size: 40px;
    color: white;
}

.cta-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 600;
    color: white;
    margin-bottom: 16px;
}

.cta-section-text {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.cta-buttons-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: white;
    color: #6d5da6;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.cta-primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.cta-secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.cta-secondary-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

/* ========================================================================
   BACK TO TOP BUTTON
   ======================================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6d5da6, #8b7dc0);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 16px rgba(109, 93, 166, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(109, 93, 166, 0.4);
}

.back-to-top i {
    font-size: 24px;
}

/* ========================================================================
   ANIMATIONS
   ======================================================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 60px;
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(10px, -10px) rotate(5deg);
    }
    50% {
        transform: translate(-5px, 10px) rotate(-5deg);
    }
    75% {
        transform: translate(-10px, -5px) rotate(3deg);
    }
}

/* ========================================================================
   RESPONSIVE DESIGN
   ======================================================================== */
@media (max-width: 1024px) {
    .services-hero-title {
        font-size: 48px;
    }
    
    .service-detail-card {
        padding: 40px;
    }
    
    .service-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .services-hero {
        padding: 120px 0 60px;
    }
    
    .services-hero-title {
        font-size: 36px;
    }
    
    .services-hero-subtitle {
        font-size: 16px;
    }
    
    .services-navigation {
        top: 70px;
        padding: 20px 0;
    }
    
    .services-nav-container {
        gap: 8px;
    }
    
    .service-nav-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .services-content {
        padding: 40px 20px;
    }
    
    .service-detail-card {
        padding: 30px 20px;
        margin-bottom: 30px;
    }
    
    .service-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .service-icon-large {
        width: 70px;
        height: 70px;
    }
    
    .service-icon-large i {
        font-size: 35px;
    }
    
    .service-title {
        font-size: 28px;
    }
    
    .service-features-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .service-highlight {
        flex-direction: column;
    }
    
    .cta-section-title {
        font-size: 32px;
    }
    
    .cta-buttons-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-primary-btn,
    .cta-secondary-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .services-hero-title {
        font-size: 32px;
    }
    
    .service-title {
        font-size: 24px;
    }
    
    .service-detail-card {
        padding: 24px 16px;
        border-radius: 16px;
    }
    
    .service-card-body {
        gap: 32px;
    }
    
    .service-intro {
        font-size: 15px;
    }
    
    .feature-item {
        padding: 20px;
    }
    
    .service-details-section,
    .service-approach,
    .service-highlight {
        padding: 24px;
    }
    
    .conditions-list {
        grid-template-columns: 1fr;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}
