/* common styles */
.after::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  background-color: black;
  opacity: 0.3;
  z-index: -3;
}

.p1::after,
.news::after,
.team::after {
  width: 100%;
  height: 0;
  z-index: initial;
  transition: 2s;
}

.p1:hover:after,
.news:hover::after,
.team:hover::after {
  opacity: 0.5;
}

.news:hover::after h3 {
  color: black;
  opacity: 1;
}

.after:hover::after {
  width: 100%;
  height: 100%;
  opacity: 0.4;
  transition: 1s;
}

/* change color in welcome and offer section */
.changecolor:hover h3,
.changecolor:hover .head {
  color: rgb(249, 249, 249);
  transition: 1s;
}

.container {
  width: 80%;
  margin: auto;
  padding-top: 50px;
}

.text {
  text-align: center;
  font-size: 40px;
  word-spacing: 5px;
  margin: 20px 0;
}

.linecenter {
  width: 100px;
  height: 4px;
  background-color: blue;
  margin: 10px auto 30px;
}

.center {
  margin: 0 5%;
}

.container100 {
  width: 100%;
}

/* general styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  text-transform: capitalize;
}

a {
  text-decoration: none;
  font-size: 17px;
}

/* sections */
/* header  */
.header {
  height: 60px;
  background-color: rgba(176, 173, 173,0.8);
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
}

.header img {
  float: left;
  width: 150px;
  height: 50px;
  margin: 5px 60px;
}

.header ul.header-link {
  float: right;
  list-style-type: none;
  margin: 20px;
  margin-right: 70px;
}

.header ul.header-link li {
  display: inline-block;
  margin-right: 15px;
}

.frist {
  border-bottom: 3.4px solid rgb(113, 145, 180);
  padding-bottom: 2px;
}

.header ul.header-link li a {
  color: aliceblue;
}

.aft {
  width: 100%;
  height: 100%;
  position: relative;
  padding-bottom: 5px;
}

.aft:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: rgb(113, 145, 180);
  transition: 1s;
}

.aft:hover::after {
  width: 100%;
}

.liblog {
  position: relative;
}

.nested {
  position: absolute;
  top: 40px;
  left: -10px;
  width: 120px;
  height: 50px;
  background-color: blue;
  padding-top: 14px;
  padding-left: 25px;
  visibility: hidden;

}

.liblog:hover .nested {
  visibility: visible;
}

/* home */
.home {
  height: 100vh;
  background-image: url(../Images/home1.jpg);
  background-size: cover;
  position: relative;
}

.overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.5);
}

.home-content {
  width: 60%;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.home-content h1 {
  font-size: 40px;
  letter-spacing: 2px;
  color: aliceblue;
}

.home-content p {
  margin-top: 10px;
  font-size: 25px;
  color: rgb(199, 196, 196);
}

.home-content button {
  margin-top: 10px;
  padding: 15px 20px;
  text-transform: capitalize;
  font-size: 20px;
  border: 0;
  border-radius: 5px;
}

.btn {
  background-color: blue;
  margin-left: 10px;
  color: aliceblue;
}

.home-content button:hover {
  cursor: pointer;
  opacity: 0.6;
}

/* welcom */
.welcome {
  width: 100%;
  overflow: auto;
  margin-top: 40px;
}

.welcome .div1,
.div2 {
  float: left;
  width: 30%;
  border: 1px solid gray;
  margin: 30px 0;
  text-align: center;
  line-height: 25px;
  height: 200px;
  position: relative;
}

.div2 {
  margin: 30px 5%;
}

.welcome div p {
  color: gray;
  word-spacing: 4px;
  letter-spacing: 1px;
}

.after:hover p {
  color: rgb(224, 232, 244);
  transition: 1s;
}

.after:hover a {
  color: rgb(187, 187, 239);
}

.welcome div .fa-solid {
  font-size: 30px;
  margin-top: 10px;
  color: rgb(176, 176, 244);
}

/* portfolio */
.pcontainer {
  height: 140vh;
  background-color: rgb(241, 237, 237);
  padding-top: 30px;
}

.portfolio {
  width: 80%;
  margin: auto;
}

.portfolio .pdiv1 {
  float: left;
  width: 30%;
  height: 300px;
  position: relative;
}

.portfolio .pdiv1 .pcont {
  width: 80%;
  height: 80%;
  margin: 10% 10%;
  background-color: cadetblue;
}

.portfolio .pdiv1 .pcont img {
  width: 100%;
  height: 100%;
}

.portfolio .pdiv1 .poverlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  padding-top: 30%;
  line-height: 25px;
  background-color: rgba(0, 0, 0, 0.6);
  visibility: hidden;
}

