/* ENPAR STEEL - Modern Industrial Theme CSS */

:root {
  --primary-color: #b91c1c;
  --primary-hover: #991b1b;
  --secondary-color: #0f172a;
  --accent-color: #b91c1c;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
}

body {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.7;
  color: #334155;
  background-color: #ffffff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}

/* Global Consistent Paragraph Typography (Left-aligned natural spacing) */
p {
  font-family: var(--font-body) !important;
  font-size: 0.95rem !important;
  line-height: 1.7 !important;
  color: #334155 !important;
  margin-bottom: 1rem;
  text-align: left !important;
  text-justify: auto !important;
  text-align-last: left;
  hyphens: manual;
  -webkit-hyphens: manual;
  overflow-wrap: break-word;
  word-spacing: normal !important;
  letter-spacing: normal !important;
}

/* Prevent awkward stretched gaps in cards, grids, sidebars, lists, and tables */
.card p,
.adv-card p,
.overview-stat-card p,
.contact-info-card p,
.key-benefit-card p,
.bg-danger-subtle p,
.service-ref-desc,
.hero-subtitle,
.vm-section p,
.product-sidebar-menu p,
footer p,
.footer p,
ul p,
ol p,
.table p,
.modal p,
.dropdown-menu p {
  text-align: left !important;
  text-justify: auto !important;
  word-spacing: normal !important;
  letter-spacing: normal !important;
  hyphens: manual;
}

.text-center p,
p.text-center {
  text-align: center !important;
  text-align-last: center !important;
  word-spacing: normal !important;
  letter-spacing: normal !important;
}

/* Maintain exact #334155 color and 0.95rem size for paragraphs across light sections */
p:not(.text-white):not(.text-white-50):not(.text-light),
p.text-secondary:not(.text-white):not(.text-white-50),
p.text-muted:not(.text-white):not(.text-white-50),
p.small:not(.text-white):not(.text-white-50),
.card p:not(.text-white):not(.text-white-50),
.adv-card p:not(.text-white):not(.text-white-50) {
  font-family: var(--font-body) !important;
  font-size: 0.95rem !important;
  line-height: 1.7 !important;
  color: #334155 !important;
}

/* Compact typography for key benefit cards and enquiry cards */
.key-benefit-card p,
.bg-danger-subtle p,
.enquiry-card p {
  font-size: 0.85rem !important;
  line-height: 1.5 !important;
  text-align: left !important;
  text-justify: auto !important;
  word-spacing: normal !important;
  letter-spacing: normal !important;
  hyphens: manual !important;
  -webkit-hyphens: manual !important;
}

.key-benefit-card {
  background-color: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}

.key-benefit-card p,
.bg-danger-subtle p {
  color: #64748b !important;
  margin-bottom: 0 !important;
}

.enquiry-card p {
  color: #475569 !important;
  margin-bottom: 1.25rem !important;
}

/* Preserve white/light text in dark sections / hero banners / dark footer */
.bg-dark p,
.bg-dark p.text-white-50,
.bg-dark p.text-white,
footer p:not(.text-white),
.footer p:not(.text-white),
footer p,
.footer p {
  color: #cbd5e1 !important;
}
footer p.text-white,
.footer p.text-white,
p.text-white,
.text-white p {
  color: #ffffff !important;
}
p.text-white-50,
.text-white-50 p {
  color: rgba(255, 255, 255, 0.5) !important;
}
p.text-light {
  color: #cbd5e1 !important;
}

/* Global Breadcrumb Consistency (White, Semi-Bold, Arrow Divider) */
.breadcrumb {
  --bs-breadcrumb-divider: '\2192';
  --bs-breadcrumb-divider-color: #ffffff;
  font-family: var(--font-body);
  font-weight: 600 !important;
  color: #ffffff;
}

.breadcrumb-item,
.breadcrumb-item a,
.breadcrumb-item.active,
.breadcrumb-item span {
  color: #ffffff !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  opacity: 1 !important;
}

.breadcrumb-item a:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: #ffffff !important;
  opacity: 0.9 !important;
}

/* Full Width Fixed Header */
.fixed-top-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1050;
}

.fixed-top-header .navbar {
  background: #ffffff !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding-top: 8px;
  padding-bottom: 8px;
  transition: all 0.3s ease;
}

.fixed-top-header .navbar-brand img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.fixed-top-header .nav-link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: #1e293b !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px clamp(6px, 0.75vw, 16px) !important;
  position: relative;
  transition: color 0.2s ease;
}

