/* mobile view */
@media screen and (max-width: 768px) {
  h1 {
    /* font-size: 3rem !important; */
  }

  .about-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url("../images/pexels-tom-fisk-3338019-min.jpg");
    background-position: center;
    height: 10rem;
    background-size: cover;
    background-color: #373434;
    background-blend-mode: overlay;
  }

  .date p {
    margin: 0.5rem 0;
  }

  .main-img {
    width: 80%;
    height: 20rem;
    margin-top: 3rem;
  }

  .sub-img {
    width: 15rem;
    height: 15rem;
    z-index: 999;
    position: absolute;
    top: 10rem;
    right: 1rem;
    /* display: none; */
  }

  .est-year {
    position: absolute;
    right: 0;
    top: 4rem;
    z-index: 9;
  }

  .est-year h1 {
    font-size: 5rem;
    padding: 0;
  }

  .logo h1 {
    color: #cdc8c8;
  }

  .logo h1:hover {
    color: black;
  }

  .about-right {
    display: flex;
  }

  .video-section {
    background-color: #fdf8ef;
    width: 100%;
  }

  .about-video {
    height: 20%;
    width: 100%;
  }

  /* testimonial */
  .testionial-section {
    background-color: #002d4b;
  }

  .user-img {
    height: 4rem;
    width: 4rem;
    object-fit: cover;
    border-radius: 50%;
  }

  .remarks {
    color: rgb(181, 179, 179);
  }

  .workers-section {
    background-color: #f2f2ef;
  }

  .worker-card {
    background-color: white;
    margin-top: 1.5rem;
    padding: 0;
    box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px,
      rgba(17, 17, 26, 0.1) 0px 0px 8px;
  }

  .worker-card img {
    background: black;
  }

  .worker-write-up {
    color: black;
    padding: 1rem;
  }

  .worker-img {
    height: 20rem !important;
    object-fit: cover;
    margin: 0 0;
  }
}

/* dektop view */
@media screen and (min-width: 768px) {

  .about-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url("../images/pexels-tom-fisk-3338019-min.jpg");
    background-position: center;
    height: 10rem;
    background-size: cover;
    background-color: #373434;
    background-blend-mode: overlay;
    width: 100%;
  }

  .main-img {
    width: 20rem;
    height: 20rem;
    margin-top: 3rem;
  }

  .sub-img {
    width: 24rem;
    height: 24rem;
  }

  .main-img:hover {
    z-index: 99;
  }

  .fa-arrow-down {
    color: white;
    height: 1.5rem;
  }

  .dropdown-menu {
    font-size: 0.8rem;
  }

  /* .container-fluid {
    padding: 5% 7%;
  } */
  .about-section2 {
    height: 100%;

  }

  .about-nav {
    /* padding: 1rem 5rem; */
  }

  .date p {
    margin: 0.5rem 0;
  }

  .est-year {
    position: absolute;
    right: 3rem;
    top: 0rem;
    z-index: 999;
  }

  .est-year h1 {
    font-size: 5rem;
    padding: 0;
  }

  .logo {
    position: relative;
    width: 100%;
    /* height: 100vh; */
  }

  .logo h1 {
    color: #cdc8c8;
  }

  .logo h1:hover {
    color: black;
  }

  .video-section {
    width: 100%;
    /* margin-top: 5rem; */
    margin-bottom: 0;
    padding-bottom: 0;

  }

  .about-video {
    /* height: 16%; */
    width: 100%;
  }

  /* testimonial */
  .testionial-section {
    background-color: #002d4b;
  }

  .user-img {
    height: 4rem;
    width: 4rem;
    object-fit: cover;
    border-radius: 50%;
  }

  .remarks {
    color: rgb(181, 179, 179);
  }

  .oilvid-section {
    background-image: url('../images/industrial-port-container-yard-min.jpg');
    background-size: cover;
    height: 100vh;
    background-color: rgb(44, 43, 43);
    background-blend-mode: overlay;
  }

  .oilvid-section svg {
    height: 4rem;
    color: #002d4b;

  }
}

@media (min-width: 768px) and (max-width: 991px) {

  /* Tablet-specific fixes */
  .tab-about {
    display: flex;
    flex-direction: column !important;
  }

  .offer-box {
    border: none !important;
  }

  .tab-service {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 equal columns */
    width: 100% !important;
  }
  .tab-service div{
    width: 100%;
  }
  .box{
    height: 15rem !important;
    padding: 1rem !important;
    /* width: 10rem !important; */
  }

}