
.skip-to-content {
  position: absolute;
  top: 10px;
  left: -1000px;
  background-color: rgb(0, 0, 0);
  color: white;
  border: 3px solid white;
  border-radius: 5px;
  padding: 10px;
  z-index: 100;
  transition: left 0.3s ease;
}

.skip-to-content:focus {
    left: 10px;
}

#sub-navigation-container {
display: flex;
box-sizing: border-box;
flex-wrap: wrap;
flex-direction: row;
background-color: rgb(40, 42, 52);
color: white;
height: auto;
align-items: center;
justify-content: flex-end;
gap: 25px;
padding-right: 35px;
line-height: 2;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.burger-menu {
  margin-right: 1rem;
  font-size: 17px;
}
#sub-navigation-container a {
  font-size: 15px;
  color: white;
  text-decoration: none;
}

#business-card-container {
  display: flex;
  box-sizing: border-box;
  flex-direction: column;
  flex-wrap: wrap;
  background-color: rgb(219, 70, 16);
  color: rgb(255, 255, 255);
  height: 100%;
  justify-content: center;
  text-align: center;
  padding: 25px;
  padding-bottom: 50px;
  margin: 0px;
}

#business-card-container h1 {
  font-size: 1.5rem;
  padding-top: 10px;
  padding-bottom: 0;
  margin-bottom: 5px;
}
#headline {
  font-size: 1.2rem;
  padding-top: 0px;
  margin-top: 0;
  padding-bottom: 25px;
}


.button {
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  justify-content: center;
  background-color: rgb(40, 42, 52);
  color: rgb(255, 255, 255);
  border: none;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  font-size: 1rem;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.button:hover {
  color: #00FFFF;
}


/* Footer styling */

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 80px;
    background-color: rgb(40, 42, 52);
    color: rgb(255, 255, 255);
    padding-top: 30px;
    padding-bottom: 30px;
    justify-content: center;
    margin-top: auto;
}


.footer-content h2 {
  text-transform: uppercase;
  font-size: 1rem;
  border-bottom: 1px solid white;
  padding-bottom: 10px;
}

.footer-content h3 {
  font-size: 0.85rem;
  font-style: italic;
  text-transform: none;
}

.footer-content a {
  text-decoration: none;
  color: white;
}

.footer-content ul {
  margin: 0;
  padding-left: 0;
}

.footer-content li {
  list-style-type: none;
  margin-bottom: 5px;
}

.footer-content .column {
  min-width: 305px;
  display: flex;
  flex-direction: column;
}

.column #jump-to-the-top-link {
  margin-top: auto;
}

html, body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  scroll-behavior: auto;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.navigation-container {
  display: flex;
  background-color: rgb(242, 242, 242);
  color: rgb(0, 0, 0);
  text-align: start;
  align-items: center;
  font-family: "BlairMdiTc TT Medium", Helvetica, Arial, Verdana sans-serif;
  padding-top: 10px;
  padding-bottom: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: sticky;
  top:0;
  z-index: 1000;
}

.logo {
  margin-left: 20px;
  max-height: 50px;
  width: auto;
}

#business-name {
  display: flex;
  text-align: start;
  font-size: 1rem;
  line-height: 1.2;
  padding-left: 5px;
  margin-right: auto;
}

#business-name a {
  text-decoration: none;
  color: black;
}

.nav-links {
  display: flex;
  list-style-type: none;
  margin-left: auto;
  flex-direction: column;
  text-align: end;
  margin-right: 20px;
  align-items: flex-end;
  gap: 0.1rem;
  font-size: 0.9rem;

  position: absolute;
  right: 0;
  left:0;
  top: 100%;
  background-color: rgb(242, 242, 242);
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  padding: 30px;
  gap: 30px;
  display: none;
  border-top: none;
}

.shown {
  display: flex;
  border-top: 1px solid rgb(200, 200, 200);
}

.nav-links a {
  text-decoration: none;
  color: rgb(0, 0, 0);
  font-size: 1.2rem;
  font-weight: bold;
}

.nav-links a:hover {
  text-decoration: none;
  color: rgb(89, 86, 84);
}

.nav-links a.current-page {
  color: #B33A00;
}

.nav-links a.current-page:hover{
  color: rgb(89, 86, 84);
}

/* Homepage sections */


.flex-subsection {
  margin-top: 1.5rem;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}


.reverse .flex-content {
  flex-direction: column;
  background-color: rgb(235, 242, 249);
}

.flex-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem;
}

.text-content {
  width: 100%;
}
.text-content p {
  line-height: 1.5;
}

.text-content h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: #2e5780;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  padding-left: 0;
}

.flex-content figure {
  margin: 0;
  width: 100%;
  align-self: center;
}

.flex-content img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

li span {
  font-weight: bold;
}


