/********** Template CSS **********/

html {
  scroll-behavior: smooth;
}

:root {
  --primary: #005eb6;
  --secondary: #51CFED;
  --light: #F8F2F0;
  --dark: #060315;
}

.fw-medium {
  font-weight: 600 !important;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}


/*** 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 {
  font-weight: 600;
  transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
  color: #FFFFFF;
}

.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;
}

/*** Navbar ***/
.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
  position: relative;
  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) {
  .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,
.navbar-light a.btn {
  height: 75px;
}

.navbar-brand .logo-img {
  height: 55px;
  width: 100%;
  border-radius: 5px;
}

.navbar-light .navbar-nav .nav-link {
  color: var(--dark);
  font-weight: 500;
}

.navbar-light.sticky-top {
  top: -100px;
  transition: .5s;
}

@media (min-width: 992px) {
  .navbar-light .navbar-nav .nav-link::before {
    position: absolute;
    content: "";
    width: 0;
    height: 5px;
    top: -6px;
    left: 50%;
    background: #FFFFFF;
    transition: .5s;
  }

  .navbar-light .navbar-nav .nav-link:hover::before,
  .navbar-light .navbar-nav .nav-link.active::before {
    width: 100%;
    left: 0;
  }

  .navbar-light .navbar-nav .nav-link.nav-contact::before {
    display: none;
  }

  .navbar .nav-item .dropdown-menu {
    display: block;
    border: none;
    margin-top: 0;
    top: 150%;
    opacity: 0;
    visibility: hidden;
    transition: .5s;
  }

  .navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    visibility: visible;
    transition: .5s;
    opacity: 1;
  }
}


/*** Header ***/
@media (max-width: 768px) {
  .header-carousel .owl-carousel-item {
    position: relative;
    min-height: 500px;
  }

  .header-carousel .owl-carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .header-carousel .owl-carousel-item h5,
  .header-carousel .owl-carousel-item p {
    font-size: 14px !important;
    font-weight: 400 !important;
  }

  .header-carousel .owl-carousel-item h1 {
    font-size: 30px;
    font-weight: 600;
  }
}

