:root {
  /* Typography */
  --font-xs: 0.75rem;   /* 12px */
  --font-sm: 0.875rem;  /* 14px */
  --font-md: 1rem;      /* 16px */
  --font-lg: 1.125rem;  /* 18px */
  --font-xl: 1.25rem;   /* 20px */
  --font-2xl: 1.5rem;   /* 24px */
  --font-3xl: 2rem;     /* 32px */
  --font-4xl: 2.5rem;   /* 40px */
  --font-hero: 6.25rem; /* 100px */

  /* Spacing (8px-based scale) */
  --space-1: 0.25rem;  /* 4px */
  --space-2: 0.5rem;   /* 8px */
  --space-3: 0.75rem;  /* 12px */
  --space-4: 1rem;     /* 16px */
  --space-5: 1.25rem;  /* 20px */
  --space-6: 1.5rem;   /* 24px */
  --space-8: 2rem;     /* 32px */
  --space-10: 2.5rem;  /* 40px */
  --space-12: 3rem;    /* 48px */

  /* Radius */
  --radius-sm: 0.25rem; /* 4px */
  --radius-md: 0.5rem;  /* 8px */
  --radius-lg: 0.75rem; /* 12px */
  --radius-xl: 1.5rem;  /* 24px */

  /* Layout */
  --container-max: 78.125rem; /* 1250px */
  --about-left: 20.6875rem;   /* 331px */
  --about-right: 56.25rem;    /* 900px */
}


html,
body {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}
body {
  margin: 0;
  text-align: center;
  background-color: #1e1e1e;
  color: #ffffff;
  font-family: "Inter", Arial, sans-serif;
  min-height: 100vh;
}

.nav_logo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100vw; /* Full viewport width */
  max-width: 100%;
  height: auto; /* Let padding control the height */
  background-color: #000;
  border-radius: 0;
  margin: 0;
  padding: 12px 32px; /* Increased vertical padding */
  box-sizing: border-box;
}

.nav_logo img {
  width: 52px;
  height: 53px;
  flex-shrink: 0;
}

.nav_pill {
  display: flex;
  padding: 0 25px;
  margin: 0;
  justify-content: flex-end;
  align-items: center;
  gap: 25px;
  list-style: none;
}
.nav_pill li a {
  color: #fff; /* Black text for contrast */
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 4px;
  /* Single Line/Body Base */
  font-family: var(
    --sds-typography-body-font-family,
    "Segoe UI",
    Arial,
    sans-serif
  );
  font-size: var(--font-md);
  font-style: normal;
  font-weight: var(--sds-typography-body-font-weight-regular);
  line-height: 100%; /* 16px */
}

.about {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 200px; /* Increased gap to separate columns */
  margin-top: 32px;
  padding-left: 0;
  padding-right: 0;
  max-width: 1250px;
  margin-left: auto;
  margin-right: auto;
}

.about-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 331px;
  margin-right: 0; /* Remove the large margin */
}

.about-left img {
  width: 400px; /* Increase image size */
  height: 395px; /* Keep aspect ratio or adjust as needed */
  margin-top: 32px;
  display: block;
}

.name {
  margin-top: 50px; /* Increase space below image */
  font-size: var(--font-2xl);
  font-weight: bold;
  text-align: left;
  width: 100%;
}

.bio {
  margin-top: 45px; /* Increase space below name */
  font-size: var(--font-lg);
  color: #ccc;
  text-align: left;
  width: 100%;
}

.name,
.bio {
  text-align: left;
  width: 100%;
  margin-left: 0;
}

.name {
  margin-top: 50px;
  font-family: var(
    --sds-typography-body-font-family,
    "Segoe UI",
    Arial,
    sans-serif
  );
  font-size: var(--font-xl);
  font-weight: bold;
}

.bio {
  margin-top: 30px;
  font-size: var(--font-md);
  color: #fff;
  max-width: none;
  font-family: var(
    --sds-typography-body-font-family,
    "Segoe UI",
    Arial,
    sans-serif
  );
  white-space: nowrap;
}

/* Speech bubble tail */
.about-right::before {
  content: "";
  position: absolute;
  left: -70px; /* Move tail further left to match new size */
  top: 80px; /* Adjust vertical position as needed */
  width: 100px; /* Make tail bigger */
  height: 100px; /* Make tail bigger */
  background: #f3f3f3;
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
  transform: rotate(-25deg); /* Angle the tail */
  z-index: 1;
  font-weight: 600;
}

