@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");

/* ================= BASE (UNCHANGED) ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-font: "Homizio", sans-serif;
  --secondary-font: "Inder", sans-serif;
  --primary-color: #0f0f0f;
  --secondary-color: #ffffff;
  --red-color: #ce2017;
  --gray-color: #b2b2b2;
}

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

/* ================= HEADER (UNCHANGED) ================= */
.site-header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #eee;
  position: relative;
  z-index: 10000;
  isolation: isolate;
  /* position: fixed;
  z-index: 100000; */
}

.site-header .logo {
  margin-bottom: 10px;
  margin-left: 20px;
  padding-top:15px;
}

.site-header .logo img {
  width: 150px;
  height: auto;
  display: block;
}

.site-header .logo1 {
  margin-bottom: 20px;
  margin-left: 40px;
  padding: 10px;
}

.site-header .logo1 img {
  width: 140px;
  height: auto;
  display: block;
}

.nav-container {
  width: 100%;
  margin: auto;
  position: relative;
}

.nav-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 10002;
}




/* ================= DESKTOP MENU (UNCHANGED) ================= */
.nav-main-menu {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  list-style: none;
  position: relative;
  z-index: 10001;
}

.nav-main-menu .logo {
  margin-right: 20px;
  position: relative;
  z-index: 10003;
  background: #fff;
}

.nav-main-menu li {
  position: relative;
  font-size: 18px;
  cursor: pointer;
  font-weight: 700;
  font-family: var(--secondary-font);
}

.nav-main-menu a {
  text-decoration: none;
  color: #000;
}

.nav-main-menu li a:hover {
  color: #c81616;
}

/* ================= DESKTOP MEGA MENU (UNCHANGED) ================= */
.has-mega .mega-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  width: 180vw;
  background: #fff;
  padding: 35px 690px;
  display: none;
  grid-template-columns: auto auto auto auto;
  justify-content: start;
  gap: 50px;
  z-index: 1000;
}

.has-mega:hover .mega-menu {
  display: grid;
}

.nav-main-menu>li {
  position: relative;
}

.has-mega {
  --offset: 0px;
  font-weight: 700;
}

.has-mega:hover .mega-menu {
  margin-left: var(--offset);
}

.has-mega:hover {
  color: #d22027;
}

.nav-main-menu li {
  color: black;
  font-size: 18px;
  font-weight: 700;
  font-family: var(--secondary-font);
  text-decoration: none;
}

.nav-main-menu>li:nth-child(3).has-mega {
  --offset: -690px;
}

.nav-main-menu>li:nth-child(5).has-mega {
  --offset: -990px;
}

.nav-main-menu>li:nth-child(5).has-mega .mega-menu {
  padding-left: 990px;
}

.nav-main-menu>li:nth-child(6).has-mega {
  --offset: -1100px;
}

/* .nav-main-menu > li:nth-child(6).has-mega .mega-menu {
  padding-left: 690px;
} */

.nav-main-menu>li:nth-child(8).has-mega {
  --offset: -1390px;
}

.nav-main-menu>li:nth-child(8).has-mega .mega-menu {
  padding-left: 1390px;
}

.mega-column {
  min-width: 180px;
  gap: 5px;
  display: flex;
  flex-direction: column;
}

.mega-column ul {
  list-style: none;
}

.mega-column li {
  padding: 6px 0;
}

.mega-column ul li,
.mega-column ul li a {
  text-decoration: none;
  font-size: 16px;
  color: #111;
  cursor: pointer;
}

.mega-column ul li:hover,
.mega-column ul li a:hover {
  color: #d22027;
}

.mega-images {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.mega-images img {
  width: 180px;
  height: 210px;
  object-fit: cover;
  display: block;
  border-radius: 5px;
}

/* Hide implant list by default (desktop) */
#col3 {
  display: none;
}

.mega-menu:hover #col3 {
  display: block;
}



/* ================= MOBILE FIXES ONLY ================= */
.hamburger {
  display: none;
  cursor: pointer;
  font-size: 0;
  line-height: 1;
  color: transparent;
  user-select: none;
}

.hamburger::before {
  content: "\2630";
  display: inline-block;
  font-size: 28px;
  line-height: 1;
  color: #111;
}

.site-header .logo1 {
  display: none;
}

.mega-column h4 {
  display: none;
}

@media (min-width: 1025px) {
  .has-mega::after {
    content: "";
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: 8px;
  }

  #unique:hover+#col3 {
    display: block;
  }
}

@media (min-width: 1025px) {

  #col3 {
    display: none;
  }

  .mega-menu:has(#unique:hover) #col3,
  .mega-menu:has(#col3:hover) #col3 {
    display: block;
  }

}

