/********** Template CSS **********/
:root {
    --primary: #00B98E;
    --secondary: #FF6922;
    --light: #EFFDF5;
    --dark: #0E2E50;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.section-spacing {
    margin-bottom: 100px;
}

.margin-btm-6 {
    margin-bottom: 6rem;
}

.justify-text {
    text-align: justify;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: #027e5f;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}

* {
    cursor: pointer;
}


/*** Navbar ***/
.nav-bar {
    position: relative;
    margin-top: 45px;
    padding: 0 3rem;
    transition: .5s;
    z-index: 9999;
}

.nav-bar.sticky-top {
    position: sticky;
    padding: 0;
    z-index: 9999;
}

.navbar {
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
    transition: .5s;
}

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .nav-bar {
        margin: 0;
        padding: 0;
    }

    .navbar-light .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: 100%;
        margin-top: 0;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;

    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

.navbar-brand {
    white-space: nowrap; /* Prevents text wrapping */
}
@media (max-width: 1024px) {
    .navbar-brand h1 {
        font-size: 25px;
    }
}
/* Medium and large mobile screens */
@media (max-width: 500px) {
    .navbar-brand h1 {
        font-size: 20px;
    }
}

/* Small mobile screens */
@media (max-width: 375px) {
    .navbar-brand h1 {
        font-size: 15px;
    }
}


/*** Header ***/
@media (min-width: 992px) {
    .header {
        margin-top: -120px;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: -25px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 40px;
    font-size: 20px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}

@media (max-width: 768px) {
    .header-carousel .owl-nav {
        left: 25px;
    }
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #DDDDDD;
}

/* header-hero */

.header-hero p {
    color: #FFFFFF;
    text-align: center;
    font-size: 25px;
    font-weight: 800;
    margin-bottom: 0px;
}


.typed-title {
    font-family: "Montserrat", sans-serif;
    font-size: 28px;
    font-weight: bold;
    color: #FFFFFF;
}

.typing-title p {
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    color: #ffff;
}

.highlight {
    color: #f7e396;
    ;
    font-weight: bold;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(0, 185, 142, 0.2) 50%, rgba(255, 255, 255, 0) 100%);
    padding: 0 4px;
    border-radius: 3px;
}

.header-hero h2 {
    margin-bottom: 10px;
    animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.header-hero .typed-cursor {
    color: #FFFFFF;
    /* Set the cursor color */
    animation: blink 0.7s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/*** Icon ***/
.icon {
    padding: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF !important;
    border-radius: 50px;
    border: 1px dashed var(--primary) !important;
}


/*** About ***/
.about-img img {
    position: relative;
    z-index: 2;
}

.about-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background: var(--primary);
    transform: skew(20deg);
    z-index: 1;
}


/*** Category ***/
.cat-item div {
    background: #FFFFFF;
    border: 1px dashed rgba(0, 185, 142, .3);
    transition: .5s;
}

.cat-item:hover div {
    background: var(--primary);
    border-color: transparent;
}

.cat-item div * {
    transition: .5s;
}

.cat-item:hover div * {
    color: #FFFFFF !important;
}


/*** Property List ***/
.nav-pills .nav-item .btn {
    color: var(--dark);
}

.nav-pills .nav-item .btn:hover,
.nav-pills .nav-item .btn.active {
    color: #FFFFFF;
}

.property-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
}

.property-item img {
    transition: .5s;
}

.property-item:hover img {
    transform: scale(1.1);
}

.property-item .border-top {
    border-top: 1px dashed rgba(0, 185, 142, .3) !important;
}

.property-item .border-end {
    border-right: 1px dashed rgba(0, 185, 142, .3) !important;
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
    transition: .5s;
}

.team-item .btn {
    color: var(--primary);
    background: #FFFFFF;
    box-shadow: 0 0 30px rgba(0, 0, 0, .15);
}

.team-item .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.team-item:hover {
    border-color: var(--secondary) !important;
}

.team-item:hover .bg-primary {
    background: var(--secondary) !important;
}

.team-item:hover .bg-primary i {
    color: var(--secondary) !important;
}

/* Team image hover zoom effect */
.team-item img {
    transition: transform 0.3s ease-in-out; /* Smooth transition for the zoom effect */
}

.team-item:hover img {
    transform: scale(1.1); /* Slightly zoom the image on hover */
}

/*** Testimonial ***/
.testimonial-carousel {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 576px) {
    .testimonial-carousel {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.testimonial-carousel .testimonial-item .border {
    border: 1px dashed rgba(0, 185, 142, .3) !important;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 40px;
    top: calc(50% - 20px);
    left: 0;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 40px;
    font-size: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
    border-color: var(--light);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: rgba(255, 255, 255, 0.5);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/* brands-section */

#brands img {
    max-width: 80%;
    max-height: 40%;
    transition: 0.3s;
    padding: 15px 0;
}

#brands img:hover {
    opacity: 1;
}

#brands .owl-carousel .owl-dots {
    display: block;
    margin: 16px auto;
    text-align: center;
}

#brands .owl-carousel .owl-dot {
    display: inline-block;
    margin: 0 4px;
    width: 36px;
    height: 4px;
    background-color: #c6ccd3;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
}

