.navbar {
    background-color: #4A4A4A !important;
}

.navbar_repconlogo {
    width: 120px;
    height: 120px;
    margin-left: 20px;
}

.nav-item {
    padding: 0px 20px;
    color: white !important;
}

.navbar-nav, .nav-link, .nav-item, .navbar-brand {
    color: white !important;
}

.navbar-nav {
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar-nav .nav-item {
    padding: 0px 15px;
}

.homediv1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}
.animation-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 100px;
    color: midnightblue;
    font-weight: 850;
    margin-bottom: 20px;
}

.logo span {
    display: inline-block;
    opacity: 0;
    transform: translateY(-50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.words {
    text-align: center;
    font-size: 50px;
    font-weight: 700;
    color: darkgray;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.words .word1, .words .word2 {
    display: inline-block;
    margin: 10px;
}

.show {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.homediv1 h1 {
    color: midnightblue;
    margin-top: 0;
    font-weight: 750;
    font-size: 75px;
}

.homediv1 h3 {
    color: aqua;
    font-weight: 650;
    font-size: 40px;
}

.headerimg {
    width: 100%;
    height: 100%;
    opacity: 0.7;
}

.imgdiv {
    position: relative;
    width: 100%;
    max-height: 500px;
    overflow: hidden;
}

.parallax {
    background-image: url('../images/img3.png');
    height: 550px; /* Adjust as needed */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.animation-container {
    position: relative;
    overflow: hidden;
}

.logo-image {
    width: 380px;
    animation: logoReveal 2s ease forwards;
    position: relative;
    clip-path: inset(100% 0 0 0);
}

.words {
    animation: textReveal 2s ease forwards;
    position: relative;
    clip-path: inset(0 0 100% 0);
}

@keyframes logoReveal {
    0% {
        clip-path: inset(100% 0 0 0);
    }
    100% {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes textReveal {
    0% {
        clip-path: inset(0 0 100% 0);
    }
    100% {
        clip-path: inset(0 0 0 0);
    }
}

marquee {
    font-size: 30px;
    font-weight: bolder;
}

.container {
    display: flex;
    height: 500px;
}

.left-side {
    flex: 1;
    padding: 20px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: justify;
    opacity: 0;
    transform: translateX(-100%);
    transition: opacity 1s ease-out, transform 1s ease-out;
    max-height: 450px;
    margin-right: 30px;
}

.left-side.visible {
    opacity: 1;
    transform: translateX(0);
}

.right-side {
    flex: 1;
    overflow: hidden;
    max-height: 450px;
    margin-left: 30px;
}

.carousel img {
    width: 100%;
    height: auto;
}

.left-side p {
    font-weight: 500;
    font-size: 20px;
}

.statistics {
    background-color: midnightblue;
    width: 100%;
    height: 150px;
    color: white;
    text-align: center;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 30px;
    padding: 20px;
    box-sizing: border-box;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-item .value {
    font-size: 55px;
    margin-bottom: 5px;
    font-weight: 800;
}

.stat-item .description {
    font-size: 25px;
    font-weight: 800;
}

.card {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    margin-left: 50px;
    margin-right: 20px;
}

.card.visible {
    opacity: 1;
    transform: translateY(0);
}
.card-body p{
    text-align: justify;
}

/*footer*/
/* Footer */
.mainfooter {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #333;
    color: white;
    padding: 20px;
    gap: 20px;
    height: auto;
    text-align: center;
    border-top: 3px solid #555;
}

.companylogo, .location, .contactinfo {
    flex: 1;
    padding: 10px;
}

.companylogo img {
    width: 150px;
    height: auto;
    margin: 0 auto;
    display: block;
}

.contact_us {
    font-weight: bold;
    margin-bottom: 10px;
}

.phone, .email {
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone i, .email i {
    margin-right: 10px;
}

.location iframe {
    border: 2px solid #555;
    border-radius: 8px;
}


/* Additional CSS for responsiveness */

@media (max-width: 767px) {
    html,body{
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
    }
    .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: auto;
    }

    .left-side {
        order: 1;
        width: 100%;
        margin: 30px 0;
        text-align: justify;
        padding: 20px; /* Adjust padding as needed */
        height: 120%;
    }

    .right-side {
        order: 2;
        width: 100%;
        margin: 10px 0;
        overflow: hidden; /* Ensure contents do not overflow */
    }

    .left-side p {
        font-size: 16px; /* Adjust font size as needed */
    }

    .carousel {
        width: 100%;
        height: 300px; /* Adjust height as needed */
    }

    .carousel-inner {
        width: 100%;
        height: 100%;
    }

    .carousel-inner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

    .statistics {
        height: 230px; /* Adjust height as needed */
        overflow-x: hidden;
    }
    .stat-item{
        width: 10px;
    }

    .container {
        overflow: hidden;
        width: 100%;
        position: relative;
        height: auto;
    }

    .row {
        display: flex;
        flex-wrap: nowrap;
        animation: slideCarousel 15s linear infinite; /* Adjust animation duration as needed */
    }

    .card {
        flex: 0 0 100%; /* Full width on smaller screens */
        margin: 10px 0;
        transform: translateX(100%);
    }

    /* Keyframes for sliding in from right */
    @keyframes slideInRight {
        0% {
            transform: translateX(100%);
            opacity: 0;
        }
        25% {
            transform: translateX(0);
            opacity: 1;
        }
        75% {
            transform: translateX(0);
            opacity: 1;
        }
        100% {
            transform: translateX(-100%);
            opacity: 0;
        }
    }

    /* Keyframes for continuous sliding effect */
    @keyframes slideCarousel {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-200%);
        }
    }

    .mainfooter {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding-bottom: 20px; /* Adjust padding as needed */
        overflow-x: hidden;
    }

    .companylogo, .location, .contactinfo {
        width: 100%;
        flex: none; /* Reset flex to ensure each section takes full width */
    }

    .location, .companylogo {
        order: 2; /* Change order to display location after contact info */
    }

    .contactinfo {
        order: 1; /* Display contact info first */
    }

    .list-unstyled {
        margin-top: 20px; /* Adjust margin as needed */
    }
}


  
