
/*** Spinner Start ***/
/*** 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;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    border: none;
}

.btn.btn-primary:hover {
    background: var(--bs-secondary);
}

.btn.btn-secondary {
    color: var(--bs-white);
    border: #20c997;
    float: right;

   
}

.btn.btn-secondary:hover {
    background: var(--bs-secondary);
}
/*** Topbar Start ***/
.topbar {
    padding: 2px 10px 2px 20px;
    background: linear-gradient(90deg, #007BFF, #01953f);

}
/*** Topbar End ***/

/*** Navbar ***/
.sticky-top {
    transition: 1s;
}

.navbar .navbar-nav .nav-item.nav-link,
.navbar .navbar-nav .nav-link {
    color: var(--bs-dark);
}

.navbar .navbar-nav .nav-link {
    position: relative;
    padding: 10px;
    font-weight: 400;
    font-family: "Playfair Display", serif;
    font-size: 17px;
    transition: .5s;
    z-index: 99;
}

.navbar .navbar-nav .nav-item {
    margin: 0 5px;
}

.navbar .navbar-nav .nav-item::before,
.navbar .navbar-nav .nav-item::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    border: 2px solid var(--bs-secondary);
    opacity: 0;
    transition: 0.5s;
    z-index: 2 !important;
}

.navbar .navbar-nav .nav-item::before {
    top: 0;
    left: 0;
    border-bottom: 0;
    border-right: 0;
}
.navbar .navbar-nav .nav-item::after {
    bottom: 0;
    right: 0;
    border-top: 0;
    border-left: 0;
}

.navbar .navbar-nav .nav-item:hover::after,
.navbar .navbar-nav .nav-item:hover::before,
.navbar .navbar-nav .nav-item.active::after,
.navbar .navbar-nav .nav-item.active::before {
    width: 50%;
    height: 50%;
    opacity: 1;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.sticky-top .navbar .navbar-nav .nav-link:hover,
.sticky-top .navbar .navbar-nav .nav-link.active {
    color: var(--bs-secondary) !important;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107" !important;
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
}

.navbar .navbar-toggler {
    padding: 8px 15px;
    color: var(--bs-white);
    background: linear-gradient(90deg, #007BFF, #01953f);
}

.nav-bar .navbar-toggler { 
    color: var(--bs-dark);
    box-shadow: none !important;
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    transition: .5s;
    opacity: 1;
}

.navbar .nav-item .dropdown-menu {
    background: var(--bs-light);
    transition: 0.5s;
}


/* Existing styles for larger screens */
.navbar .nav-item .dropdown-menu {
    background-color: #fff; /* White background */
    border-radius: 0; /* No rounded corners */
    padding: 0; /* No padding on container */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15); /* Subtle shadow */
    border: 1px solid #e5e5e5; /* Light border */
    width: 250px; /* Set fixed width (adjust this as needed) */
}

.navbar .nav-item .dropdown-menu .dropdown-item {
    color: #333; /* Dark text color */
    padding: 12px 20px; /* Spacing for items */
    border-bottom: 1px solid #e5e5e5; /* Divider between items */
    font-weight: 500; /* Semi-bold font */
   
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth hover transition */
}

.navbar .nav-item .dropdown-menu .dropdown-item:hover {
    background-color: #007bff; /* Highlight background on hover */
    color: #fff; /* White text on hover */
}

.navbar .nav-item .dropdown-menu .dropdown-item:last-child {
    border-bottom: none; /* Remove bottom border for last item */
}

/* Responsive design for mobile screens */
@media (max-width: 768px) {
    .navbar .nav-item .dropdown-menu {
        width: 100%; /* Full width for mobile devices */
        padding: 0;
        margin: 0 auto; /* Center horizontally */
        border: none; /* Remove border for mobile */
        box-shadow: none; /* Remove shadow */
    }

    .navbar .nav-item .dropdown-menu .dropdown-item {
        font-size: 16px; /* Increase font size for readability on mobile */
        padding: 15px; /* Larger padding for better touch experience */
        text-align: left; /* Center the text */
        border-bottom: 1px solid #e5e5e5;
    }

    .navbar .nav-item .dropdown-menu .dropdown-item:hover {
        background-color: #007bff; /* Same hover effect */
    
    }

    .navbar .nav-item .dropdown-menu .dropdown-item:last-child {
        border-bottom: none; /* Keep no border for the last item */
    }
}

.submenu {
    background-color: #f8f9fa; /* Light gray background for better contrast */
    border: 1px solid #dee2e6; /* Match the border with the background */
}

.submenu .dropdown-item {
    color: #212529; /* Dark text for better readability */
}

.submenu .dropdown-item:hover {
    background-color: #e2e6ea; /* Light gray on hover */
}

/* Custom styles for the dropdown toggle */
.dropdown-item.dropdown-toggle::after {
    content: "▼"; /* Down arrow */
    margin-left: 5px; /* Add some space */
    transition: transform 0.3s ease; /* Smooth rotation */
}

.collapse.show + .dropdown-item.dropdown-toggle::after {
    content: "▲"; /* Up arrow when expanded */
}


.dropdown .dropdown-menu .dropdown-item:hover,
.dropdown .dropdown-menu .dropdown-item.active {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        margin-top: 15% !important;
        transform: rotateX(-75deg);
        transform-origin: 0 0;
        border: 0;
        transition: .5s;
        opacity: 0;
        z-index: 9;
    }
}

