/* styles.css */

body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
}
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}
.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #f0f0f0;
  padding: 2em 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}
nav li {
  margin-left: 20px;
}
nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}
h1 {
  margin: 0;
}
.section-title {
  color: #0056b3;
  margin-top: 40px;
}
.exp-type {
  width: 100%;
  text-align: left;
  padding: 1em;
  font-size: 1.1em;
  font-weight: bold;
  background-color: #f5f5f5;
  border: none;
  border-bottom: 1px solid #ddd;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.exp-type:hover {
  background-color: #eaeaea;
}
.exp-point {
  padding: 0 1em 1em;
  display: none;
  border-bottom: 1px solid #ddd;
}
.exp-item.active .exp-point {
  display: block;
}
.carousel {
  width: 100%;
  max-width: 600px;
  margin: auto;
  overflow: hidden;
  display: flex;
  justify-content: center;
  background-color: #ffffff;
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}
.carousel img {
  flex: 0 0 100%;
  max-height: 350px;
  max-width: 100%;
  height: auto;
  width: auto;
  object-fit: contain;
  display: block;
  margin: auto;
}
.img-box {
  max-width: 300px;
  text-align: center;
  margin: 0 auto 1em auto; /* centers the .img-box itself */
}
.img-box2 {
  max-width: 600px;
  text-align: center;
  margin: 0 auto 1em auto; /* centers the .img-box itself */
}
.project-image {
  max-height: 100%;
  max-width: 100%;
  height: auto;
  width: auto;
  display: inline-block;
  margin-left: auto;
  margin-right: auto; /* centers the image inside the box */
}

footer {
  background: #f0f0f0;
  padding: 10px 0;
  text-align: center;
  font-size: 0.9em;
  margin-top: 40px;
}
.section-buttons {
  margin-top: 10px;
  margin-bottom: 10px;
}
.about-btn {
  font-size: 14px;
  display: inline-block;
  padding: 10px 16px;
  margin: 4px;
  background-color: #0678ea;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}
.about-btn:hover {
  background-color: #ecbb0a;
  color: #7f0b0b;
}
.about-section {
  display: none;
}
.about-section.active {
  display: block;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.resume-panel-wrapper {
  position: relative;
  display: inline-block;
}
.resume-panel {
  position: absolute;
  top: 110%;
  left: 0;
  background: #fff;
  border: 1px solid #ccc;
  padding: 12px 16px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  display: none;
  z-index: 999;
  min-width: 220px;
}
.resume-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.resume-panel li {
  margin: 8px 0;
}
.resume-panel a {
  text-decoration: none;
  color: #0056b3;
  font-weight: bold;
  font-size: 16px;
}
.resume-panel a:hover {
  text-decoration: underline;
}
.resume-panel p {
  font-size: 14px;
  margin-top: 10px;
  margin-bottom: 6px;
  color: #555;
}
.resume-panel-wrapper:hover .resume-panel {
  display: block;
}

.founder-photo {
  max-width: 15%;
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-right: 20px;
  margin-left: 10px;
  margin-bottom: 1em;
}
/* Additional styling for forms */
form label {
  display: block;
  margin-top: 1em;
  font-weight: 600;
}
form input[type="text"],
form input[type="email"],
form textarea {
  width: 100%;
  padding: 0.5em;
  margin-top: 0.5em;
  box-sizing: border-box;
}
form input[type="submit"] {
  margin-top: 1em;
  padding: 0.7em 1.5em;
  background-color: #007BFF;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
#form-status {
  margin-top: 20px;
  font-weight: bold;
  text-align: center;
}
.error {
  color: red;
  font-size: 0.9em;
  margin-left: 10px;
}

