/* Font */
@import url("https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* Basic Reset */
:root {
  --theme-color-primary: #056492;
  --theme-color-secondary: #abc10d;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

p {
  margin: 0 !important;
}
.colord{
  color: var(--theme-color-primary);
}
.p-text {
  font-size: 1.1rem;
  color: #555;
  font-weight: 400;
  text-align: justify;
}
.message-title{
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--theme-color-primary);
}
body {
  font-family: "Fira Sans", sans-serif !important;
  line-height: 1.3 !important;
}

/* Navbar styles */
header {
  position: relative;
  z-index: 999;
  overflow: visible !important;
  position: sticky;
  top: 0;
  box-shadow: 0 2px 8px rgba(2, 33, 44, 0.08);
}

.navbar {
  background-color: #fff;
  padding: 1rem 0;
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
  z-index: 9999;
}

.scrolling-ribbon {
  width: 100%;
  background-color: rgb(255, 145, 0);
  padding: 0.3rem 0;
  overflow: hidden;
  /* required */
  white-space: nowrap;
}

.scrolling-content {
  display: inline-block;
  animation: scroll-left 50s linear infinite;
}

.scrolling-content p {
  display: inline-block;
  margin-right: 50px;
  /* space between items */
  font-size: 16px;
  color: #fff;
}

@keyframes scroll-left {
  from {
    transform: translateX(50%);
  }

  to {
    transform: translateX(-100%);
  }
}

.navbar_container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.2rem 1rem;
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  color: #fff;
  font-weight: bold;
}

.logo img {
  height: 70px;
}

/* Navigation links */
.nav_links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-end;
}

.nav_links .navigationLinks {
  display: flex;
  gap: 2rem;
}

.nav_links a {
  color: var(--theme-color-primary);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.3s ease;
  text-transform: uppercase;
}

.nav_links a:hover {
  color: var(--theme-color-secondary);
}

/* Hamburger icon */
.menu_icon {
  width: 30px;
  height: 22px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.menu_icon span {
  height: 3px;
  width: 100%;
  background: var(--theme-color-primary);
  border-radius: 5px;
  transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 767.5px) {
  .form-container {
    flex-direction: column-reverse;
  }
  .contact-form-section {
    padding: 1rem 0 0 0 !important;
  }
  .content-section {
    background-color: #fff;
    padding: 1rem 0;
  }
}
@media (max-width: 991.5px) {
  .nav_links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 250px;
    background: #fff;
    flex-direction: column;
    align-items: start;
    padding-top: 5rem;
    gap: 2rem;
    transition: right 0.4s ease;
  }

  .nav_links.active {
    right: 0;
  }

  .menu_icon {
    display: flex;
  }

  /* Hamburger to Cross Animation */
  .menu_icon.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 7px);
  }

  .menu_icon.active span:nth-child(2) {
    opacity: 0;
  }

  .menu_icon.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -10px);
  }

  .nav_links .navigationLinks {
    flex-direction: column;
    gap: 2rem;
    padding: 0 1rem;
  }
}

.menu-container {
  display: flex;
  gap: 30px;
}

.dropdown {
  position: relative;
}

.drop-btn {
  display: flex;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
}

.drop-btn i {
  position: relative;
  font-size: 1.2rem;
}

/* Hide dropdown initially */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 12px;
  background: #fff;
  min-width: 180px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

/* Links inside dropdown */
.dropdown-content a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: var(--theme-color-primary);
}

