:root {
    --bg-primary: #26d48c;
    --secondary: #007BFF;
   
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/*** Spinner Start ***/

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
 }

 #spinner.show {
     transition: opacity .8s ease-out, visibility 0s linear .0s;
     visibility: visible;
     opacity: 1;
 }

/*** Spinner End ***/
.class {
    top: 0;
    bottom: 0;
  
}




/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-md-square {
    width: 46px;
    height: 46px;
}

.btn-lg-square {
    width: 58px;
    height: 58px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.back-to-top {
    position: fixed;
    width: 50px;
    height: 50px;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}
.calling {
    position: fixed;
    width: 50px;
    height: 50px;
    right: 25px;
    bottom: 90px;
    z-index: 99;
    background-color:#26d48c; /* Button color */
    color: white; /* Icon color */
    border-radius: 50%; /* Make it round */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    transition: transform 0.3s ease; /* Smooth zoom in/out transition */
}

/* Zoom effect on hover */
.calling:hover {
    transform: scale(1.3); /* Zoom in by 30% */
    background-color: #495057; /* Change background color on hover */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Add shadow for better hover effect */
}

/* Optional: Zoom effect when clicked (active state) */
.calling:active {
    transform: scale(1); /* Reset scale when clicked */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Slight shadow on click */
}
.whatsapp {
    position: fixed;
    width: 50px;
    height: 50px;
    right: 25px;
    bottom: 150px;
    z-index: 99;
    background-color:#26d48c; /* Button color */
    color: white; /* Icon color */
    border-radius: 50%; /* Make it round */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    transition: transform 0.3s ease; /* Smooth zoom in/out transition */
}

/* Zoom effect on hover */
.whatsapp:hover {
    transform: scale(1.3); /* Zoom in by 30% */
    background-color: #495057; /* Change background color on hover */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Add shadow for better hover effect */
}

/* Optional: Zoom effect when clicked (active state) */
.whatsapp:active {
    transform: scale(1); /* Reset scale when clicked */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Slight shadow on click */
}

/*** Button End ***/





.video-section {
    width: 40%; /* Adjust the width of the video */
    height: auto;
   
  }
  
  .background-video {
    width: 130%;
    height: 110%;
    object-fit: cover; /* Ensures the video covers the area without distortion */
  }



/*** Navbar Start ***/



.mynav{
    position: fixed;
    top: 0;
    z-index: 50;
}
.logo-container {
    display: flex;
    align-items: center;
  }
  
  .logo {
    width: 350px; /* Adjust logo size as needed */
    height: auto;
  }
  
.navbar .navbar-nav {
    padding: 15px 0;
}

.navbar .navbar-nav .nav-link {
    padding: 10px;
    color: var(--bs-white);
    font-size: 18px;
    outline: none;
       
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-secondary) !important;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "font awesome 5 free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}


.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    transition: .5s;
    opacity: 1;
}
/* Basic styling for the dropdown links */
.dropdown-item {
    padding: 10px 15px;
    text-decoration: none;
    color: black;
    transition: background-color 0.3s, color 0.3s; /* Add smooth transition for hover effect */
}

/* Change the background color and text color when hovering */

.dropdown-item:hover,
.dropdown-item.active {
    color:#26d48c;
}



/*** Navbar End ***/


/*** Feature ***/
.feature-item {
    transition: .5s;
}

.feature-item:hover {
    margin-top: -15px;
}



/*** About ***/
.progress {
    height: 5px;
}

.progress .progress-bar {
    width: 0px;
    transition: 3s;
}





/*** Carousel Start ***/

.carousel-item {
    position: relative;
}

.carousel-item::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .6);
}

