.bg-image {
    background-image: url('../assets/sections.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
}

.agriculture_section {
    padding: 350px 0px 0px 0px;
}

.hero-section {
    padding: 150px 100px;
}

.hero-text h1 {
    color: white;
    font-size: 50px;
}

.top-yellow-bar {
    padding: 50px;
    background: #EEC044 !important;
    border-radius: 10px;
    position: absolute;
    top: -15%;                /* Moved it slightly upward */
    left: 50%;              /* Center horizontally */
    transform: translateX(-50%); /* Perfect horizontal centering */
    display: flex;
    flex-wrap: wrap;
    z-index: 2;
    justify-content: center;
    align-items: center;
}

.p-right {
    padding: 0px 25px;
}

.top-yellow-bar-mobile {
    display: none;
}

@media (max-width:1440px){
    .top-yellow-bar {
    padding: 50px 6px !important;
    position: absolute;
    top: -12% !important;
    left: 50%;
    transform: translateX(-50%);
    
}
}

@media (max-width: 1200px) {
    .top-yellow-bar {
        top: -11%; /* Slight upward nudge for tablets */
        padding: 35px;
    }
}


@media (max-width:1024px){
    .top-yellow-bar {
    font-size: 9px;
    font-weight: 600;
    
}
}



@media (max-width: 991px) {
    .top-yellow-bar {
        top: -15%;
        flex-direction: column;
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .top-yellow-bar{
        width: 70%;
         flex-direction: row;
    }
}

@media (max-width: 767px) {
    .top-yellow-bar {
        display: none;
    }

    .top-yellow-bar-mobile {
        display: flex;
        position: absolute;
        top: -24%; /* Mobile version higher too */
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        padding: 25px;
        background: #EEC044 !important;
        border-radius: 10px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        z-index: 2;
    }

    .hero-section {
        padding: 50px 20px;
    }

    .agriculture_section {
        padding: 100px 0px 0px 0px;
    }
}

@media (max-width: 480px) {
    .top-yellow-bar-mobile {
        top: -22%;
        padding: 20px;
        font-size: 10px;
    }

    .hero-text h1 {
        font-size: 30px;
        text-align: center;
    }
}