.dropdown-content a:hover {
  background: #f5f5f5;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* BREADCRUMB CSS SECTION */
.breadcrumb_section_2 {
  background-image: url("../img/bephar-banner.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 3rem;
  margin: 1rem;
  border-radius: 1rem;
}

.breadcrumb_section_2::before {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(
    135deg,
    rgba(5, 100, 146, 0.35),
    rgba(171, 193, 13, 0.4)
  );
  border-radius: 1rem;
}

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

.breadcrumb_section_2 h1 {
  color: #fff;
}

.breadcrumb_section_2 ul {
  list-style: none;
  display: flex;
  gap: 0.5em;
  color: #fff;
  align-items: center;
  padding-left: 0rem;
}

.breadcrumb_section_2 ul li a,
.breadcrumb_section_2 ul li i {
  text-decoration: none !important;
  display: flex;
  color: #fff;
}

@media (min-width: 300px) and (max-width: 455px) {
  .breadcrumb_section_2 {
    padding: 2rem !important;
  }

  .breadcrumb_section_2 h1 {
    margin: 0 !important;
  }

  .breadcrumb_section_2 ul {
    padding-left: 0rem !important;
  }
}

/* Product Page Css */
.product-archive-page {
  padding: 20px 0;
  margin-bottom: 10px;
}
.product-description .row{
  align-items: center !important; 
}
.product-container{
  position: relative;
}
.product-filter{
  position: sticky;
  top: 120px;
}

/* Mobile filter toggle button */
.filter-toggle-btn {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(5, 100, 146, 0.35);
  background-color: #fff;
  color: var(--theme-color-primary);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.filter-toggle-btn i {
  font-size: 1.1rem;
  margin: 0;
}
.filter-title{
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
/* Off-canvas filter for mobile */
@media (max-width: 767.5px) {
  .filter-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  #productFilterSidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 260px;
    background: #fff;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.18);
    padding: 1.5rem 1.25rem;
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  #productFilterSidebar.active {
    transform: translateX(0);
  }

  /* Dark overlay behind the sidebar */
  .product-filter-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 9998;
    display: none;
  }

  .product-filter-overlay.active {
    display: block;
  }
}
.product-card {
  background: #fff;
  border-radius: 0.4rem;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease;
  height: -webkit-fill-available;
  padding: 0.7rem;
}

.error-message {
  padding: 2rem 0;
  color: #ff0000;
  font-weight: 400;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-image img {
  width: 100%;
  /* height: 220px; */
  object-fit: cover;
  border-radius: 0.4rem;
}

.product-details {
  padding: 10px 5px 5px 5px;
}
.product-details a{
  text-decoration: none;
}
.product-details a p{
  color: var(--theme-color-primary);
}
.product-title {
  font-size: 18px;
  font-weight: 600;
}

.product-price {
  color: var(--theme-color-secondary);
  font-weight: 500;
  margin: 0.3rem 0 !important;
}

.product-drug {
  font-size: 14px;
  color: #555;
}

.custom-btn {
  display: inline-block;
  margin-top: 10px;
  background: var(--theme-color-primary);
  color: #fff;
  text-decoration: none;
  border: none;
  padding: 0.8rem 2.5rem;
  border-radius: 1rem;
  font-weight: 600;
}
.product-details .custom-btn {
  padding: 0.5rem 1rem !important;
}
.custom-btn:hover {
  background: var(--theme-color-secondary);
  color: #fff;
}

.carousel img {
  height: 310px;
  width: 100%;
  object-fit: cover;
}

.product-gallery {
  width: 100%;
  margin: auto;
  text-align: center;
  display: flex;
  gap: 1rem;
}

.main-image {
  width: 100%;
}

.main-image img {
  width: 100%;
  /* height: 350px; */
  object-fit: cover;
  border-radius: 10px;
  transition: 0.3s;
  border: 2px solid #ccc;
}

.thumbnails {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: space-evenly;
}

.thumbnails img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: 0.3s;
}

.thumbnails img:hover,
.thumbnails img.active {
  border: 2px solid #c7311a;
  /* highlight border like your design */
}

.striped-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.striped-table th,
.striped-table td {
  padding: 12px 15px;
  border: 1px solid #ddd;
}

.striped-table th {
  background: #f5f5f5;
  text-align: left;
  width: 30%;
  font-weight: 600;
}

.striped-table tr:nth-child(even) {
  background-color: #fafafa;
}

.striped-table tr:nth-child(odd) {
  background-color: #ffffff;
}

/* Footer CSS */
/* MAIN FOOTER */
.site-footer {
  background: var(--theme-color-primary);
  /* same dark blue background */
  color: #ffffff;
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url("../img/bephar-banner.jpg")
    center/cover no-repeat;
  opacity: 0.2;
  /* change opacity as needed */
  z-index: 0;
}

.site-footer * {
  position: relative;
  z-index: 1;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 0px;
  max-width: 1150px;
  margin: auto;
  padding: 0 20px;
  flex-wrap: wrap;
}

/* COLUMNS */
.footer-col {
  flex: 1;
  min-width: 220px;
}

.footer-col h4 {
  color: var(--theme-color-secondary);
  /* orange title */
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: bold;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #ffffff;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: var(--theme-color-secondary);
}

/* LEFT BRAND AREA */
.footer-brand .footer-logo {
  width: 150px;
  margin-bottom: 20px;
}

.footer-contact p {
  margin: 8px 0 !important;
  display: flex;
  align-items: start;
  gap: 10px;
  font-size: 15px;
}

.footer-contact i {
  color: #fff;
}

i[class*=" fi-brands-"]:before {
  line-height: 2 !important;
}

/* SOCIAL ICONS */
.footer-social a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  margin-right: 10px;
  color: white;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  text-decoration: none;
  font-size: 20px;
  transition: 0.3s;
}

.footer-social a:hover {
  background: var(--theme-color-secondary);
}

/* BOTTOM STRIP */
.footer-bottom {
  margin-top: 40px;
  padding: 15px;
  background: #02212c;
  text-align: center;
  font-size: 14px;
  color: #cbd2d6;
}

.footer-bottom p {
  margin: 5px 0;
}

footer a {
  text-decoration: none;
  color: #fff;
}

.footer-bottom a {
  color: var(--theme-color-secondary);
}

footer a:hover {
  color: var(--theme-color-secondary);
}

footer a:hover i {
  color: #fff;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .footer-container {
    flex-wrap: wrap;
    text-align: left;
  }

  .footer-col {
    flex: 1 1 45%;
  }
}

