.hero{
    background:#1e3a2f;
    color:#fff;
    text-align:center;
    padding:70px 20px;
}

.hero h2{
    margin:0;
    font-size:16px;
    opacity:.8;
    letter-spacing:1px;
}

.hero h1{
    margin:10px 0;
    font-size:34px;
}

.hero p{
    max-width:700px;
    margin:0 auto;
    opacity:.9;
}

.section{
    width:90%;
    max-width:1100px;
    margin:50px auto;
}

.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
    gap:20px;
}

.card{
    background:white;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
}

.card img{
    width:100%;
    height:180px;
    object-fit:cover;
}

.card-body{
    padding:15px;
}

.title{
    font-size:18px;
    font-weight:bold;
    color:#1e3a2f;
    margin-bottom:8px;
}

.desc{
    font-size:14px;
    color:#555;
    margin-bottom:12px;
    line-height:1.5;
}

.btn{
    display:inline-block;
    padding:8px 12px;
    background:#1e3a2f;
    color:white;
    text-decoration:none;
    border-radius:5px;
    font-size:14px;
}

.btn:hover{
    background:#145c3a;
}
.hero {
    position: relative;
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 20px;
    max-width: 900px;
}

/* TEXT */
.hero-content h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 20px;
}

/* 🔥 MOBILE FIX */
@media (max-width: 768px) {

    .hero {
        height: 250px;
        background-position: center;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 15px;
    }
}