
.text-content{
  top: 50% !important;
  
}

/* Responsive for banner titles*/

/* 1920* 1080 size */
@media  (max-width:1920px) {
  .img-fill img {
    height: 950px;
  }
}

/* 1366* 768 size */
@media (min-width: 1024px) and (max-width:1366px) {
  .img-fill img {
    height: 630px;
  }
}

/* For screens between 992px and 1200px (Tablets and larger screens) */
@media (min-width: 768px) and (max-width: 1024) {
  
  .text-content{
    top: 70% !important;
  }

  .text-content h5{
    font-size: 39px !important;
  }

  .img-fill img {
    height: 30px;
  }

}

 /* ipad Air  tablate */
@media (min-width: 768px) and (max-width: 992px) {
  
  .text-content{
    top: 75% !important;    
  }

  .text-content h5{
    font-size: 32px !important;
  }

  .img-fill img {
    height: 450px;
  }

}

/* Ipad Min tablate */
@media (min-width: 576px) and (max-width: 768px) {

  .text-content{
    top: 50% !important;   
  }

  .text-content h5{
    font-size: 40px !important;
    
  }

  .img-fill img {
    height: 450px;
  }
}

/* For screens smaller than 576px (Mobile screens) */
@media (max-width: 575px) {
  
  .text-content{
    top: 45% !important;
    
  }

  .text-content h5{
    font-size: 20px !important;
    
  }

  .img-fill img {
    height: 350px;
    width: 100%;
  }

}





.logo-container {
  
  display:inline-grid; /* Side-by-side alignment for logos */
  grid-auto-flow: column;
  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 */
}

.logo img {
  width: 100%; /* Full width for images to ensure responsiveness */
  height: auto; /* Maintain the aspect ratio of images */
}


/* For Tablets (Between 768px and 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
  .logo-container {
    
    justify-content: center; /* Center logos for tablets */
  }

  .logo img {
    max-width: 150px; /* Slightly smaller logos */
  }
}


/* For Tablets (768px to 992px) */
@media (max-width: 992px) {
  .logo-container {
    margin-top: -20px;
    grid-auto-flow: row;
    width: 120px; /* Center the logos */
  }

  .logo {
    max-width: 100px !important; /* Make logos smaller */
    max-height: 40px !important;
  }

  .logo img {
    max-width: 100px !important; /* Make logos smaller */
    max-height: 40px !important;
  }

}

/* For Small Screens (576px to 768px) */
@media (max-width: 768px) {
  .logo-container {
    display: flex;
    flex-direction: column;
  }

  .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: left; 
    align-items: start; 
  }

  .logo img {
    height: 35px !important;
    width: 100 !important;
  }

}

#content3 {
  padding: 10px 0px 0px 0px;
  position: relative;
  z-index: 9;
  background-color: #000;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

#content3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../image/content/bg-3.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: blur(20px);
  /* Adjust the blur level */
  z-index: -1;
  /* Place the pseudo-element behind content */
  opacity: 0.7;
  /* Optional: Reduce opacity for a dimmed effect */
}


#content3 .section-heading {}

#content3 .container {
  display: flex;
  flex-direction: column;
  height: 1400px;
  justify-content: center;
  /* Centers horizontally */
  align-items: center;
  /* Centers vertically */
}

/* From Uiverse.io by Bodyhc */
#content3 .cards {
  display: flex;
  flex-wrap: wrap;
  /* Enable wrapping to create multiple rows */
  gap: 15px;
  /* Spacing between cards */
  /* margin-right: 20px; */
  justify-content: center;
  /* Centers the cards horizontally */
  text-align: center;
}

#content3 .cards .card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 10px;
  height: 200px;
  width: calc(50% - 15px);
  /* Each card takes half the row width minus the gap */
  border-radius: 10px;
  color: rgb(1, 1, 1);
  cursor: pointer;
  transition: 400ms;
  box-sizing: border-box;
  /* Includes padding and border in width/height calculations */
}

#content3 .cards .red {
  background-color: #ffffff;
}

#content3 .cards .white {
  background-color: #f8f8f8;
  color: black;
}

#content3 .cards .blue {
  background-color: #3b22c5;
}

/* #content3 .cards .card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  height: 200px;
  width: 300px;
  border-radius: 10px;
  color: rgb(1, 1, 1);
  cursor: pointer;
  transition: 400ms;
} */

