:root {
  --white-color: white;
  --black-color: black;
  --dark-blue: #000513;
  --light-orange: #f7b084;
  --orange-color: #ef6828;
  --gre-color: rgb(249, 249, 249);
}
/* ================= header ================= */

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: Poppins;
  text-decoration: none;
}

.icons {
  display: none;
}
header {
  background-color: var(--white-color);
  padding: 15px 10%;
  width: 100%;
  position: fixed;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  align-items: center;
  z-index: 3;
  top: 0;
}



.img-flex {
}

.img-flex img {
  width: 250px;
}


ul li {
  display: inline-block;
  padding-right: 30px;
  cursor: pointer;
  font-size: 15px;
  position: relative;
  color: var(--black-color);
}

ul li::after {
  content: "";
  position: absolute;
  width: 60%;
  transform: scaleX(0);
  height: 3px;
  bottom: 0;
  left: 0;
  background-color: #0087ca;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

ul li:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* ========================== media queries ========================= */

@media only screen and (min-width: 321px) and (max-width: 768px) {
  .icons {
    display: block;
    font-size: 25px;
    cursor: pointer;
  }

  .icons1 {
    right: 50px;
    top: 30px;
    position: absolute;
    color: var(--black-color);
  }

  .icons2 {
    top: 50px;
    right: 50px;
    position: absolute;
    color: var(--white-color);
  }

  .img-flex img {
    width: 170px;
  }

  ul {
    background-color: var(--dark-blue);
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 70px;
    right: -100%;
    bottom: 0;
    padding-left: 30px;
    z-index: 3;
    padding-top: 40px;
    transition: all ease 0.5s;
  }
  ul li {
    display: block;
    color: var(--white-color);
    padding-top: 30px;
    font-size: 15px;
    margin-left: 20px;
  }

  ul li::after {
    width: 30%;
  }
}


@media only screen and (min-width: 768px) and (max-width: 1440px) {
  header {
    background-color: var(--white-color);
    padding: 15px 5%;
    grid-template-columns: 1fr 3fr;
  }


  .img-flex img {
    width: 200px;
  }
  
}


/* ====================== section one ===================== */
.section-one {
  background-color: var(--white-color);
  width: 100%;
  position: relative;
  height: 100vh;
}

.section-one::before {
  background-image: url(../images/home-bg.png);
  height: 100vh;
  width: 100%;
  position: absolute;
  content: "";
  background-repeat: no-repeat;
  background-size: cover;
  inset: 0;
  opacity: 60%;
  animation: bgchange 10s ease infinite;
}
 

@keyframes bgchange{
  0%{
      background-image: url(../images/home-bg.png);
  }

  10%{
      background-image: url(../images/IMG-20211104-WA0002.jpg);
  }

  15%{
    background-image: url(../images/IMG-20211104-WA0002.jpg);
  }

  25%{
    background-image: url(../images/NH-01\ new.jpg);
  }

  30%{
    background-image: url(../images/NH-01\ new.jpg);
  }

  40%{
    background-image: url(../images/NH-02\ new.jpg);
  }

  45%{
    background-image: url(../images/NH-02\ new.jpg);
  }
}


.section-text-div {
  padding-top: 30%;
  padding-left: 100px;
  isolation: isolate;
}

.section-one h2 {
  font-size: 40px;
}

.section-one p {
  font-size: 20px;
}

.section-one button {
  font-size: 15px;
  padding: 15px 40px;
  isolation: isolate;
  margin-top: 20px;
  background-color: var(--orange-color);
  color: var(--white-color);
  font-weight: bold;
  border: none;
  cursor: pointer;
}


.section-one button:hover {
  background-color: white;
  color: var(--black-color);
  border: #ef6828 solid 1px;
  transition: all ease 0.5s;
}



@media only screen and (min-width: 321px) and (max-width: 768px) {
  /* ==================== section one ================= */

  .section-one {
    width: 100%;
    position: relative;
    height: 50vh;
  }

  .section-one::before {
    /* background-image: none; */
    height: 60vh;
    width: 100%;
    /* background-color: rgb(242, 242, 242); */
  }

  .section-text-div {
    padding: 0 10%;
    padding-top: 40%;
  }

  .section-one h2 {
    font-size: 35px;
  }

  .section-one p {
    font-size: 15px;
  }
  
}

@media only screen and (min-width: 768px) and (max-width: 1199px) {
  .section-one {
    background-color: var(--white-color);
    width: 100%;
    position: relative;
    height: 80vh;
  }
  
  .section-one::before {
    background-image: url(../images/home-bg.png);
    height: 80vh;
    width: 100%;
  }
}

/* ========================== Swiper ========================= */
.show-case {
  text-align: center;
  padding: 100px 10%;
  background-color: var(--white-color);
}

.swiper h2 {
  text-align: center;
  padding-bottom: 50px;
  font-size: 30px;
}

.swiper-wrapper {
  grid-gap: 0;
  margin-bottom: 60px;
}

.swiper-slide {
  background-color: var(--dark-blue);
  padding: 70px 50px 50px;
  color: var(--white-color);
  border-radius: 10px;
}

.swipe1 {
  background-color: var(--white-blue);
  color: var(--dark-color);
  border: rgb(209, 209, 209) solid 1px;
}


.swipe1 {
  background-color: var(--white-blue);
  color: var(--dark-color);
  border: rgb(209, 209, 209) solid 1px;
}

.newslide{
  position: relative;
}


.newslide img{
  border-radius: 10px 10px 0 0;
}



.description{
  position: absolute;
  background-color: var(--orange-color);
  left: 0;
  bottom: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  color: white;
  height: 0;
  transition: height 0.5s;
  border-radius: 10px;
  overflow: hidden;
  padding: 0 50px;
  text-align: center;
  cursor: pointer;
}

.description p{
  font-size: 14px;
}

.newslide .description{
  transition: 0.5s;
}

.bg-text{
  border-radius: 0 0 10px 10px ;
}

.newslide:hover .description{
  height: 100%;
  padding-top: 35%;
}

@media only screen and (min-width: 321px) and (max-width: 768px) {
  /* ============= Swiper ================= */

  .show-case {
    padding: 40px 10%;
    padding-top: 100px;
  }

  .swiper h2 {
    text-align: center;
    padding-bottom: 10px;
    padding-top: 10px;
    font-size: 15px;
    font-weight: 500;
  }
}

/* ======================== section four ========================= */
.section-four {
  padding: 100px 0;
  color: var(--white-color);
  align-items: center;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.sect-four-text {
  height: 600px;
  width: 100%;
  padding-top: 150px;
  padding-left: 100px;
  color: white;
  background-color: #000513;
}

.sect-four-text h2 {
  font-size: 40px;
}

.sect-four-text p {
  font-size: 20px;
}

.sect-four-text button {
  background-color: #ef6828;
  border: var(--light-orange) solid 1px;
  padding: 15px 60px;
  color: var(--white-color);
  margin-top: 30px;
  cursor: pointer;
}


.sect-four-text button:hover {
  background-color: white;
  transition: all ease 0.2s;
  color: #000513;
  margin-bottom: 30px;
}


.sect-four-image video {
  width: 100%;
  height: 550px;
  padding: 0;
  
}

.sect-four-image button {
  background-color: var(--orange-color);
  border: none;
  padding: 15px 40px;
  color: var(--white-color);
}

.sect-four-image button:last-child {
  background-color: var(--white-color);
  border: grey solid 1px;
  padding: 15px 40px;
  color: var(--dark-blue);
}

@media only screen and (min-width: 321px) and (max-width: 768px) {
  .section-four {
    display: grid;
    grid-template-columns: 1fr;
    padding: 10px 5%;
  }


  .sect-four-text {
    padding: 10%;
    height: 400px;
  }


  .sect-four-image video {
    width: 100%;
    height: 100%;
    padding: 0;
    
  }
  .sect-four-text h2 {
    font-size: 30px;
  }

  .sect-four-image button {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }
}

/* ========================= section-five  ========================= */
.section-five {
  padding-top: 50px;
}
.section-five h1 {
  text-align: center;
  font-size: 25px;
}

.section-flex-div {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 50px 10%;
  grid-gap: 50px;
}

.section-five-single {
  background-color: var(--white-color);
  border: rgb(216, 216, 216) solid 1px;
  padding: 50px;
}

@media only screen and (min-width: 321px) and (max-width: 768px) {
  .section-flex-div {
    grid-template-columns: 1fr;
    grid-gap: 20px;
  }

  .section-five-single p {
    font-size: 13px;
  }
}


@media only screen and (min-width: 768px) and (max-width: 1440px) {
  .section-flex-div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 50px 10%;
    grid-gap: 50px;
  }
}


/* =================== section six ========================= */

.section-six {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 100px 10%;
  padding-top: 150px;
  align-items: center;
  position: relative;
  background-color: rgb(238, 238, 238);
}

.section-six-image {
  width: 100%;
}

.section-six-image img {
  border-radius: 20px;
}

.section-six-text {
  background-color: var(--dark-blue);
  padding: 50px;
  color: var(--white-color);
  height: 65%;
  width: 30%;
  right: 200px;
  top: 180px;
  position: absolute;
}

.section-six-text p {
  line-height: 30px;
  font-size: 13px;
}

.section-six-text button {
  background-color: var(--white-color);
  padding: 15px 30px;
  border: none;
  margin-top: 20px;
  cursor: pointer;
}

.section-six-text button:hover {
  background-color: #ef6828;
  color: white;
  transition: all ease 0.5s;
}

@media only screen and (min-width: 321px) and (max-width: 768px) {
  .section-six {
    grid-template-columns: 1fr;
    padding: 50px 8%;
  }

  .section-six-image img {
    border-radius: 10px;
    width: 100%;
  }

  .section-six-text {
    background-color: var(--dark-blue);
    padding: 10px;
    color: var(--white-color);
    height: 100%;
    width: 100%;
    right: 0;
    top: 0;
    position: relative;
  }

  .section-six-text p {
    line-height: 17px;
    font-size: 12px;
  }
  

.section-six-text button{
  padding: 10px 30px ;
}
}

@media only screen and (min-width: 768px) and (max-width: 1440px) {

  .section-six {
    display: grid;
    grid-template-columns: 1fr;
    padding: 100px 10%;
    padding-top: 150px;
    align-items: center;
    position: relative;
    background-color: rgb(238, 238, 238);
  }


  .section-six-image img{
    width: 100%;
  }

  .section-six-text p{
    text-align: justify;
  }


  .section-six-text {
    background-color: var(--dark-blue);
    padding: 30px;
    color: var(--white-color);
    height: 60%;
    width: 50%;
    right: 50px;
    top: 160px;
    position: absolute;
  }
}

/* ======================== section-seven ============================== */

.section-seven {
  background-color: var(--dark-blue);
  height: 30vh;
  width: 100%;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 40px;
  align-items: center;
  padding: 100px 10%;
}

.section-seven::after {
  background-image: url(../images/consult-bg.png);
  height: 30vh;
  width: 100%;
  position: absolute;
  content: "";
  background-repeat: no-repeat;
  background-size: cover;
  inset: 0;
  opacity: 20%;
}

.section-seven-text {
  isolation: isolate;
  color: var(--white-color);
}

.section-seven-text h2 {
  isolation: isolate;
  z-index: 3;
}

.section-seven-button {
  isolation: isolate;
  z-index: 3;
  margin: 0 20%;
}

.section-seven-button a p {
  padding: 15px 40px;
  width: 100%;
  border: none;
  cursor: pointer;
  text-align: center;
  border: var(--white-color) 2px solid;
  color: var(--white-color);
  isolation: isolate;
  text-decoration: none;
}


.section-seven-button a p:hover {
  background-color: var(--light-orange);
  color: var(--white-color);
  transition: all ease 0.5s;
  text-decoration: none;
}




@media only screen and (min-width: 321px) and (max-width: 768px) {
  .section-seven {
    grid-template-columns: 1fr;
    padding-top: 40px;
    height: 35vh;
  }

  .section-seven::after {
    height: 35vh;
  }

  .section-seven-button {
    margin: 0 0;
  }
}





.swipe1 {
  background-color: var(--white-blue);
  color: var(--dark-color);
  border: rgb(209, 209, 209) solid 1px;
}

.newslide{
  padding: 0;
  background-color: var(--white-color);
  color: var(--dark-blue);
}

.bg-text{
  background-color: var(--dark-blue);
  color: var(--white-color);
  padding: 20px;
  text-align: left;
}

.newslide img{
  width: 100%;
  height: 300px;
  margin-bottom: -10px;
}

.newslide h2{
  padding: 0;
  font-size: 20px;
  text-align: left;
}

@media only screen and (min-width: 321px) and (max-width: 768px) {
  /* ============= Swiper ================= */

  .show-case {
    padding: 40px 10%;
    padding-top: 100px;
  }

  .swiper h2 {
    text-align: center;
    padding-bottom: 20px;
    padding-top: 40px;
    font-size: 20px;
  }
}



footer {
  background-color: var(--gre-color);
  padding-top: 50px;
}
footer .container {
  padding: 4vw 8vw;
}

.footer_box {
  display: flex;
  justify-content: space-between;
}
.footer_box .box1 {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.footer_box .box2 {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
}
.footer_box .box1 #address {
  width: 100%;
  margin-bottom: 2rem;
  line-height: 3rem;
}
.footer_box .box1 #address p {
  color: var(--primary, #2947a9);
  font-size: 15px;
  font-weight: 500;
}
.footer_box .box1 #address span {
  color: var(--neutral-800, #292e3d);
  /* font-size: 18px; */
  font-weight: 400;
  text-transform: capitalize;
}
.footer_box .box1 #footer_img img {
  width: 250px;
}
.footer_box .box2 #sub {
  margin-bottom: 3rem;
}
.footer_box .box2 #sub p {
  color: var(--primary, #2947a9);
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer_box .box2 #sub div {
  display: flex;
  flex-direction: row;
  gap: 0.7rem;
  width: 100%;
}
.footer_box .box2 #sub div input {
  padding: 7px;
  width: 100%;
}
.footer_box .box2 #sub div button {
  border-radius: 4px;
  background: var(--secondary, #f9995d);
  padding: 10px;
  border: none;
  font-weight: 600;
  color: #fff;
}
.footer_box .box2 #socials {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1rem;
}
.footer_box .box2 #socials button {
  padding: 15px;
  border-radius: 50%;
}
.copyright {
  background: var(--primary, #2947a9);
}
.copyright div {
  padding: 2vw 8vw;
}
.copyright div p {
  font-weight: 500;
  color: var(--white-color);
}

@media only screen and (min-width: 321px) and (max-width: 768px) {
  .footer_box {
    flex-direction: column-reverse;
    gap: 4rem;
  }
  .footer_box .box2 {
    align-items: flex-start;
    width: 100%;
  }
  .footer_box .box2 #sub {
    width: 100%;
  }

  .footer_box .box2 #sub p span {
    padding: 10px 30px;
    font-size: 10px;
  }
}
