@font-face {
  font-family: "Poppins";
  src: url("/fonts/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/fonts/Poppins-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/fonts/Poppins-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/fonts/Poppins-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("/fonts/Roboto-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("/fonts/Roboto-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("/fonts/Roboto-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("/fonts/Roboto-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  /* Typography */
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-md: 18px;
  --text-lg: 20px;
  --text-xl: 24px;
  --text-2xl: 30px;
  --text-3xl: 36px;
  --text-4xl: 48px;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* Colors - site ke hisaab se change karna */
  --color-primary: #053d7a;
  --color-white: #fff;
  --color-text: #333333;
  --color-gray: #f5f5f5;
}

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

html {
  /* overflow-x: hidden; */
}

body {
  line-height: 1.7;
  background-color: transparent;
  font-weight: 400;
  font-size: 15px;
  font-family: "Roboto", sans-serif;

  color: var(--secondary-clr);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-family: "Roboto", sans-serif;
}

ul,
li,
ol {
  padding: 0;
  margin: 0;
  list-style: none;
}

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

.hide {
  display: none;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

/* Primary - blue filled */
.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}
.btn-primary:hover {
  background: #023145;
  color: var(--color-white);
}

/* Secondary - outline */
.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* White - for dark backgrounds */
.btn-white {
  background: var(--color-white);
  color: var(--color-primary);
}
.btn-white:hover {
  background: #f0f0f0;
}

/* White outline */
.btn-white-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}
.btn-white-outline:hover {
  background: var(--color-white);
  color: var(--color-primary);
}

/* Sizes */
.btn-sm {
  padding: 6px 16px;
  font-size: 12px;
}
.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
}

/* typograpy */

.primary-heading {
  font-weight: 600;
  margin-bottom: 10px;
  padding-bottom: 10px;
  position: relative;
  font-size: 30px;
  letter-spacing: 0.5px;

  @media (max-width: 767px) {
    font-size: 24px;
  }

  &::before {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 50px;
    height: 3px;
    background: #053d7a;
    content: "";
  }
}

.secondary-heading {
}

.text-primary {
  font-weight: 400;

  @media (max-width: 767px) {
    font-size: 14px;
  }
}

.bold {
  font-weight: 900;
}

.pharmacy-gradient-heading {
  background: linear-gradient(275deg, #0056a3, #0068bc, #052a33);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  display: inline-block; /* or block, whichever fits */
  width: 100%;
}
.pharmacy-gradient-heading {
  background: linear-gradient(275deg, #003366, #0a5c9e, #2a86d4);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 100%);
  z-index: 999;
  padding: 10px 0;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: #fff;
  box-shadow: 0 6px 8px 2px rgba(0, 0, 0, 0.1);
}

/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* font-family: "poppins", "sans-serif"; */
  font-family: "Poppins", sans-serif;
}

/* ===== LOGO ===== */
.logo img {
  width: 194px;
  object-fit: contain;
}

.logo .normalLogo {
  display: none;
}
.logo .whlogo {
  display: block;
}

.header.scrolled .logo .normalLogo {
  display: block;
}
.header.scrolled .logo .whlogo {
  display: none;
}

/* ===== NAV LIST ===== */
.navbar-nav {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
}

.navbar-nav > li {
  position: relative;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.navbar-nav > li > a {
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
  transition: all 0.2s ease;
}

.navbar-nav > li > a:hover,
.navbar-nav > li.current-menu-item > a {
  border-color: #fff;
}

.header.scrolled .navbar-nav > li > a {
  color: #000000;
}

.header.scrolled .navbar-nav > li > a:hover,
.header.scrolled .navbar-nav > li.current-menu-item > a {
  border-color: #053d7a;
  color: #053d7a;
}

/* ===== ARROW BTN ===== */
.arrow-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: none;
}

/* ===== SUBMENU ===== */
.submenuLabel1 {
  position: absolute;
  top: 130%;
  left: 0;
  width: 240px;
  background: #fff;
  /* border: 1px solid #053d7a; */
  border-top-width: 4px;
  border-radius: 10px;
  padding: 10px 5px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 100;
}

.hasSubMenu:hover > .submenuLabel1 {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenuLabel1 > li {
  position: relative;
  /* border-bottom: 1px solid #053d7a; */
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.submenuLabel1 > li:last-child {
  border-bottom: none;
}

.submenuLabel1 > li > a {
  display: block;
  padding: 10px 12px;
  color: #000;
  text-decoration: none;
  transition: background 0.2s;
}

.submenuLabel1 > li > a:hover {
  background: #f1f1f1;
}

/* ===== SUBMENU LEVEL 2 ===== */
.submenuLabel2 {
  position: absolute;
  left: 100%;
  top: 0;
  width: 220px;
  background: #fff;
  /* border: 1px solid #053d7a; */
  box-shadow: 0px 0px 4px 4px rgba(0, 0, 0, 0.1);
  border-top-width: 4px;
  border-radius: 10px;
  padding: 10px 5px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 101;
}

.submenuLabel1 > li:hover > .submenuLabel2 {
  opacity: 1;
  visibility: visible;
}

.submenuLabel2 > li {
  /* border-bottom: 1px solid #053d7a; */
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.submenuLabel2 > li:last-child {
  border-bottom: none;
}

.submenuLabel2 > li > a {
  display: block;
  padding: 10px 12px;
  color: #000;
  text-decoration: none;
}

.submenuLabel2 > li > a:hover {
  background: #f1f1f1;
}

/* ===== MORE BUTTON ===== */
.more-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  span {
    font-size: 18px;
  }
}

.header.scrolled .more-btn {
  color: #051e30;
}

.header.scrolled .login-btn {
  color: #fff !important;
}

/* ===== MORE MENU ===== */
.moreMenu {
  position: fixed;
  top: 70px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  width: 90%;
  max-width: 1100px;
  background: #fff;
  padding: 30px 30px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 998;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
}

.moreMenu.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.moreMenu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1300px;
  margin: 0 auto;
}

.moreMenu h4 {
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  color: #023145;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 2px solid #ccc;
}

.moreMenu h4 a {
  color: #023145;
  text-decoration: none;
}

.moreMenu ul {
  list-style: none;
}

.moreMenu ul li a {
  display: block;
  padding: 10px 12px;
  color: #000;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.moreMenu ul li a:hover {
  background: #f1f1f1;
}

/* ===== LOGIN BTN ===== */
.login-btn {
  /* background: #053d7a;
  color: #fff !important;
  padding: 10px 30px !important;
  border-radius: 50px;
  border-bottom: none !important;
  text-decoration: none;
  transition: background 0.2s;
  font-weight: 100; */
}
.register-btn {
  display: none;
}

.login-btn:hover {
  /* background: #023145; */
}

/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: #053d7a;
  border: none;
  padding: 8px;
  cursor: pointer;
  border-radius: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
}

.nav-close {
  display: none;
}

.nav-wrapper .top {
  display: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  /* Hamburger - no bg, white */
  .hamburger {
    display: flex;
    background: transparent;
    border: none;
    padding: 8px;
  }

  .hamburger span {
    background: #fff;
  }

  /* Scroll pe dark hamburger */
  .header.scrolled .hamburger span {
    background: #051e30;
  }

  /* Sidebar */
  .nav-wrapper {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100vh;
    background: #fff;
    overflow-y: auto;
    transition: left 0.3s ease;
    z-index: 9999;
    padding: 20px 0 20px;
  }

  .nav-wrapper .top {
    display: flex;
    padding: 0px 15px;
    align-items: center;
    margin-bottom: 20px;
    justify-content: space-between;
    border-bottom: 1px solid #333;
    padding-bottom: 20px;
    /* display: block; */
  }
  .header {
    padding-block: 16px;
  }
  .logo .whlogo {
    width: 140px;
  }
  .logo img {
    width: 140px;
    object-fit: contain;
  }
  .nav-wrapper .top img {
    width: 140px;
  }
  .nav-wrapper .nav-close {
    display: block;
    position: relative;
    top: 6px;
    right: 0px;
    background: none;
    border: none;
    cursor: pointer;
  }

  .nav-wrapper.open {
    left: 0;
  }

  .nav-close img {
    width: 20px;
  }

  /* Nav list */
  .navbar-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .navbar-nav > li {
    width: 100%;
    border-bottom: 1px solid #eee;
    font-size: 13px;
    /* display: flex;/ */
  }

  .navbar-nav > li > a {
    color: #051e30;
    display: block;
    padding: 6px 20px;
    /* text-align: center; */
  }

  /* Arrow button */
  .arrow-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 15px;
    top: 8px; /* top fixed, transform hatao */
    transform: none;
    width: 28px;
    height: 28px;
    background: #f0f0f0;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10; /* upar rahega hamesha */
    color: #051e30;
  }
  .arrow-btn.open {
    transform: none;
  }

  .arrow-btn i {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
  }

  .arrow-btn.open i {
    transform: rotate(180deg);
  }

  /* Dropdown */
  .submenuLabel1,
  .submenuLabel2 {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transform: none;
    border-radius: 0;
    padding: 0;
    border: none;
    border-left: 3px solid #053d7a;
    margin-left: 15px;
    width: calc(100% - 15px);
    transition:
      max-height 0.3s ease,
      visibility 0.3s ease;
  }

  .submenuLabel1.open,
  .submenuLabel2.open {
    visibility: visible;
    max-height: 500px;
    padding: 10px 5px;
  }

  .submenuLabel1 > li {
    border-bottom: 1px solid #eee;
    position: relative;
  }

  .submenuLabel1 > li > a {
    padding: 12px 15px;
    font-size: 12px;
    color: #051e30;
  }

  .submenuLabel2 > li > a {
    padding: 10px 15px;
    font-size: 11px;
    color: #333;
  }

  /* More menu mobile */
  .moreMenu {
    position: static;
    width: 100%;
    max-width: 100%;
    transform: none;
    opacity: 1;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
    transition: max-height 0.3s ease;
  }

  .moreMenu.active {
    visibility: visible;
    max-height: 1000px;
    padding: 15px 20px;
    opacity: 1;
    transform: translateX(0%) translateY(0);
  }

  .moreMenu-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .more-btn {
    color: #051e30;
    padding: 14px 20px;
    width: 100%;
    justify-content: space-between;
  }

  .login-btn,
  .register-btn {
    margin: 5px 20px;
    padding: 5px !important;
    display: inline-block;
    text-align: center;
    color: white !important;
  }
  .navbar-nav > li,
  .submenuLabel1 > li,
  .submenuLabel2 > li {
    position: relative;
  }
}
footer {
  background-color: #e8f2ff;
  padding: 60px 0 0;
  position: relative;
  overflow-x: hidden; /* Prevents horizontal scroll */
}

footer img.bg {
  width: 100%;
  display: block;
  margin-top: 30px;
  position: absolute;
  bottom: 0;
  left: 0;
  pointer-events: none; /* So it doesn't block clicks */
  z-index: 0;
}

/* Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 180px;
  border-bottom: 1px solid #ccc;
  position: relative;
  z-index: 2;
}

/* Logo */
.footerLogo {
  position: relative;
  z-index: 2;
}

.footerLogo img {
  max-width: 200px;
  margin-bottom: 16px;
}

/* About */
.footer-about p {
  font-size: 12px;
  line-height: 1.6;
  color: #000;
  margin-bottom: 16px;
  text-align: justify;
}

.footer-about .btn {
  color: #0068bc;
  border: 1px solid #0068bc;
  text-transform: uppercase;
  border-radius: 0;
  padding: 4px 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.3s ease;
}

.footer-about .btn:hover {
  background: #053d7a;
  border-color: #053d7a;
  color: #fff;
}

/* Contact */
.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  padding-inline: 30px;
}