/* Testimonials styling */
.testimonials-section {
  padding: 3rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials-section h1 {
  font-size: 1.5rem;
  text-align: center;
  color: #2c3e50;
  margin-bottom: 3rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.testimonial {
  background-color: #f9f9f9;
  padding: 0.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

#testimonials-last-paragraph{
  margin-bottom: 3rem;
  line-height: 1.5;
}

.quote {
  font-style: italic;
  margin-bottom: 0.25rem;
  text-align: left;
  padding: 10px;
  font-size: medium;
  line-height: 1.5;
}

.author {
  font-weight: bold;
  color: #555;
}


/* Contact page styling */

.contact-page {
  padding: 1.5rem;
  font-family: "Inter", sans-serif;
  max-width: 600px;
  margin: auto;
}

.contact-page h1 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.contact-page p {
  font-size: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form button {
  background-color: rgb(40, 42, 52);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  margin-bottom: 4rem;
}

.contact-form button:hover {
  color: #00FFFF;
}


/* Responsive Image Gallery on Expertise Page */

.responsive-gallery {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  margin-top: 2rem;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.gallery {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 5px;
  border: 1px solid #ccc;
  width: 180px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.overlay-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  text-decoration: none;
}

.gallery:hover {
  border: 1px solid #777;
}

.gallery img {
  width: 100%;
  height: auto;
}

.description {
  padding: 8px;
  text-align: center;
  margin-top: auto;
}

.description h2 {
  font-size: 1rem;
  font-weight: normal;
}

.expertise-area-section p {
  line-height: 1.5;
}

.expertise-area-section ul {
  line-height: 1.5;
}
/* End of responsive gallery styling */



/* Expertise area section styling*/

#localization,
#technical,
#european,
#medical,
#agriculture {
  scroll-margin-top: 200px;
}


.back-to-gallery {
  margin-top: 2rem;
  font-size: 0.95rem;
  text-align: right;
  padding-right: 1.5rem;
}

.back-to-gallery a {
  color: #0055aa;
  font-weight: bold;
}

.back-to-gallery a:hover,
.back-to-gallery a:focus {
  text-decoration: none;
  outline: 2px solid #0055aa;
  outline-offset: 4px;
}

#back-to-gallery-link {
  scroll-margin-top: 120px;
}


.expertise-area-section {
  padding: 0 1rem;
}


.expertise-button .button {
  display: flex;
  width: 110px;
  margin-top: 3rem;
  padding: 0.75rem 1.5rem;
  justify-content: center;
  background-color: rgb(40, 42, 52);
  color: rgb(255, 255, 255);
  border: none;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  font-size: 1rem;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.heading-with-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-align: center;
}

.image-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin: 0;
}

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

.text-container {
  width: 100%;
  /* margin-right: 10%; */
}

.text-container h2 {
  margin-left: 0.5rem;
  font-size: 1.5rem;
  margin-bottom: 0;
}

.text-container.reverse h2 {
  margin-left: 0.5rem;
  font-size: 1.5rem;
  margin-bottom: 0;
}
.customized-message,
.customized-message.reverse {
  font-style: italic;
  font-weight: bold;
  font-size: 1.1rem;
  margin: 0.5rem;
  text-align: center;
}

section h3 {
  font-size: 1rem;
  margin-top: 1rem;
  margin-bottom: 0;
  line-height: 1.5;
}


section p {
  font-size: 1rem;
}

section ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

section ul li {
  margin-bottom: 0.5rem;
}


/* Devices up to 1025px */
@media screen and (min-width: 768px) {
  .nav-links {
    list-style-type: none;
    margin-left: auto;
    padding: 0;
    display: flex;
    flex-direction: row;
    text-align: end;
    margin-right: 20px;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    position: static;
    background-color: transparent;
    border-top: none;
  }

  .burger-menu {
    display: none;
  }
  
  .nav-links a {
    text-decoration: none;
    text-transform: uppercase;
    color: rgb(0, 0, 0);
    font-size: 1rem;
    font-weight: normal;
  }

  #business-name a {
    text-transform: uppercase;
    color: black;
    font-weight: normal;
  }

  .flex-content {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }

  .reverse.flex-content {
    flex-direction: row-reverse;
  }

  .flex-subsection.reverse .flex-content {
    flex-direction: row-reverse;
  }

  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .flex-content.second {
    background-color: rgb(242, 242, 242);
    padding: 2rem; 
  }

  .flex-content.last {
    background-color: rgb(242, 242, 242);
    padding: 2rem; 
  }

/* Expertise page styling */
.heading-with-image {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-left: 20%;
  text-align: left;
}


.expertise-area-section {
  padding: 0 6rem;
}

.heading-with-image.reverse {
  flex-direction: row-reverse;
  margin: 0 20% 0 0;
  text-align: right;
  gap: 5px;
}

.image-container.reverse {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin: 0;
}

.customized-message {
  font-style: italic;
  font-weight: bold;
  font-size: 1.1rem;
  margin-top: 0.25rem;
  text-align: left;
}

.customized-message.reverse {
  font-style: italic;
  font-weight: bold;
  font-size: 1.1rem;
  margin-top: 0.25rem;
  text-align: right;
}

.text-container.reverse {
  width: 100%;
  margin-left: 10%;
  margin-right: 0;
  align-items: center;
}

.text-container {
  margin-right: 10%;
  margin-left: 0;
}


section h3 {
  font-size: 1rem;
  margin-top: 1rem;
  margin-bottom: 0;
}

}


/* XXL SCREEN styling */
@media screen and (min-width:1025px) {
.flex-content {
  flex-direction: column-reverse;
}

.home-sections {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: top;
}

.flex-subsection{
  flex: 1 0 30%;
  display: flex;
  flex-direction: column;
  align-items: top;
  text-align: center;
  margin-bottom: 20px;
}

.text-content {
  padding: 15px;
  text-align: left;
  font-size: 0.9rem;
  align-items: top;
}

.flex-content img{
  border-radius: 10px;
}

.flex-subsection.reverse {
  background-color: rgb(242, 242, 242);
}

.flex-subsection.reverse .flex-content {
  flex-direction: column;
}

/* Expertise area page XXL styling */

.expertise-area-section {
  padding: 0 10rem;
}

/* Testimonials page XXL styling */

.testimonials-bkg-color {
  background-color: rgb(242, 242, 242);
}
.testimonials-grid {
  grid-template-columns: repeat(3, 1fr);
}


}