@media (max-width: 768px) {
    .mobile-margin {
        margin-top: 20px;
    }
}
/* body {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(../images/logo/grid.png);
} */
.bg-kataho {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(../images/logo/bgkataho.png);
}
.bg-siren {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(../images/logo/cs_bg.webp);
}
.bg-plate {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(../images/logo/sirencontent.webp);
}
.bg-community {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(../images/logo/framed.png);
}
.bg-property-owner {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(../images/logo/bg_tenant.svg);
}
.bg-tenant {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(../images/logo/bg_tenant.svg);
}
.bg-traffic {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(../images/logo/bg_tenant.svg);
}
.erc_section {
    background-image: url(../images/logo/community_traffic.png);
    background-size: cover; 
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}


.position-relative {
    position: relative;
    height: 400px;
}

.text-wrapper {
    position: relative;
    overflow: hidden;
    /* margin-bottom: 1rem; */
}

.slide-text {
    position: absolute;
    width: 100%;
    opacity: 0;
    animation-duration: 20s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    margin-left: 8px;
}
.slide-text2 {
    position: absolute;
    width: 100%;
    opacity: 0;
    animation-duration: 20s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    margin-left: 8px;
}
.slide-text3 {
    position: absolute;
    width: 100%;
    opacity: 0;
    animation-duration: 20s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    margin-left: 8px;
}

.slide-image {
    opacity: 0;
    position: absolute;
    animation-duration: 20s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;
    width: 80%;
    height: auto;
    animation-iteration-count: infinite;
    margin-left: -200px !important;
    margin-top: 30px;
}

@keyframes slideInOut {
    0%,
    10% {
        opacity: 0;
        transform: translateY(50px);
        /* Start below the view */
    }

    15%,
    25% {
        opacity: 1;
        transform: translateY(0);
        /* Fully visible in the center */
    }

    30%,
    40% {
        opacity: 0;
        transform: translateY(-50px);
        /* Slide up and out */
    }

    100% {
        opacity: 0;
        transform: translateY(-50px);
        /* Stay out of view for reset */
    }
}

.slide1 {
    animation-name: slideInOut;
    animation-delay: 0s;
}

.slide2 {
    animation-name: slideInOut;
    animation-delay: 5s;
}

.slide3 {
    animation-name: slideInOut;
    animation-delay: 10s;
}

.slide4 {
    animation-name: slideInOut;
    animation-delay: 10s;
}

@media (max-width: 767.98px) {
    .display-3 {
        font-size: 1.75rem;
    }

    .slide-text {
        font-size: 1.2rem;
        line-height: 1.2;
    }
    .slide-text2 {
        font-size: 1.2rem;
        line-height: 1.2;
    }
    .slide-text3 {
        font-size: 1.2rem;
        line-height: 1.2;
    }
}

@media (max-width: 479.98px) {
    .display-3 {
        font-size: 1.5rem;
    }

    .slide-text2 {
        font-size: 1.7rem;
        text-align: right;
        margin-right: -80px;
        margin-left: 0;
        /* position: inherit; */
    }
    .slide-text3 {
        font-size: 1.7rem;
        text-align: right;
        margin-right: -80px;
        margin-left: 0;
        /* position: inherit; */
    }
    .slide-text {
        font-size: 1.7rem; /* Adjust font size for slide text */
    }
}

.animate-marquee-right {
    animation: marquee-right 100s linear infinite;
    white-space: nowrap;
}

@keyframes marquee-right {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(50%);
    }
}
.avatar-xxls {
    height: auto;
    width: 100%;
}
.side-menu {
    position: absolute;
    left: 0;
    writing-mode: vertical-rl;
    text-align: center;
    padding-left: 10px;
}

.side-top-to-bottom-letter-menu {
    font-size: 40px;
    font-weight: bold;
    letter-spacing: 0.1rem;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000,
        -1px 1px 0 #000;
    position: relative;
    padding-left: 10px;
    transition: text-shadow 0.3s ease, color 0.3s ease; /* Add animation transition */
    /* font-family: auto; */
}
.side-top-to-bottom-letter-menu1 {
    font-size: 40px;
    font-weight: bold;
    letter-spacing: 0.1rem;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000,
        -1px 1px 0 #000;
    position: relative;
    padding-left: 10px;
    transition: text-shadow 0.3s ease, color 0.3s ease; /* Add animation transition */
    font-family: auto;
}

