body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f0f2f5;
  color: #333;
}

header {
  background: linear-gradient(to right, #1f4037, #99f2c8);
  color: white;
  padding: 20px 0;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

nav {
  margin-top: 10px;
}

nav a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #ffe600;
}

.container {
  padding: 40px 20px;
  max-width: 1000px;
  margin: auto;
  animation: fadeIn 1s ease-in;
}

.hero {
  background: url("https://via.placeholder.com/1200x400/004b23/ffffff?text=Steelworks")
    no-repeat center center;
  background-size: cover;
  height: 300px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  background: rgba(0, 0, 0, 0.6);
  padding: 20px;
  border-radius: 10px;
  animation: slideDown 1s ease-out;
}

.section {
  margin: 40px 0;
}

.section h2 {
  color: #1f4037;
  border-left: 5px solid #99f2c8;
  padding-left: 10px;
}

footer {
  background-color: #1f4037;
  color: white;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
}

form input,
form textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
  border: 1px solid #ccc;
}

form button {
  padding: 10px 20px;
  background-color: #1f4037;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #14532d;
}

ul {
  list-style-type: square;
  padding-left: 20px;
}

.tabs {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.tab-button {
  background-color: #d1e7dd;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.tab-button.active,
.tab-button:hover {
  background-color: #0f5132;
  color: white;
}

.tab-content {
  display: none;
  margin-top: 20px;
  animation: fadeIn 0.8s ease-in-out;
}

.tab-content.active {
  display: block;
}

/* Login dropdown styles */
.login-dropdown {
  display: inline-block;
  position: relative;
}

.login-dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 180px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.login-dropdown-content a {
  color: black;
  padding: 10px 16px;
  text-decoration: none;
  display: block;
}

.login-dropdown-content a:hover {
  background-color: #f1f1f1;
}

.login-dropdown:hover .login-dropdown-content {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.review-box {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 20px;
}

.review-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1f4037, #99f2c8);
  color: white;
  font-weight: bold;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-text {
  font-style: italic;
  color: #444;
  position: relative;
  padding-left: 15px;
  border-left: 3px solid #99f2c8;
}

h2 {
  color: #1f4037;
  border-left: 5px solid #99f2c8;
  padding-left: 10px;
  margin-top: 40px;
}
ul {
  list-style-type: square;
  padding-left: 20px;
}
form input,
form textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
  border: 1px solid #ccc;
}

form button {
  padding: 10px 20px;
  background-color: #1f4037;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

form button:hover {
  background-color: #14532d;
}

.flashes {
  list-style-type: none;
  padding: 0;
  margin-bottom: 20px;
}

.flashes li {
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 5px;
}

.success {
  background-color: #d4edda;
  color: #155724;
}

.danger {
  background-color: #f8d7da;
  color: #721c24;
}

.info {
  background-color: #cce5ff;
  color: #004085;
}

/* Responsive form */
@media (max-width: 600px) {
  form input,
  form textarea,
  form button {
    width: 100%;
  }
}

form label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}

.note {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
}
.note a {
  color: #3a6073;
  text-decoration: none;
  font-weight: bold;
}
.note a:hover {
  text-decoration: underline;
}
select {
  padding: 12px 16px;
  margin: 10px 5px 20px 0;
  font-size: 16px;
  border: 2px solid #3a6073;
  border-radius: 8px;
  background-color: #ffffff;
  color: #16222a;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

select:focus {
  border-color: #ffdd57;
  outline: none;
  box-shadow: 0 0 8px rgba(255, 221, 87, 0.6);
}

.type-group {
  display: none;
}

.register-dropdown {
  position: relative;
  display: inline-block;
  width: 100%;
  margin-top: 10px;
}

.register-dropdown button {
  padding: 12px;
  width: 100%;
  border: 2px solid #3a6073;
  background: #f9f9f9;
  cursor: pointer;
  font-size: 16px;
  border-radius: 8px;
  text-align: left;
  font-weight: 600;
  color: #3a6073;
  transition: background-color 0.3s ease;
}

.register-dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  width: 100%;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  border-radius: 6px;
  overflow: hidden;
}

.register-dropdown-content a {
  display: block;
  padding: 12px 15px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  border-bottom: 1px solid #f0f0f0;
}

.register-dropdown-content a:hover {
  background-color: #f1f1f1;
}

.register-dropdown:hover .register-dropdown-content {
  display: block;
}

.flash {
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 6px;
}

.flash.info {
  background: #d9edf7;
  color: #31708f;
}

.flash.success {
  background: #dff0d8;
  color: #3c763d;
}

.flash.danger {
  background: #f2dede;
  color: #a94442;
}


/* FIX GAP BELOW HEADER */
header {
    margin-bottom: 0 !important;
}

header + .container {
    margin-top: 0 !important;
    padding-top: 10px !important;
}

header + .container.mt-3 {
    margin-top: 0 !important;
    padding-top: 0 !important;
}