body {
  font-family: Arial, Helvetica, sans-serif;
}
.navbar {
  display: flex;
  justify-content: space-between;
  border-bottom: solid 3px #019b9efd;
  padding: 5px;
}
.navLinks {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.textChanged {
  color: yellow;
  font-weight: bolder;
}

.textItalic {
  font-style: italic;
}
.link {
  padding: 10px;
  background-color: #019b9efd;
  margin: 3px;
  text-decoration: none;
  color: white;
  border-radius: 6px;
}
.link:hover,
.btnExplore:hover {
  color: #019b9efd;
  background-color: #f7fff7;
  font-weight: bold;
  border: solid 2px #4aad81;
}

#mainContainer {
  margin-top: 20px;
  display: flex;
  justify-content: space-evenly;
  gap: 20px;
  height: 371.25px;
}

.mainText {
  text-align: center;
  color: #019c9e;
  flex: 1;
  border: solid 2px #019c9e;
  white-space: pre-line;
  line-height: 1.4;
  font-family: sans-serif;
  margin-left: 15px;
}
.btnExplore {
  background:  #4aad81;
  border: none;
  color: white;
  padding: 10px;
  font-size: 20px;
  border-radius: 6px;
}
.btnExplore a {
  text-decoration: none;
  color: white;
}

.videoWrapper {
  position: relative;
  max-width: 660px;
  margin: auto;
}

.myVideo {
  width: 100%;
  height: auto;
  display: block;
}

.videoControls {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 10px;
  background: rgba(0, 0, 0, 0.4);
  padding: 5px 10px;
  border-radius: 6px;
}

#playPauseBtn, #muteBtn {
  background: none;
  border: none;
  font-size: 1.1rem;
  font-family: sans-serif; 
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  color: #fff; 
   cursor: pointer;
}




#aboutUsContainer {
  background:  #019c9e;
}
.aboutDescription {
  display: flex;
  justify-content: center;
}
.aboutUs {
  font-size: 22px;
  text-align: center;
  color: white;
  white-space: pre-line;
  padding: 5px;
  line-height: 2;
}

#servicesOffered {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

.ourServices,
.whoWeServe {
  border: solid 2px #019c9e;
  padding: 15px;
  font-size: 22px;
  border-radius: 8px;
  width: 500px;
}

h2 {
  color: #b67008;
  text-shadow: 1px 2px 0px#000000;
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
  font-size: 36px;
}

.serviceList,
.whoServedList {
  list-style: square;
  line-height: 2;
}

.whyUsSection {
  display: flex;
  flex-direction: column;
  position: relative;
  align-items: center;
  padding-top: 40px;
}

.whyUsList {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  list-style: none;
  gap: 10px;
  padding: 0;
  margin: 25px auto;
}

.whyUsItem {
  padding: 10px 14px;
  font-size: 19px;
  border: 2px solid green;
  margin: 3px;
  border-radius: 8px;
  background-color: #f7fff7;
}

.hippa {
  position: absolute;
  top: 17%;
  right: 22%;
  transform: rotate(-15deg);
  width: 150px;
}

#contactSection {
  font-family: Arial, Helvetica, sans-serif;
  color: #0d021e;
  margin-top: 20px;
  background: #019c9e;
  padding: 10px;
}

#contactSection h2 {
  color: white;
  margin-top: 25px;
  font-size: 26px;
}
.contactInfoRow {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 100%;
  padding: 20px;
  margin: 0 auto;
  text-align: left;
  line-height: 1.2;
}

.location,
.contacts,
.logoBox {
  flex: 1 1 250px;
  color: white;
}

.location p,
.contacts p {
  margin: 6px 0px 0px 20px;
  font-size: 1.3rem;
}

.location a,
.contacts a {
  color: #070113;
  text-decoration: none;
  
}

.location a:hover,
.contacts a:hover {
  color: #0800ff;
  text-decoration: underline;
}

.logoBox img {
  width: 170px;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
  display: block;
  margin: 0 auto;
}

footer {
  display: flex;
  justify-content: center;
}

@media all and (max-width: 900px) {
  .hippa {
    top: 10%;
    right: 10%;
    transform: rotate(-15deg);
  }
  .mainText {
    font-size: 16px;
    min-width: 200px;
    line-height: 1.2;
    margin-left: 5px;
    max-height: 355.5px;
  }
}

@media all and (max-width: 835px) {
  .mainText {
    font-size: 16px;
    min-width: 200px;
    line-height: 1.2;
    margin-left: 5px;
  }
  .aboutUs {
    font-size: 20px;
  }
  .ourServices,
  .whoWeServe {
    padding: 10px;
    font-size: 20px;
    width: 450px;
  }
  .hippa {
    top: 10%;
    right: 8%;
    transform: rotate(-15deg);
  }
}
@media all and (max-width: 780px) {
  .hippa {
    top: 10%;
    right: 6%;
    transform: rotate(-15deg);
  }
}