.fixed-top-header .nav-link:hover,
.fixed-top-header .nav-link.active {
  color: var(--primary-color) !important;
}

.fixed-top-header .nav-link.active::before {
  content: '';
  position: absolute;
  bottom: 0px;
  left: clamp(6px, 0.75vw, 16px);
  right: clamp(6px, 0.75vw, 16px);
  height: 2.5px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

/* Navbar Search Widget */
.header-search-wrapper {
  position: relative;
}

.header-search-form {
  position: relative;
  display: flex;
  align-items: center;
}

.header-search-input {
  width: 0;
  opacity: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 20px;
  background-color: #f8fafc;
  font-size: 0.85rem;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, padding 0.25s ease, border-color 0.25s ease;
  pointer-events: none;
}

.header-search-form.active .header-search-input {
  width: 170px;
  opacity: 1;
  padding: 5px 12px;
  padding-right: 32px;
  border-color: #cbd5e1;
  pointer-events: auto;
}

.header-search-form.active .header-search-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.12);
  background-color: #ffffff;
}

.search-btn {
  background: transparent;
  border: none;
  color: #1e293b;
  font-size: 1rem;
  padding: 6px 10px;
  border-radius: 50%;
  transition: all 0.2s ease;
  z-index: 2;
  cursor: pointer;
}

.header-search-form.active .search-btn {
  position: absolute;
  right: 2px;
  padding: 4px 8px;
  font-size: 0.85rem;
  color: #64748b;
}

.search-btn:hover {
  color: var(--primary-color);
  background-color: #f1f5f9;
}

/* Header Navbar Dropdown Menus */
.fixed-top-header .dropdown-menu {
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12), 0 4px 14px rgba(15, 23, 42, 0.04);
  margin-top: 6px !important;
  padding: 10px;
  min-width: 230px;
  background: #ffffff;
  text-align: left !important;
  z-index: 1050;
}

@media (min-width: 992px) {
  .fixed-top-header .nav-item.dropdown {
    position: relative;
    padding-bottom: 8px;
    margin-bottom: -8px;
  }

  /* Smooth 240ms transition on desktop */
  .fixed-top-header .dropdown-menu {
    display: block !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 240ms cubic-bezier(0.165, 0.84, 0.44, 1),
                transform 240ms cubic-bezier(0.165, 0.84, 0.44, 1),
                visibility 240ms;
  }

  .fixed-top-header .dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  /* Centered Mega Menu for Products (matches reference design width and spacing) */
  .fixed-top-header .dropdown-menu.products-mega-menu {
    position: absolute !important;
    left: 50% !important;
    top: 100% !important;
    width: 620px;
    min-width: 600px;
    max-width: min(620px, 94vw);
    transform: translate(-50%, 10px) !important;
    padding: 24px 28px 20px 28px !important;
    border-radius: 18px;
    z-index: 1055;
  }

  .fixed-top-header .dropdown-menu.products-mega-menu.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0) !important;
  }
}

@media (max-width: 991.98px) {
  .fixed-top-header .dropdown-menu {
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    background: #f8fafc !important;
    min-width: 100% !important;
    width: 100% !important;
    display: none;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transition: none !important;
  }
  .fixed-top-header .dropdown-menu.show {
    display: block !important;
  }
  .fixed-top-header .dropdown-menu.products-mega-menu {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    transform: none !important;
    padding: 16px !important;
  }
}

.fixed-top-header .dropdown-item {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 9px 14px;
  color: #334155;
  border-radius: 10px;
  transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left !important;
  width: 100%;
}