.portfolio .pdiv1:hover .poverlay {
  visibility: visible;
}

.portfolio .pdiv1 .poverlay h4 {
  color: rgb(77, 77, 164);
}

.portfolio .pdiv1 .poverlay p {
  color: rgb(203, 173, 173);
  font-size: 20px;
}

.portfolio .pdiv1 .poverlay i {
  font-size: 22px;
  color: azure;
  margin-top: 20px;
  background-color: rgb(83, 83, 202);
  padding: 10px;
}

.portfolio .pdiv1 .poverlay i.fa-pen-to-square {
  margin-right: 10px;
}

/* offer */
.offer {
  width: 100%;
  overflow: auto;
}

.offer .cont {
  float: left;
  width: 30%;
  height: 190px;
  border: 1px solid gray;
  padding: 30px 10px 30px 25px;
  margin-bottom: 30px;
  line-height: 25px;
  position: relative;
}

.fa-spa {
  color: rgb(118, 118, 177);
  font-size: 40px;
}

.cont .t p {
  letter-spacing: 1px;
  word-spacing: 5px;
  color: gray;
}

.cont .t .head {
  font-size: 25px;
  font-weight: bold;
}

.t {
  float: left;
  width: 80%;
  padding: 10px;
}

.icon {
  float: left;
  width: 20%;
}

.offer .cont:hover p {
  color: azure;
  transition: 1s;
}

.offer .icon:hover i {
  color: rgb(160, 177, 207);
  transition: 1s;
}

/* about us */

.ABOUTCONTAINER {
  height: 100vh;
  background-color: rgb(248, 244, 244);
}

.about {
  width: 100%;
  overflow: auto;
}

.about .Elegant {
  float: left;
  width: 50%;
  color: rgb(147, 145, 145);
}

.about .Elegant .vision .line {
  width: 80px;
  height: 5px;
  background-color: blue;
  margin-bottom: 30px;
}

.about .Elegant .vision,
.about .Elegant .icons {
  width: 100%;

}

.about .Elegant .vision h2 {
  font-size: 40px;
  color: black;
  margin-bottom: 7px;
}

.about .Elegant .vision p {
  font-size: 18px;
  line-height: 30px;
}

.about .Elegant.icons {
  margin-top: 100px;
}

.about .Elegant .icons ul li {
  margin-top: 15px;
  font-size: 20px;
}

.fa-regular {
  font-size: 25px;
  color: rgb(94, 94, 159);
}

.about .img {
  float: right;
  width: 50%;
  text-align: center;
}

.about .img img {
  width: 70%;
  margin: 15px;
}

.about .img ul li {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: rgb(178, 174, 174);
  border-radius: 50%;
  margin-right: 5px;
}

.about .img ul li.frist,
.about .img ul li:hover {
  background-color: rgb(135, 135, 236);
}

/* counter */
.counter {
  height: 300px;
  background-image: url(../Images/home.jpg);
  background-attachment: fixed;
  background-size: cover;
  position: relative;
}

.counter .overlay {
  background-color: rgba(0, 0, 0, 0.2);
}

.counter .parentc {
  width: 80%;
  height: 100%;
  overflow: auto;
  margin: auto;
}

.counter .parentc .divc {
  float: left;
  width: 25%;
  height: 100%;
  padding: 10% 0;
  text-align: center;
  font-size: 20px;
}

.counter .parentc .divc .fa-solid,
.fa-calendar-check {
  font-size: 40px;
  color: rgb(161, 92, 169);
  margin-bottom: 15px;
}

.counter .parentc .divc p {
  font-size: 18px;
  font-weight: bold;
  color: rgb(56, 50, 50);
}

/* pricing table */
.pricingcontainer {
  height: 120vh;
  background-color: rgb(244, 242, 242);
}

.pparent {
  width: 100%;
  height: 100vh;
  overflow: auto;
  padding: 40px 0;
}

.pricingcontainer .container .pparent .p1 {
  float: left;
  width: 30%;
  height: 73%;
  text-align: center;
  padding: 20px 0;
  line-height: 30px;
  word-spacing: 3px;
  border: 1px solid rgb(153, 152, 152);
  position: relative;
}

.pricingcontainer .container .pparent .p1 h3 {
  color: rgb(48, 44, 44);
}

.pricingcontainer .container .pparent .p1 ul {
  list-style-type: none;
  word-spacing: 4px;
  letter-spacing: 1px;
  color: gray;
}

.pricingcontainer .container .pparent .p1 .pcircle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: rgb(255, 255, 255);
  padding-top: 20px;
  font-size: 25px;
  margin: 20px auto;
  color: rgb(79, 73, 73);
  font-weight: bold;
  border: 2px solid blue;
}

