/* Ensure full height and flex layout */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: #fff;
  color: #333;
}

/* Add spacing around main content */
main {
  flex: 1;
  padding: 40px 20px;
  max-width: 960px;
  margin: 0 auto;
}

/* Header adjustments */
header {
  padding: 20px;
  text-align: right;
  background: transparent;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.25em;
}

h2 {
  font-size: 1.2rem;
  font-weight: 400;
  color: #555;
  margin-top: 0;
  margin-bottom: 2em;
}

h3 {
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5em;
}

/* Navigation links */
nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #444;
  font-weight: 500;
}

/* Footer styling */
footer {
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  color: #777;
  background-color: #f9f9f9;
  border-top: 1px solid #eee;
}

.icons a {
  margin-right: 15px;
  font-size: 1.5rem;
  color: #333;
  text-decoration: none;
}

.icons a:hover {
  color: #0077b5; /* LinkedIn Blue */
}

.contact-section {
  background-color: #f8faff;
  padding: 40px 20px;
  max-width: 900px;
  margin: auto;
}

.contact-section h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 30px;
}

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

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.full-width {
  width: 100%;
}

label {
  font-weight: 600;
  margin-bottom: 5px;
}

.required {
  font-weight: normal;
  font-size: 0.9rem;
  color: #888;
  margin-left: 4px;
}

input,
textarea {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #999;
  border-radius: 2px;
}

.btn-submit {
  width: 120px;
  background-color: #1a1a1a;
  color: #fff;
  padding: 12px 20px;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.btn-submit:hover {
  background-color: #333;
}


/* Responsive behavior */
@media (max-width: 768px) {
  header {
    text-align: center;
  }

  nav a {
    display: inline-block;
    margin: 10px 10px 0 10px;
  }

  main {
    padding: 30px 15px;
  }

  footer {
    font-size: 0.8rem;
    padding: 15px;
  }
}

.accordion-item {
  margin: 10px 0;
}

.accordion-button {
  background: none; /* Removes the button background */
  border: none; /* Removes the border */
  color: #0066cc; /* Matches the hyperlink color */
  font-size: 16px; /* Adjusts the font size */
  text-align: left; /* Aligns text to the left */
  cursor: pointer; /* Changes the cursor to a pointer on hover */
  padding: 0; /* Removes padding */
}

.accordion-button:hover {
  text-decoration: underline; /* Adds underline on hover */
}

.accordion-content {
  display: none;
  overflow: hidden;
  padding: 10px;
  border: 1px solid #ccc;
  background-color: #fff;
}
