/* =============================================
   KEYFRAME ANIMATIONS
   ============================================= */

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 0, 129, 0); }
  50%       { box-shadow: 0 0 0 10px rgba(0, 0, 129, 0.12); }
}

@keyframes iconPop {
  0%   { transform: scale(1) rotate(0deg); }
  35%  { transform: scale(1.3) rotate(-8deg); }
  65%  { transform: scale(0.92) rotate(5deg); }
  100% { transform: scale(1) rotate(0deg); }
}

@keyframes scaleInFade {
  from { opacity: 0; transform: scale(0.93); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeImageIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes ripple {
  0%   { transform: translate(-50%, -50%) scale(0); opacity: 0.5; }
  100% { transform: translate(-50%, -50%) scale(6); opacity: 0; }
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33%       { transform: translateY(-6px) rotate(-4deg); }
  66%       { transform: translateY(-3px) rotate(3deg); }
}

@keyframes shimmerMove {
  0%   { background-position: -400% center; }
  100% { background-position: 400% center; }
}

@keyframes slideLeft {
  from { transform: translateX(8px); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

@keyframes countPop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.08); color: #000081; }
  100% { transform: scale(1); }
}

/* =============================================
   PAGE ENTRANCE
   ============================================= */

.page-content {
  animation: scaleInFade 0.45s ease forwards;
}

/* =============================================
   CARD BASE (re-usable lift + shadow)
   ============================================= */

.card-animate {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  will-change: transform;
}
.card-animate:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 40px rgba(0, 0, 128, 0.16);
}

/* =============================================
   SERVICE / INFO BOX CARDS (Home "Who We Are")
   ============================================= */

.pbmit-ihbox-style-1 {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  will-change: transform;
  border-radius: 6px;
}
.pbmit-ihbox-style-1:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 44px rgba(0, 0, 128, 0.14);
}
.pbmit-ihbox-style-1:hover .pbmit-ihbox-icon-wrapper {
  animation: iconPop 0.55s ease forwards;
}
.pbmit-ihbox-style-1 .pbmit-ihbox-icon-wrapper {
  transition: background 0.3s ease;
}
.pbmit-ihbox-style-1:hover .pbmit-ihbox-icon-wrapper i {
  color: #000081;
  transition: color 0.3s ease;
}

/* =============================================
   MISSION / VISION / STORY BOXES
   ============================================= */

.box-mission-vis {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.box-mission-vis:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 128, 0.13);
}
.box-mission-vis:hover .count-block .count-text {
  animation: countPop 0.6s ease forwards;
}

/* =============================================
   ABOUT IHBOX STYLE-4
   ============================================= */

.pbmit-ihbox-style-4 {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.pbmit-ihbox-style-4:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 128, 0.12);
}
.pbmit-ihbox-style-4:hover .pbmit-ihbox-icon-wrapper {
  animation: iconPop 0.55s ease forwards;
}

/* =============================================
   LIST ITEMS (About page feature list)
   ============================================= */

.list-group-item {
  transition: transform 0.25s ease, color 0.25s ease, padding-left 0.25s ease;
}
.list-group-item:hover {
  transform: translateX(5px);
  padding-left: 6px !important;
}
.list-group-item:hover .pbmit-icon-list-text {
  color: #000081;
}
.list-group-item i {
  transition: transform 0.3s ease, color 0.3s ease;
}
.list-group-item:hover i {
  transform: scale(1.2);
  color: #000081;
}

/* =============================================
   PRODUCT GALLERY MAIN IMAGE
   ============================================= */

.gallery-img-fade {
  animation: fadeImageIn 0.4s ease forwards;
}
#mainImage {
  transition: transform 0.3s ease;
}
#mainImage:hover {
  transform: scale(1.03);
}

/* =============================================
   THUMBNAIL IMAGES
   ============================================= */

.img-thumbnail {
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  cursor: pointer;
}
.img-thumbnail:hover {
  transform: scale(1.14);
  border-color: #000081 !important;
  box-shadow: 0 6px 18px rgba(0, 0, 128, 0.22);
}

/* =============================================
   PRODUCT CARD (category listing + related)
   ============================================= */

.product-card-img {
  overflow: hidden;
  border-radius: 8px;
  display: block;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  background: #fff;
  border: 1px solid rgba(0, 0, 128, 0.08);
  text-decoration: none;
}
.product-card-img:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 128, 0.18);
  border-color: rgba(0, 0, 128, 0.22);
}
.product-card-img img {
  transition: transform 0.5s ease;
  width: 100%;
}
.product-card-img:hover img {
  transform: scale(1.1);
}
.product-card-img h6 {
  transition: color 0.3s ease;
  padding: 8px;
  margin: 0;
}
.product-card-img:hover h6 {
  color: #000081;
}

/* =============================================
   FEATURED PRODUCT GRID (Home)
   ============================================= */

.image-card {
  display: block;
  text-decoration: none;
  overflow: hidden;
  border-radius: 8px;
  transition: box-shadow 0.35s ease, transform 0.35s ease, border-color 0.35s ease;
  border: 1px solid rgba(0, 0, 128, 0.07);
  background: #fff;
}
.image-card:hover {
  box-shadow: 0 16px 38px rgba(0, 0, 128, 0.2);
  transform: translateY(-7px);
  border-color: rgba(0, 0, 128, 0.18);
}
.image-card .image-container img {
  transition: transform 0.5s ease;
}
.image-card:hover .image-container img {
  transform: scale(1.1);
}
.image-card .name-box {
  transition: background 0.3s ease, padding-left 0.3s ease;
}
.image-card:hover .name-box {
  background: rgba(0, 0, 129, 0.04);
  padding-left: 10px;
}
.image-card .image-name {
  transition: color 0.3s ease;
}
.image-card:hover .image-name {
  color: #000081;
}