@media (max-width: 991px) {
    .navbar .nav-item .dropdown-menu {
        position: relative;
        margin-top: 0;
        transition: 0.5s;
    }

    .navbar .navbar-nav .nav-item::after,
    .navbar .navbar-nav .nav-item::before {
        display: none;
    }

    .navbar .navbar-nav .nav-item:hover::after,
    .navbar .navbar-nav .nav-item:hover::before,
    .navbar .navbar-nav .nav-item.active::after,
    .navbar .navbar-nav .nav-item.active::before {
        display: none;

    }

    .navbar .navbar-nav .nav-link {
        padding: 12px 0;
    }

    .navbar .navbar-nav .nav-item {
        margin: 0;
    }

    .navbar .navbar-nav .nav-item.nav-link {
        padding: 12px 0;
    }
}

#searchModal .modal-content {
    background: rgba(255, 255, 255, .6);
}
/*** Navbar End ***/

/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 18, 72, 0.7), rgba(0, 18, 72, 0.7)), url(../img/carousel-2.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0 60px 0;
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}
/*** Single Page Hero Header End ***/

/*** Carousel Start ***/
.carousel .carousel-inner .carousel-item {
    position: relative;
    overflow: hidden;
    height: 100vh;
}

.carousel .carousel-inner .carousel-item img {
    animation-name: image-zoom ;
    animation-duration: 10s;
    animation-delay: 1s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    transition: 0.5s;
}

@keyframes image-zoom {
    0%  {width: 100%; height: 100%; -webkit-filter: blur(0px); opacity: 1;}

    25% {width: 115%; height: 115%; -webkit-filter: blur(3px); opacity: 0.9;}

    50% {width: 130%; height: 130%; -webkit-filter: blur(10px); opacity: 0.7;}

    75% {width: 115%; height: 115%; -webkit-filter: blur(3px); opacity: 0.9;}

    100% {width: 100%; height: 100%; -webkit-filter: blur(0px); opacity: 1;}
}

@media (min-width: 992px) {
    .carousel .carousel-inner .carousel-item img {
        height: 100%;
        object-fit: cover;   
    }
}

@media (max-width: 991px) {
    .carousel .carousel-inner .carousel-item {
        height: 700px;
    }
    .carousel .carousel-inner .carousel-item img {
        height: 700px;
        object-fit: cover;    
    }
}

@media (max-width: 576px) {
    .carousel-item .carousel-caption h1 {
        font-size: 36px;
    }

    .carousel-item .carousel-caption p.fs-5 {
        font-size: 15px;
    }
}

.carousel .carousel-inner .carousel-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    z-index: 1;
}

.carousel .carousel-inner .carousel-item .carousel-caption {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.carousel .carousel-indicators {
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    z-index: 5;
}

.carousel .carousel-indicators li,
.carousel .carousel-indicators li,
.carousel .carousel-indicators li {
    margin-right: 30px !important;
    width: 10px;
    height: 10px;
    border: 6px solid var(--bs-secondary);
    background: var(--bs-white);
    transition: 0.5s;
}

.carousel .carousel-indicators li.active {
    border: 10px solid var(--bs-primary);
}

.carousel .carousel-control-prev,
.carousel .carousel-control-next {
    background: transparent;
}

.carousel .carousel-control-prev .carousel-control-prev-icon {
    position: absolute;
    left: 0;
    padding: 25px 30px;
    background: var(--bs-primary);

}

.carousel .carousel-control-next .carousel-control-next-icon {
    position: absolute;
    right: 0;
    padding: 25px 30px;
    background: var(--bs-primary);

}

.carousel .carousel-control-prev .carousel-control-prev-icon:hover,
.carousel .carousel-control-next .carousel-control-next-icon:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}
/*** Carousel End ***/


