:root{
  --primary:#da2023;
  --secondary:#0788e4;
  --dark:#46aae5;
  --light:#f8f9fa;
}

.page-wrapper {
  overflow-x: hidden;   /* horizontal scroll gone */
}


/* GLOBAL */
body{
  font-family:'Nunito Sans', sans-serif;
  color:var(--dark);
}

/* TOP BAR - WHITE */
.top-bar{
  background:#ffffff;        /* WHITE background */
  color:#084166;             /* dark text */
  font-size:14px;
  padding:6px 0;
  border-bottom:1px solid #e0e0e0; /* light divider like image */
}

.top-bar i{
  color:#d7211e;             /* secondary color icons */
  margin-right:6px;
}

.top-bar span{
  margin-left:45px;
}
.top-bar span a {text-decoration:none;
    color: #000;}

/* HEADER */
.navbar{
  background:#fff;
  box-shadow:0 2px 8px rgba(0,0,0,.075);
  padding:10px 0;
}
.navbar-brand{
  font-size:30px;
  font-weight:800;
  color:var(--primary);
}
.navbar-brand span{color:var(--secondary);}
.navbar-nav .nav-link{
  color:#000;
  font-size:16px;
  font-weight:600;
  margin-left:22px;
  position:relative;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active{
  color:var(--primary);
}
.navbar-nav .nav-link.active::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-8px;
  width:100%;
  height:3px;
  background:var(--secondary);
  border-radius:3px;
}


/* SECTION SPACING FIX */
section:not(#home){
  padding:40px 0; 
}
 
@media(max-width:768px){
	
	
	.navbar-nav .nav-link.active::after {
    bottom: -1px!important;
    width: 25%!important;
}
	
	
	
	.dura {display:none;}
	.lab-content {
    width: 100%!important;
    padding: 20px!important;
}
	.container {
    padding: 0 12px!important;
}
	
    .top-bar span {
        margin-left: 0;
        margin-right: 10px;
        padding-top: 3px;
        float: left;
    }


	
  section:not(#home){
    padding:30px 0;
  }
}

/* SCROLL OFFSET FOR STICKY HEADER */
section{
  scroll-margin-top:110px;
}

/* HOME */
#home{
  padding:0;
}


#home{background:var(--light);}
#about{background:#fff;}
#products{background:var(--light);}
#why{background:#fff;}
#contact{background:var(--light);}


/* ===== HERO BANNER ===== */
.hero-section{
	height:350px;
  width:100%;
  background-image:url("../images/banner.png"); 
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  overflow:hidden;
}
.hero-section::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
}

.hero-content{
  position:relative;
  z-index:2;
  max-width:100%;
  padding:0 15px;
}

.hero-subtitle{
  font-size:18px;
  letter-spacing:1px;
  color:#084166;
  margin-bottom:15px;
  display:block;
}
.hero-title{
  font-size:56px;
  font-weight:600;
  color:#1386de;
  line-height:1.2;
}
.hero-title strong{
  font-weight:800;
  color:#000;
}
@media(max-width:768px){
	
	.lab-content h1 {
    font-size: 36px!important;
    margin-bottom: 20px!important;
}
	
  .hero-title{
    font-size:36px;
  }
}

.info-strip{
  background:#ffffff;
  padding:60px 0;
}
.info-item{
  padding:0 30px;
}
.info-flex{
  display:flex;
  align-items:flex-start;   /* icon thoda upar rahe */
  gap:18px;
}
.info-icon{
  font-size:34px;
  color:#009bcd;
  line-height:1;
  margin-top:2px;
}
.info-text p{
  font-size:15px;
  line-height:1.6;
  color:#084166;
  margin:0;
}
.info-border{
  border-left:1px solid #e6e6e6;
  border-right:1px solid #e6e6e6;
}
@media(max-width:768px){
  .info-border{
    border:none;
  }
  .info-item{
    padding:20px 15px;
  }
}
/* ===== HERO BANNER ===== */


