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

p{
  line-height: 1.6;
}

html,body{
    width:100%;
    height:100%;
}

#nav-placeholder {
  background-color: #000;
  height: 76.5px;
  position: relative;
  z-index: 0;
}

.sec-title h2{
  color:#212121;
  font-size:36px;
}

h1 {
  font-size: 44px;
  color: #fff;
}

h2 {
  font-size: 36px;
  color: #fff;
}

h3 {
  font-size: 30px;
  font-style: normal;
}

/* === HEADER === */
.nav-collection{
  display:flex;
  justify-content: center;
  align-items:center;
  gap:48px;
}

.nav-link a{
  text-decoration:none;
  color:#ffffff;
}

h4{
  font-style:normal;
  font-size:16px;
}

html{
  scroll-behavior: smooth;
}

/* ////////////////// WRAPPER //////////////////////////  */
.wrapper-case{
    display:flex; /* Changed to flex */
    flex-direction: column; /* Stacks sections vertically */
    
    width:100%;
}

/* /////////////// hero image////////////////////// */
.container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.wrapper-case {
  width: 100%;
  position: relative;
}

/* Hero section */
.header2 {
  position: relative;
  width: 100%;
  background-color: #000; /* Black background behind image */
  display: inline-block;
}

.header2 img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.6;
}

/* Centered heading on image */
.case-heading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.case-heading h1 {
  font-size: 48px;
  color: #fff;
  margin: 0;
  max-width: 1000px;
}


/* /////////////// Project overview////////////////////// */
.overview{
  max-width: 1200px;
  margin:auto; /* Centers this flex item within the wrapper-case */
  padding:48px;
  display:flex;
  justify-content: flex-start;
  align-items: center;
  gap: 40px;
}

.overview-text{
  flex: 1;
}

.overview-text p {
  width: 100%;
  margin: 16px 0 16px 0;
  line-height: 1.6;
}

/* /////////////// About project////////////////////// */
.about {
  background-color: #f7f7f7;
  width: 100%; /* Ensure it takes full width as a flex item */
}

.about-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  padding: 40px 0;
  max-width: 1200px;
  margin: auto;
}

.about-inner > div {
  flex: 1;
}

/* /////////////// Problem Statement ////////////////////// */
.problem-section{
  background-color:rgb(255, 255, 255);
  width: 100%; /* Ensure it takes full width as a flex item */
}

.problem-container{
  color:#212121;
  padding:20px 80px;
  max-width:1200px;
  margin: 0 auto;
}

.problem-wrapper{
  display:flex;
  justify-content: space-between;
  align-items: center;
  gap:60px;
}

.problem-img img {
  max-width: 300px;
  height: auto;
  display: block;
}

.problem-text1 li{
  padding:8px;
}

.problem-text{
  margin-top:16px;
  margin-left:20px;
}

/* /////////////// Objectives and Goals////////////////////// */
.goals-container {
  background-color: #f7f7f7;
  width: 100%; /* Ensure it takes full width as a flex item */
}

.goals-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 80px;
  box-sizing: border-box;
}

.goals-content {
  display: flex;
  justify-content: space-between;
  gap: 60px;
}

.goals-img img {
  mix-blend-mode: multiply;
  margin-top:50px;
  width: 400px;
  height: auto;
  display: block;
}

/* /////////////// PROCESS ////////////////////// */
.process-container{
  background-color:rgb(255, 255, 255);
  width: 100%; /* Ensure it takes full width as a flex item */
}

.process-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 80px 60px 80px;
  box-sizing: border-box;
}

.desktop-img {
  display: block;
}

.mobile-img {
  display: none;
}

/* /////////////// Research////////////////////// */
.sec-title h2,
.sec-title h3 {
  text-align: center;
}

.research-section {
  background-color: #f7f7f7;
  padding: 40px 0;
}

.research-imgs1-inner {
  /* margin-left: 32px;
  margin-right: 32px; */
  margin:32px;
  /* text-align: center; */
}

.research-imgs1-inner p {
  margin-bottom: 24px;
  line-height: 1.6;
}

.comp-analysis-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
}

.comp-analysis-row img {
  width: calc(50% - 4px); /* 2 images per row with 8px gap */
  height: auto;
  display: block;
}



  

