@font-face {
  font-family: "Open Sans";
  src: url("../fonts/OpenSans-VariableFont_wdth,wght.ttf") format("truetype");
  font-weight: 200 300 400 600;
  font-style: normal;
  font-display: swap;
}
body {
  margin: 0;
  padding: 0;
  font-family: "Open Sans", Arial, sans-serif;
  background: #1e1e1e;
  line-height: 25px;
}
/* Explicit heading sizes inside sectioning elements to avoid UA changes */
article h1,
aside h1,
nav h1,
section h1,
header h1,
footer h1 {
  font-size: 2.125rem; /* ~34px */
  line-height: 1.2;
}

/* Desktop-specific explicit heading sizes to satisfy Chrome's requirement */
@media (min-width: 992px) {
  .header h1 { font-size: 44px; }
  .header h3 { font-size: 28px; }
  .company-section h1 { font-size: 34px; }
  .en-affiliated-section h1 { font-size: 34px; }
  .affiliated-section h1 { font-size: 34px; }
  .profile-section h1 { font-size: 34px; }
}

/* Flat selectors (non-nested) to ensure headings always have sizes */
.header h1 { padding-top: 21rem; font-size: 44px; font-weight: 600; }
.header h3 { font-weight: 300; font-size: 28px; margin-top: 15px; }
.profile-section h1 { font-size: 34px; }
.company-section h1 { font-size: 34px; }
.en-affiliated-section h1 { font-size: 34px; }
.affiliated-section h1 { font-size: 34px; }
.navbar {
  transition: all 0.3s ease-in-out;
  z-index: 123;
}
.navbar-nav {
  transition: all 0.3s ease-in-out;
  transform: scale(1.02);
}

.navbar .navbar-brand img {
  height: 33px;
  width: auto;
  transform: none;
  transition: none;
  display: block;
}
.navbar-nav .nav-link {
  position: relative;
  transition: color 0.6s ease;
  font-size: 14px;
}

.navbar.scrolled {
  background-color: white !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.navbar.scrolled .navbar-nav {
  transform: scale(1);
}
.navbar.scrolled .navbar-brand img {
  opacity: 1;
  transform: scale(1);
}

.nav-item:hover {
  text-decoration: underline;
  text-underline-offset: 7px;
  color: #fff;
}
.nav-link {
  color: #a8a8a8;
  margin-bottom: 5px;
  :hover {
    text-decoration: underline;
    text-underline-offset: 7px;
  }
}
.nav-link.active {
  text-underline-offset: 7px;
  text-decoration: underline;
}
.navbar.scrolled .nav-item:hover {
  color: #000;
}
.navbar.scrolled .nav-link {
  color: #a8a8a8;
}
.navbar.scrolled .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1.5px;
  left: 0;
  bottom: 6.6px;
  background-color: #000;
  transition: width 0.3s ease;
}

.navbar.scrolled .nav-link.active::after {
  width: 100%;
}
/* nav section end */

.header {
  background-image: url("https://manitoba-group.com/wp-content/uploads/2019/06/buildings-blur.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  text-align: center;
  margin: auto;
  color: #fff;
  height: 100vh;
  position: relative;
  .nav-link {
    color: #fff;
    margin-bottom: 5px;
    :hover {
      text-decoration: underline;
      text-underline-offset: 7px;
    }
  }
  .navbar .navbar-brand img {
    opacity: 1;
    height: 33px;
    width: auto;
    transform: none;
    transition: none;
  }
  .navbar.scrolled .navbar-brand img {
    opacity: 1;
    transform: none;
  }
  h1 {
    padding-top: 21rem;
    font-size: 44px;
    font-weight: 600;
  }
  h3 {
    font-weight: 300;
    font-size: 28px;
    margin-top: 15px;
  }
}
/* mouse animation start */
.scroll-mouse {
  display: block;
  width: 40px;
  height: 50px;
  margin: auto;
  cursor: pointer;
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  animation: mouseFloat 2s ease-in-out infinite;
}

/*  dot up->down + fade */
.scroll-mouse .scroll-dot {
  transform-origin: 20px 20px; /* cx, cy */
  animation: dotScroll 1.6s ease-in-out infinite;
}

.scroll-mouse:hover .border-anim {
  animation: drawBorder 0.6s linear forwards;
}

@keyframes mouseFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes dotScroll {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  80% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 0;
  }
}

