/* Common css part for this website */
html {
  font-size: 16px;
}

@media (max-width: 1200px) {
  html {
    font-size: 15px;
  }
}

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

@media (max-width: 768px) {
  html {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 12px;
  }
}

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

a {
  text-decoration: none;
  color: black;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

ol,
ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol {
  margin: 0;
  padding: 0;
}

input:focus {
  outline: none;
}

input,
select,
textarea {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 1.5625rem;
  font-size: 16px;
}

select {
  -webkit-appearance: menulist;
  appearance: menulist;
}

.w {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.6rem;
}

/* header part */
.header {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: #fff;
}

.header .w {
  max-width: 1200px;
  height: 120px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* .header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  z-index: -1;
} */

/* logo part */
.header .logo {
  width: 88px;
  height: 88px;
}

.header .logo h1 {
  width: 100%;
  height: 100%;
}

.header .logo a {
  overflow: hidden;
  display: block;
  width: 100%;
  height: 100%;
  background: url(../img/logo.png) no-repeat center/contain;
  text-indent: -999px;
}

/* navbar part */
.header .navbar {
  display: flex;
  flex: 1;
  justify-content: space-around;
  gap: 0.2rem;
  margin: 0 1.25rem;
  align-items: center;
}

.navbar .selection a {
  display: inline-block;
  padding: 12px 24px;
  color: black;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  text-align: center;
  font-size: 1.15rem;
}

.navbar .selection a,
.header .callusnow a {
  transition: 0.5s ease-in-out;
}

.navbar .selection a:hover,
.header .callusnow a:hover {
  background-color: #94d4d0;
  box-shadow: 0 4px 12px rgba(50, 100, 200, 0.3);
}

/* hamburger menu part */
.hamburger-menu-navbar {
  position: relative;
  display: flex;
  justify-content: center;
  height: 0;
  overflow: hidden;
  background-color: #f5f6f7;
  border-radius: .625rem;
  margin: 10px 0;
}

.hamburger-menu-navbar.active {
  height: 288px;
}

.hamburger-menu-navbar.active .ham-selection {
  position: absolute;
  font-size: 1.5rem;
  --y: 0px;
  animation: slideToPos 0.5s ease forwards;
  border-bottom: 1px solid black;
}

.ham-selection.active a {
  color: #26c9ff;
  border-bottom: 1px solid #26c9ff;
}

.hamburger-menu-navbar .ham-selection:nth-child(1) {
  --y: 40px;
}

.hamburger-menu-navbar .ham-selection:nth-child(2) {
  --y: 100px;
}

.hamburger-menu-navbar .ham-selection:nth-child(3) {
  --y: 160px;
}

.hamburger-menu-navbar .ham-selection:nth-child(4) {
  --y: 220px;
}

.hamburger-menu-navbar .ham-selection.active {
  background-color: #f4f6f7;
  color: #94d4d0;
}

@keyframes slideToPos {
  from {
    opacity: 0;
    transform: translateY(0);
  }

  to {
    opacity: 1;
    transform: translateY(var(--y));
  }
}

/* callus part with phone number */
.header .callusnow {
  height: auto;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}

.header .callusnow a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 200px;
  height: 49px;
  border-radius: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.header .callusnow img {
  width: 40px;
}

.header .callusnow:hover span {
  color: black;
}

.header .mobile-nav {
  display: none;
  height: 51px;
  width: 40px;
}

/* for tablets */
@media (max-width: 992px) {
  .header {
    padding: 0 1rem;
    justify-content: space-between;
  }

  .header .navbar {
    display: none;
  }

  .header .mobile-nav {
    display: flex;
  }
}

/* tablets with horzital / bigscreen cell phone */
@media (max-width: 768px) {
  .header {
    padding: 0 1rem;
    justify-content: space-between;
  }

  .header .w {
    height: 72px;
  }

  .header .logo {
    width: 52px;
    height: 52px;
  }

  .header .mobile-nav {
    width: 44px;
    height: 44px;
  }
}

/* small screen cell phone */
@media (max-width: 480px) {
  .header .w {
    height: 64px;
  }

  .header .logo {
    width: 80px;
    height: 80px;
  }

  .header .callusnow {
    display: none;
  }

}


/* footer part */
/* logo */
.footer {
  margin-top: 5rem;
  background-color: #CFE0FF;
  /* or #CFE0FF */
}

.footer .w {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 0;
}

.footer-logo {
  display: flex;
  justify-content: center;
}

.footer-logo img {
  width: 70%;
  max-width: 20rem;
  height: auto;
  object-fit: contain;
}

.footer .footer-ul-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 4rem;
  margin-bottom: 5rem;
  justify-items: center;
  width: 100%;
}

.footer-card img {
  display: block;
  width: 100%;
  max-width: 3.5rem;
  height: auto;
  margin: 0 auto;
}

.footer-card p {
  font-size: 0.9rem;
}

@media (max-width: 582px) {
  .footer .footer-ul-box {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}