:root {
  --primary-color: #005999;
  /* Medical Trust Blue */
  --secondary-color: #1ebeb1;
  /* Logo Red - Accent */
  --accent-color: #00a8a8;
  /* Hospital Teal */
  --text-color: #334455;
  --heading-color: #004080;
  --white: #ffffff;
  --grey-bg: #ebebeb;
  /* Soft Alice Blue Background */
  --transition: all 400ms ease;
  --font-heading: "Poppins", sans-serif;
  --font-body: "Open Sans", sans-serif;
  --font-serif: "Lora", serif;
}

/* 1. Base Reset */
html,
body {
  width: 100%;
  margin: 0;
  padding: 0;

  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  border: none;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  outline: none !important;
}

body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-color);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

p,
span,
a {
  font-size: 15px;
}

@media (max-width: 575px) {

  p,
  span,
  a {
    font-size: 13.5px;
  }
}

a {
  text-decoration: none;
  color: var(--secondary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--heading-color);
  font-weight: 600;
  line-height: 1.4em;
}

.page-wrapper {
  position: relative;
  width: 100%;
  min-width: 320px;
}

/* 2. Header Styles */
.header-top {
  background: var(--white);
  padding: 10px 30px;
  /* Standardized with header */
  font-size: 14px;
  color: var(--text-color);
  width: 100%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.main-header {
  position: relative;
  width: 100%;
  z-index: 1000;
  background: var(--white);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.4s, box-shadow 0.4s;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.main-header.scrolled {
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.4s, box-shadow 0.4s, visibility 0s 0.4s;
}

.main-header.header-up {
  transform: translateY(0);
  visibility: visible;
  transition:
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s 0s,
    background 0.4s;
}

.main-header.header-down {
  transform: translateY(-100%);
  visibility: hidden;
}

.main-header.scrolled .header-upper {
  padding: 0 30px !important;
  box-shadow: none;
  background: transparent;
}

@media (max-width:350px) {
  .main-header.scrolled .header-upper {
    padding: 0 15px !important;
  }
}

.main-header.scrolled .main-logo {
  max-height: 80px;
}

.nav-cta-btn {
  margin-right: 0px;
  margin-left: 10px;
}

/* Standard Dropdown Caret Styling */
.dropdown-toggle::after {
  display: inline-block;
  margin-left: 5px;
  vertical-align: middle;
  content: "";
  border-top: 4px solid;
  border-right: 4px solid transparent;
  border-bottom: 0;
  border-left: 4px solid transparent;
  transition: transform 0.3s ease;
}

.nav-item.dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

/* Scroll Progress Bar */
.scroll-progress-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(0, 0, 0, 0.05);
}

.scroll-progress-bar {
  height: 100%;
  background: var(--secondary-color);
  width: 0%;
  transition: width 0.1s ease-out;
}

.header-top .top-outer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top a {
  color: var(--text-color);
  transition: var(--transition);
  text-decoration: none;
  font-weight: 500;
}

.header-top a:hover {
  color: var(--secondary-color);
}

.header-top .accent {
  color: var(--secondary-color);
  font-size: 16px;
}

.header-top .separator {
  color: rgba(0, 0, 0, 0.1);
  font-weight: 300;
}

.social-links a {
  font-size: 16px;
  opacity: 0.85;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 89, 153, 0.05);
}

.social-links a:hover {
  opacity: 1;
  transform: translateY(-5px) scale(1.1);
  color: var(--white);
  background: var(--secondary-color);
  box-shadow: 0 5px 15px rgba(30, 190, 177, 0.4);
}

.social-links a:hover,
.social-links a:hover i {
  color: var(--white) !important;
}

.social-links li {
  margin-left: 12px !important;
}

.social-links li:first-child {
  margin-left: 0 !important;
}

.social-links i {
  transition: transform 0.3s ease;
}

.social-links a:hover i {
  transform: scale(1.1);
  animation: socialPulse 1.5s infinite;
}

@keyframes socialPulse {
  0% {
    transform: scale(1.1);
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1.1);
  }
}

/* Footer specific social styling */
.footer-widget .social-links a {
  width: 38px;
  height: 38px;
  font-size: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widget .social-links a:hover {
  border-color: var(--secondary-color);
}

.language-dropdown {
  background: var(--white);
  color: var(--primary-color);
  padding: 8px 22px;
  border-radius: 25px 0px 25px 25px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  position: relative;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.language-dropdown:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(31, 169, 122, 0.2);
}

.header-upper {
  background: var(--white);
  padding: 5px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.main-header.scrolled .header-upper {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.main-logo {
  height: auto;
  max-height: 80px;
  width: auto;
  max-width: clamp(180px, 15vw, 250px);
  /* Dynamically scales with viewport */
  transition: var(--transition);
}

@media (max-width: 1400px) {
  .main-logo {
    max-width: 275px;
  }
}

.navbar-collapse {
  align-items: center;
}

.navbar-nav.navigation .nav-link {
  color: var(--primary-color);
  font-weight: 600;
  font-size: clamp(11.5px, 0.9vw, 13px);
  /* Responsive font sizing */
  padding: 30px clamp(5px, 0.8vw, 12px) !important;
  /* Responsive horizontal padding */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  position: relative;
}

.navbar-nav.navigation .nav-link:hover {
  color: var(--secondary-color);
}

.dropdown-menu {
  display: none;
  opacity: 0;
  visibility: hidden;
  border: none;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  border-radius: 0;
  /* Sharp corners like in image */
  padding: 0;
  margin-top: 0;
  background: #2b2b2b;
  /* Dark background from image */
  border-top: 4px solid var(--secondary-color);
  /* Lime green top border */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(15px);
  min-width: 250px;
  max-height: 85vh;
  /* Responsive limit for long menus */
  overflow-y: auto;
  /* Enable scroll for long lists like Pipelines */
}

/* Allow submenus to pop out to the right */
.dropdown-menu.has-submenus {
  max-height: none !important;
  overflow: visible !important;
}

.dropdown-menu.show {
  display: block !important;
}

@media (min-width: 1201px) {
  .nav-item.dropdown:hover>.dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    left: -30px;
  }
}

.dropdown-item {
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  padding: 15px 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  /* Separator from image */
  transition: all 0.3s ease;
}

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

.dropdown-item:hover {
  background: var(--secondary-color);
  /* Lime green hover from image */
  color: var(--white) !important;
  padding-left: 30px;
}

/* Multi-level Dropdown */
@media (min-width: 1201px) {
  .dropdown-submenu {
    position: relative;
  }

  .dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: 0;
    margin-left: 0;
    border-radius: 0 10px 10px 10px;
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    background: #2b2b2b;
    /* Match parent background */
    box-shadow: 15px 0 40px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    border-top: none;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 250px;
  }

  .dropdown-submenu:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  .dropdown-submenu>.dropdown-toggle {
    position: relative;
    padding-right: 50px;
    /* Space for the arrow */
  }

  .dropdown-submenu>.dropdown-toggle::after {
    display: none !important;
    /* Hide default Bootstrap caret */
  }

  .submenu-arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
    color: rgba(255, 255, 255, 0.7);
  }

  .dropdown-submenu:hover .submenu-arrow {
    transform: translateX(5px);
    color: var(--white);
  }

  /* Remove default Bootstrap caret for submenus */
  .dropdown-submenu>.dropdown-toggle::before {
    display: none !important;
  }
}

/* Mega Menu Styles */
@media (min-width: 1201px) {
  .dropdown-mega {
    position: static !important;
  }

  .dropdown-mega .mega-menu {
    width: 100%;
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: 1200px;
    border-radius: 0 0 15px 15px;
    border-top: 4px solid var(--secondary-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  }
}

.mega-links li a {
  padding: 8px 0;
  font-weight: 500;
  color: var(--text-color);
  transition: all 0.3s ease;
  display: block;
  font-size: 14px;
}

.mega-links li a:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
  background: transparent;
  padding-left: 0;
}

.mega-menu.glass {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top: 4px solid var(--secondary-color);
}

.mega-product-item {
  transition: var(--transition);
  padding: 15px;
  border-radius: 12px;
}

.mega-product-item:hover {
  background: rgba(0, 89, 153, 0.05);
  transform: translateY(-5px);
}

.mega-img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #f8f9fa;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.mega-product-item:hover .mega-img-wrapper {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.mega-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.mega-product-item:hover img {
  transform: scale(1.1);
}

.mega-product-item span {
  font-size: 14px;
  margin-top: 10px;
  transition: var(--transition);
}

.mega-product-item small {
  font-size: 11px;
  opacity: 0.7;
}

.btn-main,
.btn-quote,
.btn-white-arrow,
.btn-outline-white,
.brand-link,
.read-more-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
  min-width: 120px;
  height: 45px;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary-color);
  background: blur(3px) !important;
  backdrop-filter: blur(1px);
  border: 2px solid var(--primary-color) !important;
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1;
  cursor: pointer;
  text-decoration: none;
  gap: 8px;
}

.btn-main::before,
.btn-quote::before,
.btn-white-arrow::before,
.btn-outline-white::before,
.brand-link::before,
.read-more-btn::before {
  position: absolute;
  content: "";
  background: var(--primary-color);
  width: 350px;
  /* Increased to cover the 220px width */
  height: 350px;
  z-index: -1;
  border-radius: 50%;
  top: 100%;
  left: 100%;
  transition: 0.6s all cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-main:hover,
.btn-quote:hover,
.btn-white-arrow:hover,
.btn-outline-white:hover,
.brand-link:hover,
.read-more-btn:hover {
  color: var(--white) !important;
  border-color: var(--primary-color);
  box-shadow: none !important;
  /* Explicitly remove shadow */
}

.btn-main:hover::before,
.btn-quote:hover::before,
.btn-white-arrow:hover::before,
.btn-outline-white:hover::before,
.brand-link:hover::before,
.read-more-btn:hover::before {
  top: -50px;
  left: -50px;
}

.btn-main i,
.btn-quote i,
.btn-white-arrow i,
.btn-outline-white i,
.brand-link i,
.read-more-btn i {
  font-size: 18px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
}

.btn-main:hover i,
.btn-quote:hover i,
.btn-white-arrow:hover i,
.btn-outline-white:hover i,
.brand-link:hover i,
.read-more-btn:hover i {
  transform: translateX(5px);
}

/* Light Variant for Dark Backgrounds */
.btn-outline-white,
.btn-white-arrow {
  color: var(--white);
  border-color: var(--white) !important;
}

.btn-outline-white::before,
.btn-white-arrow::before {
  background: var(--white);
}

.btn-outline-white:hover,
.btn-white-arrow:hover {
  color: var(--primary-color) !important;
  border-color: var(--white) !important;
}

/* 3. Hero Section */
.hero-slider-section {
  position: relative;
  height: 500px;
  padding: 0 !important;
}

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

.carousel-item {
  position: relative;
}

.carousel-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 89, 153, 0.35);
  /* Medical Blue Overlay */
  z-index: 1;
}

.hero-bg {
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  /* fixed causes scroll repaint every frame */
  opacity: 1;
  z-index: 0;
  transition: transform 1.5s ease-out;
  will-change: transform;
  /* GPU layer — prevents layout recalc during scale */
}

.hero-bg.slide-1 {
  background-image: url("../img/hero-slider-1.webp");
}

.hero-bg.slide-2 {
  background-image: url("../img/hero-slider-2.webp");
}

.hero-bg.slide-3 {
  background-image: url("../img/hero-slider-4.webp");
}

.hero-bg.slide-4 {
  background-image: url("../img/hero-slider-5.webp");
}

.hero-bg.slide-spine {
  background-image: url("../img/hero-slider-3.webp");
}

.hero-bg.slide-hair {
  background-image: url("../img/hero-slider-6.webp");
}

.hero-bg.slide-global {
  background-image: url("../img/hero-slider-7.webp");
}

.swiper-slide-active .hero-bg {
  transform: scale(1.05);
  /* reduced from 1.1 — less repainting */
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 35px;
}

.main-heading {
  font-size: clamp(32px, 4vw, 48px) !important;
  /* Strictly 48px max */
  line-height: 1.2;
  margin-bottom: 25px;
  letter-spacing: -0.2px;
  font-weight: 700;
}

.subtext {
  max-width: 600px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
}

/* Swiper Navigation & Pagination */
.swiper-button-prev,
.swiper-button-next {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border-radius: 50%;
  color: var(--white);
  transition: var(--transition);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 20px;
  font-weight: 700;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: var(--secondary-color);
  transform: scale(1.1);
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: var(--white);
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  background: var(--secondary-color);
  opacity: 1;
}

