@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&family=Space+Grotesk:wght@300..700&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --section-padding-desktop: 4rem;
  --section-padding-tablet: 3.5rem;
  --section-padding-mobile: 3rem;
}

.page {
  opacity: 0;
  transform: translateY(20px);
  animation: pageFadeIn 0.8s ease-out forwards;
}

@keyframes pageFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
body {
  font-family: "IBM Plex Sans", "Arial", sans-serif;
  background-color: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
  text-align: center;
}

body.no-scroll {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
/* Navbar */
.navbar {
  padding-block: 1rem;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 4rem;
}

.logo {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 1rem;
  color: #111;
  position: relative;
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
}

.nav-links a:hover {
  color: #333;
}

.nav-links a.active {
  color: var(--color-text);
  font-weight: 400;
}
/* Hero Section */
.hero {
  height: 100vh;
  padding: var(--section-padding-desktop) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  width: 80px;
  height: 80px;
  margin-bottom: 0.1rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: #0c0c1d;
  letter-spacing: 0.2rem;
}

.hero p {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 3rem;
}

.mockup-frame {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  max-width: 1000px;
  width: 100%;
  padding: 1rem;
}

.mockup {
  transition: transform 0.3s ease;
  height: auto;
}

.mockup.side {
  max-width: 160px;
}

.mockup.center {
  max-width: 180px;
  z-index: 2;
}

/* Overview Section */
.overview {
  width: 100%;
  padding: var(--section-padding-desktop);
  background: #f9f9f9;
}

.overview-content {
  text-align: left;
  margin-bottom: 2rem;
}

.overview h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #0c0c1d;
}

.overview p {
  margin-bottom: 1.2rem;
  font-size: 1rem;
  color: #222;
}

.overview .highlight {
  color: #e85c0d;
  font-weight: 600;
}

.info-box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #e85c0d;
  border-radius: 12px;
  padding: 1.5rem;
  gap: 1rem;
  color: #fff;
  width: 100%;
  position: relative;
  position: relative;
}

.info-item h4 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1.4rem;
  color: #fcfcfc;
}

.info-item p {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  line-height: 0%;
}

/* Problem Section */
.problem-goal {
  width: 100%;
  padding: var(--section-padding-desktop);
  background-color: #131331;
  margin: 0 auto;
  text-align: left;
}

.problem h2,
.goal h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: #fff;
}

.problem ul {
  list-style: none;
  padding-left: 0;
}

.problem ul li {
  margin-bottom: 0.8rem;
  font-size: 1rem;
  position: relative;
  padding-left: 1.1rem;
  color: #e6e6e6;
}

.problem ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #e85c0d;
  font-size: 1.2rem;
  line-height: 1;
}

/* Goal */
.goal {
  margin-top: 2.5rem;
}
.goal-box {
  background: #ffffff;
  color: #0c0c1d;
  border-radius: 12px;
  padding: 1.5rem 2rem;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.6;
  text-align: left;
  position: relative;
}

.goal-box .quote {
  background: #e85c0d;
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  margin: 0 1rem;
}
.goal-box p {
  line-height: 2rem;
}
/* User Key Research Section */
.user-research {
  width: 100%;
  padding: var(--section-padding-desktop);
  background-color: #f9f9f9;
  margin: 0 auto;
  text-align: left;
}

/* Headings */
.user-research h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: #0c0c1d;
}

.user-research p {
  font-size: 1rem;
  margin-bottom: 1.2rem;
  text-align: left;
  color: #333;
}

/* Problem List */
.user-research ul {
  list-style: none;
  padding-left: 0;
}

.user-research ul li {
  margin-bottom: 0.8rem;
  font-size: 1rem;
  position: relative;
  padding-left: 1.1rem;
  color: #222;
}

.user-research ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #e85c0d;
  font-size: 1.2rem;
  line-height: 1;
}
/* Section */
.insights {
  max-width: 100%;
  margin: 0 auto;
  padding: var(--section-padding-desktop);
  text-align: left;
}

.insights h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: left;
}

.insights p {
  font-size: 1rem;
  margin-bottom: 2.5rem;
  text-align: left;
  color: #333;
}

/* Grid */
.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.insight-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.insight-card .card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  border-radius: 8px 8px 0 0;
  margin: -1.5rem -1.5rem 1rem -1.5rem;
}

.card-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.insight-card ul {
  list-style: none;
  margin-top: 0.4rem;
  padding: 0;
}

