/*
@Author: ThemeMascot
@URL: http://ThemeMascot.com

This is the file where you can add your custom styles to change the look of the
theme. But don't modify style-main.css file.

*/

/* Your custom css codes start here: */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;              /* 👈 moved to LEFT */
  width: 56px;
  height: 56px;
  background-color: #25D366;
  color: #ffffff;
  border-radius: 50%;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.35);
  z-index: 999999;
  cursor: pointer;

  /* 👇 Pulse animation */
  animation: wa-pulse 1.6s infinite;
}

/* Keyframes for pulse */
@keyframes wa-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Clientele Carousel Image Control */
#clientele .course-thumb {
  height: 160px;              /* adjust: 120–180px as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#clientele .course-thumb img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Remove white card background in Clientele section */
#clientele .course-single-item {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Optional: remove any inner padding */
#clientele .course-thumb {
  padding: 0;
}

/* Certification Gallery */
#clientele .gallery-item {
  overflow: hidden;
  border-radius: 6px;
  cursor: default; /* No click cursor */
}

#clientele .gallery-item img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  background: transparent;
  padding: 6px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
#clientele .gallery-item:hover img {
  transform: scale(1.08);
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}

/* Responsive */
@media (max-width: 768px) {
  #clientele .gallery-item img {
    height: 100px;
  }
}

/* Certification gallery grayscale hover */
#clientele .gallery-item {
  position: relative;
  overflow: hidden;
}

#clientele .gallery-item img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: 
    filter 0.35s ease,
    transform 0.35s ease,
    box-shadow 0.35s ease !important;
}

/* Hover → color */
#clientele .gallery-item:hover img {
  filter: grayscale(0%);
  transform: scale(1.08);
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}

/* Optional subtle overlay for visibility */
#clientele .gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.05);
  opacity: 0;
  transition: opacity 0.3s ease;
}

#clientele .gallery-item:hover::after {
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  #clientele .gallery-item img {
    height: 100px;
  }
}

/* ===== Supply Partners Carousel ONLY ===== */
#clientele .course-single-item {
  background: transparent;
  border: none;
  box-shadow: none;
  margin-bottom: 0;
}

#clientele .supply-thumb img {
  max-width: 200px;
  max-height: 100px;
  padding: 6px;
  margin: auto;
  display: block;
  object-fit: contain;

  /* BORDER */
  border: 1px solid #d1d1d1;
  border-radius: 6px;
  padding: 8px;

  /* HOVER */
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.35s ease-in-out;
  cursor: default;
}

#clientele .supply-thumb img:hover {
  filter: grayscale(0%);
  opacity: 1;
  border-color: #c39c4a;
  transform: scale(1.05);
}

/* Spacing */
#clientele .item {
  padding: 15px;
}

/* Mobile */
@media (max-width: 767px) {
  #clientele .supply-thumb img {
    max-width: 120px;
  }
}

/*17-01-2026*/

/* ==============================
   CLIENTELE SLIDER ONLY
   Uses border-1px as unique hook
   ============================== */

#clientele .course-single-item.border-1px {
  background: transparent !important;
  border: 1.5px solid rgba(0, 0, 0, 0.18) !important;
  border-radius: 8px;
  padding: 14px !important;
  box-shadow: none !important;
  transition: all 0.3s ease;
}

/* Hover */
#clientele .course-single-item.border-1px:hover {
  border-color: #c59d5f !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* Kill overlays ONLY for slider-2 */
#clientele .course-single-item.border-1px::before,
#clientele .course-single-item.border-1px::after {
  display: none !important;
}

/* Logo sizing ONLY for slider-2 */
#clientele .course-single-item.border-1px .course-thumb {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#clientele .course-single-item.border-1px img {
  max-height: 80px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: all 0.4s ease;
}

#clientele .course-single-item.border-1px:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* ==============================
   CLIENTELE SLIDER – TIGHT BORDER
   ============================== */

#clientele .course-single-item.border-1px {
  background: transparent !important;
  border: 2.5px solid rgba(0, 0, 0, 0.25) !important; /* thicker */
  border-radius: 6px;
  padding: 8px !important; /* closer to image */
  box-shadow: none !important;
  transition: all 0.3s ease;
}

/* Hover */
#clientele .course-single-item.border-1px:hover {
  border-color: #c59d5f !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* Ensure image stays centered */
#clientele .course-single-item.border-1px .course-thumb {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Image sizing */
#clientele .course-single-item.border-1px img {
  max-height: 78px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.4s ease;
}

#clientele .course-single-item.border-1px:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.04);
}


/*18/01/2026*/

#courses {
  background: #0d0f12;
  color: #ffffff;
}

