/* CSS Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-primary: #323647;
  --bg-secondary: #242734;
  --bg-card: #424657;
  --accent-blue: #1886bd;
  --accent-yellow: #fac942;
  --text-white: #ffffff;
  --font-family: 'Alexandria', sans-serif;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-white);
  line-height: 1.5;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Utility Classes */
.container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-10 {
  gap: 10px;
}

.gap-15 {
  gap: 15px;
}

.gap-20 {
  gap: 20px;
}

.gap-30 {
  gap: 30px;
}

.gap-60 {
  gap: 60px;
}

.w-full {
  width: 100%;
}

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

/* Typography */
.font-bold {
  font-weight: 700;
}

.font-normal {
  font-weight: 400;
}

.font-light {
  font-weight: 300;
}

.text-50 {
  font-size: 50px;
  line-height: 75px;
}

.text-32 {
  font-size: 32px;
  line-height: 45px;
}

.text-22 {
  font-size: 22px;
  line-height: 35px;
}

.text-18 {
  font-size: 18px;
  line-height: 30px;
}

.text-16 {
  font-size: 16px;
  line-height: 30px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-secondary);
  height: 60px;
  border-bottom: 1px solid white;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 120px;
}

.header-logo {
  padding: 15px;
  font-size: 18px;
}

.header-nav {
  display: flex;
  gap: 50px;
}

.nav-link {
  padding: 15px;
  font-weight: 300;
  cursor: pointer;
  transition: opacity 0.3s;
}

.nav-link:hover {
  opacity: 0.8;
}

.mobile-menu-btn {
  display: none;
  padding: 15px;
  font-size: 18px;
  cursor: pointer;
}

/* Project Hero Section */
.project-hero {
  background-color: var(--bg-primary);
}

.hero-content {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 60px 120px 30px;
}

.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: center;
}

.hero-title {
  font-size: 50px;
  font-weight: 700;
  line-height: 75px;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.meta-label {
  font-weight: 700;
}

.meta-value {
  font-weight: 300;
}

.hero-image-container {
  position: relative;
  display: inline-grid;
}

.hero-image-bg {
  width: 318px;
  height: 318px;
  background-color: var(--accent-blue);
  border-radius: 8px;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.1);
}

.hero-image {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 318px;
  height: 318px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
}

.hero-image img,
.hero-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Hero Description */
.case-challenge {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--accent-yellow);
  padding: 30px 240px;
}

.case-challenge p {
  font-weight: 300;
  line-height: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

/* Section Base */
.section {
  padding: 60px 120px 30px;
}

.section-title {
  font-size: 32px;
  font-weight: 400;
  line-height: 45px;
  margin-bottom: 60px;
  text-align: center;
}

/* The Solution Section */
.solution-section {
  background-color: var(--bg-primary);
  width: 100%;
}

.solution-section .container {
  padding: 0;
  max-width: 1160px;
}

.solution-intro {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 15px;
}

.solution-intro .bold-text {
  font-weight: 700;
}

.solution-intro .light-text {
  font-weight: 300;
}

.solution-cards {
  display: flex;
  gap: 20px;
}

.solution-card {
  flex: 1;
  background-color: var(--bg-card);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.solution-card .icon {
  color: var(--accent-blue);
  font-size: 18px;
  line-height: 30px;
}

.solution-card .card-title {
  font-weight: 700;
}

.solution-card .card-desc {
  font-weight: 300;
}

/* Design Process Section */
.process-section {
  background-color: var(--bg-secondary);
  width: 100%;
}

.process-section .container {
  padding: 0;
  max-width: 1160px;
}

.process-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 30px;
}

.process-step:last-child {
  margin-bottom: 0;
}

.step-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 20px;
}

