*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
    "Helvetica Neue", sans-serif;
  background-color: #f0f2f5;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  color: #333;
  text-align: center;
}

.container {
  background-color: #ffffff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  width: 90%;
  box-sizing: border-box;
}

.logo {
  max-width: 250px; /* Adjust as needed */
  height: auto; /* Maintain aspect ratio */
  display: block;
  margin: 0 auto 40px auto; /* Increased margin for better separation */
  border-radius: 50%;
}

h1 {
  font-size: 2.5em;
  margin-bottom: 20px; /* Increased margin for better separation */
  color: #b08d3b;
}

p {
  font-size: 1.1em;
  line-height: 1.6;
  color: #555;
}

.contact-info {
  display: inline-flex; /* Use inline-flex to keep it centered with text-align: center on parent */
  align-items: center; /* Vertically align items */
  gap: 8px; /* Space between "Reach Us:" and the link */
  color: #b08d3b; /* Apply brand color to the whole line */
  font-weight: 600; /* Match font-weight for consistency */
}

.email-link {
  display: inline-flex; /* Use flexbox for icon and text alignment */
  align-items: center;
  gap: 8px; /* Space between icon and text */
  color: #b08d3b; /* Match the heading color */
  text-decoration: none; /* Remove underline */
  font-weight: 600; /* Make it slightly bolder */
  transition: color 0.3s ease, text-decoration 0.3s ease; /* Smooth transition for hover effect */
}

.email-link:hover {
  color: #8a6b2c; /* Slightly darker shade on hover */
  text-decoration: underline; /* Add underline on hover for better UX */
}

.email-icon {
  flex-shrink: 0; /* Prevent icon from shrinking */
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .container {
    padding: 30px 20px;
  }

  .logo {
    max-width: 120px;
    margin-bottom: 30px; /* Adjusted for smaller screens */
  }

  h1 {
    font-size: 2em;
  }

  p {
    font-size: 1em;
  }

  .contact-info,
  .email-link {
    font-size: 0.95em; /* Adjust font size for smaller screens */
  }

  .email-icon {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 400px) {
  h1 {
    font-size: 1.8em;
  }

  p {
    font-size: 0.95em;
  }
}