/* Hover effect on dropdown items */
.fixed-top-header .dropdown-item:hover,
.dropdown-item:hover {
  background-color: #fef2f2;
  color: var(--primary-color, #b91c1c);
  transform: translateX(3px);
  font-weight: 600;
}

/* Prevent Bootstrap default blue background on click (:active), focus, or active class */
.dropdown-item:active,
.dropdown-item.active,
.dropdown-item:focus,
.fixed-top-header .dropdown-item:active,
.fixed-top-header .dropdown-item.active,
.fixed-top-header .dropdown-item:focus {
  background-color: #fef2f2 !important;
  color: var(--primary-color, #b91c1c) !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Remove blue focus box on navbar links */
.nav-link:focus,
.dropdown-toggle:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Remove pseudo-element arrow to eliminate any overlap on text */
.fixed-top-header .dropdown-item::before {
  display: none !important;
  content: none !important;
}

.fixed-top-header .dropdown-item .bi-chevron-right {
  transition: transform 0.2s ease, color 0.2s ease;
  font-size: 0.78rem;
  color: #94a3b8;
}

.fixed-top-header .dropdown-item:hover .bi-chevron-right {
  color: var(--primary-color, #b91c1c) !important;
  transform: translateX(2px);
}

/* Submenu Flyout Positioning & Styling */
.fixed-top-header .dropdown-submenu {
  position: relative;
}

.fixed-top-header .dropdown-submenu .dropdown-submenu-menu {
  top: 0;
  left: 100%;
  margin-top: -6px !important;
  margin-left: 2px;
  display: none;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  z-index: 1055;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

/* Desktop Hover & Focus for Submenu Flyout */
@media (min-width: 992px) {
  .fixed-top-header .dropdown-submenu:hover > .dropdown-submenu-menu,
  .fixed-top-header .dropdown-submenu:focus-within > .dropdown-submenu-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}

.fixed-top-header .dropdown-toggle-submenu .submenu-arrow {
  transition: transform 0.25s ease, color 0.25s ease;
  font-size: 0.75rem;
  color: #94a3b8;
}

.fixed-top-header .dropdown-submenu:hover > .dropdown-toggle-submenu .submenu-arrow {
  transform: translateX(3px);
  color: var(--primary-color, #b91c1c);
}

/* Mobile & Tablet Responsive Submenu Styling */
@media (max-width: 991.98px) {
  .fixed-top-header .dropdown-submenu .dropdown-submenu-menu {
    position: static !important;
    left: 0 !important;
    top: 0 !important;
    margin-left: 12px !important;
    margin-top: 4px !important;
    border: none !important;
    box-shadow: none !important;
    background: #f8fafc !important;
    border-left: 2px solid var(--primary-color, #b91c1c) !important;
    border-radius: 8px !important;
    padding: 4px 8px !important;
    display: none;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .fixed-top-header .dropdown-submenu.show-mobile-submenu > .dropdown-submenu-menu {
    display: block !important;
  }

  .fixed-top-header .dropdown-submenu.show-mobile-submenu > .dropdown-toggle-submenu .submenu-arrow {
    transform: rotate(90deg);
  }
}

/* Hero Carousel */
.hero-slider-section {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 550px;
}

.hero-slider-section .carousel,
.hero-slider-section .carousel-inner,
.hero-slider-section .carousel-item {
  height: 100%;
}

.hero-slide-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 70%;
  height: 100%;
  object-fit: cover !important;
  image-rendering: -webkit-optimize-contrast;
  transform: translateZ(0);
  backface-visibility: hidden;
}

@media (max-width: 991.98px) {
  .hero-slide-bg {
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    object-position: center bottom !important;
  }
}

/* Smooth Fade Show Transition */
#heroCarousel.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 0.65s ease-in-out !important;
  transform: none;
  will-change: opacity;
}

#heroCarousel.carousel-fade .carousel-item.active,
#heroCarousel.carousel-fade .carousel-item-next.carousel-item-start,
#heroCarousel.carousel-fade .carousel-item-prev.carousel-item-end {
  z-index: 1;
  opacity: 1;
}

#heroCarousel.carousel-fade .active.carousel-item-start,
#heroCarousel.carousel-fade .active.carousel-item-end {
  z-index: 0;
  opacity: 0;
  transition: opacity 0s 0.65s !important;
}

/* Staggered Smooth Fade + Slide-Up for Hero Content */
#heroCarousel .hero-anim-title {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
  transition-delay: 0.08s;
  will-change: transform, opacity;
}

#heroCarousel .hero-anim-desc {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
  transition-delay: 0.16s;
  will-change: transform, opacity;
}

#heroCarousel .hero-anim-btn {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
  transition-delay: 0.24s;
  will-change: transform, opacity;
}

#heroCarousel .carousel-item.active .hero-anim-title,
#heroCarousel .carousel-item.active .hero-anim-desc,
#heroCarousel .carousel-item.active .hero-anim-btn {
  opacity: 1;
  transform: translateY(0);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse 75% 55% at 0% 100%, rgba(15, 23, 42, 0.85) 0%, rgba(220, 38, 38, 0.5) 45%, rgba(0, 0, 0, 0) 100%);
  z-index: 1;
}

.hero-caption-content {
  position: absolute;
  bottom: 80px;
  left: 12px;
  top: auto;
  transform: none;
  z-index: 2;
  color: #ffffff;
  max-width: 680px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
}