/*** About Start ***/
.about .about-item-content-img {
    border: 4px solid;
    border-color: var(--bs-secondary) var(--bs-primary) var(--bs-primary) var(--bs-secondary);
}

..about-item-image {
    position: relative;
    width: 100%; /* Ensures the container spans the full width */
    overflow: hidden; /* Ensures no content overflows the container */
}

.about-item-image img {
    width: 100%; /* Makes the image take up the full width of the container */
    height: auto; /* Maintains aspect ratio */
    object-fit: cover; /* Ensures the image covers the container without stretching */
}
.about .about-item-image .about-item-image-effect {
    position: absolute;
    top: 0;
    right: 0;
}
/*** About End ***/

/*** Features Start ***/
.feature .feature-item {
    position: relative;
    transition: 0.5s;
    box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.1);
        background: #fffbfb;
}
.feature .feature-item:hover {
    background: var(--bs-white);
    border: 1px solid transparent;
    box-shadow: 0 0 45px rgba(0, 0, 0, .1);
}

.feature .feature-item:hover a {
    transition: 0.5s;
}

.feature .feature-item:hover a:hover {
    color: var(--bs-secondary);
}

.feature .feature-item .feature-img img {
    border: transparent;
    transition: 0.5s;
} 

.feature .feature-item:hover .feature-img img {
    border: 1px solid var(--bs-secondary);
}  
/*** Features End ***/

/*** Products Start ***/
.service .service-item {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    transition: 0.5s;
    z-index: 1;
}

.service .service-item .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-img img {
    transform: scale(1.2);
}

.service .service-item::after {
    content: "";
    width: 100%;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
    z-index: 2;
}

.service .service-item:hover:after {
    height: 100%;
    background: rgba(0, 0, 0, .4);
}

.service .service-item .service-content {
    position: absolute;
    width: 100%;
    height: auto;
    top: 50%; 
    left: 0; 
    transform: translateY(-50%);
    transition: 0.5s;
    opacity: 0;
    z-index: 3;
}

.service .service-item:hover .service-content {
    opacity: 1;
}

.service .service-item:hover .service-content a.fs-4 {
    color: var(--bs-white);
    transition: 0.5s;
}

.service .service-item:hover .service-content a.fs-4:hover {
    color: #00ff59;
}

.service .service-item .service-tytle {
    position: absolute;
    width: 100%;
    height: 80px; 
    bottom: 0; 
    right: 0;
    background: var(--bs-white);
    display: flex;
    transition: 0.5s;
    z-index: 3;
}

.service .service-item:hover .service-tytle {
    margin-right: -100%;
}
/*** Products End ***/

/*** Fact Counter ***/
.counter {
    background: linear-gradient(rgba(0, 18, 72, 0.9), rgba(0, 22, 89, 1)), url(../img/counter.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}

.counter .counter-btn:hover {
    background: var(--bs-secondary);
    color: #FFF;
}

.counter .counter-box {
    padding-right: 20px; 
    padding-bottom: 20px;
}

.counter .counter-item {
    width: 100%;
    height: 100%;
    text-align: center;
    position: relative;
    z-index: 1;
}

.counter .counter-item .counter-item-style {
    position: absolute;
    width: calc(100% - 20px);
    height: 100%;
    top: 0;
    left: 0;
    background: var(--bs-secondary);
    z-index: 2;
}

.counter .counter-item .counter-item-inner {
    position: relative;
    top: 20px;
    left: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
    background: var(--bs-white);
    box-shadow: 20px 20px #01953f;
    z-index: 3;
}

.counter .counter-item .counter-counting {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bs-primary);
    font-size: 30px;
}
/*** Fact Counter ***/

/*** Projects Start ***/
.project .project-item .project-img {
    position: relative;
}

.project .project-item .project-img::after {
    content: "";
    position: absolute;
    width: 70%;
    height: 70%;
    top: 0;
    left: 0;
    background: var(--bs-secondary);
    z-index: -1;
}

.project .project-item .project-content a.h4 {
    transition: 0.5s;
}

