body {
    background: linear-gradient(135deg, #1A2B66 0%, #1D327C 50%, #234B9C 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    margin: 0;
    padding: 0;
}

/* Enhanced styling for contacts page */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.profile {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 40px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #07213b;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.profile:nth-child(even) {
    background: linear-gradient(135deg, #eef5ff 0%, #f8fbff 100%);
}

.profile-image {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: 8px;
    object-fit: cover;
    border: 3px solid #07213b;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
}

.profile-content {
    flex: 1;
}

.profile-content h2 {
    color: #07213b;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    border-bottom: none;
    padding-bottom: 0;
}

.profile-content h3 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.profile-content p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1rem;
    text-align: left;
}

.profile-content ul {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-left: 20px;
    text-align: left;
}

.profile-content li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.hero-section {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.9) 100%);
    text-align: center;
    padding: 40px 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.hero-section h1 {
    color: #07213b;
    margin-bottom: 1.5rem;
}

.hero-section p {
    color: #555;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    text-align: center;
}

section {
    background: #fff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-width: 100%;
}

h1 {
    color: #f7f8f9;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

h2 {
    color: #07213b;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #07213b;
    padding-bottom: 0.5rem;
}

h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

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

.btn {
    background: #07213b;
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.btn:hover {
    background: #06162e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.flex {
    display: flex;
    gap: 30px;
    align-items: center;
}

.flex > div {
    flex: 1;
}

.content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.content-image:hover {
    transform: scale(1.02);
}

ul {
    color: #333;
    line-height: 1.8;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

b {
    color: #07213b;
    font-weight: 600;
}

.highlight-section {
    background: linear-gradient(135deg, #eef5ff 0%, #f8fbff 100%);
    border-left: 4px solid #07213b;
}

footer {
    background: rgba(255,255,255,0.95);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    margin-top: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

footer p {
    color: #666;
    margin: 0;
}

footer a {
    color: #07213b;
    text-decoration: none;
    font-weight: 500;
}

footer a:hover {
    text-decoration: underline;
}

.container {
  background: rgba(255,255,255,0.95);
  max-width: 420px;
  margin: 48px auto;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(0,0,0,0.12);
  padding: 36px 32px 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

h1 {
    color: #07213b;
    text-align: center;
    margin-bottom: 18px;
    font-size: 2rem;
    letter-spacing: 1px;
}

p {
  color: #0e280e;
  text-align: center;
  margin-bottom: 24px;
  font-size: 1.1rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

label {
  color: #2c1b02;
  font-weight: 500;
  margin-bottom: 6px;
  display: block;
}

select, input[type="file"] {
  width: 100%;
  padding: 8px 10px;
  border: 1.5px solid #132a14;
  border-radius: 7px;
  background: #f9fbe7;
  margin-top: 4px;
  margin-bottom: 10px;
  font-size: 1rem;
  color: #333;
}

input[type="file"]::-webkit-file-upload-button {
  background: #124313;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 6px 14px;
  cursor: pointer;
  font-weight: 500;
}
input[type="file"]::file-selector-button {
  background: #07213b;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 6px 14px;
  cursor: pointer;
  font-weight: 500;
}

button[type="submit"] {
  background: #07213b;
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 12px 0;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.2s;
}
button[type="submit"]:hover {
  background: #06162e;
}

.nav-btn {
  background: #07213b;
  color: #fff !important;
  border: none;
  border-radius: 7px;
  padding: 10px 22px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(227, 209, 208, 0.08);
  display: inline-block;
}
.nav-btn:hover, .nav-btn:focus {
  background: #06162e;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(226, 203, 202, 0.18);
  text-decoration: none;
}

#results-table th, #results-table td {
  text-align: left;
  padding: 10px 14px;
  vertical-align: middle;
}
#results-table th {
  font-size: 1.05rem;
  font-weight: 700;
}
#results-table td {
  font-size: 1rem;
  font-weight: 500;
  background: #fff;
}
#results-table tr {
  border-bottom: 1px solid #2f0808;
}
#results-table {
  table-layout: fixed;
  width: 100%;
}

@media (max-width: 900px) {
  .container-flex {
    flex-direction: column;
    gap: 18px;
    max-width: 98vw;
  }
  .container {
    max-width: 98vw;
    min-width: unset;
    margin: 24px auto;
    padding: 24px 8px 18px 8px;
  }
}
@media (max-width: 600px) {
  .main-title {
    font-size: 1.2rem;
    padding: 8px 0;
  }
  .navbar {
    flex-direction: column;
    gap: 8px;
    padding: 8px 0 6px 0;
  }
  .container {
    padding: 12px 2vw 10px 2vw;
    border-radius: 10px;
    margin: 12px auto;
  }
  .button-group {
    flex-direction: column;
    gap: 8px;
  }
  form {
    gap: 10px;
  }
  label, select, input[type="file"], button[type="submit"] {
    font-size: 0.98rem;
  }
  table#results-table {
    font-size: 0.95rem;
  }
  #user-instructions-modal > div {
    max-width: 95vw;
    padding: 12px;
  }
  
  /* Responsive design for contacts page */
  .profile {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .profile-image {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    border-radius: 6px;
  }

  .hero-section {
    padding: 30px 20px;
  }

  .hero-section p {
    font-size: 1.1rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 1rem;
  }
  
  .main-container {
    padding: 10px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  section {
    padding: 20px;
    margin-bottom: 20px;
  }
}
