

html{
    scroll-behavior: smooth;
}

.h1 {
    text-align: center;
    font-size: 40px;
    font-weight: 700;   
}

.title {
    animation: fadeInAnimation ease 3s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}



.section {
    min-height: 75vh;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero {
    position: static;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}



.btn {
    background-color: rgb(224, 76, 23);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-width: 0.5px;

}

.btn:hover {
    size: 800;
    background-color: rgb(135, 48, 8);
    transform: scale(1.1);

    

   
    
}

.text {
    color: rgb(243, 109, 47);
    font-size: 45px ;
    text-align: center;
   
    
}

.text2 {
    font-size: large;
    color: rgb(232, 223, 222);
}



.nav-item {
    color: grey;
    font-size: large;
    font-weight: 600;
    padding: 0 10px;
    position: relative; /* Add this line to enable positioning of the :after pseudo-element */
}

.nav-item:after {
    content: "";
    position: absolute;
    background-color: rgb(211, 61, 10);
    height: 3px;
    width: 0;
    left: 0;
    bottom: -10px;
    transition: 0.3s;
}

.nav-item:hover {
    color: rgb(211, 60, 10);
}

.nav-item:hover:after {
    width: 100%;
}

/* slider */
.slider{
    width: 100%;
    height: var(--height);
    overflow: hidden;
    mask-image: linear-gradient(
        to right,
        transparent,
        #000 10% 90%,
        transparent
    );
}
.slider .list{
    display: flex;
    width: 100%;
    min-width: calc(var(--width) * var(--quantity));
    position: relative;
    gap: 20px;
}
.slider .list .item{
    width: var(--width);
    height: var(--height);
    position: absolute;
    left: 100%;
    animation: autoRun 10s linear infinite;
    transition: filter 0.5s;
    animation-delay: calc( (10s / var(--quantity)) * (var(--position) - 1) - 10s)!important;
}
.slider .list .item img{
    width: 100%;
}
@keyframes autoRun{
    from{
        left: 100%;
    }to{
        left: calc(var(--width) * -1);
    }
}

.slider:hover .item{
    filter: grayscale(1);
}
.slider .item:hover{
    filter: grayscale(0);
}
/* Ensure the title is displayed above the logo slider */

footer {
    height: 100px;

}


/* nav bar for mobile  */

/* Default nav styles for larger screens (keeps the original styles intact) */
nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

/* Mobile navigation styles */
@media (max-width: 780px) {
    nav {
        flex-direction: column; /* Make nav items stack vertically */
        align-items: flex-start; /* Align items to the left */
        padding: 10px;
        background-color: white; /* Optional: Add background for better contrast */
        border: 1px solid #ddd; /* Optional: Add a border */
    }

    #menu-toggle {
        display: block; /* Show the menu toggle button */
        background-color: rgb(224, 77, 13);
        border: none;
        padding: 10px;
        font-size: 16px;
        color: white;
        cursor: pointer;
        border-radius: 5px;
    }

    #mobile-menu {
        display: none; /* Keep the menu hidden by default */
        width: 20%;
    }

    #mobile-menu.block {
        display: flex; /* Show the menu when toggled */
        flex-direction: column; /* Ensure vertical layout */
        gap: 10px; /* Add spacing between items */
    }

    .nav-item {
        padding: 10px;
        width: 100%; /* Full width for easier clicking */
        text-align: left; /* Align text to the left */
    }

    .nav-item:hover {
        background-color: #f4f4f4; /* Add a hover effect for better interactivity */
    }
}

.imag {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 350px;
    width: 750px
}

.imag:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

  