/* ===== ABOUT US ===== */
.medical-content h2{
  font-size:44px;
  font-weight:300;
  color:#333;
  line-height:1.2;
  margin-bottom:20px;
}
.medical-content h2 strong{
  font-weight:800;
      color: #d7211e;
}
.medical-content p{
  font-size:15px;
  line-height:1.7;
  color:#666;
  margin-bottom:30px;
  max-width:460px;
}
.btn-learn{
  display:inline-flex;
  align-items:center;
  background:#2fd0b5;
  color:#fff;
  padding:12px 22px;
  font-size:15px;
  font-weight:600;
  border-radius:4px;
  text-decoration:none;
  transition:0.3s;
}
.img-box img{
  width:100%;
  border-radius:4px;
  object-fit:cover;
}
@media(max-width:991px){
  .medical-images{
    margin-top:40px;
  }
}
@media(max-width:576px){
  .medical-content h2{
    font-size:32px;
  }
  .medical-images{
    grid-template-columns:1fr;
  }
}

.partners-section{
  background:#ffffff;
}
.partners-image{
  width:100%;
  height:100%;
}
.partners-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.partners-content{
  padding:90px 80px;
}
.partners-content h2{
  font-size:42px;
  font-weight:300;
  color:#333;
  line-height:1.2;
  margin-bottom:25px;
}
.partners-content h2 strong{
  font-weight:800;
  color: #d7211e;
}
strong {
    color: #d7211e;
}
.partners-content p{
  font-size:15px;
  line-height:1.7;
  color:#666;
  margin-bottom:25px;
  max-width:520px;
}

@media(max-width:991px){
	
	.product-tabs .nav-link {
    padding: 9px 17px!important;
    margin-right: 3px!important;
}
	.txtdiv {
    margin-left: 0!important;
    margin-top: 30px;
}
	
  .partners-content{
    padding:0 20px;
  }
  .section-title {
    font-size: 35px!important;
    font-weight: 600!important;
    margin-bottom: 25px!important;
}

  .partners-image{
    height:380px;
  }
}

@media(max-width:576px){
  .partners-content h2{
    font-size:32px;
  }
}

/* ===== ABOUT US ===== */




/* PRODUCTS */

.product-tabs .nav-link {
    border: none;
    background: #fff;
    color: #000000;
    font-weight: 600;
    padding: 15px 30px;
    text-align: center;
    margin-right: 10px;
	margin-bottom:15px;
}	

.product-tabs .nav-link i{
  display:block;
  font-size:32px;
  color:#009bcd;
  margin-bottom:8px;
}
.product-tabs .nav-link.active i{
  color:#fff;
}

.product-tabs .nav-link.active {
    color: #fff;
    position: relative;
    background: #d62123;
}

.product-tabs .nav-link.active::after{
  content:"";
  position:absolute;
  bottom:-10px;
  left:0;
  width:100%;
  height:3px;
  background:#da1d21;
}

.tab-content h3{
  font-size:26px;
  margin-bottom:15px;
  font-weight: 800;
}

.tab-content p{
  font-size:15px;
  color:#666;
  line-height:1.7;
}
/* PRODUCTS */


/* why choose us */
.txtdiv {
    margin-left: 30px;
}
.service-item{
  display:flex;
  align-items:flex-start;
  gap:18px;
  padding:22px 10px;
}
.service-icon{
  font-size:40px;
  color:#454545;   /* reference blue */
  line-height:1;
  transition:transform 0.35s ease;
}
.service-content h5{
  font-size:18px;
  font-weight:700;
  margin-bottom:6px;
  color:#1a1a1a;
}.service-content p{
  font-size:14px;
  line-height:1.6;
  color:#777;
  margin:0;
}
.service-item:hover .service-icon{
  transform:translateY(-10px);
}
@media(max-width:768px){
  .service-item{
    padding:18px 0;
	text-align: left;
  }
 
.lab-hero {
    display: block!important;
    height: auto!important;
}
  
  
  
}

/* why choose us */