.hero-swiper .swiper-slide::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right,
      rgba(0, 40, 80, 0.6) 0%,
      rgba(0, 40, 80, 0.2) 60%,
      rgba(0, 40, 80, 0) 100%);
  z-index: 1;
}

/* Unified with global button system */

/* 4. Inner Banner */
.inner-banner {
  position: relative;
  padding: 120px 0 80px;
  background: var(--primary-color);
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
  z-index: 1;
}

.inner-banner::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 89, 153, 0.7);
  /* Medical Blue Overlay */
  z-index: -1;
}

.inner-banner .container {
  position: relative;
  z-index: 2;
}

.inner-banner h1 {
  font-size: 42px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.inner-banner .breadcrumb {
  justify-content: center;
  background: transparent;
  padding: 0;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.inner-banner .breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.6);
  content: "/";
  padding: 0 10px;
}

.inner-banner .breadcrumb-item.active {
  color: var(--secondary-color);
}

.inner-banner .breadcrumb-item a {
  color: var(--white);
  opacity: 0.8;
}

.inner-banner .breadcrumb-item a:hover {
  opacity: 1;
  color: var(--secondary-color);
}

/* ================================================
   Common Section Spacing — Standardized to 70px
   Responsive: 70px → 50px → 40px → 30px
   ================================================ */
section {
  padding: 70px 0;
}

@media (max-width: 991px) {
  section {
    padding: 50px 0;
  }
}

@media (max-width: 767px) {
  section {
    padding: 40px 0;
  }
}

@media (max-width: 575px) {
  section {
    padding: 30px 0;
  }
}

.grey-bg {
  background: var(--grey-bg);
}

/* ================================================
   .py-70 Utility — same responsive cascade as section
   Used on inner page sections (about, patents, etc.)
   ================================================ */
.py-70 {
  padding-top: 70px !important;
  padding-bottom: 70px !important;
}

@media (max-width: 991px) {
  .py-70 {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }
}

@media (max-width: 767px) {
  .py-70 {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
}

@media (max-width: 575px) {
  .py-70 {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }
}

.main-footer {
  background: #111;
  color: #ababab;
  padding: 50px 0 0 30px;
}

.pct-process-section {
  background: #dfdfdf;
}

/* Footer CSS Grid - auto column sizing */
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
  align-items: start;
}


.footer-col {
  min-width: 0;
}

/* Responsive */
@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: minmax(180px, 220px) minmax(170px, 200px);
    gap: 35px;
  }
}

@media (max-width: 575px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-inner {
    padding: 0 20px;
  }
}

.main-footer h2 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 25px;
}

.main-footer .text {
  font-size: 14px;
  line-height: 1.8em;
}

/* About Sections Enhancements */
.accent {
  color: var(--secondary-color) !important;
}

.bg-light-soft {
  background-color: #f9fbff;
}

.sec-title h2 {
  color: var(--primary-color);
  position: relative;
  font-weight: 700;
}

.sub-title {
  color: var(--secondary-color);
  font-weight: 600;
  letter-spacing: 1.5px;
  font-size: 14px;
}

.title-line {
  width: 60px;
  height: 4px;
  background: var(--secondary-color);
  border-radius: 2px;
  margin-bottom: 20px;
}

.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-image-wrapper .image-inner {
  position: relative;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image-wrapper:hover .image-inner {
  transform: scale(1.02);
}

.floating-badge {
  animation: floatBadge 4s ease-in-out infinite;
}

@keyframes floatBadge {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

.italic-quote {
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.6;
}

@media (max-width: 991px) {
  .about-image-wrapper .image-inner img {
    min-height: 300px !important;
  }
}

.footer-widget {
  margin-bottom: 40px;
}

.footer-widget ul li {
  margin-bottom: 15px;
  list-style: none;
}

.footer-widget ul li span {
  display: block;
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 5px;
}

.footer-widget ul li div {
  font-size: 14px;
}

.footer-bottom {
  font-size: 13px;
}

.footer-bottom a {
  color: var(--secondary-color);
  text-decoration: none;
}

/* 6. About Section */
.about-section {
  background: var(--white);
}

.about-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 20px;
}

.bg-rolling-shape {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(100% + 10px);
  height: calc(100% + 10px);
  background: #2fd3c669;
  opacity: 0.5;
  transform: translate(-50%, -50%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  animation: rollShape 5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  z-index: 0;
  border-radius: 0;
  /* Clip-path handles the shape */
}

@keyframes rollShape {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  70% {
    transform: translate(-50%, -50%) rotate(180deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(180deg);
  }
}

.hex-main-img {
  position: relative;
  width: 100%;
  padding-top: 110%;
  /* Makes it taller than wide for a skewed hex look */
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  z-index: 1;
  background: var(--grey-bg);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.hex-main-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hex-badge {
  position: absolute;
  width: 150px;
  height: 160px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px 10px;
  z-index: 2;
  transition: var(--transition);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hex-badge:hover {
  transform: translateY(-8px);
}

.hex-badge .icon {
  font-size: 34px;
  margin-bottom: 8px;
  line-height: 1;
}

.hex-badge h5 {
  font-size: 13px;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
}

/* Specific Badge Positioning & Colors */
.badge-1 {
  top: -20px;
  left: 5%;
  background: var(--secondary-color);
  /* Teal/Greenish from user's sample? Secondary is #1ebeb1 (Logo Red? Wait, secondary in root is #1ebeb1 which is actually teal) */
  color: var(--white);
}

.badge-1 h5,
.badge-1 .icon {
  color: var(--white);
}

.badge-2 {
  top: 35%;
  left: -20%;
  background: var(--primary-color);
  color: var(--white);
}

@media (max-width: 1300px) and (min-width: 1200px) {
  .badge-2 {
    left: -8%;
  }
}

@media (max-width: 1150px) and (min-width: 1110px) {
  .badge-2 {
    left: -10%;
  }
}

@media (max-width: 1120px) and (min-width: 992px) {
  .badge-2 {
    left: -6%;
  }
}

.badge-2 h5,
.badge-2 .icon {
  color: var(--white);
}

.badge-3 {
  bottom: -15px;
  left: 15%;
  background: #636363;
  color: var(--white);
}

.badge-3 h5 {
  color: var(--white);
}

.badge-3 .icon {
  color: var(--white);
}

/* 5. Responsive adjustments */
@media (max-width: 991px) {

  .carousel-control-prev,
  .carousel-control-next {
    width: 45px;
    height: 45px;
  }

  .main-heading {
    font-size: 42px;
  }

  .hero-slider-section {
    height: 500px;
  }
}

@media (max-width: 767px) {
  .header-top {
    display: none;
  }

  .hero-slider-section {
    height: 450px;
  }

  .main-heading {
    font-size: 32px;
  }

  .btns-box .btn-white-arrow,
  .btns-box .btn-outline-white {
    width: 100%;
    justify-content: center;
  }

  .about-image-wrapper {
    max-width: 350px;
  }

  .hex-badge {
    width: 120px;
    height: 130px;
    padding: 10px;
  }

  .hex-badge .icon {
    font-size: 24px;
    margin-bottom: 5px;
  }

  .hex-badge h5 {
    font-size: 11px;
  }

  .badge-1 {
    top: -10px;
    left: 0%;
  }

  .badge-2 {
    top: 30%;
    left: -10%;
  }

  .badge-3 {
    bottom: -10px;
    left: 10%;
  }
}

/* 7. Bioactives Section */
.bioactives-section {
  background: #dddddd;
}

.bioactives-section .container {
  padding-left: 30px;
  padding-right: 30px;
}

.bioactives-section {
  background-color: #f2f7ff;
  /* Professional New Medical Blue-Grey */
}

.bioactives-section .row {
  display: flex;
  flex-wrap: wrap;
}

.bioactives-section [class*="col-"] {
  display: flex;
  flex-direction: column;
}

.sec-title.centered {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.sec-title .sub-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--secondary-color);

  letter-spacing: 2px;
  margin-bottom: 10px;
}

.sec-title h3 {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.main-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.3em;
}

.sec-title p {
  font-size: 16px;
  color: var(--text-color);
  line-height: 1.6;
}

/* Creative Bio Card */
.bio-card {
  position: relative;
  transition: var(--transition);
  background: var(--white);
  border-radius: 20px;
  padding: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.bio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 89, 153, 0.1);
}

.bio-card .image-box {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #f8fbff;
  height: 280px;
  padding: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.bio-card .image-box img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.bio-card:hover .image-box img {
  transform: scale(1.08);
}

/* Clinical Badge Effect */
/* .bio-card.premium-product-card .image-box::before {
  content: "CLINICALLY VALIDATED";
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary-color);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 5px;
  z-index: 2;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(0, 89, 153, 0.2);
} */

.bio-card .content-box {
  padding: 25px 15px 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-tag {
  font-size: 14px;
  font-weight: 700;
  color: var(--secondary-color);

  letter-spacing: 1.5px;
  margin-bottom: 12px;
  display: block;
}

.bio-card .content-box h4 {
  font-size: 22px;
  color: var(--text-color);
  margin-bottom: 15px;
  font-weight: 700;
  transition: var(--transition);
}

.bio-card .content-box p {
  font-size: 14px;
  color: var(--text-color);
  margin-bottom: 20px;
  line-height: 1.7;
}

.bio-card .read-more-btn {
  margin-top: auto;
  align-self: flex-start;
  text-decoration: none;
}

/* This will now inherit from .btn-main if we add the class or map the style */

@media (max-width: 767px) {
  .sec-title h3 {
    font-size: 26px;
  }

  .bio-card .image-box {
    height: 200px;
  }
}

/* 8. Counter Section */
.counter-section {
  background: var(--secondary-color);
  background-image: url("../img/bg-counter.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: var(--white);
}

/* Secondary Color Overlay for brand consistency */
.counter-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 190, 177, 0.55);
  /* Secondary Color Overlay */
  z-index: 1;
}

.counter-section .container {
  position: relative;
  z-index: 2;
  padding-left: 30px;
  padding-right: 30px;
}

.counter-column {
  margin-bottom: 40px;
}

.counter-box {
  text-align: center;
  padding: 30px 20px;
  background: var(--white);
  /* High contrast solid background */
  border: 2px solid rgba(0, 89, 153, 0.1);
  border-radius: 20px;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.counter-box:hover {
  background: #f8fbff;
  box-shadow: 0 20px 40px rgba(0, 89, 153, 0.12);
  border-color: var(--primary-color);
}

.counter-box .icon-box {
  font-size: 40px;
  margin-bottom: 15px;
  color: var(--primary-color);
  transition: var(--transition);
  line-height: 1;
}

.counter-box:hover .icon-box {
  transform: scale(1.15) translateY(-5px);
}

.counter-box .count-outer {
  margin-bottom: 5px;
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.count-text {
  font-size: clamp(24px, 4vw, 36px);
  /* Explicitly bigger responsively */
  font-weight: 800;
  color: var(--primary-color);
  transition: var(--transition);
}

.counter-box .plus {
  margin-left: 2px;
}

.counter-box .counter-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-color);

  letter-spacing: 1px;
}

.count-text.finished {
  animation: countPop 0.4s ease-out;
}

@keyframes countPop {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
    color: var(--secondary-color);
  }

  100% {
    transform: scale(1);
  }
}

@media (max-width: 767px) {
  .counter-box {
    padding: 30px 15px;
  }

  .count-text {
    font-size: clamp(36px, 10vw, 48px);
  }
}

/* 9. Why Microcore Section */
.why-microcore-section {
  position: relative;
  background: var(--white);
}

.why-microcore-section .container {
  padding-left: 30px;
  padding-right: 30px;
}

.why-microcore-section .feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  background: var(--grey-bg);
  padding: 20px;
  border-radius: 15px;
  border: 1px solid rgba(0, 89, 153, 0.05);
  transition: var(--transition);
}

.feature-item:hover {
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0, 89, 153, 0.08);
  transform: translateX(10px);
}

.feature-item .icon {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-right: 20px;
  flex-shrink: 0;
}

.feature-item .text h5 {
  font-size: 16px;
  margin-bottom: 5px;
  color: var(--primary-color);
  font-weight: 700;
}

.feature-item .text p {
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

/* Unified with global button system */

/* Image Wrapper Stylings */
.image-wrapper-creative {
  position: relative;
  padding: 40px;
  display: flex;
  justify-content: center;
}

.image-wrapper-creative img {
  border-radius: 40px;
  position: relative;
  z-index: 1;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  max-width: 100%;
}

.image-wrapper-creative::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 70%;
  height: 70%;
  background: var(--secondary-color);
  opacity: 0.1;
  border-radius: 40px;
  z-index: 0;
}

@media (max-width: 991px) {
  .image-wrapper-creative {
    padding: 20px;
    margin-top: 50px;
  }
}

/* 10. Brand Slider Section */
.brand-slider-section {
  position: relative;
  background-attachment: scroll;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.brand-slider-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(0, 89, 153, 0.85) 0%,
      rgba(0, 40, 80, 0.9) 100%);
  z-index: 1;
}

