/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Bai+Jamjuree:wght@400;500;600&display=swap");


/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 2.5rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --black-color: #262626;
  --black-color-light: hsl(220, 24%, 15%);
  --black-color-lighten: hsl(220, 20%, 18%);
  --white-color: #fff;
  --body-color: hsl(220, 100%, 97%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Montserrat", sans-serif;
  --normal-font-size: .938rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;

  /* ------cards---------------- */
  --first-color: hsl(38, 92%, 58%);
  --first-color-light: hsl(38, 100%, 78%);
  --first-color-alt: hsl(32, 75%, 50%);
  --second-color: hsl(195, 75%, 52%);
  --dark-color: hsl(212, 40%, 12%);
  --white-color: hsl(212, 4%, 95%);
  --container-color: hsl(212, 42%, 20%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Bai Jamjuree", sans-serif;
  --h2-font-size: 1.25rem;
  --normal-font-size: 1rem;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1024px) {
  :root {
    --normal-font-size: 1rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
}

ul {
  list-style: none;
  /* Color highlighting when pressed on mobile devices */
  /*-webkit-tap-highlight-color: transparent;*/
}

a {
  text-decoration: none;
}

.container-fluid{

  margin-inline: 1.5rem;
  background-color: #a0a0a032;
  border-radius: 10px;
}
/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1200px;
  margin-inline: 1.5rem;
  padding-top: 20px;
}

/*=============== HEADER ===============*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--black-color);
  /* box-shadow: 0 2px 16px hsla(220, 32%, 8%, .3); */
  z-index: var(--z-fixed);
}

/*=============== NAV ===============*/
.nav {
  height: var(--header-height);
}

.nav__logo, 
.nav__burger, 
.nav__close {
  color: var(--white-color);
}

.nav__data {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  column-gap: .25rem;
  font-weight: var(--font-semi-bold);
  /* Color highlighting when pressed on mobile devices */
  /*-webkit-tap-highlight-color: transparent;*/
}

.nav__logo i {
  font-weight: initial;
  font-size: 1.25rem;
}

.nav__toggle {

  position: absolute;
  right: 1rem; /* Adjust the left position as needed */
  top: 50%; /* Vertically center the toggle */
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
}

.nav__burger, 
.nav__close {
  position: absolute;
  width: max-content;
  height: max-content;
  inset: 0;
  margin: auto;
  font-size: 1.25rem;
  cursor: pointer;
  transition: opacity .1s, transform .4s;
}

.nav__close {
  opacity: 0;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1118px) {
  .nav__menu {
    position: absolute;
    left: 0;
    top: 2.5rem;
    margin-top: -17px;
    width: 100%;
    height: calc(90vh - 2.5rem);
    overflow: auto;
    pointer-events: none;
    opacity: 0;
    transition: top .4s, opacity .3s;
  }
  .nav__menu::-webkit-scrollbar {
    width: 0;
  }
  .nav__list {
    background-color: var(--black-color);
    padding-top: 2rem;
  }
}

.nav__link {
  color: var(--white-color);
  background-color: var(--black-color);
  font-weight: var(--font-semi-bold);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color .3s;
}
.nav__linkcon{
  color: var(--white-color);
  background-color: #009ADD;
  font-weight: var(--font-semi-bold);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: auto;
  height: 4.5rem;
}

.nav__link:hover {
  background-color: var(--black-color-light);
  color: #009ADD;
  transition: .3s;
}

/* Show menu */
.show-menu {
  opacity: 1;
  top: 3.5rem;
  pointer-events: initial;
}

/* Show icon */
.show-icon .nav__burger {
  opacity: 0;
  transform: rotate(90deg);
}
.show-icon .nav__close {
  opacity: 1;
  transform: rotate(90deg);
}

/*=============== DROPDOWN ===============*/
.dropdown__item {
  cursor: pointer;
}

.dropdown__arrow {
  font-size: 1.25rem;
  font-weight: initial;
  transition: transform .4s;
}