.carousel-caption {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.carousel-item p {
    max-width: 700px;
    margin: 0 auto 35px auto;
}

.carousel-control-prev {
    width: 90px;
    height: 60px;
    position: absolute;
    top: 50%;
    left: 0;
    background: var(--bs-primary);
    border-radius: 0 50px 50px 0;
    opacity: 1;
}

.carousel-control-prev:hover {
    background: var(--bs-secondary);
    transition: .8s;
}

.carousel-control-next {
    width: 90px;
    height: 60px;
    position: absolute;
    top: 50%;
    right: 0;
    background: var(--bs-primary);
    border-radius: 50px 0 0 50px;
    opacity: 1;
}

.carousel-control-next:hover {
    background: var(--bs-secondary);
    transition: .8s;
}

.carousel-caption .carousel-content a button.carousel-content-btn1 {
    background: var(--bs-secondary);
    color: var(--bs-dark);
    opacity: 1;
    border: 0;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn1:hover {
    background: var(--bs-primary);
    color: #ffffff;
    border: 0;
    opacity: 1;
    transition: 1s;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn2 {
    background: var(--bs-primary);
    color: var(--bs-white);
    opacity: 1;
    border: 0;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn2:hover {
    background: var(--bs-secondary);
    color: var(--bs-dark);
    border: 0;
    opacity: 1;
    transition: 1s;
    border-radius: 20px;
}

#carouselId .carousel-indicators li {
    width: 30px;
    height: 10px;
    background: var(--bs-primary);
    margin: 10px;
    border-radius: 30px;
    opacity: 1;
}

#carouselId .carousel-indicators li:hover {
    background: var(--bs-secondary);
    opacity: 1;
}

@media (max-width: 992px) {
    .carousel-item {
        min-height: 500px;
    }
    
    .carousel-item img {
        min-height: 500px;
        object-fit: cover;
    }

    .carousel-item h1 {
        font-size: 40px !important;
    }

    .carousel-item p {
        font-size: 16px !important;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        min-height: 400px;
    }
    
    .carousel-item img {
        min-height: 400px;
        object-fit: cover;
    }

    .carousel-item h1 {
        font-size: 28px !important;
    }

    .carousel-item p {
        font-size: 14px !important;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-white);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--bs-white);
}

/*** Carousel End ***/



/* Container for responsive image */
.image-container {
    position: relative;
    overflow: hidden;
    display: inline-block;
    border-radius: 8px; /* Optional: For rounded corners */
    max-width: 100%; /* Ensures the container is responsive */
}

/* The image itself */
.image-container img {
    width: 100%; /* Makes the image responsive */
    height: auto;
    transition: transform 0.3s ease-in-out; /* Smooth zoom effect */
}

/* Zoom-in effect on hover */
.image-container:hover img {
    transform: scale(1.2); /* Scales the image by 20% */
}
@media (max-width: 768px) {
    .image-container img {
        transition: transform 0.5s ease-in-out; /* Slightly slower for smaller screens */
    }
    .image-container:hover img {
        transform: scale(1.1); /* Less zoom for smaller screens */
    }
}

@media (max-width: 768px) {
    .section-title h1 {
        font-size: 1.75rem; /* Adjust heading size for smaller screens */
    }
    video {
        min-height: 200px; /* Reduce video size for mobile */
    }
}


/*** Services Start ***/

.services .services-item {
    box-shadow: 0 0 60px rgba(0, 0, 0, .2);
    width: 100%;
    height: 100%;
    border-radius: 10px;
    padding: 10px 0;
    position: relative;
}


.services-content::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-radius: 10px 10px 0 0;
    background: rgba(74, 98, 218, 0.8);
    transition: .5s;
}

.services-content::after {
    top: 0;
    bottom: auto;
    border-radius: 10px 10px 10px 10px;
}

.services-item:hover .services-content::after {
    height: 100%;
    opacity: 1;
    transition: .5s;
}

.services-item:hover .services-content-icon {
    position: relative;
    z-index: 2;
}

.services-item .services-content-icon i,
.services-item .services-content-icon p {
    transition: .5s;
}

.services-item:hover .services-content-icon i {
    color: var(--bs-secondary) !important;
}

.services-item:hover .services-content-icon p {
    color: var(--bs-white);
}

/*** Services End ***/




/*** Project Start ***/

.project-img {
    position: relative;
    padding: 15px;
}

.project-img::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    top: 0;
    left: 0;
    background: var(--bs-secondary);
    border-radius: 10px;
    opacity: 1;
    z-index: -1;
    transition: .5s;
}

.project-img::after {
    content: "";
    width: 150px;
    height: 150px;
    position: absolute;
    right: 0;
    bottom: 0;
    background: var(--bs-primary);
    border-radius: 10px;
    opacity: 1;
    z-index: -1;
    transition: .5s;
}

