@import url("https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Inder&family=Instrument+Serif:ital@0;1&display=swap");
@import url("https://fonts.cdnfonts.com/css/homizio");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  /* fonts */
  --primary-font: "Homizio", sans-serif;
  --secondary-font: "Inder", sans-serif;
  /* color */
  --primary-color: #0f0f0f;
  --secondary-color: #ffffff;
  --red-color: #ce2017;
  --gray-color: #b2b2b2;
}

body {
  background-color: var(--primary-color);
  overflow-x: hidden;
}

h1 {
  font-family: var(--primary-font);
  font-size: 5rem;
  color: var(--secondary-color);
  font-weight: 700;
}
h2 {
  font-size: 3.2rem;
}

p {
  font-family: var(--secondary-font);
  color: white;
}
.container {
  width: 90%;
  margin: auto;
}
ul li {
  list-style: none;
  color: white;
  font-family: var(--secondary-font)
}
a {
  text-decoration: none;
  text-transform: capitalize;
  font-family: var(--secondary-font);
  font-size: 18px;
  font-weight: 700;
}

/* HERO */

.top-banner-allo {
  width: 100%;
  height: 80vh;
  background-image: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.75) 0%,
      rgba(0, 0, 0, 0.4) 40%,
      rgba(121, 0, 0, 0.85) 100%
    ),
    url("./assets/imgs/allograft.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: center;
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.top-banner-allo h1 {
   font-size: 60px;
  font-weight: 700;
  text-align: center;
}

.hero {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 80px 5% 40px 5%;
}

.hero-img img {
  max-width: 480px;
  border-radius: 15px;
  background: #fff;
  padding: 20px;
}

.hero-text {
  padding-left: 30px;
}

.hero-text h3 {
  color: red;
  margin-bottom: 20px;
  font-size: 40px;
  font-weight: 700;
}
.hero-text p {
  font-size: 30px;
  font-weight: 700;
}

.hero-text ul {
  margin-top: 24px;
  padding-left: 20px;
  line-height: 1.9;
  font-size: 24px;
}

.product-block {
  display: flex;
  gap: 40px;
  margin-top: 80px;
  align-items: center;
  padding: 40px 5%;
}

.product-block .img img {
  width: 100%;
  border-radius: 20px;
}

.product-block h3 {
  color: red;
  margin-bottom: 10px;
  font-size: 40px;
  font-weight: 600;
  padding-bottom: 15px;
}
.product-block p {
  font-size: 30px;
  font-weight: 600;
  padding-bottom: 30px;
}

.product-block ul {
  padding-left: 20px;
  line-height: 1.9;
  font-size: 24px;
}

/* TABLE */

.table-wrapper {
  max-width: 1400px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 40px 5%;
  margin-top: 60px;
}

.purple {
  background: #4b165f;
  color: #fff;
}

.gray {
  background: #e6e6e6;
  color: #000;
}

.orange {
  background: #c87a2e;
  color: #fff;
}

/* ===== TOP CARD ===== */
.top-card {
  background: #f1f1f1;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 30px;
}

.top-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.7fr;
}

.col-head {
  background: #dcdcdc;
  color: #000;
  text-align: center;
  font-weight: bold;
  padding: 20px;
  font-size: 20px;
}
.col {
  border: 2px solid white;
}
.row {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  font-size: 20px;
  border-top: 1px solid #fff;
}

.sinus-text {
  padding: 20px;
  text-align: center;
  width: 100%;
  font-size: 20px;
}

.top-logo {
  text-align: center;
  padding: 30px;
}

/* ===== BOTTOM CARD ===== */

.bottom-card {
  background: #f1f1f1;
  border-radius: 20px;
  overflow: hidden;
  width: 80%;
  margin: auto;
}

.bottom-title {
  background: #e6e6e6;
  text-align: center;
  font-weight: bold;
  padding: 20px;
  font-size: 20px;
  color: #000;
}

/* GRID FIX */
.bottom-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
}

/* TABLE */
.bottom-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.bottom-head {
  grid-column: 1 / -1;
  background: #c87a2e;
  color: #fff;
  text-align: center;
  font-weight: bold;
  padding: 20px;
  font-size: 20px;
}

.b-row {
  padding: 20px;
  text-align: center;
  font-size: 20px;
  border-top: 1px solid #fff;
}

.gray {
  background: #e6e6e6;
  color: #000;
}

.orange {
  background: #c87a2e;
  color: #fff;
}

/* LOGO */
.bottom-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f1f1;
}

.logo-text {
  font-size: 26px;
  font-weight: bold;
  color: #c87a2e;
}

/* INSTRUCTIONS */
.instructions {
  margin-top: 80px;
  padding: 40px 5%;
}

.instructions h3 {
  color: red;
  margin-bottom: 20px;
  font-size: 35px;
  padding-bottom: 20px;
  font-family: var(--secondary-font);
}

.instructions ul {
  padding-left: 20px;
  font-size: 22px;
  line-height: 1.6;
}

/* =========================
   TABLET VIEW (<=1024px)
========================= */
@media (max-width: 1024px) {
  /* HERO */
  .top-banner-allo {
    height: 50vh;
  }

  .top-banner-allo h1 {
    font-size: 38px;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 60px 5% 30px;
  }

  .hero-text {
    padding-left: 0;
  }

  .hero-text h3 {
    font-size: 32px;
  }

  .hero-text p {
    font-size: 24px;
  }

  .hero-text ul {
    font-size: 20px;
  }

  /* PRODUCT BLOCK */
  .product-block {
    flex-direction: column;
    text-align: center;
  }

  .product-block.reverse {
    flex-direction: column;
  }

  .product-block h3 {
    font-size: 32px;
  }

  .product-block p {
    font-size: 24px;
  }

  .product-block ul {
    font-size: 20px;
  }

  /* TOP TABLE */
  .top-grid {
    grid-template-columns: 1fr;
  }

  .col,
  .col1 {
    border-bottom: 4px solid #fff;
  }

  .row {
    font-size: 18px;
  }

  /* BOTTOM TABLE */
  .bottom-card {
    width: 100%;
  }

  .bottom-grid {
    grid-template-columns: 1fr;
  }

  .bottom-logo {
    padding: 30px;
  }
}

