/* Basic Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Montserrat', sans-serif;
    background: #0d0d0d;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
  }
  
  /* Container */
  .container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
  }
  
  /* Navbar */
  .navbar {
    background: rgba(0, 0, 0, 0.8);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
  }
  
  .navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    color: #fff;
    text-decoration: none;
    animation: logoGlow 1.5s ease-in-out infinite alternate;
  }
  
  @keyframes logoGlow {
    from {
      text-shadow: 0 0 10px rgba(255, 204, 0, 0.5),
                   0 0 20px rgba(255, 204, 0, 0.4);
    }
    to {
      text-shadow: 0 0 20px rgba(255, 204, 0, 0.8),
                   0 0 30px rgba(255, 204, 0, 0.6),
                   0 0 40px rgba(255, 204, 0, 0.4);
    }
  }
  
  .nav-links {
    list-style: none;
    display: flex;
  }
  
  .nav-links li {
    margin-left: 20px;
  }
  
  .nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 4px;
    transition: color 0.3s, background 0.3s, transform 0.3s;
  }
  
  .nav-links a:hover {
    color: #ffcc00;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
  }
  
  /* Project Hero Section */
  .project-hero {
    position: relative;
    height: 100vh;
    padding-top: 100px;
    text-align: center;
    color: #fff;
    overflow: hidden;
  }
  
  .project-hero .container {
    position: relative;
    z-index: 2;
  }
  
  .project-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 10px;
  }
  
  .project-subtitle {
    font-size: 1.5rem;
  }
  
  .hero-mockup {
    margin-top: 40px;
  }
  
  .hero-mockup img {
    width: 100%;
    max-width: 70%; /* Ensures the image never exceeds its container */
    height: auto;
    display: block;
    margin: auto;
    object-fit: cover; /* Optional: if you need the image to cover the container without distortion */
  }
  
 /* Background Banner Section */
 .background-banner {
    position: relative;
    margin-top: -700px; /* Adjust this value as needed */
  }
  .background-banner .hero-mockup img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    margin: auto;
    opacity: 0.8; /* Adjust opacity if desired */
  }
  
  /* Section Styles */
  section {
    padding: 80px 0;
    background: #1a1a1a;
  }
  
  section .container {
    max-width: 1200px;
    margin: auto;
  }
  
  /* Case Study Box */
  .case-study-box {
    background: rgba(26, 26, 26, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
  }
  
  /* Section Headings */
  section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
  }
  
  /* Section Paragraphs */
  section p {
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: justify;
    max-width: 800px;
    margin: auto;
    margin-bottom: 20px;
  }
  
  /* Overview Section */
  /* (Uses the same styling as case-study-box) */
  
  /* Tools Used Section */
  .tools-used .tools-list {
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
  }
  
  .tools-used .tool {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .tools-used .tool img {
    max-width: 40px;
    height: auto;
    margin-bottom: 5px;
  }
  
  .design-media {
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
  }
  
  .design-media .media-item {
    width: 100%;
    max-width: 350px;
    border-radius: 5px;
    overflow: hidden; /* Ensures video or image fits nicely */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  .design-media .media-item img,
  .design-media .media-item video {
    width: 100%;
    display: block;
  }
  
  
  /* Process Media Container */
  .process-media {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
  }
  
  .process-media .media-item {
    flex: 1;
    max-width: 100%;
    margin: 0 auto;
  }
  
  .process-media .media-item img,
  .process-media .media-item video {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(255, 204, 0, 0.4);
    object-fit: contain;
  }
  
  /* Challenges Media Container */
  .challenges-media {
    text-align: center;
    margin-top: 20px;
  }
  
  .challenges-media img {
    max-width: 500px;
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }
  
/* Final Product Button */
.final-product-button {
    text-align: center;
    margin-top: 20px;
  }
  
  .final-product-btn {
    display: inline-block;
    background: #ffcc00;
    color: #000;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.2rem;
    transition: background 0.3s, transform 0.3s;
  }
  
  .final-product-btn:hover {
    background: #e6b800;
    transform: scale(1.05);
  }
  
  
  /* Footer */
  .footer {
    background: #000;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
  }
  