/* Base styles */
body, h1, h2, p, .topnav, .dropdown, .dropdown-content {
  text-decoration: wavy;
  font-family: 'Georgia', serif;
  text-align: center;
}

body {
  background-color: #e9eed6;
  font-family: 'Georgia', sans-serif;
}

/* Navigation Bar */
.topnav {
  background-color: #245f72;
  overflow: hidden;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #6fb7c9;
  color: black;
}

.topnav a.active {
  background-color: #2e7686;
  color: white;
}

.topnav .icon {
  display: none;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 16px;  
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #6fb7c9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

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

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

/* About Section */
.about {
  padding: 40px;
  max-width: 900px;
  margin: 0 auto;
}

h1 {
  color: #245f72;
  text-align: center;
  font-size: 3rem;
}

h2, h3 {
  color: #245f72;
  font-size: 2rem;
  margin-top: 20px;
}

.intro-text {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 20px;
}

.link-text {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 40px;
}

.link-text a {
  color: #1d6a7a;
  text-decoration: none;
}

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

/* Profile Section */
.profile {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

.profile-pic {
  flex: 1;
  padding-right: 20px;
  text-align: center;
}

.profile-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #245f72;
}

.profile-details {
  flex: 2;
  background-color: #ffffff;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.profile-details h3 {
  font-size: 2rem;
  color: #245f72;
}

.profile-details p {
  font-size: 1.1rem;
  color: #555;
}

.profile-details .title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #245f72;
}

.profile-details a {
  color: #1d6a7a;
  text-decoration: none;
}

.profile-details a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  text-align: center;
  padding: 10px;
  background-color: #245f72;
  color: white;
  margin-top: 40px;
}

/* General form styling */
.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h1 {
  text-align: center;
  color: #245f72;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

label {
  display: block;
  font-size: 1.1rem;
  color: #245f72;
  margin-top: 10px;
  margin-bottom: 5px;
}

input[type="text"],
select,
textarea {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-bottom: 15px;
}

input[type="submit"] {
  background-color: #1d6a7a;
  color: white;
  font-size: 1.2rem;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
}

input[type="submit"]:hover {
  background-color: #1e7785;
}

textarea {
  height: 150px;
  resize: vertical;
}

input[type="text"]:focus,
select:focus,
textarea:focus {
  border-color: #6fb7c9;
  outline: none;
}

input:invalid,
select:invalid,
textarea:invalid {
  border-color: red;
}

input:valid,
select:valid,
textarea:valid {
  border-color: green;
}

/* Resume Section */
.pdf-container {
  margin-top: 30px;
  text-align: center;
}

.pdf-container h2 {
  font-size: 2rem;
  color: #245f72;
  margin-bottom: 20px;
}

.pdf-container p {
  font-size: 1rem;
  color: #333;
}

.pdf-container a {
  color: #1d6a7a;
  text-decoration: none;
  font-weight: bold;
}

.pdf-container a:hover {
  text-decoration: underline;
}

/* PDF */
.pdf {
  border: 2px solid #ccc;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

/* Contact Section */
.contact-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-container h1 {
  font-size: 2.5rem;
  color: #245f72;
  margin-bottom: 20px;
}

.contact-container label {
  display: block;
  font-size: 1.1rem;
  color: #245f72;
  margin-top: 10px;
  margin-bottom: 5px;
}

.contact-container input[type="text"],
.contact-container select,
.contact-container textarea {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-bottom: 15px;
}

.contact-container input[type="submit"] {
  background-color: #1d6a7a;
  color: white;
  font-size: 1.2rem;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
}

.contact-container input[type="submit"]:hover {
  background-color: #1e7785;
}

/* Content Blocks */
.content-block {
  background-color: #f9f9f9;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.content-block h2 {
  color: #245f72;
  font-size: 2rem;
  margin-bottom: 15px;
}

.content-block p {
  font-size: 1.1rem;
  color: #555;
}

.content-block ul {
  list-style-type: none;
  padding-left: 0;
}

.content-block ul li {
  margin-bottom: 10px;
}

.content-block a {
  color: #1d6a7a;
  text-decoration: none;
}

.content-block a:hover {
  text-decoration: underline;
}

/* Tables */
table {
  width: 80%;
  margin: 20px auto;
  border-collapse: collapse;
  background-color: white;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

th, td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: left;
}

th {
  background-color: #245f72;
  color: white;
}

tr:nth-child(even) {
  background-color: #f2f2f2;
}

tr:hover {
  background-color: #ddd;
}

.no-data {
  text-align: center;
  color: #999;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
th, td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}
th {
    background-color: #4a90e2; /* nice blue header */
    color: white;
}
tr:nth-child(even) {
    background-color: #f2f2f2;
}