@media (max-width: 576px) {
  .hero-title{
    font-size: 3.5rem !important;
  }
  .footer-col {
    flex: 1 1 100%;
    margin-bottom: 25px;
  }

  .footer-container {
    text-align: left;
  }

  .footer-bottom {
    text-align: center;
  }
}

/* Home Page CSS */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/home-hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3;
  z-index: -1;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.hero-image img {
  width: 80%;
  height: 80%;
  object-fit: cover;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
}

.hero-description {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
  color: #555;
}

.hero-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-features li i {
  background-color: var(--theme-color-secondary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 800;
  color: #fff;
  padding: 0.4rem;
}

/* Content Section CSS */
.content-section {
  background-color: #fff;
  padding: 4rem 0;
}

.section-subtitle{
  display: inline-block;
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, #abc10d 0%, var(--theme-color-primary) 100%);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 0.35rem 1.1rem;
  border-radius: 999px;
  /* Pull the title up underneath so the badge overlaps it */
  text-transform: uppercase;
  margin-bottom: .5rem;
  letter-spacing: 0.6px;
  border: 1px solid rgba(5, 100, 146, 0.25);
  box-shadow: 0 10px 25px rgba(5, 100, 146, 0.12);
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1; 
  margin-top: 0; /* avoid extra spacing interfering with overlap */
  position: relative;
  z-index: 1;
}

@media (max-width: 576.5px){
  .section-subtitle{
    font-size: 0.85rem;
    padding: 0.3rem 0.9rem;
    margin-bottom: .6rem;
    letter-spacing: 0.45px;
  }
}

/* Product Range CSS */
.product-range {
  background-color: #f5f7f9;
  padding: 4rem 0;
}

.product-range-card {
  background-color: #fff;
  border-radius: 0.2rem;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease;
  height: -webkit-fill-available;
}

.product-range-card-image {
  width: 100%;
  object-fit: cover;
  height: 250px;
}

.product-range-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-range-card-content {
  padding: 1rem;
}

.product-range-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}
.product-range-view{
  text-decoration: none;
  color: #666;
}

/* Trusted Partners Slider */
.logo-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.logo-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 1.5rem;
  animation: logo-scroll 24s linear infinite;
}

.logo-item {
  flex: 0 0 180px;
  min-height: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 0.5rem;
  padding: 1rem;
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); */
}

