

body, h1, p {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.banner-container {
    position: relative;
    width: 100%;

    min-height: 250px; 

    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
color: #0f403f; 
}

.banner-image {
    display: block;
    width: 100%; 
    height: auto;

    min-height: 250px;
    max-height: 600px; 
    object-fit: cover; 
    object-position: center;
}

picture {
    display: block;
    width: 100%;

    min-height: 250px;
    max-height: 600px;
    overflow: hidden;

}

.banner-text {

    position: absolute;
    top: 50%;
left: 0; 
    transform: translateY(-50%); 

    max-width: 50%;
    padding: 2rem 4%;
}

.banner-text h1,
.banner-text h2 {

    font-size: clamp(24px, 2.5vw, 36px);
font-weight: 500; 
    line-height: 1.3;
    margin-bottom: 1rem; 
}

.banner-text p {

    font-size: clamp(14px, 1.1vw, 18px);
line-height: 1.6;
}

.banner-buttons {
    display: flex;
gap: 15px; 
    margin-top: 25px;

}

.banner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;

    font-size: clamp(14px, 0.8vw, 16px);
font-weight: 400;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;

}

.btn-primary {
    background-color: #0f403f;
    color: #ffffff;
    border: 2px solid #0f403f;

}

.btn-primary:hover {
    background-color: #0f403f;

    border-color: #0f403f;
}

.btn-outline-trans {
    background-color: rgba(255, 255, 255, 0.3);

    color: #0f403f;

    border: 2px solid #0f403f;

    backdrop-filter: blur(2px);

}

.btn-outline-trans:hover {
    background-color: #0f403f;
    color: #ffffff;
}

@media (max-width: 1200px) {
    .banner-text h1,
    .banner-text h2 {
        font-size: 3vw;
}
    .banner-text p {
        font-size: 1.5vw;
}

    .banner-btn {
        font-size: 1.5vw;
padding: 10px 20px;
    }
}

@media (max-width: 768px) {

    .banner-container, .banner-image, picture {
        min-height: auto;
}

    .banner-container {
        height: clamp(420px, 62vw, 500px);
        overflow: hidden;
    }

    .banner-container > picture {
        position: absolute;
        inset: 0;
        height: 100%;
        max-height: none;
        z-index: 0;
    }

    .banner-container > picture .banner-image {
        width: 100%;
        height: 100%;
        min-height: 0;
        max-height: none;
        object-fit: cover;
        object-position: center center;
    }

    .banner-container::after {
        content: '';
position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;

        background-color: rgba(0, 0, 0, 0.3);
        z-index: 1;

    }

    .banner-text {
        z-index: 2;

        max-width: 65%;
        padding: 1.5rem 5%;
}

    .banner-text h1, .banner-text h2, .banner-text p, .btn-outline-trans {
        color: #ffffff;
}

    .btn-outline-trans {
          border-color: #ffffff;

          background-color: rgba(0, 0, 0, 0.2);

    }

    .banner-text h1,
    .banner-text h2 {

        font-size: 3.5vw;
}
    .banner-text p {

        font-size: 1.8vw;
}
    .banner-buttons {
        flex-direction: column;

        gap: 10px;
        margin-top: 20px;
}
    .banner-btn {

        font-size: 2.5vw;
width: 90%; 
        padding: 12px 15px;
}
}

@media (max-width: 480px) {
    .banner-container {
        height: clamp(420px, 118vw, 460px);
    }

    .banner-text {

        padding: 18px 5%;

        max-width: 95%;
}

    .banner-text h1,
    .banner-text h2 {

        font-size: 5.8vw;
}
    .banner-text p {

        font-size: 3.5vw;
}
    .banner-btn {

        font-size: 3.5vw;
width: 100%; 
    }

    .banner-buttons {
        margin-top: 25px;
}
}