/* /////////////// Survey ////////////////////// */
.survey {
  background-color: #ffffff;
  width: 100%; /* Ensure it takes full width as a flex item */
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.survey .sub-title h3{
  text-align:center;
}

.survey-img {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.survey-img img {
  width: 48%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* //////////////SURVEY RESULT/////////////////// */

.survey-section {
  padding: 60px 20px;
}

.survey-content {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
  align-items: flex-start;
}

.observations {
  flex: 1;
  min-width: 300px;
}

.title {
  font-size: 28px;
  margin-bottom: 20px;
  border-bottom: 2px solid #ccc;
  padding-bottom: 10px;
  color:#212121;
}

.observation-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.observation-list li {
  padding: 15px 0;
  border-bottom: 1px solid #e0e0e0;
}

.survey-image {
  flex: 1;
  min-width: 200px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.survey-image img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}



/* /////////////// Persona ////////////////////// */

.persona-container{
background-color: #f7f7f7;
width: 100%;
height:auto;
}

.persona .sub-title{
  margin:20px 0;
}

.persona {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.persona-img img{
 max-width: 80%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* /////////////// Scenerio ////////////////////// */

/* Section background and padding */
.scenario-section {
  background-color: #f7f7f7;
  padding: 42px 32px;
}

/* Container to center content */
.scenario-container {
  max-width: 900px;
  margin: 0 auto;
}

/* Title styling */
.scenerio-title {
  /* text-align: center; */
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 40px;
  color:#000
}

/* Each scenario row */
.scenario-row {
  margin-bottom: 40px;
}

/* Subheading styling */
.scenario-row h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  /* text-align: center; */
}

/* Paragraph styling */
.scenario-row p {
  font-size: 16px;
  line-height: 1.6;
  /* text-align: center; */
  margin: 0 auto;
  max-width: 800px;
}




/* /////////////// Empathy ////////////////////// */

.empathy-container
{
  background-color: #ffffff;
  width:100%;
  
}

.empathy-container .sub-title{
  display:flex;
  justify-content:center;
  align-items:center;
  margin:24px 0;
}

.empathy-wrapper{
  margin: 0 40px;
}

.empathy-image{
  width:50%;
}

.empathy-image img{
  width:100%;
}

.empathy-text{
  max-width:50%;
}

.empathy-wrapper
{
  display:flex;
  justify-content: space-between;
  gap:40px;
  align-items:center;
}

/* /////////////// User Journeys or Workflows////////////////////// */

.journey
{
  background-color: #f7f7f7;
  width:100%;
  padding:32px 0 0 0;
}

.journey-container .sub-title{
 
  text-align: center;
  margin-bottom:24px;
}

.journey-wrapper
{
  display:flex;
  justify-content: space-between;
  gap:40px;
  align-items:center;
  margin-bottom:42px;
  margin-left:60px;
}

/* /////////////// Information Architecture////////////////////// */


.ia-section {
  background-color: #ffffff;
  padding: 60px 32px;
}

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

.ia-container h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 24px;
  color:#212121;
}

.ia-container img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}


/* /////////////// Prototypes////////////////////// */
.prototypes{
  background-color:#1F50CD;
  width: 100%; /* Ensure it takes full width as a flex item */
padding-top:42px;
padding-bottom:42px;

}

.prototypes .sec-title h2{
  color:#fff;
  margin-bottom:24px;
}


  .image-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      justify-content: center;
    }

    .image-grid img {
      width: 400px;       /* Fixed width */
      height: auto;      
      object-fit: cover;
      border: 2px solid #ccc;
      border-radius: 6px;
      transition: transform 0.2s;
    }

    .image-grid img:hover {
      transform: scale(1.03);
    }


    .prototypes h3{
      color:#fff;
      /* text-align:center; */
      font-size:18px;
      margin-bottom:20px;
      margin-top:24px;
    }

/* /////////////// Validation & Testing////////////////////// */
.testing{
  background-color:rgb(240, 107, 123);
  width: 100%; /* Ensure it takes full width as a flex item */
}

/* /////////////// Outcomes and Impact////////////////////// */
.impact{
  background-color:rgb(185, 35, 35);
  width: 100%; /* Ensure it takes full width as a flex item */
}

/* /////////////// Challenges////////////////////// */
.challenges{
  background-color:rgb(80, 66, 66);
  width: 100%; /* Ensure it takes full width as a flex item */
}

/* /////////////// Reflection////////////////////// */
.reflection{
  background-color:rgb(110, 206, 188);
  width: 100%; /* Ensure it takes full width as a flex item */
}

/* /////////////// Footer////////////////////// */
.footer{
  background-color:#1E50CD;
  width: 100%; /* Ensure it takes full width as a flex item */
}

/* ////////////////////////////////////////////// */

/* Full-width colored background for this section */
.challenge-section {
  width: 100%;
  background-color: #eef3fc; /* light bluish tone */
  padding: 60px 20px;
}

/* Container for centering table within section */
.table-container {
  max-width: 1000px;
  margin: auto;
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  /* box-shadow: 0 0 10px rgba(0,0,0,0.05); */
}

h1 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 26px;
  color: #2a2a2a;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 16px 14px;
  border: 1px solid #ddd;
  text-align: left;
  vertical-align: top;
}