.hero-title .text-danger,
.hero-title .gradient-text {
  color: #ffffff !important;
  background: none;
  -webkit-text-fill-color: initial;
  display: inline-block;
  position: relative;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
  text-decoration: none !important;
}

.hero-title .text-danger::after,
.hero-title .gradient-text::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3E%3Cpath d='M 2 6 Q 50 16 98 4' stroke='%23ef4444' stroke-width='4.5' stroke-linecap='round' fill='none'/%3E%3Cpath d='M 10 15 Q 52 22 90 12' stroke='%23ef4444' stroke-width='3.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}

.hero-subtitle,
p.hero-subtitle {
  font-size: 1.1rem !important;
  font-weight: 500;
  line-height: 1.6;
  color: #ffffff !important;
  text-shadow: none !important;
  margin-bottom: 0;
  max-width: 580px;
  text-align: left !important;
}

/* Global Button Shadow Reset */
.btn,
.btn-hero-primary,
.btn-hero-outline,
.btn-submit-modern,
button {
  box-shadow: none !important;
}

.btn:hover,
.btn-hero-primary:hover,
.btn-hero-outline:hover,
.btn-submit-modern:hover,
button:hover,
.btn:focus,
.btn-hero-primary:focus,
.btn-hero-outline:focus,
.btn-submit-modern:focus,
button:focus,
.btn:active,
.btn-hero-primary:active,
.btn-hero-outline:active,
.btn-submit-modern:active,
button:active {
  box-shadow: none !important;
}