@media (max-width: 767px) {
  body.nav-open {
    overflow: hidden;
  }

  .hamburger {
    display: block;
    padding: 15px 24px 15px 10px;
    line-height: 1;
  }

  .site-header .logo {
    display: none;
  }

  .site-header .logo1 {
    display: inline-flex;
    padding: 0;
    margin-left: 12px;
    margin-bottom: 0;
    align-items: center;
  }

  .nav-main-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    transform: translateX(-100%);
    transition: 0.3s ease;
    z-index: 10001;
    padding: 68px 0 14px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .nav-main-menu.active {
    transform: translateX(0);
  }

  .nav-main-menu > li {
    width: 100%;
    padding: 0;
  }

  .nav-main-menu > li > a {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 40px;
    padding: 0 14px;
    font-size: 14px;
    line-height: 1.25;
    white-space: nowrap;
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-main-menu > li.has-mega {
    position: relative;
    width: 100%;
    min-height: 40px;
    padding: 9px 36px 9px 14px;
    font-size: 14px;
    line-height: 1.25;
    white-space: nowrap;
    border-bottom: 1px solid #f0f0f0;
    --offset: 0px !important;
  }

  .nav-main-menu > li.has-mega > i {
    position: absolute;
    right: 14px;
    top: 13px;
    font-size: 12px;
    transition: transform 0.25s ease;
  }

  .nav-main-menu > li.has-mega.open > i {
    transform: rotate(180deg);
  }

  /*  MOBILE MEGA MENU VISIBILITY */
  .has-mega .mega-menu {
    position: static;
    width: 100%;
    background: #fafafa;
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 8px !important;
    border: 0 solid #ececec;
    border-radius: 10px;
    margin: 0;
    left: 0 !important;
    transform: none !important;
    margin-left: 0 !important;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow: hidden;
    transition: max-height 0.28s ease, opacity 0.2s ease, margin 0.2s ease,
      border-width 0.2s ease, padding 0.2s ease;
  }

  .has-mega.open .mega-menu {
    position: static;
    width: 100%;
    max-width: 100%;
    background-color: #fafafa;
    z-index: auto;
    max-height: 1200px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    gap: 4px;
    padding: 2px 8px !important;
    border-width: 1px;
    margin: 4px 0 6px;
    overflow: hidden;
  }

  .has-mega.open {
    padding-bottom: 2px;
  }

  .has-mega:hover .mega-menu {
    margin-left: 0 !important;
  }

  /* Reset desktop mega-menu custom left paddings on mobile */
  .nav-main-menu > li:nth-child(5).has-mega .mega-menu,
  .nav-main-menu > li:nth-child(8).has-mega .mega-menu,
  .mega-regenerative .mega-menu,
  .mega-resources .mega-menu {
    width: 100% !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    margin-left: 0 !important;
  }

  .has-mega.open .mega-column {
    min-width: 100%;
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .has-mega.open .mega-column ul {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .has-mega.open .mega-column ul li {
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .has-mega.open .mega-column ul li a {
    width: 100%;
    font-size: 12.5px;
    line-height: 1.25;
    padding: 3px 0 3px 2px;
    text-transform: none;
    display: block;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .has-mega.open #unique > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-right: 2px;
  }

  .has-mega.open #unique {
    width: 100%;
  }

  .mega-dental.open.col3-open .mega-menu {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    column-gap: 8px;
  }

  .mega-dental.open.col3-open .column-2 {
    grid-column: 1;
  }

  .mega-dental.open.col3-open #col3 {
    grid-column: 2;
    margin-top: 0;
  }

  .has-mega.open #unique > a i {
    margin-left: auto;
    flex-shrink: 0;
    font-size: 11px;
  }

  .has-mega.open .mega-column.column-3 ul li a {
    padding-left: 4px;
  }

  .mega-images {
    display: none !important;
  }

  #col3 {
    display: block;
    border-left: 2px solid var(--red-color);
    padding-left: 8px;
    margin-left: 0;
    margin-top: 4px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    max-width: 100%;
    transform: translateY(-4px);
    transition: max-height 0.3s ease, opacity 0.25s ease, transform 0.25s ease;
  }

  #col3 ul,
  #col3 ul li,
  #col3 ul li a {
    width: 100%;
    max-width: 100%;
    word-break: break-word;
  }

  .has-mega {
    --offset: 0px;
  }

  /* .has-mega:hover .mega-menu {
          margin-left: 0px;
        } */
}


/* --=================== */