/* Hover effect */
.side-top-to-bottom-letter-menu:hover {
    text-shadow: 1px 1px 0 red, -1px -1px 0 red, 1px -1px 0 red, -1px 1px 0 red;
}
.side-top-to-bottom-letter-menu1:hover {
    text-shadow: 1px 1px 0 red, -1px -1px 0 red, 1px -1px 0 red, -1px 1px 0 red;
}
.py-9 {
    /* padding-bottom: 3.5rem !important; */
    padding-top: 5rem !important;
}
.mt-6.text-center a.lead {
    color: white;
    text-decoration: underline;
    text-underline-offset: 6px;
    transition: color 0.3s ease;
}

.mt-6.text-center a.lead:hover {
    color: #007bff;
}
.text-center a.lead {
    color: black;
    text-decoration: underline;
    text-underline-offset: 6px;
    transition: color 0.3s ease;
}

.text-center a.lead:hover {
    color: #007bff;
}

.counter {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    flex: 1;
    max-width: 250px;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.counter:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.counter-number {
    font-size: 2rem;
    font-weight: bold;
    color: #007bff;
}

.counter-label {
    font-size: 1.25rem;
    color: #6c757d;
}
.btn-outline-light {
    color: #fff; /* White text color */
    border-color: #fff; /* White border color */
}

.btn-outline-light:hover {
    background-color: #fff; /* White background on hover */
    color: #007bff; /* Primary color text on hover */
    border-color: #007bff; /* Primary color border on hover */
}

.btn-light {
    color: #007bff; /* Primary color text */
    background-color: #fff; /* White background */
    border-color: #fff; /* White border */
}

.btn-light:hover {
    color: #fff; /* White text color on hover */
    background-color: #007bff; /* Primary color background on hover */
    border-color: #007bff; /* Primary color border on hover */
}
/* .py-10 {
    padding-top: 25rem !important;
} */
.appsection {
    border-radius: 12px;
    padding: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    flex: 1;
    max-width: 250px;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.appsection:hover {
    transform: translateY(-10px);
}

.appsection-label {
    font-size: 1.25rem;
    color: #fff;
}

.custom-col {
    flex: 0 0 20%;
    max-width: 20%;
}

@media (max-width: 1024px) {
    .custom-col {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 768px) {
    .custom-col {
        flex: 0 0 33.33%;
        max-width: 33.33%;
    }
}

@media (max-width: 576px) {
    .custom-col {
        flex: 0 0 50%;
        max-width: 50%;
    }
}
.ipad {
    padding-top: 5rem !important;
}
@media (max-width: 1024px) {
    .ipad {
        padding-top: 5rem !important;
    }
}

@media (max-width: 768px) {
    .ipad {
        padding-top: 5rem !important;
    }
}
@media (max-width: 576px) {
    ipad {
        padding-top: 5rem !important;
    }
}
.border-bottom {
    padding: 20px;
    background: #fff;
    border-radius: 4px;
    position: relative;
    border: 1px solid var(--gray-300, #D1D5DB);

}
.faqgap {
    padding: 20px;
    background: #fff;
    border-radius: 4px;
    position: relative;
    border: 1px solid var(--gray-300, #D1D5DB);
}
.control-testimonial {
    bottom: -20px;
    justify-content: center;
    position: absolute;
    top: inherit;
}

.navbar .dropdown-menu {
    top: 55px !important;
}

.navbar {
    background-color: #f8f9fa;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-toggler {
    border: none;
}

.mega-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 20px 0;
    background-color: #eff7ff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: none;
}

.dropdown:hover .mega-menu {
    display: block;
}

.mega-menu .dropdown-item {
    padding: 15px 5px;
    font-size: 16px;
    display: block;
    color: #333;
    font-weight: bold;
    position: relative;
}

.mega-menu .dropdown-item span {
    display: block;
    font-size: 14px;
    color: #666;
    font-weight: normal;
    margin-left: 10px;
    white-space: normal;
    /* Allow text to wrap */
    line-height: 1.4;
    margin-top: -5px;
    margin-left: 35px;
}

.mega-menu h6 {
    /* padding-left: 10px; */
    padding-top: 10px;
    font-size: 1.25rem;
    color: #333;
    border-bottom: 1px solid #91939f;
}

.mega-menu .dropdown-item i {
    margin-right: 8px;
    color: #007bff;
    font-size: 20px;
    font-weight: bold;
}

/* .navbar-nav li a:hover {
    background-color: #f0f0f0;
} */

.dropdown-menu {
    width: 100%;
    padding: 20px;
}

/* .dropdown-item:hover {
    background-color: #0069d2;
} */
.mega-menu .dropdown-item:hover {
    background-color: #deedff;
}

@media (max-width: 768px) {
    .navbar-collapse {
        max-height: 500px;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .navbar-nav {
        flex-direction: column;
        overflow-y: auto;
        overflow-x: hidden;
        max-height: 500px;
    }

    .mega-menu {
        max-height: 450px;
        overflow-y: auto;
        overflow-x: hidden;
    }
}
/* Plate page css */
.plate-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
}

/* Default styling for larger screens */
.plate-image {
    width: 40%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive styling for mobile view */
@media (max-width: 768px) {
    .plate-image {
        width: 100%;
        /* Full width on smaller screens */
    }
}

.left-text,
.right-text {
    position: absolute;
    font-size: 16px;
    font-weight: bold;
    z-index: 2;
}

.left-text {
    left: 0;
    top: 20%;
    transform: translateY(0);
    padding-right: 20px;
}

.right-text {
    right: 0;
    top: 20%;
    transform: translateY(0);
    padding-left: 20px;
}

.line {
    height: 3px;
    background-color: #3498db;
    position: absolute;
    z-index: 9999;
}

.left-line {
    width: 200px;
    left: calc(100% + 20px);
    top: 50%;
    transform: translateY(-50%);
}

.right-line {
    width: 200px;
    right: calc(100% + 20px);
    top: 50%;
    transform: translateY(-50%);
}

/* Arrow styles */
.arrow {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.arrow-left {
    border-right: 8px solid #3498db;
    left: -8px;
}

.arrow-right {
    border-left: 8px solid #3498db;
    right: -8px;
}

.text-block {
    position: absolute;
    /* margin-bottom: 30px; */
    font-weight: bold;
}

.left-text:nth-child(1),
.line.left-line:nth-child(1),
.right-text:nth-child(1),
.line.right-line:nth-child(1) {
    top: 30%;
}

.left-text:nth-child(2),
.line.left-line:nth-child(2),
.right-text:nth-child(2),
.line.right-line:nth-child(2) {
    top: 50%;
}

.left-text:nth-child(3),
.line.left-line:nth-child(3),
.right-text:nth-child(3),
.line.right-line:nth-child(3) {
    top: 70%;
}

.line:hover,
.text-block:hover span {
    color: red;
}

@keyframes fadeInMove {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation for lines to grow */
@keyframes growLine {
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}
.img-fluid-head {
    max-width: 200px;
    height: auto;
}
@media (max-width: 768px) {
    .img-fluid-head {
        max-width: 80px;
    }
}
.custom-button {
    background-color: #fff;
    color: #000;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    transition: background-color 0.3s, transform 0.2s;
}

.custom-button:hover {
    background-color: #fff;
    transform: translateY(-2px);
}

/* .custom-button:focus {
    outline: none; 
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5); 
} */

.custom-button i {
    margin-right: 5px;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close {
    color: #000;
    font-size: 1.5rem;
    border-radius: 50%;
}

.modal-body {
    text-align: center;
}

/* Custom button style */
.modal-button {
    background-color: #000;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    transition: background-color 0.3s;
}

.modal-button:hover {
    background-color: #0056b3;
}
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: transparent;
    background-image: url("");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
}

.particles-js-canvas-el {
    margin-top: -160px;
}
.foot-part {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.foot-part img {
    max-width: 100%;
    height: auto;
}
@media (max-width: 768px) {
    .foot-part {
        height: 60px;
    }
}

@media (max-width: 480px) {
    .foot-part {
        height: 40px;
    }
}

.floating-btn {
    position: fixed; 
    left: 10px;
    bottom: 50%;
    z-index: 9999; 
    /* background-color: #007bff; Set a background color */
    padding: 10px; 
    transition: all 0.3s ease; 
}

/* Make the logo vertically aligned */
.vertical-logo {
    width: auto; 
    height: 50px;
    transform: rotate(90deg); 
    transform-origin: center; 
}

/* Add a hover effect for the floating button */
.floating-btn:hover {
    /* background-color: #0056b3;  */
    transform: scale(1.1); 
}
img {
    max-width: 100%;
    height: auto; /* Maintains aspect ratio */
}

.popup {
    position: fixed;
    bottom: -200px;
    /* Start hidden below the screen */
    left: 10px;
    /* Move to the left side */
    width: 340px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: bottom 0.5s ease-in-out;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

/* Show the popup */
.popup.show {
    bottom: 20px;
    /* Slide in */
    opacity: 1;
    visibility: visible;
}

/* Popup content */
.popup-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
    position: relative;
}



.news-text p {
    margin: 5px 0 10px;
    font-size: 14px;
    color: #666;
}

/* News image */
.news-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 10px;
    object-fit: cover;
}

/* Close button */
.close-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
    font-size: 18px;
    color: #fff;
    background-color: #333;
    /* Dark background for contrast */
    border: none;
    border-radius: 50%;
    /* Make it circular */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.close-btn:hover {
    background-color: red;
    /* Attractive red on hover */
    transform: scale(1.1);
    /* Slight zoom effect */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    /* Enhanced shadow */
}