/* ==========================================================================
   CSS Variables and Typography Imports
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap");

:root {
  --primary-color: #c03434;
  --secondary-color: #535353;
  --text-main: #222222;
  --text-light: #222222;
  --bg-light: #f6f8fb;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;

  --font-header: "Manrope", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
  --container-padding: 30px;
  --transition-fast: 0.3s ease;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   Base resets
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: clip;
}

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

ul,
ol {
  list-style: none;
}

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

/* ==========================================================================
   Layouts & Utilities
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

section {
  padding-top: 35px;
  padding-bottom: 35px;
  scroll-margin-top: 90px;
}

@media (max-width: 991px) {
  section {
    scroll-margin-top: 80px;
  }
}


/* Universal Section Heading Style */
.section-title {
  font-family: var(--font-header);
  font-size: 32px;
  font-weight: 700;
  color: #1a202c; /* Soothing dark charcoal for light sections */
  text-align: center;
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 20px; /* Standard margin for headers with subtitles */
  display: block;
  line-height: 1.35;
}

.section-title:last-child {
  margin-bottom: 45px; /* Extra spacing if there is no subtitle */
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.text-center {
  text-align: center !important;
}

.section-subtitle {
  display: block;
  font-family: var(--font-header);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
  text-align: center;
}

.section-lead {
  font-family: var(--font-body);
  font-size: 16px;
  color: #4a5568;
  max-width: 600px;
  margin: 8px auto 0 auto;
  text-align: center;
}

.section-header {
  margin-bottom: 50px;
}


/* Reusable CTA Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 15px;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition:
    color 0.4s ease,
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background-color: var(--secondary-color);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition:
    width 0.6s ease,
    height 0.6s ease;
  z-index: -1;
}

.btn:hover::before {
  width: 1000px;
  height: 1000px;
}

.btn i {
  margin-left: 8px;
  font-size: 14px;
  position: relative;
  z-index: 2;
}

.btn-cta {
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 12px 26px;
}

.btn-cta:hover {
  color: var(--bg-white);
  transform: translateY(-2px);
}

.btn-cta i {
  transition: transform var(--transition-fast);
}

.btn-cta:hover i {
  transform: translate(2px, -2px);
}

.btn-nav {
  background-color: transparent;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
}

.btn-nav:hover {
  color: var(--bg-white);
  border-color: var(--secondary-color);
}

/* ==========================================================================
   Top Contact Bar
   ========================================================================== */
.top-bar {
  background-color: var(--primary-color);
  color: var(--bg-white);
  font-size: 14px;
  padding: 10px 0;
  font-weight: 700;
}

.top-bar-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 30px;
}

.top-info {
  display: flex;
  gap: 25px;
}

.top-info a,
.top-info span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-social {
  display: flex;
  gap: 16px;
  font-size: 14px;
}

.top-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-fast);
}

.top-social a:hover {
  opacity: 0.8;
}

/* ==========================================================================
   Header and Navbar
   ========================================================================== */
#header {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 18px 0;
  border-bottom: 1px solid #f1f3f7;
  transition:
    background-color var(--transition-fast),
    padding var(--transition-fast);
}

#header.scrolled {
  padding: 12px 0;
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.top-bar-container,
.header-container {
  max-width: 100%;
}

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

.logo-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-card {
  background-color: var(--primary-color);
  border-radius: 0;
  width: 266px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  margin-top: -68px;
  margin-bottom: -30px;
  position: relative;
  z-index: 10;
  transition: all var(--transition-fast);
  padding: 8px 20px;
  overflow: hidden;
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
}

.logo-card::before {
  content: "";
  position: absolute;
  top: 0px;
  left: 2px;
  right: -2px;
  bottom: 3px;
  background-color: var(--bg-white);
  z-index: -1;
}

.logo-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.8s ease;
  z-index: 2;
}

.logo-card .logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
  transition: all var(--transition-fast);
}

/* Scrolled transitions for overlapping logo card */
#header.scrolled .logo-card {
  margin-top: -12px;
  margin-bottom: -50px;
  width: 266px;
  height: 100px;
  padding: 8px 20px;
}

#header.scrolled .logo-card::after {
  left: 150%;
}

/* Mobile & Footer Logo Card Styles */
.logo-card-mobile {
  background-color: var(--primary-color);
  border-radius: 0;
  width: 120px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  padding: 4px 15px;
  overflow: hidden;
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
  position: relative;
}

.logo-card-mobile::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 3px;
  background-color: var(--bg-white);
  z-index: -1;
}

.logo-card-mobile .logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.logo-brand-footer {
  margin-bottom: 20px;
}

.logo-card-footer {
  background-color: var(--primary-color);
  border-radius: 0;
  width: 160px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 6px 20px;
  overflow: hidden;
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
  position: relative;
}

.logo-card-footer::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 3px;
  background-color: var(--bg-white);
  z-index: -1;
}

.logo-card-footer .logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

/* Desktop navigation links */
.desktop-nav .nav-menu {
  display: flex;
  align-items: center;
  gap: 25px;
}

.desktop-nav .nav-menu a {
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-main);
  position: relative;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all var(--transition-fast);
}

.desktop-nav .nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition-fast);
}

.desktop-nav .nav-menu a:hover,
.desktop-nav .nav-menu a.active {
  color: var(--primary-color);
  transform: translateY(-1.5px);
}

.desktop-nav .nav-menu a:hover::after,
.desktop-nav .nav-menu a.active::after {
  width: 100%;
}

/* Dropdown styling */
.dropdown-item {
  position: relative;
}

.dropdown-item i {
  font-size: 12px;
  transition: transform var(--transition-fast);
}

.dropdown-item:hover i {
  transform: rotate(180deg);
}

.dropdown-menu-list {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background-color: var(--bg-white);
  min-width: 220px;
  box-shadow: var(--shadow-md);
  border-radius: 12px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  border: 1px solid var(--border-color);
}

.dropdown-item:hover .dropdown-menu-list {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(5px);
}