.about-right {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  width: 900px; /* Elongate the bubble */
  max-width: 100%;
  height: 400px;
  padding: 32px 32px 32px 100px; /* Extra left padding for the tail */
  background: #f3f3f3;
  border-radius: 24px;
  color: #222;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

.about,
.about-left,
.about-right,
.name,
.bio {
  line-height: 1.7;
}

html,
body {
  height: 100%;
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}

main {
  background-image: url("assets/Hero - 18-05-2025 22-20-59.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 78vh;
  width: 100%;
}
main,
main.projects-main,
main.projects-page-main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  padding-bottom: 40px;
}

footer {
  display: flex;
  flex-shrink: 0;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px 32px;
  background-color: #fff;
  color: #000;
  font-family: "Inter", Arial, sans-serif;
  width: 100%;
  box-sizing: border-box;
  margin: 0; /* Push footer to the bottom */
  border-top: 2px solid #e0e0e0; /* Add this line for a top border */
}

.footer_left_row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer_name {
  font-weight: 600;
  font-size: var(--font-lg);
  color: #000;
  margin: 0;
}

.social_media {
  display: flex;
  gap: 12px;
  color: black;
}

.social_media a {
  color: #000 !important; /* Make icon links black */
  text-decoration: none; /* Remove underline */
  background: none; /* Remove any background highlight */
}

.social_media a:visited,
.social_media a:active,
.social_media a:focus,
.social_media a:hover {
  color: #000 !important; /* Keep icons black on all states */
  text-decoration: none;
  background: none;
}

.footer_pill {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: left;
  color: black;
  text-align: left;
}
.footer_pill a {
  color: #2b2e2c; /* Light grey text */
  text-decoration: none; /* Remove underline */
  transition: color 0.2s;
  font-family: "Inter", Arial, sans-serif;
  text-align: left;
}

.footer_pill a:hover {
  color: #000; /* Black text on hover */
  text-decoration: none; /* Still no underline on hover */
}

.footer_pill li:first-child {
  margin-bottom: 16px; /* Adjust the value as needed */
}

.contact_info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: left;
  text-align: left;
}
.contact_info a {
  color: #000; /* Black text */
  text-decoration: none; /* No underline */
  transition: color 0.2s;
}

.contact_info a:hover,
.contact_info a:focus,
.contact_info a:active {
  color: #222; /* Slightly darker on hover/focus/active */
  text-decoration: none;
}

.contact_info p {
  margin: 0 0 2px 0;
}
.contact_info p:first-child {
  margin-bottom: 12px; /* Adjust the value as needed */
}
/*----------------------------------------------------------Projects--------------------------------------------------------------------- */
main.projects-main {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
}

main.projects-main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%; /* Top half */
  background-image: url("assets/Hero - 18-05-2025 22-20-59.png");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;
}

.projects_header {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 25vh; /* Fill the top half */
  min-height: 300px; /* Optional: ensures enough height on small screens */
}

.typing-animation {
  font-family: "Inter", Arial, sans-serif;
  font-weight: 600;
  font-size: var(--font-hero);
  text-align: center;
  margin: 0 auto;
  width: 9ch; /* Number of characters in "Projects" */
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #222;
  animation: typing 1.5s steps(8, end), blink-caret 0.7s step-end infinite;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 5ch;
  }
}

@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: white;
  }
}

.projects {
  color: #000;
}

.Description {
  font-size: var(--font-xl);
  color: #8a8a8a;
  margin-top: 16px;
}

.Contents {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 32px;
  margin-top: 32px;
  justify-content: center; /* Center the contents horizontally */
  font-family: "Inter", Arial, sans-serif;
}

.contents-title {
  min-width: 120px;
  font-weight: bold;
  color: #000;
  display: flex;
  align-items: center;
  font-family: "Inter", Arial, sans-serif;
}

.custom-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  counter-reset: list-counter 0;
  text-align: left; /* Left-align the text in the list */
  font-family: "Inter", Arial, sans-serif;
}

.custom-list li {
  counter-increment: list-counter;
  position: relative;
  padding-left: 2.2em;
  margin-bottom: 8px;
  color: #000;
  text-align: left;
}

.custom-list li::before {
  content: counter(list-counter, decimal-leading-zero) " ";
  position: absolute;
  left: 0;
  color: #8a8a8a;
  font-weight: 600;
  font-family: "Inter", Arial, sans-serif;
  opacity: 0.5;
}

.custom-list li a {
  color: #000;
  text-decoration: none;
  transition: color 0.2s;
}

.custom-list li a:hover {
  color: #222;
  text-decoration: underline;
}

.project-section {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-top: 48px;
}

