/* HERO */
.hero{
    height:87vh;
    /* background:url('/images/Home-banner.jpg') center/cover no-repeat; */
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position:relative;
}

.hero-overlay{
    background:rgba(0,0,0,0.6);
    height:100%;
    display:flex;
    align-items:center;
    justify-content: center;
}

.hero-content{
    color:#fff;
    max-width:700px;
    align-items: center;
}

.hero h1{
    font-size:69px;
    font-weight:800;
}

.hero h2{
    font-size:28px;
    margin-top:10px;
}

.hero p{
    margin:15px 0;
    font-size:16px;
}

.hero-btn{
    display:inline-block;
    background:#f28c1b;
    color:#fff;
    padding:12px 25px;
    border-radius:6px;
    font-weight:600;
    transition:0.3s;
}

.hero-btn:hover{
    background:#ff9f2f;
}

/* INTRO */
.intro-section{
    padding:30px 0;
    background:#f9fbff;
    text-align:center;
}

.section-title{
    font-size:30px;
    font-weight:600;
}

.section-subtitle{
    margin-top:10px;
    color:#666;
}

/* SERVICES */
.services-section{
    padding:80px 0;
    background:#f8fafc;
}

.services-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.service-card{
     position:relative;
    border-radius:18px;
    padding:25px;
    overflow:hidden;
    color:#fff;
    min-height:320px;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    transition:0.4s;
    box-shadow:0 15px 35px rgba(0,0,0,0.08);

    /* SAME GRADIENT FOR ALL */
    background:linear-gradient(135deg,#2f7d6b,#1abc9c);
}

.service-card:hover{
     transform:translateY(-10px) scale(1.02);
    box-shadow:0 25px 50px rgba(0,0,0,0.15);
}

.service-card img{
     position:absolute;
    top:-58px;
    left:0;
    width:100%;
    height:100%;
    object-fit:cover;
    opacity:0.75;
}

.service-card h3{
    font-size:22px;
    margin-bottom:10px;
    font-weight:700;
}

.service-card p{
   font-size:14px;
    line-height:1.6;
    opacity:0.95;
}

.card-content{
    position:relative;
    z-index:2;
}

/* OPTIONAL LIGHT OVERLAY */
.service-card::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.15);
}

/* Dekhbhaal section starts here */

.features-section{
    padding:15px 0;
    background:#f4f6f7;
    position:relative;
}

/* LIGHT SHAPE BACKGROUND (OPTIONAL DESIGN TOUCH) */
.features-section::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:40%;
    height:100%;
    background:#e9d8c9;
    clip-path:polygon(0 0, 100% 0, 0 100%);
    z-index:0;
}

.features-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
    position:relative;
    z-index:1;
}

.feature-box{
    text-align:center;
    padding:20px;
}

.feature-box .icon{
    font-size:60px;
    margin-bottom:15px;
    color:#2f7d6b;
}

.feature-box h3{
    font-size:20px;
    margin-bottom:10px;
    color:#2f7d6b;
}

.feature-box p{
    font-size:14px;
    color:#555;
    line-height:1.6;
}




/* why us secton starts */

/* WHY SECTION */
.why-section{
    padding:15px 0;
    background:#ffffff;
}

/* HEADING */
.section-header{
    text-align:center;
    margin-bottom:50px;
}

.section-header h2{
    font-size:34px;
    color:#2f7d6b;
    font-weight:700;
}

/* GRID */
.why-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

/* BOX */
.why-box{
    text-align:center;
    padding:20px;
}

/* ICON */
.why-icon{
    font-size:50px;
    color:#2f7d6b;
    margin-bottom:15px;
}

/* TITLE */
.why-box h3{
    font-size:20px;
    margin-bottom:10px;
    color:#2f7d6b;
}

/* TEXT */
.why-box p{
    font-size:14px;
    color:#555;
    line-height:1.6;
}

/* FAMILY SECTION */
.family-section{
    padding:80px 0;
    background:#f8fafc;
}

/* GRID */
.family-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
    margin-top:40px;
}

/* CARD */
.family-card{
    background:#fff;
    padding:25px;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,0.05);
    transition:0.4s;
    border-left:5px solid #2f7d6b;
}

/* HOVER */
.family-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 40px rgba(0,0,0,0.1);
}

/* TEXT */
.family-card h3{
    font-size:18px;
    margin-bottom:10px;
    color:#2f7d6b;
}

.family-card p{
    font-size:14px;
    color:#555;
    line-height:1.6;
}

/* RESPONSIVE */
@media(max-width:992px){

    .services-grid{
        grid-template-columns:1fr 1fr;
    }

    .hero h1{
        font-size:32px;
    }

    .hero h2{
        font-size:22px;
    }
     .features-grid{
        grid-template-columns:1fr 1fr;
    }
    .why-grid{
        grid-template-columns:1fr 1fr;
    }
    .family-grid{
        grid-template-columns:1fr 1fr;
    }

}

@media(max-width:600px){

    .services-grid{
        grid-template-columns:1fr;
    }

    .hero{
        height:87vh;
        text-align:center;
    }

    .hero-content{
        margin:auto;
    }

    .hero h1{
        font-size:24px;
    }

    .hero h2{
        font-size:18px;
    }

    .hero p{
        font-size:14px;
    }
    .features-grid{
        grid-template-columns:1fr;
    }

    .features-section::before{
        display:none;
    }
     .why-grid{
        grid-template-columns:1fr;
    }

    .section-header h2{
        font-size:24px;
    }
     .family-grid{
        grid-template-columns:1fr;
    }
}

/* ================= ANIMATIONS ================= */

/* INITIAL STATE */
.reveal{
    opacity:0;
    transform:translateY(50px);
    transition:all 0.8s ease;
}

/* ACTIVE */
.reveal.active{
    opacity:1;
    transform:translateY(0);
}

/* HERO SPECIAL ANIMATION */
.hero-content{
    animation:fadeUp 1s ease forwards;
}

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(40px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* CARD HOVER ENHANCEMENT */
.service-card:hover,
.family-card:hover,
.why-card:hover{
    transform:translateY(-10px) scale(1.03);
}

/* STAGGER EFFECT */
.service-card,
.why-box,
.feature-box,
.family-card{
    transition:all 0.6s ease;
}