/* Inter font faces */
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter_18pt-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter_18pt-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter_18pt-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter_18pt-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter_18pt-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Add background to the body */
body {
  margin: 0;
  padding: 0;
  background-color: #121E27;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #121E27;
  cursor: none; /* Hide the default cursor */
  z-index: 9999; /* Make sure it's above other elements */
}

.custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  background-color: #FF715B;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease, transform 0.1s ease;
  z-index: 99999;
  will-change: transform;
  opacity: 1;
  mix-blend-mode: difference; /* This helps the cursor be visible on all backgrounds */
}

/* Only hide the default cursor for the custom cursor element */
.custom-cursor {
  cursor: none !important;
}

a, button, input, select, textarea {
  cursor: none !important;
}

/* Hide cursor when outside viewport */
.custom-cursor.hidden {
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Navbar styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #121E27;
  color: #121E27;
  height: 60px;
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9999;
}

/* Container for navbar content to match max-width */
.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Navbar left (logo) styles */
.navbar-left {
  display: flex;
  align-items: center;
  padding-left: 35px; /* Fixed distance from the left side of the screen */
}

.logo {
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
}

/* Navbar right (links and icons) styles */
.navbar-right {
  display: flex;
  align-items: center;
  padding-right: 20px; /* Fixed distance from the right side of the screen */
}

.navbar-right a {
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 18px; /* Increase the font size */
  font-weight: 400;
  line-height: 24px;
  text-decoration: none;
  margin-right: 30px; /* Increase margin to add space between links and icons */
}

/* Line below the texts on hover */
.navbar-right a:not(.icon-link) {
  position: relative;
  display: inline-block;
  color: white;
  text-decoration: none;
  margin-right: 25px;
}

.navbar-right a:not(.icon-link)::after,
.navbar-right a:not(.icon-link)::before {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #FF715B;
  transition: transform 0.3s ease;
}

.navbar-right a:not(.icon-link)::before {
  bottom: -2px;
}

.navbar-right a:not(.icon-link):hover::before {
  transform: translateY(4px);
}

/* GitHub and LinkedIn icon styles */
.icon-link {
  display: flex;
  align-items: center;
  margin-right: 10px; /* Increase margin to add space between icons */
  fill: #fff;
}

.icon-link svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  transition: color 0.3s ease;
}

.icon-link svg path {
  fill: #fff;
  transition: fill 0.3s ease;
}

.icon-link:hover svg path {
  fill: #FF715B;
}

body.dark-mode .icon-link svg path {
  fill: #000;
}

.github-icon {
  position: relative;
}

/* Fix icon positioning */
.job-icon-container {
  position: relative;
  margin: 0 30px;
  display: flex;
  align-items: center;
}

.job-icon-circle {
  width: 40px;
  height: 40px;
  background: #4D80A8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.job-icon-circle svg {
  width: 20px;
  height: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Ensure the parent container takes the full width */
.parent-container {
  width: 100%;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
  margin-top: 40px; /* Add top margin to create more space at the top */
}

.parent-container .content-box {
  width: 100%;
  max-width: 100%; /* Ensure it doesn't exceed the parent container's width */
  margin: 60px 20px 40px; /* Increased top margin from 40px to 60px */
  padding: 25px 20px; /* Set padding as needed */
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

/* !!!Dark mode styles */
body.dark-mode {
  background-color: #ffffff;
}

body.dark-mode .navbar {
  background-color: #ffffff;
  color: #121e27;
}

body.dark-mode .navbar-right a:not(.icon-link) {
  color: #121e27;
}

/* Invert colors for the icons and logo in dark mode */
body.dark-mode .logo {
  color: black;
}

/* Invert colors for the dark mode button */
body.dark-mode .mode-button svg path#dark-mode-path {
  fill: none; /* Set the fill color to none for the dark mode path in dark mode */
  opacity: 0.1; /* Set the opacity to 0.1 for the dark mode path in dark mode */
}

body.dark-mode .mode-button svg path#light-mode-path {
  fill: black; /* Set the fill color to white for the light mode path in dark mode */
}

/* Make the dark mode button match other icons in the navbar */
.mode-button svg path#dark-mode-path {
  fill: #fff; /* Match the white color of other navbar icons */
}

.mode-button svg path#light-mode-path {
  fill: none;
}

/* Make the mode button visible in light mode by adding a background or border */
.mode-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border-radius: 50%;
}

/* Add a subtle outline in light mode to make the icon visible */
body:not(.dark-mode) .mode-button svg {
  filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.5));
}

/* Dark mode styles for the mode button */
body.dark-mode .mode-button svg path#dark-mode-path {
  fill: #000;
  opacity: 0.1;
}

body.dark-mode .mode-button svg path#light-mode-path {
  fill: #000;
  opacity: 1;
}

/* Specific fill color for the last icon in dark mode */
body.dark-mode .mode-button.github-icon svg path {
  fill: #000;
}