.project .project-item:hover .project-content a.h4:hover {
    color: var(--bs-secondary);
}
/*** Projects End ***/


/*** Team Start ***/
.team .team-item {
    position: relative;
    z-index: 1;
}

.team .team-item .team-img {
    position: relative;
    overflow: hidden;
}

.team .team-item .team-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .2);
    transition: 0.5s;
    z-index: 2;

}

.team .team-item:hover .team-img::after {
    height: 100%;
}

.team .team-item .team-img .team-icon {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    transform: scale(-1);
    margin-bottom: 100%;
    background: transparent;
    transition: 0.5s;
    opacity: 0;
    z-index: 5;
    
}

.team .team-item:hover .team-img .team-icon {
    transform: scale(1);
    margin-bottom: 0;
    opacity: 1;
}

.team .team-item .team-border-style-1,
.team .team-item .team-border-style-2 {
    width: 50%;
    height: 50%;
    position: absolute;
    background: var(--bs-secondary);
    transition: 0.5s;
    z-index: -1;
}

.team .team-item .team-border-style-1 {
    top: 0;
    left: 0;
}

.team .team-item .team-border-style-2 {
    right: 0;
    bottom: 0;
}

.team .team-item .team-border-style-3,
.team .team-item .team-border-style-4 {
    width: 0;
    height: 0;
    position: absolute;
    background: var(--bs-secondary);
    transition: 0.5s;
    z-index: -1;
}

.team .team-item .team-border-style-3 {
    top: 0;
    right: 0;
}

.team .team-item .team-border-style-4 {
    left: 0;
    bottom: 0;
}

.team .team-item:hover .team-border-style-1,
.team .team-item:hover .team-border-style-2 {
    width: 0%;
    height: 0%;
}

.team .team-item:hover .team-border-style-3,
.team .team-item:hover .team-border-style-4 {
    width: 50%;
    height: 50%;
}
/*** Team End ***/

/*** Blog Start ***/
.blog .blog-item .blog-img {
    position: relative;
    overflow: hidden;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.2);
}

.blog .blog-item .blog-content {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.blog .blog-item .blog-content a {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-content a:hover {
    color: var(--bs-secondary);
}
/*** Blog End ***/

/*** testimonial Start ***/
.testimonial .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    right: 0;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.testimonial .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 88px;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.testimonial-carousel .owl-dots {
    display: flex;
    justify-content: center;
    margin-left: 20px;
    margin-top: 20px;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    border: 1px solid var(--bs-secondary);
    background: var(--bs-primary);
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 20px;
    height: 20px;
    border: 1px solid var(--bs-primary);
    background: var(--bs-secondary) !important;
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot span {
    position: relative;
    margin-top: 50%;
    margin-left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.testimonial-carousel .owl-dots .owl-dot span::after {
    content: "";
    width: 8px;
    height: 8px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bs-white);
}

@media (max-width: 992px) {
    .owl-carousel.testimonial-carousel {
        padding-top: 30px;
    }

    .testimonial .owl-nav .owl-prev,
    .testimonial .owl-nav .owl-next {
        top: -30px;
    }
}
/*** testimonial End ***/

/*** Contact Start ***/
.contact .contact-map {
    position: relative;
    overflow: hidden;
    padding: 20px;
    z-index: 1;
}

.contact .contact-map::before {
    content: "";
    width: 70%;
    height: 70%;
    position: absolute;
    left: 0;
    bottom: 0;
    background: var(--bs-primary);
    z-index: -1;
}

.contact .contact-map::after {
    content: "";
    width: 70%;
    height: 70%;
    position: absolute;
    top: 0;
    right: 0;
    background: var(--bs-secondary);
    z-index: -1;
}
/*** Contact End ***/

/*** Footer Start ***/
.footer {
    background: linear-gradient(rgba(0, 18, 72, 0.9), rgba(0, 18, 72, 1)), url(../img/footer-img.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}
.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-body);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
}

.footer .footer-item a:hover {
    letter-spacing: 1px;
    color: var(--bs-secondary);
}

.footer .footer-item .footer-btn a,
.footer .footer-item .footer-btn a i {
    transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-primary) !important;
}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-dark);
    
    
}
/*** copyright end ***/



#portfolio-section .portfolio-img-wrapper {
    position: relative;
}

#portfolio-section .portfolio-img {
    width: 150px;
    height: 100px;
}

