* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  scroll-behavior: smooth;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* custom scroll bar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Contact tab starts */
.contact-tab {
  background-color: #1d7fc2;
  color: whitesmoke;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 19px;
  padding-right: 19px;
  padding-top: 17px;
  padding-bottom: 17px;
  font-size: 17px;
  font-weight: 500;
}

@media (max-width: 947px) {
  .num-2 {
    display: none;
  }
}

.contact-tab-left {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

/* Contact tab ends */

/* navbar styling */

.motto {
  font-size: 19px;
}

.navbar {
  width: 100%;
  z-index: 999;
  padding: 9px 0;
  transition: all 0.3s ease;
  background-color: white;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar .max-width {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 19px;
  padding-right: 19px;
}

.navbar .logo a {
  color: black;
  align-items: center;
  display: flex;
  font-size: 25px;
  font-weight: 400;
}

.navbar .menu li {
  list-style: none;
  display: inline-block;
}

.navbar .menu li a {
  display: block;
  color: black;
  font-size: 19px;
  font-weight: 400;
  margin-left: 25px;
  align-items: center;
  transition: color 0.3s ease;
}

.navbar.sticky {
  position: fixed;
  top: 0;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.navbar .menu li a:hover {
  color: #1d7fc2;
}

.navbar.sticky .menu li a:hover {
  color: #1d7fc2;
}

/* menu btn styling */
.menu-btn {
  color: black;
  font-size: 35px;
  cursor: pointer;
  display: none;
}

@media (max-width: 947px) {
  .menu-btn {
    display: block;
    z-index: 999;
  }

  .menu-btn i.active:before {
    content: "\f00d";
  }

  .navbar .menu {
    position: fixed;
    height: 100vh;
    width: 100%;
    left: -100%;
    z-index: 9999;
    top: 0;
    background: whitesmoke;
    text-align: center;
    padding-top: 80px;
    transition: all 0.3s ease;
  }

  .navbar .menu.active {
    left: 0;
  }

  .navbar .menu li {
    display: block;
  }

  .navbar .menu li a {
    display: inline-block;
    margin: 20px 0;
    font-size: 25px;
  }

  .max-width {
    max-width: 930px;
  }
}

/* Home page slider */
.slider {
  width: 99.3vw;
  height: 80vh;
  position: relative;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all 0.5s ease;
}

.current {
  opacity: 1;
}

/* ================================================= 
                    slide content
==================================================*/

.slide .content {
  position: absolute;
  bottom: 5%;
  left: -600px;
  background: rgba(255, 255, 255, 0.6);
  padding: 10px 25px;
  width: 40%;
  line-height: 2;
  font-size: 16px;
  border-radius: 5px;
  opacity: 0;
  transition: all 0.7s ease-in-out 0.3s;
}

.slide.current .content {
  opacity: 1;
  transform: translateX(0%);
  left: 0;
}

.content h1 {
  margin-bottom: 5px;
}

/* ================================================= 
                    buttons
==================================================*/

.buttons {
  position: absolute;
  top: 45%;
  left: 0;
  right: 0;
}

.next-btn,
.prev-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #f1f1f1;
  color: #f1f1f1;
  font-size: 20px;
  cursor: pointer;
  background: transparent;
  transition: all 0.3s ease;
}

.next-btn {
  position: absolute;
  right: 15px;
}

.prev-btn {
  position: absolute;
  left: 15px;
}

.next-btn:hover,
.prev-btn:hover {
  background: #f1f1f1;
  color: black;
}

/*================================================ 
               background images
==================================================*/

.slide:first-child {
  background: url("./img/homeImgs/hero2.jpg") no-repeat center center/cover;
}

.slide:nth-child(2) {
  background: url("./img/homeImgs/hero6.jpg") no-repeat center center/cover;
}

/* ================================================= 
                    responsive 
==================================================*/
@media screen and (max-width: 768px) {
  .slide .content {
    width: 100%;
    bottom: -15%;
    left: 0;
  }

  .slide.current .content {
    opacity: 1;
    transform: translateY(0%);
    left: 0;
    bottom: 0%;
  }
}

/* Home page slider */

/* About content starts */

.section-title {
  text-align: center;
  margin-top: 100px;
}

.section-title-text {
  font-size: 30px;
  font-weight: 400;
}

.title-separater {
  color: #1d7fc2;
}

.main-para {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-left: 7rem;
  margin-right: 7rem;
  margin-top: 4rem;
}

.about-main-image {
  border-radius: 8px;
  padding-right: 22px;
}

.about-main-text {
  letter-spacing: 1.5px;
  font-size: 18px;
  font-weight: 400;
}

@media (max-width: 947px) {
  .main-para {
    flex-direction: column;
  }

  .about-main-image {
    margin-bottom: 12px;
  }

  .about-main-text {
    text-align: left;
  }
}

/* About content ends */
/* Services Starts */
.card-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.card-inner-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2000px;
  flex-wrap: wrap;
}

.card-inner-container .card {
  position: relative;
  width: 370px;
  padding: 20px;
  margin: 20px;
  border: 1px solid #1d7fc2;
  border-radius: 8px;
}

.card-inner-container .card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border: 20px solid transparent;
}

