html {
  font-size: 16px;
  /* 1rem = 16px */
}

body {
  font-size: 1rem;
  font-family: "Poppins", sans-serif;
  padding-top: 70px;
  /* 16px */
}

img {
  max-width: 100%;
}

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
}

.pd-y-50 {
  padding-top: 3.125rem;
  padding-bottom: 3.125rem;
}

._tem_grid_col_2 {
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 1.25rem;
}

.border-b-r-8 {
  border-radius: 0.5rem;
  border: 0.0625rem solid #e2e2e2;
}

.bgcolor-2 {
  background-color: rgba(93, 215, 255, 0.2);
}

.heading-blk {
  max-width: 80%;
  margin: auto;
  text-align: center;
  margin-bottom: 3.125rem;
}
.heading-blk h2 {
  font-size: 1.8rem;
  color: #000;
}
.heading-blk p {
  font-size: 0.875rem;
  color: #444;
  font-weight: 300;
}
.heading-blk .first-paragraph {
  margin-top: 1.5rem;
}

.navbar-brand {
  max-width: 120px;
}

.custom-menubar > li {
  margin: 0 0.5rem;
  padding: 0.625rem 0;
}
.custom-menubar > li a img {
  width: 2rem;
}
.custom-menubar > li .dropdown-menu {
  top: 100%;
  border-radius: 0px;
  min-width: 180px;
}
.custom-menubar > li .dropdown-menu li a:hover {
  padding-left: 1.125rem;
  transition: all linear 0.2s;
}
.custom-menubar > li:hover > ul {
  display: block;
}

.banner-carousel .slider-content {
  position: absolute;
  top: 50%;
  max-width: 620px;
  left: 126px;
  transform: translateY(-50%);
}
.banner-carousel .slider-content h2 {
  color: #fff;
  font-size: 42px;
  font-weight: 700;
  line-height: 50px;
}
.banner-carousel .owl-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0px;
  display: flex;
  justify-content: space-between;
}
.banner-carousel .owl-nav button.owl-prev {
  font-size: 10rem;
  color: #fff;
}
.banner-carousel .owl-nav button.owl-prev:hover {
  background: none;
}
.banner-carousel .owl-nav button.owl-next {
  font-size: 10rem;
  color: #fff;
}
.banner-carousel .owl-nav button.owl-next:hover {
  background: none;
}
.banner-carousel .owl-dots {
  position: absolute;
  bottom: 0;
  transform: translateY(-50%);
  left: 0;
  right: 0px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding: 0;
}

@media screen and (max-width: 768px) {
  .card-grid {
    gap: 3rem;
  }
}

.first-section .common-blk {
  box-shadow: 0 0 5px 2px rgba(204, 204, 204, 0.7);
  border-radius: 4px;
  position: relative;
  padding-top: 30px;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 10px;
}
.first-section .common-blk .icon {
  position: absolute;
  left: 0;
  right: 0;
  top: -35px;
}
.first-section .common-blk h4 {
  min-height: 40px;
}
.first-section .common-blk p {
  margin-bottom: 0;
}

.second-section {
  padding-top: 3.125rem;
}

.second-section .border-b-r-8 {
  border-color: rgba(93, 215, 255, 0.3);
}

.common-blk .icon {
  max-width: 2.5rem;
  margin: 0 auto 0.7rem;
}
.common-blk h4 {
  font-size: 1.125rem;
}
.common-blk p {
  font-size: 0.875rem;
  font-weight: 300;
}

.clientssay .item {
  box-shadow: 0 0 5px 2px rgba(204, 204, 204, 0.7);
  border-radius: 4px;
  padding: 8px;
  margin: 3px 5px;
}
.clientssay h2 {
  font-size: 1.125rem;
}
.clientssay p {
  font-size: 0.875rem;
  font-weight: 300;
  min-height: 60px;
}
.clientssay h3 {
  font-size: 0.825rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-style: italic;
  text-align: right;
}

.home-video {
  position: relative;
  width: 100%;
  height: calc(100vh - 70px);
  overflow: hidden;
}

.home-video video {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
}

/* Fix video overlay centering and width */
.video-overlay {
  position: absolute;
  top: 77%;
  left: 20%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: left;
  padding: 16px;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.508);
  border-radius: 8px;
}

.video-overlay > h1 {
  font-size: 25px !important;
}

.video-overlay > p {
  font-size: 20px !important;
  margin-bottom: 0 !important;
}

@media screen and (max-width: 768px) {
  .video-overlay {
    left: 50%;
  }
}
.video-overlay h1 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.video-overlay p {
  font-size: 1rem;
}

._tem_grid_col_2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Prevent grid overflow */
.card-grid,
._tem_grid_col_2 {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