.number {
  font-weight: bold;
  color: orange;
  font-size: var(--font-4xl);
  min-width: 60px;
  text-align: right;
  margin: 0;
  padding-left: 15px;
}

.section_content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: right;
}

.section_descriptions {
  color: #8a8a8a;
  text-align: left;
  margin-top: 8px;
  font-size: var(--font-lg);
  max-width: 75%;
  padding-right: 30px;
}
.section-title {
  font-weight: bold;
  color: #000;
  font-size: var(--font-2xl);
  margin: 0;
  text-align: left;
}
.projects img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 16px;
}
.projects_content {
  z-index: 3;
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 32px;
  flex: 3;
}

.project-section img {
  max-width: 400px; /* Set your desired max width */
  width: 100%; /* Make it responsive */
  height: auto; /* Maintain aspect ratio */
  margin: 16px 0; /* Optional: add vertical spacing */
  border-radius: 8px; /* Optional: rounded corners */
  display: block;
}
.read-more {
  display: inline-block;
  margin-top: 16px; /* Adjust as needed */
  color: #000;
  text-decoration: none;
}

#scrollToTopBtn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 100;
  background-color: #222;
  color: #fff;
  border: none;
  outline: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: var(--font-3xl);
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  display: none; /* Hidden by default */
}
#scrollToTopBtn:hover {
  opacity: 1;
}

/*----------------------------------------------------------Projects_page--------------------------------------------------------------------- */
main.projects-page-main {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  color: black;
}

main.projects-page-main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 300px; /* Height of your header image */
}
.projects-page-header {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 300px; /* or your desired header height */
  margin-bottom: 32px; /* Add space below header */
}

.projects-page-content {
  position: relative;
  z-index: 2;
  background: #fff;
  padding: 0px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}
.pdf-reader-container {
  margin: 32px 0;
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.see-full-code {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 168px;
  height: 34px;
  color: black;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: var(--font-md);
  text-align: center;
  transition: background 0.2s;
}

.page-content-description h2,
.page-content-description h3,
.page-content-description h4,
.page-content-description h5,
.page-content-description h6 {
  color: #000;
  font-family: Inter, Arial, sans-serif;
  font-size: var(--font-2xl);
  font-style: normal;
  font-weight: 600;
  line-height: 120%; /* 28.8px */
  letter-spacing: -0.12px;
  margin-top: 32px;
  margin-bottom: 16px;
}

.page-content-description h2:first-child,
.page-content-description h3:first-child,
.page-content-description h4:first-child,
.page-content-description h5:first-child,
.page-content-description h6:first-child {
  margin-top: 0;
}

.page-content-description p,
.page-content-description ul,
.page-content-description ol {
  color: rgba(0, 0, 0, 0.45);
  font-family: Inter, Arial, sans-serif;
  font-size: var(--font-lg);
  font-style: normal;
  font-weight: 500;
  line-height: 145%; /* 26.1px */
  letter-spacing: -0.09px;
  margin-top: 0;
  margin-bottom: 16px;
}

.page-content-description {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.desc-row {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

.desc-header {
  flex: 0 0 220px; /* Fixed width for headers */
  text-align: left;
}

.desc-header h2,
.desc-header h3,
.desc-header h4,
.desc-header h5,
.desc-header h6 {
  color: #000;
  font-family: Inter, Arial, sans-serif;
  font-size: var(--font-2xl);
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
  letter-spacing: -0.12px;
  margin: 0;
}

.desc-text {
  flex: 1 1 0;
}

.desc-text p,
.desc-text ul,
.desc-text ol {
  color: rgba(0, 0, 0, 0.45);
  font-family: Inter, Arial, sans-serif;
  font-size: var(--font-lg);
  font-style: normal;
  font-weight: 500;
  line-height: 145%;
  letter-spacing: -0.09px;
  margin: 0;
}

/* Contact Form Styles */
.contact-form-container {
  max-width: 600px;
  margin: 50px auto;
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: var(--font-md);
  box-sizing: border-box;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #007bff;
}

.submit-btn {
  background-color: #007bff;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  font-size: var(--font-md);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 100%;
}

.submit-btn:hover {
  background-color: #0056b3;
}

.thank-you-message {
  max-width: 600px;
  margin: 100px auto;
  padding: 40px;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.thank-you-message h2 {
  color: #28a745;
  margin-bottom: 15px;
}

.thank-you-message p {
  font-size: var(--font-lg);
  color: #555;
}

/* Contact page specific typing animation width */
body:has(title:contains("Contact")) .typing-animation,
.contact-page .typing-animation {
  width: 7ch; /* Number of characters in "Contact" */
}