.card-inner-container .card .image img {
  width: 280px;
  height: 150px;
  margin-bottom: 12px;
  border-radius: 8px;
}

.card-inner-container .card .content {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.card-inner-container .card .content h3 {
  color: black;
  font-size: 1.4em;
  margin-bottom: 10px;
  font-weight: 600;
}

.card-inner-container .card .content p {
  font-weight: 300;
  color: black;
}

.card-inner-container .card .content::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(transparent, #f1f1f1);
}

.card-inner-container .card .more {
  position: relative;
  transition: all 0.5s ease;
  padding: 10px 15px;
  border: 1px solid #1d7fc2;
  margin-top: 15px;
  display: inline-block;
  color: #1d7fc2;
  cursor: pointer;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 2px;
}

.card-inner-container .card .more::before {
  content: "Read More";
}

.card-inner-container .card.active .more::before {
  content: "Read Less";
}

.card-inner-container .card.active .more {
  background: #1d7fc2;
  color: white;
}

.card-inner-container .card.active .content::before {
  display: none;
}

.card-inner-container .card.active .content {
  height: auto;
}

/* Services ends */

/* Enquiry modal starts */
:root {
  --modal-duration: 1s;
  --modal-color: #1d7fc2;
}

.enquiry-main-modal-container {
  font-size: 17px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.button {
  background: #1d7fc2;
  padding: 0.5em 1em;
  color: #fff;
  border: 0;
  font-size: 19px;
  border-radius: 5px;
  margin-left: 12px;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.button:hover {
  border: 1px solid #1d7fc2;
  background-color: white;
  color: black;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  border-radius: 20px;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  margin-left: 20%;
  margin-right: 10%;
  margin-bottom: 10%;
  margin-top: 2%;
  width: 60%;
  box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.17);
  animation-name: modalopen;
  animation-duration: var(--modal-duration);
}

.modal-header h2,
.modal-footer h3 {
  margin: 0;
  font-weight: 500;
}

.modal-header {
  background: var(--modal-color);
  padding: 15px;
  color: #fff;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.modal-body {
  padding: 90px 20px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  background: #fff;
}

.close {
  color: #ccc;
  float: right;
  font-size: 30px;
  color: #fff;
}

.close:hover,
.close:focus {
  color: white;
  text-decoration: none;
  cursor: pointer;
}

@keyframes modalopen {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Enquiry modal ends */

/* Enquiry form starts */
input,
textarea {
  outline: none;
}

.container {
  max-width: 800px;
  width: 800px;
}

.container form .form-row {
  display: flex;
  margin: 32px 0;
}

form .form-row .input-data {
  width: 100%;
  height: 40px;
  margin: 0 20px;
  position: relative;
}

form .form-row .textarea {
  height: 70px;
}

.input-data input,
.textarea textarea {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
  font-size: 17px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.12);
}

.input-data input:focus ~ label,
.textarea textarea:focus ~ label,
.input-data input:valid ~ label,
.textarea textarea:valid ~ label {
  transform: translateY(-20px);
  font-size: 14px;
  color: #3498db;
}

.textarea textarea {
  resize: none;
  padding-top: 10px;
}

.input-data label {
  position: absolute;
  pointer-events: none;
  bottom: 10px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.textarea label {
  width: 100%;
  bottom: 40px;
  background: #fff;
}

.input-data .underline {
  position: absolute;
  bottom: 0;
  height: 2px;
  width: 100%;
}

.input-data .underline:before {
  position: absolute;
  content: "";
  height: 2px;
  width: 100%;
  background: #3498db;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.input-data input:focus ~ .underline:before,
.input-data input:valid ~ .underline:before,
.textarea textarea:focus ~ .underline:before,
.textarea textarea:valid ~ .underline:before {
  transform: scale(1);
}

.submit-btn .input-data {
  overflow: hidden;
  height: 45px !important;
  width: 25% !important;
}

.submit-btn .input-data .inner {
  height: 100%;
  width: 300%;
  position: absolute;
  left: -100%;
  background-color: #1d7fc2;
  transition: all 0.4s;
}

.submit-btn .input-data:hover .inner {
  left: 0;
}

.submit-btn .input-data input {
  background: none;
  border: none;
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

@media (max-width: 700px) {
  .container .text {
    font-size: 30px;
  }

  .container form {
    padding: 10px 0 0 0;
  }

  .container form .form-row {
    display: block;
  }

  form .form-row .input-data {
    margin: 35px 0 !important;
  }

  .submit-btn .input-data {
    width: 40% !important;
  }
}

.container .text {
  text-align: center;
  font-size: 35px;
  font-weight: 600;
  color: #1d7fc2;
}

/* Enquiry form ends */

/* contact section starts */

.contact-container {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

@media (max-width: 947px) {
  .contact-container {
    display: block;
  }

  .right-part {
    text-align: center;
    margin-left: 150px;
    width: 50%;
  }

  .left-part {
    margin-left: 50px;
    padding-top: 12px;
  }
}

.dash-contact {
  color: #1d7fc2;
}

.title-context {
  font-size: 23px;
  font-weight: 500;
  margin-bottom: 14px;
}

.right-part {
  width: 40%;
}

.contact-title-deitail {
  font-size: 19px;
  font-weight: 500;
  color: #1d7fc2;
}

.address-text {
  font-size: 17px;
  letter-spacing: 1px;
  font-weight: 500;
}

.contact-deitail {
  margin-bottom: 16px;
}

.tel-context {
  color: #1d7fc2;
}

.numbers-detail {
  font-size: 17px;
  letter-spacing: 1px;
  font-weight: 500;
}

.email-context {
  font-size: 17px;
  letter-spacing: 1px;
  font-weight: 500;
}

#contact {
  margin-bottom: 210px;
}

/* contact section ends */

/* Footer section starts */
.main-footer {
  background-color: #1d7fc2;
  height: 20vh;
  text-align: center;
  font-size: 19px;
  color: white;
  padding-top: 12px;
}

.created-by a {
  color: white;
  text-decoration: underline;
}

.main-footer p {
  margin-bottom: 12px;
}
/* Footer section ends */
/* Teams */
.cards-team {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
}
.card-team {
  flex: 0 0 350px;
  margin: 10px;
  border: 1px solid #ccc;
  box-shadow: 2px 2px 6px 0px rgba(0, 0, 0, 0.3);
}
.card-team img {
  width: 80%;
  border-radius: 50%;
  padding-left: 20%;
  padding-right: 20%;
  top: 30px;
  height: 30%;
}
.card-team .text {
  padding: 0 20px 20px;
}
.card-team .text > button {
  background: gray;
  border: 0;
  color: white;
  padding: 10px;
  width: 100%;
}
/* Teams */
/* Client */
.box img {
  height: 200px;
}
.section-padding {
  padding: 30px 0;
}

.brand-carousel {
  margin: 0;
}

.owl-dots {
  text-align: center;
  margin-top: 40px;
}

.owl-dot {
  display: inline-block;
  height: 15px !important;
  width: 15px !important;
  background-color: #444 !important;
  opacity: 0.8;
  border-radius: 50%;
  margin: 0 5px;
}

.owl-dot.active {
  background-color: black !important;
}

/* clients */
