html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #000000;
}

.slideshow-header {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  padding-left: 60px;
  overflow: hidden;
  color: white;
  background-color: black;
}

/* Slideshow image container that scrolls horizontally like credits */
.slideshow-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 5%; /* Show right side only */
  overflow: hidden;
  z-index: 0;
}

.slideshow-track {
  display: flex;
  width: max-content;
  animation: scroll-left 40s linear infinite;
}

.slideshow-track img {
  height: 100vh;
  object-fit: cover;
  margin-right: 5px;
  flex-shrink: 0;
}

/* Scrolls images from right to left */
@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Diagonal gradient overlay stays on top of slideshow */
.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    120deg,
    black 30%,
    rgba(0, 0, 0, 0.85) 60%,
    rgba(0, 0, 0, 0.3) 85%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Text and buttons stay on top of everything */
.header-content {
  position: relative;
  z-index: 2;
  max-width: 1500px;
  width:100%;
}
/* ========================
   RESPONSIVE ADJUSTMENTS
======================== */

/* TABLETS */
@media (max-width: 1024px) {
  .slideshow-header {
    height: 80vh;
    padding: 0 4%;
  }

  .slideshow-track img {
    height: 80vh;
  }

  .header-content {
    padding: 16px;
  }
}

/* MOBILE PHONES */
@media (max-width: 768px) {
  .slideshow-header {
    flex-direction: column;
    justify-content: center;
    height: auto;
    padding: 40px 20px;
  }

  .slideshow-track img {
    height: 60vh;
  }

  .gradient-overlay {
    background: linear-gradient(
      120deg,
      black 40%,
      rgba(0, 0, 0, 0.9) 70%,
      rgba(0, 0, 0, 0.4) 90%,
      transparent 100%
    );
  }

  .header-content {
    padding: 10px;
  }
}

/* EXTRA SMALL DEVICES (Phones in portrait) */
@media (max-width: 480px) {
  .slideshow-track img {
    height: 50vh;
  }

  .header-content {
    font-size: 14px;
  }
}

header h1,
header h2,
header p {
  position: relative;
  z-index: 1;
}

h1 {
  padding-top: 60px;
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  font-size: 5.5em;
  text-align: left;
  margin-left: 40px;
  color: #ffffff;
  letter-spacing: 4px;
  margin-bottom: 10px;
  line-height: 1.1;
}

h2 {
  font-family: "Tektur", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  font-size: 3em;
  text-align: left;
  margin-left: 40px;
  color: #ffffff;
  letter-spacing: 3px;
  margin-top: 5px;
  line-height: 1.1;
}

h3 {
  font-family: "Tektur", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  font-size: 3em;
  text-align: center;
  margin-left: 40px;
  color: #ffffff;
  letter-spacing: 3px;
  margin-top: 5px;
  margin-bottom: 40px;
  line-height: 1.1;
}

h4 {
  font-family: "Poppins", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  font-size: 2em;
  text-align: left;
  margin-left: 10px;
  color: #ffffff;
  letter-spacing: 3px;
  margin-top: 5px;
  line-height: 1.1;
}

h5 {
  font-family: "Tektur", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  font-size: 3em;
  text-align: center;
  margin-left: 40px;
  color: #ffffff;
  letter-spacing: 3px;
  margin-top: 5px;
  margin-bottom: 40px;
  line-height: 1.1;
}

h6 {
  font-family: "Tektur", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  font-size: 3em;
  text-align: center;
  margin-left: 40px;
  color: #ffffff;
  letter-spacing: 3px;
  margin-top: 5px;
  margin-bottom: 40px;
  line-height: 1.1;
}

header p {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 1.3em;
  text-align: left;
  margin-left: 40px;
  max-width: 700px;
  line-height: 1.5;
  color: #ffffff;
}

section p {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 1.5em;
  text-align: center;
  line-height: 1.5;
  color: #ffffff;
  margin-top: 5px;
}

.header-image {
  position: absolute;
  bottom: -250px;       /* Push to bottom */
  right: -80px;         /* Push to the right */
  width: 650px;
  height: auto;
  z-index: 2;
  border-radius: 20px; /* optional: round corners */
  object-fit: cover;
}


.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
  margin-left: 40px;
}