.header-carousel .owl-nav {
  position: absolute;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
  margin: 7px 0;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  background: transparent;
  border: 1px solid #FFFFFF;
  border-radius: 45px;
  font-size: 22px;
  transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.page-header {
  background-color: #005eb6;
  background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
  color: var(--light);
}


/*** About ***/
@media (min-width: 992px) {
  .container.about {
    max-width: 100% !important;
  }

  .about-text {
    padding-right: calc(((100% - 960px) / 2) + .75rem);
  }
}

@media (min-width: 1200px) {
  .about-text {
    padding-right: calc(((100% - 1140px) / 2) + .75rem);
  }
}

@media (min-width: 1400px) {
  .about-text {
    padding-right: calc(((100% - 1320px) / 2) + .75rem);
  }
}


/*** Feature ***/
@media (min-width: 992px) {
  .container.feature {
    max-width: 100% !important;
  }

  .feature-text {
    padding-left: calc(((100% - 960px) / 2) + .75rem);
  }
}

@media (min-width: 1200px) {
  .feature-text {
    padding-left: calc(((100% - 1140px) / 2) + .75rem);
  }
}

@media (min-width: 1400px) {
  .feature-text {
    padding-left: calc(((100% - 1320px) / 2) + .75rem);
  }
}

/* Responsive Image Class */
.responsive-image {
  width: 50%;             /* Image takes up 100% of its container */
  height: auto;            /* Maintain aspect ratio */
  max-width: 100%;         /* Prevents it from growing beyond container width */
  border-radius: 15px;     /* Optional: Rounded corners */
  object-fit: cover;       /* Ensures the image covers the area without distortion */
  display: block;          /* Removes inline gaps caused by img elements */
  margin-top: 10px;        /* Optional: Adds space above the image */
  margin-left: auto; /* Add this */
    margin-right: auto;
}

/* Responsive Breakpoints (optional) */
@media (max-width: 768px) {
  .responsive-image {
    border-radius: 10px;  /* Smaller border radius on smaller screens */
  }
}

@media (max-width: 480px) {
  .responsive-image {
    margin-top: 5px;      /* Reduce top margin on smaller screens */
  }
}



/*** Service, Price & Team ***/
.service-item,
.price-item,
.team-item {
  box-shadow: 0 0 45px rgba(0, 0, 0, .07);
  border-radius: 10px;
  /* Adjust as desired */
  overflow: hidden;
  /* Ensures the content inside follows the border radius */
}

.service-item img,
.team-item img {
  transition: .5s;
}

.service-item:hover img,
.team-item:hover img {
  transform: scale(1.1);
}

.img-fluid {
  border-radius: 10px;
  /* Optional: adds rounding to the image */
}

@media  (max-width:1920px) {
  .banner {
    height: 950px;
  }
}

@media (min-width: 1024px) and (max-width:1366px) {
  .banner {
    height: 630px;
  }
}

/* For Tablets (768px to 1199px) */
@media (max-width: 1199px) {
  .banner {
    height: 630px;
  }
}

/* For Tablets (768px to 992px) */
@media (max-width: 992px) {
  .banner {
    height: 630px;
  }
}

/* For Small Screens (576px to 768px) */
@media (max-width: 768px) {
  .banner {
    height: 630px;
  }
}

/* For Mobile Screens (Less than 576px) */
@media (max-width: 576px) {
    .banner {
    height: 630px;
  }
}



.service-item a.btn-slide,
.price-item a.btn-slide,
.team-item div.btn-slide {
  position: relative;
  display: inline-block;
  overflow: hidden;
  font-size: 0;
}

.service-item a.btn-slide i,
.service-item a.btn-slide span,
.price-item a.btn-slide i,
.price-item a.btn-slide span,
.team-item div.btn-slide i,
.team-item div.btn-slide span {
  position: relative;
  height: 40px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  color: #FFFFFF;
  background: var(--primary);
  border-radius: 0 35px 35px 0;
  transition: .5s;
  z-index: 2;
}

.team-item div.btn-slide span a i {
  padding: 0 10px;
}

.team-item div.btn-slide span a:hover i {
  background: var(--secondary);
}

.service-item a.btn-slide span,
.price-item a.btn-slide span,
.team-item div.btn-slide span {
  padding-left: 0;
  left: -100%;
  z-index: 1;
}

.service-item:hover a.btn-slide i,
.price-item:hover a.btn-slide i,
.team-item:hover div.btn-slide i {
  border-radius: 0;
}

.service-item:hover a.btn-slide span,
.price-item:hover a.btn-slide span,
.team-item:hover div.btn-slide span {
  left: 0;
}

.service-item a.btn-slide:hover i,
.service-item a.btn-slide:hover span,
.price-item a.btn-slide:hover i,
.price-item a.btn-slide:hover span {
  background: var(--secondary);
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item {
  position: relative;
  transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
  box-shadow: 0 0 45px rgba(0, 0, 0, .08);
  animation: pulse 1s ease-out .5s;
}

.testimonial-carousel .owl-dots {
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 15px;
  height: 15px;
  background: var(--primary);
  border: 5px solid var(--light);
  border-radius: 15px;
  transition: .5s;
}

.testimonial-carousel .owl-dot.active {
  background: var(--light);
  border-color: var(--primary);
}


/*** Contact ***/
@media (min-width: 992px) {
  .container.contact-page {
    max-width: 100% !important;
  }

  .contact-page .contact-form {
    padding-left: calc(((100% - 960px) / 2) + .75rem);
  }
}

@media (min-width: 1200px) {
  .contact-page .contact-form {
    padding-left: calc(((100% - 1140px) / 2) + .75rem);
  }
}

@media (min-width: 1400px) {
  .contact-page .contact-form {
    padding-left: calc(((100% - 1320px) / 2) + .75rem);
  }
}


/*** Footer ***/
.footer {
  background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url(../img/map.png) center center no-repeat;
  background-size: cover;
}

.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 #FFFFFF;
  border-radius: 35px;
  transition: .3s;
}

.footer .btn.btn-social:hover {
  color: var(--primary);
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: #FFFFFF;
  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 .copyright {
  padding: 25px 0;
  font-size: 15px;
  border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
  color: var(--light);
}

.rounded {
  border-radius: 10px;
  /* Adjust the value as needed */
}

.custom-demo-btn {
  background-color: #dc3545;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-align: center;
  display: inline-block;
  text-decoration: none;
  height: 50px !important;
}

.custom-demo-btn:hover {
  background-color: #992a35;
  /* Slightly darker red on hover */
}

/* Slide button in the bottom-right corner */
.slide-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #dc3545;
  color: white;
  font-size: 24px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s;
}

.slide-button:hover {
  background-color: #0056b3;
}

/* Sliding form */
.slide-form {
  position: fixed;
  bottom: 10px;
  right: -400px;
  /* Start hidden off-screen */
  width: 400px;
  height: 55%;
  border-radius: 10px;
  background-color: #f9f9f9;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
  transition: right 0.5s ease;
  /* Slide animation */
  z-index: 999;
  padding: 20px;
}

.form-content {
  padding: 5px;
}

.slide-form h3 {
  margin-bottom: 10px;
}

.slide-form label {
  display: block;
  margin-top: 5px;
  font-weight: bold;
  font-size: 14px;
}

.slide-form input,
.slide-form textarea {
  width: 100%;
  padding: 5px;
  margin: 5px 0 0px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.slide-form button {
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
}

.slide-form button:hover {
  background-color: #0056b3;
}

.slide-button img {

  height: 25px;
  width: 25px;

}

.container-xxl .container .wow.fadeInLeft {
  text-align: center;

}

.column {
  flex: 1;
  /* Each column takes equal space */
  display: flex;
  height: 300px;
  flex-direction: column;
  gap: 10px;
  /* Space between cards in each column */
}

.logo-container {
  
  display:contents; /* Side-by-side alignment for logos */
  justify-content: flex-start; /* Align logos to the left */
  align-items: center;
  
}

.logo {
  max-width: 200px; /* Restrict maximum width for the logos */
  flex: 1 1 auto; /* Flex property to allow logos to resize */
  margin-left: 10px;
}

.logo img {
  width: 100%; /* Full width for images to ensure responsiveness */
  height: auto; /* Maintain the aspect ratio of images */
}

@media (min-width: 1200px) {
  .logo-container {
    justify-content: space-between; /* Spread logos out evenly */
     /* Add padding to create space around logos */
  }

  .logo img {
    max-width: 250px; /* Allow larger logo sizes on bigger screens */
  }
}

/* For Tablets (768px to 1199px) */
@media (max-width: 1199px) {
  .logo-container {
    display: flex;
    flex-direction: column; /* Side-by-side for medium screens */
    justify-content: center; /* Center the logos */
    justify-content: center; /* Center the logos */
  }

  .logo img {
    max-width: 150px !important; /* Make logos smaller for tablets */
    max-height: 30px !important;
  }
}

/* For Tablets (768px to 992px) */
@media (max-width: 992px) {
  .logo-container {
    justify-content: center; /* Center the logos */
  }

  .logo img {
    max-width: 120px !important; /* Make logos smaller */
    max-height: 40px !important;
  }

}

/* For Small Screens (576px to 768px) */
@media (max-width: 768px) {
  .logo-container {
    flex-direction: row; /* Side-by-side for medium screens */
    justify-content: center; /* Center the logos */
  }

  .logo img {
    max-width: 100px; /* Reduce logo size for tablets */
  }
}

/* For Mobile Screens (Less than 576px) */
@media (max-width: 576px) {
  .logo-container {
    flex-direction: column; /* Stack logos on smaller screens */
    justify-content: center; 
    align-items: center; 
  }

  .logo img {
    height: 35px !important;
    width: 100 !important;
  }

}

.feature-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  /* Space between boxes */
  margin-top: 20px;
  position: relative;
  /* Ensure the container establishes a stacking context */
}

.feature-card {
  display: block;
  height: 50px;
  background-color: #ffffff;
  /* Blue color for the boxes */
  color: rgb(0, 0, 0);
  padding: 10px 15px;
  border-radius: 8px;
  /* Rounded corners */
  font-size: 14px;
  font-weight: bold;
  /* Ensure bold font */
  text-align: center;
  flex: 1 1 calc(25% - 20px);
  /* Adjust box size; 4 per row on average */
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  min-width: 150px;
  /* Ensure a minimum width */
  position: relative;
  /* Required for z-index to work on hover */
  transition: all 0.3s ease;
  /* Smooth height and shadow changes */
  z-index: 1;
  /* Default stacking order */
  
}

/* .feature-card p {
  display: none;
} */

.feature-card p {
  display: none;
  margin: 10px 0;
  opacity: 0;
  /* Initially invisible */
  transition: opacity 0.3s ease;
  /* Smooth fade-in */
}

.feature-card:hover {
  z-index: 10;
  box-shadow: 0 5px 15px rgba(0, 119, 255, 0.589);
  background-color: #0060ce;
  color: #FFFFFF;
  /* Enhance shadow on hover */
  height: 300px;
  /* Increase height instead of scaling */
  transform: none;
  /* Disable scaling to avoid text stretch */
  transition: all 1.5s ease;
  /* Smooth animation */
}




.feature-card:hover h6,
.feature-card:hover p {
  display: block;
  color: #FFFFFF;
  /* Show the text on hover */
  opacity: 1;
  /* Fade in */
}


.align-right {
  right: 0;
}

.text-right {
  text-align: right;
}

/* Popup Modal Background */
/* Popup Modal Background */
.popup-modal {
  display: none;                      /* Hidden by default */
  position: fixed;                    /* Fixed position */
  z-index: 1000;                      /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;                        /* Fullscreen width */
  height: 100%;                       /* Fullscreen height */
  overflow: auto;                    /* Enable scroll if content overflows */
  background-color: rgba(0, 0, 0, 0.7); /* Black background with opacity */
  transition: all 0.3s ease-in-out;   /* Smooth transition for opening */
}

/* Popup Content */
.popup-content {
  background-color: #fff;
  margin: 5% auto;                    /* Center the popup vertically */
  padding: 20px;                      /* Padding inside the content */
  border: 1px solid #888;             /* Border around the modal */
  width: 50%;                         /* Width of the modal */
  max-width: 600px;                   /* Maximum width */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  border-radius: 8px;                 /* Rounded corners */
  transition: all 0.3s ease-in-out;   /* Smooth opening effect */
  position: relative;                 /* For better control of child elements */
}

@media (max-width: 1200px) {
  .popup-content {
    width: 70%;  
    margin-top: 10%;                     /* 70% width on large tablets/laptops */
  }
}

@media (max-width: 992px) {
  .popup-content {
    width: 80%;                       /* 80% width on medium tablets */
    padding: 20px;  
    margin-top: 10%;                     /* Maintain padding for better readability */
  }
}

@media (max-width: 768px) {
  .popup-content {
    width: 90%;                       /* 90% width on small tablets */
    padding: 15px;       
    margin-top: 15%;                /* Reduce padding on small screens */
  }
}

@media (max-width: 576px) {
  .popup-content {
    width: 95%;                       /* Full width on mobile */
    max-width: 95%;                   /* Remove the max-width constraint */
    padding: 10px;                    /* Reduce padding for mobile */
    margin: 20% auto;                 /* Space from the top */
  }
}

@media (max-width: 480px) {
  .popup-content {
    width: 100%;                      /* 100% width on small mobile screens */
    padding: 10px;                    /* Minimal padding */
    margin: 25% auto;                 /* Center vertically */
  }
}

/* Close Button */
.close-button {
  color: #aaa;
  position: absolute;                /* Positioned relative to parent */
  top: 15px;                         /* Space from top */
  right: 15px;                       /* Space from right */
  font-size: 28px;                   /* Large font size */
  font-weight: bold;
  cursor: pointer;                   /* Pointer cursor on hover */
}

.close-button:hover,
.close-button:focus {
  color: black;
  text-decoration: none;
}

@media (max-width: 768px) {
  .close-button {
    font-size: 24px;                  /* Reduce font size on tablets */
  }
}

@media (max-width: 480px) {
  .close-button {
    font-size: 20px;                  /* Smaller close button on small devices */
  }
}

/* Text Styles */
.popup-content h2 {
  font-size: 24px;
  margin-bottom: 15px;
  text-align: center;
}

@media (max-width: 576px) {
  .popup-content h2 {
    font-size: 20px;                  /* Reduce font size on small devices */
  }
}

.popup-content p {
  font-size: 16px;
  line-height: 1.5;
}

@media (max-width: 576px) {
  .popup-content p {
    font-size: 14px;                  /* Smaller font size for small devices */
  }
}


/* Popup Modal1 Background */
.popup-modal1 {
  display: none;
  /* Hidden by default */
  position: fixed;
  z-index: 1000;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.7);
  /* Black background with opacity */
}