.dropdown__link, 
.dropdown__sublink {
  padding: 1.25rem 1.25rem 1.25rem 2.5rem;
  color: var(--black-color);
  background-color: white;
  display: flex;
  align-items: center;
  column-gap: .5rem;
  font-weight: var(--font-semi-bold);
  transition: background-color .3s;
}

.dropdown__link i, 
.dropdown__sublink i {
  font-size: 1.25rem;
  font-weight: initial;
}

.dropdown__link:hover, 
.dropdown__sublink:hover {
  background-color: rgb(218, 215, 215);
}

.dropdown__menu, 
.dropdown__submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease-out;
}

/* Show dropdown menu & submenu */
.dropdown__item:hover .dropdown__menu, 
.dropdown__subitem:hover > .dropdown__submenu {
  max-height: 1000px;
  transition: max-height .4s ease-in;
}

/* Rotate dropdown icon */
.dropdown__item:hover .dropdown__arrow {
  transform: rotate(180deg);
}

/*=============== DROPDOWN SUBMENU ===============*/
.dropdown__add {
  margin-left: auto;
}

.dropdown__sublink {
  background-color: var(--black-color-lighten);
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 375px) {
  .header{
    width:100%;
  }
  
  .container {
    margin-inline: 1rem;
    width: fit-content;
  }

  .nav__link {
    padding-inline: 1rem;
  }
}

/* For large devices */


@media screen and (min-width: 1118px) {
  .container {
    margin-inline: auto;
  }

  .nav {
    height: calc(var(--header-height) + 2rem);
    display: flex;
    justify-content: space-between;
  }
  .nav__toggle {
    display: none;
   

  }
  .nav__list {
    height: 100%;
    display: flex;
    column-gap: 3rem;
  }
  .nav__link {
    height: 100%;
    padding: 0;
    justify-content: initial;
    column-gap: .25rem;
  }
  .nav__link:hover {
    background-color: transparent;
  }

  .dropdown__item, 
  .dropdown__subitem {
    position: relative;
  }

  .dropdown__menu, 
  .dropdown__submenu {
    max-height: initial;
    overflow: initial;
    position: absolute;
    left: 0;
    top: 6rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, top .3s;
  }

  .dropdown__link, 
  .dropdown__sublink {
    padding-inline: 1rem 3.5rem;
  }

  .dropdown__subitem .dropdown__link {
    padding-inline: 1rem;
  }

  .dropdown__submenu {
    position: absolute;
    left: 100%;
    top: .5rem;
  }

  /* Show dropdown menu */
  .dropdown__item:hover .dropdown__menu {
    opacity: 1;
    top: 4.4rem;
    pointer-events: initial;
    transition: top .3s;
  }

  /* Show dropdown submenu */
  .dropdown__subitem:hover > .dropdown__submenu {
    opacity: 1;
    top: 0;
    pointer-events: initial;
    transition: top .3s;
  }
}

/* ----------------------------------------------------- */

.carousel-item {
  display: none;
}

.carousel-item.active {
  display: block;
}

.carousel-btn {
  cursor: pointer;
  /* Add styles for buttons here */
}

.carousel-controls {
  position: absolute;
  /* bottom: 20px; */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.carousel-btn {
  cursor: pointer;
  background-color: #009ADD;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background-color: #0079a3;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  transform: translateY(-3px); /* 3D effect */
}

.carousel-btn:active {

  background-color: #005f75;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transform: translateY(1px); /* Pressed effect */
}


.carousel-container {
  width:1000px;
  margin: 0 auto;
  padding: 20px;
  background-color: aliceblue;
}

.carousel-item {
  display: none;
  gap: 3rem;
  height: 20rem;
}

.carousel-item.active {
  display: block;
}

.content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  gap:3rem
}

.left-text {
  flex: 1;
  text-align: justify;
}

.submit-button {
  padding: 15px 20px;
  background-color: #009ADD;
  font-size: medium;
  font-family:Avant 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 6px;
}

.images {
  padding: auto;
  display: contents;
  justify-content: center;
  align-items: center; /* Center images vertically */
  margin-top: 10px;

}

.image-wrapper {
  position: relative;
  /* width: 100%; */
  /* width: 400px;  */
}