/* =============================================
   INDUSTRIES WE SERVE
   ============================================= */

.box-inn-industries {
  transition: transform 0.35s ease;
}
.box-inn-industries:hover {
  transform: translateY(-9px);
}
.box-inn-industries .industries-icon img {
  transition: transform 0.45s ease;
}
.box-inn-industries:hover .industries-icon img {
  animation: floatIcon 2s ease infinite;
}
.box-inn-industries .text-industries {
  transition: color 0.3s ease, font-weight 0.3s ease;
}
.box-inn-industries:hover .text-industries {
  color: #000081;
  font-weight: 600;
}

/* =============================================
   PARTNER / BRAND LOGOS
   ============================================= */

.brand-logo img {
  transition: transform 0.35s ease, filter 0.35s ease, opacity 0.35s ease;
  filter: grayscale(45%);
  opacity: 0.8;
}
.brand-logo:hover img {
  transform: scale(1.12) translateY(-5px);
  filter: grayscale(0%);
  opacity: 1;
}

/* =============================================
   TESTIMONIAL
   ============================================= */

.testimonial-fade {
  animation: fadeSlideUp 0.45s ease forwards;
}
.pbmit-testimonial-text p {
  transition: color 0.3s ease;
}
article.pbmit-testimonial-style-1:hover .pbmit-testimonial-text p {
  color: #fff;
}
.pbminfotech-box-author-details {
  transition: transform 0.3s ease;
}
article.pbmit-testimonial-style-1:hover .pbminfotech-box-author-details {
  transform: translateX(5px);
}
.pbmit-base-icon-star.pbmit-active {
  display: inline-block;
  animation: pulseGlow 2.5s ease infinite;
}

/* =============================================
   BUTTONS
   ============================================= */

.pbmit-btn {
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}
.pbmit-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  pointer-events: none;
}
.pbmit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 128, 0.28);
}
.pbmit-btn:active {
  transform: translateY(0);
}
.pbmit-btn:active::after {
  animation: ripple 0.55s ease forwards;
}

/* =============================================
   CONTACT INFO ITEMS
   ============================================= */

.pbmit-ihbox-style-5 {
  transition: transform 0.3s ease, background 0.3s ease;
  border-radius: 6px;
  padding: 8px 6px;
}
.pbmit-ihbox-style-5:hover {
  transform: translateX(8px);
  background: rgba(0, 0, 128, 0.04);
}
.pbmit-ihbox-style-5:hover .pbmit-ihbox-icon-wrapper {
  animation: iconPop 0.5s ease forwards;
}

/* =============================================
   SOCIAL LINKS
   ============================================= */

.pbmit-social-li a {
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
}
.pbmit-social-li a:hover {
  transform: translateY(-5px) scale(1.18);
  color: #000081;
}

/* =============================================
   FOOTER CONTACT TOP BOXES
   ============================================= */

.pbmit-footer-contact-info {
  transition: transform 0.3s ease;
}
.pbmit-footer-contact-info:hover {
  transform: translateY(-5px);
}

/* =============================================
   FOOTER WIDGET LINKS
   ============================================= */

.pbmit-footer-widget ul li {
  transition: transform 0.25s ease;
}
.pbmit-footer-widget ul li:hover {
  transform: translateX(5px);
}
.pbmit-footer-widget ul li a {
  position: relative;
  transition: color 0.3s ease;
}
.pbmit-footer-widget ul li a::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}
.pbmit-footer-widget ul li a:hover::before {
  width: 100%;
}

/* =============================================
   NAVIGATION ITEMS
   ============================================= */

.nav-items {
  position: relative;
}
.nav-items::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #000081;
  transition: width 0.3s ease;
}
.nav-items:hover::after,
li.active > .nav-items::after {
  width: 100%;
}

/* =============================================
   MEGA MENU ITEMS
   ============================================= */

.mega-menu .sub-menu li a {
  display: inline-block;
  transition: transform 0.25s ease, color 0.25s ease, padding-left 0.25s ease;
}
.mega-menu .sub-menu li a:hover {
  transform: translateX(6px);
  padding-left: 4px;
  color: #000081;
}
.mega-menu .category-title {
  transition: color 0.3s ease;
}

/* =============================================
   BREADCRUMB
   ============================================= */

.breadcrumb-item a {
  transition: color 0.25s ease;
  position: relative;
}
.breadcrumb-item a:hover {
  color: #000081;
}

/* =============================================
   RELATED PRODUCTS SECTION
   ============================================= */

#relimg .img-fluid {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border-radius: 8px;
}
#relimg a:hover .img-fluid {
  transform: scale(1.07);
  box-shadow: 0 10px 28px rgba(0, 0, 128, 0.18);
}
#relimg h6 {
  transition: color 0.3s ease;
}
#relimg a:hover h6 {
  color: #000081;
}

/* =============================================
   HEADER LOGO HOVER
   ============================================= */

.logo-img {
  transition: transform 0.3s ease, filter 0.3s ease;
}
.site-branding:hover .logo-img {
  transform: scale(1.04);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 128, 0.2));
}

/* =============================================
   PRE-HEADER INFO ITEMS
   ============================================= */

.pbmit-contact-info li {
  transition: transform 0.25s ease;
}
.pbmit-contact-info li:hover {
  transform: translateY(-2px);
}

/* =============================================
   HERO SLIDE DOTS
   ============================================= */

.slide-dot {
  transition: transform 0.25s ease, background 0.25s ease;
}
.slide-dot:hover {
  transform: scale(1.4);
}
