*,
*::after,
*::before {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-padding-top: 120px;
}

body {
  font-family: 'Lato', sans-serif;
      color: #666666; /* 👈 charcoal grey */
}

main {
  margin-top: 150px;
}

.fb2022-copy {
  display: none;
}

a {
  text-decoration: none;
  color: black;
}

.copyright p a:hover {
  font-weight: bold;
  color: black;
}

input, textarea {
  border-radius: 0px;
  border: 1px solid #cbcbcbb6 !important;
}

input:focus, textarea:focus {
  outline: 0px !important;
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
  border: 1px solid #aaaaaa !important;
}

button {
  border: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 900;
    color: #111; /* 👈 nicer than #000 */
}

h1 {
  font-size: 2.5em;
  position: relative;
}

h2 {
  margin-bottom: 30px;
  position: relative;      /* needed for ::before */
  display: inline-block;   /* 👈 THIS fixes the width */
}


.intro-h1 {
  font-size: 2.3rem !important; /* Adjust this number to shrink/grow the text */
  position: relative;          /* Keeps the yellow bar attached to the text */
  display: inline-block;       /* Helps the bar stay aligned with the letters */
  line-height: 1.2;
      margin-bottom: 40px;/* Tightens the space between the 2 lines */
}

.intro-h1::before {
  content: '';
  width: 100%;
  height: 10px;
  background-color: #ffba01;
  position: absolute;
  top: 0.8em;                 /* You may need to tweak this slightly as the font gets smaller */
  left: -5px;
  z-index: -1;
}

.variations-h1 {
  position: relative;
  display: inline-block;
}

.variations-h1::before {
  content: '';
  width: 80%;              /* 👈 match intro */
  height: 10px;
  background-color: #ffba01;
  position: absolute;
  top: 0.8em;               /* 👈 match intro */
  left: -5px;               /* 👈 match intro */
  z-index: -1;
}
h2::before {
  content: '';
  position: absolute;
  width: 100%;      /* 👈 match text width */
  height: 10px;
  background-color: #ffba01;
  top: 0.7em;
  left: 0;          /* 👈 align with text */
  z-index: -1;
}

h4 {
  position: relative;
  display: inline-block;
}

h4::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 6px;
  background-color: #ffba01;
  top: 0.7em;
  left: 0;
  z-index: -1;
}

.sidebar .card h4 {
  display: inline-block;
  width: auto;
  max-width: fit-content;
}

/* Fix ONLY sidebar card headings */
.sidebar .popular h4 {
  position: relative;
}

.sidebar .popular h4::before {
  display: none; /* 👈 kill the broken full-width line */
}

.sidebar .popular h4 span {
  position: relative;
  display: inline-block;
}

.sidebar .popular h4 span::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 6px;
  background-color: #ffba01;
  top: 0.7em;
  left: 0;
  z-index: -1;
}

.front-page {
  padding: 30px 0px 60px 0px;
}

.main {
  position: relative;
}

.navbar {
  background-color: white;
  z-index: 5;
  margin: 0 auto;
  padding: 20px 0;
}

.navbar .navbar-brand {
  display: inline-block;
  width: 120px;
  margin-right: 100px;
}

.navbar .navbar-brand img {
  width: 100%;
}

.navbar li .nav-link {
  display: inline-block;
  color: black;
  padding: 6px 20px !important;
  margin-right: 20px;
}

.navbar li .nav-link:hover, .navbar li .active {
  font-weight: 900;
  background-color: #ffba01;
}

.navbar .navbar-toggler:focus, .navbar .navbar-toggler:hover {
  border: none;
  -webkit-box-shadow: none;
          box-shadow: none;
  outline: none;
}

.right .nav-link-right {
  font-weight: 900;
  color: black;
  text-decoration: none;
  padding: 15px 22px;
  display: inline-block;
}

.right .nav-link-right:hover {
  cursor: pointer;
}

.btn-fill {
  text-decoration: none;
  color: black;
  background-color: #ffba01;
  padding: 12px 22px;
  font-weight: 900;
  border: 2px solid #ffba01;
}

.btn-fill:hover {
  cursor: pointer;
  color: black;
  background-color: white;
  border: 2px solid #ffba01;
}

.btn-outline {
  padding: 12px 22px;
  text-decoration: none;
  color: black;
  background-color: white;
  border: 2px solid #ffba01;
  font-weight: 900;
}