.dropdown-menu-list li a {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  width: 100%;
  display: block;
}

.dropdown-menu-list li a::after {
  display: none;
}

.dropdown-menu-list li a:hover {
  background-color: var(--bg-light);
  color: var(--primary-color);
  padding-left: 24px;
}

.header-action {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Hamburger button */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger-btn .bar {
  width: 100%;
  height: 3px;
  background-color: var(--text-main);
  border-radius: 10px;
  transition: all var(--transition-fast);
}

/* ==========================================================================
   Mobile Sliding Hamburger Menu
   ========================================================================== */
.mobile-menu-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 var(--transition-fast);
}

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

.mobile-menu-container {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100vh;
  background-color: var(--bg-white);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  z-index: 1050;
  transition: transform var(--transition-fast) cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-menu-container.active {
  transform: translateX(-300px);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
}

.mobile-menu-close {
  background: transparent;
  border: none;
  font-size: 26px;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav {
  padding: 10px 0;
}

.mobile-nav ul li a {
  display: block;
  padding: 14px 24px;
  font-family: var(--font-header);
  font-weight: 600;
  color: var(--text-main);
  border-bottom: 1px solid #eee;
  font-size: 15px;
  transition: all var(--transition-fast);
}

.mobile-nav ul li a:hover,
.mobile-nav ul li a.active {
  background-color: #f5f5f5;
  color: var(--primary-color);
  padding-left: 30px;
}

.mobile-menu-footer {
  margin-top: auto;
  padding: 24px;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-light);
}

.mobile-contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.mobile-contact-link i {
  color: var(--primary-color);
  font-size: 15px;
}

.mobile-contact-link a:hover {
  color: var(--primary-color);
}

/* ==========================================================================
   Hero Slider Section
   ========================================================================== */
.hero-section {
  position: relative;
  overflow: hidden;
  height: 85vh;
  min-height: 550px;
  background-color: #0f182c;
  padding: 0;
}

.hero-slider,
.hero-slider .owl-stage-outer,
.hero-slider .owl-stage,
.hero-slider .owl-item {
  height: 100%;
}

.hero-slide {
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  text-align: left;
  position: relative;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: var(--font-header);
  font-size: 42px;
  font-weight: 600;
  color: var(--bg-white);
  line-height: 1.25;
  margin-bottom: 20px;
  max-width: 900px;
}

.hero-desc {
  font-family: var(--font-body);
  font-size: 18px;
  color: #f1f3f7;
  max-width: 680px;
  margin: 0 0 30px;
  line-height: 1.6;
}

/* Filled primary button for hero sections */
.btn-hero {
  background-color: var(--primary-color);
  border: 2px solid var(--primary-color);
  color: var(--bg-white);
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(192, 52, 52, 0.4);
  transition: all var(--transition-fast);
}

.btn-hero:hover {
  background-color: transparent;
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192, 52, 52, 0.2);
}

/* Sliding / Fade text animations inside slides */
.hero-slide .hero-title,
.hero-slide .hero-desc,
.hero-slide .hero-actions {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.owl-item.active .hero-slide .hero-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.owl-item.active .hero-slide .hero-desc {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.owl-item.active .hero-slide .hero-actions {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

/* Custom Owl Navigation arrows on the sides */
.hero-slider .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 30px;
  pointer-events: none;
  z-index: 10;
}

.hero-slider .owl-nav button.owl-prev,
.hero-slider .owl-nav button.owl-next {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: var(--bg-white) !important;
  font-size: 22px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast) !important;
  pointer-events: auto;
}

.hero-slider .owl-nav button.owl-prev:hover,
.hero-slider .owl-nav button.owl-next:hover {
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: var(--bg-white) !important;
}

/* Slide Progress Bar (Creative Alternative) */
.hero-progress-bar-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 15;
}

.hero-progress-line {
  height: 100%;
  width: 0%;
  background: var(--primary-color);
  box-shadow: 0 0 8px var(--primary-color);
}

.hero-progress-line.animate {
  animation: heroProgress 3s linear;
}

@keyframes heroProgress {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

/* Responsive configurations for hero section */
@media (max-width: 991px) {
  .hero-section {
    height: 75vh;
  }
  .hero-title {
    font-size: 34px;
  }
  .hero-desc {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: 70vh;
  }
  .hero-title {
    font-size: 28px;
  }
  .hero-desc {
    font-size: 15px;
    margin-bottom: 24px;
  }
  .btn-hero {
    padding: 10px 24px;
    font-size: 14.5px;
  }
}

@media (max-width: 576px) {
  .hero-section {
    height: 65vh;
    min-height: 450px;
  }
  .hero-title {
    font-size: 22px;
    margin-bottom: 15px;
  }
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
#footer {
  background-color: #0f182c;
  color: #a0aec0;
  padding-top: 35px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-column {
  display: flex;
  flex-direction: column;
}

@media (min-width: 992px) {
  .footer-column:nth-child(2) {
    padding-left: 60px;
  }
}

.logo-brand-footer {
  margin-bottom: 20px;
  align-self: flex-start;
}

.footer-desc {
  font-size: 13.5px;
  line-height: 1.7;
  margin-bottom: 22px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  font-size: 15px;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background-color: var(--primary-color);
  color: var(--bg-white);
  transform: translateY(-3px);
}

.footer-title {
  color: var(--bg-white);
  font-size: 17px;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

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

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

.footer-links li a {
  font-size: 13.5px;
  color: #a0aec0;
  display: inline-block;
  transition: all var(--transition-fast);
}

.footer-links li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  margin-bottom: 16px;
  line-height: 1.6;
}

.footer-contact-item i {
  color: var(--primary-color);
  font-size: 16px;
  margin-top: 2px;
}

.footer-contact-item a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  background-color: #080d19;
  padding: 25px 0;
  font-size: 12.5px;
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.developer a {
  color: var(--primary-color);
  font-weight: 600;
  margin-right: 3px;
}

.developer a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Specialty & Ingredients Section
   ========================================================================== */
.specialty-section {
  background-color: var(--bg-white);
  padding-top: 35px;
  padding-bottom: 35px;
  overflow: hidden;
}

.specialty-container {
  display: flex;
  flex-direction: column;
}

.specialty-top-row {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 40px;
  width: 100%;
}

.specialty-image-col {
  flex: 0 0 40%;
  max-width: 40%;
}

.specialty-content-col {
  flex: 1;
}

.specialty-bottom-row {
  width: 100%;
}

.specialty-img-wrapper {
  position: relative;
  width: 100%;
  height: 420px;
  max-width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--secondary-color);
  display: block;
}

.specialty-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Glossy layer sweep effect (Creative Alternative / Custom Request) */
.specialty-img-wrapper::before,
.specialty-img-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-50%) skewX(-25deg);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition:
    left 0.75s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 0.75s cubic-bezier(0.25, 1, 0.5, 1);
}

