body {
    margin: 0; /* Remove default margin */
    font-family: "Montserrat", serif;
    font-style: normal;
    background: #141414;
}
.header_kn{
    display: flex;
    flex-direction: column;
}
.mennu_main {
    position: relative;
    z-index: 10000;
}

.info_mess {
    display: flex;
    gap: 20px; 
    background-color: rgba(0, 0, 0, 0.673);
    width: 80%; 
    padding: 20px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    border-radius: 8px; 
    font-family: "Montserrat", serif;
}

.contact {
    width: 50%;
    margin: auto;
}

.info {
    width: 50%;
}

.mess_thanks {
    font-size: 1.2em;
}

.companyname {
    background-color: #6b3b1e;
    border-radius: 10px;
    padding: 5px 3px;
}

.companyname:hover {
    background-color: transparent;
    transform: scale(1.1); /* Example: Slightly enlarges the element */
    transition: transform 2s, background-color 2s; /* Adds a smooth transition */
}

.baner_content {
    display: flex; 
    gap: 10px; 
    width: 100%; 
    text-align: center; 
    height: 90vh;
}

.content {
    width: 80%;
}

.social, .scroll, .content {
    margin: auto;
}

.social {
    display: grid;
    gap: 10px;
}

.scroll {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    border: 0.1px solid #ffffff89;
    transition: all 0.3s ease; /* Smooth transition for all properties */
}

.scroll:hover {
    height: 50px;
    width: 80px;
    border-top-left-radius: 5%;
    border-bottom-left-radius: 5%;
    border-top-right-radius: 25%;
    border-bottom-right-radius: 25%;
    background-color: black;
    border: 0px;
}

.baner_footer {
    display: flex;
    width: 100%;
}

.content_kn {
    height: 400px;
    min-height: fit-content;
    background-color: black;
}

.footer_kn {
    height: 30px;
    color: rgb(9, 9, 9);
}

.footer_kn span {
    padding: 10px;
    text-align: center;
}

/* Hide the images by default */
.mySlides {
    display: none;
    justify-content: center; /* Centers the image horizontally */
    align-items: center; /* Centers the image vertically */
    width: 100%;
    height: 100vh; /* Full viewport height */
    overflow: hidden; /* Ensures no overflow from the image */
    position: relative;
}

@keyframes zoom {
    from {
        transform: scale(1); /* Start at normal size */
    }
    to {
        transform: scale(1.3); /* Slightly zoom in */
    }
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    bottom: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 3px 3px 3px 3px;
    user-select: none;
    gap: 10px;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
    background-color: rgba(93, 93, 93, 0.8);
}

.textbanerabout{
    padding-top: 10px;
    width: 60%;
    margin: auto;
}
.imgabout{
    margin-left: auto;
    width: 50%;
}
.imgabout img{
    width: 100%;
    height: auto;
    border-radius: 10px;
}
.imgabout img:hover {
    zoom: 1.2;
}
.aboutustext{
    flex-direction: column;
    background: #141414;
    position: absolute;
    transition: transform 0.3s ease, opacity 0.3s ease;
    top: 40%;
    transform: translateY(-50%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: #fff;
    width: 40%;
    padding: 20px;
    height: -webkit-fill-available;
}
.textbanerservice {
    color: #f2f2f2;
    padding: 8px 12px;
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: auto;  
}
.textcontent{
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 100px;
}
.textcontent a{
    padding: 10px;
    background-color: #3b8252;
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
}
.aboutustext button{
    border-radius: 5px;
    padding: 10px;
    width: fit-content;
}
.textcontentservice {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping if needed */
    gap: 5px;
}

#service { 
    width: 30%;
    padding: 5px;
    border-radius: 10px;
}
#service h5{
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 15px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 5px;
}
.line{
    left: 0;
    bottom: 10px;
    width: 50px;
    height: 1px;
    background-color: rgb(255 255 255 / 99%);
    content: '';
    transition-property: all;
    transition-duration: 0.3s;
    transition-timing-function: ease-in-out;
    margin-bottom: 10px;
}
.lineabout{
    left: 0;
    bottom: 10px;
    width: 40px;
    height: 1px;
    background-color: rgb(255 255 255 / 99%);
    content: '';
    transition-property: all;
    transition-duration: 0.3s;
    transition-timing-function: ease-in-out;
    margin-bottom: 10px;
}

