/* =============================================================================
   Flavorade India — shared website stylesheet

   Ownership guide:
   - "Shared" sections are used by multiple HTML pages (layout, header, footer).
   - "PAGE: <file>" sections apply only to the named page.
   - Every active product page has its own labelled block further down this file.
   - Product blocks are owned by: basmati.html, mustard.html, sisha.html,
     tobacco.html, alcohol.html, pharmaa.html, protein.html, savourys.html,
     oils.html, tea.html, sweetener.html, cocoa.html, chocolate.html,
     beverages.html, confectioneryy.html, bakeryy.html, and ice.html.
   ============================================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--light-bg);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
}

/* ============================================
   Navbar Styles
   ============================================ */
.navbar {
  background: #ffffff;
  box-shadow: 0 2px 20px var(--shadow);
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.navbar-brand {
  font-weight: 700;
  color: var(--primary) !important;
  font-size: 1.8rem;
  text-shadow: none;
  transition: var(--transition);
  padding-left: 5rem;
  padding-right: 5rem;
}

.navbar-brand:hover {
  transform: scale(1.05);
}

.navbar-brand img {
  height: 45px;
  width: auto;
}

/* .navbar-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
} */

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.navbar-item {
  list-style: none;
}

.navbar-link {
  font-weight: 500;
  color: var(--text-dark) !important;
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  border-radius: var(--border-radius);
  white-space: nowrap;
  display: block;
}

.navbar-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-link:hover::after,
.navbar-link.active::after {
  width: 100%;
}

.navbar-link:hover,
.navbar-link.active {
  color: var(--primary) !important;
  transform: translateY(-2px);
}

.search-btn {
  font-weight: 500;
  color: var(--text-dark) !important;
  transition: var(--transition);
  position: relative;
  padding: 0.6rem 1.2rem;
  margin: 0 0.25rem;
  border-radius: var(--border-radius);
  background: var(--gradient-primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 42px;
}

.search-btn:hover {
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
}

.search-btn i {
  font-size: 1.1rem;
  color: white;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 10000;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text-dark);
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 991px) {

  #navbarMenu {
    position: fixed !important;

    top: 70px !important;
    right: 15px !important;
    left: auto !important;

    width: 220px !important;
    max-width: 220px !important;

    /* CONTENT KE ACCORDING HEIGHT */
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    background: #ffffff;

    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;

    padding: 12px !important;
    margin: 0 !important;

    z-index: 9998;

    /* Rounded premium look */
    border-radius: 12px;

    /* Shadow */
    box-shadow:
      0 10px 35px rgba(0, 0, 0, 0.18),
      0 2px 8px rgba(0, 0, 0, 0.08);

    transform: scale(0.05);
    transform-origin: top right;

    opacity: 0;
    visibility: hidden;

    transition:
      transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
      opacity 0.2s ease,
      visibility 0.2s ease;
  }


  /* OPEN MENU */
  #navbarMenu.show,
  #navbarMenu.active {
    transform: scale(1) !important;
    opacity: 1;
    visibility: visible;
  }


  /* MENU ITEMS */
  #navbarMenu .nav-item {
    width: 100% !important;
    margin: 2px 0 !important;
  }


  /* MENU LINKS */
  #navbarMenu .nav-link {
    display: block !important;

    width: 100% !important;

    padding: 11px 14px !important;

    color: #333;

    font-size: 15px;

    font-weight: 500;

    text-align: left;

    border-radius: 7px;

    transition:
      background 0.25s ease,
      color 0.25s ease,
      transform 0.25s ease,
      box-shadow 0.25s ease;
  }


  /* HOVER EFFECT */
  #navbarMenu .nav-link:hover {
    color: #e21b23 !important;

    background: rgba(226, 27, 35, 0.07);

    transform: translateX(-4px);

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }


  /* ACTIVE ITEM */
  #navbarMenu .nav-link.active {
    color: #e21b23 !important;

    font-weight: 600;

    background: rgba(226, 27, 35, 0.06);
  }


  /* MENU BUTTON */
  #menuToggle {
    position: relative;
    z-index: 10000;
  }
}


@media (max-width: 991px) {
  .menu-toggle {
    display: flex;
  }

  .navbar-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9998;
  }

  .navbar-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .navbar-item {
    width: 100%;
    text-align: center;
  }

  .navbar-link {
    display: block;
    padding: 0.75rem;
  }

  .search-btn {
    margin: 0.5rem auto;
  }
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  background: white;
  min-height: 10vh;
  color: var(--text-dark);
  display: flex;
  width: 100%;
  align-items: center;
  position: relative;
  padding-top: 80px;
}

.hero h1 {
  font-size: 3.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  background: linear-gradient(45deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.35rem;
  max-width: 720px;
  color: var(--text-dark);
  font-weight: 300;
}

/* Home page image banner carousel */
.home-banner {
  position: relative;
  width: 100%;
  height: clamp(420px, 50vw, 720px);
  overflow: hidden;
  background: #6f1018;
}

.home-banner-track {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.home-banner-track.is-dragging {
  cursor: grabbing;
}

.home-banner-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  flex: none;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: opacity .8s ease, visibility .8s ease;
}

.home-banner-slide[aria-current="true"] {
  z-index: 1;
  opacity: 1;
  visibility: visible;
}

.home-banner-slide:first-child:not([aria-current]) {
  z-index: 1;
  opacity: 1;
  visibility: visible;
}

.home-banner-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(35, 10, 10, .18), transparent 65%), linear-gradient(0deg, rgba(20, 10, 10, .16), transparent 42%);
}

.home-banner-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  -webkit-user-drag: none;
  pointer-events: none;
  transition: transform 6s ease;
}

.home-banner-slide[aria-current="true"] img {
  transform: scale(1.045);
}

.home-banner-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 26px;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}

.home-banner-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, .62);
  cursor: pointer;
  transition: width .25s, background .25s;
}

.home-banner-dot[aria-current="true"] {
  width: 30px;
  background: #f6bf18;
}

.home-introduction {
  position: relative;
  z-index: 1;
  padding: 82px 5.5%;
  background: #fff;
}