.download-button {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 1em;
  padding: 10px 20px;
  background: linear-gradient(#b4d7f3, #b499f2, #624d65);
  color: black;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.download-button:hover {
  transform: scale(1.05);
}

.download-button i {
  margin-left: 8px;
}

.projects-button {
  font-family: "Poppins", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: 1em;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  display: inline-block;
  padding: 10px 20px;
  margin-left: 40px;
  background: linear-gradient(#624d65, #b499f2, #b4d7f3);
  color: rgb(0, 0, 0);
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
}

.projects-button i {
  margin-left: 8px;
}
/* ========================
   RESPONSIVE MEDIA QUERIES
======================== */

/* Tablets and below (width ≤ 1024px) */
@media (max-width: 1024px) {
  h1 {
    font-size: 4em;
    margin-left: 30px;
  }

  h2 {
    font-size: 2.2em;
    margin-left: 30px;
  }

  h3, h5, h6 {
    font-size: 2.5em;
    margin-left: 20px;
  }

  h4 {
    font-size: 1.5em;
    margin-left: 10px;
  }

  header p,
  section p {
    font-size: 1.2em;
    margin-left: 30px;
  }

  .button-group {
    margin-left: 30px;
    gap: 10px;
  }

  .projects-button {
    margin-left: 30px;
  }

  .header-image {
    width: 480px;
    bottom: -180px;
    right: -60px;
  }
}

/* Mobile devices (width ≤ 768px) */
@media (max-width: 768px) {
  h1 {
    font-size: 2.8em;
    margin-left: 20px;
    text-align: center;
  }

  h2 {
    font-size: 1.8em;
    margin-left: 20px;
    text-align: center;
  }

  h3, h5, h6 {
    font-size: 2em;
    margin-left: 0;
    text-align: center;
  }

  h4 {
    font-size: 1.3em;
    margin-left: 10px;
    text-align: center;
  }

  header p {
    font-size: 1em;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
  }

  section p {
    font-size: 1.2em;
    padding: 0 20px;
  }

  .button-group {
    flex-direction: column;
    align-items: center;
    margin-left: 0;
  }

  .download-button {
    width: 80%;
    text-align: center;
  }

  .projects-button {
    width: 80%;
    margin-left: 0;
    margin-top: 10px;
  }

  .header-image {
    position: static;
    width: 90%;
    margin: 40px auto 0 auto;
    display: block;
  }
}

/* Very small devices (≤ 480px) */
@media (max-width: 480px) {
  h1 {
    font-size: 2.2em;
  }

  h2 {
    font-size: 1.5em;
  }

  header p,
  section p {
    font-size: 1em;
  }

  .download-button,
  .projects-button {
    font-size: 0.95em;
    padding: 8px 16px;
  }
}
nav {
  position: fixed;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 10px;
  width: 100%;
  z-index: 1000;
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 1.3em;
}

nav a {
  position: relative;
  text-decoration: none;
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
}

nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: #ffffff;
  transition: width 0.3s;
}

nav a:hover::after {
  width: 100%;
}

/* Hover zone at top */
.nav-hover-zone {
  position: fixed;
  top: 0;
  left: 0;
  height: 50px;
  width: 100%;
  z-index: 998;
}

/* Nav styles */
.hidden-nav {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 15px 0;
  z-index: 999;
  opacity: 1;
  transition: opacity 0.4s ease;
  pointer-events: auto;
}

.hidden-nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.hidden-nav.hide {
  opacity: 0;
  pointer-events: none;
}
/* Tablets (≤1024px) */
/* Tablet (≤1024px) */
@media (max-width: 1024px) {
  nav {
    font-size: 1.1em;
    gap: 15px;
    padding: 10px 20px;
  }

  .hidden-nav {
    gap: 20px;
  }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
  nav {
    font-size: .75em;
    gap: 12px;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.6);
  }

  nav a {
    padding: 8px 12px;
  }

  .hidden-nav {
    gap: 15px;
    padding: 12px;
  }

  .hidden-nav a {
    font-size: 1em;
  }

  .nav-hover-zone {
    height: 40px;
  }
}

/* Extra Small (≤480px) */
@media (max-width: 480px) {
  nav {
    font-size: 0.70em;
    gap: 10px;
  }

  nav a {
    padding: 6px 10px;
  }

  .hidden-nav a {
    font-size: 0.95em;
  }
}
section {
  padding-top: 60px;
  background-color: #000000;
}

#projects {
  background-color: #000;
  color: #000;
  text-align: center;
  padding: 50px 20px;
}

#projects, #about, #contact {
  scroll-margin-top: 80px;
}


