/*NAV BAR UNDERLINE ANIM*/
.nav_underline {
    position: relative;
}

.nav_underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.nav_underline:hover::after {
    width: 100%;
}


.nav_underline.active::after {
    width: 100%;
}

/*
THIS IS A BOOTSTRAP ELEMENT
DO NOT CONVERT TO SNAKE CASE
*/
.nav-item{
    padding-right: 50px;
}


/* Submenu container */
.dropdown_submenu {
    position: relative;
}

/* Submenu positioning */
.dropdown_submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 0.1rem;
    display: none;
}

/* Show submenu on hover (desktop) */
@media (min-width: 992px) {
    .dropdown_submenu:hover > .dropdown-menu {
        display: block;
    }
}

/* Arrow indicator */
.dropdown_submenu > .dropdown-toggle::after {
    float: right;
    margin-top: 0.45rem;
    transform: rotate(-90deg);
}

    /*STICKY BUTTON*/
.sticky_button {
    position: fixed;
    top: 50%;          
    right: 0%;       
    transform: translateY(-50%);
    z-index: 1000;
    text-align: center;
    border-radius: 0 !important; 
    font-size: 25px;
    background-color: #D59A2A;
    font-weight: 400;
    color: white;
    height: 50px;
    width: 240px;
    padding-bottom: 10px;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 1),
        0 3px 10px rgba(0, 0, 0, 1);
}


.sticky_button:hover {
    background-color: #b98625;
    color: white;
}

/*TEXT MASK*/
.mask_container{
    width: 100%;
    height: fit-content;
    margin-bottom: 20px;
}
.mask_text{
    font-size: 5rem;
    background-image: url('../assets/images/green-mask.png');
    background-clip: text;
    padding-bottom: 0.1em;
    color: transparent;
    text-align: center;
    background-size: 50% ;
}

/*INFINITE SCROLL CARASOUL*/
.scroll_container {
    width: 100%;
    overflow: hidden;
    background: #f0f0f0;
}

.scroll_content {
    display: flex;
    width: calc(100%); /* because of duplicated items */
    animation: scroll 10s linear infinite;
}

.item {
    flex: 0 0 25%; /* 4 items visible at a time */
    text-align: center;
    padding: 20px;
    height: 300px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    background: #fff;
    margin: 5px;
    border-radius: 5px;
}

/* Animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/*COUNTER TEXT*/
.counter {
    font-size: 50px;
    font-weight: bold;
    color: #D59A2A;
    text-align: center;
    margin-top: 50px;
}

/*PARALLAX TEXT*/
.parallax {

    background-image: url('../assets/images/green-mask.png'); 
    min-height: 500px; 

    /* Parallax effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


/*CARD OVERLAY ANIMATION*/
.slide_overlay {
    position: relative;
    overflow: hidden;
}

/* Overlay card body */
.overlay_content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(255, 255, 255, 1);

    transform: translateY(60%);
    transition: transform 0.4s ease;
}

/* Slide up on hover */
.slide_overlay:hover .overlay_content {
    transform: translateY(0);
}

/* Parallax footer */
.parallax_footer {
    position: relative;
    height: 60vh;
    background-image: url("../assets/images/green-mask.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* Parallax magic */
    background-attachment: fixed;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dark overlay for readability */
.footer_overlay {
    background: rgba(0, 0, 0, 0.55);
    padding: 3rem 4rem;
    text-align: center;
    color: #fff;
    border-radius: 12px;
}

.footer_overlay h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.footer_overlay p {
    font-size: 1rem;
    opacity: 0.85;
}

.counter_area{
    height:fit-content; 
    background-color: #013F1B;
}

.countdown-box {
    background-color: #019641;
    color: white;
    line-height: 1.1;
}

.fs-7 {
    font-size: 0.7rem;
}

/* Smooth fade-in for the logo */
#logo {
    transition: opacity 0.3s ease, transform 0.3s ease;
}
#logo.show {
    display: block !important;
    opacity: 1;
    transform: translateY(0);
}
#logo.hide {
    opacity: 0;
    transform: translateY(-10px);
    display: none;
}

.footer{
    background-image: url("../assets/images/green_bg.jpg");
    padding-top: 10px;

}
.info_col{
    color: white;
    font-size: 0.75rem;
    display: flex;
    flex-direction: column; /* stack children vertically */
    gap: 16px; /* vertical spacing between elements */
}
.footer_trade_mark{
    margin-top: 20px;
    background-color: #013F1B;
    color: white;
    font-weight: bold;
    width: 100%;
    text-align: center;
    margin-bottom: 0;
}
.contact_text{
    color: white;
    font-size: 0.75rem;
}
.contact_info{
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.social_media_links{
    display: flex;
    flex-direction: row;
    gap:16px
}
.footer_links{
    background-color: #019641;
    text-align: center;

}
.footer_links > a{
    color: white;
    font-weight: bold;
    text-decoration: none;
}

.footer_links_col{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/*VIDEO*/
.video_wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.video_wrapper video {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.green_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 600px;
    background-color: rgba(0, 128, 0, 0.4); /* green overlay => cannot manipulate alpha with rgb */
    pointer-events: none;
}

.location_banner{
    background-color: #013F1B;
    text-align: center;
    color: white;
    font-size: 2rem;
    
}