*, 
*:before, 
*:after{
    box-sizing: border-box;
}
html{
    font-size: 16px;
}
body {
  font-family: 'Roboto', sans-serif;
  background: #1e1e1e;
  color: white;
  height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  height: 105vh;
  background-image: url("../assets/images/img.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  z-index: -1;

  /* animation */
  animation: bgFloat 3s linear infinite alternate;
  transform-origin: center;
}

@keyframes bgFloat {
  from {
    transform: scale(1) translate(0, 0);
  }
  to {
    transform: scale(1.1) translate(-10px, -10px);
  }
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
  }

  html {
    scroll-behavior: smooth;
  }




  h1 {
    text-align: center;
    margin-bottom: 40px;
    padding: 10px;
    color: #262222;
    display: inline-block;
    text-align: center;
  }

  p {
    font-size: 18px;
    font-weight: 400;
  }

  .section-title {
    font-size: 2rem; /* adjust as needed */
    font-weight: 400; /* normal */
  }
  
  .section-title .bold {
    font-weight: 700; /* bold */
  }
  
  

  
  /* Hero section */
#hero {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: flex-start; /* image is still full width */
  align-items: center;
}

/* Hero image */
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Project header on left side */
.hero-header {
  position: absolute;
  top: 50%;                 /* vertical center */
  left: 50px;               /* distance from left edge */
  transform: translateY(-50%); /* vertically center text */
  text-align: left;
  color: #ffffff;
  z-index: 10;              /* above hero image */
}

/* Project name */
.project-name {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

/* Divider line */
.divider {
  width: 150px;
  border: 2px solid #f7941d;
  margin-bottom: 15px;
}

/* View Project button */
.view-btn {
  width: 150px;
  display: inline-block;
  background-color: #f7941d;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  display: flex;
  transition: background 0.3s ease;
}

.view-btn:hover {
  background-color: #e68317;
}

  
  .hero-overlay {
    text-align: center;
  
    padding: 40px;
  }
  
  .hero-overlay h3 {
    font-size: 28px;
  }
  
  .hero-overlay h1 {
    font-size: 50px;
    margin: 10px 0;
    font-weight: 900;
  }
  
  .hero-overlay p {
    font-size: 20px;
  }

  main {
    position: relative;
    z-index: 1;
  }

  main::before {
    content: "";
    position: fixed;           /* covers full viewport */
    inset: 0;
    background: rgba(36, 174, 237, 0.1); /* adjust darkness */
    z-index: -1;
  }

  .main-image {
    width: 100vw;
    height: 100vh;
    background: url('../assets/images/min img.jpg') center center no-repeat;
    background-size: cover; /* cover ensures full width & height */
    position: relative;     /* needed for absolute positioning of overlay */
    display: flex;
    justify-content: center;
    align-items: center;
  }
  

  .image-overlay h2 {
    font-size: 48px;
    margin-bottom: 20px;
  }
  
  .image-overlay p {
    font-size: 18px;
    margin-bottom: 30px;
  }


 /* Hero section */
#hero {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  background-color: #fff;
  justify-content: center;
  align-items: center;
}

/* Hero image */
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}









  .back-btn {
    position: fixed;      /* stays in place while scrolling */
    top: 90px;            /* distance from top */
    right: 100px;          /* distance from right */
    background-color: #f7941d;
    color: #fff;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    z-index: 9999;        /* stays above all content */
    transition: background 0.3s ease;
  }
  
  .back-btn:hover {
    background-color: #e68317;
  }
  
 


  #project-overview {
    padding: 80px 20px; /* spacing around section */

    color: #ffffff;
  }
  
  #project-overview .container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  #project-overview .section-title {
    font-size: 36px;
    margin-bottom: 40px;
    font-weight: 700;
  }

  #project-overview .overview-text p {
    max-width: 800px;
  }
  
  p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  /* Two-column layout: text left, image right */
.overview-content {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap; /* wraps on smaller screens */
  justify-content: space-between;
}

