/* Reset some default styles */
body, h1, p, ul, li {
    margin: 0;
    padding: 0;
}

/* Basic styles */
body {
    font-family: Arial, sans-serif;
    background-color: #333;
}

header {
    background-image: linear-gradient(to bottom, rgba(51, 51, 51, 0), rgba(51, 51, 51, 0.85)), url(images/284612486189dajhas871faafsaAD164.png);
    color: #fff;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: #ff6f00;
    border-radius: 5px;
}

::-webkit-scrollbar-track {
    background-color: #363636;
}


.logo img {
    width: 100px;
    height: auto;
}

nav ul {
    list-style-type: none;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
}
nav ul li a:hover{
    text-shadow: 0 0 5px rgb(255, 172, 172), 0 0 10px rgb(255, 172, 172), 0 0 15px rgb(255, 172, 172);
}
#active{
    text-shadow: 0 0 5px rgba(253, 154, 40, 0.63), 0 0 10px rgb(253, 154, 40, 0.63), 0 0 15px rgb(253, 154, 40, 0.63);
}
#active:hover{
    text-shadow: 0 0 5px rgba(255, 175, 83, 0.63), 0 0 10px rgb(255, 175, 83, 0.63), 0 0 15px rgb(255, 175, 83, 0.63);
}



.top {
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 100px 0;
    text-shadow:  0 0 5px rgb(85, 85, 85), 0 0 10px rgb(85, 85, 85), 0 0 15px rgb(85, 85, 85);
}

.top h1 {
    font-size: 50px;
    margin-bottom: 20px;
}

.top p {
    font-size: 20px;
    margin-bottom: 40px;
}
.ab-us {
    position: relative;
    color: #fff;
    text-align: center; /* Center align the text within .ab-us */
    padding: 100px 0;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.about-title {
    margin-bottom: 50px; /* Adjust as needed */
}

.content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 2s ease, transform 2s ease;
}
.ab-us h1 {
    font-size: 50px;
}
.ab-us h2 {
    font-size: 20px;
    opacity: 0; /* Start with opacity 0 to make it fade in */
    width: 50%;
    margin: 0;
    transform: translateX(50px); /* Initial position outside the viewport */
    transition: opacity 2s ease, transform 2s ease; /* Add transition for opacity and transform */
}

.ab-us h2.active {
    opacity: 1; /* Change opacity to fully visible when active */
    transform: translateX(0); /* Move text back to its original position */
}


.ab-us .content-wrapper {
    position: relative;
    z-index: 1;
}

.ab-us img.slide-left.active {
    opacity: 1;
    transform: translateX(0);
}
.ab-us img{
    box-shadow: 0 0 10px rgb(85, 85, 85), 0 0 15px rgb(85, 85, 85), 0 0 20px rgb(85, 85, 85);
}
.services {
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 100px 0;
    text-shadow:  0 0 5px rgb(85, 85, 85), 0 0 10px rgb(85, 85, 85), 0 0 15px rgb(85, 85, 85);
    opacity: 0;
    transition: opacity 2s ease-in-out;
}
.services.active{
    opacity: 1; /* Change opacity to fully visible when active */
    transform: translateX(0); /* Move text back to its original position */
}
.services h1 {
    font-size: 50px;
    margin-bottom: 20px;
}

.services h2 {
    font-size: 20px;
    margin-bottom: 40px;
    width: 50%;
    margin: 0 auto; 
}
.services p {
    font-size: 20px;
    margin-bottom: 40px;
}
.Investigate{
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 100px 0;
    text-shadow:  0 0 5px rgb(85, 85, 85), 0 0 10px rgb(85, 85, 85), 0 0 15px rgb(85, 85, 85);
}
.Investigate img {
    max-width: 400px; /* Adjust the max-width according to your preference */
    display: block; /* Ensure images are block-level elements for centering */
    margin: 0 auto; /* Center images */
    box-shadow:  0 0 5px rgb(255, 255, 255), 0 0 10px rgb(255, 255, 255), 0 0 15px rgb(255, 255, 255);
}