.brand-swiper {
  max-width: 900px;
  margin: 0 auto;
}

.brand-swiper .swiper-wrapper {
  display: flex !important;
  align-items: stretch !important;
}

.brand-swiper .swiper-slide {
  height: auto !important;
  display: flex;
  justify-content: center;
}

.brand-slider-section .container-brands {
  position: relative;
  z-index: 2;
  padding-left: 30px;
  padding-right: 30px;
}

.brand-card.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  padding: 40px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  margin: 0;
}

.brand-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.4);
}

.brand-card h3 {
  font-size: 32px;
  color: var(--white);
  margin-bottom: 5px;

  letter-spacing: 1px;
}

.brand-tag {
  font-size: 14px;
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 25px;
}

.brand-info p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
}

.brand-info strong {
  color: var(--white);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
}

@media (max-width: 991px) {
  .brand-card h3 {
    font-size: 26px;
  }
}

@media (max-width: 767px) {
  .brand-card.glass {
    padding: 30px 20px;
  }

  .brand-card h3 {
    font-size: 22px;
  }
}

/* 11. Redesigned Sections Managed at the end of file */

.custom-accordion .accordion-button:not(.collapsed) {
  background: transparent !important;
  color: var(--secondary-color) !important;
}

.custom-accordion .accordion-button::after {
  background-size: 15px;
  width: 15px;
  height: 15px;
  margin-left: auto;
}



/* Sticky FAQ Scroll behavior */
@media (min-width: 992px) {
  .sticky-faq-column {
    position: -webkit-sticky;
    position: sticky;
    top: 20px;
    align-self: start;
    z-index: 10;
  }
}

/* 12. Footer Styling */
.main-footer {
  background: var(--heading-color);
  color: var(--white);
  position: relative;
  overflow: hidden;
  /* Prevent animation bleed creating white space at bottom */
}

.pt-70 {
  padding-top: 70px !important;
}

.pb-70 {
  padding-bottom: 70px !important;
}

.pb-45 {
  padding-bottom: 45px !important;
}

@media (max-width: 991px) {
  .pt-70 {
    padding-top: 50px !important;
  }

  .pb-70 {
    padding-bottom: 50px !important;
  }
}

@media (max-width: 767px) {
  .pt-70 {
    padding-top: 40px !important;
  }

  .pb-70 {
    padding-bottom: 40px !important;
  }
}

@media (max-width: 575px) {
  .pt-70 {
    padding-top: 30px !important;
  }

  .pb-70 {
    padding-bottom: 30px !important;
  }
}

.footer-title {
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-logo img {
  max-width: 240px;
  width: 100%;
  height: auto;
  background: var(--white);
  padding: 15px 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

@media (max-width: 767px) {
  .footer-logo img {
    max-width: 180px;
    padding: 12px 20px;
  }
}

.footer-logo img:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: var(--secondary-color);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links li a {
  color: var(--white);
  font-size: 14px;
  transition: var(--transition);
  display: inline-block;
}

.footer-links li a:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

.border-white-10 {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.contact-info li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
}

.contact-info li i {
  font-size: 18px;
  color: var(--secondary-color);
  flex-shrink: 0;
  margin-right: 12px;
  /* Fixed space between icon and text */
  margin-top: 4px;
  /* Align icon with the first line of text */
}

.main-footer .social-links a {
  width: 35px;
  height: 35px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: var(--white) !important;
  opacity: 1;
}

.main-footer .social-links a:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-3px);
}

.main-footer .text-white,
.main-footer p,
.main-footer span,
.main-footer li,
.main-footer a {
  color: #ffffff !important;
  opacity: 1 !important;
}

.main-footer a:hover {
  color: var(--secondary-color) !important;
}

@media (max-width: 991px) {
  .footer-widget {
    margin-bottom: 30px;
  }
}

@media (max-width: 575px) {
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }

  .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* 13. Facility Gallery Section */
.gallery-section {
  background: var(--white);
  content-visibility: auto;
  contain-intrinsic-size: 500px;
}

.gallery-item {
  position: relative;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
}

.gallery-item img {
  height: 380px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 1, 0.2, 1);
  will-change: transform;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top,
      rgba(0, 89, 153, 0.85) 0%,
      rgba(0, 89, 153, 0.3) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.35s ease;
  padding: 30px;
  text-align: center;
  z-index: 2;
}

.gallery-icon {
  width: 60px;
  height: 60px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 20px;
  transform: scale(0.5);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.gallery-text h5 {
  margin-bottom: 5px;
  transform: translateY(20px);
  transition: all 0.5s ease;
  font-weight: 700;
}

.gallery-text span {
  display: block;
  transform: translateY(20px);
  transition: all 0.5s ease;
  transition-delay: 0.1s;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-icon {
  transform: scale(1);
}

.gallery-item:hover .gallery-text h5,
.gallery-item:hover .gallery-text span {
  transform: translateY(0);
}

@media (max-width: 991px) {
  .gallery-item img {
    height: 320px;
  }
}

@media (max-width: 767px) {
  .gallery-item img {
    height: 280px;
  }

  .about-image-wrapper {
    max-width: 100%;
    /* Take full width on mobile */
    padding: 20px;
  }

  .hex-main-img {
    padding-top: 85%;
    /* Slightly shallower but covers more width */
  }

  .hex-badge {
    width: 100px;
    height: 110px;
    padding: 8px;
  }

  .hex-badge .icon {
    font-size: 18px;
  }

  .hex-badge h5 {
    font-size: 9px;
  }

  .badge-1 {
    top: -10px;
    left: 0%;
  }

  .badge-2 {
    top: 35%;
    left: -2%;
  }

  .badge-3 {
    bottom: -10px;
    left: 10%;
  }
}

/* Custom 1200px Navbar Breakpoint */
@media (min-width: 1201px) {
  .navbar-expand-custom {
    flex-flow: row nowrap;
    justify-content: flex-start;
  }

  .navbar-expand-custom .navbar-nav {
    flex-direction: row;
  }

  .navbar-expand-custom .navbar-nav .dropdown-menu {
    position: absolute;
  }

  .navbar-expand-custom .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }

  .navbar-expand-custom .navbar-toggler {
    display: none;
  }

  .nav-cta-btn {
    display: inline-flex !important;
  }

  .nav-item.dropdown:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    left: -30px;
  }
}

@media (max-width: 1200px) {
  .navbar-expand-custom {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    width: 100%;
  }

  .navbar-brand {
    margin-right: 0;
    max-width: 70%;
  }

  .main-logo {
    max-width: 200px !important;
    max-height: 80px !important;
  }

  .navbar-expand-custom .navbar-collapse {
    padding: 20px;
    width: 100%;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 15px 15px;
    margin-top: 10px;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
  }

  .navbar-nav.navigation .nav-link {
    padding: 12px 0 !important;
    color: var(--primary-color) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 15px;
  }

  .navbar-nav.navigation li:last-child .nav-link {
    border-bottom: none;
  }

  .nav-item.dropdown>.nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav-item.dropdown>.nav-link::after {
    display: inline-block !important;
    content: "\ea4e";
    /* Remix Icon plus-line or simple caret */
    font-family: "remixicon";
    border: none;
    font-size: 18px;
    margin-left: auto;
    transition: transform 0.3s ease;
  }

  .nav-item.dropdown>.nav-link[aria-expanded="true"]::after {
    transform: rotate(180deg);
  }

  .dropdown-menu.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    position: static !important;
    box-shadow: none;
    border-top: none;
    padding-left: 15px;
    background: var(--grey-bg) !important;
    margin-top: 5px !important;
    border-radius: 8px;
  }

  .dropdown-item {
    color: var(--primary-color) !important;
    padding: 10px 20px;
    font-size: 14px;
  }

  .nav-cta-btn {
    display: block;
    margin: 20px 0 10px;
    text-align: center;
  }

  .nav-cta-btn .btn-quote {
    width: 100%;
    justify-content: center;
  }

  .navbar-collapse.show {
    display: block !important;
  }
}

/* Off-Canvas Mobile Menu Styles */
.offcanvas-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100vh;
  background: var(--white);
  z-index: 1050;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  visibility: hidden;
}

.offcanvas-menu.active {
  transform: translateX(-300px);
  visibility: visible;
}

.offcanvas-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(2px);
}

.offcanvas-overlay.active {
  opacity: 1;
  visibility: visible;
}

.offcanvas-header {
  padding: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  background: var(--white);
}

.offcanvas-body {
  flex: 1;
  overflow-y: auto;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) #f1f1f1;
}

.offcanvas-body::-webkit-scrollbar {
  width: 5px;
}

.offcanvas-body::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.offcanvas-body::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

.offcanvas-body::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

.offcanvas-nav {
  margin: 0;
  padding: 0;
}

.offcanvas-nav li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.offcanvas-nav li a {
  display: block;
  padding: 12px 20px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s ease;
}

.offcanvas-nav li a:hover,
.offcanvas-nav li a.active {
  background: #f5f5f5;
  color: var(--secondary-color);
  padding-left: 25px;
}

.offcanvas-nav .submenu-list a {
  padding: 10px 20px 10px 40px;
  font-size: 14px;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.02);
}

.offcanvas-nav .submenu-toggle i {
  transition: transform 0.3s ease;
}

.offcanvas-nav .submenu-toggle.active i {
  transform: rotate(180deg);
}

/* Mobile Toggler Visibility */
@media (min-width: 1201px) {

  .mobile-nav-toggler,
  .offcanvas-menu,
  .offcanvas-overlay {
    display: none !important;
  }
}

@media (max-width: 1200px) {
  .navbar-collapse {
    display: none !important;
  }

  .mobile-nav-toggler {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  body.offcanvas-open {
    overflow: hidden;
  }
}

/* Featured Products Styling */
.featured-products-section {
  background: var(--white);
}

.product-premium-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  display: flex;
  flex-direction: column;
}

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

.product-img-box {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: #f8f9fa;
}

.product-img-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: transform 0.6s ease;
}

.product-premium-card:hover .product-img-box img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--secondary-color);
  color: var(--white);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.product-info-box {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.category-tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--secondary-color);

  letter-spacing: 1px;
  margin-bottom: 10px;
  display: block;
}

.product-info-box h4 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.product-info-box .description {
  font-size: 14px;
  color: var(--text-color);
  margin-bottom: 20px;
  line-height: 1.6;
}

.product-features {
  margin-bottom: 25px;
  margin-top: auto;
}

.product-features li {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--heading-color);
  display: flex;
  align-items: center;
}

.product-features li i {
  color: var(--secondary-color);
  margin-right: 10px;
  font-size: 16px;
}

.btn-product {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 15px;
}

.btn-product i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.btn-product:hover {
  color: var(--secondary-color);
}

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

/* 11. Redesigned News Section */
.news-section {
  padding: 70px 0;
  background: var(--grey-bg);
}

.sec-title.centered {
  text-align: center;
  margin-bottom: 50px;
}

.sec-title.centered p {
  max-width: 600px;
  margin: 15px auto 0;
  color: var(--text-color);
  font-size: 16px;
}

/* Featured News Card V2 */
.featured-news-card-v2 {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 89, 153, 0.05);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.featured-news-card-v2:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 70px rgba(0, 89, 153, 0.12);
}

.featured-news-card-v2 .image-box {
  position: relative;
  height: 350px;
  overflow: hidden;
}

.featured-news-card-v2 .image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.featured-news-card-v2:hover .image-box img {
  transform: scale(1.1);
}

.featured-news-card-v2 .date-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--secondary-color);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  z-index: 2;
  box-shadow: 0 5px 15px rgba(30, 190, 177, 0.3);
}

.featured-news-card-v2 .content-box {
  padding: 40px;
}

.featured-news-card-v2 .category {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--secondary-color);
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.featured-news-card-v2 h3 {
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.3;
}

.featured-news-card-v2 p {
  color: var(--text-color);
  line-height: 1.8;
  margin-bottom: 25px;
  font-size: 16px;
}

