:root {
  --primary-color: #0E6BA8; /* Main blue */
  --secondary-color: #00BCD4; /* Teal accent */
  --accent-color: #8BC34A; /* Optional CTA hover */
  --text-color: #212529;
  --bg-color: #F9FAFB;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: 'Inter', 'Roboto', sans-serif;
}

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

button,
.button,
input[type="submit"] {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  transition: all 0.3s ease;
}
button:hover,
.button:hover,
input[type="submit"]:hover {
  background-color: var(--secondary-color);
}

/*** Home page ***/

/*** Hero ***/

.site {
    padding: 0px !important;
}

.pharma-hero {
  background: linear-gradient(to right, #0E6BA8, #00BCD4); /* Primary → Secondary */
  padding: 100px 20px;
  color: #fff;
}

.pharma-hero h1,
.pharma-hero p {
  color: #fff;
}

.pharma-hero .btn-primary {
  background-color: #fff;
  color: #0E6BA8;
  border-radius: 6px;
  padding: 12px 30px;
  font-weight: 600;
  transition: 0.3s;
}

.pharma-hero .btn-primary:hover {
  background-color: #8BC34A; /* Accent hover color */
  color: #fff;
}
/*** Hero ***/


/*** About ***/

.pharma-about {
  background-color: #f9fafb; /* light gray */
}

.pharma-about h2 {
  color: #0E6BA8; /* primary blue */
  font-weight: 700;
  margin-bottom: 20px;
}

.pharma-about p {
  font-size: 1.1rem;
  color: #333;
}

.pharma-about .btn-secondary {
  background-color: #00BCD4; /* secondary teal */
  color: #fff;
  border-radius: 6px;
  padding: 10px 25px;
  font-weight: 600;
  transition: 0.3s;
}

.pharma-about .btn-secondary:hover {
  background-color: #0E6BA8; /* primary blue on hover */
  color: #fff;
}
/*** About ***/

/*** Product Categories ***/

.pharma-categories h2 {
  color: #0E6BA8; /* Primary blue */
  font-weight: 700;
}

.pharma-categories .card-title {
  color: #212529;
  font-weight: 600;
}

.pharma-categories .btn-outline-primary {
  border-color: #0E6BA8;
  color: #0E6BA8;
}

.pharma-categories .btn-outline-primary:hover {
  background-color: #0E6BA8;
  color: #fff;
}

/*** Product Categories ***/

/*** Featured Products ***/
.pharma-featured h2 {
  color: #0E6BA8; /* Primary blue */
  font-weight: 700;
}

.pharma-featured .card-title {
  color: #212529;
  font-weight: 600;
}

.pharma-featured .card-text {
  font-size: 0.95rem;
  color: #555;
}

.pharma-featured .btn-outline-primary {
  border-color: #0E6BA8;
  color: #0E6BA8;
}

.pharma-featured .btn-outline-primary:hover {
  background-color: #0E6BA8;
  color: #fff;
}
/*** Featured Products ***/

/*** Certification and quality ***/
.pharma-certifications h2 {
  color: #0E6BA8;
  font-weight: 700;
  margin-bottom: 40px;
}

.cert-card h5 {
  font-weight: 600;
  color: #212529;
  margin-bottom: 10px;
}

.cert-card p {
  font-size: 0.9rem;
  color: #555;
}

.cert-card img {
  display: block;
  margin: 0 auto 15px;
}
/*** Certification and quality ***/

/*** CTA ***/
.pharma-contact {
  background: linear-gradient(to right, #0E6BA8, #00BCD4); /* Primary → Secondary */
  padding: 80px 20px;
}

.pharma-contact h2 {
  font-weight: 700;
}

.pharma-contact p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 30px;
}

.pharma-contact .btn-light {
  background-color: #fff;
  color: #0E6BA8;
  border-radius: 6px;
  padding: 12px 30px;
  font-weight: 600;
  transition: 0.3s;
}

.pharma-contact .btn-light:hover {
  background-color: #8BC34A;
  color: #fff;
}
/*** CTA ***/
/** Polishing ***/
/*** Section Spacing ***/
section {
  padding-top: 80px;
  padding-bottom: 80px;
}

@media (max-width: 768px) {
  section {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

/*** Subtle Fade-in Animation on Scroll ***/
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/*** Card Hover ***/
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: 0.3s;
}
.btn-primary:hover,
.btn-secondary:hover,
.btn-outline-primary:hover,
.btn-light:hover {
  transform: translateY(-2px);
  transition: 0.3s;
}


/*** Home page ***/

.product-title {
    font-size: 18px;
    text-align: start;
}


html {
  scroll-behavior: smooth;
}

.category-img {
    cursor: pointer;
    transition: transform .3s ease;
}
.category-img:hover {
    transform: scale(1.03);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0,0,0,0.8);
    text-align: center;
}
.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

/* Lightbox arrows */
.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    font-size: 50px;
    padding: 10px;
    color: #fff;
    user-select: none;
    transform: translateY(-50%);
    transition: 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: #ccc;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}


.go-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.go-top-btn:hover {
    background: #0056b3;
    transform: scale(1.08);
}
.site-header, 
header#masthead {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #fff; /* Make sure background is solid */
}


.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  visibility: hidden;
  opacity: 0;
  display: flex; justify-content: center; align-items: center;
  transition: 0.3s ease-in-out;
  z-index: 9999;
}

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

.popup-content {
  background: #ffffff;
  max-width: 600px;
  width: 90%;
  padding:32px;
  border-radius: 10px;
  position: relative;
  animation: popup 0.3s ease;
}

@keyframes popup {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.popup-close {
  position: absolute;
  right: 15px; top: 10px;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}

.enquiry-btn {
  background: #0073ff;
  color: #fff;
  padding: 12px 22px;
  border-radius: 7px;
  cursor: pointer;
  border: none;
  font-size: 16px;
}

.enquiry-btn:hover {
  background: #005acc;
}
