/* =========================================
   Top Bar Styles
   ========================================= */
.top-bar {
  background: #1a1a1a;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: "Outfit", sans-serif;
}

.top-bar-item {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #fff;
}

.top-bar-item i {
  color: #f9cd46;
}

.top-bar-item a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.top-bar-item a:hover {
  color: #f9cd46;
}

@media (max-width: 767px) {
  .top-bar-wrapper {
    gap: 5px;
    text-align: center;
  }
  .top-bar-left,
  .top-bar-right {
    justify-content: center;
    width: 100%;
  }
  .top-bar-item {
    margin-right: 15px !important;
    font-size: 12px;
  }
  .top-bar-item:last-child {
    margin-right: 0 !important;
  }
}

@media (max-width: 560px) {
  .top-bar-wrapper {
    flex-direction: column;
  }
}

/* =========================================
   Refined Product Page Styles
   ========================================= */

/* Overview Image Wrapper */
.overview-image-wrapper {
  max-width: 80%;
  margin: 0 auto;
  display: block;
}

@media (max-width: 991px) {
  .overview-image-wrapper {
    max-width: 100%;
  }
}

/* Premium Product Card (Simple & Elegant - Horizontal) */
.premium-product-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px 25px;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.premium-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  border-color: #f9cd46;
}

.premium-product-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 0;
  transition: color 0.3s ease;
}

.premium-product-card:hover h4 {
  color: #f9cd46;
}

.premium-product-card .icon-circle {
  width: 32px;
  height: 32px;
  background: #f8f9fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 14px;
  transition: all 0.3s ease;
  margin-left: 15px;
}

.premium-product-card:hover .icon-circle {
  background: #f9cd46;
  color: #fff;
}

.active > a,
.header-main .main-menu ul li:has(.active) {
  background: #f9cd46;
  padding: 0 10px;
}

.logo img {
  max-width: 300px;
  width: 100%;
}

.footer-logo img {
  max-width: 380px;
  width: 100%;
}

.header-bar img {
  filter: unset;
  max-width: 38px;
}

/* =========================================
   Shared Premium Styles (Optimization)
   ========================================= */

/* Common Card Styles */
.vm-card,
.policy-card,
.corporate-card,
.product-card,
.premium-info-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

/* Common Hover Lift Effect */
.vm-card:hover,
.policy-card:hover,
.corporate-card:hover,
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Common Icon Base */
.vm-icon,
.policy-icon,
.icon-box,
.view-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

/* =========================================
   Vision & Mission Premium Styles
   ========================================= */
.vm-section-bg {
  background-color: #f8f9fa;
}

.vm-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.vm-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #f9cd46, #e0b32d);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.vm-card:hover::before {
  transform: scaleX(1);
}

.vm-card-icon-wrapper {
  margin-bottom: 25px;
}

.vm-icon {
  width: 80px;
  height: 80px;
  background: rgba(249, 205, 70, 0.1);
  border-radius: 50%;
  font-size: 32px;
  color: #f9cd46;
}

.vm-card:hover .vm-icon {
  background: #f9cd46;
  color: #fff;
  transform: scale(1.1) rotate(5deg);
}

.vm-subtitle {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #888;
  margin-bottom: 10px;
  font-weight: 600;
}

.vm-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.vm-text {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 0;
}

/* Core Values Styles */
.vm-value-card {
  background: #fff;
  padding: 30px 25px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
  border-bottom: 3px solid transparent;
}

.vm-value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-bottom-color: #f9cd46;
}

.vm-value-icon {
  font-size: 40px;
  color: #f9cd46;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.vm-value-card:hover .vm-value-icon {
  transform: scale(1.2);
}

.vm-value-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.vm-value-content p {
  font-size: 15px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 0;
}

.vm-tagline {
  font-size: 24px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.5;
}

/* Supply Chain Section */
.vm-supply-chain-bg {
  background-color: #fff;
}