.btn-outline:hover {
  cursor: pointer;
  color: black;
  background-color: #ffba01;
}

.buttons a {
  display: inline-block;
}

.buttons .btn-fill {
  margin-right: 25px;
}

.intro .intro-img {
  padding: 40px 0px;
}

.intro .intro-img img {
  width: 100%;
}

.intro .scroll img {
  width: 20px;
  margin-right: 10px;
}

.intro .scroll:hover span {
  font-weight: bold;
}

.clients {
  margin-bottom: 70px;
}

.clients .client-logo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 50px;
  -webkit-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
          justify-content: space-evenly;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  justify-items: baseline;
}

.clients .client-logo img {
  height: 65px;
  max-width: 150px;
}

.variations {
  padding: 100px 0px;
  border-top: 1px solid #cbcbcbb6;
  border-bottom: 1px solid #cbcbcbb6;
}

.variations .first-variation {
  margin-bottom: 50px;
}

.variations .first-variation .img {
  margin-bottom: 20px;
}

.variations .first-variation .img img {
  width: 100%;
}

.variations .second-variation .img {
  position: relative;
  margin-top: 40px;
}

.variations .second-variation .img img {
  width: 100%;
}

.variations .second-variation .img .square {
  position: absolute;
  left: -20%;
  bottom: 10%;
  width: 50px;
}

.variations .second-variation .img .square img {
  width: 100%;
}

.service {
  text-align: center;
  padding: 70px 0px;
}

.service .service-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  grid-row-gap: 40px;    /* Editor should recognize this */
  grid-column-gap: 40px; /* Editor should recognize this */
  margin-top: 40px;
}

.service .service-items .item span {
  font-weight: bold;
  display: block;
}

.service .service-items .item img {
  height: 50px;
}

.service .service-items .item .counter {
  font-weight: 900;
  font-size: 2em;
  color: #ffba01;
  padding: 20px 0px 10px 0px;
}

.service .item:hover {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}

.update-news {
  padding: 80px;
  background-color: #ffba01;
  border-radius: 0px 100px 0px 120px;
}

.update-news .news-form {
  position: relative;
}

.update-news .news-form input {
  width: 100%;
  padding: 15px 25px;
}

.update-news .news-form button {
  position: absolute;
  padding: 5px 35px;
  background-color: #343434;
  color: white;
  right: 22px;
  top: 11px;
}

.team {
  margin-bottom: 80px;
}

.team .team-person .person {
  margin-bottom: 50px;
}

.team .team-person .person img {
  max-width: 300px;
}

.team .team-person .person span {
  display: block;
}

.team .team-person .person .name {
  font-weight: 900;
  font-size: 1.2em;
  margin-top: 30px;
}

.post-meta {
  margin: 20px 0px;
}

.post-meta span {
  margin-right: 20px;
  white-space: nowrap;
}

.post-img {
  width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
  border-radius: 0px 80px 0px 80px;
}

.post-img img {
  width: 100%;
}

.single-post .share {
  margin: 30px 0px;
  padding: 10px 0 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  /* Use the older grid- prefix to make the red go away */
  grid-row-gap: 10px;
  grid-column-gap: 10px;
}

.single-post .share a {
  text-decoration: none;
  display: inline-block;
  width: 160px;
  margin-top: 0;
  white-space: nowrap;
  font-size: 0.8em;
  border: 2px solid #ffba01;
  text-align: center;
  padding: 5px 0px;
}

.single-post .share a:hover {
  color: black;
  font-weight: 900;
}

.single-post .navigation {
  display: flex;
  justify-content: space-between;
}

.single-post .navigation a {
  color: #aaaaaa;
  text-decoration: none;
}

.single-post .navigation a:hover {
  cursor: pointer;
  color: black;
}

.single-post #commentForm, .single-post #contactForm {
  padding: 30px 0px;
}

.single-post #commentForm button, .single-post #contactForm button {
  margin-top: 0;
}

.quote {
  position: relative;
  padding: 30px 0px;
  margin: 40px 0px;
  border: 1px solid #cbcbcbb6;
  border-left: 0px;
  border-right: 0px;
}

.quote .blockquote {
  font-size: 2em;
  width: 85%;
}