#brands .owl-carousel .owl-dot:focus {
    outline: none;
}

#brands .owl-carousel .owl-dot.active {
    background-color: #00B98E;
}

#brands .owl-carousel .owl-item {
    display: flex;
    justify-content: center;
    /* Center horizontally */
    align-items: center;
    /* Center vertically */
    height: 300px;
    /* Set a consistent height for each item */
    overflow: hidden;
    /* Clip overflowing content */
}


/* counter css */

#counter .plus::after {
    content: "+";
    display: inline-block;
    padding-left: 14px;
}

#counter {
    background-color: #0974fb;
    padding: 50px 0;
    /* Add vertical padding for spacing */
}

#counter .counters {
    display: flex;
    align-items: center;
    /* Align icon, number, and text vertically */
    margin-bottom: 30px;
    /* Space between rows */
}

#counter .counters i {
    font-size: 30px;
    /* Icon size */
    color: #ffffff;
    /* Icon color */
    padding: 15px;
    /* Space inside the circle */
    margin-right: 20px;
    /* Space between icon and text */
    display: flex;
    align-items: center;
    justify-content: center;
}

#counter .counters span {
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
    font-size: 36px;
    /* Adjust number size */
    color: #ffffff;
    margin-bottom: 5px;
    /* Slight space between number and text */
}

#counter .counters p {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    /* Text size */
    color: #ffffff;
    margin: 0;
}

/* Authorized Vendor Section Styles */
#authorized-vendor {
    background-color: #ffffff;
    /* Light grey background */
    padding: 50px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
}

#authorized-vendor .container {
    max-width: 1200px;
    margin: 0 auto;
}

#authorized-vendor .vendor-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.5s ease-in-out;
    /* Smooth transition for scaling */
}

#authorized-vendor .vendor-logo {
    width: 200px;
    /* Set the logo size */
    height: auto;
}

#authorized-vendor .vendor-logo-container:hover .vendor-logo {
    transform: scale(1.1);
    /* Scale the logo by 10% on hover */
}

#authorized-vendor .vendor-text {
    font-family: "Montserrat", sans-serif;
    text-align: left;
}

#authorized-vendor .vendor-text h3 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 15px;
    background-image: linear-gradient(to right, #f7e396, #feb47b, #00B98E);
    background-size: 200% 100%;
    background-clip: text;
    color: transparent;
    animation: flowingText 5s linear infinite;
}

#authorized-vendor .vendor-text h6 {
    font-size: 18px;
    font-weight: 500;
    margin: 10px 0;
    color: #333;
}

#authorized-vendor .vendor-text p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

@keyframes flowingText {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@media (max-width: 425px) {
    #authorized-vendor h3, #authorized-vendor h6  {
        text-align: center;
    }
}

/* subsidy section css */

#subsidy-section h2 {
    font-size: 30px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
}

#subsidy-section .lead {
    color: #34495e;
}

.subsidy-box {
    background-color: #00B98E;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

.subsidy-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.subsidy-box h3 {
    font-size: 22px;
    font-weight: bold;
    color: #f7e396;
    margin-bottom: 10px;
}

.subsidy-amount {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.subsidy-box p {
    font-size: 16px;
    color: #ffffff;
}

#product-section .btn,
#subsidy-section .btn {
    background-color: #00B98E;
    color: white;
    font-weight: 600;
    border-radius: 5px;
    padding: 10px 20px;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

#product-section .btn:hover,
#subsidy-section .btn:hover {
    background-color: #027e5f;
}

/* why choose us section css */

#why_us {
    line-height: 18px;
    opacity: 0;
    /* Initially hide the section */
    transform: translateY(50px);
    /* Start position for the animation */
    animation: fadeInUp 1s ease-out forwards;
    /* Fade-in and slide-up animation */
    animation-delay: 0.3s;
    /* Delay before animation starts */
}

