/* Services Header */
.services-header {
    background: linear-gradient(135deg, #7e57c2, #ff7043);
    padding: 80px 20px;
    text-align: center;
    border-bottom: 4px solid #ff7043;
}

.services-header h1 {
    font-size: 3em;
    text-shadow: 0 0 10px #1e1e1e;
    margin-bottom: 10px;
}

.services-header p {
    font-size: 1.2em;
    max-width: 600px;
    margin: auto;
}

/* Services Section */
.services {
    padding: 50px 20px;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: auto;
}

/* Service Card */
.service-card {
    background: #1e1e1e;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(255, 112, 67, 0.2);
    border: 2px solid #7e57c2;
    position: relative;
    overflow: hidden;
    
    /* Flexbox for centering text */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 30px rgba(255, 112, 67, 0.6);
    border-color: #ff7043;
}

.service-card::before {
    content: "";
    position: absolute;
    width: 120%;
    height: 120%;
    top: -50%;
    left: -50%;
    z-index: 0;
    transition: 0.3s ease;
}

.service-card:hover::before {
    width: 200%;
    height: 200%;
    opacity: 0.6;
}

/* Centering Text */
.service-card h3 {
    font-size: 1.5em;
    color: #ff7043;
    position: relative;
    z-index: 2;
    text-align: center;
}

.service-card p {
    font-size: 1em;
    color: #7e57c2;
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 80%;
}