@media (min-width: 768px) and (max-width: 1024px) {
 body.nav-open {
    overflow: hidden;
  }

  .hamburger {
    display: block;
    padding: 15px 24px 15px 10px;
    line-height: 1;
  }

  .site-header .logo {
    display: none;
  }

  .site-header .logo1 {
    display: inline-flex;
    padding: 0;
    margin-left: 12px;
    margin-bottom: 0;
    align-items: center;
  }

  .nav-main-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    transform: translateX(-100%);
    transition: 0.3s ease;
    z-index: 10001;
    padding: 68px 0 14px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .nav-main-menu.active {
    transform: translateX(0);
  }

  .nav-main-menu > li {
    width: 100%;
    padding: 0;
  }

  .nav-main-menu > li > a {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 40px;
    padding: 0 14px;
    font-size: 14px;
    line-height: 1.25;
    white-space: nowrap;
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-main-menu > li.has-mega {
    position: relative;
    width: 100%;
    min-height: 40px;
    padding: 9px 36px 9px 14px;
    font-size: 14px;
    line-height: 1.25;
    white-space: nowrap;
    border-bottom: 1px solid #f0f0f0;
    --offset: 0px !important;
  }

  .nav-main-menu > li.has-mega > i {
    position: absolute;
    right: 14px;
    top: 13px;
    font-size: 12px;
    transition: transform 0.25s ease;
  }

  .nav-main-menu > li.has-mega.open > i {
    transform: rotate(180deg);
  }

  
  .has-mega .mega-menu {
    position: static;
    width: 100%;
    background: #fafafa;
    display: none;
    grid-template-columns: 2fr;
    gap: 0;
    padding: 0 8px !important;
    border: 0 solid #ececec;
    border-radius: 10px;
    margin: 0;
    left: 0 !important;
    transform: none !important;
    margin-left: 0 !important;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: auto;
    overflow: hidden;
    transition: max-height 0.28s ease, opacity 0.2s ease, margin 0.2s ease,
      border-width 0.2s ease, padding 0.2s ease;
  }

  .has-mega.open .mega-menu {
    position: static;
    width: 100%;
    max-width: 100%;
    background-color: #fafafa;
    z-index: auto;
    max-height: 1400px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    gap: 4px;
    padding: 2px 8px !important;
    border-width: 1px;
    margin: 4px 0 6px;
    overflow: hidden;
  }

  .has-mega.open {
    padding-bottom: 2px;
    
  }

  .has-mega:hover .mega-menu {
    margin-left: 0 !important;
  }

  /* Reset desktop mega-menu custom left paddings on mobile */
  .nav-main-menu > li:nth-child(5).has-mega .mega-menu,
  .nav-main-menu > li:nth-child(8).has-mega .mega-menu,
  .mega-regenerative .mega-menu,
  .mega-resources .mega-menu {
    width: 100% !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    margin-left: 0 !important;
  }

  .has-mega.open .mega-column {
    min-width: 100%;
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .has-mega.open .mega-column ul {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .has-mega.open .mega-column ul li {
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .has-mega.open .mega-column ul li a {
    width: 100%;
    font-size: 12.5px;
    line-height: 1.25;
    padding: 3px 0 3px 2px;
    text-transform: none;
    /* display: block; */
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .has-mega.open #unique > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-right: 2px;
  }

  .has-mega.open #unique {
    width: 100%;
  }

  .mega-dental.open.col3-open .mega-menu {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    column-gap: 8px;
  }

  .mega-dental.open.col3-open .column-2 {
    grid-column: 1;
  }

  .mega-dental.open.col3-open #col3 {
    grid-column: 2;
    margin-top: 0;
  }
  .mega-menu a {
  pointer-events: auto !important;
}

  .has-mega.open #unique > a i {
    margin-left: auto;
    flex-shrink: 0;
    font-size: 11px;
  }

  .has-mega.open .mega-column.column-3 ul li a {
    padding-left: 4px;
  }

  .mega-images {
    display: none !important;
  }

  #col3 {
    display: block;
    border-left: 2px solid var(--red-color);
    padding-left: 8px;
    margin-left: 0;
    margin-top: 4px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    max-width: 100%;
    transform: translateY(-4px);
    transition: max-height 0.3s ease, opacity 0.25s ease, transform 0.25s ease;
  }

  #col3 ul,
  #col3 ul li,
  #col3 ul li a {
    width: 100%;
    max-width: 100%;
    word-break: break-word;
  }

  .has-mega {
    --offset: 0px;
  }

  .has-mega.open .mega-column ul li a {
  
  cursor: pointer;
}

  /* .has-mega:hover .mega-menu {
          margin-left: 0px;
        } */
}