.footer-contact {
  border-left: 1px solid #000;
  border-right: 1px solid #000;
}

.footer-contact ul li {
  margin-bottom: 4px;
}

.footer-contact ul li a {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #000;
  text-decoration: none;
  font-size: 12px;
  line-height: 1.5;
  text-align: left; /* was "balance" – not valid, changed */
}

.footer-contact ul li a i {
  margin-top: 3px;
  min-width: 16px;
}

/* Social */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.social-icons a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  display: grid;
  place-content: center;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.social-icons a:hover {
  background: #053d7a;
}

/* Quick Links */
.footer-links h3 {
  font-size: 15px;
  font-weight: 600;
  color: #000;
  margin-bottom: -2px;
}

.links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.footer-links ul {
  padding-left: 18px;
  margin: 0;
}

.footer-links ul li {
  list-style: disc;
  margin-bottom: -7px;
}

.footer-links ul li a {
  color: #000;
  font-size: 12px;
  text-decoration: none;
  line-height: 1.5;
}

.footer-links ul li a:hover {
  color: #053d7a;
}

/* ========== RESPONSIVE FIXES ========== */

/* Tablet */
@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding-bottom: 140px; /* reduce to match bg height roughly */
  }

  .footer-about {
    grid-column: 1 / -1;
  }

  /* Remove side borders on contact column for cleaner look */

  .footer-contact ul {
    padding-inline: 0;
  }
  .footer-contact {
    border-left: 0px solid #000;
    border-right: 1px solid #000;
  }
}