/* Popup Content */
.popup-content1 {
  background-color: #fff;
  margin: 5% auto;
  /* Center the popup */
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  border-radius: 8px;
}

/* Close Button */
.close-button1 {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close-button1:hover,
.close-button1:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

@media (max-width: 1200px) {
  .popup-content1 {
    width: 70%;  
    margin-top: 10%;                     /* 70% width on large tablets/laptops */
  }
}

@media (max-width: 992px) {
  .popup-content1 {
    width: 80%;                       /* 80% width on medium tablets */
    padding: 20px;  
    margin-top: 10%;                     /* Maintain padding for better readability */
  }
}

@media (max-width: 768px) {
  .popup-content1 {
    width: 90%;                       /* 90% width on small tablets */
    padding: 15px;       
    margin-top: 15%;                /* Reduce padding on small screens */
  }
}

@media (max-width: 576px) {
  .popup-content1 {
    width: 95%;                       /* Full width on mobile */
    max-width: 95%;                   /* Remove the max-width constraint */
    padding: 10px;                    /* Reduce padding for mobile */
    margin: 20% auto;                 /* Space from the top */
  }
}

@media (max-width: 480px) {
  .popup-content1 {
    width: 100%;                      /* 100% width on small mobile screens */
    padding: 10px;                    /* Minimal padding */
    margin: 25% auto;                 /* Center vertically */
  }
}


/* Sub Sub Sub Sub Sub Sub Sub Content Start */

/* Flex/Grid Layout for Cards */
.hardware-grid {
  display: flex;
  flex-wrap: wrap; 
  gap: 20px; 
  justify-content: center;
}

.hardware-card {
  flex: 1 1 calc(33.333% - 20px); 
  max-width: calc(33.333% - 20px);
  height: 315px;
  padding: 15px;
  text-align: center;
  border-radius: 15px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  transition: all 0.3s ease-in-out;
}

.hardware-card:hover {
  border-radius: 15px;
  cursor: pointer;
  transform: scale(1.0);
  box-shadow: 0 5px 15px rgba(0, 119, 255, 0.589);
  background-color: #0060ce;
}

.hardware-card .hardware-content1{
  height: 100%;
  width: 100%;
  transition: all 0.4s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 1;
  border-radius: 15px;
}

.hardware-card:hover .hardware-content1 {
  height: 0px;
  opacity: 0;
}

.hardware-card .hardware-content2{
  height: 0%;
  width: 100%;
  opacity: 0;
  justify-content: center;
  align-items: center;
  display: none;
  border-radius: 15px;
  transition: all 0.4s;
  font-size: 0px;
  transform: rotate(90deg) scale(-1);
}

.hardware-card .hardware-content2 h4{
  color: #fff;
}

.hardware-card .hardware-content2 p{
  font-size: 18px;
  color: #fff;
}

.hardware-card:hover .hardware-content2 {
  opacity: 1;
  height: 100%;
  font-size: 1.8rem;
  transform: rotate(0deg);
  display: flex;
  flex-direction: column;
}

.image-container {
  overflow: hidden;
  border-radius: 15px;
  margin-top: 10px;
}

.image-container img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 15px;
}