/* Logo fill color in dark mode */
body.dark-mode .logo {
  color: #000;
}

/* Add background box */
.background-box {
  position: relative;
  max-width: 1200px;
  margin: 0 auto; /* Center the background box */
  padding: 0 20px; /* Add padding on the sides */
  box-sizing: border-box;
  /* Remove the background-color so it's transparent */
  min-height: 100vh; /* Ensure it takes up the full viewport height */
  display: block; /* Make sure it's displayed */
  width: 100%; /* Full width */
  z-index: 0; /* Ensure proper stacking context */
}

body.dark-mode .background-box {
  /* Make it transparent in dark mode */
  background-color: transparent;
  display: block;
  visibility: visible;
}

/* !!!Content box styles */
.content-box {
  width: 100%;
  max-width: 1320px;
  margin: 180px auto 40px; /* Increased top margin from 150px to 180px */
  padding: 25px 40px;
  background-color: #0D151C;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

body.dark-mode .content-box {
  background: #F3F7FA; /* Dark mode background color */
}

/* Heading styles */
h1 {
  color: #FFF; /* Light mode heading color */
  font-family: Inter;
  font-size: 42px; /* Increased from 35.4px */
  font-style: normal;
  font-weight: 600;
  line-height: 52px; /* Increased from 43.68px */
  letter-spacing: 9.9px;
  text-transform: uppercase;
  margin: 0; /* Remove default margins for h1 */
  margin-bottom: 20px; /* Increased from 10px */
}

body.dark-mode h1 {
  color: #000; /* Dark mode heading color */
}

h2 {
  color: #FFF; /* Light mode heading color */
  font-family: Inter;
  font-size: 18px; /* Increased from 16px */
  font-style: normal;
  font-weight: 300;
  line-height: 32px; /* Increased from 28px */
  margin: 0; /* Remove default margins for h2 */
  margin-bottom: 25px; /* Increased from 20px */
}

body.dark-mode h2 {
  color: #000; /* Dark mode heading color */
}

h3 {
  color: #FFF; /* Light mode heading color */
  font-family: Inter;
  font-size: 18px; /* Increased from 16px */
  font-style: normal;
  font-weight: 400;
  line-height: 32px; /* Increased from 28px */
  margin: 0; /* Remove default margins for h3 */
  margin-bottom: 25px; /* Increased from 20px */
  width: 100%; /* Ensure h3 takes full width of the content box */
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
  word-wrap: break-word; /* Ensure text wraps properly within the content box */
}

/* Fixed width for screens 600px and larger */
@media (min-width: 600px) {
  h3 {
    width: 520px; /* Increased from 463px */
  }
}

body.dark-mode h3 {
  color: #000; /* Dark mode heading color */
}

h4 {
  color: #FFF; /* Light mode heading color */
  font-family: Inter;
  font-size: 18px; /* Increased from 16px */
  font-style: normal;
  font-weight: 500;
  line-height: 28px; /* Increased from 24px */
  margin: 0; /* Remove default margins for h4 */
  display: flex; /* Add flex display to enable aligning the SVG icon */
  align-items: center; /* Align the SVG icon vertically with the text */
  width: 100%; /* Ensure proper width for headings */
  max-width: 100%; /* Ensure headings do not overflow */
  box-sizing: border-box; /* Include padding in the element's total width and height */
  margin-bottom: 15px; /* Added margin bottom */
}

.content-box h3 {
  word-wrap: break-word; /* Wrap text to prevent overflow */
}

body.dark-mode h4,
body.dark-mode button.learn-more {
  color: #000; /* Dark mode heading color */
}

/* Style the SVG icon within h4 */
h4 svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-left: 5px; /* Add some spacing between the text and the icon */
  fill: #FFF; /* Make the icon white initially */
}

/* Dark mode styles for the arrow icons in h4 elements */
body.dark-mode h4 svg path {
  fill: #000; /* Set the arrow icon fill color to black in dark mode */
}
h2,
h3,
.learn-more {
  margin-bottom: 30px;
}

/* Create a stack of horizontal icons with 24px between them */
.icon-stack {
  display: flex;
  list-style: none;
  padding: 0;
}

.icon-stack li {
  margin-right: 24px;
}

/* Remove the right margin from the last icon */
.icon-stack li:last-child {
  margin-right: 0;
}

/* Make icons twice as large as original size */
.icon-stack li svg {
  width: 36px;
  height: 24px;
}

.icon-stack li svg path {
  fill: #fff;
}

/* SVG icon fill color in dark mode */
body.dark-mode .icon-stack li svg path {
  fill: #000;
}

/* Styles for the h5 title */
h5 {
  display: flex;
  align-items: center;
  color: #FFF;
  font-family: Inter;
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px; /* 127.273% */
  margin: 70px 0 0 20px; /* 100px from the top, centered horizontally */
  z-index: 1; /* Ensure the <h5> is above the highlight */
  padding-bottom: 4px;
}

