/* ------------------------
   GLOBAL
------------------------- */

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: Arial, sans-serif; background: #f8f9fa; }

/* ------------------------
   HERO SECTION
------------------------- */

.services-hero {
    height: 65vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-hero .overlay {
    position: absolute;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
}

.hero-text {
    position: relative;
    text-align: center;
    color: white;
    animation: fadeIn 2s ease-in-out;
}

.hero-text h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 1.2rem;
}

/* ------------------------
   SERVICES GRID
------------------------- */

.services-section {
    padding: 60px 5%;
    text-align: center;
}

.title {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #333;
}

.subtitle {
    color: #555;
    margin-bottom: 40px;
}

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

.service-box {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 12px rgba(0,0,0,0.1);
    transition: 0.4s;
    overflow: hidden;
    position: relative;
}

.service-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.icon {
    font-size: 2.5rem;
    margin-top: 15px;
}

.service-box h3 {
    margin-top: 10px;
    font-size: 1.4rem;
}

.service-box p {
    padding: 10px 20px 25px;
    color: #444;
}

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

/* ------------------------
   FEATURES
------------------------- */

.service-features {
    padding: 60px 5%;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.feature-card {
    background: #fff;
    padding: 25px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.feature-card:hover {
    transform: scale(1.05);
}

/* ------------------------
   CTA
------------------------- */

.cta-section {
    margin-top: 40px;
    /* background: #0047b3; */
    background: url('./life.webp') center/cover no-repeat;
    text-align: center;
    padding: 60px 20px;
    color: black;
}

.cta-btn {
    display: inline-block;
    background: #ff8c00;
    padding: 12px 25px;
    margin-top: 20px;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 1.1rem;
    transition: 0.3s;
}

.cta-btn:hover {
    background: #ffa733;
}

/* ------------------------
   ANIMATION
------------------------- */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ------------------------
   RESPONSIVE MEDIA QUERIES
------------------------- */

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

    .hero-text h1 {
        font-size: 2.2rem;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .services-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .services-hero {
        height: 50vh;
    }
}