@media (max-width: 992px) {
  .hardware-card {
    flex: 1 1 calc(50% - 20px); 
    max-width: calc(50% - 20px); 
  }

  .hardware-content2 p {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .hardware-card {
    flex: 1 1 100%; 
    max-width: 100%; 
    height: 260px; 
  }

  .image-container img {
    height: 180px; 
  }

  .hardware-content2 p {
    font-size: 15px;
  }
}

@media (max-width: 576px) {
  .hardware-card {
    height: 240px;
  }

  .hardware-content1 h4, .hardware-content2 h4 {
    font-size: 16px;
  }

  .hardware-content2 p {
    font-size: 14px;
  }

  .image-container img {
    height: 140px;
  }
}




/* Other services */

.service-image {
  /* Adjust this value as needed */
  width: auto;
  height: auto;
  margin: 0 auto;
  /* Center the image horizontally */
}



#service {
  padding: 10px 0px 30px 0px;
  position: relative;
  z-index: 9;
  background-color: #000000;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

#service::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../image/content/bg-5.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: blur(20px);
  z-index: -1;
  opacity: 0.7;
}

#service .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#service .container-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  /* Ensures wrapping on smaller screens */
  gap: 20px;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
}

#service .content-heading h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-top: 20px;
  margin-bottom: 0px;
  color: #ffffff;
}