.vm-image-wrapper img {
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.vm-content-padding {
  padding-left: 20px;
}

@media (max-width: 991px) {
  .vm-content-padding {
    padding-left: 0;
    margin-top: 30px;
  }

  .vm-card {
    padding: 30px 20px;
  }

  .vm-title {
    font-size: 28px;
  }
}

/* =========================================
   Policy Page Premium Styles
   ========================================= */
.policy-section {
  background-color: #fff;
}

.policy-intro-text {
  font-size: 18px;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Policy Cards */
.policy-card-header {
  background: #f8f9fa;
  padding: 30px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.4s ease;
}

.policy-card:hover .policy-card-header {
  background: #fff;
}

.policy-icon {
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 15px;
  font-size: 24px;
  color: #f9cd46;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.policy-card:hover .policy-icon {
  background: #f9cd46;
  color: #fff;
  transform: scale(1.1) rotate(10deg);
}

.policy-card-header h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  color: #1a1a1a;
}

.policy-card-body {
  padding: 30px;
}

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

.policy-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

.policy-list li:last-child {
  margin-bottom: 0;
}

.policy-list li i {
  color: #f9cd46;
  font-size: 18px;
  margin-top: 4px;
  flex-shrink: 0;
}

/* Corporate Cards */
.corporate-card {
  padding: 3px;
  /* Gradient border space */
  background-image: linear-gradient(135deg, #f0f0f0 0%, #fff 100%);
  height: 100%;
}

.corporate-card:hover {
  background-image: linear-gradient(135deg, #f9cd46 0%, #e0b32d 100%);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-inner {
  background: #fff;
  border-radius: 18px;
  padding: 30px 25px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.4s ease;
}

.corporate-card:hover .card-inner {
  background: rgba(255, 255, 255, 0.95);
}

.icon-box {
  width: 70px;
  height: 70px;
  background: rgba(249, 205, 70, 0.1);
  border-radius: 50%;
  font-size: 28px;
  color: #f9cd46;
  margin-bottom: 20px;
}

.corporate-card:hover .icon-box {
  background: #f9cd46;
  color: #fff;
  transform: scale(1.1) rotate(360deg);
}

.corporate-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.corporate-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

/* Policy Alert */
.policy-alert {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  display: flex;
  gap: 30px;
  align-items: flex-start;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  border-left: 5px solid #f9cd46;
}

.policy-alert .icon {
  width: 60px;
  height: 60px;
  background: #f9cd46;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  flex-shrink: 0;
}

.policy-alert .content h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.policy-alert .content p {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 20px;
}

.auth-line {
  border-top: 1px solid #eee;
  padding-top: 15px;
  font-size: 14px;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .policy-card-header {
    flex-direction: column;
    text-align: center;
  }

  .policy-alert {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/* =========================================
   Premium Product Page Styles
   ========================================= */

/* Product Card Container */
.product-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: rgba(249, 205, 70, 0.3);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

/* Image Wrapper & Styling */
.product-img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 75%;
  /* 4:3 Aspect Ratio */
  overflow: hidden;
  background-color: #f8f9fa;
}

.product-img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-img-wrapper img {
  transform: scale(1.1);
}

/* Overlay Effect */
.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0) 50%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 30px;
}

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

.view-btn {
  background: #f9cd46;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 20px;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 5px 15px rgba(249, 205, 70, 0.4);
}

.product-card:hover .view-btn {
  transform: translateY(0);
}

/* Card Content */
.product-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.product-category {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #999;
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.product-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.product-card:hover .product-title {
  color: #f9cd46;
}

.product-link-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

/* Grid Spacing Adjustments */
.g-custom {
  --bs-gutter-x: 2rem;
  --bs-gutter-y: 2rem;
}

@media (min-width: 1200px) {
  .g-custom {
    --bs-gutter-x: 2.5rem;
    --bs-gutter-y: 3rem;
  }
}

/* =========================================
   Category Details Premium Styles
   ========================================= */

.premium-info-card {
  padding: 30px;
  height: 100%;
}

.premium-info-card h4 {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f9cd46;
  display: inline-block;
}

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

.premium-list li {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px dashed #eee;
  font-size: 16px;
  color: #555;
}

.premium-list li:last-child {
  border-bottom: none;
}

.premium-list li strong {
  color: #1a1a1a;
  font-weight: 600;
}

.premium-list li span {
  color: #f9cd46;
  font-weight: 600;
}

.category-overview-text {
  font-size: 18px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 40px;
  background: #f8f9fa;
  padding: 30px;
  border-radius: 20px;
  border-left: 5px solid #f9cd46;
}

/* =========================================
   Custom Animations
   ========================================= */

@keyframes premiumFadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.premiumFadeInUp {
  animation-name: premiumFadeInUp;
}

/* =========================================
   Premium Button Styles
   ========================================= */

.premium-btn {
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  border: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.premium-btn i {
  transition: transform 0.3s ease;
}

.premium-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Enquire Button Variant */
.btn-enquire {
  background: #f9cd46;
  color: #fff !important;
}

.btn-enquire:hover {
  background: #e0b32d;
  color: #fff !important;
}

.btn-enquire:hover i {
  transform: translateX(5px);
}

/* Back Button Variant */
.btn-back {
  background: #333;
  color: #fff !important;
}

.btn-back:hover {
  background: #1a1a1a;
  color: #fff !important;
}

.btn-back:hover i {
  transform: translateX(-5px);
}

/* =========================================
   Moved Internal Styles & Utilities
   ========================================= */

/* From products/index.php */
.product-tabs-nav {
  justify-content: center;
  margin-bottom: 40px;
  border-bottom: none;
  gap: 15px;
}

.product-tabs-nav .nav-item .nav-link {
  border: none;
  border-radius: 30px;
  padding: 12px 30px;
  font-weight: 600;
  color: #555;
  background-color: #f4f4f4;
  transition: all 0.3s ease;
  font-family: "Outfit", sans-serif;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.product-tabs-nav .nav-item .nav-link.active,
.product-tabs-nav .nav-item .nav-link:hover {
  background-color: #f9cd46;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(249, 205, 70, 0.3);
}

/* From about/overview.php (Core Principles) */
.principle-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.principle-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--theme-color, #f9cd46);
  opacity: 0.05;
  transition: all 0.4s ease;
  z-index: -1;
}

.principle-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: transparent;
}

.principle-card:hover::before {
  height: 100%;
}

.principle-icon {
  width: 80px;
  height: 80px;
  background: rgba(249, 205, 70, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: all 0.4s ease;
  color: var(--theme-color, #f9cd46);
  font-size: 32px;
}

.principle-card:hover .principle-icon {
  background: var(--theme-color, #f9cd46);
  color: #fff;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 20px rgba(249, 205, 70, 0.3);
}

.principle-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #222;
  transition: color 0.3s ease;
}

.principle-card:hover .principle-content h3 {
  color: var(--theme-color, #f9cd46);
}

.principle-content p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 0;
  font-size: 15px;
}

/* Utility Classes */
.img-rounded-shadow {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

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

.text-premium-desc {
  color: #666;
  line-height: 1.7;
}

.text-premium-subtitle {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 15px;
}

.bg-light-gray {
  background-color: #f9f9f9;
}

/* ADNOC Badge Styles */
.adnoc-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
  border: 1px solid #d4af37;
  padding: 8px 15px;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
  margin-right: 20px;
  transition: transform 0.3s ease;
}

.adnoc-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.adnoc-icon {
  width: 30px;
  height: 30px;
  background: #d4af37;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  font-weight: bold;
  font-size: 14px;
}

.adnoc-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.adnoc-title {
  color: #d4af37;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.adnoc-vendor {
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  opacity: 0.9;
}

/* Shimmer Animation */
.adnoc-badge::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: skewX(-25deg);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }

  20% {
    left: 200%;
  }

  100% {
    left: 200%;
  }
}

/* Hero Badge Variation */
.adnoc-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  border: 1px solid #d4af37;
  padding: 12px 25px;
  border-radius: 8px;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease-out 0.5s both;
}

.adnoc-hero-badge .adnoc-icon {
  width: 40px;
  height: 40px;
  font-size: 18px;
}

.adnoc-hero-badge .adnoc-title {
  font-size: 16px;
}

.adnoc-hero-badge .adnoc-vendor {
  font-size: 13px;
}

@media (max-width: 767px) {
  .adnoc-badge {
    display: none;
    /* Hide header badge on mobile/tablet to save space */
  }

  .adnoc-hero-badge {
    display: inline-flex;
    /* Keep hero badge visible */
    padding: 8px 15px;
  }
}

/* =========================================
   Engineering Services Page Styles
   ========================================= */

.service-intro-text {
  font-size: 18px;
  color: #555;
  line-height: 1.8;
  margin-top: 20px;
}

/* Services Checklist */
.services-list-wrapper {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #f9cd46;
}

.services-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.services-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.services-checklist li:hover {
  background: #fff;
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.services-checklist li i {
  color: #f9cd46;
  font-size: 20px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Service Category Cards */
.service-category-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.service-img-wrapper {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.3) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.service-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 15px;
  line-height: 1.3;
  min-height: 50px;
}

.service-divider {
  width: 60px;
  height: 3px;
  background: #f9cd46;
  margin-bottom: 20px;
  transition: width 0.4s ease;
}

.service-category-card:hover .service-divider {
  width: 100px;
}

.service-description {
  font-size: 15px;
  color: #666;
  margin-bottom: 15px;
  line-height: 1.6;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

.service-features li:last-child {
  margin-bottom: 0;
}

.service-features li i {
  color: #f9cd46;
  font-size: 16px;
  margin-top: 4px;
  flex-shrink: 0;
}

/* Service CTA Box */
.service-cta-box {
  background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
  border-radius: 20px;
  padding: 50px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.service-cta-box::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(249, 205, 70, 0.1) 0%,
    transparent 70%
  );
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.cta-icon {
  width: 80px;
  height: 80px;
  background: #f9cd46;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 36px;
  color: #1a1a1a;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 30px rgba(249, 205, 70, 0.3);
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h3 {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .services-checklist {
    grid-template-columns: 1fr;
  }

  .service-img-wrapper {
    height: 200px;
  }

  .service-content h3 {
    font-size: 18px;
    min-height: auto;
  }

  .service-cta-box {
    padding: 40px 30px;
  }

  .cta-content h3 {
    font-size: 26px;
  }

  .cta-content p {
    font-size: 16px;
  }
}

@media (max-width: 575px) {
  .services-list-wrapper {
    padding: 25px;
  }

  .service-content {
    padding: 20px;
  }

  .service-cta-box {
    padding: 30px 20px;
  }

  .cta-icon {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }
}

/* =========================================
   Applications Section Styles
   ========================================= */

/* Application Overview Cards */
.application-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.application-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.application-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.app-img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.app-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.application-card:hover .app-img {
  transform: scale(1.1);
}

.app-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.application-card:hover .app-overlay {
  opacity: 1;
}

.app-overlay i {
  color: #fff;
  font-size: 40px;
  transform: translateX(-20px);
  transition: transform 0.4s ease;
}

.application-card:hover .app-overlay i {
  transform: translateX(0);
}

.app-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.app-icon {
  width: 60px;
  height: 60px;
  background: rgba(249, 205, 70, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.4s ease;
}

.app-icon i {
  font-size: 28px;
  color: #f9cd46;
  transition: all 0.4s ease;
}

.application-card:hover .app-icon {
  background: #f9cd46;
  transform: scale(1.1) rotate(5deg);
}

.application-card:hover .app-icon i {
  color: #fff;
}

.app-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 15px;
  line-height: 1.3;
}

.app-content p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Application Detail Pages */
.app-detail-img img {
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.app-product-card {
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  border-left: 4px solid transparent;
}

.app-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-left-color: #f9cd46;
}

.app-product-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f9cd46;
}

.app-product-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.app-product-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  padding-left: 5px;
}

.app-product-list li:last-child {
  margin-bottom: 0;
}

.app-product-list li i {
  color: #f9cd46;
  font-size: 16px;
  margin-top: 4px;
  flex-shrink: 0;
}

/* Feature Boxes */
.feature-box {
  display: flex;
  gap: 20px;
  padding: 25px;
  background: #f8f9fa;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.feature-box:hover {
  background: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transform: translateX(5px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: #f9cd46;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.feature-icon i {
  font-size: 28px;
  color: #fff;
}

.feature-box:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-content h4 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.feature-content p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .app-img-wrapper {
    height: 200px;
  }

  .app-content {
    padding: 25px;
  }

  .app-content h3 {
    font-size: 20px;
  }

  .app-product-card {
    padding: 25px;
  }

  .feature-box {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

@media (max-width: 575px) {
  .app-img-wrapper {
    height: 180px;
  }

  .app-content {
    padding: 20px;
  }

  .app-icon {
    width: 50px;
    height: 50px;
  }

  .app-icon i {
    font-size: 24px;
  }

  .app-product-card {
    padding: 20px;
  }

  .app-product-card h4 {
    font-size: 18px;
  }
}

/* =========================================
   WhatsApp Floating Widget
   ========================================= */

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: all 0.3s ease;
  text-decoration: none;
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
  background: #128c7e;
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
  color: #fff;
}

.whatsapp-float i {
  line-height: 1;
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: #1a1a1a;
  color: #fff;
  padding: 8px 15px;
  border-radius: 8px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  font-family: inherit;
}

.whatsapp-tooltip::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  border: 4px solid transparent;
  border-left-color: #1a1a1a;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  right: 75px;
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4),
      0 0 0 15px rgba(37, 211, 102, 0.1);
  }
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    font-size: 28px;
  }
  .whatsapp-tooltip {
    display: none;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    font-size: 26px;
  }
}