.step-number {
  width: 68px;
  height: 68px;
  border: 1px solid var(--accent-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.step-title {
  font-size: 22px;
  font-weight: 400;
}

.step-items {
  padding-left: 88px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.step-item .arrow {
  color: var(--accent-blue);
  width: 16px;
  flex-shrink: 0;
}

.step-item span {
  font-weight: 300;
}

.step-image {
  width: 333px;
  height: 228px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.step-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Impact & Results Section */
.impact-section {
  background-color: var(--bg-primary);
  width: 100%;
}

.impact-section .container {
  padding: 0;
  max-width: 1160px;
}

.impact-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.impact-row {
  display: flex;
  gap: 20px;
}

.impact-card {
  flex: 1;
  border: 1px solid var(--accent-blue);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.impact-card .icon {
  color: var(--accent-blue);
  font-size: 18px;
}

.impact-card .card-title {
  font-weight: 700;
}

.impact-card .card-desc {
  font-weight: 300;
}

/* Before & After Section */
.before-after-section {
  background-color: var(--bg-secondary);
  width: 100%;
}

.before-after-section .container {
  padding: 0;
  max-width: 1160px;
}

.comparison-cards {
  display: flex;
  gap: 20px;
}

.comparison-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
}

.comparison-image {
  height: 310px;
  overflow: hidden;
}

.comparison-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.comparison-content {
  background-color: var(--bg-card);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 19px;
  flex: 1;
}

.comparison-item {
  display: flex;
  gap: 10px;
  align-items: center;
}

.comparison-item .arrow {
  color: var(--accent-blue);
  width: 16px;
  flex-shrink: 0;
}

.comparison-item span {
  font-weight: 300;
}

/* Footer */
.footer {
  background-color: #000;
  width: 100%;
  border-top: 1px solid #fff;
}

.footer .container {
  padding-top: 15px;
  padding-bottom: 15px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.footer-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.footer-link {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  cursor: pointer;
  transition: opacity 0.2s;
  color: #fff;
  text-decoration: none;
}

.footer-link:hover {
  opacity: 0.8;
}

.footer-link-icon {
  font-size: 24px;
  line-height: 30px;
  color: #fff;
}

.footer-link-text {
  font-weight: 300;
  font-size: 16px;
  line-height: 30px;
  color: #fff;
}

.footer-copyright {
  font-weight: 300;
  font-size: 16px;
  line-height: 30px;
  color: #fff;
  text-align: center;
}

@media (min-width: 800px) {
  .footer-links {
    gap: 60px;
  }
}

/* Responsive Styles */
@media (min-width: 800px) and (max-width: 1023px) {
  .header-content {
    padding: 0 20px;
  }

  .hero-content {
    padding: 45px 20px 30px;
    gap: 20px;
  }

  .case-challenge {
    padding: 30px 20px;
  }

  .section {
    padding: 45px 20px 30px;
  }

  .solution-section .container,
  .process-section .container,
  .impact-section .container,
  .before-after-section .container {
    padding: 30px 20px 30px;
  }
}

@media (max-width: 800px) {
  .header-content {
    padding: 0 20px;
  }

  .hero-content {
    padding: 45px 20px 30px;
    gap: 20px;
  }

  .hero-image-bg {
    width: 229px;
    height: 229px;
  }

  .hero-image {
    width: 229px;
    height: 229px;
    top: 11px;
    left: 11px;
  }

  .case-challenge {
    padding: 15px 100px;
  }

  .section {
    padding: 45px 20px 30px;
  }

  .step-image {
    width: 240px;
    height: 164px;
  }

  .comparison-image {
    height: 225px;
  }
}

@media (max-width: 800px) {
  .header-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-content {
    flex-direction: column;
    padding: 30px 20px;
  }

  .hero-image-container {
    order: -1;
  }

  .hero-image-bg {
    width: 320px;
    height: 320px;
  }

  .hero-image {
    width: 320px;
    height: 320px;
    top: 15px;
    left: 15px;
  }

  .case-challenge {
    padding: 15px 40px;
  }

  .solution-section .container,
  .process-section .container,
  .impact-section .container,
  .before-after-section .container {
    padding: 30px 20px 30px;
  }

  .solution-cards {
    flex-direction: column;
  }

  .solution-cards-row {
    display: flex;
    gap: 20px;
  }

  .process-step {
    flex-direction: column;
  }

  .step-image {
    display: none;
  }

  .step-items {
    padding-left: 88px;
  }

  .impact-row {
    flex-direction: column;
  }

  .comparison-cards {
    flex-direction: column;
  }

  .comparison-image {
    height: 204px;
  }

  .comparison-content {
    padding: 30px 15px;
  }
}