.quote .blockquote::after {
  position: absolute;
  top: 0;
  right: 0;
  font-weight: 900;
  content: "</>";
  color: #ffba01;
  font-size: 3em;
  z-index: -1;
}

.quote .blockquote-footer {
  font-size: 1.1em;
}

ul.list-in-text {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

ul.list-in-text li {
  padding-left: 1em;
  text-indent: -1em;
}



.contact-page #contactForm input, .contact-page #contactForm textarea {
  border-radius: 0px !important;
}

.all-posts .post-item {
  margin-bottom: 100px;
  position: relative;
}

.all-posts .post-item .post-img {
  width: 100%;
  height: 350px;
  overflow: hidden;
}

.all-posts .post-item .post-img img {
  height: 100%;
}

.all-posts .post-item .post-main-info {
  position: relative;
}

.all-posts .post-item .post-main-info .post-meta {
  font-size: 0.9em;
  padding: 10px 0px;
  color: gray;
}

.all-posts .post-item .post-main-info .post-meta span {
  white-space: nowrap;
}

.all-posts .post-item .post-main-info a {
  display: inline-block;
  margin-top: 10px;
}

.pagination {
  margin-top: 30px;
}

.pagination li a {
  color: black;
}

.pagination li a:hover {
  color: black;
}

.pagination li .active {
  background-color: #aaaaaa;
  color: white;
  border-color: #aaaaaa;
}

.pagination li .a:focus {
  outline: none;
}

.pagination .page-link:focus {
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
}

.sidebar .input-group {
  position: relative;
}

.sidebar .input-group .form-outline {
  width: 100%;
}

.sidebar .input-group .form-outline #search-input {
  border-radius: 0px;
}

.sidebar .input-group #search-button {
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 0px;
}

.sidebar .input-group #search-button:hover {
  color: #ffba01;
}

.sidebar .recent-posts {
  position: relative;
}

.sidebar .recent-posts .post-item {
  margin-bottom: 50px;
}

.sidebar .recent-posts .post-item .post-title {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: black;
  font-size: 1.2em;
  font-weight: 600;
}

.sidebar .recent-posts .post-item .post-title::before {
  content: '';
  width: 60%;
  height: 5px;
  background-color: #ffba01;
  position: absolute;
  top: 0.9em;
  left: 0;
  z-index: -1;
  display: none;
}

.sidebar .recent-posts .post-item .post-title:hover::before {
  display: block;
}

.sidebar .recent-posts .post-item .post-meta {
  font-size: 0.8em;
}

.sidebar .recent-posts .post-item .post-meta span {
  white-space: nowrap;
}

.sidebar .recent-posts .post-item .post-content {
  font-size: 0.9em;
}

.sidebar .popular {
  position: relative;
}

.sidebar .popular .card {
  border-radius: 0px;
  margin-bottom: 10px;
  border: none;
}

.sidebar .popular .card-img-overlay {
  background-color: rgba(255, 255, 255, 0.85);
}

.sidebar .popular .card-img-overlay .text-overlay {
  color: black;
  top: 50%;
  position: absolute;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.sidebar .popular .card-img-overlay .card-text {
  font-size: 0.8em;
}

.sidebar .popular .card-img-overlay .article-meta {
  padding: 5px 0;
}

.sidebar .popular .card-img-overlay .article-meta span {
  white-space: nowrap;
  padding-right: 10px;
}

.sidebar .popular .card-img-overlay .card-button:hover {
  background-color: white;
  color: black;
}

.sidebar .popular .card-img-overlay .btn-popular {
  background-color: #ffba01;
  border: 1px solid #ffba01;
  padding: 5px 20px;
  margin-top: 20px;
  font-weight: 600;
}

.sidebar .popular .card-img-overlay .btn-popular:hover {
  background-color: white;
  border: 1px solid #ffba01;
}

footer .footer-wrap {
  border-top: 1px solid #cbcbcbb6;
  border-bottom: 1px solid #cbcbcbb6;
  padding: 50px 0px;
  margin-bottom: 30px;
}

footer .footer-wrap h6 {
  padding: 20px 0px;
  font-weight: 900;
}

footer .footer-wrap .about img {
  width: 120px;
}

footer .footer-wrap .social-media img {
  width: 40px;
}

footer .footer-wrap .social-media a img:hover {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}

footer .footer-wrap .company a:hover, footer .footer-wrap .useful-links a:hover {
  color: black;
  font-weight: 600;
}

footer .footer-wrap .company p, footer .footer-wrap .useful-links p {
  margin-bottom: 0.3em;
}

footer .footer-wrap .newsletter #subscribe label {
  font-weight: bold;
}

