#welcome {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  top: 87px;
  width: 100%;
  height: 726px;
}
#welcome h2 {
  text-align: center;
  color: #fff;
  font-weight: bold;
  text-shadow: 2px 2px 12px #333;
  font-size: 4rem;
  max-width: 900px;
}
#welcome::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(/img/homeBCG.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  z-index: -1;
  filter: brightness(0.7);
}
#introduction {
  margin-top: 120px;
  max-width: 1150px;
  margin-inline: auto;
}

#introduction h3 {
  color: #000;
  font-size: 2.2rem;
  font-weight: bold;
}

#introduction p {
  color: #2b2b2b;
  font-size: 1rem;
  line-height: 26px;
  text-align: justify;
}

#introduction a button {
  width: 130px;
  height: 45px;
  border: none;
  background-color: #3674b5;
  color: #fff;
  border-radius: 10px;
}
#blogs {
  margin-top: 50px;
  background-color: #3673b510;
  padding-top: 30px;
  padding-bottom: 50px;
}

#blogs h3 {
  font-size: 2.2rem;
  color: #2b2b2b;
  text-align: center;
  font-weight: bold;
  margin-bottom: 15px;
}
#blogs .flex-container {
  display: flex;
  align-items: center;
  justify-content: center;
}
#blogs .single-blog {
  position: relative;
  width: 380px;
  height: 280px;
  margin-inline: 10px;
  cursor: pointer;
}

#blogs .single-blog:hover {
  transform: scale(1.01);
  transition: all 0.3s;
}

#blogs .single-blog img {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
  border-radius: 5px;
  object-fit: cover;
  filter: brightness(0.5);
}
#blogs .all-content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  margin-right: 20px;
}
#blogs .card-h,
#blogs .card-content {
  position: relative;
}
#blogs .card-h {
  display: flex;
  align-items: center;
}
#blogs .categ {
  background-color: #3674b5;
  color: #fff;
  padding: 5px 8px;
  border-radius: 12px;
}
#blogs .date {
  color: #fff;
  font-size: 1rem;
  margin-left: 10px;
}
#blogs h5 {
  color: #fff;
  font-weight: bold;
  font-size: 1.5rem;
  margin-top: 5px;
}
#blogs .href-c {
  text-align: center;
  margin-top: 20px;
}
#blogs .href-c a {
  color: #2b2b2b;
}
#services {
  margin-top: 50px;
  max-width: 1200px;
  margin-inline: auto;
}
#services .title-c {
  text-align: center;
}
#services h3 {
  font-size: 2.2rem;
  color: #2b2b2b;
  font-weight: bold;
}
#services p {
  font-size: 1rem;
  color: #2b2b2b;
}
#services .flex-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

#services .card-c {
  margin-inline: 10px;
  width: 380px;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
}
#services .card-c .img-container {
  overflow: hidden;
  width: 100%;
  border-radius: 15px;
}
#services .card-c img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
#services .card-content {
  padding: 25px 0px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
#services .card-c h4 {
  font-size: 1.55rem;
  color: #011224;
  margin-bottom: 5px;
  margin-top: 0px;
  font-weight: 700;
}
#services .card-c h5 {
  font-size: 0.95rem;
  color: #3674b5;
  margin-bottom: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
#services .card-c p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
  flex-grow: 1;
}
#services .card-c a {
  display: inline-block;
  text-decoration: none;
}
#services .card-c i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background-color: #3674b5;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}
#services .card-c i:hover {
  background-color: #1d5a9b;
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(54, 116, 181, 0.4);
}

.n-active {
  color: #3674b5 !important;
}

@media only screen and (max-width: 1279px) {
  #welcome {
    height: 550px;
    top: 50px;
  }

  #welcome h2 {
    font-size: 3.3rem;
  }
  #introduction {
    width: 95%;
    margin-inline: auto;
  }
  #introduction h3 {
    font-size: 2rem;
  }
  #introduction p {
    font-size: 0.95rem;
    line-height: 25px;
  }
  #blogs h3 {
    font-size: 2rem;
  }
  #blogs .flex-container {
    width: 95%;
    margin-inline: auto;
    flex-wrap: wrap;
  }
  #blogs .single-blog {
    width: 31%;
    height: 270px;
  }
  #blogs .all-content {
    bottom: 10px;
    left: 10px;
    margin-right: 10px;
  }
  #blogs .categ {
    font-size: 0.95rem;
    padding: 4px 10px;
  }
  #blogs .date {
    font-size: 0.95rem;
  }
  #blogs h5 {
    font-size: 1.4rem;
  }
  #blogs .href-c a {
    font-size: 0.95rem;
  }

#services {
    width: 95%;
    margin-inline: auto;
  }

#services h3 {
    font-size: 2rem;
  }
#services p {
    font-size: 0.95rem;
  }
#services .card-c {
    width: 31%;
    margin-inline: 10px;
  }
#services .card-c h4 {
  font-size: 1.45rem;
  }
#services .card-c h5 {
  font-size: 0.9rem;
  }
#services .card-c p {
    font-size: 0.95rem;
    margin-bottom: 6px;
  }
}

@media only screen and (max-width: 1023px) {
  #welcome {
    top: 60px;
  }
  #blogs .single-blog {
    width: 30%;
  }
#services .card-c {
    width: 30%;
  }
}
@media only screen and (max-width: 767px) {
  #welcome {
    height: 250px;
  }
  #welcome h2 {
    font-size: 2rem;
    width: 500px;
  }
  #introduction {
    margin-top: 80px;
  }
  #introduction h3 {
    font-size: 1.7rem;
  }
  #introduction p {
    font-size: 0.9rem;
    line-height: 23px;
  }
  #blogs h3 {
    font-size: 1.7rem;
  }
  #blogs .single-blog {
    width: 100%;
    height: 290px;
    margin-top: 20px;
    margin-inline: 0;
  }
  #blogs h5 {
    max-width: 300px;
  }
  #blogs .href-c a {
    font-size: 0.9rem;
  }
#services h3 {
    font-size: 1.7rem;
  }
#services p {
    font-size: 0.9rem;
  }
#services .card-c {
    width: 45%;
  }
#services .card-c h4 {
  font-size: 1.35rem;
  }
#services .card-c h5 {
  font-size: 0.85rem;
  }
#services .card-c p {
    font-size: 0.9rem;
  }
}
@media only screen and (max-width: 499px) {
  #welcome {
    height: 200px;
  }
  #welcome h2 {
    font-size: 1.5rem;
  }
  #introduction h3 {
    font-size: 1.4rem;
  }
  #introduction p {
    text-align: left;
  }
  #blogs h3 {
    font-size: 1.4rem;
    margin-bottom: 0px;
  }
  #blogs {
    padding-top: 15px;
  }
  #blogs .single-blog {
    height: 240px;
  }
  #blogs .categ {
    font-size: 0.9rem;
  }
  #blogs .date {
    font-size: 0.9rem;
  }
  #blogs h5 {
    max-width: 290px;
    font-size: 1.2rem;
  }
#services h3 {
    font-size: 1.4rem;
  }
#services .card-c {
    width: 100%;
    margin-inline: auto;
  }
#services .card-c h4 {
  font-size: 1.25rem;
  }
}