/* Mobile */
@media (max-width: 767px) {
  footer {
    padding: 30px 0 0;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-inline: 36px;
    padding-bottom: 100px; /* adjust based on your bg image height */
  }

  .footer-about {
    grid-column: auto;
  }

  .footer-about p {
    text-align: justify; /* better readability on mobile */
    font-size: 11px;
  }

  .footer-contact ul {
    padding-inline: 0;
  }

  .footer-contact ul li a {
    justify-content: flex-start; /* left align on mobile */
    text-align: left;
  }

  .footer-links h3 {
    text-align: left;
  }

  .footer-links ul {
    text-align: left;
  }

  .social-icons {
    justify-content: center;
  }

  /* Optional: if links grid becomes too cramped, keep as is or stack */
  .links-grid {
    gap: 16px;
  }

  /* Background image – ensure it doesn't overflow */
  footer img.bg {
    width: 100%;
    height: auto;
    bottom: 0;
    margin-top: 0;
  }
  .footer-contact {
    border-left: none;
    grid-row: 3 / 4;
    border-right: none;
    padding-left: 26px;
  }

  .footerLogo {
    display: block;
    margin: 0 auto;
    max-width: max-content;
  }
  .links-grid > div:first-child {
    padding-left: 20px;
  }
  .links-grid > div:last-child {
    padding-left: 20px;
  }
}

/* Small mobile (below 480px) */
@media (max-width: 480px) {
  .footer-grid {
    padding-bottom: 50px;
  }

  .links-grid {
    grid-template-columns: 1fr 1fr; /* stack quick links on very small screens */
    gap: 8px;
  }

  .footer-links ul {
    padding-left: 20px;
  }
}