footer .footer-wrap .newsletter #subscribe input {
  display: block;
  width: 100%;
  background-image: url("../img/icon/email-icon.svg");
  background-repeat: no-repeat;
  background-size: 20px;
  background-position: 10px center;
  padding: 10px 10px 10px 40px;
  margin: 15px 0px;
}

footer .footer-wrap .newsletter #subscribe button {
  width: 100%;
}

@media (min-width: 768px) {
  .intro {
    display: flex;
    position: relative;
    align-content: center;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
  }
}
  .intro .intro-img {
    width: 55%;
    padding: 0;
  }
  .intro .intro-text {
    width: 45%;
  }
  .intro .scroll {
    position: absolute;
    bottom: 100px;
    left: 0;
  }
 .first-variation, .second-variation {
    display: flex;
    /* Use these to make the red go away */
    grid-row-gap: 50px;
    grid-column-gap: 50px;
}
  .first-variation .text, .second-variation .text {
    width: 60%;
  }
  .first-variation .img, .second-variation .img {
    width: 60%;
  }
 .team .team-person {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  /* Use these to clear the 'gap' red line */
  grid-row-gap: 20px;
  grid-column-gap: 20px;
}
  .team .team-person .person {
    margin-bottom: 50px;
  }
  .team .team-person .person .photo img {
    width: 100%;
  }
  .team .team-person .person span {
    display: block;
  }
  .team .team-person .person .name {
    font-weight: 900;
    font-size: 1.2em;
    margin-top: 30px;
  }
  .single-post .share a {
    width: 100px;
  }
  footer {
    text-align: left !important;
  }
  footer .footer-wrap {
    display: flex;
       flex-wrap: wrap; /* 👈 THIS is the missing piece */
    justify-content: space-between;
    /* This clears the red 'gap' line */
    grid-row-gap: 30px;
    grid-column-gap: 30px;
}
  footer .footer-wrap .about {
    width: 40%;
  }
}