.logo-item img {
  max-width: 100%;
  max-height: 52px;
  object-fit: contain;
}

/* CTA Section */
.cta-section {
  background-color: #f5f7f9;
}

.cta-card {
  background-color: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.cta-card-content {
  padding: 2.4rem 3rem;
}

.cta-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
}

@keyframes logo-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 767.5px) {
  .logo-item {
    flex: 0 0 140px;
    min-height: 80px;
  }
}
/* Testimonials CSS */
.testimonial-section {
  background-color: #fff;
  padding: 4rem 0;
}

.testi-card {
  background-color: #fff;
  border-radius: 0.2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease;
  height: -webkit-fill-available;
  padding: 2rem;
  position: relative;
}

.testi-content {
  font-size: 1.2rem;
  font-weight: 300;
  color: #555;
  text-align: justify;
}

.testi-card-details {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testi-card-details img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
}

.testi-quote-icon {
  position: absolute;
  top: -60px;
  transform: rotate(180deg);
  font-size: 4rem;
  color: var(--theme-color-secondary);
  margin-bottom: 1rem;
}

.author-details h5,
.author-details p {
  margin: 0;
}

.testi-designation {
  font-size: 0.9rem;
  font-weight: 400;
  color: #555;
}

/* FAQ CSS */
.faq-section {
  background-color: #fff;
  padding: 4rem 0;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-card {
  background: #fff;
  border-radius: 0.2rem;
  border: 1px solid #e5e8ec;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-card.active {
  border-color: var(--theme-color-secondary);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.faq-question {
  width: 100%;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  color: #1f2d3d;
}

.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--theme-color-primary);
  transition: transform 0.3s ease;
}

.faq-card.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 1.4rem;
}

.faq-card.active .faq-answer {
  padding-bottom: 1.2rem;
}

.faq-answer p {
  margin: 0 !important;
  color: #4a5568;
  line-height: 1.5;
}

@media (max-width: 576.5px) {
  .faq-container {
    padding: 0 1rem;
  }

  .hero-image img {
    height: 75%;
    width: 75%;
    object-fit: contain;
  }

  .hero-content {
    margin: 1.5rem 0 !important;
  }
}

/* About Page CSS */
.parallax-section {
  background-image: url("https://thumbs.dreamstime.com/b/close-up-image-of-cherry-blossom-leaves-finger-image-flowers-sky-full-bloom-close-199160211.jpg");
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.parallax-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}

.parallax-card {
  background-color: #fff;
  border-radius: 0.2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease;
  height: -webkit-fill-available;
  padding: 2rem;
  position: relative;
  margin-bottom: 1rem;
}

.parallax-card i {
  font-size: 2rem;
  color: var(--theme-color-secondary);
}

.parallax-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.parallax-card p {
  font-size: 1.2rem;
  font-weight: 300;
  color: #555;
  text-align: justify;
}

.founder-note-section {
  background-color: #f5f7f9;
  padding: 4rem 0;
}

.founder-note-lead {
  max-width: 36rem;
  /* text-align: center; */
}

.founder-note-section .testi-content {
  /* text-align: center; */
}

.founder-note-signature {
  justify-content: flex-start;
  align-items: center;
  border-top: 1px solid #e8edf1;
  padding-top: 1.25rem;
  margin-top: 0.25rem;
}

.founder-note-signature img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
}

.founder-note-signature .author-details {
  text-align: left;
}

/* Third Party Manufacturing page styles */
.tpm-page .tpm-intro {
  padding-bottom: 1rem;
}

.tpm-page .tpm-services,
.tpm-page .tpm-process,
.tpm-page .tpm-authority,
.tpm-page .tpm-cta {
  padding: 2rem 0 3rem;
}

.tpm-page .tpm-card,
.tpm-page .tpm-authority-box {
  background: #fff;
  border: 1px solid #e5edf1;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
  padding: 1.4rem;
  height: 100%;
}

.tpm-page .tpm-authority-box ul {
  margin: 0;
  padding-left: 1.1rem;
}

.tpm-page .tpm-authority-box li {
  margin: 0.45rem 0;
  color: #2f3a45;
}

