/* Services Section */
.services {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-img {
    height: 200px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.service-content p {
    color: var(--gray);
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.service-link i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Service Detail Page */
.service-detail {
    padding: 100px 0 60px;
}

.service-header {
    text-align: center;
    margin-bottom: 50px;
}

.service-header h1 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.service-header .service-excerpt {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.service-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-image img {
    width: 100%;
    height: auto;
    display: block;
}

.service-description h2 {
    color: var(--dark);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.service-description p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-description h3 {
    color: var(--primary);
    margin: 30px 0 15px;
    font-size: 1.4rem;
}

.service-description ul {
    margin-bottom: 30px;
    padding-left: 20px;
}

.service-description ul li {
    margin-bottom: 10px;
    position: relative;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.tech-item:hover {
    transform: translateY(-5px);
}

.tech-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.tech-item span {
    font-weight: 600;
    color: var(--dark);
}

.cta-section {
    background-color: var(--primary);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-top: 60px;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .services {
        padding: 60px 0;
    }
    
    .service-header h1 {
        font-size: 2rem;
    }
    
    .service-header .service-excerpt {
        font-size: 1rem;
    }
    
    .service-description h2 {
        font-size: 1.5rem;
    }
    
    .cta-section h2 {
        font-size: 1.5rem;
    }
    
    .tech-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}

/* Clients Section */
.clients {
    padding: 80px 0;
    background-color: #f8fafc;
}

.clients .section-title p {
    color: var(--gray);
    margin-top: 10px;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
}

.client-card {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.client-card:hover {
    transform: translateY(-5px);
}

.client-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}

.client-card:hover .client-logo img {
    filter: grayscale(0%);
    opacity: 1;
}

.client-card h3 {
    font-size: 1rem;
    color: var(--dark);
    margin-top: 15px;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.benefit-item {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.benefit-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.benefit-item h4 {
    color: var(--dark);
    margin-bottom: 10px;
}

.benefit-item p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}