#service .flip-card {
  background-color: transparent;
  width: 254px;
  height: 254px;
  perspective: 1000px;
  font-family: sans-serif;
}

#service .flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

#service .flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

#service .flip-card-front,
#service .flip-card-back {
  box-shadow: 0 8px 14px 0 rgba(0, 0, 0, 0.2);
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border: 1px solid coral;
  border-radius: 1rem;
}

#service .flip-card-front img {
  border-radius: 15px;
}

#service .flip-card-back .flip-card-back-link {
  display: flex;
  padding-top: 20px;
  flex-direction: row;
  justify-content: center;
  gap: 40px;
}

#service .flip-card-back .flip-card-back-link img {
  height: 25px;
  width: 25px;
  cursor: pointer;
}

#service .flip-card-front {
  background: #ffffff;
}

#service .flip-card-back {
  background: #ffffff;
  transform: rotateY(180deg);
}

#service .flip-card-back p {
  color: #000;
}

/* Responsive */

/* For screens between 992px and 1200px (Tablets and larger screens) */
@media (min-width: 992px) and (max-width: 1200px) {
  #service .container-card {
    flex-wrap: wrap;
    padding-left: 120px;
    padding-right: 120px;
    /* Ensure cards wrap neatly */
  }

  #service .flip-card {
    width: 220px;
    /* Slightly reduce width */
    height: 220px;
    /* Adjust height proportionally */
  }
}