#content3 .cards .card p.tip {
  font-size: 1em;
  font-weight: 700;
  color: #000;
}

#content3 .cards .card p.second-text {
  font-size: .7em;
  color: #000;
}

#content3 .cards .card:hover {
  transform: scale(1.1, 1.1);
}

#content3 .cards:hover>.card:not(:hover) {
  filter: blur(10px);
  transform: scale(0.9, 0.9);
}

#content3 .container .service-item-content3 img {

  width: 600px;
  height: 400px;
  border-radius: 10px;
  margin-bottom: 30px;
}

#content3 .content-heading h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-top: 20px;
  margin-bottom: 30px;
  color: #ffffff;
}

/* Slide button in the bottom-right corner */
.slide-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #f64e00;
  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: #ff8349;
}

/* 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: #f64e00;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
}

.slide-form button:hover {
  background-color: #af3a04;
}

.slide-button img {

  height: 25px;
  width: 25px;

}

/* Responsive design */
@media (max-width: 1200px) {

  /* Adjust card size and layout */
  #content3 .cards .card {
    width: calc(50% - 10px);
    height: auto;
    /* Allow height to adjust dynamically */
  }

  #content3 .container {
    height: auto;
    /* Adjust height for smaller screens */
  }

}

@media (max-width: 992px) {

  /* Adjust for tablets */
  #content3 .cards .card {
    width: calc(100% - 10px);
    /* Full width for each card */
  }
  #content3 .container .service-item-content3 img {
    max-height: 500px;
    width: 100%;
  }

  #contactUs .contact-row {
    flex-direction: column;
    /* Stack contact details and map */
  }

}

@media (max-width: 768px) {

  /* Adjust for small tablets and large phones */
  #content3 .cards {
    flex-direction: column;
    /* Stack cards */
  }
  #content3 .container .service-item-content3 img {
    max-height: 400px;
    width:100%;
  }

  .slide-button {
    bottom: 10px;
    right: 10px;
    /* Adjust button position */
    width: 40px;
    height: 40px;
    font-size: 20px;
    /* Reduce size for smaller screens */
  }

  .slide-form {
    width: 100%;
    /* Full width */
    right: -100%;
    /* Hide off-screen initially */
  }
}

@media (max-width: 576px) {

  /* Adjust for mobile screens */
  #content3 .content-heading h2 {
    font-size: 24px;
    /* Reduce heading size */
  }

  #content3 .container {
    padding: 15px;
    /* Adjust padding for mobile */
  }

  #content3 .container .service-item-content3 img {
    max-height: 300px;
  }

  .slide-button {
    width: 35px;
    height: 35px;
    font-size: 18px;
    /* Smaller button for mobile */
  }

}


/* service */

/* General styles for the service section */
#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;
    
  }
}




/* Content 4 */
#content4 {
  padding: 10px 0px 30px 0px;
  position: relative;
  z-index: 9;
  background-color: #000;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

#content4::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../image/content/bg-6.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: blur(20px);
  /* Adjust the blur level */
  z-index: -1;
  /* Place the pseudo-element behind content */
  opacity: 0.7;
  /* Optional: Reduce opacity for a dimmed effect */
}

#content4 .container {
  display: flex;
  justify-content: center;
  padding: 30px;
}

#content4 .container .service-item-content4 img {
  border-radius: 10px;
  height: 700px;
}

/* Media Queries for Responsiveness */
@media (max-width: 1200px) {
  #content4 {
    padding: 20px 0;
  }

  #content4 .container {
    padding: 20px;
  }

  #content4 .container .service-item-content4 img {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  #content4 {
    padding: 15px 0;
  }

  #content4 .container {
    flex-direction: column;
    /* Stack items vertically on smaller screens */
  }

  #content4 .container .service-item-content4 img {
    max-height: 400px;
    width: 100%;
    /* Allow the image to adjust to the container width */
  }
}

@media (max-width: 480px) {
  #content4 {
    padding: 10px 0;
  }

  #content4 .container .service-item-content4 img {
    max-height: 300px;
  }
}


/* Contact Us */

#contactUs {
  padding: 10px 0px 30px 0px;
  position: relative;
  z-index: 9;
  background-color: #000000;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