.featured-news-card-v2 .btn-text {
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.featured-news-card-v2 .btn-text:hover {
  color: var(--secondary-color);
  gap: 15px;
}

/* Side News List */
.news-side-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.side-item {
  background: #f8fbff;
  padding: 25px;
  border-radius: 20px;
  border: 1px solid rgba(0, 89, 153, 0.03);
  transition: var(--transition);
}

.side-item:hover {
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0, 89, 153, 0.08);
  border-color: var(--secondary-color);
}

.side-item .tag {
  font-size: 14px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 10px;
  display: block;
}

.side-item h4 a {
  font-size: 18px;
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
  display: block;
  line-height: 1.4;
}

.side-item h4 a:hover {
  color: var(--secondary-color);
}

.side-item .meta {
  font-size: 13px;
  color: #8899aa;
  margin-top: 10px;
  font-weight: 500;
}

/* 12. Redesigned FAQ Section */
.faq-section {
  padding: 70px 0;
  background: var(--white);
}

.custom-faq-accordion .accordion-item {
  background: var(--white);
  border-radius: 20px !important;
  margin-bottom: 20px;
  overflow: hidden;
  transition: var(--transition);
}

.custom-faq-accordion .accordion-item:hover {
  box-shadow: 0 15px 40px rgba(0, 89, 153, 0.1) !important;
}

.custom-faq-accordion .accordion-button {
  padding: 25px 30px;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  background: var(--white);
  box-shadow: none !important;
  display: flex;
  align-items: center;
  gap: 15px;
}

.custom-faq-accordion .accordion-button::after {
  background-image: none;
  content: "\ea4e";
  /* Remix Icon plus-line */
  font-family: "remixicon";
  font-size: 24px;
  color: var(--secondary-color);
  transition: transform 0.4s ease;
  transform: rotate(0);
  margin-left: auto;
}

.custom-faq-accordion .accordion-button:not(.collapsed)::after {
  transform: rotate(135deg);
  color: var(--primary-color);
}

.custom-faq-accordion .icon-wrap {
  width: 45px;
  height: 45px;
  background: rgba(0, 89, 153, 0.05);
  color: var(--primary-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: var(--transition);
}

.custom-faq-accordion .accordion-button:not(.collapsed) .icon-wrap {
  background: var(--primary-color);
  color: var(--white);
}

.custom-faq-accordion .accordion-body {
  padding: 0 30px 30px 90px;
  color: var(--text-color);
  line-height: 1.8;
  font-size: 15px;
}

@media (max-width: 991px) {
  .featured-news-card-v2 .image-box {
    height: 300px;
  }

  .featured-news-card-v2 h3 {
    font-size: 24px;
  }
}

@media (max-width: 767px) {
  .featured-news-card-v2 .content-box {
    padding: 25px;
  }

  .custom-faq-accordion .accordion-button {
    padding: 20px;
    font-size: 16px;
  }

  .custom-faq-accordion .accordion-body {
    padding: 0 20px 20px 20px;
  }

  .custom-faq-accordion .icon-wrap {
    display: none;
    /* Hide icons on small mobile to save space */
  }
}

/* Fix FAQ Alignment and standardize icons */
.custom-faq-accordion .accordion-button {
  display: flex;
  align-items: center;
  padding: 22px 30px;
  text-align: left;
}

/* Remove default bootstrap arrow */
.custom-faq-accordion .accordion-button::after {
  display: none !important;
}

/* Custom Left Icon (Chevron) */
.custom-faq-accordion .icon-wrap {
  width: 32px;
  height: 32px;
  background: transparent;
  color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-right: 15px;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Custom Right Icon (Chevron) */
.custom-faq-accordion .accordion-button::before {
  content: "\ea4d";
  /* ri-arrow-down-s-line */
  font-family: "remixicon";
  position: absolute;
  right: 30px;
  font-size: 22px;
  color: var(--secondary-color);
  transition: transform 0.4s ease;
}

.custom-faq-accordion .accordion-button:not(.collapsed)::before {
  transform: rotate(180deg);
  color: var(--primary-color);
}

.custom-faq-accordion .accordion-button:not(.collapsed) .icon-wrap {
  background: var(--secondary-color);
  color: var(--white);
  border-color: var(--secondary-color);
  transform: rotate(180deg);
}

/* Standardize left FAQ icon behavior (No rotation for question mark) */
.custom-faq-accordion .accordion-button:not(.collapsed) .icon-wrap {
  transform: none;
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

/* 11. Redesigned News Section Fixes */
.featured-news-card-v2.h-auto {
  height: auto !important;
}

.featured-news-card-v2 .image-box {
  height: auto;
  /* Remove fixed height */
  min-height: 250px;
}

/* News Marquee */
.news-marquee-wrapper {
  position: relative;
  height: 600px;
  /* Base height for marquee */
  overflow: hidden;
  background: transparent;
  border-radius: 20px;
}

.news-marquee-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  animation: vertical-marquee 30s linear infinite;
  animation-play-state: paused;
}

.news-marquee-content.is-scrolling {
  animation-play-state: running;
}

.news-marquee-wrapper:hover .news-marquee-content {
  animation-play-state: paused;
}

@keyframes vertical-marquee {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
    /* Moves by half height since items are duplicated */
  }
}

@media (max-width: 991px) {
  .news-marquee-wrapper {
    height: 400px;
  }
}

/* Equal height fix for News Section */
.news-section .row {
  display: flex;
  align-items: stretch;
}

.news-marquee-wrapper {
  height: 100% !important;
  /* Force to fill the column height */
  min-height: 500px;
  /* Minimum fallback */
}

.news-section .col-lg-5 {
  display: flex;
  flex-direction: column;
}

/* 12. Responsive Dropdown Menus with Scrollbar */
.main-header .dropdown-menu {
  max-height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--secondary-color) transparent;
}

/* Custom Scrollbar for Chrome/Safari */
.main-header .dropdown-menu::-webkit-scrollbar {
  width: 5px;
}

.main-header .dropdown-menu::-webkit-scrollbar-track {
  background: transparent;
}

.main-header .dropdown-menu::-webkit-scrollbar-thumb {
  background: var(--secondary-color);
  border-radius: 10px;
}

@media (max-width: 991px) {
  .main-header .dropdown-menu {
    max-height: 300px;
    /* Shorter for mobile devices */
    margin: 10px 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
  }
}

/* Ensure dropdown items are readable */
.main-header .dropdown-item {
  padding: 10px 20px;
  white-space: normal;
  /* Allow text wrapping for long product names */
  font-size: 14px;
}

/* Fix for 1200px - 1400px screen range */
@media (min-width: 1101px) and (max-width: 1400px) {
  .main-logo {
    max-width: clamp(180px, 15vw, 270px) !important;
    /* Extremely compact logo */
  }

  .navbar-nav.navigation .nav-link {
    padding: 25px 10px !important;
    /* Ultra-tight horizontal padding */
    font-size: 13.5px !important;
    /* Scaled down font */
  }

  .nav-cta-btn {
    margin-left: 5px !important;
  }

  .btn-quote {
    min-width: 115px !important;
    /* Compact button */
    height: 40px !important;
    padding: 8px 10px !important;
    font-size: 13.5px !important;
    white-space: nowrap !important;
  }

  .btn-quote i {
    font-size: 14px !important;
  }
}

@media (max-width: 1200px) {
  .header-upper {
    padding: 0 15px !important;
  }
}

/* Global Overflow Fix */
html,
body {
  overflow-x: hidden !important;
  width: 100%;
  position: relative;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.page-wrapper {

  width: 100%;
  position: relative;
}

/* Fix for Bootstrap rows causing overflow */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.container,
.container-fluid {
  padding-left: 15px !important;
  padding-right: 15px !important;
  max-width: 100% !important;
  /* overflow: hidden;  <-- REMOVED to allow dropdown visibility */
}

/* Section specific overflow protection - keep this for non-header areas */
section .container,
section .container-fluid,
footer .container {
  overflow: visible;
}

/* Section specific overflow fixes */
section {
  position: relative;
  width: 100%;
  overflow: hidden !important;
}

/* Header Top fix - Reduced z-index to avoid lightbox conflicts */
.header-top {
  width: 100%;
  position: relative;
  z-index: 1050;
}

.main-header {
  width: 100%;
  max-width: 100%;
  position: relative;
  z-index: 1000;
  /* overflow: hidden;  <-- REMOVED to allow dropdown visibility */
}

/* AOS Animation Overflow Prevention */
[data-aos] {
  max-width: 100%;
}

/* Ensure Swiper doesn't bleed out */
.swiper-container,
.swiper {
  max-width: 100% !important;
  overflow: hidden !important;
}



/* 13. About Section Badges Re-positioning */
.about-badges-container {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  z-index: 10;
  width: 100%;
  justify-content: center;
}

.about-badges-container .hex-badge {
  position: relative !important;
  /* Override absolute positioning */
  top: auto !important;
  left: auto !important;
  bottom: auto !important;
  width: 140px;
  height: 150px;
  margin: 0;
}

@media (max-width: 1200px) {
  .about-badges-container {
    bottom: -60px;
    gap: 10px;
  }

  .about-badges-container .hex-badge {
    width: 120px;
    height: 130px;
  }
}

@media (max-width: 991px) {
  .about-badges-container {
    position: relative;
    bottom: 0;
    left: 0;
    transform: none;
    margin-top: 40px;
    flex-wrap: wrap;
  }
}

@media (max-width: 575px) {
  .about-badges-container {
    gap: 15px;
  }

  .about-badges-container .hex-badge {
    width: 110px;
    height: 120px;
  }

  .about-badges-container .hex-badge .icon {
    font-size: 24px;
  }

  .about-badges-container .hex-badge h5 {
    font-size: 10px;
  }
}

/* Refined About Section Badge Alignment */
.about-image-wrapper {
  position: relative;
  margin-bottom: 80px;
  /* More space for badges to prevent cutting */
  padding-bottom: 60px;
}

.about-badges-container {
  position: absolute;
  bottom: 0;
  /* Align to the bottom of the wrapper's padding */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 30px;
  z-index: 10;
  width: auto;
  justify-content: center;
}

/* Ensure the hexagon shape doesn't clip the badges */
.about-section {
  overflow: visible !important;
}

.about-section .container {
  overflow: visible !important;
}

@media (max-width: 1200px) {
  .about-image-wrapper {
    margin-bottom: 100px;
  }

  .about-badges-container {
    gap: 15px;
  }
}

@media (max-width: 991px) {
  .about-image-wrapper {
    margin-bottom: 40px;
    padding-bottom: 0;
  }

  .about-badges-container {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin: 40px auto 0;
    flex-wrap: wrap;
    gap: 20px;
  }
}

/* 14. Clients & Brands Section Styling */
.client-brand-item {
  text-align: center;
  transition: var(--transition);
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.client-img-box {
  width: 120px;
  height: 120px;
  overflow: hidden;
  border-radius: 50%;
  border-top: 3px solid var(--secondary-color);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.client-img-box img {
  width: 80%;
  height: auto;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.client-brand-item:hover .client-img-box img {
  transform: scale(1.2);
  /* Zoom view on hover */
}

.client-name {
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.brand-slider-section .sec-title h3 {
  color: var(--white);
}

.brand-slider-section .sec-title .sub-title {
  color: var(--secondary-color);
}

/* 14. Brand & Client Card Styles */
.client-card {
  padding: 30px !important;
  cursor: pointer;
}

.client-img-box {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 15px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.client-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.client-card:hover .client-logo-img {
  transform: scale(1.15);
}

.client-card h3 {
  font-size: 24px !important;
  margin-top: 15px !important;
  letter-spacing: 2px !important;
}

@media (max-width: 767px) {
  .client-img-box {
    height: 150px;
  }
}

/* 15. Hover Full Image Styling */
.client-card {
  padding: 0 !important;
  /* Remove padding for full image effect */
  overflow: hidden;
  border-radius: 20px !important;
}

.client-img-box {
  width: 100%;
  height: 350px !important;
  /* Much taller for full view */
  border-radius: 0 !important;
  background: transparent;
  /* Removed white background */
  position: relative;
}

.client-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  /* Changed to cover for full fill */
  padding: 0;
  /* Removed padding */
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.client-card:hover .client-logo-img {
  transform: scale(1.1);
  /* Subtle zoom */
  filter: brightness(0.8);
}

.zoom-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  width: 60px;
  height: 60px;
  background: var(--secondary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 5;
}

.client-card:hover .zoom-overlay {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.client-card .brand-header {
  padding: 20px;
  background: rgba(0, 0, 0, 0.05);
  margin-top: 0 !important;
  transition: background 0.4s ease;
}

.client-card:hover .brand-header {
  background: rgba(0, 0, 0, 0.1);
}

.client-card h3 {
  color: var(--white) !important;
  font-size: 18px !important;
  margin: 0 !important;
}

@media (max-width: 991px) {
  .client-img-box {
    height: 300px !important;
  }
}

/* 16. Bioactives & Product Card Styling */
.bio-card.premium-product-card {
  background: var(--white);
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.5s ease;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

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

.premium-product-card .image-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  /* Square ratio provides more vertical room */
  overflow: hidden;
  background: #fdfdfd;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 15px;
  /* Added padding to prevent box edges from touching the frame */
  display: flex;
  align-items: center;
  justify-content: center;
}

.premium-product-card .image-box img {
  width: 100%;
  height: 100% !important;
  display: block;
  object-fit: contain;
  /* Changed from cover to contain to stop all cutting */
  transition: transform 0.8s ease;
}

/* Ensure all slides are equal height in the swiper */
.product-swiper .swiper-slide {
  height: auto;
  display: flex;
}

.premium-product-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.premium-product-card .content-box {
  padding: 30px 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.premium-product-card .card-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(var(--primary-color-rgb), 0.08);
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 700;
  border-radius: 4px;
  /* Squared off slightly for clinical look */
  margin: 0 auto 15px;
  letter-spacing: 1.5px;
}

.premium-product-card h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--heading-color);
}

.premium-product-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 25px;
  flex-grow: 1;
}

.read-more-btn {
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin: auto auto 0 auto;
  /* Horizontally center and push to bottom */
  width: fit-content;
  /* Ensure it only takes needed width */
  padding: 10px 25px;
  border: 1.5px solid var(--primary-color);
  border-radius: 8px;
}

.read-more-btn i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.read-more-btn:hover {
  color: var(--secondary-color);
}

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

@media (max-width: 767px) {
  .premium-product-card .image-box {
    height: 240px;
  }
}

/* 10. Contact Page Styles */
.contact-page-section {
  background: var(--white);
}

.contact-info-wrapper .sub-title {
  display: block;
  font-weight: 700;
  color: var(--secondary-color);
  letter-spacing: 2px;
  margin-bottom: 10px;
  font-size: 14px;
}

.contact-info-wrapper h2 {
  font-size: clamp(28px, 3vw, 36px);
  margin-bottom: 20px;
}

.contact-info-box .icon-box {
  width: 50px;
  height: 50px;
  background: rgba(0, 89, 153, 0.05);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--primary-color);
  transition: var(--transition);
}

.contact-info-box:hover .icon-box {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
}

.contact-info-box h5 {
  font-size: 18px;
  margin-bottom: 5px;
}

.contact-info-box p,
.contact-info-box p a {
  margin: 0;
  color: var(--text-color);
  text-decoration: none;
  font-size: 15px;
}

.contact-info-box p a:hover {
  color: var(--secondary-color);
}

.social-link-item {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: var(--transition);
}

.social-link-item:hover {
  background: var(--secondary-color);
  color: var(--white);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(30, 190, 177, 0.4);
}

.contact-form-card {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;

  border: 1px solid rgba(0, 0, 0, 0.08);
}

.contact-form-card .form-control {
  height: 55px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 10px 20px;
  font-size: 15px;
  transition: var(--transition);
  background: #fcfcfc;
}

.contact-form-card textarea.form-control {
  height: auto;
  padding-top: 15px;
}

.contact-form-card .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(0, 89, 153, 0.1);
  background: var(--white);
}

.map-section iframe {
  display: block;
  filter: grayscale(0.2) contrast(1.1);
}

@media (max-width: 991px) {
  .contact-form-card {
    padding: 30px;
    margin-top: 40px;
  }
}

/* 11. Enhanced Index Section Styles */
.study-card {
  transition: var(--transition);
  cursor: default;
}

.study-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1) !important;
}