/* Dark mode styles for the h5 title */
body.dark-mode h5 {
  color: #000;
}

/* Styles for the section header */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Dark mode styles for the "View all" text */
body.dark-mode .view-all-text {
  color: #000;
}

/* Dark mode styles for the arrow icon */
body.dark-mode .arrow-icon path {
  fill: #000;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Add this line */
  margin-bottom: 60px;
}

.view-all {
  display: flex;
  align-items: center;
}

.view-all-text,
.read-more {
  /* Styles for the "Read more" text */
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  text-decoration: none;
  margin-top: 70px;
}

.arrow-icon {
  /* Styles for the arrow icon */
  fill: #fff;
  margin-top: 70px;
  margin-left: 5px;
  margin-right: 20px;
}

/* Card styles */
.card {
  display: flex;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-image {
  flex: 1;
  min-height: 300px;
  max-height: 400px;
  overflow: hidden;
}

.card-image img,
.card-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.card-texts {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-upper {
  flex: 1;
  margin-bottom: 20px; /* Add space between description and button */
}

.card-title {
  color: #FFF;
  font-family: Inter;
  font-size: 38px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.2; /* Improved line height */
  margin-top: 8px;
  margin-bottom: 16px;
  padding-bottom: 5px; /* Prevent text from being cut off */
}

.card-text-overlay {
  color: #FFF;
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px; /* 186.667% */
  letter-spacing: 1.6px;
}

body.dark-mode .card-text-overlay  {
  color: #000;
}

.card-description {
  color: #FFF;
  font-family: Inter;
  font-size: 17px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5; /* Improved line height for readability */
  margin-top: 16px;
  max-width: 100%; /* Ensure text doesn't overflow */
  overflow-wrap: break-word; /* Prevent text from overflowing */
  word-wrap: break-word;
  height: auto; /* Allow height to adjust to content */
  overflow: visible; /* Ensure text is not cut off */
  margin-bottom: 0; /* Remove bottom margin as we added it to card-upper */
}
body.dark-mode .card-description  {
  color: #000;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  margin-bottom: 16px;
}

.tech-card {
  display: inline-flex;
  padding: 6px 12px;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  background: rgba(255, 113, 91, 0.15);
  color: #FF715B;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.tech-card:hover {
  background: rgba(255, 113, 91, 0.25);
  transform: translateY(-2px);
}

body.dark-mode .tech-card {
  background: rgba(255, 113, 91, 0.1);
  color: #FF715B;
}

body.dark-mode .tech-card:hover {
  background: rgba(255, 113, 91, 0.2);
}

.read-more-container {
  /* Styles for the container holding "Read more" text and the arrow icon */
  display: flex;
  align-items: center;
  margin-top: 8px;
}

/* CSS for the contact highlight */
.highlight-text {
  position: relative;
  display: inline-block;
  padding-bottom: 8px; /* Add some space below the text for the underline */
  transition: color 0.3s ease; /* Add a smooth transition effect for the color change */
  
}

.highlight-text::before {
  content: "";
  position: absolute;
  bottom: -1px; /* Start 10px above the text */
  left: 5px; /* Move it 3px to the left to start from the initial text's position */
  width: 100%; /* Add 3px to cover the text's width */
  height: 20px; /* Thicker vertically */
  background-color: #FF715B; /* Change the background color to #FF715B (the desired color) */
  transform-origin: bottom left;
  transform: scaleX(1); /* Initially shown */
  transition: transform 0.3s ease-out;
  z-index: -1; /* Ensure the <h5> is above the highlight */
}

.highlight-text:hover::before {
  transform-origin: left; /* Compress from the right */
  transform: scaleX(0.33); /* Compress to 1/3 of the original width */
}

.highlight-text.active {
  color: #FF0000; /* Change the text color to #FF715B (the desired color) */
  -webkit-text-stroke: 2px #000; /* Add a 1px stroke around the text */
}

/* Work Experience section styles */
#work-experience {
  font-family: Inter, sans-serif;
  margin: 40px auto;
  width: calc(100% - 120px);
  max-width: 1320px;
  position: relative;
  box-sizing: border-box;
  padding: 0;
}

#work-experience .highlight-text {
  display: inline-block; /* Only as wide as the text */
  text-align: left;
  margin-left: 0; /* Align with other section titles */
  margin-bottom: 30px;
}

.experience-item {
  margin-bottom: 36px;
  position: relative;
  padding-left: 48px; /* Space for the timeline */
  border-left: 2px dotted rgba(255, 113, 91, 0.7); /* Vertical dotted line */
}

.experience-item::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 10px;
  width: 14px;
  height: 14px;
  background-color: #FF715B;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 6px rgba(255, 113, 91, 0.3);
  z-index: 2;
  display: block;
}

.experience-item:not(:last-child) {
  margin-bottom: 40px;
}

