/* Reset some default styles */
body, h1, h2, h3, p, ul, li {
  margin: 0;
  padding: 0;
}

/* Font and global styles */
body {
  font-family: "Montserrat", sans-serif;
  background: linear-gradient(to bottom, #f7f7f7, #e3e3e3);
  padding-top: 70px; 
}

/* General styles for the site header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header .nav-logo {
  display: flex;
  align-items: center;
}

.site-header .nav-logo a img {
  max-width: 1000px;
}

/* Navigation links styles */
.nav-links {
  display: flex;
  justify-content: center;
  flex-grow: 1;
}

.nav-logo {
  margin-right: auto;

}

.nav-links ul {
  list-style: none;
  display: flex;
}

.nav-links ul li {
  margin-left: 20px;
}

.nav-links ul li a {
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 500;
  color: #4f4f4f;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links ul li a:hover {
  color: #7f53ac;
}

.section {
  padding: 40px 20px;
}

.section-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  margin-left: 200px;
  padding: 0 20px;
}

.section h1 {
  font-size: 36px;
  color: #4f4f4f;
  margin-bottom: 20px;
}

.section p {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
}

.contact-section{
  background-color: #cecece;
}

.button {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 500;
  color: #fff;
  background-color: #7f53ac;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.button:hover {
  background-color: #975dc0;
}

.section ul {
  color: #666;
}

.section ul li {
  list-style: none;
  position: relative;
  padding-left: 25px;
}

.section ul li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
}

.section-content {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  text-align: left;
  margin-left: 200px;
  padding: 0 20px;

  @media (max-width: 768px) {
    display: block;
    margin-left: 0;
  }
}

.section-content .example {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.section-content .example img {
  border-radius: 10px;
  max-width: 40%;
}

.section-content .example p {
  flex-grow: 1;
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  margin-left: 20px;
}

.examples {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.examples img {
  max-width: 40%;
  height: auto;
  border-radius: 10px;
  margin-right: 20px;
}

.examples p {
  flex-grow: 1;
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  margin-right: 30px;
}

.language-select {
  display: flex;
  align-items: center;
}

.language-select button {
  border: none;
  background-color: transparent;
  cursor: pointer;
  margin: 0 5px;
}

.language-select .flag {
  width: 30px;
  height: 20px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.language-select .flag:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  /* Site Header */
  .site-header {
    flex-direction: column;
    align-items: center;
  }

  .nav-logo {
    margin-right: 0;
    margin-bottom: -20px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    display: none;
  }

  .nav-links.show {
    transform: translateY(0);
    display: flex;
  }

  .nav-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
  }

  .nav-links ul li {
    margin: 15px 0;
  }

  /* Language selector remains on the side */
  .language-select {
    margin-left: auto;
    margin-bottom: 10px;
  }

  /* About Section */
  .section-content {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    text-align: left;
    padding: 0 20px;
  }

  /* Fire Examples Section */
  #firexamp .section-content {
    text-align: left;
    margin-left: 10px; /* Adjust this value as needed */
  }

  #firexamp .section-content h1 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  #firexamp .section-content p {
    font-size: 14px;
    line-height: 1.5;
  }

  #firexamp .examples,
  #firexamp .example {
    flex-direction: column;
    align-items: center;
  }

  #firexamp .examples img,
  #firexamp .example img {
    max-width: 80%; /* Adjust this value as needed */
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
  }

  #firexamp .examples p,
  #firexamp .example p {
    text-align: center;
  }

  #firexamp .section-content ul {
    text-align: center;
  }

  #firexamp .section-content ul li {
    font-size: 14px;
    margin: 10px 0;
  }

  /* Contact Section */
  #contact .section-content {
    text-align: center;
    margin-left: 0;
  }

  #contact .section-content h1 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  #contact .section-content p {
    font-size: 14px;
    line-height: 1.5;
  }

  /* General Styling */
  body {
    font-size: 16px; /* Adjust this value as needed */
  }

  .section h1 {
    font-size: 24px; /* Adjust this value as needed */
    margin-bottom: 10px;
  }

  .section p {
    font-size: 14px; /* Adjust this value as needed */
    line-height: 1.5;
  }

  .button {
    font-size: 14px; /* Adjust this value as needed */
  }

  .menu-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    cursor: pointer;
  }

  .menu-icon .bar {
    width: 30px;
    height: 3px;
    background-color: #4f4f4f;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .dropdown-menu {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 20;
  }

  .dropdown-menu li {
    text-align: center;
    padding: 10px;
  }

  .show-dropdown {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #cecece;
    z-index: 9;
    opacity: 0.9;
  }
}
