body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: black;
}
.nav-link,
.nav,
.nav-item {
  list-style: none;
  color: #aeb9cc;
  text-decoration: none;
  display: flex;
  justify-content: space-around;
}
.header {
  position: relative;
  height: 100vh; /* Full screen height */
  background-image: url('camera.png'); /* Replace with your image path */
  background-attachment: fixed; /* Enables parallax */
  background-position: center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

.title {
  position: relative; /* Keep title above the header */
  z-index: 1; /* Ensure it appears above the background */
  text-align: center;
  font-size: clamp(2rem, 5vw, 4rem);
  color: #d8d8d8;
  font-family: 'Rubik 80s Fade', system-ui;
  font-weight: 400;
  font-style: normal;
}

/* Overlay for Dimmed Effect */
.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* Adds a dim overlay */
  z-index: 0; /* Ensures overlay is beneath the title */
}

/* Default styling for larger screens (Desktop View) */
.container .row {
  display: flex; /* Maintain side-by-side layout */
  flex-direction: row; /* Ensure row layout */
  flex-wrap: nowrap; /* Prevent wrapping */
  gap: 20px; /* Space between columns */
  align-items: flex-start; /* Align columns to the top */
}

.container .col {
  flex: 1; /* Ensure equal width columns */
}
/* Case Study Section Styling */
.case-study-section {
  display: flex;
  flex-direction: column; /* Stack content vertically */
  align-items: center; /* Center horizontally */
  justify-content: center; /* Center vertically */
  height: 100vh; /* Full viewport height */
  background-color: black; /* Ensure background matches */
  color: white;
  text-align: center;
  padding: 100px;
  box-sizing: border-box; /* Include padding in height calculation */
}

.case-study-section h2 {
  font-family: 'Rubik 80s Fade', system-ui;
  font-weight: 400;
  font-style: normal;
  margin-bottom: 20px; /* Add spacing below the title */
}

.case-study-section p {
  margin-bottom: 40px; /* Add spacing below the paragraph */
  color: #798289; /* Adjust text color for better contrast */
}

.case-study-section .hero {
  width: 100%;
  max-width: 100%; /* Limit the maximum size of the image */
  height: auto; /* Maintain aspect ratio */
  margin-top: 20px;
}

/* Responsive styling for mobile devices */
@media (max-width: 768px) {
  .title {
    padding: 50px;
  }
  .case-study-section {
    height: auto; /* Remove full height on mobile */
    padding: 40px 20px; /* Add more padding for smaller screens */
    text-align: left;
  }

  .case-study-section .hero {
    max-width: 100%; /* Make the image fully responsive */
  }
  .container .row {
    flex-direction: column; /* Stack elements vertically */
    flex-wrap: wrap; /* Allow wrapping */
    gap: 40px; /* Add extra spacing between stacked elements */
  }

  .container .col {
    width: 100%; /* Make each column take full width */
    text-align: left; /* Center-align content for better readability */
  }
  .objectives,
  .features,
  .tech-stack,
  .backend {
    text-align: left; /* Optional: Left-align section titles if needed */
  }

  .video-container,
  img {
    margin: 0 auto; /* Center media elements */
    display: block; /* Ensure proper layout */
    width: 100%; /* Make videos and images responsive */
    max-width: 100%; /* Prevent images from stretching */
    height: auto; /* Maintain aspect ratio */
  }
}
.lead {
  color: #798289;
  padding-bottom: 50px;

  padding-top: 25px;
}

.site-header-mask {
  position: absolute;
  inset: 0;
  -webkit-mask: url('camera.png');
  mask: url('camera.png');
}
.hero {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 65%;
}

.case-study-title {
  text-align: center;
  font-family: 'Rubik 80s Fade', system-ui;
  font-weight: 400;
  font-style: normal;
}

h2 {
  font-family: 'Rubik 80s Fade', system-ui;
  font-weight: 400;
  font-style: normal;
  color: white;
  padding-top: 50px;
}

.video-container {
  display: block; /* Makes the video a block element */
  margin-left: auto; /* Centers the video horizontally */
  margin-right: auto; /* Centers the video horizontally */
  margin-top: 20px; /* Optional: adds space above the video */
}

.footer {
  background-color: #1e2124;
  color: white;
  padding: 20px;
  text-align: center;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  display: inline;
  margin: 0 15px;
}

.footer-links a {
  color: #aeb9cc;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.technologies {
  margin-top: 20px;
}

.technologies ul {
  list-style: none;
  padding: 0;
}

.technologies li {
  display: inline-block;
  margin-right: 15px;
}