.experience-header {
  margin-bottom: 12px;
}

.job-title {
  color: #FFF;
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 6px 0;
}

.company-details {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 8px;
}

.company-name {
  color: #FF715B;
  font-weight: 500;
  font-size: 16px;
  margin-right: 10px;
}

.company-separator {
  font-size: 16px;
  color: #FF715B;
  margin: 0 4px;
}

.time-period {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
}

.job-description p {
  color: #FFF;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.main-achievement {
  color: #FFF !important;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 16px;
  font-weight: 500;
}

.achievements-list {
  padding-left: 18px;
  margin: 0 0 0 0;
  list-style-type: disc;
}

.achievements-list li {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.7); /* Slightly grayed out */
  font-size: 15px;
  line-height: 1.6;
  position: relative;
}

/* Dark mode adjustments */
body.dark-mode .job-title {
  color: #121E27;
}

body.dark-mode .company-name {
  color: #FF715B;
}

body.dark-mode .time-period {
  color: rgba(0, 0, 0, 0.7);
}

body.dark-mode .job-description p,
body.dark-mode .achievements-list li {
  color: #121E27;
}

/* Styles for the job entry container */
.job-entry {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.job-entry:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  background-color: rgba(255, 255, 255, 0.08);
}

.job-entry:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background-color: #FF715B;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s ease;
}

.job-entry:hover:after {
  transform: scaleY(1);
}

/* Styles for the job details (job heading and time period) */
.job-details {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-right: 20px;
  width: 200px;
  flex-shrink: 0;
}

.job-heading {
  display: flex;
  width: 100%;
  flex-direction: column;
  color: #FFF;
  text-align: right;
  font-family: Inter, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 30px;
  margin-bottom: 8px;
}

.time-period {
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: center;
  color: #FF715B;
  text-align: right;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

/* Styles for the job icon container */
.job-icon-container {
  position: relative;
  margin: 0 30px;
  display: flex;
  align-items: center;
}

.job-icon-circle {
  width: 50px;
  height: 50px;
  background: #FF715B;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 4px 8px rgba(255, 113, 91, 0.3);
  transition: transform 0.3s ease;
}

.job-entry:hover .job-icon-circle {
  transform: scale(1.1);
}

.job-icon-circle svg {
  width: 25px;
  height: 25px;
  fill: white;
}

.job-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-left: 20px;
  min-width: 300px;
}

.company {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #FFF;
  font-family: Inter, sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 30px;
  margin-bottom: 5px;
}

.line {
  width: 50px;
  height: 3px;
  background: #FF715B;
  margin: 15px 0;
  border-radius: 2px;
}

.job-description {
  color: #FFF;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  font-family: Inter, sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
  font-style: normal;
  text-align: left;
  width: 100%;
  height: auto;
}

.job-description p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.job-achievements {
  list-style-type: none;
  padding-left: 0;
  margin-top: 10px;
}

.job-achievements li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  line-height: 1.5;
}

.job-achievements li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background-color: #FF715B;
  border-radius: 50%;
}

.job-achievements li:hover:before {
  transform: scale(1.2);
  background-color: #FF8F7D;
}

/* Contact section styles */
#contact {
  margin: 40px auto;
  width: calc(100% - 80px);
  max-width: 1320px;
}

.button-container {
  margin-top: 20px;
  position: relative;
  display: inline-block;
  cursor: pointer;
  width: 220px;
  height: 60px;
}

.button {
  display: flex;
  width: 207.06px;
  height: 33.6px;
  justify-content: center;
  align-items: center;
  background: #FF715B;
  padding: 15px 40px;
  position: absolute;
  z-index: 2;
  transition: transform 0.3s ease-out;
}

.button-frame {
  display: flex;
  width: 211.06px;
  height: 38px;
  justify-content: center;
  align-items: center;
  background: transparent;
  border: 2px solid #FFF;
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  transition: transform 0.3s ease-out;
}

.button-container:hover .button {
  transform: translate(12px, 12px);
}

.button-container:hover .button-frame {
  transform: translate(0, 0);
}