#why_us h2 {
    margin: 90px 0 30px;
    text-align: center;
    opacity: 0;
    transform: translateY(-50px);
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.5s;
}

.why_us_item {
    padding: 55px 20px 30px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards;
}

.why_us_item h4 {
    font-size: 18px;
    margin: 30px 0 25px;
    font-weight: bold;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.6s;
    /* Added delay for better sequence */
}

#why_us .fa {
    border-radius: 100%;
    box-shadow: 0 0 0 10px #00B98E, 0 0 0 20px #4DD6B1, 0 0 0 30px #99ECD8;
    padding: 38px;
    font-size: 45px;
    display: inline-block;
    margin-bottom: 15px;
    opacity: 0;
    transform: scale(0.5);
    /* Initial small size for scaling effect */
    animation: scaleUp 0.6s ease-out forwards;
    /* Scaling animation */
    animation-delay: 0.3s;
    /* Delay for icon animation */
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleUp {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Hover Animations */
.why_us_item:hover .fa {
    transform: scale(1.1);
    /* Slightly increase the size of the icon */
    transition: transform 0.3s ease;
    /* Smooth transition effect */
}

.why_us_item:hover h4 {
    color: #00B98E;
    /* Change the text color to the primary green */
    transition: color 0.3s ease;
    /* Smooth color transition */
}

/* Hover effect for each item */
.why_us_item:hover {
    transform: translateY(-10px);
    /* Lift the item slightly when hovered */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    /* Add shadow to create depth */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* recent projects section css */

.project-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background-color: white;
    transition: transform 0.3s ease-in-out;
}

.project-item:hover {
    transform: scale(1.05);
}

.project-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.project-info {
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    /* Dark background with transparency */
    color: white;
    /* Ensure text is white */
    position: absolute;
    bottom: 0;
    width: 100%;
    transition: all 0.3s ease-in-out;
    opacity: 0;
    /* Initially hidden */
}

.project-item:hover .project-info {
    opacity: 1;
    /* Show the text on hover */
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    /* Dark background on hover */
}

.project-info h5 {
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    /* White text color */
}

.project-info p {
    font-size: 14px;
    color: #fadb64;
    /* Light yellow for description */
}

.project-info .description {
    font-size: 14px;
    color: #f7e59c;
    /* Lighter yellow for description */
}

.project-item:hover .project-info h5 {
    color: #ffffff;
    /* Highlight title on hover */
}

#recent-projects .btn-primary {
    color: white;
    font-weight: 600;
    border-radius: 5px;
    padding: 10px 20px;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

#recent-projects .btn-primary:hover {
    background-color: #027e5f;
}

.project-info p i {
    margin-right: 5px;
}

.project-info p {
    margin: 5px 0;
}


#whatsapp_contact_form {
    background: #00B98E;
    /* Green background */
    padding: 50px 0;
}

#whatsapp_contact_form h2 {
    color: #ffcb0f;
    /* Yellow color for the header */
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: "Futura LT Book", sans-serif;
}

#whatsapp_contact_form .second_heading {
    color: #ffffff;
    /* White color for the subheader */
    font-size: 36px;
    font-weight: 500;
}

#whatsapp_contact_form .form-group {
    margin-bottom: 20px;
}

#whatsapp_contact_form .form-control {
    border: 2px solid #e0e0e0;
    /* Light grey border */
    border-radius: 10px;
    font-size: 16px;
    height: 45px;
    padding: 10px 20px;
    background-color: #fafafa;
    /* Light background color */
    box-shadow: none;
    transition: all 0.3s ease-in-out;
}

#whatsapp_contact_form .form-control:focus {
    border-color: #ffcb0f;
    /* Yellow focus border */
    box-shadow: 0 0 5px 1px #ffcb0f;
    outline: none;
}

#whatsapp_contact_form .form-inline textarea.form-control {
    width: 100%;
    resize: none;
    min-height: 150px;
}

#whatsapp_contact_form .btn.submit_btn {
    background: #ffcb0f;
    /* Yellow button background */
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    height: 45px;
    width: 100%;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

#whatsapp_contact_form .btn.submit_btn:hover {
    background: #f6a800;
    /* Darker yellow on hover */
}

#whatsapp_contact_form .form-control::-moz-placeholder {
    color: #adadad;
    /* Light grey placeholder */
}

#whatsapp_contact_form .form-control:-ms-input-placeholder {
    color: #adadad;
}

#whatsapp_contact_form .form-control::-webkit-input-placeholder {
    color: #adadad;
}