#portfolio-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(4, 15, 40, .3);
}

.portfolio-item {
    margin-bottom: 60px;
}

.portfolio-title {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 120px; /* Maintain height */
    padding: 0 30px; /* Horizontal padding */
    right: 30px; /* Positioning */
    left: 30px;
    bottom: -60px; /* Adjust bottom positioning as needed */
    background: #FFFFFF; /* White background for contrast */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
    border-radius: 8px; /* Rounded corners for a modern look */
    z-index: 3; /* Ensure visibility */
    transition: transform 0.3s ease, background-color 0.3s ease; /* Smooth transition for hover effects */
}

/* Hover effect for interaction */
.portfolio-title:hover {
    transform: translateY(-5px); /* Lift effect */
    background-color: #f1f1f1; /* Light grey background on hover */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .portfolio-title {
        height: auto; /* Adjust height for smaller screens */
        padding: 15px; /* Less padding on mobile */
        bottom: -30px; /* Adjust position for mobile */
    }
}

.portfolio-btn {
    position: absolute;
    display: inline-block;
    top: 50%;
    left: 50%;
    margin-top: -60px;
    margin-left: -60px;
    font-size: 120px;
    line-height: 0;
    transition: .1s;
    transition-delay: .3s;
    z-index: 2;
    opacity: 0;
}

.portfolio-item:hover .portfolio-btn {
    opacity: 1;
}

.portfolio-box::before,
.portfolio-box::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    transition: .5s;
    z-index: 1;
    background: rgba(4, 15, 40, .7);
}

.portfolio-box::before {
    left: 0;
}

.portfolio-box::after {
    right: 0;
}

.portfolio-item:hover .portfolio-box::before {
    left: 0;
    width: 50%;
}

.portfolio-item:hover .portfolio-box::after {
    right: 0;
    width: 50%;
}

.bg-dark-radial {
    background-image: -webkit-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: -moz-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: -ms-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: -o-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-size: 3px 3px;
}


.btn {
    position: relative;
    font-weight: 600;
    text-transform: uppercase;
    transition: .5s;
}

.btn::after {
    position: absolute;
    content: "";
    width: 0;
    height: 5px;
    bottom: -1px;
    left: 50%;
    background: var(--bs-primary);
    transition: .5s;
}

.btn.btn-primary::after {
    background: var(--bs-dark);
}

.btn:hover::after,
.btn.active::after {
    width: 50%;
    left: 25%;
}

.btn-primary {
    color: #FFFFFF;
}
.container-column {
  line-height: 25px;
  text-align: center;
  overflow: visible;
  padding: 20px;
  width: 50%;
  height: auto;
  float: none;
  clear: none;
  z-index: 8;
  position: relative;
  vertical-align: top;
  display: table-cell;
  visibility: inherit;
  opacity: 1;
  pointer-events: auto;
  background: transparent;
}

.background-shape {
  overflow: visible;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 800px;
  float: none;
  clear: none;
  z-index: 7;
  position: relative;
  vertical-align: inherit;
  display: block;.containerslider {
  display: none;
  padding: 30px;
  background-color: white;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;

}
  .open-btn-slider {
      font-size: 18px;
      padding: 10px 20px;
      background-color: #014da1;
      color: white;
      border: none;
      cursor: pointer;
    }

.close-btn {
      position: absolute;
      top: -4px;
      right: 20px;
      font-size: 40px;
      cursor: pointer;
    }

.left-column {
  width: 50%;
  padding-right: 20px;
}

.right-column {
   width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 20px 20px;
    background-color: rgba(146, 144, 145, 0.35);
}

.image-slider {
  width: 100%;
  height: 700px;
  background-position: center;
  background-size: cover;
  
}



.subtitle-slider {
  font-size: 18px;
  font-weight: 400;
  color: #555;
  margin-bottom: 30px;
  text-align: left;
  line-height: 1.6;
}

.property-details {
  display: flex;
  flex-direction: column;
  gap: 20px; /* Space between each detail item */
  margin-top: 20px;
}

.detailslider {
  display: flex;
    justify-content: space-between; /* Evenly space label and value */
    align-items: center;
    padding: 10px 15px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.8); /* Background for clarity */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
 
}

.value-slider {
  font-size: 28px;
  font-weight: 600;
  color: #333;
}