.button a {
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.button-text {
  color: #FFF;
  font-family: Inter, sans-serif;
  font-size: 19.2px;
  font-style: normal;
  font-weight: 700;
  line-height: 33.6px;
  white-space: nowrap;
}

body.dark-mode .button-frame {
  border: 2px solid #000;
}

.vertical-cards {
  display: flex;
  flex-direction: column;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
  margin: 10px;
  padding-bottom: 20px;
  width: calc(50% - 20px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.vertical-cards .card-text-overlay {
  margin: 16px 16px 8px 16px;
}

.vertical-cards .Vcard-title {
  margin: 8px 16px;
  padding-bottom: 5px;
}

.vertical-cards .card-description {
  margin: 0 16px 20px 16px;
  height: auto;
  min-height: 80px;
}

.vertical-cards .button-container {
  margin: 10px 16px;
  position: relative;
  display: inline-block;
}

.content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

li.bullet {
  display: block;
  align-items: center;
  margin-bottom: 20px;
}

/* Make the text inside the <li> white */
.bullet li {
  color: #FFF;
}

@media (max-width: 768px) {
  .vertical-cards {
    width: 100%;
    margin: 10px 0;
  }
  
  .content {
    flex-direction: column;
  }
}

.section {
  margin-bottom: 20px;
  margin-left: 20px;
  margin-top: 20px;
}

.header {
  display: flex;
  height: 21px;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
  color: #FFF;
  font-family: Inter;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 28px; /* 155.556% */
}

.year {
  display: flex;
  width: 153px;
  height: 21px;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
  color: #FFF;
  font-family: Inter;
  font-size: 13px;
  font-style: normal;
  font-weight: 300;
  line-height: 28px; /* 215.385% */
}

.description {
  width: 500px;
  height: 140px;
  flex-shrink: 0;
  color: #FFF;
  font-family: Inter;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: 28px; /* 215.385% */
}

/* Projects section styling */
#projects {
  margin: 40px auto;
  width: calc(100% - 80px);
  max-width: 1320px;
}

/* Research section styling */
#research {
  margin: 40px auto;
  width: calc(100% - 80px);
  max-width: 1320px;
}

#research .content {
  margin-top: 20px;
}

#research .card {
  display: flex;
  margin-bottom: 40px;
  background-color: transparent;
  box-shadow: none;
  align-items: center}

#research .card:hover {
  transform: none;
  box-shadow: none;
}

#research .card-image {
  width: 40%;
  height: 300px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
}

#research .card-image img,
#research .card-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#research .card:hover .card-image img,
#research .card:hover .card-image video {
  transform: none;
}

/* Projects card styling - two per row layout */
.card {
  display: flex;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
  margin: 20px 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  height: auto;
}

.projects-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 20px;
}

.project-card {
  width: calc(50% - 15px);
  margin-bottom: 30px;
  background-color: transparent;
  overflow: hidden;
  box-shadow: none;
}

.project-card:hover {
  transform: none;
  box-shadow: none;
}

.project-card .card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.project-card .card-image img,
.project-card .card-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.project-card .card-texts {
  padding: 20px;
}

.project-card .card-upper {
  margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #research .card {
    flex-direction: column;
  }
  
  #research .card-image {
    width: 100%;
    height: 200px;
  }
}

/* Awards section styles */
#projects {
  margin: 40px auto;
  width: calc(100% - 80px);
  max-width: 1320px;
}

/* Education section styles */
#research {
  margin: 40px auto;
  width: calc(100% - 80px);
  max-width: 1320px;
}

/* Add a new class to the parent container for the awards and education sections */
.awards-education-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start; /* Ensure both sections start at the same vertical position */
  margin: 40px auto;
  width: calc(100% - 80px);
  max-width: 1320px;
  gap: 40px;
}

.awards, #education {
  flex: 1;
  overflow: hidden; /* Prevent content from overflowing */
  padding-top: 0; /* Ensure consistent top padding */
  margin-top: 0; /* Ensure consistent top margin */
}

/* Adjust the margin for the h5 elements */
.awards h5, #education h5 {
  margin-top: 0; /* Remove top margin to keep alignment consistent */
  margin-bottom: 20px; /* Add space below the heading */
}

/* Adjust the margin for list items */
.awards .section ul li.bullet {
  margin-bottom: 20px; /* Add more space between list items */
  display: flex; /* Use flexbox for better alignment */
  align-items: flex-start; /* Align items to the top */
}

/* Style for the bullet points */
ul {
  padding-left: 0; /* Remove default padding */
  list-style-type: none;
  margin: 0; /* Reset margin */
  width: 100%; /* Ensure it takes full width */
}

li.bullet {
  max-width: 100%;
  display: flex; /* Use flexbox for better alignment */
  align-items: flex-start; /* Align items to the top */
  margin-bottom: 20px; /* Add more space between items */
  flex-wrap: nowrap; /* Prevent wrapping */
  width: 100%; /* Ensure it takes full width */
}

/* Ensure text inside the .section class wraps */
.section {
  word-wrap: break-word;
  margin-bottom: 30px; /* Add more space below sections */
  width: 100%; /* Ensure it takes full width */
  overflow: visible; /* Ensure content is visible */
}

.description2 {
  flex-shrink: 0;
  color: #FFF;
  font-family: Inter;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: 28px; /* 215.385% */
  text-align: justify;
  margin-top: 10px; /* Add space above description */
}

.bullet-circle {
  /* Bullet point circle styles */
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #4D80A8;
  margin-right: 10px;
  margin-top: 12px; /* Align with text */
  display: inline-block; /* Make the bullet circles inline */
}