.lab-hero {
  display: flex;
  height: 500px;
  overflow: hidden;
}

.lab-slider {
  width: 45%;
  position: relative;
}

.lab-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slides {
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.slide.active {
  opacity: 1;
}

.lab-content {
  width: 55%;
  background: #d72427;
  color: #fff;
  padding: 40px;
  position: relative;
}

.lab-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.sub-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 14px;
  letter-spacing: 1px;
}

.sub-line .line {
  width: 30px;
  height: 2px;
  background: #fff;
}

.lab-content p {
  font-size: 18px;
  max-width: 500px;
}

.dots {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
}

.dot {
  display: block;
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,.4);
  border-radius: 50%;
  margin: 8px 0;
}

.dot.active {
  background: #fff;
}
.contact-section {
  padding: 80px 40px;
  background: #f4fbfd;
  text-align: center;
  
}

.contact-title {
  font-size: 42px;
  color: #0a8dbf;
  margin-bottom: 60px;
  font-weight: 700;
}

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

.contact-card {
  background: var(--dark);
  color: #fff;
  padding: 20px;
  border-radius: 40px;
  text-align: center;
  position: relative;
}

.icon-box {
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
      text-align: center;
    margin: 0 auto 15px auto;
}

.icon-box i {
  font-size: 26px;
  color: #0c83dd;
}

.contact-card h3 {
  font-size: 22px;
  margin-bottom: 20px;
}
 
.contact-card p {
  font-size: 16px;
  line-height: 1.8;
  opacity: 0.95;
}
.contact-card a {color:#fff; text-decoration:none; margin-bottom:0px; padding-bottom:0px;}

/* Responsive */
@media (max-width: 992px) {
	
	.product-tabs li {
    width: 49%;
    margin-right: 1%;
}
.product-tabs .nav-link {
    min-height: 110px;
    width: 100%;
}
	
.hero-section {
height: 300px;}
	
	
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}



.contact-wrap {
  background: #f6f7f9;
  padding: 80px 30px;

}

.contact-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
}