.projects-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; /* Space between cards */
  gap: 40px;
  max-width: 1200px;
  max-height:fit-content;
  margin: 0 auto;
}

.project-card {
  display: flex;
  flex-direction: column;
  height: 95%;
  width: calc(100% - 20px);
  border-radius: 15px;
  overflow: hidden;
  background-color: rgb(39, 39, 39);
  box-shadow: 0 8px 20px rgba(0, 247, 255, 0.377);
}

.projects-container > .project-card:nth-last-child(1) {
  margin-left: 55%;
  margin-right: auto;
}

.project-card:nth-child(n+3){
  display: none;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-img {
  height: 240px; 
  object-fit: cover;
  width: 100%;
  display: block;
}

.project-content {
  padding: 16px;
  font-size: 0.9rem;
  flex-grow: 1;
  margin-bottom: 15px;
}

.project-content h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.project-content p {
  font-size: 0.95rem;
  margin-bottom: 20px;
  color: #ffffff;
}

.header-left h4{
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin-left: 10px;
    width: 100%;
    margin: 0;
}

.header-right {
    display: flex;
    justify-content: flex-end; /* Align icons to the right */
    gap: 10px; /* Space between icons */
}

.prototype-btn {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 1.2em;
  padding: 10px 20px;
  background: linear-gradient(#b4d7f3, #b499f2, #624d65);
  color: black;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.prototype-btn:hover {
  background-color: rgb(243, 241, 238);
}

.showall-btn {
  margin-top: 5%;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 1.2em;
  padding: 10px 20px;
  background: linear-gradient(#b4d7f3, #b499f2, #624d65);
  color: black;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.2s;
}

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

.projects-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 5px;
  object-fit: contain;
}

@media (max-width: 1024px) {
  .projects-container {
    grid-template-columns: 1fr;
  }
    .projects-container > .project-card:nth-last-child(1) {
    margin-left: auto;
    margin-right: auto;
  }

  .project-card {
    width: 80%;
  }
} 
/* Mobile (≤768px) */
@media (max-width: 768px) {
  .projects-container {
    grid-template-columns: 1fr;
  }
  .project-card {
    width: 95%;
  }

  .projects-container > .project-card:nth-last-child(1) {
    margin-left: auto;
    margin-right: auto;
  }
}

.tools-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr); 
  gap: 20px; /* Add space between the images */
  padding: 20px; /* Padding around the container */
  justify-items: center; /* Center images in each grid cell */
}

/* Optional: Adjust size of the images */
.tools-container img {
  width: 70px;  /* Set the width of the images */
  height: 70px; /* Set the height of the images */
  object-fit: contain; /* Maintain the aspect ratio of the images */
}

.tool-item {
  text-align: center; /* Center the text under the image */
}

.tool-item img {
  width: 70px;  /* Image size */
  height: 70px; /* Image size */
  object-fit: contain; /* Maintain aspect ratio */
}

.tool-item p {
  margin-top: 10px; /* Add space between image and text */
  font-size: 18px;  /* Adjust text size */
  font-family: "Tektur", sans-serif; /* Set the font */
}

/* Tablet (≤1024px) */
@media (max-width: 1024px) {
  .tools-container {
    grid-template-columns: repeat(4, 1fr);
  }

  .tool-item p {
    font-size: 16px;
  }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
  .tools-container {
    grid-template-columns: repeat(3, 1fr);
  }

  .tool-item img {
    width: 60px;
    height: 60px;
  }

  .tool-item p {
    font-size: 15px;
  }
}

/* Small mobile (≤480px) */
@media (max-width: 480px) {
  .tools-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .tool-item img {
    width: 50px;
    height: 50px;
  }

  .tool-item p {
    font-size: 14px;
  }
}

/* Card container styling */
.about-card {
  width: 80%; /* Control the width of the entire card */
  margin: 30px auto; /* Center the card on the page with margin */
  padding: 20px;
  border-radius: 10px; /* Rounded corners */
  background: linear-gradient(#624d65, #b499f2, #b4d7f3);
  box-shadow: 0 4px 10px rgba(0, 217, 255, 0.192); /* Light shadow for depth */
  display: flex;
  flex-wrap: wrap; /* Allow flexbox items to wrap */
  gap: 20px; /* Add space between image and text */
}

/* About container (holds both the image and text) */
.about-container {
  display: flex;
  flex-direction: row; /* Image on the left, text on the right */
  align-items: center; /* Vertically center the content */
  justify-content: flex-start;
  gap: 20px; /* Space between image and text */
}

/* Image styling */
/* About Image Styling */
.about-img {
  flex: 1;
  max-width: 300px; /* Set the max width for the image */
  position: relative;
  overflow: hidden; /* Hide overflow to create a circle */
  border-radius: 50%; /* Make the image circular */
  border: 5px solid #fff; /* White border around the image */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Light shadow for depth */
}

.about-img img {
  width: 100%;  /* Image will fill the container */
  height: 100%; /* Make the image cover the circular area */
  object-fit: cover; /* Maintain aspect ratio and fill the container */
  background-color: #000;
}



/* Text section styling */
.about-text {
  flex: 2; /* Allow text to take up more space (2x more than image) */
  font-family: Arial, sans-serif;
  color: #333; /* Dark text color for readability */
  line-height: 1.6; /* Line height for better readability */
}

/* Title styling */
.about-text h5 {
  font-size: 1.8em; /* Bigger font size for the heading */
  margin-bottom: 10px; /* Space between the title and the paragraph */
  font-weight: bold;
  color: #ffffff;
}

/* Paragraph styling */
.about-text p {
  font-size: 1em; /* Standard font size for paragraphs */
  margin-top: 10px; /* Space between paragraphs */
  color: #000000; 
}

/* Media query for mobile */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column; /* Stack image and text on mobile */
    text-align: center; /* Center the text on smaller screens */
  }

  .about-img {
    max-width: 100%; /* Allow image to take full width on mobile */
    margin-bottom: 20px; /* Add margin to the bottom of the image */
  }

  .about-card {
    width: 90%; /* Take up more space on smaller screens */
  }
}