.insight-card ul li {
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  padding-left: 0.9rem;
  position: relative;
}

.insight-card ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  font-size: 1rem;
  line-height: 1.2;
}

.emotional .card-header {
  background: #ffece1;
  color: #e85c0d;
}
.emotional ul li::before {
  color: #e85c0d;
}

.behavioural .card-header {
  background: #e1f0ff;
  color: #0077cc;
}
.behavioural ul li::before {
  color: #0077cc;
}

.functional .card-header {
  background: #e6f6e9;
  color: #0c7a43;
}
.functional ul li::before {
  color: #0c7a43;
}

/* User Persona Section */
.persona {
  max-width: 100%;
  background-color: #f9f9f9;
  margin: 0 auto;
  padding: var(--section-padding-desktop);
  text-align: left;
}

.persona h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.persona p {
  font-size: 1rem;
  margin-bottom: 2.5rem;
  color: #333;
}

.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.persona-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}

.card-header {
  display: flex;
  flex-direction: row;
  align-items: start;
  justify-content: start;
  text-align: start;
  color: #fff;
  padding: 1rem 1rem;
  margin-bottom: 0;
}

.card-header img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.persona-grid .card-header h3 {
  font-size: 1.1rem;
  font-weight: 500;
  color: #ffffff;
}

.card-header span {
  font-size: 0.9rem;
  opacity: 0.9;
}

.card-body {
  padding: 0.8rem 1.2rem 1.2rem;
  flex: 1;
}

.card-body p {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
}

.card-body h4 {
  margin: 1rem 0 0.6rem;
  font-size: 1rem;
  font-weight: 700;
}

.card-body ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.card-body ul li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  margin: 0 0 0.4rem;
}

.card-body ul li::before {
  content: "•";
  color: inherit;
  font-size: 1.1rem;
  line-height: 1;
}

.tourist .card-header {
  background: #e85c0d;
}
.tourist ul li::before {
  color: #e85c0d;
}

.oci .card-header {
  background: #1f4e8c;
}
.oci ul li::before {
  color: #1f4e8c;
}

.business .card-header {
  background: #0c7a43;
}
.business ul li::before {
  color: #0c7a43;
}

/* Information Architecture Section */
.info-architecture,
.conceptualization,
.solution {
  max-width: 100%;
  margin: 0 auto;
  padding: var(--section-padding-desktop);
  text-align: left;
}

.info-architecture h2,
.conceptualization h2,
.solution h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.info-architecture p,
.conceptualization p,
.solution p {
  font-size: 1rem;
  margin-bottom: 2.5rem;
  color: #333;
  max-width: 100%;
}

/* Image */
.info-image,
.wireframe-image,
.design-image {
  width: 100%;
  overflow-x: auto;
}

.info-image img,
.wireframe-image img,
.design-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}
.conceptualization {
  background-color: #f9f9f9;
}

/* User Feedback Section */

.feedback {
  background: #f9f9f9;
  max-width: 100%;
  margin: 0 auto;
  padding: var(--section-padding-desktop);
  text-align: left;
}

.feedback h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.feedback p {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: #333;
  max-width: 100%;
}

.feedback-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feedback-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Quotes */
.quote-icon {
  font-size: 1.2rem;
  color: #e85c0d;
}

.open-quote {
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.close-quote {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
}

/* Feedback Text */
.feedback-text {
  font-size: 1rem;
  color: #0c0c1d;
  font-weight: 500;
  line-height: 1.5;
  margin: 2rem 0 1rem;
}

.author {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
}

/* Project Learning Section */
.learning {
  max-width: 100%;
  margin: 0 auto;
  padding: var(--section-padding-desktop);
  text-align: left;
}

.learning h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.learning .subheading {
  font-size: 1rem;
  color: #333;
  margin-bottom: 2.5rem;
}

.learning-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.learning-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.learning-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.learning-card p {
  font-size: 0.95rem;
  color: #333;
}
/* What's Next Section */
.whats-next {
  background: #f9f9f9;
  max-width: 100%;
  margin: 0 auto;
  padding: var(--section-padding-desktop);
  text-align: left;
}

.whats-next h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.whats-next .subheading {
  font-size: 1rem;
  color: #555;
  margin-bottom: 2.5rem;
  max-width: 100%;
}

.next-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.next-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: left;
  display: flex;
  flex-direction: column;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.card-header .icon {
  font-size: 1.3rem;
  color: #e85c0d;
}

.card-header h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  color: #0c0c1d;
}