.specialty-img-wrapper::before {
  left: 50%;
}

.specialty-img-wrapper::after {
  left: 50%;
}

.specialty-img-wrapper:hover img {
  transform: scale(1.05);
}

.specialty-img-wrapper:hover::before {
  left: -50%;
  opacity: 1;
}

.specialty-img-wrapper:hover::after {
  left: 150%;
  opacity: 1;
}

/* Glossy Sweep Effect Utility */
.glossy-sweep {
  position: relative !important;
  overflow: hidden !important;
}

.glossy-sweep img {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.glossy-sweep::before,
.glossy-sweep::after {
  content: "";
  position: absolute;
  top: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-50%) skewX(-25deg);
  pointer-events: none;
  z-index: 4;
  opacity: 0;
  transition:
    left 0.75s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 0.75s cubic-bezier(0.25, 1, 0.5, 1);
}

.glossy-sweep::before {
  left: 50%;
}

.glossy-sweep::after {
  left: 50%;
}

.glossy-sweep:hover img {
  transform: scale(1.05);
}

.glossy-sweep:hover::before {
  left: -50%;
  opacity: 1;
}

.glossy-sweep:hover::after {
  left: 150%;
  opacity: 1;
}

.specialty-content {
  padding-left: 0;
}

.section-title-left {
  font-family: var(--font-header);
  font-size: 32px;
  font-weight: 700;
  color: #1a202c;
  line-height: 1.35;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 15px;
}

.section-title-left::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.specialty-desc-main {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-main);
  margin-bottom: 24px;
  text-align: justify;
}

/* Specialty Spotlight Card */
.specialty-spotlight-card {
  background: var(--bg-light);
  border-left: 4px solid var(--primary-color);
  padding: 20px;
  border-radius: 0 12px 12px 0;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.spotlight-title {
  font-family: var(--font-header);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.spotlight-text {
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--secondary-color);
  line-height: 1.6;
}

/* Synergistic Formula Area */
.specialty-formula {
  margin-bottom: 28px;
}

.formula-title {
  font-family: var(--font-header);
  font-size: 20px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 12px;
}

.formula-desc {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-main);
  margin-bottom: 20px;
}

/* Ingredients Equal-Height Cards */
.ingredients-grid {
  display: flex;
  gap: 20px;
  align-items: stretch;
  margin-bottom: 24px;
}

.ingredient-card {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border-color);
  transition: transform var(--transition-fast) ease;
}

.ingredient-card:first-child {
  padding-left: 0;
}

.ingredient-card:last-child {
  border-right: none;
  padding-right: 0;
}

.ingredient-card:hover {
  transform: translateY(-3px);
}

.ingredient-name {
  font-family: var(--font-header);
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.ingredient-list {
  padding-left: 0;
  list-style: none;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-main);
}

.ingredient-list li {
  position: relative;
  padding-left: 15px;
  margin-bottom: 8px;
}

.ingredient-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.specialty-desc-footer {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-main);
  text-align: justify;
}

/* ==========================================================================
   Clinical Evaluation Section
   ========================================================================== */
.clinical-section {
  background-color: #faf5ea;
  padding-top: 35px;
  padding-bottom: 35px;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.clinical-section-header {
  text-align: center;
  margin-bottom: 50px;
}

.clinical-section-header .section-subtitle {
  font-family: var(--font-header);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-color);
  letter-spacing: 2px;
  margin-bottom: 10px;
  display: block;
}



/* Objectives Layout */
.objectives-paragraphs {
  max-width: 900px;
  margin: 35px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.objective-para-item {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-main);
  background: none;
  padding: 0;
  border: none;
  border-radius: 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  box-shadow: none;
}

.objective-para-item i {
  color: var(--primary-color);
  font-size: 18px;
  margin-top: 3px;
  flex-shrink: 0;
}

/* Trial Two Column Layout */
.trial-two-column-layout {
  display: grid;
  grid-template-columns: 4.5fr 5.5fr;
  gap: 50px;
  align-items: start;
  margin-top: 50px;
  margin-bottom: 50px;
}

.trial-image-col {
  position: sticky;
  top: 130px; /* offset for header */
}

.trial-sticky-image-container {
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trial-raw-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  border-radius: 0;
}

.trial-content-col {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.trial-card-item {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition-fast) ease,
    box-shadow var(--transition-fast) ease;
}

.trial-card-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.trial-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
}

.trial-card-header i {
  color: var(--primary-color);
  font-size: 24px;
}

.trial-card-title {
  font-family: var(--font-header);
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0;
}

.trial-card-body {
  flex-grow: 1;
}

.trial-desc {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.6;
}

.arm-box {
  background: var(--bg-light);
  border-left: 3px solid var(--primary-color);
  padding: 15px;
  border-radius: 0 10px 10px 0;
  margin-bottom: 15px;
}

.arm-box:last-child {
  margin-bottom: 0;
}

.arm-title {
  font-family: var(--font-header);
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.arm-text {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-main);
}

