:root {
  --blue: #080053;
  --lightblue: #1800f3;
  --black: #000;
  --white: #fff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}

.navbar {
  background: var(--black);
  height: 65px;
  width: 100%;
  padding: 0.5rem calc((100w - 1200px) / 2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  z-index: 999;
}

.navbar__phone {
  color: var(--white);
  font-size: 1.5rem;
  padding: 0rem 1rem;
  z-index: 999;
}

@media screen and (max-width: 768px) {
  .navbar__phone {
    display: none;
  }
}

.navbar__logo {
  color: var(--white);
  text-decoration: none;
  padding-left: 1rem;
  font-size: 1.8rem;
  z-index: 999;
}

.navbar__link {
  color: var(--white);
  text-decoration: none;
  padding: 0rem 1rem;
  z-index: 999;
}

.navbar__link:hover {
  color: var(--lightblue);
}

.navbar__altlink {
  color: var(--white);
  text-decoration: none;
  padding: 0rem 1rem;
  z-index: 1;
}

.navbar__altlink:hover {
  font-size: 1.5rem;
  color: yellow;
}
@media screen and (max-width: 768px) {
  body.active {
    overflow-y: hidden;
    overflow-x: hidden;
  }
  .navbar__link,
  .navbar__altlink {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .navbar__menu {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 100px);
    position: absolute;
    width: 100%;
    top: -1000px;
  }

  .navbar__menu.active {
    top: 100%;
    opacity: 1;
    z-index: 99;
    height: 100vh;
    font-size: 1.5rem;
    background: var(--black);
  }

  .navbar__toggle .bar {
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background: var(--white);
    display: block;
    cursor: pointer;
  }

  #mobile-menu {
    position: absolute;
    top: 15%;
    right: 5%;
    transform: translate(5%, 20%);
  }

  #mobile-menu.is-active .bar:nth-child(2) {
    opacity: 0;
  }

  #mobile-menu.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  #mobile-menu.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* Hero Section */
.hero {
  background: url("../IMG/justice.jpg");
  height: 100vh;
  background-position: center;
  background-size: cover;
  padding: 0.5rem calc((100w - 1200px) / 2);
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.hero__content {
  color: var(--white);
  padding: 3rem 1 rem;
  line-height: 1;
}

.hero__content h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.hero__content p {
  font-size: clamp(1rem, 4vw, 2.5rem);
  margin-bottom: 3rem;
}

.button {
  padding: 1.5rem 3rem;
  border: none;
  background: var(--blue);
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  outline: none;
  transition: 0.3s ease;
  text-decoration: none;
  border-radius: 4px;
}

.button:hover {
  background: var(--lightblue);
  color: var(--white);
}

.altbutton {
  padding: 1.5rem 3rem;
  border: none;
  background: var(--blue);
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  outline: none;
  transition: 0.3s ease;
  text-decoration: none;
  border-radius: 4px;
  display: block;
  margin: 0 auto;
}

.altbutton:hover {
  background: var(--lightblue);
  color: var(--white);
}

/* Secondary Hero Section */
.secondaryhero {
  background: url("../IMG/bannerfixed.jpg");
  height: 60vh;
  background-position: center;
  background-size: cover;
  padding: 0.5rem calc((100w - 1200px) / 2);
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.secondaryhero__content {
  color: var(--white);
  padding: 3rem 1 rem;
  line-height: 1;
}

.secondaryhero__content h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.secondaryhero__content p {
  font-size: clamp(1rem, 4vw, 2.5rem);
  margin-bottom: 3rem;
}

/* Contact Hero Section */
.contacthero {
  background: url("../IMG/contactbanner.jpg");
  height: 40vh;
  background-position: center;
  background-size: cover;
  padding: 0.5rem calc((100w - 1200px) / 2);
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.contacthero__content {
  color: var(--white);
  padding: 3rem 1 rem;
  line-height: 1;
}

.contacthero__content h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  text-transform: uppercase;
}

/* Slider */

.slider-container {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}
.slider {
  position: absolute;
  width: 500%;
  height: 100%;
  left: 0;
  top: 0;
  animation: slide 15s infinite;
}
.slide {
  position: relative;
  width: 20%;
  height: 100%;
  float: left;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
}
@keyframes slide {
  0% {
    left: 0;
  }
  20% {
    left: 0;
  }
  25% {
    left: -100%;
  }
  45% {
    left: -100%;
  }
  50% {
    left: -200%;
  }
  70% {
    left: -200%;
  }
  75% {
    left: -300%;
  }
  95% {
    left: -300%;
  }
  100% {
    left: -400%;
  }
}

/* Why Us Section */
.services {
  padding: 8rem calc(100vw - 12oopx) / 2;
}

.services__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 1rem;
}

.services__img {
  width: 100%;
  height: 100%;
}

.topline {
  color: var(--blue);
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.services__heading {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 6vw, 3rem);
}

.services__features {
  list-style: none;
}

.services__feature {
  margin-bottom: 1.5rem;
  font-size: clamp(1rem, 5vw, 1.2rem);
}

.row {
  margin-top: 5;
  display: flex;
  justify-content: space-between;
}
@media (max-width: 700px) {
  .row {
    flex-direction: column;
  }
}

.facilities {
  width: 100%;
  margin: auto;
  text-align: center;
  padding-top: 100px;
  background: #000;
}

.facilities-col {
  flex-basis: 31%;
  border-radius: 10px;
  margin-bottom: 5%;
  text-align: left;
}

.facilities-col img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

span {
  padding: 0;
  color: #fff;
}

.facilities-col P {
  padding: 0;
  color: #fff;
}

.facilities-col h3 {
  margin-top: 16px;
  margin-bottom: 15px;
  text-align: left;
  color: #fff;
}

@media screen and (max-width: 768px) {
  .services__container {
    grid-template-columns: 1fr;
  }
}

/* Services Section */
.memberships {
  background: var(--black);
  color: var(--white);
  padding: 6rem calc((1oovw - 1100px) / 2);
  text-align: center;
}

.memberships h1 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 3rem);
  padding: 0 1rem;
}

