/* ANCHOR Common */

.clip-path-svg {
  width: 0;
  height: 0;
}

.clip-path-svg .svg-wrapper {
  display: block;
  width: 100%;
  height: 8rem;
}

.header-row,
.header-row .buttons {
  display: flex;
  align-items: center;
}

.header-row {
  margin-bottom: 8rem;
}

.header-row .mgc-section-title {
  margin-bottom: 0;
}

.header-row .buttons button {
  width: 3rem;
  padding: 0;
}

.header-row .buttons button:not(:last-child) {
  margin-inline-end: 1rem;
}

.mgc-section-title-dots {
  display: flex;
  align-items: center;
  margin-inline-end: 2rem;
}

.mgc-section-title-dots .dot {
  display: block;
  width: 1.25rem;
  aspect-ratio: 1/1;
  border-radius: 100%;
}

.mgc-section-title-dots .dot:not(:last-child) {
  margin-inline-end: 0.5rem;
}

.mgc-section-title-dots .dot:first-child {
  background-color: #c4d600;
}

.mgc-section-title-dots .dot:nth-child(2) {
  background-color: #95d600;
}

.mgc-section-title-dots .dot:last-child {
  background-color: #3fae2a;
}

/* ANCHOR Home video and home banners */

.video-banners {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-banners > div:first-child {
  position: static !important;
}

.home-video,
.video-wrapper {
  width: 100%;
  aspect-ratio: 21/9;
}

.home-video {
  background-color: #f3f5f9;
}

.video-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-banners {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-banners-carousel {
  width: 30%;
  height: 50%;
  z-index: 1;
}

.home-banners-carousel .carousel-inner,
.home-banners-carousel .carousel-item,
.home-banners-carousel .home-banner-wrapper {
  height: 100%;
}

.home-banners-carousel .carousel-inner {
  background-color: #000a8899;
  border-radius: 1.5rem;
}

.home-banners-carousel .carousel-item {
  padding: 0 15%;
  color: white;
}

.home-banners-carousel .home-banner-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.home-banners-carousel .home-banner-title,
.home-banners-carousel .home-banner-text {
  text-align: center;
}

.home-banners-carousel .home-banner-title {
  --max-lines: 5;
  display: -webkit-box;
  margin-bottom: 2rem;
  font-weight: bold;
  font-size: 1.5rem;
  overflow: hidden;
  line-clamp: var(--max-lines);
  -webkit-line-clamp: var(--max-lines);
  -webkit-box-orient: vertical;
}

.home-banners-carousel .home-banner-title:only-child {
  margin-bottom: 0;
}

.home-banners-carousel .home-banner-text {
  --max-lines: 5;
  display: -webkit-box;
  margin-bottom: 0;
  font-size: 1.2rem;
  overflow: hidden;
  line-clamp: var(--max-lines);
  -webkit-line-clamp: var(--max-lines);
  -webkit-box-orient: vertical;
}

.video-banners-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
}

/* ANCHOR Slogan section */

.mgc-section.slogan {
  background-image: linear-gradient(transparent 0%, #d8f0fd 75%, transparent 100%);
}

/* ANCHOR Products and services section */

.mgc-section.products-services .subsections-wrapper,
.mgc-section.products-services .cards-col {
  display: flex;
  justify-content: center;
}

.mgc-section.products-services,
.mgc-section.latest-news {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

.mgc-section.products-services .curve-wrapper,
.mgc-section.latest-news .curve-wrapper {
  width: calc(100% + calc(18rem * 2));
  height: 12rem;
  background-color: #f3f5f9;
  overflow: hidden;
  transform: translate(-18rem, 8rem);
}

[lang="ar"] .mgc-section.products-services .curve-wrapper,
[lang="ar"] .mgc-section.latest-news .curve-wrapper {
  transform: translate(18rem, 8rem) scaleX(-1);
}

.mgc-section.products-services .curve-wrapper {
  z-index: -1;
}

.mgc-section.products-services .curve {
  filter: drop-shadow(0 0.75rem 0.5rem gainsboro);
}

.mgc-section.products-services .curve::after,
.mgc-section.latest-news .curve::after {
  content: "";
  display: block;
  width: 100%;
  height: 8rem;
  clip-path: url("#curve");
  background-color: white;
  background-image: url("../Images/clip-path-border.svg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position-y: bottom;
}

.mgc-section.products-services .cards-col {
  flex-direction: column;
  flex: 1 0 0%;
}

.mgc-section.products-services .sub-card-wrapper {
  width: 100%;
  padding: 2rem 1rem;
}

.mgc-section.products-services .sub-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  aspect-ratio: 3/4;
  padding: 2rem;
  background-color: white;
  border-radius: 1.5rem;
  box-shadow: 0 2rem 3rem gainsboro;
  transition: transform 0.2s linear;
}

.mgc-section.products-services .sub-card:hover {
  transform: scale(1.1);
}

.mgc-section.products-services .sub-card-img {
  margin-bottom: 1rem;
}

.mgc-section.products-services .sub-card-title {
  margin-bottom: 1.5rem;
  color: #000a88;
  font-size: 1.2rem;
  font-weight: bold;
}

.mgc-section.products-services .sub-card-text {
  margin-bottom: 0;
  font-size: 1rem;
}

/* ANCHOR MGC in numbers */

.mgc-in-numbers {
  padding: 8rem 0;
  background-image: linear-gradient(#f3f5f9 20%, transparent 100%);
}

.mgc-in-numbers .header-row {
  padding: 0.5rem 18rem;
}

.mgc-in-numbers .header-row .buttons {
  margin-inline-start: auto;
}

.mgc-in-numbers .scroller .scroller-item {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  height: 30rem;
  padding-top: 3rem;
  padding-inline-start: 5rem;
}

.mgc-in-numbers .scroller-item.slick-current .scroller-item-wrapper,
.mgc-in-numbers .scroller-item.slick-next .scroller-item-wrapper {
  opacity: 1;
  transform: scale(1);
}

.mgc-in-numbers .scroller-item.slick-active:not(.slick-current) .scroller-item-wrapper,
.mgc-in-numbers .scroller-item.slick-current + .scroller-item .scroller-item-wrapper,
.mgc-in-numbers .scroller-item:has(+ .scroller-item.slick-current) .scroller-item-wrapper,
.mgc-in-numbers .scroller-item.slick-next-active .scroller-item-wrapper {
  opacity: 0.6;
  transform: scale(0.75);
}

.mgc-in-numbers .scroller .scroller-item-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  width: 100%;
  height: 100%;
  padding: 1rem;
  background-color: white;
  border-radius: 3rem 6rem;
  border: 1px solid #c4d600;
  opacity: 0.5;
  transform: scale(0.5);
  transition:
    opacity 0.2s linear,
    transform 0.2s linear;
}

[lang="ar"] .mgc-in-numbers .scroller .scroller-item-wrapper {
  border-radius: 6rem 3rem;
}

.mgc-in-numbers .scroller .scroller-item-wrapper::before,
.mgc-in-numbers .scroller .scroller-item-wrapper::after {
  content: url("../Images/corners.svg");
  position: absolute;
  width: 6rem;
  aspect-ratio: 1/1;
}

.mgc-in-numbers .scroller .scroller-item-wrapper::before {
  top: -1px;
  right: -1px;
}

[lang="ar"] .mgc-in-numbers .scroller .scroller-item-wrapper::before {
  left: -1px;
  right: auto;
  transform: scaleX(-1);
}

.mgc-in-numbers .scroller .scroller-item-wrapper::after {
  bottom: -1px;
  left: -1px;
  transform: scale(-1);
}

[lang="ar"] .mgc-in-numbers .scroller .scroller-item-wrapper::after {
  left: auto;
  right: -1px;
  transform: scaleY(-1);
}

.mgc-in-numbers .scroller .item-img {
  flex: 0 0 auto;
  height: calc(50% + 3rem + 1px);
  object-fit: contain;
  object-position: left;
  transform: translate(calc(-6rem - 1px), calc(-4rem - 1px));
}

[lang="ar"] .mgc-in-numbers .scroller .item-img {
  object-position: right;
  transform: translate(calc(6rem - 1px), calc(-4rem - 1px));
}

.mgc-in-numbers .item-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1 0 0%;
  margin-top: -3rem;
}

.mgc-in-numbers .item-text p {
  margin-bottom: 0;
  font-weight: bold;
  text-align: center;
}

.mgc-in-numbers .item-title {
  font-size: 1.2rem;
  color: #000a88;
}

.mgc-in-numbers .item-val {
  font-size: 4.25rem;
  color: #3fae2a;
}

.mgc-in-numbers .item-unit {
  font-size: 1.5rem;
}

/* ANCHOR Awards and Certificates */

.animated-scroller,
.animated-scroller-item .item-trigger {
  display: grid;
}

.animated-scroller {
  --w: calc(100vw - 36rem);
  width: var(--w);
  background-color: #f3f5f9;
}

.animated-scroller::before,
.animated-scroller::after,
.animated-scroller-wrapper,
.animated-scroller-item .item-trigger::before,
.animated-scroller-item .item-trigger::after,
.animated-scroller .award-cert-img {
  grid-row: 1;
  grid-column: 1;
}

.animated-scroller::before,
.animated-scroller::after {
  content: "";
  display: block;
  width: 8rem;
  height: 100%;
  background-image: linear-gradient(var(--fade-dir), transparent 15%, #f3f5f9 25%, transparent);
  translate: calc(25% * var(--fade-factor));
}

.animated-scroller::before,
[lang="ar"] .animated-scroller::after {
  --fade-dir: to right;
  --fade-factor: -1;
}

[lang="ar"] .animated-scroller::before,
.animated-scroller::after {
  --fade-dir: to left;
  --fade-factor: 1;
}

.animated-scroller::before {
  z-index: 1;
}

.animated-scroller::after {
  justify-self: end;
}

.animated-scroller-wrapper {
  width: 100%;
  overflow: hidden;
}

.animated-scroller-inner,
.animated-scroller-item .item-wrapper {
  display: flex;
}

[lang="ar"] .animated-scroller-inner {
  flex-direction: row-reverse;
}

.animated-scroller-item {
  --item-w: calc(var(--w) / 3);
  --speed: 5s;
  --duration: calc(var(--count) * var(--speed));
  --delay: calc(var(--speed) * (var(--index) - var(--count) + 1));
  --right: calc((var(--count) - var(--index) - 1) * 100%);
  --left: calc((var(--index) + 1) * -100%);
  --destination: var(--right);
  flex: 1 0 var(--item-w);
  max-width: var(--item-w);
  padding: 1.5rem;
  translate: var(--left);
  animation: scroll var(--duration) var(--delay) linear infinite;
}

.certs .animated-scroller-item {
  --destination: var(--left);
  translate: var(--right);
}

.animated-scroller:hover .animated-scroller-item {
  animation-play-state: paused;
}

.animated-scroller-item .item-wrapper {
  --h: 15rem;
  align-items: center;
  justify-content: center;
  height: var(--h);
}

.animated-scroller-item .img-wrap {
  display: inline-flex;
}

.animated-scroller-item .item-trigger {
  padding: 0;
  background: none;
  border: none;
  outline: none;
}

.animated-scroller-item .item-trigger::before,
.animated-scroller-item .item-trigger::after {
  --size: 4px;
  --speed: 2s;
  --from: transparent;
  --to: #95d600;
  content: "";
  margin: calc(-1 * var(--size));
  background-image:
    linear-gradient(var(--dir1), var(--from), var(--to) 50%, var(--from) 50%),
    linear-gradient(var(--dir2), var(--from), var(--to) 50%, var(--from) 50%);
  background-repeat: no-repeat;
  filter: brightness(108%);
}

.animated-scroller-item .item-trigger::before {
  --dir1: to right;
  --dir2: to left;
  background-position:
    100% 0,
    0 100%;
  background-size: 200% var(--size);
  z-index: 1;
}

.animated-scroller-item .item-trigger::after {
  --dir1: to top;
  --dir2: to bottom;
  background-position:
    0 0,
    100% 100%;
  background-size: var(--size) 200%;
}

.animated-scroller-item .item-trigger:hover::before,
.animated-scroller-item .item-trigger:hover::after {
  animation: var(--animation) var(--speed) linear infinite;
}

.animated-scroller-item .item-trigger:hover::before {
  --animation: flash-h;
}

.animated-scroller-item .item-trigger:hover::after {
  --animation: flash-v;
  animation-delay: calc(var(--speed) / 2);
}

.animated-scroller .award-cert-img {
  max-width: 100%;
  max-height: var(--h);
  object-fit: contain;
  transition: box-shadow 0.2s linear;
}

.awards-certs .modal {
  --x-pad: 1.5rem;
  --bs-modal-width: 50rem;
  --bs-modal-header-padding: 0rem;
  --bs-modal-header-border-width: 0px;
  --bs-modal-padding: 4rem var(--x-pad);
}

.awards-certs .modal-content {
  background-image: linear-gradient(to bottom, #f3f5f9 0%, transparent);
}

.awards-certs .modal-header {
  display: grid;
  align-items: start;
  justify-content: initial;
}

.awards-certs .modal-header .desc,
.awards-certs .modal-header .header-corner,
.awards-certs .modal-header button[name="close"] {
  grid-row: 1;
  grid-column: 1;
}

.awards-certs .modal-header .desc {
  align-self: end;
  display: flex;
  flex-direction: column;
  width: 75%;
  margin-bottom: 0;
  padding-top: 3rem;
  padding-inline-start: var(--x-pad);
  color: #00833e;
  font-size: 1.5rem;
  font-weight: bold;
}

.awards-certs .modal-header .desc .title:not(:only-child) {
  color: #3fae2a;
  font-size: 1.15rem;
  font-weight: bold;
}

.awards-certs .modal-header .header-corner,
.awards-certs .modal-header button[name="close"] {
  justify-self: end;
}

.awards-certs .modal-header .header-corner {
  width: 50%;
  scale: -1;
}

[lang="ar"] .awards-certs .modal-header .header-corner {
  scale: 1 -1;
}

.awards-certs .modal-header button[name="close"] {
  margin-top: 1.5rem;
  margin-inline-end: var(--x-pad);
  z-index: 0;
}

.awards .modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.awards .modal-body .award-img {
  max-width: 20rem;
  max-height: 20rem;
  margin-bottom: 4rem;
}

.awards .modal-body .authority {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  color: #3fae2a;
}

.awards .modal-body .year {
  margin-bottom: 0;
  color: #000a88;
  font-weight: bold;
}

.certs .modal-body {
  display: grid;
  grid-template-columns: 50% 50%;
}

.certs .modal-body .cert-img {
  grid-row: span 2;
  align-self: center;
  width: 100%;
  object-fit: contain;
}

.certs .modal-body .details,
.certs .modal-body .cert-desc {
  grid-column: 2;
  padding-inline-start: 2rem;
}

.certs .modal-body .details {
  grid-row: 1;
  margin-bottom: 2rem;
}

.certs .modal-body .details .key-val {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.certs .modal-body .details .key {
  margin-inline-end: 0.5rem;
  color: #000a88;
  font-weight: bold;
}

.certs .modal-body .cert-desc {
  grid-row: 2;
}

/* ANCHOR Latest news */

.latest-news {
  background-image: linear-gradient(transparent 0%, #f3f5f9 80%);
}

.article {
  position: relative;
  width: 100%;
  aspect-ratio: 2/3;
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: 0 0 0.5rem gainsboro;
}

.article .cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease-in-out;
}

.article:hover .cover {
  transform: scale(1.15);
}

.article .article-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 60%;
  padding: 1rem;
  color: white;
  background-image: linear-gradient(#000a8800 0%, #000a884c 10%, #000a88 100%);
  transform: translateY(calc(100% - 5rem));
  transition: transform 500ms ease-in-out;
  transition-delay: 500ms;
}

.article:hover .article-content {
  transform: translateY(0);
  transition-delay: 0s;
}

.article .article-content .title-wrapper {
  position: relative;
  padding-bottom: 1.25rem;
}

.article .article-content .title {
  display: -webkit-box;
  margin-bottom: 0;
  font-size: 1.25rem;
  overflow: hidden;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition:
    line-clamp 500ms ease-in-out,
    -webkit-line-clamp 500ms ease-in-out;
  transition-delay: 500ms;
}

.article:hover .article-content .title {
  line-clamp: 3;
  -webkit-line-clamp: 3;
  transition-delay: 0s;
}

.article .article-content .title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 4px;
  background-color: #95d600;
  transition: width 500ms ease-in-out;
  transition-delay: 500ms;
}

[lang="ar"] .article .article-content .title::after {
  left: auto;
  right: 0;
}

.article:hover .article-content .title::after {
  width: 50%;
}

.article .details {
  display: flex;
  flex-direction: column;
  flex: 1 0 0%;
  height: 100%;
  font-size: 1rem;
  opacity: 0;
  transition: opacity 500ms ease-in-out;
}

.article:hover .details {
  opacity: 1;
  transition-delay: 1.2s;
}

.article .details p {
  margin-bottom: 0.5rem;
}

.article .details .date {
  font-size: 0.9rem;
  font-weight: bold;
}

.article .details .text {
  display: -webkit-box;
  white-space: pre-line;
  overflow: hidden;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.article .details .read-more {
  width: 60%;
  margin-top: auto;
  font-size: 1rem;
}

.mgc-section.latest-news .curve-wrapper {
  display: flex;
}

.mgc-section.latest-news .curve {
  width: 100%;
  align-self: end;
  transform: scale(-1);
  filter: drop-shadow(0 -0.75rem 0.5rem gainsboro);
}

/* ANCHOR LPG calculator */

.lpg-calc .section-wrapper {
  position: relative;
  padding: 3rem;
  border-radius: 2.5rem;
  border: 2px solid #00833e;
  box-shadow: 0 0.5rem 0.5rem gainsboro;
}

.lpg-calc .mgc-section-title {
  width: fit-content;
  height: 3rem;
  margin-top: -1.5rem;
  margin-bottom: 0;
  padding: 0 1rem;
  background-color: white;
  transform: translateY(calc(-50% - 1.5rem));
}

.calc .units {
  margin-bottom: 0;
}

.calc .units li {
  display: flex;
  align-items: center;
}

.calc .units li:not(:last-child) {
  margin-bottom: 2rem;
}

.calc .units li::before {
  display: flex;
  height: 2rem;
  margin-inline-end: 2rem;
  background-image: none;
  border-radius: 100%;
  border: 3px solid white;
  box-shadow: 0 0 0.2rem #a6a9aa;
  transform: none;
}

.calc .units li:first-child::before {
  background-color: #3fae2a;
}

.calc .units li:nth-child(2)::before {
  background-color: #95d600;
}

.calc .units li:last-child::before {
  background-color: #c4d600;
}

.calc .units .lpg-unit {
  width: 15rem;
  padding: 1.5rem;
  outline: none;
  border: 3px solid;
  border-radius: 1.5rem;
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  color: #838383;
}

.calc .units li:first-child .lpg-unit {
  border-color: #3fae2a;
}

.calc .units li:nth-child(2) .lpg-unit {
  border-color: #95d600;
}

.calc .units li:last-child .lpg-unit {
  border-color: #c4d600;
}

.calc .units label {
  width: 100%;
  margin-inline-start: 3rem;
  font-size: 1.75rem;
  font-weight: bold;
}

.calc .units li:first-child label {
  color: #3fae2a;
}

.calc .units li:nth-child(2) label {
  color: #95d600;
}

.calc .units li:last-child label {
  color: #c4d600;
}

.lpg-calc .img-col .img-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 3rem !important;
}

/* ANCHOR Animations */

@keyframes scroll {
  to {
    translate: var(--destination);
  }
}

@keyframes flash-h {
  to {
    background-position:
      -100% 0,
      200% 100%;
  }
}

@keyframes flash-v {
  to {
    background-position:
      0 200%,
      100% -100%;
  }
}

/* ANCHOR Media queries */

/* Devices without hover */
@media (pointer: coarse) {
  .awards .carousel-item .cover {
    opacity: 0.15;
  }

  .article .cover {
    transform: scale(1.15);
  }

  .article .article-content {
    transform: translateY(0);
  }

  .article .article-content .title {
    line-clamp: 3;
    -webkit-line-clamp: 3;
  }

  .article .article-content .title::after {
    width: 50%;
  }

  .article .details {
    opacity: 1;
  }
}

/* Tablet size */
@media (max-width: 991px) {
  .home-video,
  .video-wrapper {
    aspect-ratio: 2/1;
  }

  .home-banners {
    top: 2rem;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .home-banners-carousel {
    width: 50%;
    height: 75%;
  }

  .home-banners-carousel .home-banner-title {
    --max-lines: 3;
    font-size: 1.2rem;
  }

  .home-banners-carousel .home-banner-text {
    --max-lines: 4;
    font-size: 0.9rem;
  }

  .mgc-section .img-col .img-wrapper {
    padding: 6rem;
  }

  .mgc-section.products-services .subsections-wrapper {
    padding-bottom: 3rem;
  }

  .mgc-section.products-services .curve::after,
  .mgc-section.latest-news .curve::after {
    height: 4rem;
  }

  .mgc-section.products-services .curve-wrapper,
  .mgc-section.latest-news .curve-wrapper {
    width: calc(100% + calc(4rem * 2));
    height: 8rem;
    transform: translate(-4rem, 4rem);
  }

  .mgc-in-numbers {
    padding: 4rem 0;
  }

  .mgc-in-numbers .header-row {
    padding: 0.5rem 4rem;
  }

  .header-row {
    margin-bottom: 6rem;
  }

  .mgc-in-numbers .scroller .scroller-item {
    height: 20rem;
    padding: 0;
  }

  .mgc-in-numbers .scroller .scroller-item-wrapper {
    padding: 2rem 1rem;
  }

  .mgc-in-numbers .scroller .item-img {
    height: 25%;
    transform: none;
    object-position: center;
  }

  .mgc-in-numbers .item-text {
    margin-top: 0;
  }

  .mgc-in-numbers .item-val {
    font-size: 2rem;
  }

  .animated-scroller {
    --w: calc(100vw - 8rem);
  }

  .latest-article-wrapper {
    padding: 1rem 0;
  }

  .calc .units {
    margin-bottom: 6rem;
  }
}

/* Large phone size */
@media (max-width: 650px) {
  .home-banners {
    display: none;
  }

  .mgc-section .img-col .img-wrapper {
    padding: 3rem;
  }

  .mgc-section.products-services .curve::after,
  .mgc-section.latest-news .curve::after {
    height: 2rem;
  }

  .mgc-section.products-services .curve-wrapper,
  .mgc-section.latest-news .curve-wrapper {
    width: calc(100% + calc(2rem * 2));
    height: 6rem;
    transform: translate(-2rem, 2rem);
  }

  .header-row {
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 4rem;
  }

  .header-row .mgc-section-title {
    flex: 1 0 0%;
    text-align: start;
  }

  .mgc-in-numbers {
    padding: 2rem 0;
  }

  .mgc-in-numbers .header-row {
    padding: 0 2rem;
  }

  .mgc-section.products-services .section-wrapper {
    flex-direction: column-reverse;
  }

  .mgc-section.products-services .subsections-wrapper {
    --gap-y: 2rem;
    flex-direction: column;
    margin-top: calc(var(--gap-y) * -1);
    padding: 3rem 0;
  }

  .mgc-section.products-services .cards-col {
    margin-top: var(--gap-y);
  }

  .mgc-section.products-services .sub-card-wrapper {
    padding: 0;
  }

  .mgc-section.products-services .sub-card-wrapper:not(:first-child) {
    margin-top: var(--gap-y);
  }

  .mgc-section.products-services .sub-card {
    display: grid;
    aspect-ratio: auto;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    justify-items: center;
    gap: 1rem;
  }

  .mgc-section.products-services .sub-card-img {
    grid-row: 1;
    grid-column: 1;
  }

  .mgc-section.products-services .sub-card-title {
    grid-row: 2;
    grid-column: 1;
    text-align: center;
  }

  .mgc-section.products-services .sub-card-img,
  .mgc-section.products-services .sub-card-title {
    margin-bottom: 0;
  }

  .mgc-section.products-services .sub-card-text {
    grid-row: span 2;
    grid-column: 2;
  }

  .mgc-in-numbers .header-row .buttons {
    width: 100%;
    justify-content: center;
    margin-top: 2rem;
  }

  .mgc-in-numbers .scroller .scroller-item-wrapper {
    border-width: 2px;
  }

  .awards .carousel .carousel-control {
    position: absolute;
    top: 0;
    bottom: 3rem;
    height: calc(100% - 3rem);
    border-radius: 0;
    background: none;
    color: #3fae2a;
    font-size: 1.25rem;
    z-index: 1 !important;
  }

  .animated-scroller {
    --w: calc(100vw - 4rem);
  }

  .certs .modal-body {
    grid-template-columns: 35% 65%;
  }

  .certs .modal-body .cert-img {
    grid-row: 1;
  }

  .certs .modal-body .details {
    margin-bottom: 0;
    padding-inline-start: 1.5rem;
    align-self: center;
  }

  .certs .modal-body .cert-desc {
    grid-column: span 2;
    margin-top: 2rem;
    padding-inline-start: 0;
  }

  .article .details .text {
    line-clamp: 2;
    -webkit-line-clamp: 2;
  }

  .lpg-calc .section-wrapper {
    padding: 2.5rem;
  }

  .lpg-calc .mgc-section-title {
    height: auto;
    margin-top: 0;
    margin-bottom: 3rem;
    transform: none;
  }

  .calc .units {
    margin-bottom: 4rem;
    padding: 0;
  }

  .calc .units .lpg-unit {
    width: 10rem;
    padding: 1rem;
    font-size: 1.75rem;
  }

  .calc .units label {
    margin-inline-start: 2rem;
    text-align: center;
    font-size: 1.5rem;
  }
}

@media (min-width: 511px) and (max-width: 650px) {
  .latest-article-wrapper {
    padding: 1rem;
  }

  .article {
    aspect-ratio: 3 / 2;
  }

  .article .article-content {
    height: 70%;
  }

  .article .article-content .title {
    font-size: 1.15rem;
    line-clamp: 2;
    -webkit-line-clamp: 2;
  }

  .article .details {
    font-size: 0.9rem;
  }
}

/* Phone size */
@media (max-width: 510px) {
  .mgc-section .text-col .text-content-wrapper,
  .mgc-section .img-col .img-wrapper {
    padding: 1rem;
  }

  .mgc-section.products-services .sub-card {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .mgc-section.products-services .sub-card-text {
    grid-row: 3;
    grid-column: 1;
    text-align: center;
  }

  .header-row {
    margin-bottom: 4rem;
  }

  .mgc-section-title-dots {
    margin-inline-end: 1.5rem;
  }

  .mgc-section-title-dots .dot {
    width: 1.15rem;
  }

  .mgc-section .mgc-section-action a {
    width: 100%;
  }

  .mgc-in-numbers .scroller .scroller-item-wrapper {
    padding: 3rem 1rem;
  }

  .mgc-in-numbers .item-title {
    font-size: 1.25rem;
  }

  .mgc-in-numbers .item-val {
    font-size: 1.75rem;
  }

  .mgc-in-numbers .item-unit {
    font-size: 1.5rem;
  }

  .animated-scroller-item {
    --item-w: calc(var(--w) / 2);
  }

  .awards .carousel-inner {
    aspect-ratio: 9/16;
  }

  .latest-article-wrapper {
    padding: 1rem 0;
  }

  .lpg-calc .section-wrapper {
    padding: 1.5rem;
  }

  .calc .units li {
    flex-direction: column;
  }

  .calc .units li::before {
    display: none;
  }

  .calc .units label {
    margin-top: 1rem;
    margin-inline-start: 0;
  }

  .lpg-calc .img-col .img-wrapper {
    padding: 0 !important;
  }
}
