/* Services Page Styling */

.services-container {
    padding: 120px 20px 80px;
    width: 100%;
    background-color: #f8f9fa;
    min-height: 100vh;
}

.pg {
    max-width: 1000px;
    margin: 0 auto 60px;
    text-align: center;
}

.pg h1 {
    font-size: 2.5rem;
    color: #2d3436;
    font-weight: 700;
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.pg h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #0984e3;
    margin: 12px auto 0;
    border-radius: 2px;
}

.pg p {
    color: #636e72;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    padding: 40px 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: #e1f0ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: #0984e3;
    font-size: 1.8rem;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.service-card:hover .icon-box { 
    transform: scale(1.1) rotate(5deg);
    background-color: #0984e3;
    color: #fff;
}

.service-card h2 {
    font-size: 1.4rem;
    color: #2d3436;
    margin-bottom: 15px;
}

.service-card p {
    color: #636e72;
    line-height: 1.6;
    font-size: 1rem;
}