/* For screens between 768px and 992px (Tablets and medium screens) */
@media (min-width: 768px) and (max-width: 992px) {
  #service .container-card {
    justify-content: center;
    padding-left: 60px;
    padding-right: 60px;
  }

  #service .flip-card {
    width: 200px;
    /* Further reduce width */
    height: 200px;
  }
}

/* For screens between 576px and 768px (Smaller tablets and large phones) */
@media (min-width: 576px) and (max-width: 768px) {
  #service .flip-card {
    width: 180px;
    height: 180px;
  }

  #service .container {
    padding: 15px;
  }

  #service .container-card {
    justify-content: center;
    padding-left: 60px;
    padding-right: 60px;
  }

  #service .content-heading h2 {
    font-size: 28px;
  }
}

/* For screens smaller than 576px (Mobile screens) */
@media (max-width: 576px) {
  #service .flip-card {
    width: 100%;
    /* Take full width */
    height: 150px;
    width: 150px;
    /* Maintain aspect ratio */
  }

  #service .content-heading h2 {
    font-size: 24px;
  }

  #service .container-card {
    flex-direction: column;
    /* Stack cards vertically */
    gap: 15px;
    /* Add space between stacked cards */
  }
}

/* For extra-large screens (above 1200px) */
@media (min-width: 1201px) {
  #service .flip-card {
    width: 254px;
    height: 254px;
  }

  #service .container-card {
    gap: 20px;
    
  }
}


