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

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Poppins", sans-serif;
  background: #f5fff7;
  color: #1d2a22;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

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

/* Header */

.header {
  width: 100%;
  max-width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(245, 255, 247, 0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 35px rgba(27, 94, 32, 0.08);
}

.navbar {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.logo-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, #1b8f4d, #74c69d);
  color: #ffffff;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 24px;
  box-shadow: 0 12px 26px rgba(27, 143, 77, 0.28);
}

.logo h2 {
  font-size: 21px;
  line-height: 1.1;
  color: #14532d;
  font-weight: 900;
  white-space: nowrap;
}

.logo p {
  font-size: 12px;
  color: #5e7a68;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #23442c;
  font-size: 14px;
  font-weight: 700;
  transition: 0.3s ease;
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  content: "";
  width: 0;
  height: 3px;
  background: #2daa62;
  position: absolute;
  left: 0;
  bottom: -8px;
  border-radius: 50px;
  transition: 0.3s ease;
}

.nav-links a:hover {
  color: #1b8f4d;
}

.nav-links a:hover::after {
  width: 100%;
}

.menu-btn {
  display: none;
  border: none;
  background: linear-gradient(135deg, #1b8f4d, #74c69d);
  color: white;
  font-size: 24px;
  padding: 7px 13px;
  border-radius: 12px;
  cursor: pointer;
  min-width: 52px;
  min-height: 52px;
  flex-shrink: 0;
}

/* Hero */

.hero {
  min-height: 100vh;
  padding: 140px 24px 80px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 46px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  top: 110px;
  right: -160px;
  background: radial-gradient(circle, rgba(116, 198, 157, 0.28), transparent 67%);
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  left: -150px;
  bottom: 30px;
  background: radial-gradient(circle, rgba(45, 170, 98, 0.17), transparent 65%);
  z-index: -1;
}

.tag {
  display: inline-block;
  background: #eaffef;
  color: #1b8f4d;
  padding: 10px 18px;
  border-radius: 50px;
  font-weight: 800;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(37px, 5.8vw, 67px);
  line-height: 1.08;
  color: #14532d;
  margin-bottom: 22px;
  font-weight: 900;
}

.hero h1 span {
  color: #2daa62;
}

.hero p {
  max-width: 620px;
  color: #617567;
  font-size: 17px;
  line-height: 1.8;
}

.hero-buttons {
  margin-top: 32px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.primary-btn,
.secondary-btn,
.poster-btn,
.map-btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 800;
  transition: 0.35s ease;
}

.primary-btn,
.poster-btn,
.map-btn {
  background: linear-gradient(135deg, #1b8f4d, #74c69d);
  color: white;
  box-shadow: 0 18px 34px rgba(27, 143, 77, 0.24);
}

.secondary-btn {
  background: white;
  color: #1b8f4d;
  border: 2px solid #caecd6;
}

.primary-btn:hover,
.poster-btn:hover,
.map-btn:hover,
.secondary-btn:hover {
  transform: translateY(-6px);
}

.primary-btn:hover,
.poster-btn:hover,
.map-btn:hover {
  box-shadow: 0 26px 45px rgba(27, 143, 77, 0.34);
}

.secondary-btn:hover {
  background: #eefcf2;
}

.hero-stats {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.hero-stats div {
  background: white;
  padding: 18px 16px;
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(20, 83, 45, 0.08);
  border: 1px solid #dbf2e2;
  transition: 0.35s ease;
}

.hero-stats div:hover {
  transform: translateY(-8px);
  border-color: #9ed7b5;
}

.hero-stats strong {
  display: block;
  color: #1b8f4d;
  font-size: 21px;
  margin-bottom: 4px;
}

.hero-stats span {
  color: #6b7d70;
  font-size: 13px;
  font-weight: 600;
}

.hero-photo-card {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  min-height: 540px;
  box-shadow: 0 30px 80px rgba(20, 83, 45, 0.18);
}

.hero-photo-card img {
  height: 540px;
  object-fit: cover;
  transition: 0.5s ease;
}

.hero-photo-card:hover img {
  transform: scale(1.08) rotate(1deg);
}

.floating-discount {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2daa62, #a7e9af);
  color: white;
  display: grid;
  place-items: center;
  text-align: center;
  border: 8px solid rgba(255, 255, 255, 0.62);
  animation: spinBadge 9s linear infinite;
}

.floating-discount h3 {
  font-size: 30px;
  line-height: 0.8;
}

.floating-discount p {
  font-size: 20px;
  font-weight: 900;
}

@keyframes spinBadge {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Common Section */

section {
  width: 100%;
  max-width: 100%;
  padding: 88px 24px;
  overflow: hidden;
}

.section-title {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.section-title span {
  color: #1b8f4d;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title h2 {
  font-size: clamp(30px, 4vw, 46px);
  color: #14532d;
  margin: 10px 0 14px;
  font-weight: 900;
}

.section-title p {
  color: #66756a;
  font-size: 16px;
  line-height: 1.7;
}

/* Offers */

.offers-section {
  background: linear-gradient(180deg, #f5fff7, #ecfff2);
}

.offer-poster {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 26px;
  border-radius: 38px;
  padding: 32px;
  background: linear-gradient(135deg, #14532d, #2daa62);
  box-shadow: 0 30px 85px rgba(20, 83, 45, 0.18);
}

.offer-left {
  padding: 18px;
}

.offer-small {
  color: #d9ffe3;
  font-weight: 800;
  margin-bottom: 10px;
}

.offer-left h2 {
  color: white;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.04;
  margin-bottom: 18px;
  font-weight: 900;
}

.offer-left h2 span {
  color: #d4ff9d;
}

.offer-text {
  color: #effff4;
  line-height: 1.75;
  font-size: 17px;
  margin-bottom: 24px;
}

.offer-list {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.offer-item {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 15px 18px;
  border-radius: 18px;
  backdrop-filter: blur(10px);
}

.offer-item strong {
  display: block;
  color: white;
  font-size: 16px;
  margin-bottom: 4px;
}

.offer-item span {
  color: #e7fff0;
  font-size: 14px;
}

.poster-btn {
  background: white;
  color: #14532d;
}

.offer-right {
  display: grid;
  gap: 22px;
  align-content: center;
  justify-items: center;
}

.offer-badge {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4ff9d, #2daa62);
  color: #14532d;
  display: grid;
  place-items: center;
  text-align: center;
  border: 10px solid rgba(255, 255, 255, 0.35);
  animation: spinBadge 8s linear infinite;
}

.offer-badge h3 {
  font-size: 30px;
  line-height: 0.9;
  font-weight: 900;
}

.offer-badge p {
  font-size: 20px;
  font-weight: 900;
}

.mini-dashboard {
  width: 100%;
  max-width: 360px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  padding: 18px;
}

.mini-dashboard div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 0;
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.mini-dashboard div:last-child {
  border-bottom: none;
}

.mini-dashboard span {
  color: #effff4;
}

/* Doctor */

.doctor-section {
  background: #f5fff7;
}

.doctor-card {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  background: white;
  border-radius: 34px;
  padding: 28px;
  display: grid;
  grid-template-columns: 280px 1fr auto;
  gap: 28px;
  align-items: center;
  border: 1px solid #daf1e2;
  box-shadow: 0 25px 70px rgba(20, 83, 45, 0.11);
  transition: 0.4s ease;
}

.doctor-card:hover {
  transform: translateY(-9px);
  box-shadow: 0 38px 95px rgba(20, 83, 45, 0.18);
}

.doctor-photo {
  border-radius: 28px;
  overflow: hidden;
  height: 245px;
}

.doctor-photo img {
  height: 100%;
  object-fit: cover;
  transition: 0.45s ease;
}

.doctor-card:hover .doctor-photo img {
  transform: scale(1.08);
}

.doctor-label {
  display: inline-block;
  color: #1b8f4d;
  background: #eaffef;
  padding: 7px 14px;
  border-radius: 30px;
  font-weight: 900;
  margin-bottom: 10px;
}

.doctor-info h3 {
  font-size: 32px;
  color: #14532d;
  font-weight: 900;
}

.speciality {
  color: #2daa62;
  font-weight: 900;
  margin: 4px 0 12px;
}

.doctor-info p {
  color: #617567;
  line-height: 1.75;
}

.days-box {
  display: grid;
  gap: 13px;
}

.days-box span {
  background: linear-gradient(135deg, #1b8f4d, #74c69d);
  color: white;
  padding: 14px 20px;
  border-radius: 16px;
  text-align: center;
  font-weight: 900;
  box-shadow: 0 16px 30px rgba(27, 143, 77, 0.22);
  transition: 0.35s ease;
}

.days-box span:hover {
  transform: scale(1.07);
}

/* Medicine and FMCG */

.medicine-section {
  background: linear-gradient(180deg, #f5fff7, #eefff2);
}

.fmcg-section {
  background: #f5fff7;
}

.medicine-grid,
.fmcg-grid {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

.medicine-grid {
  grid-template-columns: repeat(4, 1fr);
}

.fmcg-grid {
  grid-template-columns: repeat(3, 1fr);
}

.medicine-card,
.fmcg-card {
  background: white;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 65px rgba(20, 83, 45, 0.10);
  border: 1px solid #dff5e6;
  transition: 0.4s ease;
}

.medicine-card:hover,
.fmcg-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 35px 90px rgba(20, 83, 45, 0.18);
}

.medicine-card img,
.fmcg-card img {
  height: 210px;
  object-fit: cover;
  transition: 0.45s ease;
}

.medicine-card:hover img,
.fmcg-card:hover img {
  transform: scale(1.1);
}

.medicine-card-body,
.fmcg-body {
  padding: 24px;
}

.medicine-card h3,
.fmcg-card h3 {
  color: #14532d;
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 900;
}

.medicine-card p,
.fmcg-card p {
  color: #66756a;
  line-height: 1.7;
  font-size: 14px;
}

/* Shop */

.shop-section {
  background: linear-gradient(180deg, #f5fff7, #ebfff0);
}

.shop-grid {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.shop-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 65px rgba(20, 83, 45, 0.12);
}

.shop-card img {
  height: 280px;
  object-fit: cover;
  transition: 0.55s ease;
}

.shop-card:hover img {
  transform: scale(1.12);
}

.shop-overlay {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  background: rgba(20, 83, 45, 0.80);
  color: white;
  padding: 14px 18px;
  border-radius: 18px;
  font-weight: 900;
  backdrop-filter: blur(8px);
  transform: translateY(8px);
  transition: 0.35s ease;
}

.shop-card:hover .shop-overlay {
  background: rgba(45, 170, 98, 0.86);
  transform: translateY(0);
}

/* Location */

.location-section {
  background: linear-gradient(180deg, #f5fff7, #ebfff0);
}

.location-card {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 26px;
  align-items: stretch;
}

.location-details,
.location-image {
  background: white;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid #daf1e2;
  box-shadow: 0 25px 70px rgba(20, 83, 45, 0.11);
}

.location-details {
  padding: 38px;
}

.location-details h3 {
  font-size: 33px;
  color: #14532d;
  margin-bottom: 16px;
  font-weight: 900;
}

.location-details p {
  color: #617567;
  line-height: 1.8;
  margin-bottom: 16px;
}

.address {
  font-weight: 900;
  color: #1b8f4d !important;
  font-size: 18px;
}

.location-image {
  position: relative;
}

.location-image img {
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  transition: 0.5s ease;
}

.location-image:hover img {
  transform: scale(1.08);
}

.map-tag {
  position: absolute;
  left: 22px;
  bottom: 22px;
  background: rgba(245, 255, 247, 0.94);
  color: #14532d;
  padding: 14px 18px;
  border-radius: 16px;
  font-weight: 900;
  box-shadow: 0 16px 35px rgba(20, 83, 45, 0.18);
}

/* Footer */

.footer {
  background: #14532d;
  color: white;
  text-align: center;
  padding: 42px 20px;
  width: 100%;
  max-width: 100%;
}

.footer h3 {
  font-size: 27px;
  margin-bottom: 8px;
  font-weight: 900;
}

.footer p {
  color: #ebfff0;
  margin: 6px 0;
}

.copy {
  font-size: 13px;
  opacity: 0.82;
}

/* Animation */

.scroll-reveal {
  opacity: 0;
  transform: translateY(75px) rotate(-4deg) scale(0.96);
  transition: 0.9s ease;
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0) rotate(0deg) scale(1);
}

/* Tablet */

@media (max-width: 1020px) {
  .hero,
  .offer-poster,
  .location-card {
    grid-template-columns: 1fr;
  }

  .hero-photo-card,
  .hero-photo-card img {
    min-height: 430px;
    height: 430px;
  }

  .doctor-card {
    grid-template-columns: 230px 1fr;
  }

  .days-box {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, 1fr);
  }

  .medicine-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fmcg-grid,
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Fix */

@media (max-width: 780px) {
  body {
    text-align: center;
  }

  .header {
    overflow: visible;
  }

  .navbar {
    padding: 14px 18px;
  }

  .logo {
    max-width: calc(100% - 70px);
  }

  .logo h2 {
    font-size: 18px;
  }

  .logo p {
    font-size: 11px;
  }

  .logo-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    font-size: 22px;
  }

  .menu-btn {
    display: grid;
    place-items: center;
  }

  .nav-links {
    position: fixed;
    top: 82px;
    right: 18px;
    width: min(260px, calc(100vw - 36px));
    max-width: calc(100vw - 36px);
    background: white;
    padding: 22px;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    border-radius: 22px;
    box-shadow: 0 25px 70px rgba(20, 83, 45, 0.18);
    transform: translateY(-10px) scale(0.96);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
  }

  .nav-links.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .nav-links a {
    font-size: 15px;
  }

  .hero {
    width: 100%;
    padding: 125px 18px 65px;
    grid-template-columns: 1fr;
    gap: 35px;
    text-align: center;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 46px);
    line-height: 1.12;
  }

  .hero p {
    max-width: 100%;
    font-size: 16px;
    margin: 0 auto;
  }

  .hero-buttons {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .primary-btn,
  .secondary-btn,
  .poster-btn,
  .map-btn {
    width: 100%;
    text-align: center;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
  }

  .hero-stats div {
    width: 100%;
  }

  .hero-photo-card,
  .hero-photo-card img {
    width: 100%;
    min-height: 360px;
    height: 360px;
  }

  section {
    padding: 68px 18px;
  }

  .section-title {
    margin-bottom: 34px;
  }

  .section-title h2 {
    font-size: clamp(29px, 8vw, 38px);
  }

  .offer-poster {
    width: 100%;
    padding: 20px;
    border-radius: 28px;
    text-align: center;
  }

  .offer-left {
    padding: 6px;
  }

  .offer-left h2 {
    font-size: clamp(36px, 10vw, 50px);
  }

  .offer-item {
    text-align: center;
  }

  .offer-badge {
    width: 190px;
    height: 190px;
  }

  .offer-badge h3 {
    font-size: 58px;
  }

  .mini-dashboard {
    max-width: 100%;
  }

  .mini-dashboard div {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }

  .doctor-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 22px;
  }

  .doctor-photo {
    height: 260px;
  }

  .days-box {
    grid-template-columns: 1fr;
  }

  .medicine-grid,
  .fmcg-grid,
  .shop-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .medicine-card,
  .fmcg-card,
  .shop-card {
    width: 100%;
  }

  .location-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .location-details {
    padding: 28px 22px;
  }

  .map-tag {
    left: 16px;
    right: 16px;
    bottom: 16px;
    text-align: center;
  }

  .scroll-reveal {
    transform: translateY(45px) scale(0.98);
  }

  .scroll-reveal.active {
    transform: translateY(0) scale(1);
  }
}

/* Small Mobile */

@media (max-width: 470px) {
  .navbar {
    padding: 13px 15px;
  }

  .logo h2 {
    font-size: 17px;
  }

  .logo p {
    font-size: 10px;
  }

  .hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero h1 {
    font-size: 35px;
  }

  .tag {
    font-size: 14px;
    padding: 9px 14px;
  }

  .hero-photo-card,
  .hero-photo-card img {
    min-height: 340px;
    height: 340px;
  }

  .floating-discount {
    width: 118px;
    height: 118px;
    right: 16px;
    bottom: 16px;
  }

  .floating-discount h3 {
    font-size: 38px;
  }

  .floating-discount p {
    font-size: 15px;
  }

  .offer-poster {
    padding: 18px;
  }

  .offer-badge {
    width: 170px;
    height: 170px;
  }

  .offer-badge h3 {
    font-size: 50px;
  }

  .medicine-card img,
  .fmcg-card img,
  .shop-card img {
    height: 230px;
  }
}