.highlight-lab {
  color: var(--primary-color);
  font-weight: 700;
  display: inline-block;
  margin-top: 5px;
}

/* Outcome list styling */
.outcome-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.outcome-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.outcome-list li .num {
  background: rgba(192, 52, 52, 0.08);
  color: var(--primary-color);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.outcome-list li p {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-main);
  margin: 0;
}

/* Medical Benefits Graphs Section */
.graphs-section {
  background-color: #0f182c;
  padding-top: 35px;
  padding-bottom: 35px;
  border-bottom: 1px solid var(--border-color);
}

.graphs-section-header {
  text-align: center;
  margin-bottom: 50px;
}

.graphs-section-header .section-title {
  color: #fff;
}

.graphs-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.graph-item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 15px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast) ease, box-shadow var(--transition-fast) ease;
  flex: 0 0 calc(33.333% - 17px);
  max-width: calc(33.333% - 17px);
}

.graph-zoom-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast) ease;
  border-radius: 12px;
}

.graph-zoom-overlay i {
  color: var(--bg-white);
  font-size: 32px;
  background: var(--primary-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transform: scale(0.8);
  transition: transform var(--transition-fast) ease;
}

.graph-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.graph-item:hover .graph-zoom-overlay {
  opacity: 1;
}

.graph-item:hover .graph-zoom-overlay i {
  transform: scale(1);
}

.graph-img {
  width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: contain;
  border-radius: 6px;
}

/* Lightbox Modal */
.lightbox-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(5px);
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.lightbox-overlay.active .lightbox-content {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 35px;
  color: #ffffff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: var(--primary-color);
  text-decoration: none;
}

}

/* Publications & Clinical Results Section */
.publications-section {
  background-color: #fcfbfa; /* subtle beige tint to separate from white graphs section */
  padding-top: 35px;
  padding-bottom: 35px;
  border-bottom: 1px solid var(--border-color);
}

.publications-section-header {
  text-align: center;
  margin-bottom: 50px;
}



.publication-card-wrapper {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-md);
  margin-bottom: 60px;
}

.publication-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.publication-info-col {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.pub-tag {
  align-self: flex-start;
  background: rgba(192, 52, 52, 0.08);
  color: var(--primary-color);
  font-family: var(--font-header);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 50px;
}

.pub-title {
  font-family: var(--font-header);
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary-color);
  line-height: 1.4;
  margin: 0;
}

.pub-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

.pub-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition-fast);
}

.pub-meta-item:hover {
  color: var(--primary-color);
}

.pub-meta-item i {
  color: var(--primary-color);
}

.meta-sep {
  color: var(--border-color);
  margin: 0 4px;
}

.pub-doi {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-main);
  background: #f7f5f0;
  padding: 8px 15px;
  border-radius: 8px;
  align-self: flex-start;
  margin: 0;
  border: 1px dashed var(--border-color);
}

.pub-action {
  margin-top: 10px;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary-color);
  color: var(--bg-white);
  padding: 12px 28px;
  border-radius: 8px;
  font-family: var(--font-header);
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(192, 52, 52, 0.2);
  transition: background var(--transition-fast) ease, transform var(--transition-fast) ease, box-shadow var(--transition-fast) ease;
}

.btn-download:hover {
  background: var(--secondary-color);
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 24, 44, 0.25);
}

.pub-image-wrapper {
  position: relative;
  width: 100%;
  height: 412px;
  max-width: 550px;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
  background: var(--bg-white);
  overflow: hidden;
  display: block;
  margin: 0 auto;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.pub-image-wrapper:hover {
  transform: translateY(-8px) rotateY(-8deg) rotateX(4deg);
  box-shadow: 20px 25px 50px rgba(0, 0, 0, 0.15), 0 10px 25px rgba(0, 0, 0, 0.08);
}

.pub-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.pub-image-wrapper:hover .pub-cover-img {
  transform: scale(1.03);
}

.clinical-results-header {
  margin-bottom: 40px;
}

.results-subtitle {
  font-family: var(--font-header);
  font-size: 28px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.results-lead {
  max-width: 800px;
  margin: 0 auto;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-main);
}

.results-details-grid {
  display: grid;
  grid-template-columns: 5.5fr 4.5fr;
  gap: 40px;
  margin-bottom: 60px;
  align-items: start;
}

.findings-list-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.finding-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  background: var(--bg-white);
  padding: 18px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition-fast) ease;
}

.finding-item:hover {
  transform: translateX(5px);
}

.finding-icon {
  color: var(--primary-color);
  font-size: 20px;
  margin-top: 1px;
  flex-shrink: 0;
}

.finding-text {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-main);
}