.images img {
  max-width: 70%;
}

.rotate-image {
  /* position: absolute; */
/* Adjust the right position as needed */
  animation: rotateImage 4s infinite linear;
  z-index: 1; /* Ensure rotating image appears above stable image */
  width: 400px;
}
.img-card{
  width: 13rem;
  border-radius: 15px;
  box-shadow:rgba(0, 0, 0, 0.5);
}
.bef{
  position: absolute;
  top: 0;
  left: 60px; 
  z-index: 0; /* Place this image above the rotating image */
  margin-top: 60px;
  /* margin-right: 10px; */
  width: 300px;
}

@keyframes rotateImage {
  100% {
    transform: rotate(20deg); /* Only rotate the image */
  }
}


/* Media queries for responsive design */
@media (max-width: 1118px) {
  .carousel-container{
    width: auto; /* Allow the container to expand based on its content */
    margin: 0 auto; /* Center the container horizontally */
    padding: 20px;
    display: flex; /* Use flexbox to align items */
    flex-direction: column; /* Stack items vertically on smaller screens */
    align-items: center; /* Center items horizontally */
  }
  .carousel-item{
    height: auto;
  }
  .content {
    flex-direction: column;
    align-items: flex-start;
    width: auto;
    gap: 3rem;
  }
  .submit-button {
    margin-bottom: 10px;
  }
}

.responsive-h1 {
  font-size: 3.5rem; /* Base font size */
  line-height: 1.2; /* Line height for better readability */
  color: black; /* Text color */
  margin: 0 auto; /* Center align the h1 horizontally */
  text-align: center;
}

/* Responsive font size adjustments */
@media screen and (max-width: 768px) {
  .responsive-h1 {
    font-size: 3rem; /* Adjust font size for smaller screens */
  }
  .carousel-item{
    height: auto;
  }
}

@media screen and (max-width: 480px) {
  .responsive-h1 {
    font-size: 2.5rem; /* Further adjust font size for smaller devices */
  }
  .carousel-item{
    height: auto;
  }
}

/* ------------------------------------------- */

.containersec {
  max-width: 1118px; /* Adjust as needed */
  margin: 0 auto;
  padding: 20px;
}

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

/* Responsive typography */
.text-3xl {
  font-size: 2rem;
}

.text-lg {
  font-size: 1.125rem;
}

/* Responsive layout adjustments */
@media (max-width: 768px) {
  .container {
      padding: 10px;
  }
}

@media (max-width: 576px) {
  .text-3xl {
      font-size: 1.5rem;
  }
  
  .text-lg {
      font-size: 1rem;
  }
}

/* -------------------------------------------- */

.footer {
  background: linear-gradient(to right, #009ADD, #6bf7c6);
  color: #fff;
  padding: 10px 0;
}

.footercontainer {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 5px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: nowrap;
}

.column {
  width: 18%;
  padding: 0 5px;
  box-sizing: border-box;
}

.column p {
  font-size: 0.9rem;
  margin: 0;
}

.column h2 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.column ul li {
  margin-bottom: 5px;
  font-size: 0.9rem;
}

.column a {
  color: white;
  text-decoration: none;
}

.column a:hover {
  text-decoration: underline;
}

.social-icons {
  margin-top: 10px;
  display: flex;
  gap: 10px;
}

.social-icons a {
  font-size: 1.2rem;
  color: white;
}

hr {
  border-top: 1px solid white;
  width: 50%;
  margin: 10px auto;
}

.copyright {
  text-align: center;
  font-size: 0.9rem;
  padding: 5px 0;
}

@media only screen and (min-width: 330px) and (max-width: 990px) {
  .footercontainer {
    flex-wrap: wrap;
  }

  .column {
    width: calc(50% - 5px);
    margin-bottom: 5px;
  }

  .column:nth-child(2) {
    margin-top: 50px;
  }

  .footer-heading-span {
    margin-left: 0;
    text-align: center;
    font-size: 18px;
  }

  hr {
    width: 80%;
  }
}

@media only screen and (max-width: 320px) {
  .column {
    width: 100%;
  }

  .footer-heading-span {
    font-size: 18px;
  }

  .column:nth-child(5) {
    width: 100%;
  }

  hr {
    width: 80%;
  }
}


@media only screen and (max-width: 320px) {
  .column {
    width: 100%;
  }

  .footer-heading-span {
    font-size: 18px;
  }

  .column:nth-child(5) {
    width: 100%;
  }

  hr {
    width: 80%;
  }
}

/* -------------------------------------------------------- */

.card__img {
  display: block;
  max-width: 100%;
  height: auto;
}

.container_swiper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
}

