:root {
  --font-outfit: "Outfit", serif;

  /* Responsive Font Sizes using clamp(min, ideal, max) */
  --font15: clamp(13px, 1.1vw, 15px);
  --font16: clamp(14px, 1.2vw, 16px);
  --font18: clamp(15px, 1.4vw, 18px);
  --font20: clamp(16px, 1.6vw, 20px);
  --font22: clamp(18px, 1.7vw, 22px);
  --font24: clamp(18px, 1.8vw, 24px);
  --font28: clamp(20px, 2vw, 28px);
  --font30: clamp(22px, 2.2vw, 30px);
  --font32: clamp(24px, 2.3vw, 32px);
  --font36: clamp(26px, 2.5vw, 36px);
  --font38: clamp(28px, 2.7vw, 38px);
  --font40: clamp(30px, 2.8vw, 40px);
  --font48: clamp(32px, 3.2vw, 48px);
  --font58: clamp(32px, 4vw, 58px);
  --font64: clamp(42px, 4.5vw, 64px);
  --font72: clamp(48px, 5vw, 72px);

  --blue: #4e7ba1;
  --darkgreen: #8b9739;
  --dark1c: #1c1c1c;
  --primary: linear-gradient(90deg, #f05d20 0%, #fbb900 100%);
  --gray57: #574d49;
  --light-blue: #f7f7f7;
  --white: #fff;
  --brownColor: #672d15;

  --py100: clamp(32px, 5vw, 100px) 0;
  --py72: clamp(32px, 5vw, 72px) 0;

  --EASE_INOUT_QUAD: cubic-bezier(0.455, 0.03, 0.515, 0.955);
  --EASE_IN_QUAD: cubic-bezier(0.55, 0.085, 0.68, 0.53);
  --EASE_OUT_QUAD: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --COLOR_UI_PHARMACY: #f05d20;
  --loaderPill_DURATION: 1800ms;
}

/* ---------------loader---------------- */
#loader {
  transition: opacity 0.5s ease;
}

.absCenter {
  position: fixed;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  z-index: 100;
  justify-content: center;
  height: 100vh;
  width: 100%;
  background-color: var(--white);
  transform: translate(-50%, -50%);
}

.loaderPill {
  text-align: center;
}

.loaderPill-anim {
  height: 160px;
}

.loaderPill-anim-bounce {
  animation: loaderPillBounce var(--loaderPill_DURATION) linear infinite;
}

.loaderPill-anim-flop {
  transform-origin: 50% 50%;
  animation: loaderPillFlop var(--loaderPill_DURATION) linear infinite;
}

.loaderPill-pill {
  display: inline-block;
  box-sizing: border-box;
  width: 80px;
  height: 30px;
  border-radius: 15px;
  border: 1px solid var(--COLOR_UI_PHARMACY);
  background-image: linear-gradient(
    to right,
    var(--COLOR_UI_PHARMACY) 50%,
    #ffffff 50%
  );
}

.loaderPill-floor {
  display: block;
  text-align: center;
}

.loaderPill-floor-shadow {
  display: inline-block;
  width: 70px;
  height: 7px;
  border-radius: 50%;
  background-color: color(var(--COLOR_UI_PHARMACY) alpha(26%));
  transform: translateY(-15px);
  animation: loaderPillScale var(--loaderPill_DURATION) linear infinite;
}

@keyframes loaderPillBounce {
  0% {
    transform: translateY(123px);
    animation-timing-function: var(--EASE_OUT_QUAD);
  }

  25% {
    transform: translateY(40px);
    animation-timing-function: var(--EASE_IN_QUAD);
  }

  50% {
    transform: translateY(120px);
    animation-timing-function: var(--EASE_OUT_QUAD);
  }

  75% {
    transform: translateY(20px);
    animation-timing-function: var(--EASE_IN_QUAD);
  }

  100% {
    transform: translateY(120px);
  }
}