.tpm-page .tpm-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tpm-page .tpm-step {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #e7ecef;
  border-radius: 10px;
  padding: 0.9rem;
  background: #fff;
}

.tpm-page .tpm-step span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--theme-color-secondary);
  color: #fff;
  font-weight: 700;
}

/* Franchise / Distributor page styles */
.fd-page .fd-intro {
  padding-bottom: 1rem;
}

.fd-page .fd-benefits,
.fd-page .fd-model,
.fd-page .fd-eligibility,
.fd-page .fd-cta {
  padding: 2rem 0 3rem;
}

.fd-page .fd-card,
.fd-page .fd-model-box {
  background: #fff;
  border: 1px solid #e5edf1;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
  padding: 1.4rem;
  height: 100%;
}

.fd-page .fd-model-box ul {
  margin: 0;
  padding-left: 1.1rem;
}

.fd-page .fd-model-box li {
  margin: 0.45rem 0;
  color: #2f3a45;
}

.fd-page .fd-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.fd-page .fd-tags span {
  border: 1px solid #d8e1e7;
  border-radius: 30px;
  padding: 8px 14px;
  font-size: 0.95rem;
  color: #244153;
  background: #fff;
}

@media (max-width: 767.5px) {
  .tpm-page .tpm-steps {
    grid-template-columns: 1fr;
  }
}

/* About — Journey timeline (last 5 years) */
.journey-section {
  background-color: #f5f7f9;
  padding: 4rem 0;
}

.journey-intro {
  max-width: 42rem;
  text-align: center;
}

.journey-timeline {
  position: relative;
  max-width: 1024px;
  margin: 0 auto;
  padding-left: 1.5rem;
}

.journey-timeline::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    var(--theme-color-primary),
    var(--theme-color-secondary)
  );
}

.journey-item {
  position: relative;
  padding-bottom: 2rem;
  padding-left: 1.75rem;
}

.journey-item:last-child {
  padding-bottom: 0;
}

.journey-marker {
  position: absolute;
  left: -1.35rem;
  top: 0.35rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--theme-color-primary);
  box-shadow: 0 0 0 3px rgba(5, 100, 146, 0.15);
  z-index: 1;
}

.journey-content {
  background: #fff;
  border-radius: 0.5rem;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(5, 100, 146, 0.12);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.journey-content:hover {
  box-shadow: 0 8px 20px rgba(5, 100, 146, 0.12);
  border-color: rgba(171, 193, 13, 0.35);
}

.journey-year {
  display: inline-block;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(
    135deg,
    var(--theme-color-secondary),
    var(--theme-color-primary)
  );
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

.journey-title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5rem;
}

.journey-desc {
  margin: 0 !important;
}

@media (max-width: 576.5px) {
  .journey-timeline {
    padding-left: 1.25rem;
  }

  .journey-marker {
    left: -1.1rem;
  }

  .journey-content {
    padding: 1rem 1.15rem;
  }
}

/* Contact Form Section CSS */
.contact-form-section {
  padding: 1rem 0;
}
.form-container {
  background-color: #f5f7f9;
  padding: 1rem;
  border-radius: 0.2rem;
}
.form-left {
  padding: 2rem !important;
  border-radius: 0.2rem;
  background: rgba(5, 100, 146, 0.85);
  transition: 0.3s ease;
  height: -webkit-fill-available;
}

.form-right {
  /* background-color: #f5f7f9; */
  padding: 2rem !important;
  border-radius: 0.2rem;
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
  transition: 0.3s ease;
  height: -webkit-fill-available;
}
.form-left p {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem !important;
}

.form-left p a {
  text-decoration: none;
  color: #fff;
}
.form-left p a:hover {
  color: var(--theme-color-secondary);
}
.form-right h2 {
  font-weight: 600;
  color: var(--theme-color-primary);
}

/* Contact form fields */
.contact-form .form-group {
  margin-bottom: 1.2rem;
}

.contact-form .error-message {
  display: contentss;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #c00;
  background-color: transparent !important;
}

.contact-form label, .form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--theme-color-primary);
}