.bullet-text {
  /* Styles for the "THIS TEXT" */
  display: inline-block; /* Make the text inline */
  width: calc(100% - 15px); /* Adjust width to leave space for the bullet circle */
  color: #FFF;
  font-family: Inter;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px; /* 155.556% */
  word-wrap: break-word; /* Allow long words to wrap to the next line */
  overflow-wrap: break-word; /* Ensure words break properly */
  hyphens: auto; /* Enable hyphenation */
}

body.dark-mode .bullet-text  {
  color: #000;
}

body.dark-mode .header  {
  color: #000;
}

body.dark-mode .year  {
  color: #000;
}

body.dark-mode .description2  {
  color: #000;
}
body.dark-mode .job-heading  {
  color: #000;
}
body.dark-mode .job-description  {
  color: #000;
}

/* Education section improvements */
#education {
  margin-top: 32px;
}

#education .section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

#education .header {
  font-size: 1.15rem;
  font-weight: 600;
  color: #FF715B;
  margin-bottom: 4px;
}

#education .year {
  font-size: 1rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
  word-break: keep-all;
  white-space: normal;
}

#education .description2 {
  color: #B3B3B3;
  font-size: 0.97rem;
  font-weight: 400;
  margin-bottom: 0;
  line-height: 1.5;
}

@media (max-width: 600px) {
  #education .section {
    padding-bottom: 8px;
    margin-bottom: 20px;
  }
  #education .header, #education .year {
    font-size: 1rem;
  }
  #education .description2 {
    font-size: 0.95rem;
  }
}

/* Add styling for the new '.school' class in the education section for consistent appearance */
#education .school {
  font-size: 1rem;
  color: #B3B3B3;
  margin-bottom: 6px;
  font-weight: 400;
}

/* Styles for the footer */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 40px;
  margin: 40px auto 0;
  width: calc(100% - 80px);
  max-width: 1320px;
  background: #121E27;
}

/* Light mode footer styles */
.footer .left-section {
  color: #FFF;
}

.footer .copyright {
  color: #B3B3B3;
}

.footer .middle-section {
  color: #FFF;
}

.footer .get-in-touch {
  color: #FFF;
}

.footer .right-section a svg path {
  fill: #FFF;
}

/* Dark mode footer styles */
body.dark-mode .footer {
  background: #F1F5F9;
}

body.dark-mode .footer .left-section {
  color: #000;
}

body.dark-mode .footer .copyright {
  color: #555;
}

body.dark-mode .footer .middle-section {
  color: #333;
}

body.dark-mode .footer .get-in-touch {
  color: #333;
}

body.dark-mode .footer .right-section a svg path {
  fill: #000;
}

/* Styles for the right section */
.right-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* Styles for the SVG icons */
.right-section a {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  /* Add a transition for the fill property to create a smooth color change on hover */
  transition: fill 0.3s ease;
}

/* Additional styles for the links text */
.links {
  margin-bottom: 16px;
}

/* Styles for the Get in touch text */
.get-in-touch {
  margin-bottom: 16px;
  color: #C7C7C7;
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Styles for the left section */
.left-section {
  color: #FFF;
  font-family: Inter;
  font-size: 22.4px;
  font-style: normal;
  font-weight: 700;
  line-height: 32px;
}

.name {
  margin-bottom: 8px;
}

/* Styles for the copyright text */
.copyright {
  color: #B7B4B9;
  font-family: Inter;
  font-size: 11.8px;
  font-style: normal;
  font-weight: 400;
  line-height: 22.4px;
}

/* Styles for the middle section */
.middle-section {
  color: #C7C7C7;
  font-family: Inter;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Styles for the pages */
.pages {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

/* Styles for the individual pages */
.page {
  color: #FF715B;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 28px;
  margin-bottom: 8px;
}

/* Styles for the spacer element */
.spacer {
  display: inline-block;
  width: 13px; /* Adjust the width as needed */
}

/* Additional styles for the links text */
.links {
  margin-bottom: 16px;
}

/* Styles for the individual pages */
.page {
  color: #FF715B;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 28px;
  margin-right: 24px;
}

/* Styles for the pages */
.pages {
  display: table;
  margin-bottom: 16px;
}

/* Styles for the individual pages */
.pages td {
  color: #FF715B;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 28px;
  padding-right: 24px;
}

/* Additional styles for the right class alignment */
.pages td.left {
  padding-right: 8px;
}

.pages td.right {
  padding-right: 24px;
}

/* Styles for the SVG icons */
.right-section a {
  width: 28px;
  height: auto;
  flex-shrink: 0;
  fill: #FFF;
}

.icons {
  display: flex;
  list-style: none;
  padding: 0;
  gap: 16px;
}

/* Additional styles for the spacer element */
.spacer {
  display: inline-block;
  width: 13px; /* Adjust the width as needed */
}

#contact form .space-y-4 > div {
  margin-bottom: 0px; /* Reduce the vertical space between the email and message textboxes */
}

/* Styles for the "Send message" button */
button {
  display: inline-block;
  background-color: #FF715B; /* Set the background color to black */
  color: white; /* Set the text color to white */
  padding: 10px 20px; /* Adjust padding as needed */
  border: none; /* Remove the button border */
  border-radius: 4px; /* Add border-radius to create rounded corners */
  font-size: 14px; /* Adjust font size as needed */
  cursor: pointer;
}

form {
  margin: 20px 20px 0 20px;
}

/* Add some basic styles for the overlay */
.overlay {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  color: #fff;
  font-size: 16px;
  border-radius: 4px;
  z-index: 9999;
}

body.dark-mode #contact input[type="email"],
body.dark-mode #contact textarea {
  box-shadow: inset 0 0 0 2px black;
}

/* Styles for the custom scrollbar */
::-webkit-scrollbar {
  width: 10px; /* Set the width of the scrollbar */
  background-color: #ffd5cf;
}

/* Create a pseudo-element for the entire scrollbar track */
::-webkit-scrollbar-track {
  background-color: #ffd5cf; /* Set the background color of the scrollbar track */
  position: relative;
}

/* Add a vertical line on the right side of the scrollbar track */
::-webkit-scrollbar-track::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background-color: #d2b3ae; /* Color of the vertical line */
}

