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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Alexandria', sans-serif;
  background-color: #323647;
  color: white;
  min-height: 100vh;
  line-height: 1.5;
  width: 100%;
}

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

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

/* Typography */
.font-light { font-weight: 300; }
.font-regular { font-weight: 400; }
.font-bold { font-weight: 700; }

/* Colors */
.bg-dark { background-color: #242734; }
.bg-medium { background-color: #323647; }
.bg-light { background-color: #424657; }
.bg-accent { background-color: #1886bd; }
.bg-black { background-color: #000; }

.text-accent { color: #1886bd; }
.text-yellow { color: #fac942; }
.border-yellow { border-color: #fac942; }
.border-accent { border-color: #1886bd; }

/* Layout */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 120px;
  width: 100%;
}

/* Header styles are in header.css */
.header {
  background-color: #242734;
}
.header {
  background-color: #242734;
}

/* Project Hero Section */
.project-hero {
  background-color: #323647;
  width: 100%;
}

.project-hero .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 120px 30px;
}

@media (min-width: 800px) and (max-width: 1023px) {
  .project-hero .container {
    padding: 45px 20px 30px;
  }
}

@media (max-width: 799px) {
  .project-hero .container {
    padding: 60px 20px 30px;
  }
}

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

.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;
  font-size: 16px;
  line-height: 30px;
}

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

.hero-image-container {
  display: inline-grid;
  grid-template-columns: max-content;
  grid-template-rows: max-content;
}

.hero-image-bg {
  width: 318px;
  height: 318px;
  background-color: #1886bd;
  border-radius: 8px;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.1);
  grid-column: 1;
  grid-row: 1;
}

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

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

/* Problem Statement */
.problem-statement {
  background-color: #242734;
  border-bottom: 1px solid #fac942;
  width: 100%;
  padding: 15px 0;
}

@media (min-width: 800px) {
  .problem-statement {
    padding: 30px 0;
  }
}

.problem-statement p {
  font-weight: 300;
  font-size: 16px;
  line-height: 30px;
}

.problem-statement .container {
  padding-left: 120px;
  padding-right: 120px;
}

@media (min-width: 800px) and (max-width: 1023px) {
  .problem-statement .container {
    padding-left: 120px;
    padding-right: 120px;
  }
}

@media (min-width: 1024px) {
  .problem-statement .container {
    padding-left: 240px;
    padding-right: 240px;
  }
}

/* Section Styles */
.section {
  padding: 90px 0 90px;
  width: 100%;
}

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

/* The Solution Section */
.case-challenge {
  background-color: #323647;
  width: 100%;
  padding: 90px 0 90px;
}

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

.solution-intro p {
  font-size: 16px;
  line-height: 30px;
}

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

.feature-card {
  flex: 1;
  background-color: #424657;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.feature-card i {
  font-size: 18px;
  color: #1886bd;
  line-height: 30px;
}

.feature-card h3 {
  font-weight: 700;
  font-size: 16px;
  line-height: 30px;
}

.feature-card p {
  font-weight: 300;
  font-size: 16px;
  line-height: 30px;
}

/* Design Process Section */
.design-process {
  background-color: #242734;
  width: 100%;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

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

.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 #fac942;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 400;
  line-height: 35px;
  flex-shrink: 0;
}

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

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

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

.step-item i {
  color: #1886bd;
  font-size: 18px;
  width: 16px;
  flex-shrink: 0;
}

.step-item span {
  font-weight: 300;
  font-size: 16px;
  line-height: 30px;
}

.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 Section */
.impact-section {
  background-color: #323647;
  width: 100%;
}

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

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

.impact-card {
  flex: 1;
  border: 1px solid #1886bd;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.impact-card i {
  font-size: 18px;
  color: #1886bd;
  line-height: 30px;
}

.impact-card h3 {
  font-weight: 700;
  font-size: 16px;
  line-height: 30px;
}

.impact-card p {
  font-weight: 300;
  font-size: 16px;
  line-height: 30px;
}

/* Before & After Section */
.before-after {
  background-color: #242734;
  width: 100%;
}

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

.comparison-card {
  flex: 1;
  border: 1px solid #424657;
  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-list {
  background-color: #424657;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 19px;
}

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

.comparison-item i {
  color: #1886bd;
  font-size: 18px;
  width: 16px;
  flex-shrink: 0;
}

.comparison-item span {
  font-weight: 300;
  font-size: 16px;
  line-height: 30px;
}

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

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

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

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

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

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

/* Mobile Navigation Menu */
.mobile-nav {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background-color: #242734;
  border-bottom: 1px solid white;
  padding: 20px;
  z-index: 99;
}

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

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mobile-nav-link {
  font-weight: 300;
  font-size: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #424657;
}

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

@media (max-width: 800px) {
  .container {
    padding: 0 40px;
  }

  .nav-links {
    display: none;
  }

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

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

  .hero-image-container {
    align-self: center;
  }

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

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

  .feature-cards {
    flex-wrap: wrap;
  }

  .feature-card {
    flex: 1 1 calc(50% - 10px);
    min-width: 200px;
  }

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

  .step-image {
    width: 100%;
    height: auto;
    aspect-ratio: 333/228;
  }

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

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

  .footer {
    padding: 15px 0;
  }
}

@media (max-width: 799px) {
  .container {
    padding: 0 20px;
  }

  .problem-statement .container {
    padding-left: 40px;
    padding-right: 40px;
  }

  .hero-content {
    padding: 30px 0;
  }

  .hero-title {
    font-size: 36px;
    line-height: 50px;
  }

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

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

  .section {
    padding: 30px 0;
  }

  .section-title {
    font-size: 28px;
    line-height: 40px;
  }

  .step-items {
    padding-left: 0;
  }

  .step-number {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }

  .step-title {
    font-size: 18px;
  }

  .footer {
    padding: 15px 0;
  }

  .footer-links {
    gap: 40px;
  }
}