.label-slider {
  font-size: 18px;
  font-weight: 400;
  color: #777;
  text-align: right;
}


 .contact-btn-slider {
      display: inline-block;
      padding: 10px 50px;
      background-color: black;
      color: white;
      font-size: 25px;
      font-weight: 500;
      text-align: center;
      text-decoration: none;
      border-radius: 10px;
      cursor: pointer;
      margin-top: 10px;
    }
      .contact-btn-container-slider {
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      margiin-top:10px;

    }
  visibility: inherit;
  opacity: 1;
  pointer-events: auto;
  background: url("https://www.sliderrevolution.com/wp-content/uploads/revslider/architecture-portfolio/istur_Neo-futuristic_city_house_architecture_by_david_rockwell__20e59590-6aca-4ec3-9ea6-53c62dffe0d4-min.png") center center / cover no-repeat transparent;
}
.containerslider {
 display: none; /* Hidden by default */
  padding: 50px;
 
 
  position: fixed; /* Keeps it fixed to the viewport */
  top: 100%; /* Centers it vertically */
  left: 50%; /* Centers it horizontally */
  transform: translate(-50%, 0%); /* Moves it back by 50% of its own size, centering it */
  z-index: 9999;
  background-color: white;  
  width: 90%; /* Adjust width to be responsive */
  max-width: 1200px; /* Maximum width to prevent it from growing too large */
   max-height: auto; /* Adjust this value as needed */

  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
   opacity: 0; /* Start hidden */
    transition: transform 0.9s ease, opacity 0.9s ease; /* Slow down transition */



}
.containerslider.show {
  display: block; /* Make it visible */
  top: 50%; /* Center it vertically */
  opacity: 1; /* Fade in */
  transform: translate(-50%, -50%); /* Move to center */
}

.no-scroll {
  overflow: hidden; /* Disables scrolling */
}
#overlay {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
  z-index: 9998; /* Behind the slider */
}

  .open-btn-slider {
      font-size: 18px;
      padding: 10px 20px;
      background-color: #014da1;
      color: white;
      border: none;
      cursor: pointer;
    }

.close-btn {
      position: absolute; /* Absolute positioning */
  top: -10px; /* Adjust the distance from the top */
  right: 15px; /* Adjust the distance from the right */
  font-size: 40px; /* Size of the close button */
  cursor: pointer; /* Change cursor to pointer */
  color: #333; /* Color of the close button */
  transition: color 0.3s; /* Smooth transition for color change */
    }
.close-btn:hover {
  color: #ff0000; /* Change color on hover */
}
.left-column {
  width: 50%;
  padding-right: 20px;

}

.right-column {
   width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    background-color: rgba(146, 144, 145, 0.35);
}
        
.image-slider {
  width: 100%;
  height: 550px;
  background-position: center;
  background-size: cover;
  
}



.subtitle-slider {
  font-size: 18px;
  font-weight: 400;
  color: #555;
  margin-bottom: 30px;
  text-align: left;
  line-height: 1.6;

}

.property-details {
  display: flex;
  flex-direction: column;
  gap: 20px; /* Space between each detail item */
  margin-top: 20px;
}

.detailslider {
  display: flex;
    justify-content: space-between; /* Evenly space label and value */
    align-items: center;
    padding: 10px 15px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.8); /* Background for clarity */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.value-slider {
  font-size: 28px;
  font-weight: 600;
  color: #333;
}