.project-content {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.project-content a {
    display: inline-block;
    padding: 20px 25px;
    background: var(--bs-primary);
    border-radius: 10px;
}

.project-item:hover .project-content {
    opacity: 1;
    transition: .5s;
}

.project-item:hover .project-img::before,
.project-item:hover .project-img::after {
    opacity: 0;
}

/*** Project End ***/


  /**************************************/
/************ Portfolio CSS ***********/
/**************************************/
.portfolio {
    position: relative;
    padding: 90px 0 60px 0;
    background: #f2f2f2;
}

.portfolio .portfolio-item {
    margin-bottom: 30px;
    overflow: hidden;
}

.portfolio .portfolio-item .portfolio-img {
    position: relative;
    background: #000000;
    overflow: hidden;
    
}

.portfolio .portfolio-item .link-preview,
.portfolio .portfolio-item .link-details {
    position: absolute;
    display: inline-block;
    padding: 5px 0;
    line-height: 1;
    text-align: center;
    width: 45px;
    height: 35px;
    background: #4F84C4;
    border: 1px solid #ffffff;
    transition: 0.3s;
    opacity: 0;
}

.portfolio .portfolio-item .link-preview i,
.portfolio .portfolio-item .link-details i {
    font-size: 22px;
    color: #ffffff;
}

.portfolio .portfolio-item .link-preview:hover,
.portfolio .portfolio-item .link-details:hover {
    background: #ffffff;
    border: 1px solid #4F84C4;
}

.portfolio .portfolio-item .link-preview:hover i,
.portfolio .portfolio-item .link-details:hover i {
    color: #353535;
}

.portfolio .portfolio-item .link-preview {
    left: 0;
    top: calc(50% - 18px);
}

.portfolio .portfolio-item .link-details {
    right: 0;
    top: calc(50% - 18px);
}

.portfolio .portfolio-item:hover .link-preview {
    opacity: 1;
    left: calc(50% - 50px);
}

.portfolio .portfolio-item:hover .link-details {
    opacity: 1;
    right: calc(50% - 50px);
}

.portfolio .portfolio-item .portfolio-info {
    position: relative;
    width: 100%;
    padding: 30px 15px;
    text-align: center;
    background: #ffffff;
}

.portfolio .portfolio-item .portfolio-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.portfolio .portfolio-item .portfolio-info p {
    margin: 0;
    font-size: 14px;
    font-weight: 300;
    text-transform: uppercase;
}
/*** Project Portfolio ***/
#portfolio-flters .btn {
    position: relative;
    display: inline-block;
    margin: 10px 4px 0 4px;
    transition: .5s;
}

#portfolio-flters .btn::after {
    position: absolute;
    content: "";
    right: -1px;
    bottom: -1px;
    border-left: 20px solid transparent;
    border-right: 0 solid transparent;
    border-bottom: 50px solid #FFFFFF;
}

#portfolio-flters .btn:hover,
#portfolio-flters .btn.active {
    color: var(--light);
    background: #2124B1;
}
.portfolio-overlay {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 30px;
    top: 0;
    left: 0;
    background:  #4F84C4;
    transition: .5s;
    z-index: 1;
    opacity: 0;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item .btn {
    position: absolute;
    width: 90px;
    height: 90px;
    top: 0px;
    right: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(../img/icon-shape-white.png) center center no-repeat;
    border: none;
    transition: .5s;
    opacity: 0;
    z-index: 2;
}

.portfolio-item:hover .btn {
    opacity: 1;
    transition-delay: .15s;
}


  
  /* Footer Button */
  footer {
    text-align: center;
    margin: 2rem 0;
  }
  
  .more-btn {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .more-btn:hover {
    background-color: #0056b3;
  }
/*** Blog Start ***/
.blog-item .blog-btn {
    z-index: 2;
}

.blog-btn .blog-btn-icon {
    height: 50px;
    position: relative;
    overflow: hidden;
}

.blog-btn-icon .blog-icon-2 {
    display: flex;
    position: absolute;
    top: 6px;
    left: -140px;
    
}

.blog-btn-icon:hover .blog-icon-2 {
    transition: 1s;
    left: 5px;
    top: 6px;
    padding-bottom: 5px;
}
.blog-icon-1 {
    position: relative;
    top: -4px;
}
.blog-btn-icon:hover .blog-icon-1 {
    top: 0;
    right: -140px;
    transition: 1s;
}

/*** Blog End ***/




/*** Testimonial Start ***/

.testimonial-item {
    background: #e3f0eb;

}

.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #c1dad0;
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--bs-primary);
}

.testimonial-carousel .owl-item.center {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
    box-shadow: 0 0 30px #DDDDDD;
}

/*** Testimonial End ***/


/*** Contact Start ***/
.contact-detail::before {
    position: absolute;
    content: "";
    height: 50%;
    width: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(rgb(210, 243, 235, 1), rgba(230, 250, 245, .3)), url(../img/background.jpg) center center no-repeat;
    background-size: cover;
    border-radius: 10px;
    z-index: -1;
}

.contact-map {
    background:#0056b3;
}