/* =========================================
   Contact Form Alerts
   ========================================= */

.alert-box {
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 30px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  animation: fadeInUp 0.5s ease;
}

.success-alert {
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #155724;
}

.error-alert {
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.3);
  color: #721c24;
}

.alert-icon {
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.success-alert .alert-icon {
  color: #25d366;
}

.error-alert .alert-icon {
  color: #dc3545;
}

.alert-content h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
  color: inherit;
}

.alert-content p {
  margin: 0;
  font-size: 15px;
  color: inherit;
}

.alert-list {
  margin: 0;
  padding-left: 20px;
}

.alert-list li {
  font-size: 15px;
  margin-bottom: 5px;
}

.alert-list li:last-child {
  margin-bottom: 0;
}

/* Map Style */
.googpemap iframe {
  border: 0;
  width: 100%;
  height: 450px; /* Ensure height is set if not already */
}
/* =========================================
   Sitemap Page Styles
   ========================================= */

.sitemap-section {
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  /* height: 100%; Removed to prevent empty space on short cards */
}

.sitemap-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.sitemap-section h3 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f9cd46;
}

.sitemap-section h3 i {
  color: #f9cd46;
  margin-right: 10px;
}

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

.sitemap-list li {
  margin-bottom: 12px;
}

.sitemap-list li:last-child {
  margin-bottom: 0;
}