.next-card p {
  font-size: 0.95rem;
  color: #333;
  margin: 0;
}

/* Prototype Section */
.prototype {
  background: #0c0c1d;
  color: #fff;
  text-align: center;
  padding: var(--section-padding-desktop);
}

.prototype h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.prototype p {
  font-size: 1rem;
  margin-bottom: 2.5rem;
  color: #ddd;
}
/* Button */
.btn-prototype {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: #e85c0d;
  font-weight: 700;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-prototype:hover {
  background: #e85c0d;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-prototype:hover i {
  color: #fff;
}

.slider,
.slider2 {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.slides,
.slides2 {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slides img,
.slides2 img {
  width: 100%;
  flex-shrink: 0;
  border-radius: 12px;
  height: auto;
  object-fit: contain;
}

.prev,
.next,
.prev2,
.next2 {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex; /* ensures icon centers */
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.prev,
.prev2 {
  left: 0.8rem;
}
.next,
.next2 {
  right: 0.8rem;
}

.prev:hover,
.next:hover,
.prev2:hover,
.next2:hover {
  background: rgba(0, 0, 0, 0.6);
}

.dots,
.dots2 {
  text-align: center;
  position: absolute;
  bottom: 0.8rem;
  width: 100%;
}

.dots button,
.dots2 button {
  all: unset;
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 4px;
  border-radius: 50%;
  border: none;
  background: #ccc;
  cursor: pointer;
  transition: background 0.3s;
}

.dots button.active,
.dots2 button.active {
  background: #e85c0d;
}

/* Responsive  */
@media (max-width: 992px) {
  .prev,
  .next,
  .prev2,
  .next2 {
    width: 22px;
    height: 22px;
  }

  .prev,
  .prev2 {
    left: 0.1rem;
  }
  .next,
  .next2 {
    right: 0.1rem;
  }
  .dots,
  .dots2 {
    bottom: 0.3rem;
  }
}

@media (max-width: 600px) {
  .prev,
  .next,
  .prev2,
  .next2 {
    width: 20px;
    height: 20px;
  }

  .prev,
  .prev2 {
    left: 0.1rem;
  }
  .next,
  .next2 {
    right: 0.1rem;
  }
  .dots,
  .dots2 {
    bottom: 0.3rem;
  }
  .dots button,
  .dots2 button {
    width: 6px;
    height: 6px;
    margin: 0 3px;
  }
}

/* Case Study Footer Section */
.case-footer {
  padding: 3rem 4rem 4rem 4rem;
  background: #0c0c1d;
}

.case-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.case-socials {
  display: flex;
  gap: 1rem;
}

.case-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.case-socials i {
  width: 20px;
  height: 20px;
  color: #fff;
}

/* Next case study button */
.next-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: #006d6f;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

.next-btn:hover {
  background: #009396;
  transform: translateX(5px);
}

.case-next i {
  width: 16px;
  height: 16px;
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .case-footer .container {
    flex-direction: column;
    gap: 2rem;
  }

  .case-next {
    order: -1;
    text-align: center;
  }

  .case-socials {
    order: 2;
    justify-content: center;
  }
}

/* Back to Top Button */
#backToTop {
  position: fixed;
  bottom: 4.5rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  z-index: 1000;
}

#backToTop i {
  width: 20px;
  height: 20px;
  color: #fff;
}

#backToTop:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
}

.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  border-radius: 6px;
  padding: 0.5rem;
  cursor: pointer;
}
.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.09);
}
.nav-toggle svg {
  width: 24px;
  height: 24px;
  stroke: #111;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  position: absolute;
  top: 100%;
  right: 2rem;
  z-index: 9999;
  min-width: 150px;
  background: transparent;
  padding: 0;
}

.nav-mobile.active {
  display: flex;
}

/* Links inside mobile dropdown */
.nav-mobile a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-radius: 6px;
  background: #333;
  color: #fff;
  text-decoration: none;
  font-size: var(--font-sm);
  transition: background 0.3s ease;
  min-width: 120px;
}

.nav-mobile a:hover {
  background: rgba(255, 255, 255, 0.09);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  backdrop-filter: blur(6px);
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 900;
}

/* Show overlay */
.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.navbar {
  position: relative;
  z-index: 1000;
}

.nav-mobile {
  z-index: 1001;
}
