/* 🌐 Default for desktop (above 1024px) */
bo
/* 📱 Mobile Devices (up to 767px) */
@media (max-width: 767px) {
  body {
    background: url('bg-mobile.jpg') no-repeat center top;
    background-size: contain;
    background-attachment: scroll;
    background-position: center top;
  }
}

/* 📱 Tablets (768px to 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  body {
    background: url('../home/bg-tablet.jpg') no-repeat center top;
    background-size: cover;
    background-attachment: scroll;
    background-position: center top;
  }
}

.logo {
  width: 150px;     /* Increase overall size */
  height: auto;     /* Keeps aspect ratio */
}




.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='black' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.spacer3 {
    height: 20px;
  }
.spacer2 {
    height: 1000px;
  }
.spacer1 {
    height: 20px;
  }
footer ul li {
  margin-bottom: 6px;
}
footer .btn-warning {
  background-color: #d4a216;
  border: none;
}
footer .btn-warning:hover {
  background-color: #c09010;
}

.scroll-wrapper {
  overflow-x: auto;
  white-space: nowrap;
}
@media (min-width: 992px) {
  .dropdown-menu .dropdown-menu {
    margin-left: 0.1rem;
    margin-right: 0.1rem;
  }
}
.dropdown-menu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
}
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
}

.extra-me {
    margin-right: 10px; /* change as you like */
  }

  .box1{
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background:url('../images/concepts/1-ELECTRONICS.png')no-repeat center top; /* 👈 add a visible background */
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #cccccc; /* optional border for visibility */
}
.box2 {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background:url('../images/concepts/2-ELECTRICAL.png')no-repeat center top; /* 👈 add a visible background */
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #ccc; /* optional border for visibility */
}
.box3 {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background:url('../images/concepts/3-COMPUTER SCIENCE.png')no-repeat center top; /* 👈 add a visible background */
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #ccc; /* optional border for visibility */
}
.box4 {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background:url('../images/concepts/4-MECHATRONICS.png')no-repeat center top; /* 👈 add a visible background */
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #ccc; /* optional border for visibility */
}
.box5 {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background:url('../images/concepts/5-BIO-MEDICAL.png')no-repeat center top; /* 👈 add a visible background */
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #ccc; /* optional border for visibility */
}
.box6 {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background:url('../images/concepts/6-CIVIL.png')no-repeat center top; /* 👈 add a visible background */
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #ccc; /* optional border for visibility */
}
.box7 {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background:url('../images/concepts/7-SIMULATION.png')no-repeat center top; /* 👈 add a visible background */
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #ccc; /* optional border for visibility */
}
.box8 {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background:url('../images/concepts/8-WEB APPLICATION.png')no-repeat center top; /* 👈 add a visible background */
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #ccc; /* optional border for visibility */
}
.box9 {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background:url('../images/concepts/9-Mobile APPLICATION.png')no-repeat center top; /* 👈 add a visible background */
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #ccc; /* optional border for visibility */
}
.box10 {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background:url('../images/concepts/10-AERONATICAL.png')no-repeat center top; /* 👈 add a visible background */
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #ccc; /* optional border for visibility */
}

/* Overlay - initially invisible */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7); /* black transparent */
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;            /* hidden by default */
  transition: opacity 0.3s ease;
  padding: 10px;
  text-align: center;
}

/* Show overlay on hover */
.box1:hover .overlay,
.box2:hover .overlay,
.box3:hover .overlay,
.box4:hover .overlay,
.box5:hover .overlay,
.box6:hover .overlay,
.box7:hover .overlay,
.box8:hover .overlay,
.box9:hover .overlay,
.box10:hover .overlay {
  opacity: 1;
}

/* Smooth scale on hover */
.box1:hover,
.box2:hover,
.box3:hover,
.box4:hover,
.box5:hover,
.box6:hover,
.box7:hover,
.box8:hover,
.box9:hover,
.box10:hover {
  transform: scale(1.03);
}