#service span{
    font-family: 'Didact Gothic', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75em;
    color: #999;
    text-align: justify;
}
#service img{
    width: 60px;
}
.numb{
    font-size: 40px;
    font-weight: 600;
    font-family: 'Oswald', sans-serif;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
    line-height: 1em;
    text-align: end;
}
#service:hover{
    background-color: #201f1e;
    color: #fff;
    
}
#service:hover span{
        font-family: 'Didact Gothic', sans-serif;
        font-size: 16px;
        font-weight: 400;
        line-height: 1.75em;
        color: #ffffff;
}

#service:hover .line{
    width: 80%;
}

.textheader a{
    color: #3b8252;
}
.textbaner {
    color: #f2f2f2;
    padding: 8px 12px;
    width: 50%;
    text-align: left; /* Centers text inside the container */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centers the element */
    display: flex;
    flex-direction: column;
    text-shadow: 0 0 2px #000000;
}

.textheader{
    font-size: 3em;
    font-family: 'Didact Gothic', sans-serif;
    font-weight: 400;
    line-height: 1.75em;
    color: #b7b4b4;
    animation: slidetextheader 0.6s ease forwards;
}

@keyframes slidetextheader {
    from {
        transform: translateX(30%); /* Off the screen from top-left */
    }
    to {
        transform: translateY(0%); /* Fully visible at bottom-right */
    }
}

.textcontent{
    text-align: justify;
    font-family: "Didact Gothic", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75em;
    color: rgb(153, 153, 153);
    margin-top: 5%;
    animation: slidetextcontent 0.6s ease forwards; /* Applies the slide-down animation */
}

@keyframes slidetextcontent {
    from {
        transform: translateX(0%); /* Off the screen from top-left */
    }
    to {
        transform: translateY(-50%); /* Fully visible at bottom-right */
    }
}

.socialicon{
    display: grid;
    gap: 10px;
    bottom: 50%;
    left: 5%;
    position: absolute;
}

.fa-fw{
    color: aliceblue;
}
.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 140px;
    background-color: #555;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
    bottom: 125%; /* Position above the icon */
    left: 50%;
    margin-left: -70px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dotbaner {
    bottom: 2%;
    left: 50%;
    position: absolute;
}
.active, .dot:hover {
    background-color: #3b8252;
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

.mySlides{
        overflow: scroll;
    }

.mySlides::-webkit-scrollbar {
        display: none;
      }
@media only screen and (max-width: 932px) and (orientation: portrait) {

    .dotbaner{
        display: flex;
        flex-direction: column;
        gap: 10px;
        bottom: 20%;
        left: 1%;
        position: absolute;
    }
    .textbanerservice{
        width: 90%;
    }
    .textcontentservice{
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    #service{
        width: 100% !important;
    }
    .mySlides{
        overflow: scroll;
    }

    .mySlides::-webkit-scrollbar {
        display: none;
      }
    .fade {
        animation-name: fade;
        animation-duration: 1.5s;
        top: 12%;
        position: absolute;
    }
    
    .info_mess{
        display:grid;
        width: 85%;
    }
    .contact{
        width: 100%;
    }
    .info{
        width: 100%;
    }
    .textbanerabout{
        display: flex;
        flex-direction: column-reverse;
        height: fit-content;
        width: 90%;
    }
    
    .textcontent{
        margin-top: 20%;
    }
    .textcontent a{
        width: fit-content;
    }
    .aboutustext{
        position: relative;
        transform: translateY(0%);
        gap: 10px;
        flex-direction: column;
        margin: auto;
        width: 100%;
        padding: 0px;
    }
    .imgabout{
        display: none;
    }
    .lineabout{
        width: 20%;
    }
    .textbaner{
        width: 90%;
        height: fit-content;
    }
    .prev, .next{
        bottom: 30%;
    }
    .textcontent{
        font-size: 1.2em;
        margin-top: 30%;
    }
    .socialicon{
        display: none;
    }
    .textheader{
        padding-top: 10%;
        font-size: 1.7em;
    }
}

@media only screen and (max-width: 932px) and (orientation: landscape) {
    .info_mess{
        display:grid;
        width: 85%;
    }
    .contact{
        width: 100%;
    }
    .info{
        width: 100%;
    }
    #service{
        width: 100% !important;
    }
    .textbanerservice{
        width: 90%;
    
    }
    .textbanerabout{
        display: flex;
        gap: 10px;
        flex-direction: column-reverse;
        height: fit-content;
        width: 90%;
    }
    
    .textbaner{
        height: fit-content;
        width: 90%;
    }
    
    .prev, .next{
        bottom: 80%;
    }
    
    .textcontent{
        padding-top: 15%;
        font-size: 1.2em;
    }
    .socialicon{
        display: none;
    }
    .textheader{
        padding-top: 10%;
        font-size: 1.7em;
    }
}
    