.home-introduction-inner {
  display: grid;
  grid-template-columns: minmax(320px, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(50px, 8vw, 125px);
  max-width: 1420px;
  margin: 0 auto;
}

.home-introduction-visual {
  position: relative;
  padding: 0 28px 14px 0;
}

.home-introduction-visual img {
  display: block;
  width: 100%;
  height: clamp(380px, 40vw, 520px);
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(50, 32, 20, .12);
  transition: transform .55s ease, box-shadow .55s ease;
}

.home-introduction-visual:hover img {
  transform: translateY(-5px);
  box-shadow: 0 26px 52px rgba(50, 32, 20, .18);
}

.introduction-experience-badge {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  width: 132px;
  min-height: 112px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 12px;
  color: #fff;
  text-align: center;
  background: linear-gradient(145deg, #c51019, #a90c14);
  box-shadow: 0 12px 28px rgba(145, 14, 20, .22);
  transition: transform .3s ease;
}

.home-introduction-visual:hover .introduction-experience-badge {
  transform: translateY(-5px);
}

.introduction-experience-badge strong {
  font-size: 13px;
  font-weight: 600;
}

.introduction-experience-badge span {
  color: #ffe083;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.05;
}

.introduction-experience-badge small {
  font-size: 11px;
}

.home-introduction-copy {
  max-width: 700px;
  animation: pillarRise .7s both;
}

.home-introduction-kicker {
  display: inline-block;
  margin-bottom: 15px;
  color: #b5121b;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .15em;
}

.home-introduction h2 {
  margin: 0 0 20px;
  color: #252d41;
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.14;
}

.home-introduction-copy p {
  margin: 0 0 14px;
  color: #606c80;
  font-size: 16px;
  line-height: 1.85;
}

.introduction-values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 21px;
}

.introduction-values span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #51413d;
  font-size: 13px;
  font-weight: 600;
}

.introduction-values i {
  color: #bd1722;
}

.home-flavour-month { padding: 65px 5.5% 78px; background: #fffaf6; }
.flavour-month-inner { max-width: 1420px; margin: 0 auto; }
.flavour-month-heading { margin-bottom: 28px; text-align: center; }
.flavour-month-heading > span,.flavour-month-label { color: #b5121b; font-size: 12px; font-weight: 700; letter-spacing: .17em; }
.flavour-month-heading h2 { margin: 8px 0; color: #292929; font-size: clamp(32px,4vw,48px); font-weight: 700; }
.flavour-month-heading p { margin: 0; color: #716965; font-size: 16px; }
.flavour-month-feature { display: grid; grid-template-columns: minmax(280px,.8fr) minmax(0,1.2fr); align-items: stretch; overflow: hidden; border: 1px solid #f0e1d7; border-radius: 22px; background: #fff; box-shadow: 0 15px 40px rgba(70,40,25,.07); transition: transform .3s ease,box-shadow .3s ease; }
.flavour-month-feature:hover { transform: translateY(-5px); box-shadow: 0 22px 48px rgba(70,40,25,.13); }
.flavour-month-art { position: relative; display: flex; min-height: 300px; flex-direction: column; align-items: center; justify-content: center; gap: 12px; overflow: hidden; color: #fff; text-align: center; background: radial-gradient(circle at 72% 18%,rgba(255,255,255,.13),transparent 28%),linear-gradient(145deg,#631d1e,#a70f18 64%,#c3402d); }
.flavour-month-art::before,.flavour-month-art::after { content: ''; position: absolute; width: 260px; height: 260px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; }
.flavour-month-art::after { width: 320px; height: 320px; }
.flavour-month-art i { position: relative; z-index: 1; color: #f2cf88; font-size: 48px; transition: transform .35s; }
.flavour-month-feature:hover .flavour-month-art i { transform: translateY(-5px) rotate(-8deg); }
.flavour-month-art span { position: relative; z-index: 1; font-size: 34px; font-weight: 800; letter-spacing: .08em; line-height: 1.05; }
.flavour-month-art small { position: relative; z-index: 1; color: #f8dfb8; font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.flavour-month-copy { align-self: center; padding: clamp(28px,5vw,62px); }
.flavour-month-copy h3 { margin: 8px 0 14px; color: #332724; font-size: clamp(28px,3vw,40px); font-weight: 700; }
.flavour-month-copy p { color: #716965; font-size: 16px; line-height: 1.85; }
.flavour-month-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 19px; }
.flavour-month-tags span { padding: 8px 13px; border: 1px solid #f0e1d7; border-radius: 999px; color: #70423b; background: #fffaf6; font-size: 12px; font-weight: 600; transition: transform .2s,border-color .2s; }
.flavour-month-tags span:hover { transform: translateY(-3px); border-color: #b5121b; }
@media (max-width: 800px) { .home-flavour-month { padding: 52px 6%; } .flavour-month-feature { grid-template-columns: 1fr; } .flavour-month-art { min-height: 240px; } .flavour-month-copy { padding: 30px 25px; } }
@media (max-width: 480px) { .home-flavour-month { padding: 45px 20px; } .flavour-month-art { min-height: 210px; } .flavour-month-copy p { font-size: 15px; } }

@media (max-width: 850px) {
  .home-introduction {
    padding: 62px 6%;
  }

  .home-introduction-inner {
    grid-template-columns: 1fr;
    gap: 44px;
    max-width: 700px;
  }

  .home-introduction-visual {
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
  }

  .home-introduction-visual img {
    height: clamp(320px, 68vw, 470px);
  }
}

@media (max-width: 480px) {
  .home-introduction {
    padding: 48px 22px;
  }

  .home-introduction h2 {
    font-size: 35px;
  }

  .home-introduction-copy p {
    font-size: 15px;
  }

  .introduction-values {
    display: grid;
  }
}

@media (max-width: 700px) {
  .home-banner {
    height: 350px;
  }

  .home-banner-dots {
    bottom: 25px;
  }
}

@media (max-width: 700px) {
  .home-banner {
    height: auto;
    min-height: 0;
    aspect-ratio: 2.3 / 1;
    margin-top: 78px;
  }

  .home-banner-track {
    position: absolute;
    inset: 0;
    height: 100%;
  }

  .home-banner-slide img {
    object-fit: contain;
    object-position: center;
    transform: none !important;
    background: var(--light-bg, #fffdf6);
  }
}

@media (prefers-reduced-motion: reduce) {

  .home-banner-track,
  .home-banner-slide img {
    transition: none;
  }
}

/* Site-wide responsive safety rules. */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

img,
video,
iframe,
svg {
  max-width: 100%;
}

@media (max-width: 900px) {
  .container,
  .container-fluid,
  .section-container,
  .content-wrapper,
  .page-container {
    width: min(100% - 2rem, 100%);
    max-width: 100%;
  }

  .row {
    margin-left: 0;
    margin-right: 0;
  }

  .navbar-collapse,
  .nav-menu,
  .navbar-nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  section {
    scroll-margin-top: 5rem;
  }

  h1 {
    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 1.12;
  }

  h2 {
    font-size: clamp(1.55rem, 7vw, 2.25rem);
    line-height: 1.2;
  }

  .container,
  .container-fluid,
  .section-container,
  .content-wrapper,
  .page-container {
    width: min(100% - 1.25rem, 100%);
  }

  table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
  }
}

/* ============================================
   Products Section
   ============================================ */
.section-padding {
  padding: 80px 0;
}

.bg-white {
  background-color: white;
}

.section-title {
  position: relative;
  font-weight: 700;
  margin-bottom: 2.5rem;
  font-size: 2rem;
  color: var(--text-dark);
}

.section-title:after {
  content: '';
  width: 80px;
  height: 4px;
  background: var(--primary);
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 4px;
}

/* ============================================
   Contact Now Banner
   ============================================ */
.contact-banner {
  background: url('images/banner6.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 80px 0;
  text-align: center;
  color: white;
  display: flex;
  justify-content: center;
}


/* Make Contact Now button more attractive */
.contact-banner .btn-flavor,
.contact-banner .btn.btn-flavor,
.contact-banner .btn.btn-flavor:link,
.contact-banner .btn.btn-flavor:visited,
.contact-banner .btn.btn-flavor:hover,
.contact-banner .btn.btn-flavor:focus,
/* Our Product section "View All" button */
#categoryTrack~div .btn-flavor {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 34px !important;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.2px;
  color: #ffffff !important;
  background: linear-gradient(135deg, #d32f2f 0%, #FFC107 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 12px 35px rgba(211, 47, 47, 0.45), 0 0 0 0 rgba(255, 193, 7, 0.0);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  width: auto;
  max-width: max-content;
}


.contact-banner .btn-flavor:hover,
#categoryTrack~div .btn-flavor:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 50px rgba(211, 47, 47, 0.6);
  filter: saturate(1.15);
}

.contact-banner .btn-flavor:focus {
  outline: none;
  box-shadow: 0 18px 50px rgba(211, 47, 47, 0.6), 0 0 0 4px rgba(255, 193, 7, 0.25);
}

.btn-contact {
  background: var(--gradient-primary);
  color: white;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-contact:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(211, 47, 47, 0.5);
}

/* ============================================
   About Section
   ============================================ */
#about {
  /* background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); */
  padding: 80px 0;
}

/* Mission & Vision Cards Wrapper */
.mission-vision-section {
  /* background: linear-gradient(135deg, rgba(211,47,47,0.18) 0%, rgba(255,193,7,0.18) 100%) !important; */
  border-radius: 16px;
  padding: 18px;
}

/* Our Mission & Vision (About page) - link style */
.mission-vision-section--about {
  position: relative;
}

.mission-vision-section--about .mission-vision-heading {
  text-align: center;
  margin-bottom: 26px;
}

.mission-vision-heading__label {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.2px;
  line-height: 1.2;
}

.mission-vision-heading__line {
  width: 90px;
  height: 4px;
  border-radius: 999px;
  margin: 12px auto 0;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  box-shadow: 0 10px 30px rgba(211, 47, 47, 0.15);
}

.mission-vision-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.92) 100%);
  border-radius: 18px;
  border: 1px solid rgba(229, 231, 235, 1);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  display: flex;
  gap: 16px;
  padding: 20px 18px;
  align-items: flex-start;
  position: relative;
}

.mission-vision-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, rgba(211, 47, 47, 0.18), rgba(255, 193, 7, 0.18));
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.mission-vision-card:hover::before {
  opacity: 1;
}

.mission-vision-card__icon {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(211, 47, 47, 0.10), rgba(255, 193, 7, 0.10));
  border: 1px solid rgba(211, 47, 47, 0.14);
}

.mission-vision-card__icon i {
  color: var(--primary);
  font-size: 1.25rem;
}

.mission-vision-card__body {
  position: relative;
  z-index: 1;
}

.mission-vision-card__title {
  font-weight: 900;
  color: #0f172a;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.mission-vision-card__text {
  margin: 0;
  color: rgba(15, 23, 42, 0.7);
  font-size: 0.95rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .mission-vision-heading__label {
    font-size: 1.2rem;
  }

  .mission-vision-card {
    padding: 16px 14px;
  }
}


.mission-vision-section .card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.92) 100%);
}


#about .section-title {
  color: var(--primary);
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

#about .card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  overflow: hidden;
}

#about .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

#about .card-body {
  padding: 2rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.1);
}