.video-presentation-wrapper .play-btn-v2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: var(--white);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  z-index: 2;
  transition: var(--transition);
}

.video-presentation-wrapper .play-btn-v2:hover {
  background: var(--secondary-color);
  color: var(--white);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-presentation-wrapper .ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  z-index: 1;
  animation: rippleAnimation 2s infinite;
}

@keyframes rippleAnimation {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

.video-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 2;
}

.cta-bottom .floating-blobs {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  filter: blur(50px);
}

.stat-mini {
  transition: var(--transition);
}

.stat-mini:hover {
  background: var(--white) !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* Heading Icons */
.heading-icon-hero {
  width: 60px;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
  animation: floatIcon 3s ease-in-out infinite;
}

.heading-icon {
  width: 50px;
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

@keyframes floatIcon {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 767px) {
  .heading-icon-hero {
    width: 40px;
  }

  .heading-icon {
    width: 35px;
  }

  .main-heading {
    flex-direction: column;
    align-items: flex-start !important;
  }

  .main-heading img {
    margin-bottom: 15px;
  }
}

@charset " UTF-8\;

/* ----------------------------------------------------------------
 About Page Styles
---------------------------------------------------------------- */

.glass {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

[data-aos] {
  will-change: transform, opacity;
}

.separator-line {
  width: 60px;
  height: 3px;
  background: var(--secondary-color);
  border-radius: 2px;
}

/* About Overview */
.image-box-creative {
  position: relative;
  padding: 20px;
}

.floating-experience-card {
  position: absolute;
  bottom: -20px;
  right: 0;
  padding: 20px 30px;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.cert-item span {
  transition: var(--transition);
}

.cert-item span:hover {
  background: var(--primary-color) !important;
  color: var(--white) !important;
  transform: translateY(-3px);
}

/* Vision Mission */
.vision-card,
.mission-card,
.policy-card {
  transition: var(--transition);
  border-radius: 20px;
}

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

.secondary-card {
  background: var(--primary-color) !important;
}

.secondary-card:hover {
  transform: translateY(-10px);
  background: var(--heading-color) !important;
}

/* MD Message */
.md-portrait-wrapper {
  position: relative;
}

.md-signature-box {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
}

.quote-box {
  background: rgba(0, 89, 153, 0.02);
  border-radius: 30px;
}

/* Recognition */
.recognition-card {
  border-radius: 15px;
  transition: var(--transition);
}

.recognition-card:hover {
  transform: translateX(10px);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.play-btn-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: var(--secondary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  z-index: 2;
  transition: var(--transition);
}

.play-btn-pulse::before {
  content: \\;
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--secondary-color);
  border-radius: 50%;
  z-index: -1;
  animation: pulse-ring 1.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(.33);
  }

  80%,
  100% {
    opacity: 0;
  }
}

/* Team */
.team-card {
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-10px);
}

.team-card .image-box img {
  transition: transform 0.6s ease;
}

.team-card:hover .image-box img {
  transform: scale(1.1);
}

/* Awards */
.award-list-item {
  transition: var(--transition);
}

.award-list-item:hover {
  padding-left: 1.5rem !important;
  color: var(--primary-color);
  background: rgba(0, 89, 153, 0.05);
}

@media (max-width: 991px) {
  .floating-experience-card {
    position: static;
    margin-top: 20px;
  }

  .md-signature-box {
    position: static;
    margin-top: 20px;
    background: var(--white);
  }
}

.image-wrapper-glow {
  position: relative;
  z-index: 1;
}

.glow-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: var(--secondary-color);
  filter: blur(80px);
  opacity: 0.3;
  z-index: -1;
  border-radius: 50%;
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.5;
  }
}

/* 5. About Page Specific Styles */
.about-page-section {
  /* Inherits padding from global section rule */
}

.creative-about-img {
  position: relative;
  padding-right: 30px;
  padding-bottom: 30px;
}

.experience-badge {
  position: absolute;
  right: 0;
  bottom: 0;
  background: var(--white);
  padding: 25px 35px;
  border-radius: 15px;
  text-align: center;
  z-index: 2;
  border-left: 5px solid var(--secondary-color);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.experience-badge .number {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 5px;
}

.experience-badge .text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-color);
  letter-spacing: 1px;
}

/* Glassmorphic Value Cards */
.mission-vision-section {
  background-image: radial-gradient(circle at top right, rgba(0, 89, 153, 0.05), transparent),
    radial-gradient(circle at bottom left, rgba(30, 190, 177, 0.05), transparent);
}



.value-card.glass {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 45px 35px;
  border-radius: 20px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.value-card.glass::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(30, 190, 177, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.value-card.glass:hover {
  transform: translateY(-15px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1) !important;
}

.value-card.glass:hover::after {
  opacity: 1;
}

.value-card.glass.featured {
  background: rgba(0, 89, 153, 0.03);
  border: 1px solid rgba(0, 89, 153, 0.1);
}

.value-card.glass .icon-box {
  width: 70px;
  height: 70px;
  background: var(--white);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 89, 153, 0.1);
  transition: all 0.4s ease;
}

.value-card.glass:hover .icon-box {
  background: var(--primary-color);
  color: var(--white);
  transform: rotateY(360deg);
}

.value-card.glass h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.value-card.glass p {
  color: var(--text-color);
  margin-bottom: 0;
  line-height: 1.8;
}

/* Timeline V2 */
.timeline-v2 {
  position: relative;
  padding-left: 45px;
}

.timeline-v2::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: rgba(0, 89, 153, 0.1);
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.time-dot {
  position: absolute;
  left: -45px;
  top: 10px;
  width: 12px;
  height: 12px;
  background: var(--white);
  border: 3px solid var(--primary-color);
  border-radius: 50%;
  z-index: 1;
  transition: all 0.3s ease;
}

.timeline-item.active .time-dot {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 5px rgba(30, 190, 177, 0.2);
}

.timeline-content h4 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--heading-color);
}

.timeline-content p {
  font-size: 15px;
  color: var(--text-color);
  margin-bottom: 0;
}

.cta-section-simple {
  position: relative;
  overflow: hidden;
}

.cta-section-simple::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

/* Creative Image Design for About Page */
.creative-image-box {
  position: relative;
  padding: 30px;
  z-index: 1;
  max-width: 550px;
  margin: 0 auto;
}

.creative-image-box .main-img-box {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  z-index: 2;
  background: var(--white);
}

.creative-image-box .main-img-box img {
  width: 100%;
  height: 450px;
  /* Fixed height for consistency */
  display: block;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  object-fit: cover;
}

.creative-image-box:hover .main-img-box img {
  transform: scale(1.08);
}

.creative-image-box .bottom-info-box {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 180px;
  background: var(--secondary-color);
  padding: 30px 20px;
  border-radius: 0 30px 0 30px;
  color: var(--white);
  z-index: 3;
  text-align: center;
  transition: all 0.4s ease;
}

.creative-image-box:hover .bottom-info-box {
  transform: translateY(-10px);
}

.creative-image-box .bottom-info-box i {
  font-size: 25px;
  display: block;
  margin-bottom: 12px;
  line-height: 1;
}

.creative-image-box .bottom-info-box span {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  display: block;
}

/* Specific variants if needed */
.creative-image-box.alt-style .top-accent-box {
  background: var(--secondary-color);
}

.creative-image-box.alt-style .bottom-info-box {
  background: var(--primary-color);
}

@media (max-width: 575px) {
  .creative-image-box {
    padding: 15px;
  }

  .creative-image-box .bottom-info-box {
    width: 140px;
    padding: 20px 15px;
  }

  .creative-image-box .bottom-info-box i {
    font-size: 35px;
  }

  .creative-image-box .bottom-info-box span {
    font-size: 13px;
  }

}