th {
  background-color: #1E50CD;
  color: white;
  font-weight: 500;
}


/* //////////////////// MOBILE SCREENS////////////////// */

.mobile-screens-row {
  /* background-color: #f2f6fc; */
  padding: 80px 20px;
  font-family: 'Poppins', sans-serif;
}

.content-wrapper {
  /* max-width: 1400px; */
  margin: 0 auto;
}

.mobile-screens-row .section-title {
  font-size: 32px;
  font-weight: 600;
  text-align: center;
  color: #171717;
  margin-bottom: 20px;
}

.mobile-screens-row .section-description {
  font-size: 18px;
  text-align: center;
  color: #171717;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.mobile-scroll {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 40px;
  padding: 10px 0;
}

.mobile-scroll img {
  width: 215px; /* 50% of 430px */
  height: auto;
  border-radius: 24px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

/* Optional: Hide scrollbar in WebKit browsers */
.mobile-scroll::-webkit-scrollbar {
  display: none;
}
.mobile-scroll {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;     /* Firefox */
}

/* //////////////USABILITY TESTING////////////////// */
.usability-section {
  padding: 60px 20px;
  background-color: #f9f9ff;
  font-family: 'Poppins', sans-serif;
  width:100%;
}

.usability-section .section-title {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.section-description {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
  max-width: 600px;
}

.usability-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: nowrap;
}

.usability-content {
  flex: 1;
}

.feedback-title {
  font-size: 20px;
  font-weight: 600;
  color: #222;
  margin: 30px 0 10px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 5px;
}

.usability-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.usability-box {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: #444;
  box-sizing: border-box;
}

.usability-image {
  flex: 0 0 40%;
  text-align: right;
  position: sticky;
  top: 100px;
  align-self: flex-start;
}

.usability-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* ///////////////// CONCLUSION ///////////////////// */

.conclusion-section {
  background-color: #f8f8fc;
  padding: 60px 20px;
  width: 100%;
}

.conclusion-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-start;
}

.conclusion-text {
  flex: 1;
  font-family: 'Poppins', sans-serif;
  color: #333;
}

.conclusion-text p {
  margin-bottom: 16px;
  line-height: 1.6;
}

.section-title {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #222;
}

.conclusion-image {
  flex: 0 0 40%;
  position: sticky;
  top: 100px;
  align-self: flex-start;
  text-align: right;
  margin-top:30px;
}

.conclusion-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Responsive */
@media (max-width: 900px) {
  .conclusion-container {
    flex-direction: column;
  }

  .conclusion-image {
    position: relative;
    top: unset;
    text-align: center;
    margin-top: 30px;
  }
}


/* Responsive */
@media (max-width: 900px) {
  .usability-container {
    flex-direction: column;
    gap: 30px;
  }

  .usability-boxes {
    grid-template-columns: 1fr;
  }

  .usability-image {
    text-align: center;
  }
}


/* Responsive */
@media (max-width: 900px) {
  .usability-container {
    flex-direction: column;
  }

  .usability-image {
    order: -1;
    margin-bottom: 30px;
  }

  .usability-section .section-title {
    font-size: 1.8rem;
  }

  .usability-section .group-title {
    font-size: 1.1rem;
  }
}


@media (max-width: 600px) {
  .section-title {
    font-size: 1.8rem;
  }

  .group-title {
    font-size: 1.1rem;
  }
}



