﻿/* ================= Colors ================= */
:root {
    --primary-purple: #8f6ad6;
    --primary-dark: #6b4bab;
    --light-bg: #f8f9ff;
    --dark-text: #2c2c2c;
    --light-text: #666;
    --border-radius: 15px;
    --shadow-light: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 15px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

/* ================= Typography ================= */
body {
    font-family: 'Roboto', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}



.services-main-title {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.services-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.7;
    font-weight: 300;
}

/* ================= Services ================= */
.services-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.service-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 50px;
    margin-bottom: 60px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.service-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
}

/* ================= Content ================= */
.service-content {
    padding: 20px;
}

.service-category {
    display: inline-block;
    color: var(--primary-purple);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    padding: 6px 15px;
    background: rgba(143, 106, 214, 0.1);
    border-radius: 20px;
}

.service-title {
    font-size: 2.2rem;
    color: var(--dark-text);
    margin-bottom: 20px;
    font-weight: 700;
}

.service-description {
    color: var(--light-text);
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

/* ================= Pics ================= */
.service-image-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 400px;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-image-wrapper:hover .service-image {
    transform: scale(1.05);
}

.service-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

/* ================= Features ================= */
.service-features {
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: var(--dark-text);
}

/* ================= Buttons ================= */
.service-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-service-primary {
    background: var(--primary-purple);
    color: white;
    padding: 14px 30px;
    border-radius: var(--border-radius);
    text-decoration: none !important;
    font-weight: 600;
    border: none;
    transition: var(--transition);
    font-family: 'Raleway', sans-serif;
    display: inline-block;
}

.btn-service-primary:hover {
     background: transparent;
    transform: translateY(-3px);
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
    box-shadow: 0 10px 25px rgba(143, 106, 214, 0.3);
}

.btn-service-outline {
    background: transparent;
    color: var(--primary-purple);
    padding: 14px 30px;
    border-radius: var(--border-radius);
    text-decoration: none !important;
    font-weight: 600;
    border: 2px solid var(--primary-purple);
    transition: var(--transition);
    font-family: 'Raleway', sans-serif;
    display: inline-block;
}

.btn-service-outline:hover {
    background: var(--primary-purple);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(143, 106, 214, 0.3);
}

/* ================= CTA  ================= */
.services-cta {
    background: var(--light-bg);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.cta-description {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: var(--primary-purple);
    color: white;
    padding: 16px 35px;
    border-radius: var(--border-radius);
    text-decoration: none !important;
    font-weight: 600;
    border: none;
    transition: var(--transition);
    font-family: 'Raleway', sans-serif;
    display: inline-flex;
    align-items: center;
}

.btn-cta-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    color: white;
    box-shadow: 0 15px 35px rgba(143, 106, 214, 0.4);
}

.btn-cta-secondary {
    background: transparent;
    border: 2px solid var(--primary-purple);
    color: #8f6ad6;
    padding: 16px 35px;
    border-radius: var(--border-radius);
    text-decoration: none !important;
    font-weight: 600;
    transition: var(--transition);
    font-family: 'Raleway', sans-serif;
    display: inline-flex;
    align-items: center;
}

.btn-cta-secondary:hover {
    background: var(--primary-purple);
    color: white;
    transform: translateY(-3px);
}

/* ================= Mobile ================= */
@media (max-width: 1200px) {
    .services-main-title {
        font-size: 2.5rem;
    }
    
    .service-title {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .services-hero {
        padding: 120px 0 60px;
    }
    
    .services-section {
        padding: 80px 0;
    }
    
    .service-card {
        padding: 40px 30px;
    }
    
    .service-image-wrapper {
        height: 350px;
        margin-bottom: 30px;
    }
    
    .services-cta {
        padding: 80px 0;
    }
    
    .cta-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .services-main-title {
        font-size: 2.2rem;
    }
    
    .services-subtitle {
        font-size: 1.1rem;
    }
    
    .service-title {
        font-size: 1.8rem;
    }
    
    .service-image-wrapper {
        height: 300px;
    }
    
    .service-actions {
        flex-direction: column;
    }
    
    .btn-service-primary,
    .btn-service-outline {
        width: 100%;
        text-align: center;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .services-hero {
        padding: 100px 0 50px;
    }
    
    .services-main-title {
        font-size: 1.8rem;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .service-title {
        font-size: 1.6rem;
    }
    
    .service-description {
        font-size: 1rem;
    }
    
    .services-cta {
        padding: 60px 0;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
}

/* Animation */
.service-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}