@media all and (max-width: 500px) {
  .ccmLogo {
    width: 110px;
    height: 40px;
  }

  .link {
    padding: 7px;
    margin: 3px;
    font-size: 14px;
  }

  #mainContainer {
    display: flex;
    flex-direction: column;
  }
  h1 {
    margin-top: 0;
  }

  h2 {
    color: #b67008;
    text-shadow: none;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    font-size: 24px;
  }
  .mainText {
    font-size: 14px;
  }

  .btnExplore {
    margin-bottom: 5px;
  }
  #aboutUsContainer {
    top: 130px;
    position: relative;
  }

  .aboutUs {
    font-size: 20px;
  }

  #servicesOffered {
    display: flex;
    flex-direction: column;
    position: relative;
    margin-top: 150px;
    gap: 10px;
  }
  .ourServices,
  .whoWeServe {
    padding: 10px;
    font-size: 20px;
    width: 90%;
    margin: auto;
  }
  .hippa {
    width: 100px;
    top: 10%;
    right: 5%;
    transform: rotate(-15deg);
  }
  .myVideo {
    width: 100%;
    height: auto;
    max-width: 660px;
    display: block;
    margin: 0 auto;
  }

  .whyUsItem {
    padding: 9px;
    font-size: 16px;
  }

  #contactSection {
    padding: 8px;
    justify-content: center;
  }

  #contactSection h2 {
    font-size: 24px;
  }
  .contactInfoRow {
    flex-direction: column;
    justify-content: center;
  }

  .location,
  .contacts,
  .logoBox {
    flex: none;
    text-align: center;
  }

  .location p,
  .contacts p {
    margin: 0px 0px 0px 10px;
    font-size: 1.2rem;
  }

  .location {
    order: 2;
  }
  .contacts {
    order: 1;
  }
  .logoBox {
    order: 3;
    width: 200px;
  }
}

@media all and (max-width: 414px) {
  .navbar {
    display: flex;
    flex-direction: column;
  }

  .ccmLogo {
    width: 110px;
    height: 40px;
  }

  .link {
    padding: 8px;
    margin: 2px;
    font-size: 15px;
    text-align: center;
  }

  h2 {
    font-size: 20px;
  }
  .mainText {
    font-size: 14px;
  }
  .btnExplore {
    padding: 6px;
  }

  #aboutUsContainer {
    top: 80px;
  }

  .aboutUs {
    font-size: 16px;
  }

  #servicesOffered {
    margin-top: 100px;
  }
  .ourServices,
  .whoWeServe {
    font-size: 18px;
  }
  .hippa {
    top: 9%;
    right: 3%;
  }

  .whyUsItem {
    padding: 9px;
    font-size: 16px;
  }

  #contactSection h2 {
    font-size: 22px;
  }
}

@media all and (max-width: 320px) {
  .link {
    padding: 3px;
    font-size: 14px;
  }

  #contactSection h2 {
    font-size: 18px;
  }
  .btnExplore {
    padding: 5px;
    font-size: 18px;
  }
}

@media all and (max-width: 170px) {
  .ccmLogo {
    width: 80px;
    height: 30px;
  }

  .link {
    padding: 2px;
    margin: 1px;
    font-size: 9px;
  }

  #mainContainer {
    display: flex;
    flex-direction: column;
    max-width: 95%;
    max-height: 120px;
    margin: 3px;
  }

  h2 {
    text-align: center;
    font-size: 16px;
    padding: 3px;
    margin: 3px;
  }
  .mainText {
    border: none;
    font-weight: lighter;
    text-shadow: none;
  }
  h1 {
    font-size: 12px;
    text-align: center;
  }

  .btnExplore {
    margin-bottom: 0;
    width: 90px;
    font-size: 12px;
  }
  #aboutUsContainer {
    top: 130px;
  }

  .videoControls {
    gap: 5px;
    padding: 5px;
  }

  .videoControls button {
    font-size: 0.5rem;
  }

  .aboutUs {
    font-size: 10px;
  }

  #servicesOffered {
    margin-top: 140px;
    max-width: 95;
  }
  .serviceList,
  .whoServedList {
    padding: 2px;
    margin-left: 10px;
  }
  .ourServices,
  .whoWeServe {
    padding: 1px;
    font-size: 18px;
    width: 100%;
    margin: 0;
    font-size: 10px;
    text-align: left;
  }
  .hippa {
    display: none;
  }

  .whyUsItem {
    padding: 3px;
    font-size: 12px;
  }

  #contactSection {
    padding: 5px;
    justify-content: center;
    width: 95%;
  }

  #contactSection h2 {
    font-size: 14px;
  }
  .contactInfoRow {
    gap: 20px;
    max-width: 140px;
    padding: 2px;
    margin: 0px;
    text-align: left;
    justify-content: flex-start;

    line-height: 1.2;
  }

  .location,
  .contacts,
  .logoBox {
    flex: 5px;
    text-align: left;
    align-self: flex-start;
  }

  .location p,
  .contacts p {
    margin: 0px;
    font-size: 0.7rem;
  }

  .location a,
  .contacts a {
    font-weight: lighter;
  }

  .location {
    order: 2;
  }
  .contacts {
    order: 1;
  }
  .logoBox img {
    order: 3;
    width: 50px;
  }
  footer {
    font-size: 10px;
  }
}
