*{
    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;
}


/* |||||||||||||||||||||||||||| */


.screens-container {
  width: 100%;
  padding: 60px 20px;
  background-color: #3588E0; 
  text-align: center;
}

.screens-title {
  font-size: 36px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 10px;
  font-family: 'Poppins', sans-serif;
}

.screens-description {
  font-size: 18px;
  color: #cbd6ee;
  margin: 0 auto 40px auto; /* top: 0, bottom: 40px, auto left/right */
  font-family: 'Poppins', sans-serif;
  max-width: 800px;
  text-align: center; /* center the text itself */
}

/* Wrapper to center the images */
.screens-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  line-height: 0;
  font-size: 0;
}

/* Container around each image */
.screens-wrapper > div {
  margin: 0;
  padding: 0;
  line-height: 0;
}

/* Images */
.screen {
  width: 1200px;
  height: 600px;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
  border: none;
}



/* ||||||||||||||||||||||||||||||||||||||||||||||||||||||||| */
.challenges-section {
  background-color: #f8f9fb;
  padding: 80px 20px;
  font-family: 'Poppins', sans-serif;
  color: #333;
}

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

.challenges-content {
  flex: 1 1 60%;
  min-width: 300px;
}

.section-title {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 40px;
  color: #2c3e50;
}

.challenge {
  margin-bottom: 30px;
}

.challenge h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #1f2d3d;
}

.challenge p {
  font-size: 18px;
  line-height: 1.6;
  color: #555;
}

.challenges-image {
  flex: 1 1 35%;
  min-width: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
}

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


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

.challenges-section {
  background-color: #f8f9fb;
  padding: 80px 20px;
}

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

.challenges-content {
  flex: 1 1 60%;
  min-width: 300px;
}

.challenge {
  margin-bottom: 30px;
}

.challenge h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #1f2d3d;
}

.challenge p {
  font-size: 18px;
  line-height: 1.6;
  color: #555;
}

.challenges-image {
  flex: 1 1 400px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.challenges-image img {
  width: 400px;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
}

/* ===== Usability Section ===== */
.usability-section {
  background-color: #ffffff;
  padding: 80px 20px;
}

.usability-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 60px;
  flex-wrap: wrap;
}

.usability-text {
  flex: 1 1 60%;
  min-width: 300px;
}

.usability-text p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.usability-list {
  font-size: 18px;
  padding-left: 20px;
  margin-top: 10px;
}

.usability-list li {
  margin-bottom: 12px;
  line-height: 1.6;
}

.usability-image {
  flex: 1 1 400px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.usability-image img {
  width: 400px;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
}

.title2 p{
    font-weight: 700;
}





/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .challenges-wrapper,
  .usability-container {
    flex-direction: column;
  }

  .challenges-image,
  .usability-image {
    justify-content: center;
    margin-top: 30px;
  }
}