.membership__desc {
  margin-bottom: 3rem;
  font-size: clamp(1rem, 3vw, 1.5rem);
  padding: 1rem;
}

.membership__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem;
}

.membership__card {
  padding: 2rem;
  min-height: 650px;
  width: 450px;
  background: var(--white);
  color: var(--black);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex;
}

.membership__card:hover {
  cursor: pointer;
  transform: scale(1.03);
  filter: drop-shadow(6px 6px 2px var(--lightblue));
  filter: drop-shadow(0 0 0.75rem blue);
}

.membership__perks {
  min-height: 150px;
}

.membership__card p {
  margin-bottom: 1rem;
}

.membership__card img {
  width: 230px;
  height: 230px;
  text-align: center;
  margin: 10px auto;
  display: block;
  border-radius: 50%;
  filter: drop-shadow(6px 6px 4px #000);
}

.membership__card h3 {
  font-size: clamp(1rem, 5vw, 2rem);
  margin-bottom: 2rem;
}

@media screen and (max-width: 1100px) {
  .membership__wrapper {
    flex-direction: column;
    align-items: center;
  }

  .membership__card {
    width: 90%;
    margin-bottom: 2rem;
  }
}

/* Team Section */
.team {
  padding: 8rem calc((100vw - 1100px) / 2);
}

.altteam {
  padding: 8rem calc((100vw - 1100px) / 2);
  background-color: var(--black);
}

.team__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(autom 350px);
}

.altteam__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(autom 350px);
}

.team__card {
  margin: 1rem;
  border-radius: 10px;
  position: relative;
}

.altteam__card {
  margin: 1rem;
  border-radius: 10px;
  position: relative;
}

.team__text {
  padding: 1rem;
}

