/* Services Section */
.services-section {
    padding: 100px 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: #EFF6FF; /* Light blue tint */
    color: var(--accent-orange);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.section-line {
    width: 60px;
    height: 4px;
    background-color: var(--accent-orange);
    margin: 0 auto;
}

/* Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Smaller min-width for mobile */
    gap: 30px;
    margin-bottom: 50px;
}

/* Card */
.service-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    height: 240px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.card-icon {
    position: absolute;
    bottom: -20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--color-accent); /* Use variable */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.card-content {
    padding: 30px;
    padding-top: 40px; /* Space for icon */
}

.card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.card-content p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--color-accent);
    font-size: 0.9rem;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 12px;
}

.services-cta {
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    .service-card {
        max-width: 100%;
    }
    
    .services-grid {
        gap: 20px;
        grid-template-columns: 1fr; /* Force 1 column on small mobile */
    }

    .card-image {
        height: 200px;
    }
    
    .card-content {
        padding: 20px;
        padding-top: 30px;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        bottom: -15px;
        right: 15px;
    }
}
