/* Base Styles */
body {
  font-family: 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
  background-color: #f5f5f5;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #333;
  direction: rtl;
}

/* Container */
main.thank-you-container {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 3rem 2rem;
  max-width: 600px;
  width: 100%;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* Headings and Text */
h1 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #333;
}

p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #333;
  line-height: 1.6;
}

/* Button */
a.button {
  display: inline-block;
  background-color: #ffa100;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

a.button:hover {
  background-color: #cc8200;
}

/* Links Section */
.links {
  margin-top: 2rem;
}

.links a {
  display: block;
  margin: 0.5rem 0;
  color: #2563eb;
  font-size: 1rem;
  text-decoration: none;
}

.links a:hover {
  text-decoration: underline;
}

/* Social Section Container */
.social {
  margin-top: 2.5rem;
  text-align: center;
  padding: 0 1rem;
}

.social h2 {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #333;
  font-weight: 400;
  letter-spacing: -0.5px;
}

.social h2::before {
  content: "";
  display: block;
  width: 200px;
  height: 1px;
  margin: 0 auto 1.6rem;
  background-color: #b3b3b3;
}

/* Social List Layout */
.social-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Individual Link Styling */
.social-list li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #d1d5db;
  color: #ffffff;
  font-size: 1.25rem;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
}

/* Hover & Focus States */
.social-list li a:hover,
.social-list li a:focus {
  background-color: #3495d9;
  color: #ffffff;
  transform: scale(1.15);
  outline: none;
}

/* Responsive Enhancements */
@media (max-width: 480px) {
  main.thank-you-container {
    padding: 2rem 1rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  p {
    font-size: 1rem;
  }

  .social h2 {
    font-size: 1rem;
  }

  .social-list li a {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
}
