/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    
}


/* HERO SECTION */
.service-hero {
    height: 55vh;
    background: url("./credit1.webp")
        center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-hero .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.hero-content {
    position: relative;
    color: #fff;
    text-align: center;
    padding: 20px;
}

.hero-content h1 {
    font-size: 44px;
    margin-bottom: 8px;
}

.hero-content p {
    font-size: 18px;
    opacity: 0.9;
}

/* SERVICES SECTION */
.services-container {
    padding: 60px 7%;
    background: #f7f8fc;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: #333;
}

/* GRID */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-box {
    padding: 25px;
    background: #ffffff;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0px 4px 16px rgba(0,0,0,0.08);
    transition: 0.3s;
    border: 1px solid #eee;
}

.service-box:hover {
    transform: translateY(-8px);
}

.icon-box {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px auto;
    border-radius: 50%;
    font-size: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

/* COLORFUL ICON BACKGROUNDS */
.bg1 { background: #ff6b6b; }
.bg2 { background: #4dabff; }
.bg3 { background: #ff9f43; }
.bg4 { background: #6c5ce7; }
.bg5 { background: #00b894; }
.bg6 { background: #e84393; }
.bg7 { background: #fdcb6e; }
.bg8 { background: #55efc4; }

.service-box h3 {
    margin-bottom: 10px;
    font-size: 20px;
    color: #333;
}

.service-box p {
    font-size: 14px;
    opacity: 0.75;
    line-height: 22px;
}

/* RESPONSIVE */
@media (max-width: 1000px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content h1 {
        font-size: 34px;
    }
}

@media (max-width: 600px) {
    .service-hero {
        height: 45vh;
    }

    .services-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .hero-content h1 {
        font-size: 26px;
    }

    .hero-content p {
        font-size: 14px;
    }
}
