/* Services Custom Styles for Yandi Website */

/* Service Grid Section */
.services-grid-section {
    padding: 80px 0;
}

.service-box {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.service-box:hover .service-image img {
    transform: scale(1.1);
}

/* Service Icon - removed as requested
.service-icon {
    position: absolute;
    top: 170px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.service-icon img {
    width: 30px;
    height: 30px;
}
*/

.service-content {
    background-color: #fff;
    padding: 40px 30px 30px;
}

.service-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.btn-service {
    display: inline-block;
    padding: 10px 25px;
    background-color: #727272;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.btn-service:hover {
    background-color: #003d82;
}

/* Advantages Section */
.advantages-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.advantage-card {
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    margin-bottom: 20px;
}

.advantage-icon img {
    width: 60px;
    height: 60px;
}

.advantage-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.btn-cta {
    display: inline-block;
    padding: 12px 30px;
    background-color: #fff;
    color: #727272;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background-color: #727272;
    color: #fff;
}

/* Service Intro Section */
.service-intro {
    padding: 60px 0;
    background-color: #fff;
}

.intro-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.intro-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.intro-content p {
    font-size: 18px;
}

/* Service Colors - removed as requested
.service-box.invoicing .service-icon {
    background-color: #f8f9fa;
}

.service-box.web-creation .service-icon {
    background-color: #f8f9fa;
}

.service-box.email-management .service-icon {
    background-color: #f8f9fa;
}

.service-box.consulting .service-icon {
    background-color: #f8f9fa;
}
*/

/* Responsive Styles */
@media (max-width: 991px) {
    .service-box {
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .service-image {
        height: 180px;
    }
    
    .service-icon {
        top: 150px;
    }
    
    .service-content {
        padding: 35px 20px 25px;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
}