/* Hero CTA Button */
.btn-hero-primary {
  background-color: var(--primary-color);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 28px;
  border-radius: 10px;
  border: 2px solid var(--primary-color);
  box-shadow: none !important;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-hero-primary:hover,
.btn-hero-primary:focus {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: none !important;
}

.btn-hero-outline {
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 28px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: none !important;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-hero-outline:hover,
.btn-hero-outline:focus {
  background-color: #ffffff;
  border-color: #ffffff;
  color: var(--dark-bg);
  transform: translateY(-2px);
  box-shadow: none !important;
}


/* Carousel Control Arrows */
.hero-slider-section .carousel-control-prev,
.hero-slider-section .carousel-control-next {
  width: 48px;
  height: 48px;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  top: 45%;
  transform: translateY(-50%);
  opacity: 0.85;
  z-index: 5;
  transition: all 0.3s ease;
}

.hero-slider-section .carousel-control-prev {
  left: 25px;
}

.hero-slider-section .carousel-control-next {
  right: 25px;
}

.hero-slider-section .carousel-control-prev:hover,
.hero-slider-section .carousel-control-next:hover {
  background-color: var(--primary-color);
  opacity: 1;
}

/* Carousel Bar Indicators */
.hero-slider-section .carousel-indicators {
  justify-content: flex-start;
  margin-left: 12px;
  margin-bottom: 30px;
  z-index: 5;
}

.hero-slider-section .carousel-indicators [data-bs-target] {
  width: 45px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  border-radius: 2px;
  margin-right: 10px;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.hero-slider-section .carousel-indicators .active {
  width: 65px;
  background-color: #ffffff;
  opacity: 1;
}

/* Overlapping Services Section */
.overlapping-services-section {
  position: relative;
  z-index: 30;
  margin-top: -95px;
}

@media (max-width: 991.98px) {
  .overlapping-services-section {
    margin-top: 2rem;
  }
}

/* Services Section (Reference UI: Soft Warm Pastel Background with Corner Blobs & Dot Matrix) */
.services-section-bg {
  position: relative;
  background-color: #fdfbfb;
  background-image: 
    radial-gradient(circle at 10% 12%, rgba(254, 226, 226, 0.55) 0%, transparent 40%),
    radial-gradient(circle at 92% 88%, rgba(254, 226, 226, 0.45) 0%, transparent 40%);
  overflow: hidden;
  padding: 55px 0 65px 0;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}

/* Background Corner Blob Accents */
.services-section-bg::before {
  content: '';
  position: absolute;
  top: -90px;
  left: -90px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(254, 205, 211, 0.5) 0%, rgba(254, 226, 226, 0.2) 55%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.services-section-bg::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(254, 205, 211, 0.45) 0%, rgba(254, 226, 226, 0.18) 55%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Dot Matrix Decorative Patterns (Top-Right & Bottom-Left) */
.services-dot-matrix-tr {
  position: absolute;
  top: 30px;
  right: 45px;
  width: 130px;
  height: 90px;
  background-image: radial-gradient(#cbd5e1 1.5px, transparent 1.5px);
  background-size: 15px 15px;
  opacity: 0.65;
  pointer-events: none;
  z-index: 0;
}

.services-dot-matrix-bl {
  position: absolute;
  bottom: 30px;
  left: 45px;
  width: 130px;
  height: 90px;
  background-image: radial-gradient(#cbd5e1 1.5px, transparent 1.5px);
  background-size: 15px 15px;
  opacity: 0.65;
  pointer-events: none;
  z-index: 0;
}



/* Services Carousel Track Wrapper */
.services-carousel-wrapper {
  position: relative;
  width: 100%;
  padding: 0 54px;
  z-index: 2;
}

@media (max-width: 767.98px) {
  .services-carousel-wrapper {
    padding: 0 36px;
  }
}

.services-horizontal-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 14px 0 24px 0;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.services-horizontal-track::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Base Service Card (Reference UI) - Exactly 4 Cards Shown */
.service-card-overlap {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 20px 18px 16px 18px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(226, 232, 240, 0.85);
  overflow: hidden;
  z-index: 1;
  text-decoration: none !important;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 0 0 calc((100% - 60px) / 4);
  width: calc((100% - 60px) / 4);
  min-width: calc((100% - 60px) / 4);
  max-width: calc((100% - 60px) / 4);
  min-height: 235px;
  cursor: default;
}

@media (max-width: 991.98px) {
  .service-card-overlap {
    flex: 0 0 calc((100% - 20px) / 2);
    width: calc((100% - 20px) / 2);
    min-width: calc((100% - 20px) / 2);
    max-width: calc((100% - 20px) / 2);
  }
}

@media (max-width: 575.98px) {
  .service-card-overlap {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
  }
}

.service-card-overlap:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(185, 28, 28, 0.12);
  border-color: #fca5a5;
}

/* Product Carousel Cards (Home Page Section) - 3 Cards per view on Desktop */
.product-card-overlap {
  flex: 0 0 calc((100% - 40px) / 3);
  width: calc((100% - 40px) / 3);
  min-width: calc((100% - 40px) / 3);
  max-width: calc((100% - 40px) / 3);
  scroll-snap-align: start;
}

@media (max-width: 991.98px) {
  .product-card-overlap {
    flex: 0 0 calc((100% - 20px) / 2);
    width: calc((100% - 20px) / 2);
    min-width: calc((100% - 20px) / 2);
    max-width: calc((100% - 20px) / 2);
  }
}

@media (max-width: 575.98px) {
  .product-card-overlap {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
  }
}



/* Icon Badge in Card Top-Left */
.service-ref-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.service-card-overlap:hover .service-ref-icon-badge {
  transform: scale(1.1);
}

/* Card Typography */
.service-ref-title {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 10px;
  margin-bottom: 6px;
  line-height: 1.3;
  text-align: left !important;
}

.service-ref-desc {
  font-family: var(--font-body) !important;
  color: #334155 !important;
  font-size: 0.90rem !important;
  line-height: 1.55 !important;
  margin-bottom: 8px;
  max-width: 100%;
  text-align: left !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 4.2em;
}

.service-ref-link {
  color: var(--primary-color, #b91c1c);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  z-index: 2;
  transition: transform 0.25s ease, color 0.25s ease;
}

.service-card-overlap:hover .service-ref-link {
  color: var(--primary-hover, #991b1b);
}

.service-card-overlap:hover .service-ref-link i {
  transform: translateX(4px);
}



/* Bottom Right Corner Graphic / Image */
.service-ref-illu-wrap {
  display: none !important;
}

.service-ref-blob {
  position: absolute;
  right: -8px;
  bottom: -10px;
  width: 92px;
  height: 86px;
  opacity: 0.88;
  transition: transform 0.35s ease;
}

.service-card-overlap:hover .service-ref-blob {
  transform: scale(1.08) rotate(4deg);
}

.service-ref-img {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 82px;
  height: 74px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.12));
  transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 2;
}

.service-card-overlap:hover .service-ref-img {
  transform: scale(1.08) translateY(-3px);
}

.service-card-overlap:hover .service-card-view-more i {
  transform: translateX(4px);
}

/* Carousel Scroll Buttons (Always visible, outside the cards) */
.services-scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: #0f172a;
  border: 1.5px solid #cbd5e1;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  z-index: 15;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
  font-size: 1.25rem;
  opacity: 1 !important;
}

.services-scroll-btn:hover {
  background: var(--primary-color, #b91c1c);
  color: #ffffff;
  border-color: var(--primary-color, #b91c1c);
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 8px 25px rgba(185, 28, 28, 0.5);
}

.services-scroll-prev {
  left: 0;
}

.services-scroll-next {
  right: 0;
}

@media (max-width: 767.98px) {
  .services-scroll-btn {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

/* ==========================================================================
   Modern Industrial About Section Styling
   ========================================================================== */

/* Container for Wider About Us Card with Minimal Side Margins */
.about-card-container {
  width: calc(100% - 70px);
  max-width: 1540px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 767.98px) {
  .about-card-container {
    width: calc(100% - 24px);
  }
}

/* Compact Single Card & Proportional 50/50 About Us Styling */
.about-overview-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  padding: 24px;
  transition: box-shadow 0.3s ease;
}

@media (min-width: 1200px) {
  .about-overview-card {
    padding: 30px 36px;
  }
}

@media (max-width: 575.98px) {
  .about-overview-card {
    padding: 16px;
    border-radius: 14px;
  }
}

.about-compact-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.85);
  background-color: #f1f5f9;
}

.about-compact-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.about-compact-img-wrap:hover .about-compact-img {
  transform: scale(1.02);
}

@media (max-width: 991.98px) {
  .about-compact-img-wrap {
    min-height: 340px;
    height: 340px;
    margin-bottom: 8px;
  }
}

@media (max-width: 575.98px) {
  .about-compact-img-wrap {
    min-height: 240px;
    height: 240px;
  }
}

.about-compact-paragraphs p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 14px;
  text-align: left !important;
  text-justify: auto !important;
  text-align-last: left;
  hyphens: manual;
  -webkit-hyphens: manual;
  overflow-wrap: break-word;
}

.about-compact-paragraphs p:last-child {
  margin-bottom: 18px;
}

.about-compact-stat {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  padding: 8px 6px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.02);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.about-compact-stat:hover {
  transform: translateY(-2px);
  background: #ffffff;
  border-color: rgba(185, 28, 28, 0.3);
  box-shadow: 0 4px 12px rgba(185, 28, 28, 0.08);
}

.about-compact-stat .stat-number {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-color, #b91c1c);
  line-height: 1.15;
  margin-bottom: 2px;
  white-space: nowrap;
}

.about-compact-stat .stat-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: #64748b;
  line-height: 1.15;
}

/* Image Card: 350-380px on desktop, proportional height, subtle shadow & hover zoom */
.about-image-card {
  position: relative;
  width: 100%;
  max-width: 370px;
  height: 480px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.85);
  background-color: #f8fafc;
  transition: box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image-card:hover {
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.14);
}

.about-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image-card:hover img {
  transform: scale(1.03);
}

/* Subtle Gradient for Bottom Contrast */
.about-image-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 35%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.65) 0%, transparent 100%);
  pointer-events: none;
}

