* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --main-color: rgb(20, 75, 142);
  --text-color: #ffffff;
}

body {
  padding-top: 55px;
}

/* nav bar style start  */

nav {
  background-color: var(--main-color);
  color: var(--text-color);
}

@media (max-width: 768px) {
  .w-md-25 {
    width: 25% !important;
  }
  body {
    padding: 55px 5px 0px 0px;
  }
}
@media (max-width: 1200px) {
 .social {
    display: flex;
    flex-direction: row;
  }
}

/* nav bar style end  */
/* Header style start   */
.carousel-caption .layer {
  padding: 0.5rem;
  background-color: rgba(6, 35, 121, 0.6);
  border-radius: 0.5rem;
}

.bg1 {
  background-image: url(./img/1.jpg);
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.carousel-caption {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.bg2 {
  background-image: url(./img/2.jpg);
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.bg3 {
  background-image: url(./img/16.jpg);
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.bg4 {
  background-image: url(./img/3.jpg);
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 1200px) {
  .carousel-caption {
    width: 90%;
    right: -38%;
    text-align: center;
  }
}

/* Header style end   */
/* about style start   */
h3,
h2 {
  color: var(--main-color);
}

/* about style end   */
/* kayan style start   */
h2 {
  color: var(--main-color);
}
/* kayan style end   */
/* our work style start   */
h2 {
  color: var(--main-color);
}

.card-img-overlay {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: rgba(20, 75, 142, 0.9);
  opacity: 0;
  transition: opacity 0.6s;
  pointer-events: none;
  overflow-y: auto;
  max-height: 100%;
}
.card:hover .card-img-overlay {
  opacity: 1;
  pointer-events: auto;
}
.card {
  border: 0;
}

/* our work style end   */
/* form style start   */
.form {
  background-color: var(--main-color);
}
/* form style end   */
/* location style start   */

@media (max-width: 768px) {
  iframe {
    width: 100%;
    height: 250px;
  }
}
@media (max-width: 1200px) {
    iframe {
    width: 100%;
    height: 200px;
  }
}
/* location style end   */
/* footer style start   */
.card {
  background-color: var(--main-color);
  color: var(--text-color);
  border-radius: 0px !important;
}

ul {
  list-style: none;
  padding-left: 0;
}
/* footer style end   */