/* hover border draw (top → around → top)  */
@keyframes drawBorder {
  0% {
    stroke-dashoffset: 100;
  }
  100% {
    stroke-dashoffset: 0;
  }
}
/* mouse animation end */
/*  top header section end */
.service-section {
  background-image: url(../images/consulting.jpeg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: #fff;
  height: 100vh;
  position: relative;
  z-index: 1;
  will-change: transform;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  .service-text-div {
    max-width: 610px;
    padding-top: 18rem;
    opacity: 0;
    transform: translateY(80px);
    animation-delay: 9s;
    transition: opacity 0.4s, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  small {
    display: block;
    margin-bottom: 30px;
  }
  h6 {
    margin-bottom: 15px;
    font-weight: 600;
  }
}
.header h1,
.header h3 {
  transition: opacity 0.3s, transform 0.3s;
}
.parallax-inner {
  will-change: transform;
}
/* service section end */
.card-section {
  background: #1e1e1e;
  /* padding-top: 6rem; */
  padding-bottom: 44px;
  min-height: 200px;
  position: relative;
  color: #fff;
  text-align: center;

  .card {
    background: #292929;
    height: 520px;
    padding: 25px;
    position: relative;
    opacity: 0;
    max-height: 0;
    text-align: left;
    overflow: hidden;
    transform: translateY(80px) scaleY(0);
    transform-origin: bottom;
    transition: opacity 0.6s ease,
      transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    /* top: -9rem; */

    h4 {
      margin-bottom: 25px;
      color: #277cbf;
      font-weight: 600;
    }
    p {
      color: #fff;
      font-size: 14px;
      font-weight: 200;
    }
  }
  .card.show {
    opacity: 1;
    transform: translateY(0) scaleY(1);
    max-height: 520px;
  }
  .card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 6px;
    background: #000000;
    transition: width 0.4s ease;
  }

  .card:hover::after {
    width: 100%;
  }

  .card:hover {
    background: #232323;
  }
}
#card-section,
#affiliated-companies {
  scroll-margin-top: 15rem;
}
/* card section end */
.affiliated-section {
  margin: auto;
  text-align: center;
  color: #fff;
  padding-bottom: 2rem;
  padding-top: 6rem;
  h1 {
    font-weight: 600;
    font-size: 34px;
  }
  p {
    font-weight: 600;
  }
}
/* affiliated section end */
.profile-section {
  padding: 4rem 0 15rem 0;
  background-image: image-set(
    url(../images/profile-section-banner-1400-q45.webp) type("image/webp") 1x,
    url(../images/profile-section-banner-1400-q45.jpg) type("image/jpeg") 1x
  );
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  /* text-align: center; */

  h1 {
    color: #4797d6;
    font-weight: 600;
    margin-bottom: 40px;
    font-size: 34px;
  }
  .row {
    margin-left: auto;
    color: #fff;
    p {
      line-height: 10px;
    }
  }
  /* .table {
    border: none !important;
    text-align: left;
    font-size: 13px;
    td {
      padding: 12px 12px 12px 15px;
      border: 1px solid #ededed;
    }
    td:first-child {
      padding-right: 50px;
    }
  }
  .table-striped > tbody > tr:nth-of-type(odd) {
    --bs-table-accent-bg: #fcfcfc;
    color: inherit;
  } */
  h1,
  .table {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
  }
}
@media (min-width: 1200px) {
  .profile-section {
    background-image: image-set(
      url(../images/profile-section-banner-1920-q45.webp) type("image/webp") 1x,
      url(../images/profile-section-banner-1920-q45.jpg) type("image/jpeg") 1x
    );
  }
}
.profile-section h1,
.profile-section table {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.profile-section.show h1 {
  opacity: 1;
  transform: translateY(0);
}

.profile-section.show table {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}
/* profile section end */

/* home page end */

.inquery-header {
  .navbar {
    background-color: #fff;
  }
}
/* inquery header end */
.inquiry-form-section {
  margin-top: 130px;
  input {
    background: #f5f5f5;
    border-radius: 5px;
    border: none;
    height: 50px;
    margin-bottom: 25px;
  }
  label {
    color: #676767;
    font-size: 14px;
  }
  textarea {
    height: 265px;
    background: #f5f5f5;
    border-radius: 5px;
    border: none;
  }
  button {
    background: #000000;
    padding: 10px 20px;
    color: #fff;
    margin-bottom: 40px;
    font-weight: 600;
  }
}
/* inquery form end */
/* inquery page end */
.company-section {
  background: #ffffff;
  padding: 85px 0;

  .company-icon {
    display: flex;
    column-gap: 6rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 5rem;
    img {
      width: 100px;
    }
  }
  h1 {
    text-align: center;
    color: #424242;
    font-size: 34px;
    font-weight: 400;
  }
  p {
    text-align: center;
    color: #939393;
    font-weight: 600;
    font-size: 16px;
  }
  .company-txt-div {
    max-width: 900px;
    margin: auto;
    p {
      color: #939393;
      font-size: 16px;
      text-align: left;
      font-weight: 400;
    }
    h6 {
      font-weight: 600;
    }
  }
}
.en-affiliated-section {
  padding-top: 87px;
  padding-bottom: 76px;
  h1 {
    text-align: center;
    color: #fff;
    font-size: 34px;
    font-weight: 600;
  }
  p {
    color: #bdbdbd;
    font-size: 16px;
    text-align: center;
    font-weight: 600;
  }
  .en-affiliated-txt-div {
    max-width: 900px;
    margin: auto;
    margin-top: 80px;
    h6 {
      font-weight: 600;
      color: #fff;
    }
    p {
      text-align: left;
      font-weight: 400;
    }
  }
}
/* index english page end */
.footer {
  background: #252525;
  padding: 20px 0;
  color: #5a5a5a;

  p {
    margin-bottom: 0;
  }
}
/* footer end */
