/* Apply Roboto font across the page */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #000;
  color: #fff;
  position: relative;
  min-height: 100%; /* Ensure proper height for scrolling */
  overflow: scroll;
}

/* Full-page background image */
body::before {
  content: '';
  position: fixed; /* Fixed to cover the entire viewport */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('bg.jpg') center/cover no-repeat;
  z-index: -2;
  opacity: 0.5; /* Adjust for darker or lighter overlay */
}

/* Overlay for dark effect */
.overlay {
  position: fixed; /* Ensure overlay spans the full height */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

/* Layout adjustments */
.container {
  display: flex;
  flex-direction: row;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  gap: 30px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.content {
  flex: 1;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1); /* Transparent background */
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.content h1 {
  font-size: 2rem;
  color: #fff;
}

.content p {
  margin: 15px 0;
  line-height: 1.6;
  color: #ddd;
}

blockquote {
  margin: 20px 0;
  padding: 15px;
  background: rgba(255, 255, 255, 0.1);
  border-left: 4px solid #0073e6;
  font-style: italic;
  color: #fff;
}

.form-container {
  flex: 1;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1); /* Transparent background */
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.form-container h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #fff;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #ddd;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #555;
  border-radius: 4px;
  background: #222;
  color: #fff;
  box-sizing: border-box;
}

.form-group textarea {
  resize: vertical;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 160px;
}

button {
  display: inline-block;
  background: #0073e6;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background: #005bb5;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    padding: 10px;
    gap: 20px;
  }

  .content, .form-container {
    flex: none;
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
  }

  .content h1 {
    font-size: 1.8rem;
    text-align: center;
  }

  .content p, blockquote {
    font-size: 0.9rem;
    text-align: justify;
  }

  .form-container h2 {
    font-size: 1.4rem;
    text-align: center;
  }

  .form-group input,
  .form-group textarea {
    font-size: 0.9rem;
  }

  button {
    width: 100%;
    padding: 12px;
  }
}

/* For very small screens (e.g., phones) */
@media (max-width: 480px) {
  .content h1 {
    font-size: 1.5rem;
  }

  .content p, blockquote {
    font-size: 0.8rem;
  }

  .form-container h2 {
    font-size: 1.2rem;
  }
}