/* Contact info container */
article {
  display: flex;              /* Use Flexbox for layout */
  justify-content: center;    /* Center the contact info horizontally */
  align-items: center;        /* Center the contact info vertically */
  gap: 20px;                  /* Space between the contact info items */
  padding: 20px;              /* Add some padding around the container */
  flex-wrap: wrap;            /* Allow items to wrap on smaller screens */
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 20px; /* Add space between the images */
  padding: 20px; /* Padding around the container */
  justify-items: center; 
}
/* Contact info box */
.contact-info {
  display: flex;               /* Use Flexbox for content inside each box */
  flex-direction: column;      /* Stack the image and text vertically */
  align-items: center;         /* Center the image and text horizontally */
  text-align: center;          /* Center the text */
  width: 250px; /* adjust the width as needed */
  margin: auto;
}

.contact-info img {
  margin-bottom: 10px;         /* Add space between the image and text */
  width: 100px;                /* Set fixed image width */
  height: 100px;               /* Set fixed image height */
}

/* Adjust the size of the text */
.contact-info p {
  display: block; /* makes sure it's on the next line */
  margin-top: 10px; /* space between image and text */
  font-size: 14px; /* adjust the font size */
  word-wrap: break-word; /* wraps long text to next line */
  max-width: 100%; /* keeps it within the .contact-info width */
  color: #fff; /* or your preferred color */
}

/* ========== Responsive Breakpoints ========== */

/* Tablet (≤1024px) */
@media (max-width: 1024px) {
  .contact-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-info {
    width: 220px;
  }

  .contact-info img {
    width: 90px;
    height: 90px;
  }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-info {
    width: 100%;
  }

  .contact-info img {
    width: 80px;
    height: 80px;
  }

  .contact-info p {
    font-size: 13px;
  }
}

/* Small Mobile (≤480px) */
@media (max-width: 480px) {
  .contact-info img {
    width: 70px;
    height: 70px;
  }

  .contact-info p {
    font-size: 12px;
  }
}

footer {
  background-color: #3d3d3d;
  color: white;
  text-align: center;
  padding: 30px 20px;
}

.foot {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.foot-button {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #222;
  color: white;
  padding: 5px 10px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.foot-button:hover {
  background-color: #333;
  transform: scale(1.05);
}

.foot-button img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* Footer Text */
footer > p {
  margin-top: 0%;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .foot {
    flex-direction: row;
    align-items: center;
  }

  .foot-button {
    width: 30%;
    justify-content: center;
  }
}

.icon-row {
  display: flex;
  justify-content: center; /* centers the icons horizontally */
  align-items: center;
  gap: 20px; /* spacing between icons */
  margin-top: 20px; /* space from buttons above */
  flex-wrap: wrap; /* makes it responsive */
}

.icon-row img {
  width: 40px;  /* adjust size as needed */
  height: 40px;
}

