* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #eee;
  overflow-x: hidden;
}

/* Navbar */
.nav-content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 15px 5%;
  background: transparent;
}

nav.nav-links a {
  margin-left: 25px;
  text-decoration: none;
  color: black;
  font-weight: 500;
}

.btn.outline.ss {
  border: 1px solid #BD1B5C;
  padding: 6px 15px;
  border-radius: 5px;
  color: #BD1B5C;
  text-decoration: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 25px;
  background-color: #BD1B5C;
  border-radius: 3px;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px,5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
} 

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px,-5px);
}

/* Mobile & Tablet */
@media screen and (max-width: 1024px) {
  nav.nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 5%;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  }
  nav.nav-links a {
    margin: 10px 0;
  }
  nav.nav-links.show {
    display: flex;
  }
  .hamburger {
    display: flex;
  }

  /* Center all sections for mobile */
  .hero-mockups,
  .process-steps,
  .style-guide,
  .onboarding-grid,
  .mockup-row,
  .bottom-screens-grid,
  .main-screens-layout {
    justify-content: center !important;
    align-items: center !important;
    flex-direction: column !important;
    text-align: center;
  }

  .goal-process-row {
    flex-direction: column;
    align-items: center;
  }

  .goal-box {
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
  }

  .floating-img {
    position: relative !important;
    width: 120px !important;
    margin: 15px auto;
  }

  .left-donut, .right-icecream, .waffle-bottom, .donut-stack {
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
  }

  .screen-home, .screen-mid {
    width: 80% !important;
    max-width: 300px;
  }

  .hero-pink {
    padding: 80px 5%;
  }

  .main-logo-text {
    font-size: 70px;
  }

  .title-red {
    font-size: 28px;
  }
}

/* Desktop */
@media screen and (min-width: 1025px) {
  .main-screens-layout {
    flex-wrap: nowrap;
  }
}

/* Case Study Containers */
.case-study-container {
  width: 100%;
  background: white;
  position: relative;
}

/* HERO */
.hero-pink {
  background: #BD1B5C;
  padding: 100px 5%;
  text-align: center;
  width: 100%;
}

.main-logo-text {
  color: white;
  font-size: 120px;
  margin: 0 0 50px;
  font-weight: 700;
}

.hero-mockups {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-mockups img {
  width: 250px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* WHITE SECTION */
.white-section {
  padding: 80px 10%;
  background: #fff;
  position: relative;
  width: 100%;
}

.title-red {
  color: #BD1B5C;
  font-size: 35px;
  border-bottom: 2px solid #BD1B5C;
  display: inline-block;
  margin-bottom: 20px;
}

.centered {
  display: block;
  text-align: center;
  border: none;
  width: 100%;
}

.goal-process-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 50px;
  flex-wrap: wrap;
}

.goal-box {
  width: 50%;
  min-width: 300px;
}

.process-steps {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.p-icon {
  width: 60px;
  height: 60px;
  background: #FCEAEA;
  border: 2px solid #BD1B5C;
  border-radius: 50%;
}

/* Style Guide */
.style-guide {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 80px;
  padding-top: 50px;
  border-top: 1px solid #eee;
  flex-wrap: wrap;
}

.aa-display {
  font-size: 150px;
  color: #BD1B5C;
  border: 2px solid #BD1B5C;
  padding: 20px;
  line-height: 1;
}

.palette {
  display: flex;
  gap: 15px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* LIGHT PINK SECTION */
.light-pink-section {
  background: #FCEAEA;
  padding: 80px 5%;
  position: relative;
  width: 100%;
}

.screens-label {
  font-size: 28px;
  font-weight: 600;
  margin: 50px 0 30px;
}

.onboarding-grid, .bottom-screens-grid, .mockup-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
}

.main-screens-layout {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  margin: 80px 0;
  position: relative;
  flex-wrap: wrap;
}

.screen-home {
  width: 300px;
}

.screen-mid {
  width: 240px;
}

.floating-img {
  position: absolute;
  z-index: 10;
  width: 80px;
}

.left-donut {
  left: -50px;
  top: 100px;
  width: 100px;
}

.right-icecream {
  right: -30px;
  top: 50px;
  width: 120px;
}

.waffle-bottom {
  bottom: -40px;
  left: 20px;
  width: 80px;
}

.donut-stack {
  position: absolute;
  right: 5%;
  top: 20%;
  width: 150px;
}

img {
  max-width: 100%;
  border-radius: 15px;
}


/* Mobile & Tablet */
@media screen and (max-width: 1024px) {
  nav.nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 5%;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  }
  nav.nav-links a {
    margin: 10px 0;
  }
  nav.nav-links.show {
    display: flex;
  }
  .hamburger {
    display: flex;
  }

  /* Center all sections for mobile */
  .hero-mockups,
  .process-steps,
  .style-guide,
  .onboarding-grid,
  .mockup-row,
  .bottom-screens-grid,
  .main-screens-layout {
    justify-content: center !important;
    align-items: center !important;
    flex-direction: column !important;
    text-align: center;
    margin-left: 0 !important;  
    margin-right: 0 !important; 
  }

  .goal-process-row {
    flex-direction: column;
    align-items: center;
  }

  .goal-box {
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
  }

  .floating-img {
    position: relative !important;
    width: 120px !important;
    margin: 15px auto;
  }

  .left-donut, .right-icecream, .waffle-bottom, .donut-stack {
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
  }

  .screen-home, .screen-mid {
    width: 80% !important;
    max-width: 300px;
  }

  .hero-pink {
    padding: 80px 5%;
  }

  .main-logo-text {
    font-size: 70px;
  }

  .title-red {
    font-size: 28px;
  }
}


@media screen and (max-width: 1024px) {
  /* Navbar mobile */
  nav.nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0%;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  }

  nav.nav-links.show {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  /* Center sections & grids */
  .hero-mockups,
  .process-steps,
  .style-guide,
  .onboarding-grid,
  .mockup-row,
  .bottom-screens-grid,
  .main-screens-layout {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    margin: 0 auto !important;
    width: 100% !important;
  }

  /* Goal row */
  .goal-process-row {
    flex-direction: column;
    align-items: center;
  }

  .goal-box {
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
  }

  /* Floating images fix */
  .floating-img,
  .left-donut,
  .right-icecream,
  .waffle-bottom,
  .donut-stack {
    position: relative !important;
    margin: 15px auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 120px !important;
  }

  /* Screen images */
  .screen-home,
  .screen-mid {
    width: 80% !important;
    max-width: 300px;
    margin: 10px 0;
  }

  /* Hero & titles */
  .hero-pink {
    padding: 80px 5%;
  }

  .main-logo-text {
    font-size: 70px;
  }

  .title-red {
    font-size: 28px;
  }
}

/* Mockup row centered with smaller gap */
.mockup-row {
  display: flex;
  justify-content: center; 
  align-items: center;
  gap: 100px; 
  margin: 0 auto; 
}
.onboarding-grid {
  display: flex;             
  justify-content: center;    
  align-items: center;
  gap: 100px;                 
  flex-wrap: nowrap;           
  margin: 0 auto;
}

.onboarding-grid img {
  width: 250px;              
  height: auto;
  display: block;
}


@media screen and (max-width: 1024px) {
  nav.nav-links a.btn.outline.ss {
    display: none;  
  }
}