/* ============================================
   Social Sidebar
   ============================================ */
.social-sidebar {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--secondary);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.social-link.whatsapp {
  background-color: #25D366;
}

.social-link.facebook {
  background-color: #1877f2;
}

.social-link.instagram {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-link.twitter {
  background-color: #000000;
}

.social-link.linkedin {
  background-color: #0077b5;
}

.social-link.pinterest {
  background-color: #e60023;
}

.social-link.whatsapp:hover {
  background-color: #1fb356;
}

.social-link.facebook:hover {
  background-color: #0f65cc;
}

.social-link.instagram:hover {
  filter: saturate(1.15);
}

.social-link.twitter:hover {
  background-color: #111111;
}

.social-link.linkedin:hover {
  background-color: #006399;
}

.social-link.pinterest:hover {
  background-color: #cc001d;
}

.social-link i {
  font-size: 20px;
}

/* Home page social links at the end of the page. */
.home-social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  /* padding: 0 1.5rem 2rem; */
}

.home-social-links .social-link {
  flex: 0 0 auto;
}

@media (max-width: 768px) {
  .social-sidebar {
    right: 15px;
    top: auto;
    bottom: 80px;
    transform: none;
    flex-direction: row;
    gap: 8px;
  }

  .social-link {
    width: 40px;
    height: 40px;
  }
}

/* ============================================
   Footer Styles
   ============================================ */
.footer {
  background-color: #fff;
  color: #374151;
  padding: 4rem 1.5rem 1.5rem;
  border-top: 1px solid #d1d5db;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #d1d5db;
}

.footer-brand img {
  width: 10rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: #999;
  margin-bottom: 1.5rem;
  line-height: 1.625;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  transform: translateY(-0.5rem);
}

.fb-link {
  background-color: #1877f2;
}

.twitter-link {
  background-color: black;
}

.ig-link {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
}

.yt-link {
  background-color: #ff0000;
}

