* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  padding: 20px;
  background-color: #f7f7f7;
  color: #333;
  line-height: 1.6;
}


.header {
  max-width: 1000px;
  margin: 0 auto 30px auto;
}

.header-banner {
  background-color: #e6e6e6;
  padding: 30px 20px;
  text-align: center;
  margin-bottom: 15px;
}

.header-banner h1 {
  color: #555;
  font-size: 28px;
  font-weight: bold;
}


.navbar {
  background-color: #b9b9b9;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 12px 20px;
}

.nav-item {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
}

.nav-item:hover {
  text-decoration: underline;
}


.container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.section {
  padding: 20px 0;
  border-bottom: 1px solid #ddd;
}

.section:last-child {
  border-bottom: none;
}


#home.section {
  border-bottom: none;
  padding-bottom: 0;
}

.section-header {
  margin-bottom: 25px;
}

.section-header h2 {
  font-size: 24px;
  margin-bottom: 10px;
}


.content-block h2 {
  font-size: 24px;
  color: #333;
  margin-bottom: 20px;
}

.content-block p {
  font-size: 16px;
  margin-bottom: 15px;
  color: #444;
}

.hero-block {
  max-width: 800px;
  margin-bottom: 30px;
}

.hero-block h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 18px;
  color: #666;
}

.cta-container {
  margin-top: 30px;
}

.cta-button {
  display: inline-block;
  background-color: transparent;
  color: #333;
  padding: 8px 16px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  border: 1px solid #ccc;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.cta-button:hover {
  background-color: #e6e6e6;
  border-color: #999;
}

.grid-3-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid #ccc;
}

.card-text h3 {
  font-size: 18px;
  margin-bottom: 8px;
}


.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info h3 {
  margin-bottom: 15px;
}

.contact-info p {
  margin-bottom: 10px;
}

.contact-form-col {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-intro {
  margin-bottom: 5px;
  color: #444;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-weight: bold;
  font-size: 14px;
}

.form-group input, .form-group textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
  font-family: inherit;
}

.submit-button {
  align-self: flex-start;
  background-color: transparent;
  color: #333;
  border: 1px solid #ccc;
  padding: 8px 16px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.submit-button:hover {
  background-color: #e6e6e6;
  border-color: #999;
}

.square-grid {
  display: grid;
  grid-template-columns: repeat(25, 1fr);
  gap: 4px;
  margin-top: 35px;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
}

.sq {
  aspect-ratio: 1 / 1;
  background-color: #dfdfdf;
  border-radius: 1px;
  position: relative;
  transition: transform 0.15s cubic-bezier(0.2, 0, 0.2, 1),
              background-color 0.2s ease,
              opacity 0.2s ease;
  will-change: transform, opacity;
}

@media (max-width: 768px) {
  .grid-3-col {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .contact-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 1023px) {
  .square-grid {
    display: none;
  }
}