.contact-form {
    background:#0056b3;
}
.button-container {
    text-align: center;
  }
  
  .send-button {
    background-color:#26d48c;
    color: black;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }
  
  .send-button:hover {
    background-color:white;
    color: #000000;
  }
  
  .send-button:active {
    transform: scale(0.95); /* Slight shrink effect on click */
  }
  
  .send-button:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(3, 43, 243, 0.8);;
  }
  .email-container {
    display: flex;
    flex-direction: column;
  }

  .email-link {
    word-wrap: break-word; /* Ensures the email wraps properly on smaller screens */
    font-size: 1rem; /* Adjust font size */
  }

  /* Responsive Styles */
  @media (max-width: 576px) {
    .email-container {
      text-align: center; /* Center align content on very small screens */
    }
    .email-link {
      font-size: 0.9rem; /* Slightly smaller font size for better spacing */
    }
  }

  @media (max-width: 768px) {
    .contact-map iframe {
      height: 200px;
    }
    .contact-form .form-control {
      font-size: 14px;
    }
    .send-button {
      width: 100%;
    }
  }

  @media (max-width: 576px) {
    .contact-detail .d-flex {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
    .contact-detail .ms-3 {
      margin-left: 0;
    }
  }

/*** Contact End ***/


/*** Footer Start ***/

.footer .short-link a,
.footer .help-link a
{
    transition: .5s;
}

.footer .short-link a:hover,
.footer .help-link a:hover
 {
    letter-spacing: 1px;
}

.footer .hightech-link a:hover {
    background: var(--bs-secondary);
    border: 0;
}
@media (max-width: 576px) {
    .address-line {
      font-size: 14px; /* Adjust size for mobile */
    }
  }
  
  @media (min-width: 577px) {
    .address-line {
      font-size: 16px; /* Adjust size for larger screens */
    }
  }
  

@media (max-width: 768px) {
    .mb-2 {
      margin-bottom: 1rem;
    }
    a {
      font-size: 14px;
      line-height: 1.6;
    }
  }
  
  @media (max-width: 576px) {
    a {
      font-size: 12px;
    }
  }
  
/*** Footer End ***/

/*** Project Portfolio ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
   border-bottom: none; /* Remove underline */
   text-decoration: none; /* Remove text decoration */
   box-shadow: none; /* Remove any shadow effect */
    }
.data-filters li {
    color: #f2f2f2;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--primary);
    border-color: var(--primary);
    
}

.portfolio-item img {
    transition: .5s;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item .portfolio-overlay {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background:  rgba(74, 98, 218, 0.8);;
    transition: .5s;
    opacity: 0;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}
@media (max-width: 768px) {
    .section-title h1 {
        font-size: 1.8rem;
    }

    .d-flex.align-items-center .rounded-circle {
        width: 50px;
        height: 50px;
    }

    .d-flex.align-items-center h5 {
        font-size: 1rem;
    }

    .form-control,
    .form-select {
        font-size: 0.9rem;
        height: 45px;
    }

    .btn-dark {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .section-title h1 {
        font-size: 1.5rem;
    }

    .d-flex.align-items-center .rounded-circle {
        width: 40px;
        height: 40px;
    }

    .form-control,
    .form-select {
        font-size: 0.8rem;
        height: 40px;
    }

    .btn-dark {
        font-size: 0.8rem;
    }
}

/* Hide buttons on mobile screens */
@media (max-width: 768px) {
    .carousel-content-btn1,
    .carousel-content-btn2 {
        display: none !important;
    }
    
    /* Adjust content positioning when on smaller screens */
    .carousel-caption {
        position: absolute;
        top: 40%; /* Adjust this value as needed */
        transform: translateY(-40%);
    }
    
    /* Optional: Adjust text size for better readability on mobile */
    .carousel-content h1 {
        font-size: 2rem; /* Adjust font size */
    }
    
    .carousel-content p {
        font-size: 1rem; /* Adjust font size */
    }
}

.slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  height: auto;
}

.slider {
  display: flex;
  gap: 100px;
  animation: scroll 10s linear infinite;
}

.slider img {
  width: 90px;
  height: auto;
  object-fit: contain;
}

/* Default animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive speed adjustments */
@media (max-width: 992px) {
    .slider {
      animation-duration: 8s; /* Faster speed for medium screens */
    }
  }
  
  @media (max-width: 768px) {
    .slider {
      animation-duration: 6s; /* Even faster for smaller screens */
    }
  }
  
  @media (max-width: 480px) {
    .slider {
      animation-duration: 5s; /* Fastest speed for very small screens */
    }
  }
  

  /* Clone logos to make seamless */
  .slider::after {
    content: "";
    display: inline-flex;
  }
  h1 {
    text-align: center;
  }
  

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    max-width: 2000px;
    margin: 0 auto;
}

.card {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    height: 120%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card {
    display: flex;
    justify-content: center;
    align-items: center;
}

.card img {
    width: 50px;
}


.card h3 {
    font-size: 1.2em;
    color: #333;
}

.card p {
    font-size: 0.9em;
    color: #666;
}

.left-align {
    text-align: left;
}