body {
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 310;
  color: #555;
}


.page-wrapper {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.card {
  background-color: #ffffff;
  margin-bottom: 30px;
  padding: 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: 10px;
}

.card2 {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}


h1, h2 {
  color: #2c3e50;
  font-weight: 600;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}


a {
  color: #2980b9;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.top-section {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.avatar-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}

.title-under-avatar {
  margin: 10px 0 0 0;
  font-size: 0.9rem;
  color: #555;
  text-align: center;
  max-width: 180px;
  line-height: 1.2;
}

.profile-pic {
  width: 190px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}


button {
  background-color: #2980b9;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.justify {
  text-align: justify;
}

.card h2 {
  margin-top: 80px;
}

.blue-bar {
  border-left: 4px solid #2980b9;  /* Blue vertical bar */
  padding-left: 16px;              /* Space between bar and text */
  margin-left: 0;
}

.contact-icons a {
  margin-right: 15px;
  font-size: 1.4rem;
  color: #2980b9;
  text-decoration: none;
}

.contact-icons a:hover {
  color: #1a5276;
}


.small-text {
  font-size: 0.75rem; /* smaller than project-abstract */
  line-height: 1.3;
  color: #555; /* optional: a bit lighter color */
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.project {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.project img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.project-text {
  max-width: 480px; /* adjust as needed */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.project-title {
  font-weight: 600;
  font-size: 1.0rem;
  color: #2c3e50;
  margin-bottom: 0.3rem;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.project-description {
  font-size: 0.8rem;
  font-weight: 350;
  color: #555;
  line-height: 1.4;
  margin: 0;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.inline-logo {
  height: 0.9em;
  vertical-align: middle;
  margin-left: 6px;
}

.contact-info {
  margin: 15px 0;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: #555;
}

.contact-item i {
  width: 20px;
  margin-right: 12px;
  color: #666;
}

.contact-item span {
  flex: 1;
}

.contact-item a {
  color: #2980b9;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

.nav-links {
  margin-top: 20px;
  font-size: 0.9rem;
}

/* Inline variant for contact lists */
.contact-info.contact-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
}

.contact-info.contact-inline .contact-item {
  margin-bottom: 0;
}

.top-section > div:last-child {
  margin-top: 0;
  padding-top: 0;
}

.top-section > div:last-child h1 {
  margin: 0;
  padding: 0;
  line-height: 1.2;
}

.indented-list {
  margin-left: 20px;
  margin-top: 0;
  padding-left: 0;
}

h5 {
  margin-bottom: 8px;
}

h2 {
  margin-bottom: 10px;
}

.pdf-button {
  display: inline-block;
  background-color: #2980b9;
  color: white;
  padding: 6px 8px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 500;
  margin-top: 8px;
  transition: background-color 0.2s ease;
  width: fit-content;
  text-align: center;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.pdf-button:hover {
  background-color: #1a5276;
  text-decoration: none;
}

.project {
  background: #fff;                 /* card background */
  border: 1px solid #ddd;           /* light border */
  border-radius: 12px;              /* rounded corners */
  box-shadow: 0 4px 8px rgba(0,0,0,0.08); /* soft shadow */
  margin: 1.5rem 0;                 /* space between cards */
  padding: 1rem;                    /* inner spacing */
  display: flex;                    /* keep image + text side by side */
  gap: 1rem;                        /* space between image and text */
  align-items: flex-start;
}

.project img {
  width: 250px;       /* larger thumbnails (adjust to taste) */
  max-width: 40%;     /* never take more than 40% of the card width */
  height: auto;       /* keeps proportions */
  border-radius: 8px; /* rounded corners */
  object-fit: cover;  /* crops nicely if too tall */
}

.project-text {
  flex: 1;                          /* text takes remaining space */
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 300; /* lighter, thinner look */
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600; /* not too bold */
}

/* ---- Professional buttons (override) ---- */
button,
.pdf-button {
  display: inline-block;            /* makes <a> behave like a button */
  background: #2980b9;              /* primary blue */
  color: #fff;
  padding: 0.6rem 1.1rem;
  border: 0;
  border-radius: 8px;               /* smoother corners */
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1;                   /* tighter vertical rhythm */
  cursor: pointer;
  text-decoration: none;            /* ensure <a> has no underline */
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.10);
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

/* Hover: subtle lift + darker tone */
button:hover,
.pdf-button:hover {
  background: #1a5276;              /* darker shade */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  text-decoration: none;            /* keep links clean */
}

/* Active: pressed */
button:active,
.pdf-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

/* Keyboard focus: accessible outline */
button:focus-visible,
.pdf-button:focus-visible {
  outline: 3px solid rgba(41,128,185,0.35);
  outline-offset: 2px;
}

/* Disabled state (optional) */
button:disabled,
.pdf-button[aria-disabled="true"] {
  background: #9bbbd0;
  color: #f2f6f9;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* If you want a lighter, secondary style: add class="btn--outline" */
.btn--outline {
  background: transparent;
  color: #2980b9;
  border: 2px solid #2980b9;
  box-shadow: none;
}
.btn--outline:hover {
  background: #2980b9;
  color: #fff;
}