.label-slider {
  font-size: 18px;
  font-weight: 400;
  color: #777;
  text-align: right;
}


 .contact-btn-slider {
      display: inline-block;
      padding: 10px 50px;
      background: linear-gradient(90deg, #007BFF, #01953f);
      color: white;
      font-size: 25px;
      font-weight: 500;
      text-align: center;
      text-decoration: none;
      border-radius: 10px;
      cursor: pointer;
      margin-top: 10px;
    }

    .contact-btn-slider:hover {
      color: white;
      background: var(--bs-secondary);
    }
      .contact-btn-container-slider {
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      margin-top: 10px;
    }

    .title-slider {
        font-family: 'Barlow Condensed';
    font-size: 50px;
    font-weight: 600;
    color: rgb(0, 0, 0);
    margin-bottom: 15px; /* Space below title */
    text-align: center; /* Center title */
    }

  /* Mobile Responsive Styles */
@media (max-width: 768px) {
  .containerslider {
    padding: 20px; /* Adjust padding for mobile */
    width: 100%; /* Full width */
    max-width: none; /* Remove max-width restriction */
    height: auto; /* Let height adjust based on content */
  }

  /* Ensure both columns take full width and stack */
  .left-column, .right-column {
    width: 100%; /* Full width on mobile */
    padding: 10px 0; /* Padding for spacing */
    box-sizing: border-box; /* Ensure padding doesn’t affect width */
  }

  /* Image adjustments for mobile */
  .image-slider {
    width: 100%; /* Full width */
    height: auto; /* Adjust height automatically */
    display: block; /* Ensure the image is displayed */
  }

  /* Adjust subtitle and text content */
  .subtitle-slider {
    font-size: 18px;
    font-weight: 400;
    color: #555;
    margin-bottom: 30px; /* Space below subtitle */
    text-align: center; /* Center subtitle */
    line-height: 1.6; /* Improved line height */
  }

  /* Adjust property details */
  .property-details {
    display: flex;
    flex-direction: column; /* Stack vertically */
    gap: 10px; /* Reduce gap for mobile */
    margin-top: 15px; /* Top margin */
  }

  /* Adjust value and label sizes */
  .value-slider {
    font-size: 20px; /* Smaller font for mobile */
  }

  .label-slider {
    font-size: 14px; /* Smaller font for mobile */
  }

  /* Adjust contact button for mobile */
  .contact-btn-slider {
    font-size: 10px; /* Responsive font size */
    padding: 8px 20px; /* Responsive padding */
  }

  .contact-btn-container-slider {
    padding-top: 20px; /* Top padding */
  }

  /* Adjust close button size and position */
  .close-btn {
    font-size: 30px; /* Smaller close button */
    top: -5px; /* Adjust position */
    right: 10px; /* Adjust position */
  }
}


/* Mobile styles */
@media (max-width: 768px) {
  .containerslider {
    padding: 20px;
    width: 100%;
    max-width: 100%;
    top: 100%; /* Centers it vertically */
    left: 50%;
    transform: translate(-50%, 0%); /* Move to center */
  }

  /* Make columns stack vertically */
  .left-column, .right-column {
    width: 100%; /* Make both columns full width */
    padding: 0;
  }

  .left-column {
    order: 1; /* Ensure the image is at the top */
  }

  .right-column {
    order: 2; /* Content below the image */
    padding: 10px 10px;
    background-color: rgba(146, 144, 145, 0.1); /* Lighter for mobile */
  }

  .image-slider {
    height: 377px; /* Reduce image height for mobile */
  }

  .title-slider {
    font-size: 20px; /* Smaller title for mobile */
    line-height: 35px;
    padding: 0 20px;
    text-align: center; /* Center the title for mobile */
  }

  .subtitle-slider {
    font-size: 10px;
    text-align: center; /* Center the subtitle */
    line-height: 1.4;
    padding: 0 0px;
  }

  .property-details {
    flex-direction: column;
    gap: 10px;
    padding: 0 0px; /* Add padding to details on mobile */
  }

  .detailslider {
    justify-content: space-between;
    padding: 5px 10px;
  }

  .value-slider {
    font-size: 12px;
  }

  .label-slider {
    font-size: 12px;
    text-align: left;
  }

  .contact-btn-slider {
    font-size: 10px;
    padding: 10px 30px;
  }

  .contact-btn-container-slider {
    justify-content: center;
  }
 
 
}
 /* hide map for mobile*/
@media (max-width: 767px) {
    .d-none {
        display: none !important;
    }
}

/* map */
 .section-map {
            display: flex; /* Use flexbox to arrange children */
            width: 100%; /* Full width */
            height: 100vh; /* Full height of viewport */
            padding: 20px; /* Add padding around the section */
         background: url('https://images.unsplash.com/photo-1445112098124-3e76dd67983c?fm=jpg&q=60&w=3000&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8M3x8Ymx1ZSUyMHdhdGVyfGVufDB8fDB8fHww') no-repeat center center; /* Set your image URL here */
            background-size: cover; /* Cover the entire section */
            box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); /* Shadow effect for the section */
            border-radius: 10px; /* Rounded corners for the section */
        }
        #map-map {
            width: 50%; /* Adjust width as needed */
            height: 100%;
            border-radius: 10px; /* Rounded corners for the map */
            overflow: hidden; /* Hide overflow for rounded corners */
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for the map */
        }
        #div1-map {
             position: relative;
        display: block;
        padding: 20px;
        background-color: #1e1d1d;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        max-width: 800px;
        margin: 20px auto;
        transition: all 0.3s ease;
        overflow: hidden;
            width: 450px;
    height: 500px;
        }

    #div1-map:hover {
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    }
        .button-map {
            background-color: #007bff; /* Button background color */
            color: white; /* Button text color */
            border: none; /* Remove border */
            border-radius: 5px; /* Rounded corners for the button */
            padding: 10px 15px; /* Padding for the button */
            cursor: pointer; /* Cursor style for button */
        }
          .button-map:hover {
        background-color: #c0392b;
    }
      .animate_left-map {
        animation: slideIn 0.5s ease-out;
    }
     @keyframes slideIn {
        from {
            transform: translateX(-100%);
            opacity: 0;
        }
        to {
            transform: translateX(0);
            opacity: 1;
        }
    }
      .state_name-map {
        font-size: 24px;
        margin-bottom: 10px;
        color: #34495e;
        font-weight: 600;
    }

    .state_name-map span {
        font-size: 18px;
        font-weight: 400;
        color: #7f8c8d;
    }
   .state_subtitle-map {
        color: #3498db;
        font-size: 18px;
        margin-bottom: 20px;
    }

    .map-item-map {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
        flex-wrap: wrap;
    }
      .prd_img_div-map {
        flex: 1 1 300px;
    }

    .slide_img-map {
        width: 100%;
        height: 270px;
        height: auto;
        border-radius: 10px;
    }

    .state_details-map {
        flex: 1 1 300px;
    }

    .table-map {
        width: 100%;
        border-collapse: collapse;
        margin-top: 15px;
    }

    .table-map td {
        padding: 10px;
        text-align: center;
        border: 1px solid #ddd;
    }

    .head-map {
        background-color: #ecf0f1;
        font-weight: bold;
    }

    .bd-left-none-map {
        border-left: none;
    }

    .bd-right-none-map {
        border-right: none;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
        #div1-map {
            padding: 15px;
        }

        .state_name-map {
            font-size: 20px;
        }

        .state_subtitle-map {
            font-size: 16px;
        }

        .map-item-map {
            flex-direction: column;
        }

        .prd_img_div-map, .state_details-map {
            flex: none;
            width: 100%;
        }
    }

        .container-map {
    display: flex; /* Use flexbox for side-by-side layout */
    height: 100vh;
}

