/*! HTML5 Boilerplate v9.0.0-RC1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
  background-color: #ffffff;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
/* General style */

body {
  margin: 0;
}

/* .debuggen {
  border: 1px solid lime; 
} */

.divider {
  width: 100%;
  margin: 0 auto;
  border-top: 1.75px solid #f4f4f5;
}

.invalid-feedback,
.empty-feedback {
  display: none;
}

.was-validated :placeholder-shown:invalid ~ .empty-feedback {
  display: block;
}

.was-validated :not(:placeholder-shown):invalid ~ .invalid-feedback {
  display: block;
}

.is-invalid,
.was-validated :invalid {
  border-color: #dc3545;
}

.text-gray-500{
  color: #999;
}
.text-green-500{
  color: #099247;
}
.text-red-500{
  color: #dc3545;
}

.text-sm {
  font-size: 0.875rem; /* This is the equivalent of text-sm (14px) */
}

.mt-1 {
  margin-top: 0.25rem; /* This is the equivalent of mt-1 (4px) */
}


/* Navbar */

.header {
  position: relative;
}

.bg-header {
  height: 15px;
  background-color: #099247;
}

.header .container {
  width: 91%;
  margin: 0 auto; 
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
}

.logo img {
  object-fit: fill;
  max-width: 100%;
  height: auto;
  display: block;
  width: 225px;
  mix-blend-mode: multiply;
}

.menu-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-icon .bar {
  width: 25px;
  height: 3px;
  background-color: #0F172a;
  margin: 4px 0;
  transition: 0.4s;
}

.navbar {
  display: flex;
  gap: 15px;
}

.nav-link {
  text-decoration: none;
  color: #0F172a;
  position: relative;
  margin-left: 1.5rem;
  font-weight: 500;
  font-size: 15px;
}

.nav-link:hover:not(.active) {
  color: #099247;
}

.nav-link::after {
  content: '';
  height: 8px;
  display: block;
  width: 0;
  height: 2px;
  background: #099247;
  transition: width 0.3s;
  position: absolute;
  bottom: -2px;
  left: 35%;
}

.nav-link.active::after {
  width: 45%;
}

/* Active menu icon styling */
.menu-icon.active .bar:nth-child(1) {
  transform: rotate(-45deg) translate(-10px, 9px);
}

.menu-icon.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-icon.active .bar:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Sticky navbar style */

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: #ffffff; /* Default background color */
  transition: background-color 0.3s ease;
}

/* Change color when scrolled */
.sticky.scrolled {
  background-color: #ffffff;
}

/* Adjust the container inside the sticky header */
.sticky .container {
  width: 91%;
  margin: 0 auto;
}


/* Back to Top Button Styles */
.back-to-top {
  position: fixed;
  z-index: 50;
  padding: 12px;
  background-color: #099247; /* Red-600 */
  color: white;
  font-family: 'Arial', sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  border-radius: 50%;
  /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
  bottom: 45px;
  right: 10px;
  transition: background-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  border: 1px solid #099247;
  cursor: pointer;
}

/* Icon Styles */
.back-to-top svg {
  width: 16px;
  height: 16px;
}

/* Footer section */

.footer > .container {
  width: 91%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-auto-flow: dense;
  gap: 35px;
  font-size: 0.85rem;
}

.footer-section {
  flex: 1;
  padding: 10px;
}

.footer-section h4 {
  margin-top: 15px;
  margin-bottom: 0;
  padding-bottom: 25px;
}

.footer-section:first-child {
  display: flex;
  flex-direction: column;
}

.footer-section:first-child .social-links {
margin-top: 15px;
}

.footer-section:nth-child(2) a {
  display: flex;
  color: #000;
  font-size: larger;
  text-decoration: none;
  padding: 10px 0;
  margin: 15px 0;
  border-bottom: #ccc 1px solid;
}