.sitemap-list a {
  color: #555;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  padding-left: 20px;
}

.sitemap-list a::before {
  content: "\f105";
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #f9cd46;
  transition: all 0.3s ease;
}

.sitemap-list a:hover {
  color: #f9cd46;
  padding-left: 25px;
}

.sitemap-list a:hover::before {
  left: 5px;
}

.sitemap-sub-list {
  list-style: none;
  padding-left: 20px;
  margin-top: 5px;
  margin-bottom: 10px;
  border-left: 1px solid #eee;
}

.sitemap-sub-list li {
  margin-bottom: 8px;
}

.sitemap-sub-list a {
  font-size: 14px;
  color: #666;
}

.sitemap-sub-list a::before {
  content: "-";
  font-family: inherit;
  font-weight: normal;
  color: #999;
  position: static;
  margin-right: 5px;
}

.sitemap-sub-list a:hover {
  color: #f9cd46;
  padding-left: 5px;
}

/* Override for project content title */
.project-content h3 {
  color: #fff !important;
}

/* =========================================
   Product Detail Page Styles (Ball Valves)
   ========================================= */

.product-sticky-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 120px; /* Adjust based on header height */
  z-index: 10;
}

.spec-highlight-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}

.spec-highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-color: #f9cd46;
}

.spec-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #333;
  opacity: 0.8;
}

.spec-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #777;
  margin-bottom: 0.5rem;
  display: block;
}

.spec-value {
  font-weight: 600;
  font-size: 1.1rem;
  color: #222;
  margin: 0;
}

.tech-table th {
  width: 30%;
  background-color: #f9f9f9;
  font-weight: 600;
  color: #444;
}

.tech-table td {
  color: #666;
}

.section-heading {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 25px;
  font-weight: 700;
  color: #222;
}

.section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background-color: #d1d1d1;
}

.cta-overlay {
  position: relative;
  z-index: 2;
}

/* =========================================
   Premium Product Card Styles
   ========================================= */

.premium-product-card {
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.premium-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: #f9cd46;
}

.premium-product-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: #333;
  transition: color 0.3s ease;
}

.premium-product-card:hover h4 {
  color: #f9cd46;
}

.premium-product-card .icon-circle {
  width: 40px;
  height: 40px;
  background: #f4f4f4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.premium-product-card:hover .icon-circle {
  background: #f9cd46;
  color: #fff;
}

.premium-product-card .icon-circle i {
  font-size: 16px;
  color: #999;
  transition: all 0.3s ease;
}

.premium-product-card:hover .icon-circle i {
  color: #fff;
}

.dev-com{
  color: #d9d9dd;
}