.Investigate-Items {
    display: flex;
    justify-content: center;
}

.vertical-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 40px;
    margin-right: 40px;
}

.Investigate-Items-Wrap {
    text-align: center; /* Center h2 text */
    margin-bottom: 20px; /* Adjust spacing between sections */
}

.center {
    margin-top: 150px; /* Adjust top margin to center the Violent Crime section */
}
.right {
    opacity: 0;
    transform: translateX(50%);
    transition: opacity 3.5s ease, transform 3.5s ease; /* Adjust transition duration here */
}

.right.active {
    opacity: 1;
    transform: translateX(0);
}
.left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 4s ease, transform 4s ease;
}
.left.active {
    opacity: 1;
    transform: translateX(0);
}
.div
{
    border-bottom: 1px solid #ccc; /* Adding a solid border as a divider */
    margin-bottom: 20px; /* Adding margin as a divider */
}
.cta-btn {
    background-color: #ff8c00;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.cta-btn:hover {
    background-color: #ff6f00;
}


footer {
    background-color: #212529;
    color: #fff;
    padding: 20px 0;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column {
    width: 45%;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center items horizontally */
}

.footer-column h4 {
    font-size: 16px;
    margin-bottom: 10px;
}

.footer-column p {
    margin-bottom: 5px;
    font-size: 14px;
}


.social-icons {
    display: flex;
    justify-content: center; /* Center horizontally */
    margin-bottom: 20px; /* Add margin at the bottom */
}

.social-icons .icon {
    font-size: 18px;
    color: #fff;
    margin: 0 5px; /* Add margin between icons */
}

.social-icons .icon:last-child {
    margin-right: 0; /* Remove margin from the last icon */
}



.copyright {
    text-align: center;
    margin-top: 10px;
    font-size: 12px;
}
.icon{
    transition: 0.3s ease;
}

/* Hover effect for Twitter icon */
#twitter:hover {
    color: #1da1f2; /* Twitter brand color */
}

/* Hover effect for Instagram icon */
#youtube:hover {
    color: #ff0000; /* Instagram brand color */
}

#discord:hover {
    color: #5865F2; /* Change this to the desired color on hover */
}
a{
    color: #fff;
}

#scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #ff8c00;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
  }
  
  #scrollToTopBtn:hover {
    background-color: #ff6f00;
  }
  


  @media (max-width: 768px) {
    .logo img {
        width: 80px; /* Adjusted logo size for mobile */
    }

    nav ul li {
        margin-right: 10px; /* Adjusted margin for mobile */
    }

    .top {
        padding: 60px 20px; /* Adjusted padding for mobile */
    }

    .top h1 {
        font-size: 24px; /* Adjusted font size for mobile */
    }

    .top p {
        font-size: 14px; /* Adjusted font size for mobile */
    }

    .ab-us {
        padding: 60px 20px; /* Adjusted padding for mobile */
    }
    .ab-us h1{
        font-size: 24px;
    }

    .ab-us h2 {
        font-size: 16px; /* Adjusted font size for mobile */
        width: 90%; /* Adjusted width for mobile */
    }
    .ab-us .content-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .ab-us img {
        width: 80%; /* Adjusted width */
        max-width: 300px; /* Set max width */
        height: auto; /* Maintain aspect ratio */
        margin-bottom: 20px; /* Add bottom margin */
    }
    
    /* Adjusted styles for the text under the image */
    .ab-us h2 {
        font-size: 16px; /* Adjusted font size */
        margin: 0; /* Reset margin */
    }

    .services {
        padding: 60px 20px; /* Adjusted padding for mobile */
    }

    .services h1 {
        font-size: 24px; /* Adjusted font size for mobile */
    }

    .services h2 {
        font-size: 16px; /* Adjusted font size for mobile */
    }

    .services p {
        font-size: 14px; /* Adjusted font size for mobile */
    }

    .footer-container {
        flex-direction: column; /* Stack footer columns in mobile */
        align-items: center; /* Center align footer content */
    }

    .footer-column {
        width: 100%; /* Full width for mobile */
    }
}