/* Text side */
.overview-text {
  flex: 1;
  min-width: 300px;
}

/* Image side */
.overview-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: flex-end; /* image aligned to right side */
}

.overview-image img {
  width: 700px;
  height: 300px;
  border-radius: 8px;
  background-color: #fff;


}


#challenge {
  width: 100%;
  padding: 80px 20px; /* spacing around section */

  color: #ffffff;
}

#challenge .container {
  max-width: 1200px;
  margin: 0 auto; /* center container */
} 


/* =========================
   PROCESS SECTION
========================= */

/* =========================
   PROCESS SECTION
========================= */

.process {
  width: 100%;
  padding: 80px 20px;
}

.process-container {
  max-width: 1200px;
  margin: 0 auto;
}

.process h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* GRID LAYOUT */
.process-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* SAME SIZE FOR ALL */
.process-images img,
.process-images iframe {
  width: 100%;
  height: 300px;
  border-radius: 14px;
}

/* IMAGE FIT */
.process-images img {
  object-fit: contain;
  padding: 10px;
  background-color: #0e0d0d;
}

/* VIDEO FIT */
.process-images iframe {
  object-fit: cover;
}

/* HOVER ZOOM EFFECT */
.process-images img {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.process-images img:hover {
  transform: scale(1.05);
}

/* FULLSCREEN CLICK EFFECT */
.img-active {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.8);
  z-index: 9999;
  max-width: 90%;
  max-height: 90%;
  background: #000;
  padding: 10px;
  border-radius: 10px;
}

/* PREVENT SCROLL WHEN IMAGE OPEN */
body.img-open {
  overflow: hidden;
}

/* MOBILE */
@media (max-width: 768px) {
  .process-images {
    grid-template-columns: 1fr;
  }

  .process-images img,
  .process-images iframe {
    height: 250px;
  }
}





/* =========================
   PROJECT VIDEO SECTION
========================= */

.project-video {
  padding: 6rem 2rem;

  color: #fff;
}

.video-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}



.project-video p {
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.video-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.video-wrapper video {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}


 
  
  
  
  
 




 

footer {
  background: #1e1e1e;
  text-align: center;
  padding: 20px;

}



/* Title */
h2 {
color: #fff;
font-size: 36px;
margin-bottom: 40px;
text-align: center;

}

  
  /* Footer Styling */
  footer {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 1rem;
    margin-top: 20px;
  }
 

.tools img {
  width: auto;
  height: 70px;
}

/* Deliverable Section */
#deliverable {
  width: 100%;
  padding: 80px 20px;
  color: #ffffff;
}

#deliverable .container {
  max-width: 1200px;
  margin: 0 auto;
}

#deliverable .section-title {
  width: 100%;
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 40px;
}

#deliverable .section-title .bold {
  font-weight: 700;
}

#deliverable .content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.deliverable-text p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 100%;
}

/* Button at bottom-left */
.deliverable-btn {
  margin-top: 30px;
  display: inline-block;
  background-color: #f7941d;
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.3s ease;
}

.deliverable-btn:hover {
  background-color: #e68317;
}




/* Tools Used Section */
#tools-used {
  width: 100%;
  padding: 80px 20px;
  color: #ffffff;
}

#tools-used .container {
  max-width: 1200px;
  margin: 0 auto;
}

#tools-used .section-title {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 40px;
}

#tools-used .section-title .bold {
  font-weight: 700;
}

/* Tools Used Section */
#tools-used {
  width: 100%;
  padding: 80px 20px;
  color: #ffffff;
}

#tools-used .container {
  max-width: 1200px;
  margin: 0 auto;
}

#tools-used .section-title {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 40px;
}

#tools-used .section-title .bold {
  font-weight: 700;
}

/* Icon Row */
.tools-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap; /* responsive */
  margin-top: 20px;
}

.tools-row img {
  width: 70px;
  height: 70px;
  
  object-fit: contain;
 
  transition: transform 0.3s ease;
  
}

.tools-row img:hover {
  transform: scale(1.1);
}