/* Services Page Styles - Innovative & Professional Design */

/* Services Overview Section */
.services-overview {
    position: relative;
    margin-top: -3rem;
    margin-bottom: 3rem;
    height: auto;
}

.services-overview .sectionHeader {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services-overview .sectionHeader .title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-dark-dark);
    margin-bottom: 1.5rem;
    position: relative;
}

.services-overview .sectionHeader .title .subtitle {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--card-bg);
    padding: 3px 10px;
    border-radius: 2px;
}

.services-overview .sectionHeader .desc {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Services Grid */
.servicesGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.serviceCard {
    background: var(--card-bg);
    border-radius: 5px;
    padding: 1.5rem;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.serviceCard::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-color-low));
    transition: left 0.4s ease;
}

.serviceCard:hover::before {
    left: 0;
}

.serviceCard:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(53, 50, 129, 0.12);
    border-color: var(--primary-color-low);
}

.serviceCard.featured {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
    color: var(--text-light);
    transform: scale(1.02);
}

.serviceCard.featured .serviceIcon {
    background: var(--text-light);
    color: var(--primary-color);
}

.serviceCard.featured .serviceContent h3,
.serviceCard.featured .serviceContent p,
.serviceCard.featured .features li {
    color: var(--text-light);
}

.serviceIcon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    transition: all 0.3s ease;
}

.serviceCard:hover .serviceIcon {
    transform: rotate(5deg) scale(1.1);
}

.serviceContent h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark-dark);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.serviceContent p {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-dark-low);
    line-height: 1.4;
}

.features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.8rem;
}

.serviceCard.featured .features li::before {
    color: var(--text-light);
}

/* Service Process Section */
.service-process {
    background: var(--bg-color);
    padding: 4rem 0;
    margin-bottom: 3rem;
    height: auto;
}

.service-process .content {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.service-process .content .title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-dark-dark);
    margin-bottom: 1.5rem;
    position: relative;
}

.service-process .content .title .subtitle {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--card-bg);
    padding: 3px 10px;
    border-radius: 2px;
}

.service-process .content p {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Process Steps */


.processSteps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    position: relative;
}

.processSteps::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-color-low), var(--primary-color));
    z-index: 0;
}

.step {
    text-align: center;
    position: relative;
    z-index: 2;
}

.stepNumber {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
    z-index: 3;
    box-shadow: 0 0 0 4px var(--bg-color);
}

.stepIcon {
    width: 60px;
    height: 60px;
    background: var(--card-bg);
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary-color);
    margin: 0 auto 1.2rem;
    transition: all 0.3s ease;
}

.step:hover .stepIcon {
    background: var(--primary-color);
    color: var(--text-light);
    transform: scale(1.1);
}

.stepContent h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark-dark);
    margin-bottom: 0.8rem;
}

.stepContent p {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.5;
}

/* Why Choose Us - Advantages List */
.why-choose-us {
    height: auto;
}

.advantagesList {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
    z-index: 10;
    position: relative;
}

.advantage {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.8rem;
    background: var(--card-bg);
    border-radius: 3px;
    transition: all 0.3s ease;
    width: max-content;
}

.advantage:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.advantage .icon {
    width: 35px;
    height: 35px;
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.advantage .text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.advantage .text span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark-dark);
}

.advantage .text .desc {
    font-size: 0.8rem;
    color: var(--text-dark-low);
    line-height: 1.4;
}

.advantage.highlighted {
    background: var(--primary-color);
}

.advantage.highlighted .icon {
    background: var(--text-light);
    color: var(--primary-color);
}

.advantage.highlighted .text span,
.advantage.highlighted .text .desc {
    color: var(--text-light);
}

/* CTA Buttons */
.ctaButtons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.primaryBtn,
.secondaryBtn {
    padding: 10px 20px;
    border-radius: 3px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.primaryBtn {
    background: var(--primary-color);
    color: var(--text-light);
}

.primaryBtn:hover {
    background: var(--primary-color-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(53, 50, 129, 0.3);
}

.secondaryBtn {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.secondaryBtn:hover {
    background: var(--text-light);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.primaryBtn i,
.secondaryBtn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.primaryBtn:hover i,
.secondaryBtn:hover i {
    transform: translateX(3px);
}

/* Animations for scroll effects */
.serviceCard {
    opacity: 0;
    transform: translateY(40px);
}

.step {
    opacity: 0;
    transform: translateY(30px);
}

.advantage {
    opacity: 0;
    transform: translateX(-30px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .servicesGrid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 1.5rem;
    }
    
    .processSteps {
        gap: 2rem;
    }
    
    .processSteps::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .services-overview {
        margin-top: 6rem;
    }
    
    .services-overview .sectionHeader .title,
    .service-process .content .title {
        font-size: 2rem;
    }
    
    .servicesGrid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .serviceCard {
        padding: 1.2rem;
    }
    
    .serviceCard.featured {
        transform: none;
    }
    
    .processSteps {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .stepNumber {
        position: relative;
        margin: 0 auto 1rem;
        transform: none;
    }
    
    .ctaButtons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .primaryBtn,
    .secondaryBtn {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .services-overview .sectionHeader .title,
    .service-process .content .title {
        font-size: 1.6rem;
    }
    
    .serviceCard {
        padding: 1rem;
    }
    
    .serviceIcon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .serviceContent h3 {
        font-size: 1.1rem;
    }
    
    .stepIcon {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
}