@media (min-width: 992px) {
  h1 {
    font-size: 3em;
  }
  .service {
    padding: 80px 0px 120px;
  }
  .service .service-items .item img {
    height: 80px;
  }
  .service .service-items .item .counter {
    font-size: 3em;
  }
  .update-news {
    position: relative;
    margin-bottom: 120px;
  }
  .update-news .news-form {
    position: absolute;
    top: 50%;
    right: 80px;
    width: 45%;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
  }
  .single-post .share a {
    width: 130px;
  }
  .all-posts .post-item {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .all-posts .post-item .post-img {
    min-width: 300px;
    height: 300px;
    overflow: hidden;
    margin-right: 20px;
  }
  .all-posts .post-item .post-main-info .post-title {
    padding: 0px 0px 10px;
  }
  .all-posts .post-item .post-main-info .main-button {
    position: absolute;
    bottom: 0;
    margin: 0px;
    padding: 5px 15px;
  }
  .all-posts .post-item .post-main-info a {
    display: inline-block;
    margin-top: 10px;
  }
}

@media (min-width: 1200px) {
  .intro .intro-img {
    width: 65%;
  }
  .intro .intro-text {
    width: 35%;
  }
  .variations {
    padding: 150px 0px;
  }
  .first-variation .text, .second-variation .text {
    width: 45%;
  }
  .first-variation .img, .second-variation .img {
    width: 55%;
  }
  .single-post .share a {
    width: 150px;
  }
  footer .footer-wrap .about {
    width: 20%;
  }
}

/* 1. Specifically targets and KILLS every possible template line for this H1 */
h1.smart-h1::before, 
h1.smart-h1::after,
h1.smart-h1 span::before,
h1.smart-h1 span::after {
    display: none !important;
    content: none !important;
    width: 0 !important;
}

/* 2. Adds back ONLY the one perfect 'hugging' highlight */
h1.smart-h1 span {
    position: relative !important;
    display: inline-block !important;
}

h1.smart-h1 span::before {
    content: '' !important;
    display: block !important;
    position: absolute;
    left: 0;
    bottom: 0.1em;
    width: 100% !important; /* This makes it match 'Our Story' perfectly */
    height: 12px;
    background-color: #ffba01;
    z-index: -1;
}

/* The container wrapping both the button and the menu */
.dropdown {
  position: relative;
  display: inline-block;
}

/* The actual menu that pops out */
.dropdown-menu {
  position: absolute;
  top: 100%;    /* Sits right below the button */
  right: 0;     /* Aligns with the right edge of the button */
  left: auto;   /* Overrides any default 'left: 0' */
  min-width: 160px;
}

/*# sourceMappingURL=main.css.map */

/* MOBILE FIXES */
@media (max-width: 767px) {
  .intro {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .intro .intro-text {
    width: 60%;
  }

  .intro .intro-img {
    width: 40%;
  }

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

  .buttons {
    display: flex;
    flex-direction: row;
    gap: 10px;
  }

  .buttons a {
    flex: 1;
    text-align: center;
    padding: 10px 0;
  }
}

/* EXTRA SMALL SCREENS */
@media (max-width: 480px) {
  .buttons {
    flex-direction: column;
  }

  .buttons a {
    width: 100%;
  }
}
.intro .intro-img img {
  width: 100%;
  max-width: 350px;
  height: auto;
}
.second-variation .buttons a {
  padding: 10px 10px; /* match your global buttons */
}

.second-variation .buttons a {
  width: auto;
  flex: 0 0 auto;  /* 👈 prevents flex stretching */
}
.second-variation .img {
  width: 40%;
}

.second-variation .text {
  width: 55%;
}

.buttons .btn-fill {
  margin-right: 25px;
}

.scroll img {
  width: 20px;   /* adjust to taste */
     margin-bottom: 20px; /* space between icon and text */
  height: auto;  /* keeps proportions */
}

@media (max-width: 1199px) {

  .navbar-collapse {
    position: relative;
  }

  .dropdown-menu {
    position: absolute !important;
    right: 15px !important;
    left: auto !important;
    top: 100%;
    min-width: 180px;
  }

}
@media (max-width: 1199px) {

  .navbar-collapse {
    text-align: right;
  }

  .navbar-nav {
    margin-left: auto;
    align-items: flex-end;
  }

}

.team .team-person .photo img {
  height: 399px;       /* pick a consistent height */
  object-fit: cover;   /* keeps proportions clean */
}

.first-variation,
.second-variation {
  display: flex;
  align-items: center; /* 👈 THIS is the key fix */
}
footer .footer-wrap .social-media {
  display: flex;
  gap: 3px; /* control spacing here */
}

ul.list-in-text li:before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #ffba01;
  border-radius: 50%;
  margin-right: 14px;
  position: relative;
  top: -1px;
}
@media (max-width: 767px) {
  h1 {
    font-size: 1.5em;
  }
}
@media (max-width: 767px) {
  .intro-h1 {
    font-size: 1.6rem !important;
  }
}
/* Desktop */
.navbar .navbar-brand img {
  height: 57px;
  width: auto;
}

/* Mobile */
@media (max-width: 768px) {
  .navbar .navbar-brand img {
    height: 50px;
  }
}
/* Desktop */
.navbar .navbar-brand img {
  height: 84px;
  width: auto;
}

/* Mobile */
@media (max-width: 768px) {
  .navbar .navbar-brand img {
    height: 50px;
  }
}
@media (max-width: 768px) {
  .navbar li .nav-link {
    padding: 6px 10px !important;
    margin-right: 0;
  }
}
.navbar .container {
  max-width: 100%;
  overflow: hidden;
}
h1 {
  word-break: break-word;
}
@media (max-width: 768px) {
  footer .footer-wrap > div {
    width: 100%;
  }
}

@media (max-width: 768px) {
  footer .footer-wrap,
  footer .footer-wrap * {
    text-align: center;
  }
}
@media (max-width: 768px) {
  footer {
    text-align: center !important;
  }

  footer .footer-wrap {
    text-align: center !important;
    justify-content: center !important;
  }

  footer .footer-wrap > div {
    width: 100%;
    text-align: center !important;
  }
}
@media (max-width: 768px) {
  footer .about,
  footer .company,
  footer .useful-links,
  footer .newsletter {
    text-align: center !important;
  }

  footer .social-media {
    display: flex;
    justify-content: center;
    gap: 10px;
  }
}