/* General Reset */
* {
  margin: 10;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: #ffffff;
  color: #000000;
  line-height: 1.6;
    align-items: center;
  justify-content: center;

}

/* Welcome Section */
.welcome-image {
  background-image: url('welcomebkg.jpg'); /* Replace with actual image */
  background-size: cover;
  background-position: center;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 3rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  border-radius: 20px;
}

/* Navigation */

/* Base nav styles */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

nav img {
  height: 3rem;
}

nav ul {
  list-style: none;
  gap: 1rem;
}

nav ul li a {
  color: #000000;
  text-decoration: none;
}

nav ul li a:hover {
  text-decoration: underline;
}

/* Mobile first: menu hidden by default */
.hamburger {
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}

.menu {
  display: none; /* hidden by default on small screens */
  flex-direction: column;
  position: absolute;
  top: 64px;  /* just under the nav */
  right: 1rem;
  background: white;
  border: 1px solid #ddd;
  padding: 1rem;
  border-radius: 0.5rem;
}

/* Show menu when toggled */
.menu.show {
  display: flex;
}

/* Desktop styles (>=768px) */
@media (min-width: 768px) {
  .hamburger {
    display: none; /* hide hamburger */
  }
  .menu {
    display: flex !important; /* always visible */
    position: static;
    flex-direction: row;
    border: none;
    padding: 0;
    background: transparent;
  }
}


/* Sections */
.section {
  padding: 4rem 1rem;
  text-align: center;
    max-width: 1000px;
  margin: auto;
}

.section h1 {
  font-size: 2.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.section p {
  max-width: 48rem;
  margin: 0 auto;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  background-color: #f3f4f6;
  color: #1f2937;
  text-decoration: none;
  border-radius: 50%;
  font-size: 1.25rem;
  line-height: 1;
  transition: background-color 0.2s;
}

.back-to-top:hover {
  background-color: #e5e7eb;
}

/* Service Section */

.service-grid {
      display: grid;
      gap: 20px;
    }
    .service-item img {
      width: 100%;
      height: auto;
      border-radius: 8px;
    }
    .service-item h3 {
      margin: 10px 0 5px;
    }
    @media(min-width: 768px) {
      .service-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }
    @media(min-width: 1024px) {
      .service-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }



/* News Section */

.news-list {
      max-width: 700px;
      margin: auto;
    }
    .news-item {
      display: flex;
      margin-bottom: 15px;
    }
    .news-date {
      width: 120px;
      font-weight: bold;
    }

/* Company Section */

.company-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: left;
  }
  .company-info img {
    width: 180px;
    border-radius: 10%;
  }
  @media(min-width: 768px) {
    .company-info {
      flex-direction: row;
      align-items: flex-start;
    }
  }



#company table {
  max-width: 48rem;
  margin: 1rem auto;
  border-collapse: collapse;
  text-align: left;
}

#company table th,
#company table td {
  border: 1px solid #e5e7eb;
  padding: 0.5rem;
}


/* Contact Section */
form {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

form label {
  display: block;
  text-align: left;
}

form input[type="text"],
form input[type="email"],
form textarea {
  width: 100%;
  border: 1px solid #e5e7eb;
  padding: 0.5rem;
  border-radius: 0.25rem;
}

form textarea {
  height: 8rem;
}

form .flex {
  gap: 0.5rem;
}

form a {
  color: #2563eb;
  text-decoration: none;
}

form a:hover {
  text-decoration: underline;
}

form button {
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
}

form button[type="submit"] {
  background-color: #2563eb;
  color: #ffffff;
  border: none;
}

form button[type="reset"] {
  background-color: #d1d5db;
  color: #000000;
  border: none;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
}