@keyframes loaderPillFlop {
  0% {
    transform: rotate(0);
  }

  25% {
    transform: rotate(90deg);
  }

  50% {
    transform: rotate(180deg);
  }

  75% {
    transform: rotate(450deg);
  }

  100% {
    transform: rotate(720deg);
  }
}

@keyframes loaderPillScale {
  0% {
    transform: translateY(-15px) scale(1, 1);
    animation-timing-function: var(--EASE_OUT_QUAD);
  }

  25% {
    transform: translateY(-15px) scale(0.7, 1);
    animation-timing-function: var(--EASE_IN_QUAD);
  }

  50% {
    transform: translateY(-15px) scale(1, 1);
    animation-timing-function: var(--EASE_OUT_QUAD);
  }

  75% {
    transform: translateY(-15px) scale(0.6, 1);
    animation-timing-function: var(--EASE_IN_QUAD);
  }

  100% {
    transform: translateY(-15px) scale(1, 1);
  }
}

/* -----------------------------banner------------------------ */
.main-banner video {
  width: 100%;
  height: auto;
}

/* ---------------------------marquee text---------------------- */
.marquee-text {
  margin: 3px 0;
  font-family: var(--font-outfit);
  font-size: var(--font18);
  color: var(--dark1c);
}

/* -----------------------------modal------------------------ */
.homepage-modal {
  background: #1c1c1c50;
}

.custom-modal-class {
  max-width: 700px !important;
}

.modal-content {
  border-radius: 32px !important;
}

.modal-body {
  padding: 0 !important;
}

.modal-body button {
  position: absolute;
  right: 12px;
  top: 12px;
}

.modal-image {
  width: 100%;
}

.modal-image img {
  height: auto;
  width: 100%;
  border-radius: 32px !important;
}

/* -----------------------------about us------------------------ */

.about-us {
  padding: var(--py100);
  background-color: var(--light-blue);
}

.about-us-content h3 {
  font-size: var(--font20);
  font-weight: 700;
  color: var(--darkgreen);
  font-family: var(--font-outfit);
  margin-bottom: 0;
}

.about-us-content h2 {
  font-size: var(--font48);
  font-weight: 700;
  color: var(--dark1c);
  margin-bottom: 16px;
  font-family: var(--font-outfit);
}

.about-us-content p {
  font-size: var(--font20);
  font-weight: 400;
  color: var(--gray57);
  font-family: var(--font-outfit);
  margin-bottom: 16px;
}

.about-us-content a {
  padding: 8px 16px;
  background-color: var(--darkgreen);
  border-radius: 100px;
  color: var(--white);
  font-family: var(--font-outfit);
  font-size: var(--font20);
  font-weight: 400;
  text-decoration: none;
}

.about-video {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 56px;
}

.about-video video {
  max-width: 1076px;
  max-height: 500px;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 8px 8px 0px 0px #adadad4d;
}

/* ---------- our-certifications ------------  */

.our-certifications {
  padding: var(--py100);
  position: relative;
}

.our-certifications .certification-img {
  position: absolute;
  bottom: 0;
  right: 0;
}

.our-certifications-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 56px;
  width: 100%;
}

.our-certifications-content-left {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 12px;
}

.our-certifications-content-left h2 {
  font-size: var(--font20);
  font-weight: 700;
  color: var(--darkgreen);
  font-family: var(--font-outfit);
  margin-bottom: 0;
}

.our-certifications-content-left h3 {
  font-size: var(--font58);
  font-weight: 700;
  color: var(--dark1c);
  margin-bottom: 16px;
  font-family: var(--font-outfit);
  margin-bottom: 0;
}

.our-certifications-content-right img {
  max-width: 180px;
  max-height: 180px;
  width: 100%;
  height: auto;
}

.our-certifications-bqs,
.our-certifications-iso {
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  background-color: var(--light-blue);
  padding: 100px 20px 39px 32px;
  position: relative;
  transition: all 300ms ease-out, opacity 300ms ease-out;
}

.our-certifications-bqs:hover,
.our-certifications-iso:hover,
.our-assurance:hover {
  transform: perspective(1200px) scale(1) rotate(0deg) rotateX(10deg)
    rotateY(0deg) translateZ(0);
}