.altteam__text {
  padding: 1rem;
}

.team__text h1 {
  margin-bottom: 1rem;
  font-size: 3rem;
}

.altteam__text h1 {
  margin-bottom: 1rem;
  font-size: 3rem;
  color: var(--white);
}

.team__desc {
  font-size: clamp(1rem, 3vw, 1.3rem);
  line-height: 1.4;
}

.altteam__desc {
  font-size: clamp(1rem, 3vw, 1.3rem);
  line-height: 1.4;
  color: var(--white);
}

.team__card p {
  position: absolute;
  bottom: 30px;
  color: var(--white);
  left: 25px;
  font-size: 3rem;
}

.altteam__card p {
  position: absolute;
  bottom: 30px;
  color: var(--white);
  left: 25px;
  font-size: 3rem;
}

.team__img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  filter: drop-shadow(8px 8px 4px #000);
}

.altteam__img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

@media screen and (max-width: 768px) {
  .team__wrapper,
  .altteam__wrapper {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
}

/* Container */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 5%;
}

#fs-frm {
  display: flex;
  flex-direction: column;
  border: none;
}

#fs-frm textarea {
  font-size: 1.4rem;
}

#fs-frm label,
#fs-frm input,
#fs-frm textarea {
  margin-bottom: 10px;
  resize: none;
}

/* Form */
form {
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
  padding: 40px;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

label {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 0px;
  display: block;
}

input,
textarea {
  display: block;
  margin-bottom: 30px;
  width: 100%;
  padding: 10px;
  font-size: 17px;
  border: none;
  border-bottom: 0px solid #c8ccd4;
}

input:focus,
textarea:focus {
  outline: none;
}

input[type="submit"] {
  background-color: var(--blue);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

input[type="submit"]:hover {
  background-color: var(--lightblue);
}

/* Link */
a {
  color: #0080ff;
}

a:hover {
  color: #0059b3;
}

/* Style inputs */
input[type="text"],
input[type="email"],
select {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 1.4rem;
}

/* Style the submit button */
input[type="submit"],
input[type="reset"] {
  width: 100%;
  background-color: #080053;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  form {
    padding: 20px;
  }
}

/* Footer Section */
.footer__container {
  background-color: #000;
  padding: 5rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#footer__logo {
  color: #fff;
  display: flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  font-size: 2rem;
}

.footer__links {
  width: 100%;
  max-width: 1000px;
  display: flex;
  justify-content: center;
  color: #fff;
}

.footer__link--wrapper {
  display: flex;
}

.footer__link--items {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 16px;
  text-align: left;
  width: 160px;
  box-sizing: border-box;
}

.footer__link--items h2 {
  margin-bottom: 16px;
}

.footer__link--items > h2 {
  color: #fff;
}

.footer__link--items a {
  color: #fff;
  text-decoration: none;
  margin-bottom: 0.5rem;
}

.footer__link--items a:hover {
  color: #e9e9e9;
  transition: 0.3 ease-out;
}

.social__media {
  max-width: 1000px;
  width: 100%;
}

.social__media--wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1000px;
  margin: 40px auto 0 auto;
}

.website__rights {
  color: #fff;
}

@media screen and (max-width: 820px) {
  .footer__linls {
    padding-top: 2rem;
  }

  #footer__logo {
    margin-bottom: 2rem;
  }

  .website__rights {
    margin-bottom: 2rem;
  }

  .footer__link--wrapper {
    flex-direction: column;
  }

  .social__media--wrap {
    flex-direction: column;
  }
}

@media screen and (max-width: 480px) {
  .footer__link--items {
    margin: 0;
    padding: 10px;
    width: 100%;
  }
}

/* Chatbot Section */
.chat-bar-collapsible {
  position: fixed;
  bottom: 0;
  right: 50px;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
  z-index: 999;
}