/* =========================
   MOBILE VIEW (<=600px)
========================= */
@media (max-width: 600px) {
  /* HERO */
  .top-banner-allo {
    height: 40vh;
  }

  .top-banner-allo h1 {
    font-size: 26px;
    line-height: 1.3;
  }

  /* HERO SECTION */
  .hero-img img {
    max-width: 100%;
    padding: 10px;
  }

  .hero-text h3 {
    font-size: 26px;
  }

  .hero-text p {
    font-size: 20px;
  }

  .hero-text ul {
    font-size: 18px;
  }

  /* PRODUCT BLOCK */
  .product-block {
    padding: 20px 5%;
    gap: 20px;
  }

  .product-block h3 {
    font-size: 26px;
  }

  .product-block p {
    font-size: 20px;
  }

  .product-block ul {
    font-size: 18px;
  }

  /* TABLE WRAPPER */
  .table-wrapper {
    padding: 20px 4%;
  }

  /* TOP TABLE */
  .col-head {
    font-size: 16px;
    padding: 14px;
  }

  .row {
    flex-direction: column;
    gap: 6px;
    text-align: center;
    font-size: 16px;
  }

  /* BOTTOM TABLE */
  .bottom-title {
    font-size: 16px;
    padding: 14px;
  }

  .bottom-head {
    font-size: 16px;
    padding: 14px;
  }

  .b-row {
    font-size: 16px;
    padding: 14px;
  }

  .bottom-logo img {
    max-width: 120px;
  }

  /* INSTRUCTIONS */
  .instructions h3 {
    font-size: 22px;
  }

  .instructions ul {
    font-size: 18px;
  }
}
/* FLOATING LAYOUT */
.floating-container {
  width: 100%;
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  z-index: 999;
}

/* EVENT BOX */
.event-box {
  position: relative;
  background: #000000;
  padding: 15px;
  width: 450px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  margin-left: 40px;
  border: 2px solid var(--red-color);
  color: var(--secondary-color);
}
.float-event-close {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 16px;
  cursor: pointer;
}
.event-box h2 {
  font-weight: bold;
  font-size: 22px;
}

.event-box h3 {
  font-family: var(--secondary-font);
  font-weight: 600;
  font-size: 16px;
}

.event-details {
  font-size: 14px;
  margin-top: 5px;
  display: flex;
  gap: 8px;
}
.floating-btn-con {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.event-box button,
.event-box a {
  margin-top: 10px;
  width: 100%;
  background: var(--red-color);
  color: #fff;
  padding: 8px;
  border-radius: 8px;
  font-size: 16px;
  text-align: center;
}
.event-toggle-btn {
  position: fixed;
  bottom: 30px;
  left: 20px;
  background: var(--red-color);
  color: #fff;
  padding: 10px 14px;
  border-radius: 30px;
  cursor: pointer;
  display: none;
  z-index: 100;
  font-size: 14px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
/* WHATSAPP BUTTON */
.floating-container .whatsapp-btn {
  position: relative;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
}

/* WAVE EFFECT */
.floating-container .wave {
  width: fit-content;
  position: fixed;
  bottom: 20px;
  left: 20px;
  cursor: pointer;
  background: rgba(37, 211, 102, 0.5);
  border-radius: 50%;
  animation: wave 2s infinite;
}

.floating-container .wave.delay {
  animation-delay: 0.5s;
}

@keyframes wave {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}
.event-toggle-btn:hover {
  animation: blurPulse 1.5s infinite;
}
/* VIBRATE */
.whatsapp-btn:hover {
  animation: vibrate 0.3s linear infinite;
}
@keyframes blurPulse {
  0% {
    filter: scale(0.8);
  }
  50% {
    filter: scale(1);
  }
  100% {
    filter: scale(0.8);
  }
}
@keyframes vibrate {
  0% {
    transform: translate(0);
  }
  25% {
    transform: translate(1px, -1px);
  }
  50% {
    transform: translate(-1px, 1px);
  }
  75% {
    transform: translate(1px, 1px);
  }
  100% {
    transform: translate(0);
  }
}

.whatsapp-btn img {
  width: 28px;
  z-index: 2;
}

/* POPUP */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.622);
  display: none;
  justify-content: center;
  align-items: center;
  font-family: var(--secondary-font);
  z-index: 1000;
}

.popup-content {
  background: #000000;
  padding: 25px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  position: relative;
  color: var(--secondary-color);
  border: 2px solid var(--red-color);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}
.popup-content.popup-image {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  position: relative;
  height: 80vh;
  overflow-y: scroll;
}
.popup-content input,
.popup-content select {
  width: 100%;
  padding: 8px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  outline: none;
}
.popup-content select option {
  background: #000000;
  color: var(--secondary-color);
}
.popup-content button {
  width: 100%;
  background: var(--red-color);
  color: white;
  padding: 10px;
  border-radius: 6px;
}

.popup .close-btn {
  width: fit-content;
  position: absolute;
  top: 10px;
  right: 12px;
  cursor: pointer;
}