.priceptn {
  padding: 6px 10px;
  margin-top: 10px;
  color: black;
  border: 2px solid rgb(91, 91, 126);
  background-color: white;
}

.p1:hover h3,
.p1:hover ul li {
  color: rgb(62, 62, 72);
}

.p1:hover .pcircle p,
.p1:hover .priceptn {
  color: rgb(130, 130, 190);
}

/* positions */
.image {
  height: 60vh;
  background-image: url(../Images/office3.png);
  background-size: cover;
  background-attachment: fixed;
  position: relative;
}

.imgparent {
  width: 80%;
  height: 100%;
  margin: auto;
  padding-left: 30px;
}

.imgd1 {
  width: 48%;
  height: 80%;
  float: left;
  margin-top: 50px;
  padding: 70px 0px;
}

.imgd1 img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  float: left;
  margin-right: 10px;
  display: block;
}

.imgd1 .who h3 {
  color: rgb(249, 242, 242);
  margin-bottom: 5px;
  margin-top: 10px;
}

.imgd1 .who p {
  color: blue;
}

.para {
  margin-top: 40px;
  margin-left: 10px;
  font-size: 16px;
  color: rgb(244, 247, 249);
}

.imgcenter {
  margin-left: 4%;
}

/* team */
.teamparent {
  width: 100%;
  height: 70vh;
  overflow: auto;
  padding-top: 5%;
}

.team {
  width: 30%;
  height: 90%;
  background-color: rgb(239, 233, 233);
  float: left;
  text-align: center;
  position: relative;
}

.team::after {
  transition: initial;
}

.team:hover::after {
  transition: 2s;
}

.team h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.team p {
  color: gray;
  font-size: 17px;
}

.teamimg {
  width: 80%;
  height: 65%;
  margin: 8% auto 5%;
  position: relative;
}

.teamimg img {
  width: 100%;
  height: 100%;
}

.teamicon {
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.4);
  top: 0;
  left: 0;
  visibility: hidden;
  overflow: auto;
}

.team:hover .teamicon {
  visibility: visible;
}

.teamicon ul {
  display: inline-block;
  list-style-type: none;
  background-color: rgb(123, 123, 223);
  float: right;
}

.teamicon ul li i {
  font-size: 20px;
  color: aliceblue;
  margin: 10px;
}

.team:hover h3 {
  color: rgb(162, 166, 205);
}

.team:hover p {
  color: rgb(62, 62, 122);
}

/* recent news */
.newsparent {
  width: 100%;
  height: 85vh;
  background-color: rgb(243, 241, 241);
  margin-top: 5%;
}

.news {
  width: 30%;
  height: 100%;
  background-color: white;
  float: left;
  padding-left: 20px;
  position: relative;
}

.newsparent .after::after {
  background-color: rgb(105, 105, 160);
}

.news img {
  width: 75%;
  height: 50%;
}

.news ul {
  list-style-type: none;
  margin: 15px 0;
}

.news ul li {
  display: inline-block;
  margin-right: 10px;
  font-size: 14px;
}

.news ul li i {
  font-size: 17px;
  color: rgb(124, 124, 189);
}

.news h3 {
  letter-spacing: 2px;
  margin-bottom: 20px;
  word-spacing: 4px;
  font-size: 18px;
}

.news p {
  line-height: 25px;
  font-size: 15px;
  letter-spacing: 1px;
  word-spacing: 5px;
  color: gray;
  margin-bottom: 20px;
}

.news:hover p {
  color: rgb(69, 67, 67);
}

.news a {
  font-size: 20px;
  color: rgb(103, 103, 192);
}

/* footer */
.footer {
  background-color: rgb(225, 220, 220);
  text-align: center;
  padding: 40px 0 50px;
}

.footer img {
  width: 13%;
}

.footer ul {
  margin: 10px 0;
}

.footer ul li {
  display: inline-block;
  position: relative;
  width: 60px;
  height: 60px;
  padding: 5px 0;
}

.footer ul li a i {
  color: white;
  font-size: 35px;
  width: 50px;
  height: 50px;
  background-color: rgb(102, 102, 168);
  border-radius: 50%;
  padding: 7px 0;
}

.footer p {
  color: rgb(73, 109, 159);
  font-size: 17px;
}

.footer p span {
  font-size: 20px;
}

.footer ul li::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: blue;
  opacity: 0;
  border-radius: 13px;
}

.footer ul li:hover::after {
  transition: 1s;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin: auto;
  opacity: 0.4;
}