.footer-section:nth-child(3) > div {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.footer-section:nth-child(3) > div > img {
  width: 80%;
}

.social-links > a {
  text-decoration: none;
}

.social-links > a > img {
  padding: 0 5px;
  width: 25px;
}

.contact-icons {
  display: flex;
  align-items: center;
}

.contact-icons > span {
  margin-right: 10px;
}

.contact-icons > span > img {
  width: 25px;
}

.contact-icons > a {
  text-decoration: none;
  color: #000;
}

.copyright {
  text-align: center;
  padding: 10px;
  border-top: 0.75px solid #ccc;
  background-color: #099247;
  color: #f4f4f4;
}

/* 404 page */
.container404 > a {
  width: 210px;
  height: 30px;
  background: #099247;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  margin-top: 20px;
  text-decoration: none;
}

.container404 {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Homepage */

/* Banner */

.banner {
  background-color: #f0f6fa;
  padding-top: 15px;
  overflow: hidden;
  position: relative;
}

.banner-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}


.slide {
  min-width: 100%;
  box-sizing: border-box;
}

.slide > .container > .left-div{
  display: flex;
  align-content: center;
  flex-direction: column;
}

.slide > .container > .left-div{
  display: flex;
  align-content: center;
  flex-direction: column;
}

.left-div {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  margin-right: 20px;
  height: 75vh;
}

.left-div h1 {
  font-size: 75px;
  margin: 0 0 30px 0;
}

.left-div p {
  margin: 0 0 20px 0;
  font-size: larger;
}

.left-div button {
  width: 210px;
  height: 45px;
  background: #099247;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  margin-top: 20px;
}

.right-div {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 150px;
}

.right-div img {
  max-width: 100%;
  height: auto;
}

.slider-controls {
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
  padding-bottom: 35px;
  gap: 10px;
}

.slider-controls div {
  width: 75px;
  height: 10px;
  background-color: #ffffff;
  cursor: pointer;
}

.slider-controls .active {
  background-color: #099247;
}

/* Bio */

.slide > .container,
.bio > .container{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  padding: 5px 0;  
  width: 91%;
  margin: 0 auto;
}

.bio > .container > .right-div > img {
  width: 75%;
}

/* Figures */

.figures{
  padding: 30px 0;
  margin-bottom: 35px;
  background-color: #dfefdf;
}

.clients,
.brands,
.employee,
.offices{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #099247;
}

.employee > div:nth-child(3) p{
  margin-bottom: 0;
}

.figures h4{
  font-size: 1.5rem;
  color: #099247;
  width: 91%;
  margin: 0 auto;
}

.container-figure{
  display: flex;
  justify-content: space-between;
  width: 91%;
  margin: 0 auto;
  padding-top: 25px;
}

/* Testimonial */

.testimonial {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 91%;
  margin: 0 auto;
  padding: 100px 0 150px 0;
  overflow: hidden;
}

.testimonial h1 {
  padding: 0;
  margin: 0 0 30px 0;
}

.testimonial h3 {
  color: #099247;
  margin-bottom: 0;
}

.testi h4:last-child {
  text-align: right;
}

.testi {
  flex: 0 0 auto;
  width: 250px;
  height: 290px;
  margin-right: 2rem;
  border: 1px solid #ccc;
  padding: 25px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

.testi h4 {
  margin: 0;
  color: #333;
}

.testi > div:last-child{
  margin-bottom: 0;
}


/* Products page */
.container-products{
  width: 91%;
  margin: 0 auto;
}

.container-products > h1{
    padding: 20px 0;
  }

.container-products > h1::after{
  content: '';
  display: block;
  width: 10%;
  height: 2px;
  background: #099247;
  position: absolute;
  left: 45%;
  transition: width 0.3s ease;
}

.container-products > h1,
.container-products > p{
  margin: 0 150px;
  text-align: center;
}

.scroll-slider {
  overflow-x: auto;
  padding: 1rem 0;
  display: flex;
  scroll-snap-type: x mandatory;
  scroll-padding: 1rem;
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: transparent transparent; /* Firefox */
  cursor: grab;
}

.grid-card {
   display: grid;
   grid-auto-flow: column;
   grid-auto-columns: 300px;
   gap: 1.5rem;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  overflow: hidden;
  width: 300px;
}

.card a {
  display: block;
  width: 100%;
  height: 100%;
}

.card-img {
  width: 100%;
  height: auto;
}

.card-img img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;

}

.card-content {
  padding: 0.75rem;
  background: white;
  box-sizing: border-box;
  width: 100%;
}

.card-content h2 {
  margin-bottom: 0.5rem;
}

section{
  margin: 75px 0;
}

section:not(.our-brands) > h1 {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  margin: 0;
}

section:not(.our-brands) > h1::after {
  content: '';
  display: block;
  width: 50%;
  height: 2px;
  background: #099247;
  position: absolute;
  bottom: 0;
  left: 0;
  transition: width 0.3s ease;
}

.our-brands > h1::after {
  content: '';
  display: block;
  width: 10%;
  height: 2px;
  background: #099247;
  position: absolute;
  left: 45%;
  transition: width 0.3s ease;
}

.our-brands h1 {
  font-size: 2.5rem;
  margin: 0 0 75px 0;
  text-align: center;
  font-weight: 500;
}

.label-item {
  flex: 0 0 auto;
  width: 350px;
  margin-right: 4rem;
}

.image {
  display: block;
  max-width: 100%;
  transition: transform 0.1s;
}

.image:hover {
  transform: scale(0.99);
}

.scroller {
  max-width: 100%;
  position: relative;
  overflow: hidden;
}

.scroller__inner {
  padding-block: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.scroller[data-animated="true"] {
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
  mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

.scroller[data-animated="true"] .scroller__inner {
  width: max-content;
  animation: scroll var(--_animation-duration, 40s) var(--_animation-direction, forwards) linear infinite;
}

.scroller[data-animated="true"] .scroller__inner:hover {
  animation-play-state: paused;
  cursor: grabbing;
}

.scroller[data-direction="right"] {
  --_animation-direction: reverse;
}

.scroller[data-speed="fast"] {
  --_animation-duration: 20s;
}

.scroller[data-speed="slow"] {
  --_animation-duration: 60s;
}

@keyframes scroll {
  to {
    transform: translate(calc(-50% - 0.5rem));
  }
}

.scroller::before,
.scroller::after {
  content: "";
  height: 100%;
  width: 10%;
  position: absolute;
  top: 0;
  z-index: 2;
}

.scroller::before {
  left: 0;
  background: linear-gradient(to right, white, transparent);
}

.scroller::after {
  right: 0;
  background: linear-gradient(to left, white, transparent);
}

/* About us page */

.about-us{
  background-color: #099247;
  height: 40vh;
  position: relative;
}

.about-us h1{
  color: #fff;
  text-align: center;
  font-size: 3rem;
  font-weight: 400;
  padding-top: 35px;
  margin: 0;
}

.overflow-container{
  background-color: #fff;
  border: 1px solid #D9D9D9;
  padding: 75px;
  width: 75%;
  margin: 0 auto;
  position: absolute;
  top: 35%;
  left: 8%;
  }

.overflow-container > div{
  margin-top: 0;
  z-index: 1; 
}

.spacer{
  margin-bottom: 60vh;
}

.ceo{
  width: 91%;
  margin: 0 auto;
  padding-bottom: 100px;
}

.ceo p:first-child{
 font-size: 1.25rem;
}

.ceo p:last-child{
  text-align: right;
 }

 blockquote {
  margin: 20px;
  padding: 20px 40px;
  position: relative;
  font-style: italic;
  font-size: 1.2em;
}

blockquote:before, blockquote:after {
  content: "“";
  font-size: 4em;
  position: absolute;
  color: #ccc;
}

blockquote:before {
  bottom: 0px;
  left: -20px;
}

blockquote:after {
  content: "”";
  bottom: 0;
  right: 0;
}

.vision-mission{
  width: 91%;
  margin: 0 auto;
}

.vision-mission h1,
.vision-mission p{
  text-align: center;
  line-height: 0.75;
}

.grid-vision-mission{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8rem;
  margin-top: 50px;
}

.vision h2,
.mission h2,
.our-values h2{
  border-bottom: 1px solid #ccc;
}

.our-values{
  padding: 100px 0;
}

/* Contact us page */

.contact-us{
  margin-bottom: 50px;
  position: relative;
}

.contact-us h1,
.careers h1{
  text-align: center;
  padding-bottom: 20px;
  margin: 15px 0;
}

.contact-us p{
  line-height: 0.75;
  text-align: center;
}

.contact-us > h1::after ,
.careers > h1::after{
  content: '';
  display: block;
  width: 10%;
  height: 2px;
  background: #099247;
  position: absolute;
  left: 45%;
  transition: width 0.3s ease;
}

.form {
  margin: 85px 0;
}

form {
  width: 1024px;
  max-width: fit-content;
  display: flex;
  margin: 0 auto;
  flex-direction: column;
}

.form-flex{
  display: flex;
  gap: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
}

.form-input{
  width: 100%;
  height: 35px;
  border: 1px solid;
  text-indent: 8px;
}

input:focus {
  outline: none;
  border-color: #099247;
}

textarea{
  border: 1px solid #099247;
  width: 100%;
}

label {
  cursor: pointer;
  display: inline-block;
  min-width: 140px;
  vertical-align: top;
}

.btn-form{
  background-color: #099247;
  border-radius: 6px;
  border: 0;
  font-size: 1.2rem;
  color: #f4f4f5;
  padding: 10px 0;
}


.stick{
  position: absolute;
  bottom: 0;
  background-color: #099247;
  height: 200px;
  width: 50px;
}

/* Careers page */

.careers{
  position: relative;
}

.careers > h1::after{
  content: '';
  display: block;
  width: 5%;
  height: 2px;
  background: #099247;
  position: absolute;
  left: 47.5%;
  transition: width 0.3s ease;
}

.careers p{
  line-height: 0.75;
  text-align: center;
}

.resume-center{
 display: flex;
 justify-content: center;
 margin: 60px 0;
}

.resume-center img{
  object-fit: cover;
  width: 100%;
  height: 350px;
}




/* Media Queries - Mobiles deviced */

@media (max-width: 480px) {
  /* Header */

  .header .container{
    display: block;    
  }

  .menu-icon {
    display: flex;
  }

  .navbar {
    display: none;
    flex-direction: column;
    width: 100%;
    text-align: center;
    padding: 20px 0;
  }

  .navbar a {
    border-bottom: #ccc 1px solid;
    padding: 10px 0;
  }

  .nav-link::after,
  .nav-link.active::after {
    display: none;
  }

  .navbar.active {
    display: flex;
  }

  /* Slider */

  .slide > .container{
    display: flex;
    justify-content: center;
    flex-direction: column;
  }

  .right-div{
    padding: 50px 0;
  }

  /* Bio */

  .bio > .container{
    display: flex;
    flex-direction: column;
  }

  /* Figures */

  .container-figure{
    flex-direction: column;
  }

  /* Testimonial */

  .testimonial > h3,
  .testimonial > h1{
    text-align: center;
  }

  /* About us page */

  .about-us{
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .overflow-container{
    position: inherit;
    padding: 25px 50px 25px 50px;
    width: auto;
  }
  
  .spacer{
    margin-bottom: 0;
  }

  .grid-vision-mission{
    grid-template-columns: auto;
    gap: 2rem;
  }

  .vision-mission h1,
  .vision-mission p{
    line-height: 1.2;
  }

  /* Products page */

  .container-products > h1, .container-products > p {
    margin: 0 10px;
  }

  /* Contact page */

  .contact-us p,
  .careers p{
    line-height: 1.5;
    padding: 0 5px;
  }

  .form{
    padding: 0 35px;
  }

  .stick{
    display: none;
  }
}


/* Media Queries - Tablet devices */
@media (max-width: 768px) {
  /* Tablet styles */

  /* Navbar */

  .header .container{
    display: block;    
  }

  .menu-icon {
    display: flex;
  }

  .navbar {
    display: none;
    flex-direction: column;
    width: 100%;
    text-align: center;
    padding: 20px 0;
  }

  .navbar a {
    border-bottom: #ccc 1px solid;
    padding: 10px 0;
  }

  .nav-link::after,
  .nav-link.active::after {
    display: none;
  }

  .navbar.active {
    display: flex;
  }

  /* Slider */

  .slide > .container{
    display: flex;
    justify-content: center;
    flex-direction: column;
  }

  .right-div{
    padding: 50px 0;
  }

  /* Bio */

  .bio > .container{
    display: flex;
    flex-direction: column;
  }

  /* Figures */

  .container-figure{
    flex-direction: column;
  }

  /* Products page */

  .container-products > h1, 
  .container-products > p {
    margin: 0 5px;
  }

  /* Contact page */

  .contact-us p,
  .careers p{
    padding: 0 5px;
    line-height: 1.5;
  }

  .form{
    padding: 0 35px;
  }

  .stick{
    display: none;
  }
  
}

/* Media Queries - For difficulty queries [Home page]*/
@media (min-width: 769px) and (max-width: 1000px) {
  .left-div h1{
    font-size: 3rem;
  }
}

/* Media Queries - For difficulty queries [about-us]*/
@media (max-width: 1304px) {
  .about-us{
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .overflow-container{
    position: inherit;
    padding: 25px 50px 25px 50px;
    width: auto;
  }
  
  .spacer{
    margin-bottom: 0;
  }

  .grid-vision-mission{
    grid-template-columns: auto;
    gap: 2rem;
  }

  .vision-mission h1,
  .vision-mission p{
    line-height: 1.2;
  }

  .ceo{
    padding: 100px 0;
  }



 
  
}



/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