/* Vision & Mission Cards */
.vm-card {
  background: var(--white);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.vm-card:hover {
  box-shadow: 0 20px 40px rgba(0, 89, 153, 0.1) !important;
}

.vm-card .icon-box {
  width: 80px;
  height: 80px;
  background: rgba(30, 190, 177, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  font-size: 35px;
  transition: all 0.4s ease;
}

.vm-card:hover .icon-box {
  background: var(--secondary-color);
  color: var(--white);
  transform: rotateY(180deg);
}

.vm-card.featured-card {
  background: linear-gradient(145deg, #ffffff 0%, #f9fbff 100%);
  border-top: 4px solid var(--secondary-color) !important;
}

.vm-card h3 {
  color: var(--primary-color);
  font-size: 24px;
}

.vm-card ul li span {
  font-size: 15px;
  line-height: 1.7;
}

.vision-mission-section .title-line {
  background: var(--secondary-color);
}

.vm-card.bg-primary-card {
  background: var(--primary-color) !important;
  color: var(--white);
}

.vm-card.bg-secondary-card {
  background: var(--secondary-color) !important;
  color: var(--white);
}

.vm-card.bg-primary-card h3,
.vm-card.bg-secondary-card h3,
.vm-card.bg-primary-card p,
.vm-card.bg-secondary-card p,
.vm-card.bg-primary-card span,
.vm-card.bg-primary-card .text-muted,
.vm-card.bg-secondary-card .text-muted {
  color: var(--white) !important;
}

.vm-card.bg-primary-card .icon-box,
.vm-card.bg-secondary-card .icon-box {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.vm-card.bg-primary-card .accent,
.vm-card.bg-secondary-card .accent {
  color: var(--white) !important;
}

/* Corporate MD Desk Section */
.md-desk-section-v2 {
  background: linear-gradient(to right, #fcfdfe 0%, #f4f8fb 100%);
  position: relative;
  overflow: hidden;
}

.md-desk-section-v2 .container {
  position: relative;
  z-index: 2;
}

.md-quote-icon {
  font-size: 80px;
  color: var(--primary-color);
  opacity: 0.05;
  position: absolute;
  top: -20px;
  left: -10px;
  z-index: 0;
}

.md-message-box {
  position: relative;
  z-index: 1;
}

.md-message-box p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-color);
  position: relative;
  padding-left: 0;
}

.md-signature-corporate {
  padding-top: 30px;
  border-top: 1px solid rgba(0, 89, 153, 0.1);
  display: flex;
  align-items: center;
  gap: 20px;
}

.md-signature-corporate .line {
  width: 40px;
  height: 2px;
  background: var(--secondary-color);
}

.video-presentation-frame {
  position: relative;
  padding: 15px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.video-presentation-frame::after {
  content: "";
  position: absolute;
  top: -10px;
  right: -10px;
  bottom: -10px;
  left: -10px;
  border-radius: 25px;
  z-index: -1;
}

.video-presentation-frame .ratio {
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

/* Subtle hover without transform */
.video-presentation-frame:hover {
  border-color: var(--secondary-color);
  box-shadow: 0 35px 70px rgba(0, 89, 153, 0.12);
}

.md-desk-section-v2 .main-title {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}


/* Management & Awards Section */
.management-section {
  background: #eefaff;
}

.management-bio-text p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 25px;
}

.award-main-img-wrapper {
  margin: 40px 0;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border: 8px solid var(--white);
  background: var(--white);
  height: 500px;
  /* Constrain tall images */
}

.award-main-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Prevent stretching */
  display: block;
}

.awards-timeline {
  margin-top: 50px;
}

.award-item-row {
  padding: 15px 0;
  border-bottom: 1px dashed rgba(0, 89, 153, 0.1);
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: background 0.3s ease;
}

.award-item-row:hover {
  background: rgba(30, 190, 177, 0.03);
}

.award-year {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  color: var(--primary-color);
  min-width: 80px;
  padding-top: 2px;
}

.award-detail {
  font-size: 14.5px;
  color: var(--text-color);
  line-height: 1.6;
}

.award-detail strong {
  color: var(--primary-color);
  font-size: 15px;
}

.ceremony-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.ceremony-img-item {
  border-radius: 15px;
  overflow: hidden;
  height: 180px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  border: 4px solid var(--white);
}

.ceremony-img-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-corporate-card {
  background: var(--grey-bg);
  border-radius: 25px;
  padding: 40px;
  border: 1px solid rgba(0, 89, 153, 0.05);
  display: flex;
  gap: 30px;
  align-items: center;
  margin-top: 60px;
}

.profile-corporate-card .profile-img {
  width: 180px;
  height: 180px;
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  background: var(--white);
}

.profile-corporate-card .pipeline-image-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.pipeline-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-corporate-card .profile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Fixed aspect ratio for portraits */
}

.profile-corporate-card .profile-info h4 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.profile-corporate-card .profile-info .designation {
  font-size: 14px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 15px;
  display: block;
}

.profile-corporate-card .profile-info p {
  font-size: 15px;
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .profile-corporate-card {
    flex-direction: column;
    text-align: center;
    padding: 30px;
  }
}

@media (max-width: 767px) {
  .creative-image-box .main-img-box img {
    height: 300px;
  }

  .award-main-img-wrapper {
    height: 350px;
  }

  .profile-corporate-card .profile-img {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
  }
}

/* Social Links Founder Accent Box */
.social-links-founder a {
  transition: color 0.3s ease;
  opacity: 0.8;
}

.social-links-founder a:hover {
  color: var(--secondary-color) !important;
  opacity: 1;
}


/* about page new list style - 30.04 */
.custom-list {
  list-style: none;
  padding: 0;
  margin: 0;
  /* removes top space */
}

.custom-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.custom-list li:last-child {
  margin-bottom: 0;
  /* removes extra bottom gap */
}

.custom-list i {
  color: var(--color-accent);
  /* your gold */
  font-size: 16px;
}

/* ----------------------------------------------------------------
 Patents & Intellectual Property Premium Styles
---------------------------------------------------------------- */

.patents-showcase-section {
  background: linear-gradient(to bottom, #fff, #f8fbff);
}

.patent-card-premium {
  background: var(--white);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 89, 153, 0.05);
  display: flex;
  gap: 20px;
  border: 1px solid rgba(0, 89, 153, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.patent-card-premium::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--secondary-color);
  transition: height 0.4s ease;
}

.patent-card-premium:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 89, 153, 0.1);
  border-color: var(--secondary-color);
}

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

.patent-card-premium .card-icon {
  width: 50px;
  height: 50px;
  background: rgba(30, 190, 177, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--secondary-color);
  flex-shrink: 0;
}

.patent-card-premium .patent-number {
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}

.patent-card-premium h5 {
  font-size: 18px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 5px;
}

.patent-card-premium p {
  font-size: 14px;
  color: var(--text-color);
  margin-bottom: 0;
}

/* Certificate Styling */
.patent-cert-premium,
.patent-cert-featured {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  background: #fff;
  border: 8px solid #fff;
}

.patent-cert-featured {
  max-width: 800px;
  margin: 0 auto;
}

.patent-cert-premium:hover,
.patent-cert-featured:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 89, 153, 0.15);
}

.cert-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 89, 153, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  color: #fff;
}

.patent-cert-premium:hover .cert-overlay,
.patent-cert-featured:hover .cert-overlay {
  opacity: 1;
}

.cert-overlay i {
  font-size: 32px;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.patent-cert-premium:hover .cert-overlay i,
.patent-cert-featured:hover .cert-overlay i {
  transform: translateY(0);
}

.cert-label {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--secondary-color);
  color: #fff;
  padding: 8px 15px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* PCT Card */
.pct-premium-card {
  background: linear-gradient(135deg, var(--primary-color), var(--heading-color));
  padding: 40px;
  border-radius: 25px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 89, 153, 0.2);
}

.pct-premium-card p {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
}

.pct-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  border-left: 5px solid #fff;
  padding: 4px 20px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 700;

  letter-spacing: 1px;
}

/* Process List */
.process-patent-list .p-list-item {
  transition: background 0.3s ease;
}

.process-patent-list .p-list-item:hover {
  background: #f0f7ff !important;
}

.p-icon {
  width: 40px;
  height: 40px;
  background: #f8f9fa;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 18px;
}

/* ----------------------------------------------------------------
 Patents, Trademarks & Accreditations Styles
---------------------------------------------------------------- */

/* Trademark Section */
.trademark-cloud-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow: hidden;
}

@media (max-width: 991px) {
  .trademark-cloud-section {
    background-attachment: scroll;
  }
}

.section-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(33, 37, 41, 0.9), rgba(52, 58, 64, 0.8));
  z-index: 1;
}

.trademark-cloud-section .container {
  position: relative;
  z-index: 5;
}

.trademark-cloud-section .main-title,
.trademark-cloud-section .sub-title {
  color: #fff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.trademark-cloud-section .sub-title::before {
  background: var(--secondary-color) !important;
}

.trademark-pill-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
}

.tm-pill-glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tm-pill-glass:hover {
  background: var(--white);
  color: var(--primary-color);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  border-color: var(--white);
}

.tm-pill-glass sup {
  color: var(--secondary-color);
  font-weight: 700;
}

/* Accreditations Section - Clean Grid Style (Matching Image) */
.certification-grid-section .cert-card-premium {
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  border: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.certification-grid-section .cert-logo-box {
  width: 100%;
  height: 120px;
  background: transparent;
  border: none;
  box-shadow: none;
  margin: 0 auto 20px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.certification-grid-section .cert-logo-box img {
  max-width: 100%;
  max-height: 110px;
  width: auto;
  object-fit: contain;
}

.certification-grid-section .cert-card-premium h5 {
  font-size: 19px;
  font-weight: 700;
  color: #005999;
  /* Primary Brand Blue from image */
  margin-bottom: 10px;
  text-transform: none;
}

.certification-grid-section .cert-card-premium p {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  max-width: 220px;
  margin: 0 auto;
}

.cert-item-box {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  background: #fff;
  padding: 10px;
  border: 1px solid #eee;
  transition: all 0.3s ease;
}

.cert-item-box:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cert-name {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 89, 153, 0.9);
  color: #fff;
  padding: 10px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cert-item-box:hover .cert-name {
  transform: translateY(0);
}

.recognition-badges .badge-item {
  transition: all 0.3s ease;
  border: 1px solid #eee;
}

/* ----------------------------------------------------------------
 Contact Page Ultimate Premium Styles
----------------------------------------------------------------- */

.glass-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* ----------------------------------------------------------------
 Contact Dashboard & Modern Infrastructure Styles
----------------------------------------------------------------- */

.contact-dashboard-form {
  background: #fff;
  border: 1px solid #f0f0f0;
  transition: all 0.4s ease;
  position: relative;
}

.contact-dashboard-form .form-label {
  display: block;
  margin-bottom: 6px;
  color: var(--heading-color);
  letter-spacing: 0.5px;
  font-size: 12px;
}

.contact-dashboard-form .form-control {
  background: #f8fafc;
  transition: all 0.3s ease;
  border-color: #e2e8f0;
  padding: 12px 18px;
  font-size: 14px;
}

.contact-dashboard-form .form-control:focus {
  background: #fff;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(0, 89, 153, 0.1);
  outline: none;
}

/* Status Cards */
.info-status-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
  height: fit-content;
}

.info-status-card:hover {
  border-color: var(--primary-color);
  transform: translateX(10px);
}

.status-icon {
  width: 50px;
  height: 50px;
  background: rgba(0, 89, 153, 0.1);
  color: var(--primary-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.icon-alt {
  background: rgba(30, 190, 177, 0.1);
  color: var(--secondary-color);
}

/* Modern Facility Cards */
.modern-facility-card {
  background: #fff;
  border-radius: 30px;
  position: relative;
  border: 1px solid #f0f0f0;
  transition: all 0.5s ease;
}

.card-dark {
  background: #1a202c;
  color: #fff;
  border: none;
}

.card-dark .fac-title,
.card-dark .fac-type {
  color: #fff;
}

.card-dark .fac-address p {
  color: #cbd5e0;
}

.fac-number {
  position: absolute;
  top: 40px;
  right: 40px;
  font-size: 60px;
  font-weight: 900;
  opacity: 0.05;
  line-height: 1;
}

.fac-type {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--primary-color);
}

.fac-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--heading-color);
}

.fac-badge {
  background: rgba(0, 89, 153, 0.08);
  color: var(--primary-color);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
}

.card-dark .fac-badge {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Dept Dashboard */
.dept-dashboard-grid {
  background: #fff;
  border: 1px solid #f0f0f0;
}

.dept-entry {
  transition: all 0.4s ease;
}

.dept-entry:hover {
  background: #f8fafc;
}

.entry-icon {
  width: 70px;
  height: 70px;
  background: rgba(0, 89, 153, 0.05);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto;
}

.entry-icon.icon-secondary {
  color: var(--secondary-color);
  background: rgba(30, 190, 177, 0.05);
}

.entry-icon.icon-accent {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.05);
}

.dept-entry h4 {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #777;
  margin-bottom: 20px;
}

.dept-entry .person {
  font-size: 20px;
  font-weight: 800;
  color: var(--heading-color);
  margin-bottom: 5px;
}

.dept-entry .role {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.entry-link {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 14px;
}

.entry-link:hover {
  color: var(--secondary-color);
}
}

/* Dept Card New */
.dept-card-new {
  background: #fff;
  padding: 50px 40px;
  border-radius: 25px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
}

.dept-card-new:hover {
  transform: scale(1.05);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.1);
  border-color: var(--secondary-color);
}

