﻿/* Custom CSS for the navigation menu with a transparent background */
.custom-nav {
    background-color: transparent;
    font-weight:500/* Transparent background */
}

    .custom-nav .nav-link {
        color: #8c6c46; /* White text color */
    }

        .custom-nav .nav-link.active {
            background-color: #141323; /* Slightly lighter shade for active links */
            color: navajowhite;
        }

        .custom-nav .nav-link:hover {
            background-color: #2a273c;
            color: white; /* Slightly lighter shade for hover effect */
        }


.info-user {
    color:rgb(140 108 70) !important;
}

.offences-details ul {
    list-style-type: none;
    padding: 0;
}

.offences-details li {
    padding: 5px 0;
}

.table-responsive {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch; /* For smooth scrolling on iOS */
    margin-bottom: 25px;
}

.table {
    width: 100%;
    border-collapse: collapse; /* Optional: improve table layout */
}

.whatsapp-button {
    position: fixed;
    bottom: 20px; /* Adjust as needed */
    right: 20px; /* Adjust as needed */
    z-index: 1000; /* Ensure it's above other content */
    margin-bottom: 41px;
    margin-right: -5px;
    font-size: 40px;
    color: #1aa51a;
}

.button-87 {
    margin: 10px;
    padding: 15px 30px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    border-radius: 10px;
    display: block;
    border: 0px;
    font-weight: 580;
    box-shadow: 0px 0px 14px -7px #f09819;
    background-image: linear-gradient(355deg, #664d03 0%, rgb(20, 19, 35) 51%, rgb(20, 19, 35) 100%);
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

    .button-87:hover {
        background-position: right center;
        /* change the direction of the change here */
        color: #fff;
        text-decoration: none;
    }

    .button-87:active {
        transform: scale(0.95);
    }

.custom-card {
    background-color: rgb(177 106 22 / 30%); /* black background with 30% opacity */
    border-radius: 10px;
    padding: 60px 0;
}

/* CSS */
.button-86 {
    all: unset;
    height: 100px;
    font-size: 16px;
    background: transparent;
    border: none;
    position: relative;
    color: #f0f0f0; /* Default font color */
    cursor: pointer;
    z-index: 1;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    text-align: center;
}

    .button-86::after,
    .button-86::before {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        z-index: -99999;
        transition: all .4s;
    }

    .button-86::before {
        transform: translate(0%, 0%);
        width: 100%;
        height: 100%;
        background: #141323;
        border-radius: 10px;
    }

    .button-86::after {
        transform: translate(10px, 10px);
        width: 35px;
        height: 35px;
        background: white;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        border-radius: 50px;
    }

    .button-86:hover::before {
        transform: translate(5%, 20%);
        width: 110%;
        height: 110%;
    }

    .button-86:hover::after {
        border-radius: 10px;
        transform: translate(0, 0);
        width: 100%;
        height: 100%;
    }

    .button-86:hover {
        color: black; /* Font color on hover */
    }

    .button-86:active::after {
        transition: 0s;
        transform: translate(0, 5%);
    }

    .button-86.clicked,
    .button-86.clicked:hover {
        color: black; /* Font color when clicked */
    }

        .button-86.clicked::before {
            transform: translate(5%, 20%);
            width: 110%;
            height: 110%;
        }

        .button-86.clicked::after {
            border-radius: 10px;
            transform: translate(0, 0);
            width: 100%;
            height: 100%;
        }

.card-as-btn {
    margin:10px;
    font-weight: 500;
    font-size: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-hover:hover {
    background: #ecdcba;
}


.service-list-ul {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    list-style-type: none;
}
.service-list-ul li {
    flex: 1 0 50%;
    box-sizing: border-box;
    padding: 5px 0;
}

button-read {
    border-radius: .25rem;
    text-transform: uppercase;
    font-style: normal;
    font-weight: 400;
    padding-left: 25px;
    padding-right: 25px;
    color: #fff;
    -webkit-clip-path: polygon(0 0,0 0,100% 0,100% 0,100% calc(100% - 15px),calc(100% - 15px) 100%,15px 100%,0 100%);
    clip-path: polygon(0 0,0 0,100% 0,100% 0,100% calc(100% - 15px),calc(100% - 15px) 100%,15px 100%,0 100%);
    height: 40px;
    font-size: 0.7rem;
    line-height: 14px;
    letter-spacing: 1.2px;
    transition: .2s .1s;
    background-image: linear-gradient(90deg,#8c6c46,#141323);
    border: 0 solid;
    overflow: hidden;
}

    button-read:hover {
        cursor: pointer;
        transition: all .3s ease-in;
        padding-right: 30px;
        padding-left: 30px;
    }

#loader-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #e9ecef00; /* Transparent background */
    z-index: 10000; /* Ensure it is above everything else */
    overflow: hidden; /* Ensure the animation stays within bounds */
}

    #loader-line:before {
        content: "";
        position: absolute;
        left: 0;
        height: 100%;
        width: 20%; /* Adjust to your desired thickness */
        background-color: #141323; /* Customize the color */
        animation: lineAnim 2s linear infinite; /* Adjust duration for speed */
    }

@keyframes lineAnim {
    0% {
        left: -20%; /* Start off the screen */
    }

    50% {
        left: 50%; /* Center the animation */
        width: 100%; /* Expand the width as it progresses */
    }

    100% {
        left: 100%; /* End off the screen to the right */
        width: 0%; /* Shrink the width as it ends */
    }
}

.hidden {
    display: none;
}

@media (max-width: 768px) {
    #loader-line {
        height: 4px; /* Adjust height for mobile if needed */
    }

        #loader-line:before {
            width: 25%; /* Adjust width for mobile if needed */
        }
}


