/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body Styling */
body {
  font-family: 'Roboto', 'Open Sans', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f4f4f4;
}

/* Header Styling */
header {
  background-color: #fff;
  padding: 0.5rem 1.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 20;
  height: 50px;
}

nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

nav a {
  color: #F79629;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 0.25rem 0;
}

nav a:hover {
  color: #e68a00;
}

#sitelogo {
  color: #333;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: color 0.3s ease;
  line-height: 30px;
  height: 30px;
  display: inline-block;
  align-self: center;
}

#sitelogo:hover {
  color: #F79629;
}

/* Main Section with Background Image */
.u-section-1 {
  background-image: url(./images/bg23.jpg);
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 110px);
}

.u-section-1::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.u-sheet-1 {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin-right: 20px;
}

/* Signup Container Styling */
.signup-container {
  background: rgba(0, 43, 91, 0.9);
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  color: #F79629;
  max-width: 500px; /* Increased from 400px to 500px */
  padding: 2rem; /* Increased from 1.5rem */
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.signup-container h2 {
  color: #F79629;
  font-size: 2.25rem; /* Increased from 1.75rem */
  font-weight: 700;
  margin-bottom: 1rem; /* Increased from 0.75rem */
  text-align: center;
  letter-spacing: 0.5px;
}

.signup-container p {
  color: #F79629;
  font-size: 1.125rem; /* Increased from 0.9rem */
  line-height: 1.6;
  margin-bottom: 1.5rem; /* Increased from 1.25rem */
  text-align: center;
  opacity: 0.9;
}

.signup-container label {
  color: #FFFFFF;
  font-size: 1.125rem; /* Increased from 0.9rem */
  font-weight: 500;
  display: block;
  margin-bottom: 0.5rem; /* Increased from 0.3rem */
}

/* Form Inputs */
.signup-container select,
.signup-container input[type="email"],
.signup-container input[type="tel"],
.signup-container input[type="text"] {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 1rem; /* Increased from 0.7rem */
  font-size: 1.125rem; /* Increased from 0.95rem */
  width: 100%;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  display: block;
  box-sizing: border-box;
}

.signup-container select:focus,
.signup-container input:focus {
  outline: none;
  border-color: #F79629;
  box-shadow: 0 0 0 3px rgba(247, 150, 41, 0.2);
}

.signup-container select {
  appearance: none;
  background-image: url(data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234b5563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 9l-7 7-7-7'/%3E%3C/svg%3E);
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.5rem; /* Increased from 1.2rem */
  padding-right: 3rem; /* Increased from 2.5rem */
}

.signup-container .u-form-submit input[type="submit"] {
  background: #fff;
  color: #024770;
  font-weight: 600;
  border-radius: 8px;
  padding: 1rem; /* Increased from 0.75rem */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease, transform 0.2s ease;
  width: 100%;
  border: none;
  cursor: pointer;
  margin-top: 0.75rem; /* Increased from 0.5rem */
  font-size: 1.125rem; /* Increased from 0.95rem */
}

.signup-container .u-form-submit input[type="submit"]:hover {
  background: #F79629;
  color: #fff;
  transform: translateY(-2px);
}

/* Footer Styling */
footer {
  background: #fff;
  padding: 1rem 0;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 10;
  text-align: center;
}

footer .social_icon {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 0.5rem;
}

footer .social_icon li {
  list-style: none;
}

.social-icon {
  font-size: 1.25rem;
  color: #666;
  transition: color 0.3s ease, transform 0.2s ease;
}

.social-icon:hover {
  color: #F79629;
  transform: translateY(-3px);
}

footer p {
  color: #666;
  font-size: 0.8rem;
  font-weight: 400;
}

/* Overlay Styling */
#overlay {
  z-index: 30;
  top: 50px;
  bottom: 60px;
}

/* Main Padding to Prevent Footer Overlap */
main {
  padding-bottom: 2rem;
  flex-grow: 1;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .signup-container {
    max-width: 90%;
    padding: 1.5rem;
  }
  .signup-container h2 {
    font-size: 1.75rem;
  }
  .signup-container p {
    font-size: 1rem;
  }
  .u-sheet-1 {
    justify-content: center;
    margin-right: 0;
    padding-right: 0;
  }
  .social-icon {
    font-size: 1rem;
  }
  footer .social_icon {
    gap: 1rem;
  }
  main {
    padding-bottom: 1.5rem;
  }
  header {
    padding: 0.5rem 1rem;
    height: 45px;
  }
  nav {
    gap: 1rem;
  }
  nav a {
    font-size: 0.9rem;
  }
  #sitelogo {
    font-size: 1rem;
    line-height: 25px;
    height: 25px;
  }
}

@media (max-width: 575px) {
  .signup-container {
    padding: 1rem;
  }
  .signup-container h2 {
    font-size: 1.5rem;
  }
  .signup-container p {
    font-size: 0.9rem;
  }
  .signup-container select,
  .signup-container input[type="email"],
  .signup-container input[type="tel"],
  .signup-container input[type="text"] {
    padding: 0.75rem;
  }
  .signup-container .u-form-submit input[type="submit"] {
    padding: 0.75rem;
  }
  footer .social_icon {
    gap: 0.75rem;
  }
  .social-icon {
    font-size: 0.9rem;
  }
}