.comparison-summary-card {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: var(--bg-white);
  padding: 35px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-title {
  font-family: var(--font-header);
  font-size: 20px;
  font-weight: 700;
  color: var(--bg-white);
  margin: 0;
}

.comparison-desc {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.nsaid-warning-box {
  background: rgba(192, 52, 52, 0.06);
  border-left: 4px solid var(--primary-color);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid rgba(192, 52, 52, 0.15);
  border-left-width: 4px;
}

.warning-title {
  font-family: var(--font-header);
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.warning-desc {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.study-measures-title-area {
  margin-top: 50px;
  margin-bottom: 30px;
}

.measures-grid-title {
  font-family: var(--font-header);
  font-size: 20px;
  font-weight: 700;
  color: var(--secondary-color);
}

.measures-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.measure-card {
  background: var(--bg-white);
  border: 1px solid #f5b4b4;
  border-radius: 16px;
  padding: 30px 25px;
  text-align: center;
  transition: transform var(--transition-fast) ease, box-shadow var(--transition-fast) ease;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.measure-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.measure-icon {
  background: rgba(192, 52, 52, 0.08);
  color: var(--primary-color);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: background var(--transition-fast) ease, color var(--transition-fast) ease;
}

.measure-card:hover .measure-icon {
  background: var(--primary-color);
  color: var(--bg-white);
}

.measure-title {
  font-family: var(--font-header);
  font-size: 17px;
  font-weight: 700;
  color: var(--secondary-color);
  margin: 0;
}

.measure-desc {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-main);
  margin: 0;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1200px) {
  .desktop-nav {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }

  .btn-nav {
    display: none; /* Hide desktop action button on smaller screens */
  }

  .pub-image-wrapper {
    height: auto;
    aspect-ratio: 550 / 412;
  }
}

@media (max-width: 1068px) {
  .top-bar {
    padding: 6px 0;
  }

  .top-bar-container {
    gap: 15px;
  }

  .top-info {
    gap: 10px;
  }

  .top-info-item .top-text {
    display: none;
  }

  .top-info-item {
    position: relative;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    cursor: pointer;
  }

  .top-info-item i {
    margin: 0 !important;
    font-size: 15px;
  }

  .top-info-item:hover {
    background: var(--bg-white);
    color: var(--primary-color);
    border-color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  /* Interactive Tooltips */
  .top-info-item[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: var(--secondary-color);
    color: var(--bg-white);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-family: var(--font-body);
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity var(--transition-fast),
      transform var(--transition-fast);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
  }

  .top-info-item[data-tooltip]::before {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    border-width: 0 6px 6px 6px;
    border-style: solid;
    border-color: transparent transparent var(--secondary-color) transparent;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity var(--transition-fast),
      transform var(--transition-fast);
    z-index: 9999;
    pointer-events: none;
  }

  .top-info-item:hover::after,
  .top-info-item:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
}

@media (max-width: 991px) {
  .logo-card {
    width: 200px;
    height: 75px;
    margin-top: -51px;
    margin-bottom: -20px;
  }
  #header.scrolled .logo-card {
    width: 200px;
    height: 75px;
    margin-top: -12px;
    margin-bottom: -61px;
  }
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .specialty-top-row {
    flex-direction: column;
    gap: 30px;
  }
  .specialty-image-col,
  .specialty-content-col {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }
  .specialty-img-wrapper {
    width: 100%;
    height: auto;
    aspect-ratio: 605 / 420;
    margin-bottom: 40px;
  }
  .specialty-content {
    padding-left: 0;
  }
  .trial-two-column-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .trial-image-col {
    position: static;
  }
  .trial-raw-img {
    max-height: 350px;
    width: auto;
    margin: 0 auto;
    display: block;
  }
  .graph-item {
    flex: 0 0 calc(50% - 13px);
    max-width: calc(50% - 13px);
  }
  .publication-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .pub-image-wrapper {
    max-width: 450px;
    height: auto;
    aspect-ratio: 550 / 412;
    margin: 0 auto;
  }
  .results-details-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .measures-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .logo-card {
           width: 200px;
        height: 85px;
    top: 10px;
    margin-top: -18px; /* Aligns card top at y=0 since no topbar */
    margin-bottom: -30px; /* Keeps layout height at 2px */
  }
  #header.scrolled .logo-card {
    width: 180px;
    height: 70px;
    margin-top: -12px;
    margin-bottom: -25px;
  }
  .top-bar {
    display: none; /* Hide topbar on mobile for compact view */
  }

  .footer-bottom-container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .ingredients-grid {
    flex-direction: column;
    gap: 25px;
  }
  .ingredient-card {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: 0 0 20px 0;
  }
  .ingredient-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .publication-card-wrapper {
    padding: 25px;
  }
  .pub-title {
    font-size: 20px;
  }
  .pub-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .meta-sep {
    display: none;
  }
  .pub-image-wrapper {
    max-width: 350px;
  }
  .results-subtitle {
    font-size: 24px;
  }
  .measures-cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .pub-image-wrapper {
    max-width: 280px;
  }
  .graph-item {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ==========================================================================
   Portfolio Section & Filtering
   ========================================================================== */
.portfolio-section {
  background-color: #dfdfdf;
  padding-top: 35px;
  padding-bottom: 35px;
  border-bottom: 1px solid var(--border-color);
}

.secondary-outcome-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 50px;
  align-items: center;
}

.outcome-gif-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  width: 100%;
}

.gif-wrapper {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 10px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.gif-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.outcome-gif {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}

.portfolio-filter-container {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.portfolio-filter {
  display: flex;
  gap: 15px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.portfolio-filter li a {
  display: inline-block;
  padding: 10px 24px;
  background-color: var(--bg-light);
  color: var(--text-main);
  border-radius: 30px;
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.portfolio-filter li a:hover,
.portfolio-filter li a.active {
  background-color: var(--primary-color);
  color: var(--bg-white);
  border-color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(192, 52, 52, 0.25);
}

.portfolio-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.portfolio-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  height: 320px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, transform 0.4s ease;
}

.portfolio-item.hidden {
  opacity: 0;
  transform: scale(0.85);
  pointer-events: none;
}

.portfolio-item-inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.portfolio-img-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.portfolio-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(15, 24, 44, 0.9) 0%, rgba(15, 24, 44, 0.5) 60%, rgba(15, 24, 44, 0) 100%);
  color: var(--bg-white);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-sizing: border-box;
}

.portfolio-info h3 {
  font-family: var(--font-header);
  font-size: 16px;
  font-weight: 700;
  color: var(--bg-white);
  margin: 0;
  line-height: 1.3;
}

.portfolio-info h3 span {
  font-size: 14px;
}

.portfolio-desc {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  line-height: 1.4;
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover effects */
.portfolio-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.portfolio-item:hover .portfolio-img-wrapper img {
  transform: scale(1.05);
}

.portfolio-item:hover .portfolio-desc {
  height: auto;
  opacity: 1;
  margin-top: 4px;
}

.portfolio-item:hover .portfolio-info {
  background: linear-gradient(to top, rgba(15, 24, 44, 0.95) 0%, rgba(15, 24, 44, 0.7) 100%);
}

@media (max-width: 1200px) {
  .portfolio-items {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  .outcome-gif-row {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .portfolio-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .portfolio-items {
    grid-template-columns: 1fr;
  }
  .portfolio-filter {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  .portfolio-filter li a {
    padding: 8px 18px;
    font-size: 13px;
  }
}

/* Portfolio Pagination Styling */
.portfolio-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 45px;
}

.btn-page {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background-color: var(--bg-light);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-page:hover:not(:disabled) {
  background-color: var(--primary-color);
  color: var(--bg-white);
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(192, 52, 52, 0.2);
}

.btn-page:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.page-numbers {
  display: flex;
  gap: 8px;
}

.page-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: var(--bg-light);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.page-num:hover:not(.active) {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.page-num.active {
  background-color: var(--primary-color);
  color: var(--bg-white);
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(192, 52, 52, 0.25);
}

/* ==========================================================================
   About Us Section
   ========================================================================== */
.about-section {
  background-color: var(--bg-white);
  padding-top: 35px;
  padding-bottom: 35px;
  border-bottom: 1px solid var(--border-color);
}

.about-section-header {
  text-align: center;
  margin-bottom: 50px;
}

.about-profile-grid,
.about-visionary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 60px;
}

.about-visionary-grid {
  margin-bottom: 50px;
}

.about-story-card,
.about-vision-card {
  padding: 20px 0;
}

.about-card-title {
  font-family: var(--font-header);
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-text {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-main);
  margin-bottom: 15px;
}

.about-img-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 3/2;
}

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

.about-img-wrapper:hover .about-cover-img {
  transform: scale(1.05);
}

/* Glassmorphism Overlay */
.about-glass-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 15px 20px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.overlay-tag {
  font-family: var(--font-header);
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 6px;
}

.overlay-details {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: #4a5568;
}

/* Clinical Video Insights CSS */
.about-videos-header {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
}

.video-section-title {
  font-family: var(--font-header);
  font-size: 22px;
  font-weight: 700;
  color: #1a202c;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.video-section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.about-videos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.video-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.video-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16/9;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-info {
  padding: 20px;
}

.video-info h4 {
  font-family: var(--font-header);
  font-size: 16px;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.video-info h4 i {
  color: var(--primary-color);
  font-size: 18px;
}

.video-info p {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.6;
  color: #4a5568;
}

/* ==========================================================================
   Work Process Section (Clean Connected Timeline)
   ========================================================================== */
.work-process-section {
  background-color: #eef7f2; /* Soothing clinical light mint */
  padding-top: 35px;
  padding-bottom: 35px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
  overflow: hidden;
}


.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}

.process-step-card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  text-align: center;
  position: relative;
}

.step-icon-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
  position: relative;
}

.step-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: var(--bg-white);
  border: 2px dashed rgba(192, 52, 52, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 32px;
  transition: all var(--transition-fast) ease;
  z-index: 2;
  position: relative;
}

.process-step-card:hover .step-icon {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  border-style: solid;
  color: var(--bg-white);
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(192, 52, 52, 0.25);
}

/* Curved dashed arrows between circles */
.process-step-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 35px; /* Centered relative to the 100px circle */
  left: calc(50% + 50px);
  width: calc(100% - 100px + 30px);
  height: 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='30' viewBox='0 0 100 30'%3E%3Cpath d='M0,15 Q50,0 100,15' fill='none' stroke='rgba(192, 52, 52, 0.3)' stroke-width='2' stroke-dasharray='4 4'/%3E%3Cpath d='M94,10 L100,15 L94,20' fill='none' stroke='rgba(192, 52, 52, 0.3)' stroke-width='2'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  z-index: 1;
}

.step-title {
  font-family: var(--font-header);
  font-size: 18px;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 12px;
  text-transform: capitalize;
}

.step-desc {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: #4a5568;
  max-width: 280px;
  margin: 0 auto;
}

/* Responsiveness for new sections *//* ==========================================================================
   Innovator Section
   ========================================================================== */
.innovator-section {
  background-color: #0f182c;
  padding-top: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.innovator-header .section-title {
  color: #ffffff !important;
}

.innovator-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  margin-bottom: 50px;
  align-items: stretch;
}

/* Composite profile card (Left) */
.innovator-profile-card {
  background-color: #16223f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 30px;
  display: flex;
  gap: 30px;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.innovator-profile-img-wrapper {
  flex: 0 0 320px;
  width: 320px;
  height: 440px;
  border-radius: 20px;
  overflow: hidden;
}

.innovator-profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.innovator-profile-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}

/* Rotating SVG explore badge */
.explore-badge-container {
  margin-bottom: 15px;
  width: 100%;
  display: flex;
  justify-content: center;
}

@keyframes rotateBadge {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.explore-badge-svg {
  width: 140px;
  height: 140px;
  animation: rotateBadge 15s linear infinite;
  display: block;
}

.innovator-name-white {
  font-family: var(--font-header);
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.innovator-subtitle-green {
  font-family: var(--font-header);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.innovator-profile-desc {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

/* 2x2 Stats Cards Grid (Right) */
.innovator-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.innovator-stat-card {
  background-color: #16223f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  transition:
    transform var(--transition-fast) ease,
    box-shadow var(--transition-fast) ease,
    border-color var(--transition-fast) ease;
  min-height: 205px;
}
.innovator-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  border-color: rgba(192, 52, 52, 0.35);
}

.stat-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(192, 52, 52, 0.1);
  border: 1px solid rgba(192, 52, 52, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(192, 52, 52, 0.15);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-icon-wrapper i {
  font-size: 28px;
  color: #ff5252;
  display: inline-block;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 2px 8px rgba(192, 52, 52, 0.4));
}

.innovator-stat-card:hover .stat-icon-wrapper {
  background: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 8px 24px rgba(192, 52, 52, 0.4);
}

.innovator-stat-card:hover .stat-icon-wrapper i {
  color: #ffffff;
  transform: scale(1.1);
  filter: none;
}

.stat-number {
  font-family: var(--font-header);
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 6px;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
  margin: 0;
}

/* Technical Expertise styles on Dark Theme */
.innovator-expertise-wrapper {
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
  padding-top: 40px;
}

.expertise-title {
  font-family: var(--font-header);
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.expertise-title i {
  color: var(--primary-color);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.expert-pill {
  background-color: #16223f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 18px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  transition: all var(--transition-fast);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.expert-pill i {
  color: var(--primary-color);
  font-size: 16px;
  transition: transform var(--transition-fast);
}

.expert-pill:hover {
  background-color: #213054;
  border-color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(192, 52, 52, 0.15);
  color: #ffffff;
  transform: translateY(-2px);
}

.expert-pill:hover i {
  transform: scale(1.2);
}

/* Responsiveness for new sections */
@media (max-width: 992px) {
  .about-profile-grid,
  .about-visionary-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .about-visionary-grid {
    direction: ltr;
  }
  .process-steps-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 50px;
  }
  .process-step-card:not(:last-child)::after {
    display: none;
  }
  .innovator-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .innovator-profile-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
  }
  .innovator-profile-img-wrapper {
    flex: 0 0 auto;
    width: 100%;
    max-width: 260px;
    aspect-ratio: 320/460;
    height: auto;
  }
  .innovator-profile-content {
    align-items: center;
    text-align: center;
  }
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .about-videos-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .process-steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .innovator-profile-card {
    padding: 20px 15px;
  }
  .innovator-stats-grid {
    grid-template-columns: 1fr;
  }
  .expertise-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Performance / Dosage Section Styling (Clean Glass & Clinical Accent)
   ========================================================================== */
.performance-section {
  background-color: #ffffff;
  padding-top: 70px;
  padding-bottom: 70px;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

/* Split Showcase Layout */
.performance-layout-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: center;
}

.performance-showcase-col {
  position: relative;
}

.product-showcase-sticky {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: rgba(246, 248, 251, 0.5);
  border: 2px solid rgb(255 242 0 / 32%);
  border-radius: 24px;
  padding: 30px 20px;
  text-align: center;
}

.product-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast) ease;
}

.product-image-wrapper:hover {
  transform: scale(1.03) rotate(1deg);
}

.product-render-img {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: contain;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 10px 18px;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
}

.product-badge .badge-icon {
  color: #10b981;
  font-size: 18px;
  display: flex;
  align-items: center;
}

.product-badge .badge-text {
  font-family: var(--font-header);
  font-size: 13px;
  font-weight: 700;
  color: #1a202c;
}

/* Horizontal Clinical Rows */
.performance-matrix-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.matrix-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  align-items: center;
  background: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: 20px;
  padding: 25px 30px;
  transition: all var(--transition-fast) ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.matrix-row:hover {
  border-color: rgba(192, 52, 52, 0.25);
  box-shadow: 0 10px 30px rgba(192, 52, 52, 0.05);
  transform: translateX(6px);
}

.matrix-col-case {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.matrix-tag {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 800;
  background: #f1f5f9;
  color: #64748b;
  padding: 4px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.matrix-condition {
  font-family: var(--font-header);
  font-size: 16.5px;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 6px;
}

.matrix-dosage {
  font-family: var(--font-body);
  font-size: 13px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
}

.matrix-dosage i {
  color: var(--primary-color);
  font-size: 15px;
}

.matrix-col-timeline {
  padding: 0 10px;
}

.horizontal-timeline {
  display: flex;
  position: relative;
  justify-content: space-between;
  align-items: flex-start;
}

.horizontal-timeline::before {
  content: "";
  position: absolute;
  top: 31px;
  left: 60px;
  right: 60px;
  height: 2px;
  background-color: #e2e8f0;
  z-index: 1;
}

.timeline-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-time {
  font-family: var(--font-header);
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 3px solid var(--primary-color);
  margin-bottom: 8px;
  transition: transform var(--transition-fast) ease;
}

.matrix-row:hover .step-dot {
  transform: scale(1.3);
}

.step-text {
  font-family: var(--font-body);
  font-size: 12.5px;
  color: #4a5568;
  max-width: 150px;
  margin: 0;
  line-height: 1.4;
}

.matrix-col-action {
  display: flex;
  justify-content: flex-end;
}

.btn-matrix-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 10px;
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.5px;
  transition: all var(--transition-fast) ease;
  width: 100%;
  border: 1px solid var(--primary-color);
}

.btn-matrix-order:hover {
  background-color: #a32a2a;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(192, 52, 52, 0.2);
  color: #ffffff;
  border-color: #a32a2a;
}

/* Responsive Grid and Stacking */
@media (max-width: 992px) {
  .performance-layout-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .product-showcase-sticky {
    position: static;
    max-width: 350px;
    margin: 0 auto;
  }
  
  .matrix-row {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }
  
  .matrix-col-action {
    justify-content: center;
  }
  
  .horizontal-timeline::before {
    display: none;
  }
  
  .horizontal-timeline {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .timeline-step {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 12px;
  }
  
  .step-time {
    margin-bottom: 0;
    min-width: 60px;
  }
  
  .step-dot {
    margin-bottom: 0;
  }
  
  .step-text {
    max-width: 100%;
  }
}

/* ==========================================================================
   News / Blog Section Styling
   ========================================================================== */
.news-section {
  background-color: #fff6f6;
  padding-top: 70px;
  padding-bottom: 70px;
  border-bottom: 1px solid var(--border-color);
}

.news-carousel .owl-stage {
  display: flex;
}

.news-carousel .owl-item {
  display: flex;
  flex: 1 0 auto;
}

.blog-post {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  transition: all var(--transition-fast) ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.blog-post:hover {
  transform: translateY(-5px);
  border-color: rgba(192, 52, 52, 0.2);
  box-shadow: 0 10px 25px rgba(192, 52, 52, 0.08);
}

.entry-thumbnail-wrapper {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  width: 100%;
  aspect-ratio: 4/3;
  border-bottom: 1px solid #e2e8f0;
}

.blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium) ease;
}

.blog-post:hover .blog-img {
  transform: scale(1.05);
}

.entry-date-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary-color);
  color: #ffffff;
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 11px;
  padding: 6px 14px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(192, 52, 52, 0.25);
  z-index: 2;
}

.entry-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.entry-title {
  font-family: var(--font-header);
  font-size: 19px;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 12px;
  line-height: 1.35;
}

.entry-title a {
  color: #1a202c;
  transition: color var(--transition-fast) ease;
}

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

.entry-text {
  font-family: var(--font-body);
  font-size: 14px;
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 20px;
}

.entry-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  border-top: 1px solid #f1f5f9;
  padding-top: 15px;
}

.btn-news-read {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 11px;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: all var(--transition-fast) ease;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1.5px solid var(--primary-color);
  background-color: transparent;
  text-decoration: none;
}

.btn-news-read:hover {
  background-color: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
  box-shadow: 0 4px 10px rgba(192, 52, 52, 0.15);
  text-decoration: none;
}

.btn-news-read i {
  font-size: 13px;
  line-height: 1;
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 11.5px;
  color: #64748b;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.meta-item a {
  color: #64748b;
  transition: color var(--transition-fast) ease;
}

.meta-item a:hover {
  color: var(--primary-color);
}
/* ==========================================================================
   Contact / Get In Touch Section Styling
   ========================================================================== */
.contact-section {
  background-color: #ffffff;
  padding-top: 70px;
  padding-bottom: 70px;
  border-bottom: 1px solid var(--border-color);
}

/* 2-Column Contact Grid wrapper */
.contact-grid-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

/* Left Column: Info & Map container */
.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Detail Cards */
.contact-detail-card {
  background: #f8fafc;
  border: 1px solid #eef2f6;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
  transition: all var(--transition-fast) ease;
}

.contact-detail-card:hover {
  border-color: rgba(192, 52, 52, 0.15);
  box-shadow: 0 12px 20px rgba(192, 52, 52, 0.03);
  transform: translateY(-2px);
}

.detail-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 12px;
  margin-bottom: 15px;
}

.detail-card-header i {
  font-size: 22px;
  color: var(--primary-color);
}

.detail-card-header h3 {
  font-family: var(--font-header);
  font-size: 15.5px;
  font-weight: 700;
  color: #1a202c;
  margin: 0;
}

.detail-card-body h4.company-name {
  font-family: var(--font-header);
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.detail-card-body p {
  font-size: 13.5px;
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.detail-card-body p i {
  color: #64748b;
  font-size: 16px;
  margin-top: 3px;
}

.detail-card-body p a {
  color: #4a5568;
  transition: color var(--transition-fast) ease;
  text-decoration: none;
}

.detail-card-body p a:hover {
  color: var(--primary-color);
}

/* Google Map Wrapper */
.contact-map-wrapper {
  border: 1px solid #eef2f6;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.contact-map-wrapper iframe {
  display: block;
}

.full-width-map {
  margin-top: 40px;
}

/* Right Column: Premium Contact Form Card */
.contact-form-card {
  background: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.form-card-title {
  font-family: var(--font-header);
  font-size: 24px;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 8px;
}

.form-card-desc {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 30px;
}

/* Premium Form Elements */
.premium-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #4a5568;
  letter-spacing: 0.5px;
}

.input-wrapper {
  position: relative;
  width: 100%;
}

.input-wrapper i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 18px;
  pointer-events: none;
  transition: color var(--transition-fast) ease;
}

.input-wrapper input,
.input-wrapper textarea {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px 14px 48px;
  font-family: var(--font-body);
  font-size: 14px;
  color: #1a202c;
  transition: all var(--transition-fast) ease;
  outline: none;
}

.input-wrapper input::placeholder,
.input-wrapper textarea::placeholder {
  font-family: var(--font-body);
  font-size: 14px;
  color: #94a3b8;
}

.input-wrapper textarea {
  padding-top: 14px;
  resize: vertical;
}

.textarea-wrapper i {
  top: 16px;
  transform: none;
}

.input-wrapper input:focus,
.input-wrapper textarea:focus {
  background: #ffffff;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(192, 52, 52, 0.1);
}

.input-wrapper input:focus + i,
.input-wrapper textarea:focus + i {
  color: var(--primary-color);
}

.captcha-group {
  margin-top: 5px;
  margin-bottom: 5px;
}

.btn-form-submit {
  background: var(--primary-color) !important;
  color: #ffffff !important;
  border: none;
  border-radius: 12px;
  padding: 15px 30px;
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all var(--transition-fast) ease;
  box-shadow: 0 4px 12px rgba(192, 52, 52, 0.2);
}

.btn-form-submit:hover {
  background: #a32a2a !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(192, 52, 52, 0.3);
}

.btn-form-submit i {
  font-size: 16px;
  transition: transform var(--transition-fast) ease;
}

.btn-form-submit:hover i {
  transform: translate(3px, -2px);
}

/* Responsiveness */
@media (max-width: 992px) {
  .contact-grid-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 576px) {
  .contact-form-card {
    padding: 25px 20px;
  }
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ==========================================================================
   Scroll To Top Button
   ========================================================================== */
.scroll-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background-color: var(--primary-color);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 15px rgba(192, 52, 52, 0.3);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-medium) cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.scroll-to-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top-btn:hover {
  background-color: #a32a2a;
  color: #ffffff;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(192, 52, 52, 0.4);
}

/* ==========================================================================
   Global Responsiveness & Safeguards
   ========================================================================== */
html, body {
  max-width: 100%;
  overflow-x: clip;
}

p, a, span, h1, h2, h3, h4, h5, h6, li, td, th {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Google reCAPTCHA Responsive Scale styling */
.g-recaptcha {
  max-width: 100%;
  overflow: hidden;
}

@media (max-width: 380px) {
  .g-recaptcha {
    transform: scale(0.77);
    -webkit-transform: scale(0.77);
    transform-origin: left top;
    width: 233px;
    height: 60px;
  }
}