.container-contactus {
  position: relative;
  background-color: #ffffff;
  transition: all 1.5s ease; /* Ensure smooth transition when entering and exiting hover */
  background-size: auto 200px;
  background-position: top;
  background-repeat: no-repeat;
  padding: 50px;
  color: #fff;
  height: auto; /* Container height adapts to content */
  
}


.container-contactus:hover {
  position: relative;
  background-color: #005eb6;
  background-image: url(/img/logos/Ingroinfo\ Software\ Solutions.png);
  transition: all 1.5s ease;
  background-size: auto 200px;
  background-position: top;
  background-repeat: no-repeat;
  padding: 50px;
  color: #fff;
  height: auto; /* Container height adapts to content */
  
}

.container-contactus:hover .contact-us-head {
  visibility: hidden; /* Makes the element invisible but keeps its space */
  opacity: 0;
  transition: opacity 0.3s ease;
  
}

.container-contactus:hover .contact-us-p-color {
  transition: all 1.5s ease;
  color: #fff;
}

/* Footer Styles */
#footer {
  padding: 30px 0;
  color: #ffffff;
  background-color: #212529;
}

#footer .container1 {
  width: 100%;
  align-items: center;
  padding-right: 30px;
  padding-left: 30px;
  margin-right: auto;
  margin-left: auto
}

#footer h6 {
  font-size: 32px;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: bold;
}

#footer p {
  font-size: 16px;
  line-height: 1.8;
  color: #fff;
}

#footer .about-link-foot {
  font-size: 20px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

#footer .about-link-foot:hover {
  color: #007bff;
}

#footer .list-xxs {
  list-style: none;
  padding: 0;
}

#footer .list-xxs li {
  margin-bottom: 10px;
}

#footer .nav-link {
  color: #ffffff;
  font-size: 16px;
  text-decoration: none;
  transition: color 0.3s ease;
}

#footer .nav-link:hover {
  color: #007bff;
}

.row1 {
  /* display: -ms-flexbox; */
  display: flex;
  /* -ms-flex-wrap: wrap;
    flex-wrap: wrap; */
  margin-right: -15px;
  margin-left: -15px
}

/* Responsive */

/* For screens between 992px and 1200px (Tablets and larger screens) */
@media (min-width: 992px) and (max-width: 1200px) {
  #footer .row1 {
    gap: 15px; /* Add some spacing between columns */
  }

  #footer .col-md-6 {
    flex: 1; /* Adjust flex for equal spacing */
  }

  #footer img {
    height: 100px; /* Reduce logo size */
    width: 100px;
  }
}

/* For screens between 768px and 992px (Tablets and medium screens) */
@media (min-width: 768px) and (max-width: 992px) {
  #footer .row1 {
    flex-wrap: wrap; /* Wrap columns vertically */
    text-align: center; /* Center align content */
  }

  #footer img {
    height: 100px; /* Further reduce logo size */
    width: 100px;
    margin: 0 auto; /* Center align logo */
  }

  #footer .col-md-6, 
  #footer .col-lg-2, 
  #footer .col-lg-4 {
    flex: 1 1 100%; /* Full width for all columns */
  }
}

/* For screens between 576px and 768px (Smaller tablets and large phones) */
@media (min-width: 576px) and (max-width: 768px) {
  #footer .row1 {
    flex-direction: column; /* Stack columns */
    align-items: center;
  }

  #footer img {
    height: 100px; /* Adjust logo size */
    width: 100px;
  }

  #footer .list-xxs li {
    font-size: 14px; /* Smaller font size for list items */
  }

  #footer .col-md-6, 
  #footer .col-lg-2, 
  #footer .col-lg-4 {
    margin-bottom: 20px; /* Add spacing between stacked sections */
  }
}

/* For screens smaller than 576px (Mobile screens) */
@media (max-width: 576px) {
  #footer {
    padding: 20px 10px; /* Reduce padding for mobile */
  }

  #footer h6 {
    font-size: 20px; /* Smaller heading size */
    margin-bottom: 10px;
  }

  #footer img {
    height: 80px; /* Further reduce logo size */
    width: 80px;
  }

  #footer p {
    font-size: 14px; /* Reduce font size */
  }

  #footer .list-xxs li {
    font-size: 12px; /* Reduce font size for list items */
  }

  #footer .row1 {
    flex-direction: column; /* Stack items */
    gap: 10px; /* Add spacing between sections */
  }
}