.footer-links h4 {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-contact h4 {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.footer-bottom {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
  padding-top: 1.5rem;
  /* border-top: 1px solid #333; */
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================
   Utility Classes
   ============================================ */
.about-subline {
  margin-top: 8px;
}

.about-subline-text {
  display: inline-block;
  padding: 8px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(211, 47, 47, 0.12), rgba(255, 193, 7, 0.12));
  border: 1px solid rgba(211, 47, 47, 0.22);
  color: #b71c1c;
  font-weight: 700;
  font-size: 1rem;
}

.container {

  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.mt-5 {
  margin-top: 3rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.py-5 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.p-4 {
  padding: 1.5rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: -15px;
}

.col-12 {
  width: 100%;
}

.col-6 {
  width: 50%;
}

.col-4 {
  width: 33.333%;
}

.col-3 {
  width: 25%;
}

@media (max-width: 991px) {
  .col-lg-6 {
    width: 50%;
  }

  .col-lg-4 {
    width: 33.333%;
  }
}

@media (max-width: 767px) {
  .col-md-6 {
    width: 50%;
  }

  .col-md-4 {
    width: 33.333%;
  }
}

.d-flex {
  display: flex;
}

.align-items-center {
  align-items: center;
}

.justify-content-center {
  justify-content: center;
}

.justify-content-between {
  justify-content: space-between;
}

.text-primary {
  color: var(--primary);
}

.bg-light {
  background-color: #f8f9fa;
}

/* ============================================
   CUSTOMER SEGMENTS PAGE - REDESIGNED
   ============================================ */

/* Animated Background */
.segments-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
  overflow: hidden;
}

.segments-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(211, 47, 47, 0.3) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(245, 124, 0, 0.3) 0%, transparent 40%),
    radial-gradient(circle at 40% 40%, rgba(156, 39, 176, 0.2) 0%, transparent 30%);
  animation: bgPulse 8s ease-in-out infinite;
}

@keyframes bgPulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

/* Floating particles */
.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.shape {
  position: absolute;
  opacity: 0.1;
  animation: float 20s infinite;
}

.shape-1 {
  width: 300px;
  height: 300px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  top: 10%;
  left: -5%;
  animation-delay: 0s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  border: 2px solid var(--secondary);
  top: 60%;
  right: -3%;
  transform: rotate(45deg);
  animation-delay: -5s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  border: 2px solid #9c27b0;
  border-radius: 30%;
  bottom: 20%;
  left: 10%;
  animation-delay: -10s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  25% {
    transform: translateY(-30px) rotate(5deg);
  }

  50% {
    transform: translateY(0) rotate(0deg);
  }

  75% {
    transform: translateY(30px) rotate(-5deg);
  }
}

/* Hero Section - Segments */
.segments-hero {
  /* min-height: 44vh; */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 5px 5px 5px;
  overflow: hidden;
}

.segments-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    /* linear-gradient(180deg, rgba(15, 12, 41, 0.9) 0%, rgba(48, 43, 99, 0.7) 100%); */
    z-index: 0;
}

.hero-content-new {
  text-align: center;
  position: relative;
  z-index: 2;
  /* max-width: 900px; */
}

.hero-badge-new {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
  backdrop-filter: blur(10px);
  animation: fadeInDown 0.8s ease forwards;
}

.hero-badge-new i {
  color: var(--secondary);
}