.our-certifications-bqs img,
.our-certifications-iso img {
  position: absolute;
  top: 8px;
  right: -59px;
  transform: rotate(45deg);
  max-height: 90px;
  max-width: 224px;
}

.our-certifications-bqs h3,
.our-certifications-iso h3 {
  font-family: var(--font-outfit);
  font-weight: 700;
  font-size: var(--font22);
  color: var(--dark1c);
  margin-bottom: 16px;
}

.our-certifications-bqs p,
.our-certifications-iso p {
  font-family: var(--font-outfit);
  font-weight: 500;
  font-size: var(--font20);
  color: var(--gray57);
  margin-bottom: 0;
}

.our-assurance {
  border-radius: 16px;
  height: 100%;
  display: flex;
  background: var(--primary);
  transition: all 300ms ease-out, opacity 300ms ease-out;
}

.our-assurance video {
  border-radius: 16px 0 0 16px;
}

.our-assurance-content {
  padding: 32px 50px 32px 32px;
  width: 100%;
  border-radius: 0 16px 16px 0;
  background-color: var(--darkgreen);
}

.our-assurance-content h3 {
  color: #fff;
  font-size: var(--font20);
  font-weight: 500;
  font-family: var(--font-outfit);
  margin-bottom: 0;
}

.our-assurance-content p {
  color: #fff;
  margin-top: 32px;
  font-size: var(--font32);
  font-weight: 600;
  font-family: var(--font-outfit);
  margin-bottom: 0;
}

/* -------------- our philosophy--------------- */

.our-philosophy-section {
  position: relative;
}

.our-philosophy-section .our-philosophy-img-right {
  position: absolute;
  top: 0;
  right: 0;
}

.our-philosophy-section .our-philosophy-img-left {
  position: absolute;
  top: 0;
  left: 0;
  transform: scaleX(-1);
}

.our-philosophy {
  padding: var(--py100);
  background-color: var(--light-blue);
}

.our-philosophy-heading {
  text-align: center;
  margin-bottom: 56px;
}

.our-philosophy-heading h2 {
  font-size: var(--font20);
  font-weight: 700;
  color: var(--darkgreen);
  font-family: var(--font-outfit);
  margin-bottom: 0;
}
.our-philosophy-heading p {
  font-size: var(--font20);
  font-weight: 500;
  color: var(--gray57);
  font-family: var(--font-outfit);
  line-height: 120%;
  margin-top: 16px;
}

.our-philosophy-heading h3 {
  margin-top: 12px;
  font-size: var(--font58);
  font-weight: 700;
  max-width: 1024px;
  margin: auto;
  color: var(--dark1c);
  font-family: var(--font-outfit);
  margin-bottom: 0;
}

.our-philosophy-content {
  border-radius: 12px;
  position: relative;
  height: 100%;
  display: flex;
  gap: 0;
  background-color: #fff;
  flex-direction: column;
  border: 2px solid transparent;
  transition: all 300ms ease-out, opacity 300ms ease-out;
}

.our-philosophy-content:hover {
  border: 2px solid var(--darkgreen);
  transform: perspective(1200px) scale(1) rotate(0deg) rotateX(10deg)
    rotateY(0deg) translateZ(0);
}

.our-philosophy-first {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 218px;
}