/* For extra-large screens (above 1200px) */
@media (min-width: 1201px) {
  #footer .container1 {
    max-width: 1400px; /* Increase container width */
  }

  #footer img {
    height: 100px; /* Restore large logo size */
    width: 100px;
  }
}

/* Module */

/* General Styles */
#modules {
  padding: 40px 0px 100px 0px;
}

#modules .section-heading h2 {
  font-size: 2rem;
}

#modules .card {
  position: relative;
  width: 100%; /* Full width for responsive design */
  max-width: 400px; 
  height: 300px;
  border-radius: 14px;
  z-index: 9;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 20px 20px 60px #bebebe, -20px -20px 60px #ffffff;
}

#modules .bg {
  position: absolute;
  top: 5px;
  left: 5px;
  width: calc(100% - 10px); 
  height: calc(100% - 10px); 
  z-index: 2;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(24px);
  border-radius: 10px;
  overflow: hidden;
  outline: 2px solid white;
  padding: 10px;
  text-align: center;
}

#modules .blob {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 250px;
  height: 350px;
  border-radius: 50%;
  background-color: #00f7ff;
  opacity: 1;
  filter: blur(12px);
  animation: blob-bounce 5s infinite ease;
}

@keyframes blob-bounce {
  0% {
    transform: translate(-100%, -100%) translate3d(0, 0, 0);
  }
  25% {
    transform: translate(-100%, -100%) translate3d(100%, 0, 0);
  }
  50% {
    transform: translate(-100%, -100%) translate3d(100%, 100%, 0);
  }
  75% {
    transform: translate(-100%, -100%) translate3d(0, 100%, 0);
  }
  100% {
    transform: translate(-100%, -100%) translate3d(0, 0, 0);
  }
}

#modules .center-column {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

#modules img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 15px;
}

#modules h5 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #333333;
  margin-bottom: 10px;
  text-align: center;
}

#modules p {
  font-size: 0.8rem;
  color: #666666;
}

/* Responsive Design for Tablets (768px to 992px) */
@media (max-width: 992px) {
  #modules {
    padding: 30px 0px 60px 0px;
  }

  #modules .card {
    height: 250px; /* Reduce height for smaller devices */
  }

  #modules .bg {
    width: calc(100% - 10px); 
    height: calc(100% - 10px); 
  }

  #modules .blob {
    width: 180px;
    height: 180px;
    filter: blur(10px);
  }

  #modules img {
    height: 170px;
  }

  #modules h5 {
    font-size: 1.1rem;
  }

  #modules p {
    font-size: 0.75rem;
  }
}

/* Responsive Design for Mobile Screens (576px to 768px) */
@media (max-width: 768px) {
  #modules .row-50 {
    flex-direction: column;
  }

  #modules .card {
    height: 220px;
    max-width: 100%; 
    margin-bottom: 40px;
  }

  #modules img {
    height: 150px;
  }

  #modules h5 {
    font-size: 1rem;
  }

  #modules .blob {
    width: 140px;
    height: 140px;
  }
}

/* Responsive Design for Mobile Screens (Less than 576px) */
@media (max-width: 576px) {
  #modules {
    padding: 20px 0px 50px 0px;
  }

  #modules .section-heading h2 {
    font-size: 1.5rem;
  }

  #modules .row-50 {
    flex-direction: column;
  }

  #modules .card {
    height: 200px;
    max-width: 100%;
    margin-bottom: 40px;
  }

  #modules .bg {
    width: calc(100% - 8px); 
    height: calc(100% - 8px); 
  }

  #modules img {
    height: 120px;
  }

  #modules h5 {
    font-size: 0.9rem;
  }

  #modules p {
    font-size: 0.7rem;
  }

  #modules .blob {
    width: 120px;
    height: 120px;
  }
}