/* Sleek Floating Experience Badge */
.about-floating-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.1);
  z-index: 2;
  transition: transform 0.3s ease;
}

.about-image-card:hover .about-floating-badge {
  transform: translateY(-2px);
}

.about-floating-badge .badge-icon {
  width: 34px;
  height: 34px;
  background: var(--primary-color, #b91c1c);
  color: #ffffff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.about-floating-badge .badge-title {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

.about-floating-badge .badge-sub {
  display: block;
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.2;
}

/* Refined Statistics Cards */
.about-stat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.about-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(185, 28, 28, 0.08);
  border-color: rgba(185, 28, 28, 0.3);
}

.about-stat-card .stat-number {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-color, #b91c1c);
  line-height: 1.2;
  margin-bottom: 3px;
  white-space: nowrap;
}

.about-stat-card .stat-label {
  font-size: 0.74rem;
  font-weight: 600;
  color: #64748b;
  line-height: 1.2;
}

/* Modernized Company Overview Button */
.btn-about-overview {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-color, #b91c1c);
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 10px 22px;
  border-radius: 10px;
  border: none;
  box-shadow: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-about-overview:hover {
  background-color: var(--primary-hover, #991b1b);
  transform: translateY(-2px);
  box-shadow: none;
  color: #ffffff !important;
}

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

.btn-about-overview:hover i {
  transform: translateX(4px);
}

/* Responsive Image Layout */
@media (max-width: 991.98px) {
  .about-image-card {
    max-width: 100%;
    height: 340px;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .about-image-card {
    height: 280px;
  }
}

/* Modern Contact Form & Info Cards UI */
.contact-card-info {
  background-color: #0f172a;
  border-radius: 20px;
  padding: 40px 32px;
  color: #ffffff;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15);
  position: relative;
  overflow: hidden;
}

.contact-info-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px 20px;
  transition: all 0.3s ease;
}

.contact-info-item:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateX(6px);
  border-color: rgba(185, 28, 28, 0.4);
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  background: rgba(185, 28, 28, 0.18);
  color: #f87171;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  border: 1px solid rgba(185, 28, 28, 0.35);
}

.contact-form-modern {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.06);
  border: 1px solid #f1f5f9;
}

.form-control-modern {
  background-color: #f8fafc;
  border: 1.5px solid #e2e8f0;
  font-size: 0.95rem;
  color: #0f172a;
  transition: all 0.3s ease;
}

.form-control-modern:focus {
  background-color: #ffffff;
  border-color: var(--primary-color, #b91c1c);
  box-shadow: 0 0 0 4px rgba(185, 28, 28, 0.12);
  outline: none;
}

.input-group-text-modern {
  background-color: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-right: none;
  color: #64748b;
  font-size: 1rem;
}

.form-control-modern:focus + .input-group-text-modern,
.input-group:focus-within .input-group-text-modern {
  border-color: var(--primary-color, #b91c1c);
  color: var(--primary-color, #b91c1c);
}

.form-label-modern {
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
  display: block;
}

.btn-submit-modern {
  background-color: #b91c1c;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 16px 32px;
  border-radius: 12px;
  border: none;
  box-shadow: none !important;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.btn-submit-modern:hover {
  background-color: #991b1b;
  transform: translateY(-2px);
  box-shadow: none !important;
  color: #ffffff;
}

/* ==========================================================================
   PRODUCT DETAIL PAGE STYLES
   ========================================================================== */
.product-sidebar-menu {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.product-sidebar-menu .menu-title {
  font-size: 1.1rem;
  font-weight: 700;
  padding: 16px 20px;
  color: #0f172a;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.product-sidebar-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  font-weight: 600;
  font-size: 0.875rem;
  color: #334155;
  text-decoration: none;
  border-bottom: 1px solid #f1f5f9;
  transition: all 0.25s ease;
  letter-spacing: 0.3px;
}

.product-sidebar-item:last-child {
  border-bottom: none;
}

.product-sidebar-item:hover {
  background-color: #fef2f2;
  color: #b91c1c;
  padding-left: 24px;
}

.product-sidebar-item.active {
  background-color: #ffffff;
  color: #b91c1c;
  font-weight: 700;
  border-left: 4px solid #b91c1c;
}

.product-sidebar-item .arrow-icon {
  font-size: 0.9rem;
  color: #94a3b8;
  transition: color 0.25s ease;
}

.product-sidebar-item.active .arrow-icon,
.product-sidebar-item:hover .arrow-icon {
  color: #b91c1c;
}

/* Downloads Box */
.download-card {
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.825rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
}

.download-item:last-child {
  border-bottom: none;
}

.download-item:hover {
  color: #b91c1c;
  background: #fef2f2;
}

/* Enquiry Light Card */
.enquiry-card {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #0f172a;
  border-radius: 14px;
  padding: 24px;
}

/* Variant Cards */
.variant-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.variant-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(185, 28, 28, 0.12) !important;
  border-color: #b91c1c;
}

.variant-card:hover .variant-img {
  transform: scale(1.06);
}

/* Specs Table */
.spec-grid-box {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}

.spec-grid-item {
  padding: 14px 20px;
  border-bottom: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  background: #ffffff;
}

.spec-grid-item:nth-child(even) {
  border-right: none;
}

/* ==========================================================================
   FOUNDERS & LEADERSHIP TEAM CARDS
   ========================================================================== */
.team-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  border: 1px solid #e2e8f0 !important;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 35px rgba(185, 28, 28, 0.15) !important;
  border-color: #b91c1c !important;
}

.team-card:hover .team-img {
  transform: scale(1.06);
}

.team-social-link {
  width: 36px;
  height: 36px;
  background-color: #f8fafc;
  color: #475569;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.team-card:hover .team-social-link {
  background-color: #b91c1c;
  color: #ffffff;
}

/* ==========================================================================
   COMPETITIVE ADVANTAGES CARDS
   ========================================================================== */
.adv-card {
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.adv-card:hover {
  background-color: #fff5f5 !important;
  border-color: rgba(185, 28, 28, 0.3) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(185, 28, 28, 0.08) !important;
}

.adv-card:hover .adv-icon-box {
  background-color: #fee2e2 !important;
  color: #b91c1c !important;
  transform: scale(1.03);
}

.adv-card:hover h4 {
  color: #b91c1c !important;
  transition: color 0.25s ease;
}

.adv-card:hover p {
  color: #475569 !important;
}

.adv-icon-box {
  transition: all 0.25s ease;
}

/* ==========================================================================
   VISION & MISSION SIDE-BY-SIDE SECTION (Reference UI)
   ========================================================================== */
.vm-col-divider {
  border-right: 1px solid #e2e8f0;
}

@media (max-width: 991.98px) {
  .vm-col-divider {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 2.5rem;
    margin-bottom: 2.5rem;
  }
}

.vm-section p {
  text-align: left !important;
  text-justify: auto !important;
  word-spacing: normal !important;
  letter-spacing: normal !important;
}

.vm-img-wrap {
  height: 270px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.85);
  background: #f1f5f9;
}

.vm-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.vm-img-wrap:hover img {
  transform: scale(1.02);
}

/* ==========================================================================
   CONTACT US PAGE STYLES
   ========================================================================== */
.contact-info-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 24px;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
}

.contact-info-card:hover {
  transform: translateY(-5px);
  border-color: #fca5a5;
  box-shadow: 0 16px 32px rgba(185, 28, 28, 0.12) !important;
}

.contact-info-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.35rem;
  transition: all 0.3s ease;
}

.contact-info-card:hover .contact-info-icon-badge {
  transform: scale(1.08);
}

.contact-form-wrapper {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  border-top: 5px solid #b91c1c;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
}

.contact-action-link {
  color: #0f172a;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.contact-action-link:hover {
  color: #b91c1c;
}

/* ==========================================================================
   Company Overview Highlights Section (Below About Us)
   ========================================================================== */

.overview-highlights-section {
  position: relative;
  background-color: #fbfbfc;
  overflow: hidden;
}

.overview-stat-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(226, 232, 240, 0.7);
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.overview-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(185, 28, 28, 0.09);
  border-color: rgba(185, 28, 28, 0.25);
}

.overview-stat-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #fee2e2;
  color: var(--primary-color, #b91c1c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  flex-shrink: 0;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.overview-stat-card:hover .overview-stat-icon-wrap {
  transform: scale(1.06);
  background: #fecaca;
}

.overview-stat-val {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--primary-color, #b91c1c);
  line-height: 1.2;
  margin-bottom: 2px;
  white-space: nowrap;
}

.overview-stat-lbl {
  font-size: 0.92rem;
  font-weight: 500;
  color: #64748b;
  line-height: 1.25;
}

/* Decorative Background Rings */
.overview-deco-glow {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185, 28, 28, 0.07) 0%, rgba(185, 28, 28, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.overview-deco-ring-outer {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 460px;
  height: 460px;
  border-radius: 50%;
  border: 1.5px solid rgba(185, 28, 28, 0.12);
  pointer-events: none;
  z-index: 0;
}

.overview-deco-ring-inner {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(185, 28, 28, 0.08);
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON (with light-green halo pulse effect)
   ========================================================================== */
.whatsapp-float-btn {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 58px;
  height: 58px;
  background-color: #25d366;
  color: #ffffff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  z-index: 9999;
  font-size: 32px;
  box-shadow: 0 0 0 8px rgba(85, 228, 137, 0.45), 0 8px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease;
  animation: whatsapp-glow 2.5s infinite;
}

.whatsapp-float-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 0 12px rgba(85, 228, 137, 0.6), 0 12px 28px rgba(0, 0, 0, 0.3);
  color: #ffffff !important;
}

.whatsapp-float-btn i {
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes whatsapp-glow {
  0% {
    box-shadow: 0 0 0 4px rgba(85, 228, 137, 0.45), 0 6px 20px rgba(0, 0, 0, 0.18);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(85, 228, 137, 0.45), 0 10px 26px rgba(0, 0, 0, 0.24);
  }
  100% {
    box-shadow: 0 0 0 4px rgba(85, 228, 137, 0.45), 0 6px 20px rgba(0, 0, 0, 0.18);
  }
}

@media (max-width: 575.98px) {
  .whatsapp-float-btn {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    font-size: 28px;
    box-shadow: 0 0 0 6px rgba(85, 228, 137, 0.45), 0 6px 18px rgba(0, 0, 0, 0.2);
  }
}



