/* Services Page Specific Styles */

/* Services Hero */
.services-hero {
    position: relative;
    background: linear-gradient(135deg, rgba(123, 191, 57, 0.1) 0%, rgba(255, 255, 255, 1) 100%);
    padding: 150px 0 100px;
    text-align: center;
    overflow: hidden;
}

.services-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.services-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--black);
    position: relative;
    display: inline-block;
}

.services-hero h1::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 15px;
    background-color: rgba(123, 191, 57, 0.3);
    z-index: -1;
    transform: skewY(-2deg);
}

.services-hero p {
    font-size: 18px;
    color: var(--dark-gray);
    margin-bottom: 30px;
}

.genie-icon-large {
    width: 100px;
    height: 100px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px auto;
    font-size: 40px;
    box-shadow: 0 10px 30px rgba(123, 191, 57, 0.3);
    animation: pulse 2s infinite;
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

.wave-divider .shape-fill {
    fill: var(--white);
}

/* Services Main Section */
.services-main {
    padding: 80px 0 60px;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(123, 191, 57, 0.3);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(123, 191, 57, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
    font-size: 30px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary);
    color: var(--white);
    transform: rotate(10deg) scale(1.1);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--black);
}

.service-card p {
    color: var(--dark-gray);
    margin-bottom: 25px;
    font-size: 15px;
}

.service-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background-color: var(--secondary);
    color: var(--black);
    padding: 5px 30px;
    font-size: 12px;
    font-weight: 600;
    transform: rotate(45deg);
    width: 120px;
    text-align: center;
}

/* Polishing Services Section */
.polishing-services {
    padding: 60px 0;
    background-color: var(--light-gray);
    position: relative;
}

/* Service Process */
.service-process {
    padding: 80px 0;
    background-color: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 0 15px;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 40px;
    left: -15px;
    width: calc(100% + 30px);
    height: 2px;
    background-color: var(--primary);
    opacity: 0.2;
    z-index: 1;
}

.process-step:first-child::before {
    display: none;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
}

.step-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(123, 191, 57, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
    font-size: 24px;
    transition: var(--transition);
}

.process-step:hover .step-icon {
    background-color: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.process-step h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.process-step p {
    color: var(--dark-gray);
    font-size: 14px;
}

/* Service CTA */
.service-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-cta::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.service-cta::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(123, 191, 57, 0.4);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(123, 191, 57, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(123, 191, 57, 0);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .services-hero h1 {
        font-size: 42px;
    }
    
    .services-hero p {
        font-size: 16px;
    }
    
    .genie-icon-large {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .services-hero {
        padding: 120px 0 80px;
    }
    
    .services-hero h1 {
        font-size: 36px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .process-step::before {
        display: none;
    }
    
    .service-cta {
        padding: 80px 0;
    }
    
    .cta-content h2 {
        font-size: 30px;
    }
    
    .cta-content p {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .services-hero h1 {
        font-size: 32px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}