.dept-icon-circle {
  width: 80px;
  height: 80px;
  background: #f0f7ff;
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 25px;
  transition: all 0.4s ease;
}

.dept-card-new:hover .dept-icon-circle {
  background: var(--primary-color);
  color: #fff;
  transform: rotateY(360deg);
}

.dept-header h4 {
  font-size: 22px;
  font-weight: 800;
  color: var(--heading-color);
  margin-bottom: 30px;
}

.person-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.designation {
  font-size: 14px;
  color: #666;
  font-weight: 500;
  margin-bottom: 25px;
}

.dept-links a {
  display: block;
  color: var(--text-color);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.dept-links a:hover {
  color: var(--secondary-color);
}

.dept-links i {
  margin-right: 8px;
  color: var(--secondary-color);
}


.recognition-badges .badge-item:hover {
  background: #fff !important;
  border-color: var(--secondary-color);
  transform: translateY(-2px);
}

.award-image-box {
  position: relative;
  transition: var(--transition);
  background: #fff;
  min-height: 450px;
}

.award-image-box:hover {
  transform: translateY(-5px);
}

.award-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.award-image-box:hover img {
  transform: scale(1.03);
}

.patent-cert-premium {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  border: 1px solid #eee;
  background: #fff;
  cursor: pointer;
  transition: var(--transition);
  height: 400px;
}



/*--------------------------------------------------------------
# Brand Trademarks Showcase (Perfect Design)
--------------------------------------------------------------*/
.tm-brand-showcase {
  position: relative;
  background: linear-gradient(135deg,
      rgba(0, 89, 153, 0.98) 0%,
      rgba(0, 40, 80, 0.95) 50%,
      rgba(30, 190, 177, 0.9) 100%), url('../img/tn-corporate-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow: hidden;
  z-index: 1;
}

/* Removed redundant overlay div styles since background is combined */

.tm-brand-showcase .container {
  position: relative;
  z-index: 2;
}

.tm-cloud-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  /* Added gap for spacing */
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.tm-glass-badge {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  padding: 12px 28px !important;
  border-radius: 50px !important;
  color: var(--white) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  cursor: default !important;
  display: inline-flex !important;
  align-items: center !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2) !important;
  letter-spacing: 1px !important;
  position: relative !important;
  overflow: hidden !important;
  margin: 5px !important;
}

.tm-glass-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: 0.5s;
}

.tm-glass-badge:hover::before {
  left: 100%;
}

.tm-glass-badge:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-10px) scale(1.1);
  border-color: var(--secondary-color);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  color: var(--white);
  z-index: 10;
}

.tm-glass-badge sup {
  font-size: 9px;
  margin-left: 4px;
  opacity: 0.8;
}

/* Dynamic Floating System */
@keyframes tmFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-15px) rotate(1deg);
  }
}

.tm-glass-badge:nth-child(3n+1) {
  animation: tmFloat 6s ease-in-out infinite;
}

.tm-glass-badge:nth-child(3n+2) {
  animation: tmFloat 8s ease-in-out infinite;
  animation-delay: 1s;
}

.tm-glass-badge:nth-child(3n+3) {
  animation: tmFloat 7s ease-in-out infinite;
  animation-delay: 2s;
}

@media (max-width: 1200px) {
  .tm-brand-showcase {
    background-attachment: scroll;
  }
}

@media (max-width: 768px) {
  .tm-glass-badge {
    padding: 10px 25px;
    font-size: 12px;
  }
}

/*--------------------------------------------------------------
# Patent & Trademark Page Styles
--------------------------------------------------------------*/
.patent-card-premium {
  background: var(--white);
  padding: 25px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
}

.patent-card-premium:hover {
  transform: translateX(10px);
  border-color: var(--secondary-color);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.patent-card-premium .card-icon {
  width: 60px;
  height: 60px;
  background: rgba(30, 190, 177, 0.1);
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 24px;
  flex-shrink: 0;
  transition: var(--transition);
}

.patent-card-premium:hover .card-icon {
  background: var(--secondary-color);
  color: var(--white);
  transform: rotateY(180deg);
}

.patent-card-premium .patent-number {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 1px;
  display: block;
  margin-bottom: 5px;
}

.patent-card-premium h5 {
  font-size: 18px;
  margin-bottom: 5px;
  color: var(--heading-color);
}

.patent-card-premium p {
  font-size: 13px;
  margin-bottom: 0;
  color: var(--text-color);
  opacity: 0.8;
}

.patent-cert-premium {
  position: relative;
  background: var(--white);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.patent-cert-premium img {
  width: 100%;
  height: auto;
  border: 1px solid #f1f5f9;
  border-radius: 4px;
  transition: all 0.4s ease;
}

.patent-cert-premium:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 89, 153, 0.1);
  border-color: var(--primary-color);
}

.patent-cert-premium .cert-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 10;
}

.patent-cert-premium:hover .cert-overlay {
  opacity: 1;
}

.patent-cert-premium .cert-overlay i {
  font-size: 24px;
}

.patent-cert-premium .cert-label {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--secondary-color);
  color: var(--white);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 5px;
}

.process-patent-list .p-list-item {
  transition: var(--transition);
}

.process-patent-list .p-list-item:hover {
  background: #fdfdfd !important;
  padding-left: 35px !important;
}

.process-patent-list .p-icon {
  width: 45px;
  height: 45px;
  background: #f8f9fa;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 20px;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.process-patent-list .p-list-item:hover .p-icon {
  background: var(--primary-color);
  color: var(--white);
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Product Page Styles (UDCORE-II)
--------------------------------------------------------------*/
.product-intro-section {
  background: #fdfdfd;
}

.bg-color {
  background: #e2e2e2 !important;
}

.product-image-box {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  width: 500px;
  /* Fixed Width */
  height: 500px;
  /* Fixed Height */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fdfdfd;
  padding: 0;
  /* Removed Padding */
  margin: 0 auto;
}

.product-image-box img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  /* Fill the square box */
  display: block;
}

.product-image-box:hover {
  transform: translateY(-10px);
}

.product-image-box {
  width: 100%;
  height: 550px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.product-image-box img {
  width: 100%;
  height: 100%;
  object-fit: fill !important;
}

.product-info-card {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  height: 560px;
  /* Equal to image height */
  overflow-y: auto;
  overflow-x: hidden;
  /* Prevent horizontal scroll */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* Start at top */
  scrollbar-width: none;
  -ms-overflow-style: none;
  overflow-wrap: break-word;
  /* Fix for long formulas */
  word-wrap: break-word;
}

.product-info-card::-webkit-scrollbar {
  display: none;
}

@media (max-width: 1200px) {
  .product-image-box {
    height: 450px;
  }

  .product-info-card {
    height: 450px;
  }
}

@media (max-width: 991px) {
  .product-image-box {
    width: 100%;
    max-width: 600px;
    height: 450px;
    margin: 0 auto 30px;
  }

  .product-info-card {
    height: auto;
    max-height: 500px;
    width: 100%;
  }
}

@media (max-width: 576px) {
  .product-image-box {
    height: 300px;
  }

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

.highlight-box {
  background: rgba(30, 190, 177, 0.08);
  border-left: 5px solid var(--secondary-color);
  padding: 5px 25px;
  border-radius: 0 15px 15px 0;
  margin: 30px 0;
}

.highlight-box h4 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 700;
}



.mechanism-visual {
  background: var(--white);
  padding: 20px;
  border-radius: 20px;
  border: 1px dashed var(--secondary-color);
  text-align: center;
  width: 100%;
}

.mechanism-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.product-tag {
  background: rgba(0, 89, 153, 0.1);
  color: var(--primary-color);
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 991px) {
  .product-hero-section {
    padding: 100px 0 60px;
  }
}

/* Ultra Small Screen Fixes (320px - 380px) */
@media (max-width: 380px) {
  .contact-info-box {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 15px !important;
  }

  .contact-info-box h5 {
    font-size: 14px !important;
    word-break: break-all !important;
    line-height: 1.4;
  }

  .contact-info-box .icon-box {
    width: 40px !important;
    height: 40px !important;
    font-size: 18px !important;
    border-radius: 8px !important;
  }

  .contact-dashboard-form {
    padding: 20px 15px !important;
  }

  .contact-dashboard-form .btn-lg {
    font-size: 15px !important;
    padding: 15px !important;
    white-space: normal !important;
    word-break: break-word !important;
  }

  .main-title {
    font-size: 22px !important;
  }
}

/* About Page Events Gallery */
.events-gallery-section .ratio img {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.events-gallery-section .ratio:hover img {
  transform: scale(1.08);
}

/* ----------------------------------------------------------------
   Pipelines & Research Specific Styles
   ---------------------------------------------------------------- */

.tech-card-glass {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.4s ease;
}

.tech-card-glass:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 89, 153, 0.08) !important;
}

.molecular-specs .spec-item {
  font-size: 15px;
}

.border-accent-left {
  border-left: 5px solid var(--secondary-color);
}

.comparison-visual {
  transition: all 0.4s ease;
}

.comparison-visual:hover {
  transform: scale(1.01);
}



@media (max-width: 991px) {
  .igy-tech-section .order-lg-1 {
    margin-top: 40px;
  }
}

/* ----------------------------------------------------------------
   Research & Development Page Styles
   ---------------------------------------------------------------- */

.research-activities-section .border-accent-left {
  border-left: 5px solid var(--primary-color);
}

.pipeline-card,
.probiotic-card {
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.pipeline-card:hover,
.probiotic-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 89, 153, 0.1) !important;
  border-color: var(--primary-color);
}

.journal-item {
  transition: all 0.3s ease;
}

.journal-item:hover {
  background-color: #f8fafc !important;
  transform: translateX(5px);
}

.biotech-journal-container::-webkit-scrollbar {
  width: 6px;
}

.biotech-journal-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.biotech-journal-container::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

.biotech-journal-container::-webkit-scrollbar-thumb:hover {
  background: var(--heading-color);
}

.custom-list-small li {
  position: relative;
  padding-left: 0;
  transition: all 0.3s ease;
}

.custom-list-small li:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

/* ----------------------------------------------------------------
   Clinical Studies - Professional Dashboard
   ---------------------------------------------------------------- */

.segmented-control.nav-pills {
  background: #b9b9b9 !important;
  /* Darker grey for better contrast */
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5px !important;
}

.segmented-control.nav-pills .nav-link {
  color: #ffffff !important;
  /* White text for inactive on dark bg */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent !important;
  border: none !important;
}

.segmented-control.nav-pills .nav-link.active {
  background: var(--white) !important;
  color: var(--primary-color) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

.clinical-entry-card {
  transition: all 0.3s ease;
  background: #ffffff;
  border: 1px solid #e2e8f0 !important;
}

.clinical-entry-card:hover {
  box-shadow: 0 10px 30px rgba(0, 89, 153, 0.12) !important;
  border-color: var(--primary-color) !important;
}

.entry-img {
  transition: all 0.5s ease;
  border: 1px solid #eee;
}

.clinical-entry-card:hover .entry-img {
  transform: scale(1.02);
}

.journal-meta-box {
  background-color: #f8fafc;
  border-left: 4px solid var(--primary-color);
}

.status-card {
  transition: all 0.3s ease;
  background: #ffffff;
  border: 1px solid #e2e8f0 !important;
}

.status-card:hover {
  border-color: var(--accent-color) !important;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05) !important;
}

/* ----------------------------------------------------------------
   Inner Pages - Common Components
   ---------------------------------------------------------------- */

.inner-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 120px 0 80px;
  text-align: center;
  color: var(--white);
}

/* .inner-banner.banner-patents,
.inner-banner.banner-clinical,
.inner-banner.banner-pipelines {
    background-image: url('../img/about-banner.webp');
} */

@media (max-width: 767px) {
  .inner-banner {
    padding: 80px 0 50px;
  }

  .inner-banner h1 {
    font-size: 28px !important;
  }
}

/* Clinical Research Responsive Refinements */
.entry-img img {
  height: 250px;
  width: 100%;
  object-fit: cover;
}

@media (max-width: 991px) {
  .entry-img img {
    height: 200px;
  }
}

@media (max-width: 575px) {
  .segmented-control.nav-pills {
    flex-direction: column;
    border-radius: 15px !important;
  }

  .segmented-control.nav-pills .nav-link {
    width: 100% !important;
    margin-bottom: 5px;
  }

  .segmented-control.nav-pills .nav-link:last-child {
    margin-bottom: 0;
  }
}

/* Patent Certificate Responsive Fixes */
@media (max-width: 991px) {
  .patent-cert-premium {
    padding: 15px;
  }
}

