@import url("https://fonts.googleapis.com/css2?family=Palatino&display=swap");

body {
  font-family: "Palatino", serif;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}

.navbar-transparent {
  background: transparent;
}

.navbar-nav > li > a {
  color: white;
  font-weight: 900;
}

.navbar-nav > li > a:hover {
  color: white;
}

.navbar-nav > li:hover {
  background-color: #5da27b;
  border-radius: 10px;
  color: white;
}

.navbar-nav > .active {
  background-color: #5da27b;
  border-radius: 10px;
}

.navbar-brand {
  font-family: "Allerta Stencil", sans-serif;
  color: #83ff00;
}

.navbar-brand:hover {
  color: black;
}

.navbar-nav {
  z-index: 1;
}

.nav-item {
  margin-left: 2px;
  margin-right: 2px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 600;
  color: #000;
  margin-bottom: 30px;
  text-align: center;
}

.post-box {
  background-color: #5da27b;
  border: 1px solid #ddd;
  padding: 20px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
  border-radius: 20px;
}

.post-box .meta {
  margin-bottom: 10px;
  font-size: 14px;
  color: black;
}

.post-box .post-date {
  margin-right: 10px;
}

.post-box .post-title {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 15px;
}

.post-box p {
  font-size: 16px;
  color: black;
  line-height: 1.5;
  margin-bottom: 15px;
}

.post-img img {
  width: 260px;
  height: 150px;
  border-radius: 10px;
  object-fit: cover;
}

.post-img2 img {
  width: 520px;
  height: 150px;
  border-radius: 10px;
  object-fit: cover;
}

#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  font-size: 24px;
  color: #000;
  background-color: #fff;
  padding: 10px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 9999;
}

#back-to-top:hover {
  color: #fff;
  background-color: #000;
  transition: background-color 0.2s ease-in-out;
}

#back-to-top i {
  font-size: inherit;
  line-height: inherit;
}

.pagination-outer {
  text-align: center;
}
.pagination {
  display: inline-flex;
  position: relative;
  border: 2px solid #333;
}
.pagination li a.page-link {
  color: #fff;
  background-color: #a25d84;
  font-size: 20px;
  font-weight: 500;
  line-height: 37px;
  height: 38px;
  width: 42px;
  padding: 0;
  margin: 0;
  border: none;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease 0s;
}
.pagination li:first-child a.page-link {
  border-radius: 2px 0 0 2px;
}
.pagination li:last-child a.page-link {
  border: none;
  border-radius: 0 2px 2px 0;
}
.pagination li a.page-link:hover,
.pagination li a.page-link:focus,
.pagination li.active a.page-link:hover,
.pagination li.active a.page-link {
  color: #fff;
  background: #5da27b;
  border-color: #333;
}
.pagination li a.page-link:before,
.pagination li a.page-link:after {
  content: "";
  background-color: #5da27b;
  height: 100%;
  width: 100%;
  opacity: 0;
  border-bottom: 2px solid #333;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  transition: all 0.4s ease 0s;
}
.pagination li a.page-link:after {
  background-color: #5da27b;
  height: 0;
  border: none;
}

.pagination li.active a.page-link:before,
.pagination li a.page-link:focus:before {
  opacity: 0;
}
.pagination li a.page-link:focus:after,
.pagination li.active a.page-link:after {
  opacity: 1;
  height: 100%;
}

.fab {
  font-size: 2rem;
}

@media (max-width: 992px) {
  .navbar-toggler {
    position: relative;
    top: -22px;
  }
  .navbar-brand .img2 {
    z-index: 1;
    position: relative;
    top: 5px !important;
    height: 90px;
    width: auto;
  }
  .navbar-brand .img1 {
    z-index: 1;
    position: relative;
    top: 5px !important;
    height: 90px;
    margin-left: 1rem !important;
    width: auto;
  }

  .navbar-collapse {
    position: fixed;
    top: 90px;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: #a25d84;
    padding: 10px;
    overflow-y: auto;
  }

  .navt1 {
    display: none;
  }

  .nav-item {
    margin-left: 0px;
    margin-right: 0px;
  }
  .navbar-nav .nav-link {
    padding-left: 15px !important;
  }
  .top140 {
    top: 140px !important;
  }
}
.mobile-intro {
  display: none;
}

@media (max-width: 769px) {
  .navbar-toggler {
    position: relative;
    top: -22px;
  }
  .hero-shot {
    display: none;
  }

  .navbar {
    max-width: 7696px;
  }
  .mobile-intro {
    display: block;
  }
}

@media (max-width: 500px) {
  .navbar-brand {
    margin-left: 1rem !important;
  }
}

@media (max-width: 376px) {
  .navbar-brand {
    margin-left: 10px !important;
  }
  .navbar-brand .img1 {
    margin-left: 10px !important;
  }

  .navbar-brand .img2 {
    height: 80px;
    width: 80px;
  }
  .navbar-brand .img1 {
    height: 80px;
    width: 110px;
  }
  .navbar-brand .img3 {
    height: 80px;
    width: 80px;
  }
  .navbar-brand .img4 {
    height: 80px;
    width: 110px;
  }
}

.card {
  border: none;
  background-color: #5da27b;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 20px;
  transition: all 0.2s ease-in-out;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
}

.card .img2 {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.card h3 {
  margin-top: 0;
  font-size: 24px;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 10px;
}

.card p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.card .published {
  font-size: 14px;
  font-style: italic;
  margin-bottom: 10px;
}

.card .publisher {
  font-size: 14px;
  color: #666;
}

.card a {
  display: inline-block;

  color: #fff;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.card a:hover {
  transform: scale(1.05);
}
.btn.hover {
  transition: transform 0.2s ease-in-out;
}

.btn.hover:hover {
  transform: scale(1.05);
}

div .list-group :hover {
  color: white;
}

.featurette-divider {
  margin: 5rem 0;
}

.featurette-heading {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.05rem;
}

.padleft {
  padding-left: 5%;
}
.padright {
  padding-right: 5%;
}

.hero-shot {
  background-image: url("../assets/stock-1.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 55vh;
  margin-bottom: 30px;
  position: relative;
}

.hero-text {
  color: #ffffff;
  left: 50%;
  padding: 15px;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.hero-text h1 {
  font-size: 3rem;
}

.hero-text p {
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.responsive-img {
  position: initial !important;
  height: calc(50vw) !important;
  max-height: 300px !important;
  max-width: 400px;
  display: block;
  margin: 0 auto;
  width: 100%;
}

.responsive-img2 {
  position: initial !important;
  height: calc(50vw) !important;
  max-height: 250px !important;
  max-width: 300px;
  display: block;
  margin: 0 auto;
}

.square-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}
.card-title {
  font-weight: 700;
  font-size: 26px !important;
}

.card-text {
  font-size: 20px !important;
}