/* Fix layout issues for 769px to 1195px */
@media (min-width: 768px) and (max-width: 1195px) {
    #whatsapp_contact_form .row {
        align-items: stretch; /* Ensure both columns are of equal height */
    }

    #whatsapp_contact_form form {
        display: flex;
        flex-direction: column;
        gap: 1rem; /* Add spacing between form rows */
    }

    #whatsapp_contact_form h2 {
        font-size: 1.4rem; /* Slightly smaller text for headings */
    }

    #whatsapp_contact_form .second_heading {
        font-size: 1.2rem; /* Adjust secondary heading size */
    }

    #whatsapp_contact_form .form-group {
        margin-bottom: 1rem; /* Consistent spacing between inputs */
    }

    #whatsapp_contact_form textarea {
        resize: none; /* Disable resizing for consistent height */
    }

    #whatsapp_contact_form .submit_btn {
        font-size: 1rem;
        white-space: nowrap; /* Prevent text breaking */
        padding: 0.6rem 1rem; /* Add some padding for better appearance */
        width: 100%; /* Ensure it spans the width of its column */
    }

    /* Specific alignment for Name and Email fields */
    #whatsapp_contact_form .row {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem; /* Add spacing between fields */
    }

    #whatsapp_contact_form .row > .col-md-6 {
        flex: 0 0 48%; /* Ensure both inputs are aligned properly */
    }

    #whatsapp_contact_form .row > .col-md-8,
    #whatsapp_contact_form .row > .col-md-4 {
        flex: 0 0 100%; /* Stack fields if needed */
    }
}

#about-page .about-img {
    border: 5px solid #f1f1f1;
    /* Add a subtle border */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

#about-page .about-img:hover {
    transform: scale(1.05);
    /* Zoom effect on hover */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    /* Elevated shadow on hover */
}

#about-page .image-overlay {
    background: rgba(0, 0, 0, 0.3);
    /* Semi-transparent overlay */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

#about-page .about-img:hover .image-overlay {
    opacity: 1;
    /* Show overlay on hover */
}

#about-page .image-caption {
    background: rgba(0, 0, 0, 0.7);
    /* Dark background for text */
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

#about-page .about-img:hover .image-caption {
    opacity: 1;
    /* Show caption on hover */
}

/* ongrid page css */

#ongridpage .brand-card {
    transition: transform 0.3s ease-in-out;
}

#ongridpage .brand-card:hover {
    transform: translateY(-10px);
}

#ongridpage .list-group-item i {
    transition: transform 0.2s ease;
}

#ongridpage .list-group-item:hover i {
    transform: scale(1.1);
}

/* cctvcamera page */

#cctvcamerapage .hover-effect {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    border-radius: 8px;
}

#cctvcamerapage .hover-effect:hover {
    transform: scale(1.05);
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.2);
}

#cctvcamerapage .card-body ul {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

#cctvcamerapage .card-body ul li {
    margin-bottom: 8px;
}

/* contact form */

.map-responsive {
    height: 100%;
    display: flex;
    align-items: stretch;
}

.map-responsive iframe {
    height: 100%;
    width: 100%;
}

.rounded {
    word-wrap: break-word; /* Ensure long text breaks properly */
    overflow-wrap: break-word;
    word-break: break-word;
}

.rounded .icon + span {
    display: inline-block;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Adjust font size and spacing for smaller screens */
@media (max-width: 768px) {
    .rounded .icon + span {
        font-size: 14px; /* Smaller font size for smaller screens */
    }
    .rounded {
        padding: 10px; /* Reduce padding for smaller screens */
    }
}

/* Ensure table scrolls horizontally on small screens */
.table {
    overflow-x: auto;
    white-space: nowrap; /* Prevents wrapping of content */
}

/* Adjust font size and padding for smaller screens */
@media (max-width: 767px) {
    .table{
        display: block;
    }
    .table th, .table td {
        font-size: 14px; /* Reduce font size for better readability */
        padding: 8px; /* Reduce padding to save space */
    }
    
    .table th {
        text-align: left; /* Align table headers for better readability */
    }
    
    .btn {
        font-size: 15px; /* Adjust button font size */
        padding: 5px 10px; /* Adjust button padding */
    }
}

/* Adjust for extra small screens (up to 576px) */
@media (max-width: 576px) {
    .table{
        display: block;
    }
    .table th, .table td {
        font-size: 12px; /* Further reduce font size */
        padding: 6px; /* Further reduce padding */
    }
    
    .btn {
        font-size: 15px; /* Make button font smaller */
        padding: 4px 8px; /* Adjust button padding */
    }
}