/* Global CSS */
body {
  margin: 0;
  padding: 0;
}

/* Section 1 CSS */
nav .navbar-nav li a{
  font-weight: bold;
  font-size:150%;
  color: white !important;
}

.nav-footer {
  font-weight: bold;
  font-size:110%;
}

.navbar-brand {
  font-size:150%;
  font-weight:bold;
  font-family: "Poppins", sans-serif !important;
}

.navbar {
  background-color:#196ca6 !important;
  border-radius:0 !important;
}

.custom-outline:focus, .custom-outline.focus, .custom-outline:hover {
  outline: 3px solid white;
}

.opaque-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #707070; /* White opaque layer */
  opacity: .7;
}

@media screen and (max-width: 1200px) {
  .navbar-brand {
    font-size:120%;
  }
}

@media screen and (max-width: 600px) {
  .navbar-brand {
    font-size: clamp(0.75rem, 3.8vw, 1.2rem);
    margin-left: 0.5rem !important;
    max-width: calc(100% - 5rem);
    white-space: normal;
    line-height: 1.15;
  }
}

@media screen and (max-width: 349px) {
  .navbar-brand {
    font-size:100%;
    transform:translateX(-5%)
  }
}

@media screen and (max-width: 310px) {
  .navbar-brand {
    font-size:80%;
  }
}

/* Section 2 CSS */
.s2wrapper {
  max-width: 1100px;
  width: 80%;
  position: relative;
  margin: auto;
  margin-top: -1%;
}

.s2wrapper i {
  top: 50%;
  height: 50px;
  width: 50px;
  cursor: pointer;
  font-size: 1.25rem;
  position: absolute;
  text-align: center;
  line-height: 50px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.23);
  transform: translateY(-50%);
  transition: transform 0.1s linear;
  z-index: 1;
}

.s2wrapper i:active {
  transform: translateY(-50%) scale(0.85);
}

.s2wrapper i#s2left {
  left: -2.5%;
}

.s2wrapper i#s2right {
  right: -2.5%;
}

.s2wrapper .s2carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(100% / 3);
  overflow-x:auto;
  scroll-snap-type: x mandatory;
  gap: 18px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  margin-bottom: 30px;
  margin-top: 50px;
  padding-inline-start:0;
  align-items: center;
}

.s2carousel::-webkit-scrollbar {
  display: none;
}

.s2carousel.no-transition {
  scroll-behavior: auto;
}

.s2carousel.dragging {
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.s2carousel.dragging .s2card {
  cursor: grab;
  user-select: none;
}

.s2carousel :where(.s2card, .s2img) {
  display: flex;
  justify-content: center;
  align-items: center;
}

.s2carousel .s2card {
  scroll-snap-align: start;
  height: 100%;
  width:90%;
  list-style: none;
  background: #fff;
  cursor: pointer;
  padding-bottom: 10px;
  flex-direction: column;
  border-radius: 8px;
  border: 1px solid #b0b1b7;
}

.s2carousel .s2card .s2img {
  height: 100%;
  width:100%;
  margin-top: 5%;
}

.s2card .s2img img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  border: 4px solid #fff;
}

.s2carousel .s2card h2 {
  font-weight: 500;
  font-size: 1.5rem !important;
  padding:2%;
  align-items: center;
  text-align: center;
  font-family: "Poppins", sans-serif;
}

.s2carousel .s2card span {
  color: #6a6d78;
  font-size: 1.31rem;
  margin-bottom: 2px;
}

@media screen and (max-width: 1299px) {
  .s2wrapper .s2carousel {
    grid-auto-columns: calc(100% / 2);
  }
  .s2wrapper i#s2left {
    left: -2.5%;
  }
  .s2wrapper i#s2right {
    right: 0%;
  }
}

@media screen and (max-width: 900px) {
  .s2wrapper .s2carousel {
    grid-auto-columns: calc(100% / 2);
  }
}

@media screen and (max-width: 600px) {
  .s2wrapper .s2carousel {
    grid-auto-columns: 100%;
    align-items: center;
    transform:translateX(4%);
  }
}

/* Section 4 CSS */
.row .form-textarea {
  height: 100%;
}

.form-textarea textarea {
  resize: none;
  height: 100%;
  min-height:100px;
}

.btnbg {
  background-color:#196ca6 !important;
}

.custom-blue {
  color:#196ca6 !important;
}

.custom-black-outline:focus, .custom-black-outline.focus, .custom-black-outline:hover {
  outline: 3px solid black;
  box-shadow:none !important;
}

@media screen and (max-width: 765px) {
  .form-textarea textarea {
    height: 150%;
  }
}

.display-7 {
    font-size: calc(1.1rem + 1.5vw);
    font-weight: 300;
    line-height: 1.2;
}