/* Handle (the moving part) of the scrollbar */
::-webkit-scrollbar-thumb {
  background-color: #ff715b; /* Set the color of the scrollbar handle */
  border-radius: 6px; /* Set the border radius to make it round */
}

/* On hover, set the color of the scrollbar handle */
::-webkit-scrollbar-thumb:hover {
  background-color: #ff8b7c; /* Change the color of the scrollbar handle on hover */
}

/* Media query for screens smaller than 800px */
@media (max-width: 800px) {
  .navbar-right a:not(.icon-link) {
    display: none;
  }
  
  /* Disable custom cursor on smaller screens */
  .custom-cursor {
    display: none;
  }
  
  * {
    cursor: auto !important;
  }
  
  a, button, input, select, textarea {
    cursor: pointer !important;
  }
}

/* Media query for screens smaller than 500px */
@media (max-width: 500px) {
  .navbar {
    justify-content: center;
  }

  .navbar-left {
    padding-left: 0;
    justify-content: center;
    width: 100%;
    text-align: center;
  }

  .navbar-right {
    display: none;
  }

  .content-box {
    margin: 40px 20px; /* Adjust margin to 20px on both sides */
    padding: 25px 20px; /* Adjust padding for smaller screens */
    width: calc(100% - 40px); /* Ensure the content box takes up the full width minus the margins */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
  }

  .card {
    flex-direction: column; /* Stack the image and text vertically */
    height: auto; /* Adjust height for smaller screens */
    margin: 40px 20px; /* Adjust margin to 20px on both sides to match content-box */
  }

  .card-image, .card-texts {
    width: 100%; /* Make the image and text take full width */
    margin: 0; /* Remove margin for smaller screens */
  }

  .card-image img,
  .card-image video {
    height: auto; /* Adjust image height for smaller screens */
  }

  .button-container {
    bottom: 0; /* Adjust position for smaller screens */
  }

  h1 {
    font-size: 24px; /* Adjust font size for smaller screens */
    line-height: 32px; /* Adjust line height for smaller screens */
    letter-spacing: 4.95px; /* Adjust letter-spacing for smaller screens */
  }

  h2, h3 {
    font-size: 14px; /* Adjust font size for smaller screens */
    line-height: 24px; /* Adjust line height for smaller screens */
    width: 100%; /* Ensure proper width */
  }

  h4 {
    font-size: 14px; /* Adjust font size for smaller screens */
    line-height: 20px; /* Adjust line height for smaller screens */
  }
}

.vertical-cards .card-description {
  min-height: auto; /* Allow height to adjust to content */
  height: auto; /* Allow height to adjust to content */
  overflow: visible; /* Ensure text is fully visible */
  margin-bottom: 30px; /* Add more space below description */
  width: 100%; /* Ensure it takes full width */
  max-width: 100%; /* Prevent overflow */
  word-wrap: break-word; /* Allow long words to wrap */
  overflow-wrap: break-word; /* Ensure words break properly */
}

/* Styles for the job icon */
.job-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  margin-right: 20px;
}

.job-icon svg {
  width: 15.02px;
  height: 15px;
  /* Add any additional styles for your SVG icon */
}

/* Styles for the company, line, and job description */
.company {
  display: flex;
  width: 177px;
  height: 27px;
  flex-direction: column;
  justify-content: center;
  color: #4D80A8;
  font-family: Inter;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px; /* 150% */
}

.line {
  width: 50px;
  height: 3px;
  background: #FF715B;
  margin: 20px 0 20px;
}

body.dark-mode .line {
  background: #000;
}