.contact-form .form-control {
  width: 100%;
  border: 1px solid #dde3ec;
  border-radius: 0.35rem;
  padding: 0.75rem 0.9rem;
  font-size: 0.95rem;
  background-color: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
select.form-control {
  padding: 0.75rem 0.9rem;
  font-size: 0.95rem;
  background-color: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.contact-form .form-control:focus{
  outline: none;
  border-color: var(--theme-color-primary);
  box-shadow: 0 0 0 2px rgba(5, 100, 146, 0.18);
  transform: translateY(-1px);
}
select.form-control:focus {
  outline: none;
  border-color: var(--theme-color-primary);
  box-shadow: 0 0 0 2px rgba(5, 100, 146, 0.18);
}
.contact-form textarea.form-control {
  min-height: 130px;
  resize: vertical;
}
.contact-info-title {
  font-weight: 600;
  color: #f5f5f5;
}

/* Generic modal styles */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  pointer-events: auto;
}

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

.modal-dialog {
  max-width: 520px;
  width: 100%;
  border-radius: 1rem;
  position: relative;
  /* box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25); */
  animation: modalFadeIn 0.25s ease-out;
  pointer-events: auto;
  overflow: hidden;
}

.modal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.9rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #888;
}

.modal-close:hover {
  color: #333;
}

.modal-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.modal-header {
  background-color: var(--theme-color-primary) !important;
  color: #fff !important;
}
.modal-subtitle {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1.2rem;
}
.modal-body {
  padding: 1.5rem !important;
}
.btn-close {
  filter: invert(1);
  opacity: 0.8 !important;
}
.btn-close:hover {
  opacity: 1 !important;
}
button:focus:not(:focus-visible) {
  box-shadow: none !important;
}
.modal-form .form-group {
  margin-bottom: 1rem;
}

.modal-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--theme-color-primary);
}