.our-philosophy-first video {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  border-radius: 12px 12px 0 0;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.content-overlay {
  position: relative;
  z-index: 2;
  color: white;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.content-overlay img {
  max-width: 72px;
  max-height: 72px;
}

.content-overlay span {
  font-size: var(--font40);
  z-index: 20;
  font-weight: 700;
  color: var(--white);
  font-family: var(--font-outfit);
}

.our-philosophy-second {
  padding: 24px 40px;
  background-color: #fff;
  border-radius: 0 0 12px 12px;
}

.our-philosophy-second p {
  font-size: var(--font20);
  font-weight: 500;
  color: var(--gray57);
  font-family: var(--font-outfit);
  line-height: 120%;
}

/* ---------- contact us -------------------- */
.contact-us {
  padding: var(--py100);
  background-color: #e5f7ff;
}

.our-commitment {
  display: flex;
  gap: 40px;
  align-items: center;
  height: 100%;
}

.our-commitment-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.our-commitment-text h2 {
  font-size: var(--font20);
  font-weight: 700;
  color: var(--darkgreen);
  font-family: var(--font-outfit);
  margin-bottom: 0;
}

.our-commitment-text h3 {
  font-size: var(--font58);
  font-weight: 700;
  color: var(--dark1c);
  font-family: var(--font-outfit);
  margin-bottom: 0;
}

.our-commitment-text p {
  font-size: var(--font20);
  font-weight: 400;
  color: var(--gray57);
  font-family: var(--font-outfit);
  margin-bottom: 0;
}

/*----------------- products -----------------*/
.product {
  position: relative;
}

.product video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.product-container {
  padding: var(--py100);
  z-index: 50;
}

.product-title h2 {
  font-size: var(--font20);
  font-weight: 700;
  font-family: var(--font-outfit);
  color: var(--darkgreen);
  font-family: var(--font-outfit);
  margin-bottom: 12px;
}
.product-title h5 {
  font-size: var(--font16);
  font-weight: 700;
  font-family: var(--font-outfit);
  color: var(--dark1c);
  margin-bottom: 12px;
}

.product-title p {
  color: var(--gray57);
  font-size: var(--font20);
  font-family: var(--font-outfit);
  font-weight: 400;
  margin-bottom: 12px;
}

.product-title h3 {
  font-weight: 700;
  font-family: var(--font-outfit);
  font-size: var(--font40);
  color: var(--dark1c);
  margin-bottom: 12px;
}

.product-details {
  display: flex;
  border-radius: 16px;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  background-color: var(--white);
  padding: 16px;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.product-details h3 {
  margin-bottom: 0;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
}

.product-details h3 .default-text {
  font-family: var(--font-outfit);
  font-size: var(--font18);
  font-weight: 600;
  color: var(--dark1c);
  margin-bottom: 0;
}

.product-details h3 .hover-text {
  display: none;
}

.product-details:hover h3 .default-text {
  display: none;
}

.product-details:hover h3 .hover-text {
  display: block;
  padding: 17px 12px;
  font-family: var(--font-outfit);
  font-size: var(--font15);
  height: 100%;
  width: 100%;
  font-weight: 500;
  color: var(--gray57);
  border-radius: 9px;
  margin-bottom: 0;
  background-color: var(--light-blue);
}

.product .margin-top {
  margin-top: 48px;
}

@media (320px <=width <=767px) {
  .product .margin-top {
    margin-top: 8px;
  }

  .about-us-content p {
    margin-bottom: 18px;
  }

  .product-details {
    padding: 6px;
    gap: 10px;
    border-radius: 8px;
  }

  .product-details img {
    max-height: 52px;
  }

  .product-details:hover h3 .hover-text {
    padding: 6px;
    font-size: 15px;
  }

  .our-assurance {
    flex-direction: column;
  }

  .our-certifications-content-right img {
    display: none;
  }

  .our-assurance video {
    border-radius: 16px;
  }

  .our-assurance-content {
    border-radius: 16px;
    padding: 22px;
  }

  .our-assurance-content p {
    margin-top: 12px;
    line-height: 26px;
  }

  .our-certifications .certification-img {
    display: none;
  }

  .our-certifications-bqs,
  .our-certifications-iso {
    padding: 32px 24px;
  }

  .our-certifications-bqs img,
  .our-certifications-iso img {
    max-width: 95px;
    max-height: 35px;
    right: -24px;
  }

  .content-overlay,
  .our-philosophy-second {
    padding: 18px;
  }

  .about-video {
    padding-top: 24px;
  }

  .our-philosophy-heading {
    text-align: left;
    margin-bottom: 16px;
  }

  .our-certifications-content {
    margin-bottom: 15px;
  }
}
