/* Hero container */
/*.hero {
    position: relative;
}
.hero {
    position: absolute;
    top: 0;
    width: 100%;
    padding-top: 80px;
    text-align: center;
    height: 100vh;       
    max-height: 90vh;   
    overflow: hidden;    
    margin: 0;
}*/
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    max-height: 90vh;
    overflow: hidden;
    margin: 0;
}
/* Hero image */
.hero img {
    width: 100%;
    height: auto;       /* maintain natural height */
    max-height: 100vh;  /* do not exceed viewport height */
    object-fit: contain; /* fit entire image inside hero */
    display: block;
}


/* Hero text overlay */
/*.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    padding: 0 2rem;
}*/
.hero-content {
    position: absolute;
    top: 60px;            /* 🔥 THIS controls vertical position */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    padding: 0 2rem;
}
/* Desktop / large screens */
@media (min-width: 992px) {
    .hero img {
        max-height: 80vh;
    }

    .hero-content h1 {
        font-size: 47px;
    }

    .hero-content p {
        font-size: 19px;
    }
}

/* Tablet */
@media (max-width: 991px) {
    .hero img {
        max-height: 60vh;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-content p {
        font-size: 17px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .hero {
        height: 60vh;      /* shorter hero on phones */
    }

    .hero img {
        max-height: 100%;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-content {
        padding: 0 1rem;
    }
}

.btn-primary {
    background-color: #c9500e;
    border-color: #c9500e;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #a8430c;
    border-color: #a8430c;
}