.modal-form .form-control {
  width: 100%;
  border: 1px solid #dde3ec;
  border-radius: 0.35rem;
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
  background-color: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.modal-form .form-control:focus {
  outline: none;
  border-color: var(--theme-color-primary);
  box-shadow: 0 0 0 2px rgba(5, 100, 146, 0.18);
}

.modal-form textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

/* Right side middle popup */
.right-middle-popup-icon {
  position: fixed;
  right: 20px;
  top: 30%;
  z-index: 9998;
}

.right-middle-popup-icon-btn {
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--theme-color-primary);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.right-middle-popup-icon-btn:hover {
  background: var(--theme-color-secondary);
  transform: translateY(-2px);
}

.right-middle-popup-icon-btn i {
  font-size: 1.2rem;
  line-height: 1;
}

.right-middle-popup {
  position: fixed;
  right: -100px;
  top: 55%;
  transform: rotate(-90deg) translateY(-50%);
  width: 220px;
  z-index: 9997;
}

.right-middle-popup-close {
  position: absolute;
  top: 6px;
  right: 8px;
  border: 0;
  background: transparent;
  color: #666;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.right-middle-popup-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--theme-color-primary);
  margin-bottom: 0.35rem !important;
}

.right-middle-popup-text {
  font-size: 0.92rem;
  color: #555;
  margin-bottom: 0.8rem !important;
}

.right-middle-popup-btn {
  width: 100%;
  text-align: center;
  margin-top: 0 !important;
  padding: 0.6rem 1rem;
  color: #fff;
  text-shadow:
    0 0 4px rgba(255, 255, 255, 0.9),
    0 0 12px rgba(0, 255, 255, 0.7),
    0 0 20px rgba(255, 0, 200, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: linear-gradient(
    110deg,
    #1a0033 0%,
    #5c00a8 12%,
    #00e5ff 22%,
    #ffffff 26%,
    #00e5ff 30%,
    #ff00c8 42%,
    #ffd93d 46%,
    #ff00c8 50%,
    #ff4d00 62%,
    #7b2dff 78%,
    #00ffc8 88%,
    #1a0033 100%
  );
  background-size: 320% 320%;
  animation: rightMiddleNeonGlitter 2.6s ease-in-out infinite;
  will-change: background-position, box-shadow;
  box-shadow:
    inset 0 0 12px rgba(255, 255, 255, 0.12);
}

.custom-btn.right-middle-popup-btn:hover {
  color: #fff;
  background: linear-gradient(
    110deg,
    #1a0033 0%,
    #5c00a8 12%,
    #00e5ff 22%,
    #ffffff 26%,
    #00e5ff 30%,
    #ff00c8 42%,
    #ffd93d 46%,
    #ff00c8 50%,
    #ff4d00 62%,
    #7b2dff 78%,
    #00ffc8 88%,
    #1a0033 100%
  );
  background-size: 360% 360%;

}

@keyframes rightMiddleNeonGlitter {
  0%,
  100% {
    background-position: 0% 50%;
   
  }
  50% {
    background-position: 100% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .right-middle-popup-btn {
    animation: none;
    background-position: 45% 50%;
    box-shadow:
      0 0 8px rgba(0, 255, 255, 0.55),
      0 0 18px rgba(255, 0, 200, 0.45),
      inset 0 0 12px rgba(255, 255, 255, 0.12);
  }
}

@media (max-width: 767.5px) {
  .right-middle-popup-icon {
    right: 14px;
    bottom: 86px;
  }


  .right-middle-popup {
    width: 220px;
    padding: 0.85rem;
    right: -120px !important;
  }

}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Blog pages */
.blog-section {
  background-color: #f5f7f9;
  padding: 4rem 0;
}

.blog-section-intro {
  max-width: 760px;
  margin: 0 auto 2rem;
}

.blog-card {
  background: #fff;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.09);
  border: 1px solid rgba(5, 100, 146, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(5, 100, 146, 0.14);
}

.blog-card-image {
  display: block;
}

.blog-card-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-card-content {
  padding: 1.1rem;
}

.blog-meta {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--theme-color-primary);
  margin-bottom: 0.45rem;
}

.blog-card-title {
  font-size: 1.25rem;
  line-height: 1.2;
  margin: 0 0 0.7rem;
}

.blog-card-title a {
  color: var(--theme-color-primary);
  text-decoration: none;
}

.blog-card-title a:hover {
  color: var(--theme-color-secondary);
}

.blog-btn {
  padding: 0.55rem 1.2rem;
  margin-top: 0.8rem;
}

.blog-details-section {
  background: #f5f7f9;
  padding: 1rem 0 2rem;
}

.blog-details-card {
  background: #fff;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid rgba(5, 100, 146, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.09);
}

.blog-details-image {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.blog-details-content {
  padding: 1.4rem;
}

.blog-details-title {
  font-size: 2.2rem;
  line-height: 1.15;
  margin: 0.35rem 0 1rem;
}

.blog-quote {
  border-left: 4px solid var(--theme-color-secondary);
  background: rgba(5, 100, 146, 0.05);
  padding: 0.9rem 1rem;
  margin: 1rem 0;
  font-size: 1.05rem;
  color: #224155;
  font-style: italic;
}

.blog-sidebar {
  background: #fff;
  border-radius: 0.5rem;
  padding: 1.2rem;
  border: 1px solid rgba(5, 100, 146, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 120px;
}

.blog-sidebar-title {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.blog-sidebar-item {
  display: block;
  text-decoration: none;
  color: #35556b;
  font-size: 0.98rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid #edf2f5;
  transition: color 0.2s ease;
}

.blog-sidebar-item:last-child {
  border-bottom: 0;
}

.blog-sidebar-item:hover {
  color: var(--theme-color-secondary);
}

@media (max-width: 767.5px) {
  .blog-card-image img {
    height: 200px;
  }

  .blog-details-image {
    height: 240px;
  }

  .blog-details-title {
    font-size: 1.7rem;
  }

  .blog-sidebar {
    position: static;
    top: auto;
  }
}
        .management-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }
        @media (max-width: 576.5px) {
            .management-grid {
                grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
                justify-items: center;
            }
            .management-grid img{
              width: 280px;
            }
        }
     @media (max-width: 767.5px) {
            .management-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }
        @media (min-width: 768px) {
            .management-grid {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
        }

        @media (min-width: 1200px) {
            .management-grid {
                grid-template-columns: repeat(4, minmax(0, 1fr));
            }
        }