#courses .section-title h2,
#courses .section-title p {
  color: #ffffff;
}

.owl-carousel-3col .item {
  height: 100%;
}

.service-card-link {
  display: block;
  height: 100%;
  text-decoration: none;
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #15181d;
  border-radius: 6px;
  overflow: hidden;
}


.course-thumb {
  position: relative;
  overflow: hidden;
}

.course-thumb img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-overlay span {
  color: #fff;
  font-size: 16px;
  border: 1px solid #fff;
  padding: 8px 18px;
  letter-spacing: 1px;
}

.service-card:hover img {
  transform: scale(1.08);
}

.service-card:hover .service-overlay {
  opacity: 1;
}

.service-card h4 {
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.service-card:hover h4 {
  color: #f7b733; /* theme highlight */
}

.service-card {
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}


.service-card:hover .service-overlay span {
  color: #ef7f1a;
  border-color: #ef7f1a;
}

.service-overlay span {
  transition: all 0.3s ease;
}

.service-card h4 {
  color: #ffffff;
  transition: color 0.3s ease;
}

.service-card:hover h4 {
  color: #ef7f1a;
}

/*19/01/2026*/
/* ===== Industries Section ONLY ===== */

#industries .industries-row {
  margin-left: -15px;
  margin-right: -15px;
}

#industries .industries-row .col-md-4 {
  padding: 15px;
}

/* Card look only for Industries */
#industries .box-hover-effect {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  height: 100%;
}

/* Lift on hover */
#industries .box-hover-effect:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}

/* Image smooth zoom */
#industries .box-hover-effect .thumb {
  overflow: hidden;
}

#industries .box-hover-effect .thumb img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

#industries .box-hover-effect:hover .thumb img {
  transform: scale(1.08);
}

/* Dark overlay */
#industries .effect-wrapper {
  position: relative;
}

#industries .effect-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

#industries .box-hover-effect:hover .effect-wrapper::after {
  opacity: 1;
}

/* Bottom title bar */
#industries .bottom-info-box {
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.65);
}

#industries .bottom-info-box h4 {
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

/* Hover title color */
#industries .box-hover-effect:hover h4 {
  color: #ef7f1a !important;
}

/* ===== Mobile Fix ONLY for Industries ===== */
@media (max-width: 767px) {

  #industries .industries-row .col-md-4 {
    padding: 10px;
  }

  #industries .box-hover-effect .thumb img {
    height: 200px;
  }

  #industries .bottom-info-box {
    text-align: center;
  }

  #industries .bottom-info-box h4 {
    font-size: 16px;
  }
}

/* Center cards in mobile view */
/* ===== Perfect Mobile Alignment for Industries ===== */
@media (max-width: 767px) {

  /* Remove side overflow */
  #industries .industries-row {
    margin-left: 0;
    margin-right: 0;
  }

  /* Make each card centered naturally */
  #industries .industries-row .col-md-4 {
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Image size for mobile */
  #industries .box-hover-effect .thumb img {
    height: 220px;
  }

  /* Center title nicely */
  #industries .bottom-info-box {
    text-align: center;
  }
}

/* Contact page images under info section – SMALL & CLEAN */

.contact-images {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.contact-images .contact-img {
  width: 160px;          /* smaller width */
  height: 110px;        /* smaller height */
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.contact-images .contact-img:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 16px rgba(0,0,0,0.22);
}

/* Mobile tuning */
@media (max-width: 767px) {
  .contact-images {
    flex-direction: row;   /* still side by side on mobile */
  }

  .contact-images .contact-img {
    width: 130px;
    height: 90px;
  }
}


/* ================================
   SUPPLY PARTNERS – SMALL LOGOS + BORDER
   ================================ */

#supply-partners .supply-partners-carousel .item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

#supply-partners .supply-partners-carousel img {
  max-width: 130px;          /* ⬅ smaller logo width */
  max-height: 65px;          /* ⬅ smaller logo height */
  width: auto;
  height: auto;
  object-fit: contain;

  /* Border + Card Feel */
  border: 1.5px solid rgba(0,0,0,0.18);
  border-radius: 6px;
  padding: 8px;
  background: #ffffff;

  /* Visual polish */
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.35s ease;
}

/* Hover effect */
#supply-partners .supply-partners-carousel img:hover {
  filter: grayscale(0%);
  opacity: 1;
  border-color: #c59d5f;        /* theme gold */
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}

/* Mobile tuning */
@media (max-width: 767px) {
  #supply-partners .supply-partners-carousel img {
    max-width: 110px;          /* smaller on mobile */
    max-height: 55px;
    padding: 6px;
  }
}