/* Paragraph styles */
p {
  color: #B3B3B3;
  font-family: Inter;
  font-size: 18px; /* Increased from 16px for better readability */
  font-style: normal;
  font-weight: 400;
  line-height: 28px; /* Increased for better readability */
  margin-bottom: 20px;
}

body.dark-mode p {
  color: #333; /* Dark mode paragraph color */
}

/* Improve responsive layout */
@media (max-width: 768px) {
  .background-box {
    padding: 0 20px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
  
  /* Center align all content */
  .parent-container, 
  #projects, 
  #research, 
  .awards-education-container, 
  #work-experience, 
  #contact,
  .image-card {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
  }
  
  /* Fix card layout on mobile */
  .card {
    flex-direction: column;
    margin: 20px 0;
    width: 100%;
    max-width: 100%;
  }
  
  .card-image, .card-texts {
    width: 100%;
  }
  
  .card-image img,
  .card-image video {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  
  .card-description {
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.5;
  }
  
  .tech-stack {
    flex-wrap: wrap;
    margin-bottom: 10px;
  }
  
  .tech-card {
    margin-bottom: 8px;
  }
  
  .card-title {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 12px;
  }
}

/* Additional fixes for very small screens */
@media (max-width: 500px) {
  .background-box {
    padding: 0 10px;
  }
  
  .navbar {
    padding: 10px;
  }
  
  .content-box {
    padding: 20px 10px;
  }
  
  .card-title {
    font-size: 28px;
  }
  
  .button-container {
    width: 100%;
  }
}

.Vcard-title {
  /* Add styles for the title */
  color: #FFF;
  font-size: 38px; /* Increased from 34px */
  font-weight: 500;
  line-height: 1.2;
  margin-top: 12px;
  margin-bottom: 20px;
  padding-bottom: 5px; /* Prevent text from being cut off */
}

body.dark-mode .Vcard-title {
  color: #000;
}

.Vcard-image {
  /* Add styles for the image container */
  width: 100%;
  height: 250px;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 6px;
  border: none;
}

.Vcard-image img {
  /* Add styles for the image */
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.vertical-cards:hover .Vcard-image img {
  transform: scale(1.05);
}

.vertical-cards .card-text-overlay {
  margin-bottom: 15px;
  font-weight: 500;
  letter-spacing: 1.8px;
}

.vertical-cards .Vcard-title {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.2;
}

.vertical-cards .card-description {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.vertical-cards .button-container {
  margin-top: 20px;
}

body.dark-mode .card-title {
  color: #000;
}

.job-description p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.job-achievements {
  list-style-type: none;
  padding-left: 0;
  margin-top: 10px;
}

.job-achievements li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  line-height: 1.5;
}

.job-achievements li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background-color: #FF715B;
  border-radius: 50%;
}

.job-achievements li:hover:before {
  transform: scale(1.2);
  background-color: #FF8F7D;
}

button.learn-more {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 0;
  font-family: Inter;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 28px;
  color: #FFF;
  margin-bottom: 30px;
}

button.learn-more:hover {
  color: #FF715B;
}

button.learn-more svg {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .button-container {
    width: 180px;
    height: 60px;
  }
  
  .button, .button-frame {
    width: 160px;
    height: 35px;
  }
  
  .button-text {
    font-size: 14px;
  }
  
  /* Ensure hover effect works the same on mobile */
  .button-container:hover .button {
    transform: translate(10px, 10px);
  }
}

/* Style for the WATCH DEMO link */
.card-text-overlay a {
  color: #FF715B;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.card-text-overlay a:hover {
  color: #ff8f7d; /* Slightly lighter shade for hover state */
}

body.dark-mode .card-text-overlay a {
  color: #FF715B; /* Keep the orange color even in dark mode */
}

.see-all-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 14px 44px;
  border-radius: 32px;
  background: #FF715B;
  color: #fff;
  border: none;
  font-size: 1.15rem;
  font-weight: 500;
  box-shadow: 0 2px 16px rgba(255,113,91,0.08);
  transition: background 0.14s, box-shadow 0.14s;
  cursor: pointer;
  white-space: nowrap;
}
.see-all-btn:hover {
  background: #ff8c70;
  box-shadow: 0 4px 24px rgba(255,113,91,0.18);
}

.see-all-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 16px 0 40px 0;
}

.slide-dropdown {
  max-height: 0;
  overflow: hidden;
  transform: translateY(-20px);
  transition: transform 0.25s ease, max-height 0.25s ease;
  opacity: 1; /* No fade, just sliding */
}

.slide-dropdown-active {
  transform: translateY(0);
  max-height: 2000px;
  overflow: visible;
  transition: transform 0.25s ease, max-height 0.25s ease;
  opacity: 1; /* No fade, just sliding */
}

.project-cards-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: 32px;
  flex-wrap: nowrap;
  width: 100%;
}
@media (max-width: 900px) {
  .project-cards-row {
    flex-direction: column;
    gap: 24px;
    flex-wrap: nowrap;
  }
}