.card-flip {
  perspective: 1000px;
  width: 100%;
  height: 100%;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 320px;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.card-flip:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  backface-visibility: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.card-front {
  color: #000000;
  background-size: cover;
  background-position: center top;
}

.card-back {
  background-color: #e5e5e5;
  transform: rotateY(180deg);
}

/* Responsive height adjustment for smaller screens */
@media (max-width: 576px) {
  .card-inner {
    height: 260px;
  }
}

/* Background images per color */
.card-front.blue {
  background: url('../home/cutting.png') no-repeat center top/cover;
}
.card-front.red {
  background: url('../home/qulity.png') no-repeat center top/cover;
}
.card-front.green {
  background: url('../home/service.png') no-repeat center top/cover;
}
.card-front.orange {
  background: url('../home/solution.png') no-repeat center top/cover;
}


.section4 {
  text-align: center;
  overflow: hidden;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  letter-spacing: 1px;
}

/* scrolling animation */
.scroll-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.process-container {
  display: flex;
  gap: 20px;
  animation: scrollLeft 60s linear infinite;
  width: max-content;
}

.process-card {
  flex: 0 0 260px; /* narrower for smaller devices */
  border-radius: 20px;
  padding: 40px 20px;
  background-color: #e0e0e0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.process-card:hover {
  transform: translateY(-5px);
}

.step-number {
  color: blue;
  font-size: 22px;
  font-weight: bold;
  display: block;
  margin-bottom: 10px;
}

.process-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.process-card p {
  font-size: 14px;
  color: #444;
  line-height: 1.5;
}

/* animate container */
@keyframes scrollLeft {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

/* heading gradient */
.heading {
  background: linear-gradient(to right, #b0e0ff, #007bff);
  color: black;
  padding: 1rem 0;
  text-align: center;
  font-weight: bold;
}

/* logo effects */
.logo img {
  max-height: 50px;
}
.logo {
  transition: transform 0.3s ease;
}
.logo:hover {
  transform: scale(1.2);
}
.bottom-section {
  background-color: rgba(255,255,255,0.1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  -webkit-backdrop-filter: blur(40px);
  backdrop-filter: blur(40px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 15px;
  color: rgb(0, 0, 0);
  padding: 40px 10px;
}

.stat-box {
  transition: transform 0.3s ease;
}
.stat-box:hover {
  transform: scale(1.1);
}
.stat-box h2 {
  font-size: 32px;
  margin-bottom: 10px;
}
.stat-box p {
  font-size: 18px;
  color: #ff0000;
  margin: 0;
}

/* Logo slider */
.logo-slider {
  overflow: hidden;
  padding: 10px 0;
}
.logo-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: scroll 40s linear infinite;
}
.logo-track img {
  height: 50px;
  margin: 0 30px;
  object-fit: contain;
}

/* animation */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Responsive tweaks */
@media (max-width: 576px) {
  .stat-box h2 {
    font-size: 24px;
  }
  .stat-box p {
    font-size: 14px;
  }
  .logo-track img {
    height: 40px;
    margin: 0 15px;
  }
}

    body {
      margin: 0;
      padding: 0;
    }

    .top-section {
      position: relative;
    }

    .top-image {
      width: 100%;
      height: 500px;
      object-fit: cover;
    }

    .promo-section {
      position: absolute;
      top: 80px;
      right: 50px;
      color: rgb(0, 0, 0);
      max-width: 4000px;
      padding: 30px;
      z-index: 10;
      text-align: center;
     /* Optional: add slight background for contrast */
      border-radius: 10px;
    }

    .enroll-btn {
      background-color: #fdbd36;
      border: none;
      color: black;
      padding: 10px 25px;
      font-weight: bold;
      border-radius: 5px;
    }

    .social-icons {
      margin-top: 20px;
      display: flex;
      flex-direction: row;
      gap: 50px;
      padding-top: 10%;
    }

    .social-icons a img {
      width: 30px;
      height: 30px;
    }

    .bottom-popup {
      position: fixed;
      bottom: 15px;
      left: 15px;
      background-color: #fff;
      border-radius: 6px;
      box-shadow: 0 0 10px rgba(0,0,0,0.2);
      padding: 10px 20px;
      display: flex;
      align-items: center;
      z-index: 999;
    }

    .bottom-popup img {
      height: 40px;
      margin-right: 10px;
    }

    .simple-order {
      text-align: center;
      font-weight: bold;
      font-size: 29px;
      padding: 40px 0 10px;
      color: #ffffff;
    }

    @media (max-width: 768px) {
      .promo-section {
        position: static;
        background-color: #333;
        margin-top: 20px;
        width: 100%;
        border-radius: 0;
        color: rgb(0, 0, 0);
      }

      .social-icons {
        justify-content: center;
      }
    }