.card__container {
  padding-block: 5rem;
}

.card__content {
  margin-inline: 1.75rem;
  border-radius: 1.25rem;
  overflow: hidden;
}

.card__article {
  width: 300px; /* Remove after adding swiper js */
  border-radius: 1.25rem;
  overflow: hidden;
}

.card__image {
  position: relative;
  background-color: var(--first-color-light);
  padding-top: 1.5rem;
  margin-bottom: -.75rem;
}

.card__data {
  background-color: var(--container-color);
  padding: 1.5rem 2rem;
  border-radius: 1rem;
  text-align: center;
  position: relative;
  z-index: 10;
}

.card__img {
  width: 180px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.card__shadow {
  width: 200px;
  height: 200px;
  background-color: var(--first-color-alt);
  border-radius: 50%;
  position: absolute;
  top: 3.75rem;
  left: 0;
  right: 0;
  margin-inline: auto;
  filter: blur(45px);
}

.card__name {
  font-size: var(--h2-font-size);
  color: var(--second-color);
  margin-bottom: .75rem;
}

.card__description {
  font-weight: 500;
  margin-bottom: 1.75rem;
}

.card__button {
  display: inline-block;
  background-color: var(--first-color);
  padding: .75rem 1.5rem;
  border-radius: .25rem;
  color: var(--dark-color);
  font-weight: 600;
}

/* Swiper class */
.swiper-button-prev:after,
.swiper-button-next:after {
  content: "";
}

.swiper-button-prev,
.swiper-button-next {
  width: initial;
  height: initial;
  font-size: 3rem;
  color: var(--second-color);
  display: none;
}

.swiper-button-prev {
  left: 0;
}

.swiper-button-next {
  right: 0;
}

.swiper-pagination-bullet {
  background-color: hsl(212, 32%, 40%);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background-color: var(--second-color);
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 320px) {
  .card__data {
    padding: 1rem;
  }
}

/* For medium devices */
@media screen and (min-width: 768px) {
  .card__content {
    margin-inline: 3rem;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: block;
  }
}

/* For large devices */
@media screen and (min-width: 1120px) {
  .card__container {
    max-width: 1120px;
  }

  .swiper-button-prev {
    left: -1rem;
  }
  .swiper-button-next {
    right: -1rem;
  }
}

/* ----------------------------------------------------------- */
.black{
  display: flex;
    align-items: center;
    justify-content: center;
    
    min-height: 100vh;
    background-color: #262626;
}
.black1{
  display: flex;
    align-items: center;
    justify-content: center;
    min-height: 20vh;
    background-color: #262626;
}

.threecard {
  width: 300px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin: 20px;
  height: 500px;
  transition: transform 0.3s ease;
}

.threecard:hover {
  transform: scale(1.05);
}

.threecard-image img {
  width: 100%;
  height: auto;
  display: block;
}

.threecard-content {
  padding: 20px;
}

.threecard-content h3 {
  margin-top: 0;
  font-size: 1.5rem;
  color: #333;
}

.threecard-content p {
  color: #666;
}

.card-link {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: #007bff; /* Example background color */
  padding: 10px;
  border-radius: 30%;
  transition: background-color 0.3s ease;
}

.card-link:hover {
  background-color: #0056b3; /* Darker shade of the background color on hover */
}


/* Media Queries for responsiveness */
@media (max-width: 1024px) {
  .threecard {
    width: calc(50% - 40px);
  }
}

@media (max-width: 768px) {
  .threecard {
    width: calc(50% - 40px);
    margin: 10px 20px;
  }
}

@media (max-width: 480px) {
  .threecard {
    width: calc(100% - 40px);
    margin: 10px 20px;
  }
  
  /* Ensure cards stack vertically */
  .black {
    flex-direction: column;
    align-items: center;
  }

  .card-link {
    bottom: 5px;
    right: 5px;
  }
}





/* --------------------------Automation 2 side  */
.twosides {
  display: flex;
  align-items: center; /* Center items vertically */
  justify-content: center; /* Center items horizontally */
  padding: 1rem;
  gap: 1rem; /* Space between image and text */
}

.image-content {
  max-width: 25%;
  border-radius: 10px;
  height: auto;
  flex: 1 1 40%; /* Allow image to take up 40% of the container width */
}

.textcontent {
  flex: 1 1 60%; /* Allow text to take up 60% of the container width */
  font-size: 1.3rem;
}

/* Responsive styles */
@media (max-width: 768px) {
  .twosides {
      flex-direction: column; /* Stack items vertically on smaller screens */
      text-align: center; /* Center text for better readability */
  }

  .image-content, .textcontent {
      flex: none; /* Remove flex-grow and flex-shrink */
      max-width: 100%; /* Ensure images and text do not overflow */
  }

  .image-content {
      margin-bottom: 1rem; /* Add space between image and text */
  }
}


/* ---------------- five cards------------------------- */

.gray{
background-color: #ffffff;
}
/* General styles for the card container */
.fivecards {
  gap: 0rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 10px;
}

/* General styles for each card */
.fivecard {
  background-color: antiquewhite;
  border-radius: 10px;
  width: 24%;
  padding: 15px;
  box-sizing: border-box;
  /* display: grid; */
  height: 480px;
  margin-bottom: 15px; /* Added margin to separate cards */
}

/* Styles for the card button */
.fivecard-button {
  color: #0033ff;
  text-decoration: none; /* Remove underline from link */
}

.fivecard-image img{
height: 170px;
}
.fivecard-button:hover {
  font-size: large;
  transition: 0.4s;
}

/* Responsive design for tablets */
@media (max-width: 1024px) {
  .fivecard {
    width: 45%;
    height: auto; /* Allow height to adjust based on content */
  }
}

/* Responsive design for mobile devices */
@media (max-width: 768px) {
  .fivecard {
    width: 100%;
    height: auto; /* Allow height to adjust based on content */
  }
}

/* Responsive design for very small screens */
@media (max-width: 480px) {
  .fivecard {
    width: 100%;
    height: auto; /* Allow height to adjust based on content */
    padding: 10px; /* Reduce padding */
  }

  .fivecards {
    padding: 10px;
    justify-content: center; /* Center cards on small screens */
  }
}

/* ---------------------industry 4.0 --------------- */

.blackimagebg{
  display: flex;
  align-items: center;
  justify-content: center;
  
  min-height: 100vh;
  background-image: url(../images/indimg.jpg);
  /* opacity:0.6; */
}
.blackimagebgsides {
  display: flex;
  align-items: center; /* Center items vertically */
  justify-content: center; /* Center items horizontally */
  padding: 1rem;
  gap: 3rem; /* Space between image and text */
}

.trans {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  flex: 1 1 50%; /* Allow image to take up 40% of the container width */
} 
.trans iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.blackimagebgtextcontent {
  flex: 1 1 50%; /* Allow text to take up 60% of the container width */
  max-width: 45%;
  font-size: 1.3rem;
}
.blackimagebutton{
  padding: 10px 20px;
  border-radius: 2px;
  background-color: #009ADD;
  font-size: 1rem;
  border: none;
  color: white;
  font-size: medium;
}

/* Responsive styles */
@media (max-width: 768px) {
  .blackimagebgsides {
      flex-direction: column; /* Stack items vertically on smaller screens */
      text-align: center; /* Center text for better readability */
  }

  .trans, .blackimagebgtextcontent {
      flex: none; /* Remove flex-grow and flex-shrink */
      max-width: 100%; /* Ensure images and text do not overflow */
  }

  .trans {
      margin-bottom: 1rem; /* Add space between image and text */
  }
}




        