/* Pipelines Page Specific Styles */
.main-img-box img {
  height: 450px;
}

@media (max-width: 991px) {
  .main-img-box img {
    height: 350px;
  }
}

.igy-tech-section {
  min-height: 500px;
  background: url('../img/igy-illustration.webp') center/cover no-repeat fixed !important;
}

.igy-tech-overlay {
  background: radial-gradient(circle, rgba(30, 190, 177, 0.9) 0%, rgba(0, 89, 153, 0.95) 100%);
  z-index: 1;
}

.significances-overlay {
  background: linear-gradient(135deg, rgba(0, 89, 153, 0.85) 0%, rgba(30, 190, 177, 0.75) 100%),
    url('../img/igy-illustration.webp') center/cover no-repeat fixed;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 1;
  /* Fully opaque overlay */
}

.igy-tech-container {
  z-index: 10;
}

.tech-card-glass-premium {
  background: #002642c2;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid #ffffff !important;
  border-radius: 40px !important;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.tech-card-glass-premium::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transform: rotate(45deg);
  transition: all 0.8s ease;
}

.tech-card-glass-premium:hover::before {
  left: 100%;
}

.tech-card-glass-premium:hover {
  transform: translateY(-10px);
  background: #002642c2;
  border-color: #ffffff !important;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4) !important;
}

.tech-card-glass-premium .main-title {
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  font-size: 32px !important;
  letter-spacing: 2px;
}

.tech-info-text {
  text-align: justify;
  text-align-last: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  font-size: 17px !important;
  line-height: 1.8 !important;
}

.x-small {
  font-size: 11px;
}

/* 24. R&D Facilities Section */
.rd-facilities-section {
  position: relative;
  overflow: hidden;
}

.rd-img-wrapper .main-img-box {
  transition: var(--transition);
  z-index: 1;
}

.rd-img-wrapper .main-img-box:hover {
  transform: scale(1.02) translateY(-5px);
}

.facility-feature-card {
  transition: var(--transition);
  border-left-width: 5px !important;
}

.facility-feature-card:hover {
  transform: translateX(10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08) !important;
  background: var(--white);
}

.stability-box {
  border-left: 5px solid var(--primary-color) !important;
  background: #f8faff !important;
  transition: var(--transition);
}

.stability-box:hover {
  background: var(--white) !important;
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.icon-box.bg-primary-light {
  background: rgba(0, 89, 153, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
}

.img-overlay-glass {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  pointer-events: none;
  z-index: 2;
}

.bg-primary-light {
  background: rgba(0, 89, 153, 0.05);
}

.border-accent {
  border-color: var(--secondary-color) !important;
}

@media (max-width: 991px) {
  .rd-img-wrapper {
    margin-top: 30px;
  }
}

/* R&D Labs Slider Pagination - Neat Bar Style */
.rd-labs-pagination {
  display: flex;
  align-items: center;
  gap: 12px;
  width: auto !important;
}

.rd-labs-pagination .swiper-pagination-bullet {
  width: 30px;
  height: 3px;
  background: rgba(0, 0, 0, 0.253);
  opacity: 1;
  border-radius: 2px;
  transition: var(--transition);
  margin: 0 !important;
}

.rd-labs-pagination .swiper-pagination-bullet-active {
  background: var(--primary-color) !important;
  width: 50px;
}

/* Custom Navigation Arrows */
.swiper-button-prev-custom,
.swiper-button-next-custom {
  width: 45px;
  height: 45px;
  background: var(--white);
  border: 1px solid rgba(0, 89, 153, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.swiper-button-prev-custom:hover,
.swiper-button-next-custom:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(0, 89, 153, 0.15);
}

.swiper-button-disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}


/* Quality Facilities Page Styles */
.functional-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.functional-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 89, 153, 0.12) !important;
  border-bottom-color: var(--secondary-color) !important;
}

.icon-box-small {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.bg-primary-light {
  background: rgba(0, 89, 153, 0.08) !important;
}

.mission-banner,
.quality-policy-banner {
  background-color: var(--primary-color);
}

.mission-banner h2,
.quality-policy-banner h2 {
  text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4);
  letter-spacing: 2px;
}

/* Mission Section Styles */
.mission-card {
  background: var(--white);
  padding: 35px 30px;
  border-radius: 20px;
  border: 1px solid rgba(0, 89, 153, 0.08);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.mission-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
}

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

.mission-card:hover::before {
  opacity: 1;
}

.mission-icon {
  width: 65px;
  height: 65px;
  background: rgba(0, 89, 153, 0.05);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: var(--transition);
}

.mission-icon i {
  font-size: 32px;
  color: var(--primary-color);
  transition: var(--transition);
}

.mission-card:hover .mission-icon {
  background: rgba(255, 255, 255, 0.2);
}

.mission-card:hover .mission-icon i {
  color: var(--white);
}

.mission-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--heading-color);
  transition: var(--transition);
}

.mission-card:hover .mission-title {
  color: var(--white);
}

.mission-desc {
  font-size: 15px;
  color: var(--text-color);
  margin-bottom: 0;
  transition: var(--transition);
}

.mission-card:hover .mission-desc {
  color: rgba(255, 255, 255, 0.9);
}

.mission-footer p {
  font-size: 18px;
  color: var(--text-color);
  max-width: 800px;
  margin: 0 auto;
}

/* Quality Policy Styles */
.policy-card {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  border-left: 5px solid var(--primary-color);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  height: 100%;
}

.policy-card:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 30px rgba(0, 89, 153, 0.1);
}

.policy-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.policy-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.policy-desc {
  font-size: 15px;
  color: var(--text-color);
  margin-bottom: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .policy-card .d-flex {
    flex-direction: column;
    gap: 15px !important;
  }
}


/* Facility Image Styles */
.facility-main-img-box img,
.facility-img-wrapper img {
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.facility-main-img-box:hover img,
.facility-img-wrapper:hover img {
  transform: scale(1.05);
}

.expansion-section .sub-title {
  letter-spacing: 2px;
  font-size: 14px;
}

/* Responsive Image Heights */
.h-banner-350 {
  height: 350px !important;
}

.h-facility-600 {
  height: 450px !important;
}

.h-facility-500 {
  height: 350px !important;
}

.h-logo-100 {
  height: 100px !important;
}

@media (max-width: 1200px) {
  .h-facility-600 {
    height: 400px !important;
  }

  .h-facility-500 {
    height: 300px !important;
  }
}

@media (max-width: 991px) {
  .h-banner-350 {
    height: 300px !important;
  }

  .h-facility-600 {
    height: 350px !important;
  }

  .h-facility-500 {
    height: 280px !important;
  }
}

@media (max-width: 768px) {
  .h-banner-350 {
    height: 250px !important;
  }

  .h-facility-600 {
    height: 280px !important;
  }

  .h-facility-500 {
    height: 220px !important;
  }
}

/* Segmented Control Styles */
.segmented-control {
  background: #f0f2f5;
  padding: 5px;
}

.segmented-control .nav-link {
  color: var(--text-color);
  transition: var(--transition);
  border: none !important;
}

.segmented-control .nav-link.active {
  background: var(--primary-color) !important;
  color: var(--white) !important;
  box-shadow: 0 5px 15px rgba(0, 89, 153, 0.2);
}

/* Gallery Styles */
.gallery-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  cursor: pointer;
}

.gallery-card img {
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 89, 153, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  padding: 20px;
  text-align: center;
}

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

.gallery-overlay i {
  font-size: 32px;
  color: var(--white);
  margin-bottom: 10px;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-overlay i {
  transform: translateY(0);
}

.gallery-title {
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.video-play-btn {
  width: 60px;
  height: 60px;
  background: var(--secondary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 15px;
  box-shadow: 0 0 20px rgba(30, 190, 177, 0.4);
}

.youtube-play-btn {
  width: 68px;
  height: 48px;
  background: #ff0000;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  transition: var(--transition);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.gallery-card:hover .youtube-play-btn {
  background: #cc0000;
  transform: translate(-50%, -50%) scale(1.1);
}

.youtube-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--white);
  font-size: 14px;
  z-index: 4;
  opacity: 0.9;
}

.youtube-logo-mini {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
}

.youtube-logo-mini i {
  color: #ff0000;
  font-size: 20px;
}

/* Pagination Styles */
.pagination-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.page-num {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #f0f2f5;
  color: var(--text-color);
  font-weight: 600;
  border: 1px solid #dee2e6;
  transition: var(--transition);
  cursor: pointer;
}

.page-num.active {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(0, 89, 153, 0.2);
}

.page-num:hover:not(.active) {
  background: var(--white);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.page-num.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #f0f2f5;
  color: #999;
  border-color: #dee2e6;
}

/* Premium News Styles */
.news-item-premium {
  background: var(--white);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 89, 153, 0.05);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.news-item-premium:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 89, 153, 0.08);
}

.date-tag {
  background: var(--primary-color);
  color: var(--white);
  padding: 8px 15px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  display: inline-block;
  margin-bottom: 25px;
}

.news-heading-premium {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.news-body-text {
  font-size: 15px;
  color: var(--text-color);
  line-height: 1.8;
  margin-bottom: 25px;
}

.news-link-list {
  display: flex;
  flex-wrap: wrap;
  column-gap: 30px;
  row-gap: 12px;
  margin-top: 15px;
  align-items: center;
}

.news-simple-link {
  font-size: 14px;
  color: var(--primary-color);
  text-decoration: none !important;
  font-weight: 700;
  transition: var(--transition);
  position: relative;
}

.news-simple-link:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: -18px;
  color: #ddd;
  font-weight: 300;
  pointer-events: none;
}

.news-simple-link:hover {
  color: var(--secondary-color);
}

.h-news-thumb {
  height: 350px !important;
  object-fit: contain;
  background: #fdfdfd;
  padding: 10px;
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(0, 89, 153, 0.08);
  box-shadow: inset 0 0 15px rgba(0,0,0,0.02);
}

@media (max-width: 1200px) {
  .h-news-thumb { height: 280px !important; }
}

@media (max-width: 991px) {
  .h-news-thumb { height: 350px !important; }
}

@media (max-width: 768px) {
  .h-news-thumb { height: 280px !important; }
}

@media (max-width: 768px) {
  .news-link-list {
    column-gap: 20px;
  }
}

/* Facility Image Heights */
.h-facility-300 { height: 300px !important; }
.h-facility-400 { height: 400px !important; }
.h-facility-500 { height: 500px !important; }
.h-facility-600 { height: 600px !important; }

@media (max-width: 1200px) {
  .h-facility-300 { height: 250px !important; }
  .h-facility-400 { height: 350px !important; }
  .h-facility-500 { height: 400px !important; }
  .h-facility-600 { height: 500px !important; }
}

@media (max-width: 991px) {
  .h-facility-300 { height: 200px !important; }
  .h-facility-400 { height: 300px !important; }
  .h-facility-500 { height: 350px !important; }
  .h-facility-600 { height: 400px !important; }
}

@media (max-width: 768px) {
  .h-facility-300 { height: 180px !important; }
  .h-facility-400 { height: 250px !important; }
  .h-facility-500 { height: 300px !important; }
  .h-facility-600 { height: 350px !important; }
}

/* Creative Alternative: Facility Image Hover Flair */
.facility-img-wrapper {
  position: relative;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.facility-img-wrapper img {
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.facility-img-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 89, 153, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.facility-img-wrapper:hover::after {
  opacity: 1;
}

.facility-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--secondary-color);
  color: var(--white);
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 12px;
  z-index: 5;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.facility-img-wrapper:hover .facility-badge {
  transform: translateY(-5px);
  background: var(--primary-color);
}

/* Partners Ticker Styles (Added 09.05) */
.partners-ticker-section {
  background: var(--white);
  overflow: hidden;
  position: relative;
}

.partners-ticker-swiper .swiper-wrapper {
  transition-timing-function: linear !important;
  display: flex;
  align-items: center;
}

.partner-logo-item {
  padding: 15px;
  background: var(--white);
  border: 1px solid rgba(0, 89, 153, 0.08);
  border-radius: 12px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
  margin: 5px 0;
}

.partner-logo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 89, 153, 0.1);
  border-color: var(--secondary-color);
}

.partner-logo-item img {
  max-height: 100px;
  width: auto;
  max-width: 90%;
  opacity: 0.9;
  transition: all 0.4s ease;
  object-fit: contain;
}

.partner-logo-item:hover img {
  opacity: 1;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .partner-logo-item {
    height: 100px;
    padding: 10px;
  }

  .partner-logo-item img {
    max-height: 70px;
  }
}