.collapsible {
  background-color: rgb(82, 151, 255);
  color: white;
  cursor: pointer;
  padding: 18px;
  width: 350px;
  text-align: left;
  outline: none;
  font-size: 18px;
  border-radius: 10px 10px 0px 0px;
  border: 3px solid white;
  border-bottom: none;
}

.content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  background-color: #f1f1f1;
}

.full-chat-block {
  width: 350px;
  background: white;
  text-align: center;
  overflow: auto;
  scrollbar-width: none;
  height: max-content;
  transition: max-height 0.2s ease-out;
}

.outer-container {
  min-height: 500px;
  bottom: 0%;
  position: relative;
}

.chat-container {
  max-height: 500px;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  scroll-behavior: smooth;
  hyphens: auto;
}

.chat-container::-webkit-scrollbar {
  display: none;
}

.chat-bar-input-block {
  display: flex;
  float: left;
  box-sizing: border-box;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  background-color: rgb(235, 235, 235);
  border-radius: 10px 10px 0px 0px;
  padding: 10px 0px 10px 10px;
}

.chat-bar-icons {
  display: flex;
  justify-content: space-evenly;
  box-sizing: border-box;
  width: 25%;
  float: right;
  font-size: 20px;
}

#chat-icon:hover {
  opacity: 0.7;
}

/* Chat bubbles */

#userInput {
  width: 75%;
}

.input-box {
  float: left;
  border: none;
  box-sizing: border-box;
  width: 100%;
  border-radius: 10px;
  padding: 10px;
  font-size: 16px;
  color: #000;
  background-color: white;
  outline: none;
}

.userText {
  color: white;
  font-family: Helvetica;
  font-size: 16px;
  font-weight: normal;
  text-align: right;
  clear: both;
}

.userText span {
  line-height: 1.5em;
  display: inline-block;
  background: #335f92;
  padding: 10px;
  border-radius: 8px;
  border-bottom-right-radius: 2px;
  max-width: 80%;
  margin-right: 10px;
  animation: floatup 0.5s forwards;
}

.botText {
  color: #000;
  font-family: Helvetica;
  font-weight: normal;
  font-size: 16px;
  text-align: left;
}

.botText span {
  line-height: 1.5em;
  display: inline-block;
  background: #202020;
  padding: 10px;
  border-radius: 8px;
  border-bottom-left-radius: 2px;
  max-width: 80%;
  margin-left: 10px;
  animation: floatup 0.5s forwards;
}

@keyframes floatup {
  from {
    transform: translateY(14px);
    opacity: 0;
  }
  to {
    transform: translateY(0px);
    opacity: 1;
  }
}

@media screen and (max-width: 600px) {
  .full-chat-block {
    width: 100%;
    border-radius: 0px;
  }
  .chat-bar-collapsible {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
  }
  .collapsible {
    width: 100%;
    border: 0px;
    border-top: 3px solid white;
    border-radius: 0px;
  }
}

/* Blog */
#featured-articles,
#quick-reads,
#older-posts {
  width: 90%;
  margin: 0 auto;
  margin-top: 50px;
}

h2 {
  text-align: center;
  font-size: 30px;
}

.article {
  margin-bottom: 30px;
  border: 1px solid #000000;
  padding: 20px;
  border-radius: 4px;
}

.article h3 {
  font-size: 26px;
}

.article p {
  font-size: 18px;
  line-height: 1.5;
}

.article a {
  display: block;
  text-align: center;
  margin-top: 10px;
  padding: 10px 20px;
  border: 1px solid #000000;
  background-color: #000000;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
}

.article a:hover {
  background-color: var(--blue);
  color: var(--white);
}

/* Blog Post */

.blog-post {
  width: 70%;
  margin: 0 auto;
  padding: 2rem;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.post-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.post-topic {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #888;
}

.post-meta {
  font-size: 1rem;
  color: #aaa;
  margin-bottom: 1rem;
}

.post-content {
  font-size: 1.2rem;
  line-height: 1.5;
  height: auto;
}