#contactUs::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../image/content/bg-8.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: blur(20px);
  /* Adjust the blur level */
  z-index: -1;
  /* Place the pseudo-element behind content */
  opacity: 0.7;
  /* Optional: Reduce opacity for a dimmed effect */
}

#contactUs .container {
  padding-top: 30px;
}

#contactUs .container .content-heading h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-top: 20px;
  margin-bottom: 30px;
  color: #ffffff;
}

#contactUs .contact-page {
  padding: 0px;
}

#contactUs .contact-container {
  max-width: 1200px;
  margin: 0 auto;
}

#contactUs .contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

#contactUs .contact-details {
  flex: 1;
  min-width: 300px;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#contactUs .contact-details h6 {
  font-size: 16px;
  color: #000000;
  margin-bottom: 10px;
}

#contactUs .contact-details h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #222;
}

#contactUs .contact-details p {
  font-family: sans-serif;
  font-size: 16px;
  margin: 5px 0;
  color: #000000;
}

#contactUs .contact-details .email-link {
  color: #007bff;
  text-decoration: none;
}

#contactUs .contact-details .email-link:hover {
  text-decoration: underline;
}

#contactUs .map-container {
  flex: 1;
  min-width: 700px;
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#contactUs .map-frame {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Responsive */

/* For screens between 992px and 1200px (Tablets and larger screens) */
@media (min-width: 992px) and (max-width: 1200px) {
  #contactUs .contact-row {
    gap: 15px; /* Adjust gap for a compact layout */
  }

  #contactUs .map-container {
    height: 350px; /* Reduce map height */
  }

  #contactUs .contact-details {
    padding: 15px; /* Adjust padding */
  }
}

/* For screens between 768px and 992px (Tablets and medium screens) */
@media (min-width: 768px) and (max-width: 992px) {
  #contactUs .contact-row {
    flex-direction: column; /* Stack content vertically */
    align-items: center; /* Center align items */
  }

  #contactUs .map-container {
    width: 100%; /* Full width for the map */
    height: 300px; /* Reduce map height */
  }

  #contactUs .contact-details {
    text-align: center; /* Center align text */
    min-width: unset; /* Remove minimum width */
    max-width: 600px; /* Limit width for better readability */
  }
}

/* For screens between 576px and 768px (Smaller tablets and large phones) */
@media (min-width: 576px) and (max-width: 768px) {
  #contactUs .video-container {
    margin-bottom: 15px;
  }

  #contactUs .contact-row {
    flex-direction: column; /* Stack vertically */
    /* align-items: center; */
  }

  #contactUs .contact-details {
    max-width: 500px; /* Reduce maximum width */
  }

  #contactUs .map-container {
    width: 100%; /* Full width for the map */
    height: 250px; /* Smaller height for map */
  }

  #contactUs .map-frame {
    width: 450px;
    height: 100%;
    border-radius: 10px;
  }

}

/* For screens smaller than 576px (Mobile screens) */
@media (max-width: 576px) {
  #contactUs {
    padding: 10px 15px; /* Reduce padding */
  }

  #contactUs .container .content-heading h2 {
    font-size: 24px; /* Smaller font size for heading */
  }

  #contactUs .video-container video {
    width: 100%; /* Full width for video */
    max-width: unset; /* Remove max width constraint */
    border-radius: 10px; /* Smaller border radius */
  }

  #contactUs .contact-row {
    flex-direction: column;
    gap: 10px; /* Reduce gap */
  }

  #contactUs .contact-details {
    padding: 10px; /* Reduce padding */
    max-width: 100%; /* Full width */
  }

  #contactUs .map-container {
    width: 100%; /* Full width */
    height: 200px; /* Smaller height */
  }

  #contactUs .contact-details h3 {
    font-size: 18px; /* Reduce font size */
  }

  #contactUs .contact-details p {
    font-size: 14px; /* Reduce font size for text */
  }

  #contactUs .map-frame {
    width: 300px;
    height: 100%;
    border-radius: 10px;
  }

}

/* For extra-large screens (above 1200px) */
@media (min-width: 1201px) {
  #contactUs .contact-container {
    max-width: 1400px; /* Increase container width for large screens */
  }

  #contactUs .map-container {
    height: 450px; /* Increase map height */
  }

  #contactUs .map-frame {
    width: 100%;
    height: 100%;
    border: 0;
  }
}





/* 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;
  }
}