@media (max-width: 768px) {
  table, thead, tbody, th, td, tr {
    display: block;
  }

  thead {
    display: none;
  }

  tr {
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc;
  }

  td {
    padding: 10px;
    position: relative;
  }

  td::before {
    content: attr(data-label);
    font-weight: bold;
    display: block;
    margin-bottom: 6px;
    color: #666;
  }
}


/* ========== Responsive Layout ========== */
/* Tablets (768px and below) */
@media (max-width: 768px) {

.container {
  width: 100%;
  display: flex;
  justify-content: center;
  max-height: 202px;
  background-color: #000;
}

.wrapper-case {
  max-width: 1200px;
  width: 100%;
  position: relative;
}

.header2 {
  position: relative; /* Needed for absolute positioning of child */
}

.header2 img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  opacity: 60%;
  margin-top: 57px;
}


.case-heading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;             /* ✅ Add this */
  padding: 0 16px;         /* ✅ Optional: Prevent text touching edges */
  box-sizing: border-box;  /* ✅ Optional: Ensure padding doesn’t overflow */
}


.case-heading h1 {
  font-size: 32px;
}


/* //////////////////////////// */

  .sec-title h2{
    font-size: 32px;
    margin-bottom:16px;
  }

  .overview {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    gap: 16px;
  }

  .overview-img img {
  width: 40%;
  max-width: 400px; /* reduced from 100px */
  height: auto;
  margin: 0 auto;
  display: block;
}

  .overview-text {
    text-align: center;
  }

  .overview-text p {
    font-size: 16px;
    margin: 0;
    padding: 0 8px;
    line-height: 1.6;
    text-align: justify;
  }

  .overview-text p span {
    margin: 0;
    padding: 0;
    display: inline;
  }

  /* ///////////////////////////////// */
  .about-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 16px;
    margin: 0 auto;
  }

  .about-inner > div {
    flex: 0 0 48%;
    text-align: center;
  }

  .about-inner h3 {
    text-align: center;
  }

  .about-text p {
    text-align: center;
  }

  /* /////////////// PROBLEM ////////////////// */
  .problem-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .problem-img {
    display: none;
  }

  .problem-container {
    padding:32px;
  }

  .problem-text {
    margin-top:0;
    margin-left:20px;
  }

  /* /////////////// GOALS ////////////////// */
  .goals-img {
    display: none;
  }

  .goals-text{
    padding:0 32px;
  }

  .goals-wrapper {
    margin: 0 auto;
    padding: 32px;
  }

  .goals-text li{
    margin-bottom:16px;
  }

  /* ///////////// PROCESS ///////////// */
  .process-container{
    width: 100%; /* Ensure it takes full width in mobile as well */
  }

  .process-wrapper {
    padding: 20px;
  }

  .desktop-img {
    display: none;
  }

  .mobile-img {
    display: block;
    width: 100%;
    height: auto;
  }

/* //////////////// RESEARCH /////////////////////// */
 .research-imgs1 {
        flex-direction: column;
        text-align: center;
      }

      .research-imgs1 p,
      .research-imgs1 img {
        flex: unset;
        width: 100%;
      }
  
/* /////////////////Empathy/////////////// */
.empathy {
  min-height: auto;
  }

  .empathy-image{
  width:100%;
}

.empathy-image img{
  width:100%;
}

  .empathy-text{
  max-width:100%;
}

  .empathy-wrapper
{
  display:flex;
  flex-direction: column;
  gap:40px;
  align-items:center;
}


.journey-image{
  width:100%;
  
}

.journey-image img{
  width:100%;
  margin:0 auto;
  padding: 0 32px;
}

.journey-text{
  max-width:100%;
  padding: 0 32px;

}

.journey-wrapper
{
  display:flex;
  flex-direction: column-reverse;

  gap:40px;
  align-items:center;
}

.journey-container{
  padding: 32px 0;
}

.mobile-screens-row {
    padding: 60px 15px;
  }

  .section-title {
    font-size: 24px;
    line-height: 1.3;
  }

  .section-description {
    font-size: 15px;
    padding: 0 10px;
    line-height: 1.5;
    max-width:400px;
  }

  .mobile-scroll {
    gap: 20px;
    padding: 10px 0;
  }

  .mobile-scroll img {
    width: 160px;
  }

}