/* IMAGE */
.contact-image {
  flex: 1;
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* FORM */
.contact-form-box {
  flex: 1;
  padding: 50px 60px;
}

.contact-form-box h2 {
  font-size: 42px;
  margin-bottom: 35px;
  color: #333;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-bottom: 25px;
}

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

.form-group.full {
  margin-bottom: 30px;
}

label {
  font-size: 16px;
  margin-bottom: 8px;
  color: #111;
}

input, textarea {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 14px 15px;
  font-size: 15px;
  outline: none;
}

textarea {
  min-height: 140px;
  resize: none;
}

input::placeholder,
textarea::placeholder {
  color: #aaa;
}

/* BUTTON */
.submit-btn {
  background: #0986de;
  color: #fff;
  border: none;
  padding: 14px 30px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.submit-btn span {
  font-size: 18px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-form-box {
    padding: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

.pm-footer {
  background: linear-gradient(to right, #ffffff 0%, #4FC3F7 100%);
  color: #0b6ffd;
  padding-bottom: 10px;
}

.container {
  max-width: 1300px;
  margin: auto;
  padding: 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 2fr 1.5fr;
  gap: 20px;
}

/* BRAND */
.footer-brand .logo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-brand h3 {
  font-size: 26px;
  line-height: 1.1;
}

.footer-brand h3 span {
  font-size: 16px;
  letter-spacing: 2px;
}

.footer-brand p {
  font-size: 15px;
  line-height: 1.7;
  color: #0b6ffd;
  text-align: justify;
  padding-right: 25px;
}

/* PRODUCTS */
.footer-products h4,
.footer-contact h4 {
  font-size: 22px;
  margin-bottom: 20px;
  color: #d92020;
  font-weight: 600;
}

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

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

.footer-products a {
  color: #0b6ffd;
  text-decoration: none;
}

.footer-products a:hover {
  color: #00bfff;
}

/* CONTACT */
.footer-contact ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 15px;
}

.footer-contact i {
  font-size: 18px;
  color: #d82021;
}

/* BOTTOM */
.footer-bottom {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-bottom p span {
  color: #00bfff;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none; /* removes underline */
    color: #fff;
    font-size: 16px;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-3px);
}

/* Brand colors */
.social-icons a:nth-child(1) {
    background: #1877F2; /* Facebook */
}

.social-icons a:nth-child(2) {
    background: #1DA1F2; /* Twitter */
}

.social-icons a:nth-child(3) {
    background: #0A66C2; /* LinkedIn */
}

.social-icons a:nth-child(4) {
    background: linear-gradient(45deg, 
        #f09433, 
        #e6683c, 
        #dc2743, 
        #cc2366, 
        #bc1888
    ); /* Instagram */
}

/* RESPONSIVE */
@media (max-width: 992px) {
	.footer-bottom {
    margin-top: 25px;}
	
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    text-align: center;
    gap: 15px;
    justify-content: center;
  }
}

.stats-section {
  background: url("../images/counter-bg.jpg") center/cover no-repeat;
  position: relative;
}

.stats-overlay {
    background:rgb(12 131 223 / 84%);
    padding: 55px 0 30px 0;
}

.container {
  max-width: 1200px;
  margin: auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 30px;
}

.stat-item h2 {
  font-size: 64px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 10px;
}

.stat-item p {
  color: #ffffff;
  font-size: 20px;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 10px;
  }
}

@media (max-width: 576px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}


.category-section {
  padding: 80px 20px;
  text-align: center;
  background: #fff;
}

.section-title {
  font-size: 48px;
  font-weight: 400;
  margin-bottom: 60px;
  color: #333;
}

.category-slider {
  overflow: hidden;
  width: 100%;
}

.category-track {
  display: flex;
  gap: 80px;
  animation: slide 20s linear infinite;
}

.category-item {
  min-width: 220px;
  text-align: center;
}

.category-item img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 1px solid #0c83df;
    padding: 10px;
}

.category-item h4 {
  font-size: 20px;
  font-weight: 600;
  color: #222;
}

/* Auto sliding animation */
@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .category-track {
    gap: 40px;
  }
  .category-item img {
    width: 160px;
    height: 160px;
  }
}
.category-item {
  min-width: 220px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.category-item:hover {
  transform: translateY(-6px);
}

.category-item h4 {
  font-size: 20px;
  font-weight: 600;
  color: #222;
}



/* BUTTON */
.btn-theme{
  background:var(--primary);
  color:#fff;
  font-weight:600;
}
.btn-theme:hover{
  background:var(--secondary);
  color:#fff;
}
.navbar-brand img {
    width: 150px;
}

#scrollTopBtn {
  display: none;   /* IMPORTANT */
}

#scrollTopBtn {
  position: fixed;
  bottom: 80px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: #0d6efd;
  color: #fff;
  display: flex;               /* IMPORTANT */
  align-items: center;         /* VERTICAL CENTER */
  justify-content: center;     /* HORIZONTAL CENTER */
  font-size: 18px;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

#scrollTopBtn i {
  line-height: 1;              /* IMPORTANT */
}

#scrollTopBtn:hover {
  background: #084298;
  transform: translateY(-3px);
}

.footer-brand .logo img {width:200px;}



/* Optional glow effect border */
/* Product Image Modern Style */
.product-image-box {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(145deg, #ffffff, #f2f2f2);
  padding: 6px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  transition: all 0.4s ease-in-out;
  border: 3px solid transparent;
  background-clip: padding-box;
}

.product-image-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 2px;
  background: linear-gradient(135deg, #00b4d8, #48cae4, #90e0ef);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
  transition: all 0.4s ease;
}

.product-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  transition: all 0.4s ease-in-out;
}

/* Hover effects */
.product-image-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.product-image-box:hover img {
  transform: scale(1.05); 
  filter: brightness(1.08);
}

.product-image-box:hover::before {
  opacity: 1;
  background: linear-gradient(135deg, #0077b6, #0096c7, #00b4d8);
}