.hero-title-new {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

.hero-title-new .highlight-new {
  background: linear-gradient(135deg, #ff6b6b 0%, #feca57 50%, #48dbfb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.hero-title-new .highlight-new::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb);
  border-radius: 2px;
}

.hero-desc-new {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 600px;
  margin: 0 auto 40px;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.4s;
  opacity: 0;
}

/* Stats with animation */
.hero-stats-new {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.6s;
  opacity: 0;
}

.stat-item-new {
  text-align: center;
  position: relative;
}

.stat-item-new::after {
  content: '';
  position: absolute;
  right: -25px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.stat-item-new:last-child::after {
  display: none;
}

.stat-number-new {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ff6b6b, #feca57);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  display: inline-block;
}

.stat-label-new {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 8px;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Filter Section - Glassmorphism */
.filter-section-new {
  padding: 25px 20px;
  /* background: rgba(255, 255, 255, 0.05); */
  /* backdrop-filter: blur(20px); */
  /* -webkit-backdrop-filter: blur(20px); */
  position: sticky;
  top: 70px;
  z-index: 100;
  /* border-bottom: 1px solid rgba(255,255,255,0.08); */
  margin-bottom: 50px;
}

.filter-section-new {
  background-color: white;
}

.filter-container-new {
  max-width: 1400px;
  margin: 0 auto;
}

.filter-buttons-new {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn-new {
  padding: 12px 26px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.filter-btn-new::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  transition: left 0.4s ease;
  z-index: -1;
}

.filter-btn-new:hover {
  border-color: transparent;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(211, 47, 47, 0.3);
}

.filter-btn-new:hover::before {
  left: 0;
}

.filter-btn-new.active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: transparent;
  color: white;
  box-shadow: 0 8px 25px rgba(211, 47, 47, 0.4);
}

.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-size: 0.75rem;
  margin-left: 8px;
  transition: all 0.3s ease;
}

.filter-btn-new:hover .filter-count,
.filter-btn-new.active .filter-count {
  background: rgba(255, 255, 255, 0.3);
}

/* Glass Cards Grid */
.segments-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 20px 20px 100px;
  position: relative;
  z-index: 1;
  /* background-color: white; */
}

.floating-shapes {
  background-color: white;
}

.segments-header {
  text-align: center;
  margin-bottom: 60px;
}

.segments-header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: white;
}

.segments-header h2 span {
  background: linear-gradient(135deg, #ff6b6b, #feca57);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.segments-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 25px;
  perspective: 1000px;
}

/* Career page: Why Join Us (3 cards, no blank side space) */
.segments-grid-why {
  grid-auto-rows: 1fr;
}


/* Glass Card */
.glass-card {
  position: relative;
  height: 340px;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.glass-card:hover {
  transform: translateY(-15px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.glass-card:hover::before {
  opacity: 1;
}

.glass-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.15;
  transition: all 0.5s ease;
}

.glass-card:hover .glass-card-bg {
  opacity: 0.25;
  transform: scale(1.1);
}

/* Card Content */
.glass-card-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 30px;
}

.glass-card-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.glass-card-icon::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: iconShine 3s infinite;
  opacity: 0;
}

.glass-card:hover .glass-card-icon::after {
  opacity: 1;
}

@keyframes iconShine {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.glass-card:hover .glass-card-icon {
  transform: rotate(10deg) scale(1.1);
  background: var(--card-gradient);
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.glass-card-icon i {
  font-size: 1.8rem;
  color: white;
  position: relative;
  z-index: 1;
}

.glass-card-title {
  font-size: 1.4rem;
  font-weight: 600;
  /* color: rgb(29, 1, 1); */
  color: #ff9800;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.glass-card:hover .glass-card-title {
  color: rgb(41, 3, 3);
}

.glass-card-desc {
  font-size: 0.9rem;
  /* color: rgb(34, 2, 2); */
  color: #ff9800;
  line-height: 1.6;
  flex-grow: 1;
}

.glass-card-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.glass-card-link {
  color: var(--secondary);
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.glass-card:hover .glass-card-link {
  color: rgb(37, 3, 3);
  gap: 12px;
}

.glass-card-link i {
  font-size: 0.8rem;
}

.glass-card-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff9800;
  transition: all 0.3s ease;
}

.glass-card:hover .glass-card-arrow {
  background: var(--card-gradient);
  transform: translate(5px, -5px);
}

/* Card Number */
.glass-card-number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
  z-index: 0;
}

/* Card Glow Effect */
.glass-card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--card-gradient) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 0;
}

.glass-card:hover .glass-card-glow {
  opacity: 0.15;
}

/* Category-specific colors */
.glass-card[data-category="ghee"] {
  --card-color: #FF9800;
  --card-gradient: linear-gradient(135deg, #FF9800, #F57C00);
}

.glass-card[data-category="rice"] {
  --card-color: #8D6E63;
  --card-gradient: linear-gradient(135deg, #8D6E63, #6D4C41);
}

.glass-card[data-category="tea"] {
  --card-color: #4CAF50;
  --card-gradient: linear-gradient(135deg, #4CAF50, #388E3C);
}

.glass-card[data-category="icecream"] {
  --card-color: #E91E63;
  --card-gradient: linear-gradient(135deg, #E91E63, #C2185B);
}

.glass-card[data-category="hookah"] {
  --card-color: #9C27B0;
  --card-gradient: linear-gradient(135deg, #9C27B0, #7B1FA2);
}

.glass-card[data-category="liquor"] {
  --card-color: #795548;
  --card-gradient: linear-gradient(135deg, #795548, #5D4037);
}

.glass-card[data-category="nutraceutical"] {
  --card-color: #00BCD4;
  --card-gradient: linear-gradient(135deg, #00BCD4, #0097A7);
}

.glass-card[data-category="beverages"] {
  --card-color: #009688;
  --card-gradient: linear-gradient(135deg, #009688, #00796B);
}

.glass-card[data-category="tobacco"] {
  --card-color: #8D6E63;
  --card-gradient: linear-gradient(135deg, #8D6E63, #6D4C41);
}

.glass-card[data-category="bakery"] {
  --card-color: #FF5722;
  --card-gradient: linear-gradient(135deg, #FF5722, #E64A19);
}

.glass-card[data-category="dairy"] {
  --card-color: #FFC107;
  --card-gradient: linear-gradient(135deg, #FFC107, #FFA000);
}

.glass-card[data-category="pharma"] {
  --card-color: #673AB7;
  --card-gradient: linear-gradient(135deg, #673AB7, #512DA8);
}

.glass-card[data-category="savoury"] {
  --card-color: #607D8B;
  --card-gradient: linear-gradient(135deg, #607D8B, #455A64);
}

.glass-card[data-category="confectionery"] {
  --card-color: #FF4081;
  --card-gradient: linear-gradient(135deg, #FF4081, #F50057);
}

.glass-card[data-category="chocolate"] {
  --card-color: #6D4C41;
  --card-gradient: linear-gradient(135deg, #6D4C41, #4E342E);
}

/* Card animations */
.glass-card {
  opacity: 0;
  animation: cardFadeIn 0.6s ease forwards;
}

@keyframes cardFadeIn {
  to {
    opacity: 1;
  }
}

.segments-grid .glass-card:nth-child(1) {
  animation-delay: 0.05s;
}

.segments-grid .glass-card:nth-child(2) {
  animation-delay: 0.1s;
}

.segments-grid .glass-card:nth-child(3) {
  animation-delay: 0.15s;
}

.segments-grid .glass-card:nth-child(4) {
  animation-delay: 0.2s;
}

.segments-grid .glass-card:nth-child(5) {
  animation-delay: 0.25s;
}

.segments-grid .glass-card:nth-child(6) {
  animation-delay: 0.3s;
}

.segments-grid .glass-card:nth-child(7) {
  animation-delay: 0.35s;
}

.segments-grid .glass-card:nth-child(8) {
  animation-delay: 0.4s;
}

.segments-grid .glass-card:nth-child(9) {
  animation-delay: 0.45s;
}

.segments-grid .glass-card:nth-child(10) {
  animation-delay: 0.5s;
}

.segments-grid .glass-card:nth-child(11) {
  animation-delay: 0.55s;
}

.segments-grid .glass-card:nth-child(12) {
  animation-delay: 0.6s;
}

.segments-grid .glass-card:nth-child(13) {
  animation-delay: 0.65s;
}

.segments-grid .glass-card:nth-child(14) {
  animation-delay: 0.7s;
}

.segments-grid .glass-card:nth-child(15) {
  animation-delay: 0.75s;
}

/* Hidden class for filtering */
.glass-card.hidden {
  display: none;
}

/* Unified Flavorade visual language and shared interaction polish */
:root {
  --brand-red: #b8272d;
  --brand-orange: #e77835;
  --brand-ink: #292321;
  --brand-muted: #716965;
  --brand-cream: #fff9f3;
  --brand-line: #f0e3d8;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--brand-ink);
}

.navbar {
  border-bottom: 1px solid rgba(184, 39, 45, .08);
}

.navbar .nav-link {
  transition: color .25s ease, transform .25s ease;
}

.navbar .nav-link:hover {
  color: var(--brand-red);
  transform: translateY(-2px);
}

.home-intro-panels {
  max-width: 1200px;
  margin: 0 auto 72px;
  padding: 20px 24px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.home-intro-card {
  position: relative;
  padding: 32px 28px;
  min-height: 270px;
  background: #fff;
  border: 1px solid var(--brand-line);
  border-radius: 18px;
  box-shadow: 0 14px 35px rgba(70, 40, 25, .06);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  animation: flavorRise .65s both;
}

.home-intro-card:nth-child(2) {
  animation-delay: .12s;
}

.home-intro-card:nth-child(3) {
  animation-delay: .24s;
}

.home-intro-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(108, 43, 29, .13);
  border-color: #e9b6a2;
}

.home-intro-card>i {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 15px;
  color: var(--brand-red);
  background: #fff1e8;
  font-size: 21px;
}

.home-intro-card h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px;
}

.home-intro-card p {
  color: var(--brand-muted);
  line-height: 1.7;
  margin: 0 0 18px;
}

.home-intro-card a,
.procurement-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--brand-red);
  font-weight: 600;
}

.home-intro-card a i,
.procurement-link i {
  transition: transform .2s ease;
}

.home-intro-card a:hover i,
.procurement-link:hover i {
  transform: translateX(5px);
}

.home-section-number {
  position: absolute;
  top: 23px;
  right: 25px;
  color: #ead9cd;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .1em;
}

.home-section-heading {
  text-align: center;
  margin: 0 auto 28px;
  padding: 0 20px;
}

.home-section-heading span,
.blog-feature-intro .about-kicker {
  color: var(--brand-red);
  font-weight: 700;
  letter-spacing: .14em;
  font-size: 12px;
}

.home-section-heading h2 {
  margin: 7px 0;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
}

.home-section-heading p {
  color: var(--brand-muted);
}

.home-pillar-sections {
  position: relative;
  z-index: 1;
  display: grid;
  width: calc(100% + 40px);
  max-width: none;
  margin: 0 -20px 68px;
  padding: 0;
  gap: 0;
}

.home-pillar {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(38px, 6vw, 90px);
  min-height: 420px;
  padding: 70px max(32px, calc((100vw - 1500px)/2));
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: linear-gradient(115deg, #fff8f3 0%, #fffdfb 60%, #fff 100%);
  box-shadow: none;
  transition: none;
  animation: pillarRise .65s both;
  text-align: left;
}

.home-pillar:nth-child(2) {
  animation-delay: .12s;
}

.home-pillar:nth-child(3) {
  animation-delay: .24s;
}

.home-pillar:hover .pillar-copy h2 {
  color: #b5121b;
  transform: translateX(4px);
}

.pillar-copy h2 {
  transition: color .25s ease, transform .25s ease;
}

.pillar-copy {
  width: min(100%, 760px);
  margin: 0;
  align-self: center;
  text-align: left;
}

.pillar-image {
  position: relative;
  height: clamp(300px, 29vw, 430px);
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(70, 40, 25, .14);
  isolation: isolate;
}

.pillar-image::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -12px;
  right: -12px;
  width: 90px;
  height: 120px;
  background-image: radial-gradient(#bd1722 1.7px, transparent 2px);
  background-size: 17px 17px;
}

.pillar-image::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: linear-gradient(90deg, #b5121b, #e0b247);
}

.pillar-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}

.home-pillar:hover .pillar-image img {
  transform: scale(1.055);
}

.pillar-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin: 0 0 16px;
  border: 1px solid rgba(181, 18, 27, .2);
  border-radius: 50%;
  color: #b5121b;
  background: #fff;
  box-shadow: 0 9px 24px rgba(76, 35, 20, .08);
  font-size: 24px;
  transition: transform .35s ease, box-shadow .35s ease;
}

.home-pillar:hover .pillar-icon {
  transform: translateY(-4px) rotate(-7deg);
  box-shadow: 0 14px 30px rgba(76, 35, 20, .14);
}

.pillar-kicker {
  display: inline-block;
  margin-bottom: 11px;
  color: #b5121b;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
}

.pillar-copy h2 {
  margin: 0 0 15px;
  color: #302624;
  font-size: clamp(34px, 3.2vw, 48px);
  font-weight: 750;
}

.pillar-copy>p {
  max-width: 760px;
  margin: 0;
  color: #6e625e;
  font-size: 18px;
  line-height: 1.85;
}

.pillar-mark {
  position: relative;
  display: flex;
  min-height: 180px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 9px;
  overflow: hidden;
  border-radius: 0;
  color: #a9171e;
  text-align: center;
  background: transparent;
  box-shadow: none;
  transition: transform .35s ease;
}

.home-pillar:hover .pillar-mark {
  transform: translateY(-4px);
}

.pillar-mark>span {
  position: absolute;
  top: 0;
  right: 7px;
  color: rgba(181, 18, 27, .09);
  font-size: 100px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.08em;
  transition: color .3s, transform .3s;
}

.home-pillar:hover .pillar-mark>span {
  color: rgba(181, 18, 27, .15);
  transform: translateY(-4px);
}

.pillar-mark>i {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(181, 18, 27, .24);
  border-radius: 50%;
  color: #b5121b;
  background: transparent;
  font-size: 27px;
  transition: transform .35s, color .35s, background .35s;
}

.home-pillar:hover .pillar-mark>i {
  color: #b5121b;
  background: transparent;
  border-color: #b5121b;
  transform: rotate(-8deg) scale(1.08);
}

.pillar-mark strong {
  position: relative;
  z-index: 1;
  color: #59443d;
  font-size: 17px;
  line-height: 1.45;
}

.pillar-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 9px;
  margin-top: 19px;
}

.pillar-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border: 1px solid #f0e1d7;
  border-radius: 999px;
  color: #57433d;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
}

.pillar-highlights i {
  color: #bf2026;
}

.our-solutions-pillar {
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  background: linear-gradient(115deg, #fff 0%, #fff7ed 50%, #fffaf4 100%);
}

.our-solutions-pillar .pillar-copy {
  grid-column: auto;
  grid-row: auto;
}

.pillar-applications {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 20px;
}

.pillar-applications span {
  padding: 8px 12px;
  border: 1px solid #efdccf;
  border-radius: 999px;
  color: #70423b;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: color .2s, background .2s, border-color .2s, transform .2s;
}

.pillar-applications span:hover {
  transform: translateY(-2px);
  border-color: #b5121b;
  color: #b5121b;
  background: #fff;
}

.what-we-offer-pillar {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  background: linear-gradient(115deg, #fffaf0 0%, #fff 58%, #fff8f3 100%);
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 900px;
  margin: 22px 0 0;
  gap: 10px 30px;
  text-align: left;
}

.offer-grid span {
  display: grid;
  grid-template-columns: 25px 1fr;
  column-gap: 8px;
  align-items: center;
  padding: 10px 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  transition: transform .2s, color .2s;
}

.offer-grid span:hover {
  transform: translateX(4px);
}

.offer-grid i {
  grid-row: span 2;
  color: #b5121b;
}

.offer-grid b {
  color: #3f302b;
  font-size: 14px;
}

.offer-grid small {
  color: #81736d;
  font-size: 12px;
}

@keyframes pillarRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 800px) {
  .home-pillar-sections {
    width: calc(100% + 40px);
    margin: 0 -20px 45px;
    padding: 0;
    gap: 0;
  }

  .home-pillar,
  .our-solutions-pillar,
  .what-we-offer-pillar {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: 0;
    padding: 54px 24px;
  }

  .pillar-image {
    height: clamp(260px, 55vw, 380px);
  }

  .pillar-copy {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .home-pillar {
    padding: 44px 20px;
  }

  .offer-grid {
    grid-template-columns: 1fr;
  }

  .pillar-copy>p {
    font-size: 16px;
  }

  .pillar-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 15px;
  }
}

.category-item,
.benefit-card,
.application-chip,
.blog-card {
  transition: transform .28s ease, box-shadow .28s ease;
}

.category-item:hover,
.benefit-card:hover {
  transform: translateY(-6px);
}

.about-page-nav {
  position: sticky;
  top: 72px;
  z-index: 50;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255, 249, 243, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--brand-line);
}

.about-page-nav a {
  padding: 8px 14px;
  border-radius: 99px;
  color: var(--brand-ink);
  font-size: 13px;
  font-weight: 600;
  transition: background .2s, color .2s, transform .2s;
}

.about-page-nav a:hover {
  background: var(--brand-red);
  color: white;
  transform: translateY(-2px);
}

.about-page section[id],
.flavorade-home [id] {
  scroll-margin-top: 110px;
}

.certificate-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.certificate-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  min-height: 190px;
  padding: 14px;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--brand-line);
  border-radius: 15px;
  box-shadow: 0 10px 28px rgba(70, 40, 25, .06);
  transition: transform .25s, box-shadow .25s;
}

.certificate-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(70, 40, 25, .13);
}

.certificate-card img {
  width: 100%;
  height: 96px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
}

.certificate-card span {
  color: var(--brand-muted);
  font-size: 11px;
}

.certificate-card strong {
  color: var(--brand-ink);
  font-size: 17px;
}

.certificate-card small {
  color: var(--brand-red);
  font-weight: 600;
}

.procurement-section {
  padding: 76px 24px;
  text-align: center;
  background: var(--brand-cream);
  border-top: 1px solid var(--brand-line);
}

.procurement-section h2 {
  margin: 10px 0;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
}

.procurement-section p {
  max-width: 700px;
  margin: 0 auto 20px;
  color: var(--brand-muted);
}

.blog-feature-intro {
  text-align: center;
  max-width: 760px;
  margin: 25px auto 30px;
  padding: 20px 24px;
}

.blog-feature-intro h2 {
  margin: 8px 0;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 40px);
  color: var(--brand-ink);
}

.blog-feature-intro h2 em {
  color: var(--brand-red);
  font-style: normal;
}

.blog-feature-intro p {
  color: var(--brand-muted);
}

.blog-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 38px rgba(70, 40, 25, .13);
}

@keyframes flavorRise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width:760px) {
  .home-intro-panels {
    grid-template-columns: 1fr;
    margin-bottom: 52px;
    padding: 12px 18px 0;
  }

  .home-intro-card {
    min-height: 0;
  }

  .about-page-nav {
    top: 64px;
    gap: 4px;
  }

  .about-page-nav a {
    padding: 7px 10px;
    font-size: 12px;
  }

  .certificate-gallery {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* CTA Section */
.cta-section-new {
  padding: 100px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section-new::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(211, 47, 47, 0.2) 0%, transparent 70%);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  /* color: white; */
}

.cta-content h2 span {
  background: linear-gradient(135deg, #ff6b6b, #feca57);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-content p {
  /* color: rgba(255,255,255,0.6); */
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 30px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(211, 47, 47, 0.4);
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 50px rgba(211, 47, 47, 0.5);
}

/* Responsive */
@media (max-width: 1200px) {
  .segments-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Keep 3-card row layout tidy on career Why Join Us */
  .segments-grid-why {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}


@media (max-width: 1024px) {
  .segments-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  /* Keep career Why Join Us 3 cards centered */
  .segments-grid-why {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .glass-card {
    height: 310px;
  }
}


@media (max-width: 768px) {
  .segments-hero {
    min-height: 60vh;
    padding: 100px 20px 50px;
  }

  .hero-stats-new {
    gap: 30px;
  }

  .stat-number-new {
    font-size: 2.5rem;
  }

  .stat-item-new::after {
    display: none;
  }

  .filter-buttons-new {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 10px;
  }

  .filter-btn-new {
    flex-shrink: 0;
  }

  /* Career Why Join Us: mobile-friendly */
  .segments-grid-why {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .segments-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .glass-card {
    height: 300px;
  }


  .glass-card-icon {
    width: 55px;
    height: 55px;
  }

  .glass-card-icon i {
    font-size: 1.4rem;
  }

  .glass-card-title {
    font-size: 1.2rem;
  }

  .glass-card-desc {
    display: none;
  }

  .glass-card-number {
    font-size: 3rem;
  }
}

@media (max-width: 480px) {
  .hero-title-new {
    font-size: 2.2rem;
  }

  .hero-desc-new {
    font-size: 1rem;
  }

  .segments-grid-why {
    grid-template-columns: 1fr !important;
  }

  .segments-grid {
    grid-template-columns: 1fr;
  }

  .glass-card {
    height: 280px;
  }


  .cta-content h2 {
    font-size: 2rem;
  }
}

/* ============================================================
   Global Responsive Fixes (Do not change design/text)
   ============================================================ */

/* Prevent any accidental horizontal overflow on mobile */
html,
body {
  max-width: 100%;
}

/* Ensure modals/overlays never exceed viewport */
@media (max-width: 768px) {

  .search-modal-content,
  .modal-content-new {
    max-width: 95vw;
  }
}

/* Blog grid already changes; make sure cards never overflow their columns */
.blog-card,
.featured-post {
  overflow-wrap: anywhere;
}

/* For horizontally sliding/pill containers, avoid layout shift */
.category-pills {
  -webkit-overflow-scrolling: touch;
}



/* ============================================

/* ============================================
   Unified Flavorade red & yellow theme
   Shared by every HTML page that loads this stylesheet.
   ============================================ */
:root {
  --primary: #d71920;
  --primary-dark: #a90f16;
  --secondary: #f6bf18;
  --secondary-dark: #d99d00;
  --accent: #ffe07a;
  --light-bg: #fffdf6;
  --dark-bg: #321314;
  --text-dark: #2d2630;
  --text-muted: #697386;
  --shadow: rgba(75, 24, 27, .12);
  --shadow-hover: rgba(75, 24, 27, .2);
  --gradient-primary: linear-gradient(135deg, #d71920 0%, #ed3a1f 48%, #f6bf18 100%);
  --gradient-secondary: linear-gradient(135deg, #fff3bd 0%, #f6bf18 100%);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--light-bg);
  color: var(--text-dark);
}

a,
button,
.btn,
.card,
.glass-card,
.blog-card,
.featured-post,
.contact-info-card,
.application-card,
.equipment-panel {
  transition: transform .25s ease, box-shadow .25s ease, color .25s ease, background-color .25s ease, border-color .25s ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(246, 191, 24, .72);
  outline-offset: 3px;
}

.navbar {
  border-bottom: 3px solid transparent;
  border-image: var(--gradient-primary) 1;
}

.navbar-brand {
  padding-left: clamp(1rem, 4vw, 5rem);
  padding-right: clamp(1rem, 4vw, 5rem);
}

.navbar-link:hover,
.navbar-link.active,
.nav-link:hover,
.nav-link.active {
  color: var(--primary) !important;
}

.section-title::after,
.heading-with-line::after,
.gradient-line {
  background: var(--gradient-primary);
}

.btn,
.btn-contact,
.btn-submit,
.btn-view-all,
.btn-flavor,
.cta-btn,
.contact-submit-btn,
.contact-cta-btn {
  border-color: transparent;
  background: var(--gradient-primary);
  color: #fff;
}

.btn:hover,
.btn-contact:hover,
.btn-submit:hover,
.btn-view-all:hover,
.btn-flavor:hover,
.cta-btn:hover,
.contact-submit-btn:hover,
.contact-cta-btn:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(215, 25, 32, .24);
}

.card:hover,
.glass-card:hover,
.blog-card:hover,
.featured-post:hover,
.contact-info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(75, 24, 27, .14);
}

.segments-bg,
.contact-cta-section {
  background: linear-gradient(135deg, #52171a 0%, #9f151b 55%, #d71920 100%);
}

.segments-bg::before,
.contact-cta-section::before {
  background: radial-gradient(circle at 20% 35%, rgba(246, 191, 24, .28) 0%, transparent 34%),
    radial-gradient(circle at 85% 75%, rgba(255, 255, 255, .13) 0%, transparent 30%);
}

.glass-card-title,
.glass-card-link,
.featured-category,
.blog-card-category,
.featured-link,
.category-pill.active {
  color: var(--primary);
}

.footer {
  border-top: 4px solid var(--secondary);
}

.footer {
  background: #fffaf0;
  color: var(--text-dark);
}

.footer-brand img {
  width: min(170px, 100%);
  height: auto;
}

.footer-links li+li {
  margin-top: .55rem;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: .25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(215, 25, 32, .16);
}

/* One consistent entrance animation for top-level page sections. */
main>section,
body>section:not(.search-modal) {
  animation: siteSectionReveal .55s ease both;
}

@keyframes siteSectionReveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fix legacy grid overrides: each large/medium column stacks correctly below its breakpoint. */
@media (max-width: 991px) {
  .row>[class*="col-lg-"] {
    width: 100%;
  }

  .navbar .container-fluid {
    position: relative;
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .navbar-brand {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .menu-toggle {
    display: flex;
  }

  .navbar-nav {
    position: absolute;
    top: calc(100% + 3px);
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .8rem 1rem 1rem;
    border-top: 1px solid rgba(215, 25, 32, .12);
    background: #fffdf6;
    box-shadow: 0 12px 24px rgba(75, 24, 27, .12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  }

  .navbar-nav.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .navbar-nav .nav-item {
    width: 100%;
    text-align: center;
  }

  .navbar-nav .nav-link {
    padding: .72rem 1rem;
  }
}

@media (max-width: 767px) {
  .row>[class*="col-md-"] {
    width: 100%;
  }

  .container {
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .section-padding {
    padding: 3.5rem 0;
  }

  .section-title {
    font-size: clamp(1.55rem, 7vw, 2rem);
    line-height: 1.35;
  }

  .hero {
    padding-top: 6.5rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .footer {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  /* Product detail pages: the three columns become full-width, instead of remaining 25% wide. */
  .flavor-column,
  .chemical-column,
  .image-column {
    width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
}

.segments-bg,
.blog-bg-pattern,
.contact-bg-pattern,
.about-section .segments-bg {
  background: #fffdfb !important;
}

.segments-hero,
.contact-hero {
  background: #fffdfb;
}

.contact-hero::before {
  background: transparent;
}

.career-page { background: #fffdfb !important; }
.career-page > section { background-color: #fffdfb !important; }
.career-page .segments-hero { background: #fffdfb !important; }
.career-page .segments-grid-why { grid-template-columns: minmax(0,520px) !important; justify-content: center !important; }
.career-page .glass-card { border: 1px solid #f0e1d7 !important; background: #fff !important; box-shadow: 0 14px 34px rgba(70,40,25,.08) !important; backdrop-filter: none; }
.career-page .glass-card-bg,.career-page .glass-card-glow { opacity: 0 !important; }
.career-page .glass-card-icon { background: #fff1e9 !important; border: 1px solid #f2ddd0 !important; }
.career-page .glass-card-icon i { color: #b5121b !important; }
.career-page .glass-card-title { color: #b5121b !important; }
.career-page .glass-card-desc { color: #716965 !important; }

/* .segments-hero,
.blog-hero,
.contact-hero,
.career-hero {
  background: linear-gradient(135deg, #fffdf6 0%, #fff2bd 100%) !important;
} */

/* Customer segment and career cards previously used a different color for every item. */
.glass-card {
  --card-color: var(--primary) !important;
  --card-gradient: var(--gradient-primary) !important;
  border-color: rgba(215, 25, 32, .18) !important;
}

.glass-card-bg,
.glass-card[data-category] .glass-card-bg {
  background: var(--gradient-primary) !important;
}

.glass-card-icon,
.glass-card-arrow,
.glass-card-link,
.glass-card-title,
.stat-number-new,
.featured-category,
.blog-card-category,
.widget-title,
.filter-count {
  color: var(--primary) !important;
}

.hero-badge-new,
.blog-hero-badge,
.filter-btn-new.active,
.category-pill.active,
.featured-badge {
  background: var(--gradient-primary) !important;
  color: #fff !important;
}

.blog-main,
.segments-container,
.contact-section,
.about-section,
.application-center {
  background-color: var(--light-bg);
}

/* Shared product-detail sections. Inline orange/yellow styles are normalised here. */
.py-5.mt-5 .container>h3.text-center {
  border: 0 !important;
  background: var(--gradient-primary) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(215, 25, 32, .18) !important;
}

.flavor-column {
  border-color: rgba(215, 25, 32, .22) !important;
  background: linear-gradient(135deg, #fffdf6 0%, #fff2bd 100%) !important;
}

.chemical-column,
.image-column {
  border-color: rgba(246, 191, 24, .65) !important;
  background: #fff !important;
}

.flavor-column:hover,
.chemical-column:hover,
.image-column:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 34px rgba(215, 25, 32, .15) !important;
}

/* Product-list page cards and status colours. */
.product-list-container,
.product-list-wrapper {
  background: var(--light-bg);
}

.product-list-container .product-card,
.product-list-wrapper .product-card {
  border-color: rgba(215, 25, 32, .16);
}

.product-list-container .product-card:hover,
.product-list-wrapper .product-card:hover {
  background: #fff7cf;
  transform: translateY(-4px);
}

.footer-minimal {
  padding: 1.25rem 1rem;
}

.footer-minimal .footer-bottom {
  margin-top: 0;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}


/* =====================================================
*/
*/