/* ================= TABLET VIEW ONLY ================= */
/* @media (min-width: 768px) and (max-width: 1024px) {

 
  .nav-container {
    width: 100%;
    padding: 0 20px;
  }

  .site-header .logo {
    margin-left: 10px;
    margin-bottom: 10px;
  }

  .site-header .logo img {
    width: 130px;
  }


  .nav-main-menu {
    gap: 12px;
  }

  .nav-main-menu li {
    font-size: 15px;
    white-space: nowrap;
  }

 
  .has-mega .mega-menu {
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 30px 40px;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

 
  .has-mega {
    --offset: 0px;
  }

  .has-mega:hover .mega-menu {
    margin-left: 0;
  }


  .nav-main-menu>li:nth-child(2).has-mega,
  .nav-main-menu>li:nth-child(4).has-mega,
  .nav-main-menu>li:nth-child(5).has-mega {
    --offset: 0px;
  }


  .mega-column {
    min-width: unset;
  }

  .mega-column ul li,
  .mega-column ul li a {
    font-size: 14px;
  }


  .mega-images img {
    width: 140px;
    height: 160px;
    object-fit: cover;
  }

  
  .hamburger {
    display: none;
  }
}


#col3 {
  display: none;
}


#col3.active {
  display: block;
} */

@media (max-width: 767px) {
  #col3.active {
    max-height: 640px;
    opacity: 1;
    transform: translateY(0);
  }
}




/* --- footer --- */


/* ---------- */

/* FOOTER */
.about-footer {
  padding: 60px 20px;
  max-width: 1400px;
  margin: auto;
}

/* TOP */
.about-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.about-footer-title p {
  color: #ccc;
  font-size: 40px;
  font-weight: 600;
}

.about-footer-title h2 {
  font-size: 2rem;
  color: #c81616;
  font-size: 60px;
   letter-spacing: 0cap;

}

/* SUBSCRIBE */
.about-subscribe-box {
  display: flex;
  background: transparent;
  border-radius: 30px;
  overflow: hidden;
  border: 3px solid white;
}

.about-subscribe-box input {
  padding: 15px 20px;
  outline: none;
  background: transparent;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  width: 420px;
}

.about-subscribe-box button {
  padding: 15px 25px;
  background: #c81616;
  color: #fff;
  cursor: pointer;
  border: none;
  font-size: 18px;
  font-weight: 600;
}

.about-subscribe-box .subsc {
  padding: 15px 25px;
  background: #c81616;
  color: #fff;
  cursor: pointer;
  border: none;
  font-size: 18px;
  font-weight: 600;
}

/* LINE */
hr {
  border: 0;
  height: 1px;
  background: #222;
  margin: 40px 0;
}

/* CONTENT */
.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* COLUMNS */
.footer-col h4 {
  margin-bottom: 35px;
  font-size: 30px;
  font-weight: 600;
  color: #c81616;
}

.footer-col ul {
  list-style: none;
}

.footer-col li a {
  margin-bottom: 15px;
  color: #ccc;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.8;
}

.footer-col li a:hover {
  color: #c81616;
}

/* ADDRESS */
.address p {
  font-size: 17px;
  font-weight: 500;
  color: #ccc;
  margin-bottom: 8px;
}

.address .he-red {
  color: #c81616;
  margin-top: 10px;
  font-size: 20px;
  font-weight: 500;
}

.contact {
  margin-top: 10px;
  color: #ccc;
  font-weight: 500;
}

.contact span {
  color: #c81616;
  font-size: 20px;
}

/* LOGO + MAP */
.logo-map .logo {
  width: 140px;
  margin-bottom: 20px;
}

.map-box {
  background: #ddd;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  border-radius: 10px;
}

iframe {
  width: 350px;
  height: 200px;
  border-radius: 10px;

}

/* RESPONSIVE */
@media (max-width: 900px) {
  .about-footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .about-subscribe-box {
    width: 100%;
    max-width: 520px;
  }

  .about-subscribe-box input {
    width: 100%;
    min-width: 0;
    font-size: 16px;
  }

  .about-subscribe-box button,
  .about-subscribe-box .subsc {
    white-space: nowrap;
    font-size: 16px;
    padding-inline: 18px;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .about-footer-title h2 {
    font-size: 38px;
    padding-bottom: 20px;
  }
}

@media (max-width: 600px) {
  .about-subscribe-box {
    flex-direction: column;
    border-radius: 18px;
  }

  .about-subscribe-box input {
    width: 100%;
    padding: 14px 16px;
  }

  .about-subscribe-box button,
  .about-subscribe-box .subsc {
    width: 100%;
    padding: 13px 16px;
    text-align: center;
  }
}