.map-container-map {
    width: 50%; /* Map takes half of the width */
    position: relative;
}

.india-map {
    width: 100%; /* Make map responsive */
}

.city-map {
    position: absolute; /* Position cities on the map */
    cursor: pointer;
    /* Adjust position according to the map image */
    /* Example positions for cities */
}

.targetDiv-map {
    width: 20%; /* Target div takes half of the width */
    height: 100%;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.hidden-map {
    display: none; /* Hide the target div by default */
}

.targetDiv-map:hover {
    transform: translateY(-2px);
}

h3.state_name-map {
    font-size: 28px;
    margin: 10px 0;
    color: white;
}

.topinfo-map {
    font-size: 18px;
    color: #777;
}

.map-item {
    display: flex;
    flex-direction: column; /* Keep items in a column */
    margin-top: 20px;
}

.column-center-map {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.prd_img_div-map {
    margin-bottom: 20px; /* Add margin below image */
    width: 100%; /* Ensure it takes the full width */
}

.slide_img-map {
    width: 100%; /* Ensure image is responsive */
    height:150px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.state_details {
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.table-map {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: center;
}

.head-map {
    background-color: #007BFF;
    color: white;
    font-weight: bold;
    font-size: 12px;
    

}

.view_details_btn-map, .view_park_btn-map {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 20px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.view_details_btn-map:hover, .view_park_btn-map:hover {
    background-color: #0056b3;
}

@media (max-width: 768px) {
    .map-container-map, .targetDiv-map {
        width: 100%; /* Make both sections full width on smaller screens */
    }
}

.video-container {
  position: relative;
  width: 100%;
  height: 100vh; /* Full height of the viewport */
  overflow: hidden; /* Hide overflow */
}

.video-background {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%; /* Ensure the video covers the width */
  min-height: 100%; /* Ensure the video covers the height */
  width: auto;
  height: auto;
  z-index: 1; /* Ensure the video is behind other content */
  transform: translate(-50%, -50%); /* Center the video */
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Adjust overlay color as needed */
  z-index: 2; /* Ensure overlay is on top of the video */
}


