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

html {
  scroll-behavior: smooth;
}

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

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

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: #323647; }
.bg-darker { background-color: #242734; }
.bg-card { background-color: #424657; }
.bg-black { background-color: #000; }
.text-white { color: #fff; }
.text-blue { color: #1886bd; }
.border-white { border-color: #fff; }
.border-yellow { border-color: #fac942; }
.border-blue { border-color: #1886bd; }

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

@media (min-width: 800px) {
  .container {
    padding-left: 48px;
    padding-right: 48px;
  }
}

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

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

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

/* Hero Section */
.hero {
  background-color: #323647;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  padding-top: 32px;
  padding-bottom: 20px;
}

@media (min-width: 800px) {
  .hero-content {
    gap: 60px;
    padding-top: 60px;
    padding-bottom: 30px;
  }
}

@media (min-width: 800px) and (max-width: 1023px) {
  .hero-content {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: flex-start;
    justify-content: space-between;
    padding-top: 45px;
    padding-bottom: 30px;
  }
  
  .hero-text {
    order: 1;
  }
  
  .hero-image-wrapper {
    order: 2;
    margin: 0;
  }
  
  .hero-image-bg {
    width: 300px;
    height: 300px;
  }
  
  .hero-image-container {
    width: 300px;
    height: 300px;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    flex-direction: row;
  }
}

.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
  color: #fff;
  width: 100%;
  order: 2;
}

@media (min-width: 1024px) {
  .hero-text {
    order: 1;
  }
}

.hero-title {
  font-weight: 700;
  font-size: 32px;
  line-height: 1.2;
}

@media (min-width: 800px) {
  .hero-title {
    font-size: 40px;
    line-height: 60px;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 50px;
    line-height: 75px;
  }
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 16px;
  line-height: 30px;
}

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

/* Hero Image */
.hero-image-wrapper {
  display: none;
  position: relative;
  flex-shrink: 0;
  order: 1;
  margin: 0 auto;
}

@media (min-width: 800px) {
  .hero-image-wrapper {
    display: block;
  }
}

@media (min-width: 1024px) {
  .hero-image-wrapper {
    order: 2;
    margin: 0;
  }
}

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

@media (min-width: 1024px) {
  .hero-image-bg {
    width: 318px;
    height: 318px;
  }
}

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

@media (min-width: 1024px) {
  .hero-image-container {
    width: 318px;
    height: 318px;
  }
}

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

/* Mobile Hero Image */
.hero-image-mobile {
  display: block;
  position: relative;
  margin: 0 auto;
}

@media (min-width: 800px) {
  .hero-image-mobile {
    display: none;
  }
}

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

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

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

/* Problem Statement */
.case-challenge {
  background-color: #242734;
  border-bottom: 1px solid #fac942;
}

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

@media (max-width: 799px) {
  .case-challenge .container {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (min-width: 800px) {
  .case-challenge .container {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}

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

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

.problem-text {
  font-weight: 300;
  font-size: 16px;
  line-height: 30px;
  color: #fff;
  max-width: 1000px;
  margin: 0 auto;
}

/* Section */
.section {
  padding-top: 90px;
  padding-bottom: 90px;
}

.section-title {
  font-weight: 400;
  font-size: 24px;
  line-height: 35px;
  color: #fff;
  margin-bottom: 60px;
  text-align: center;
}

@media (min-width: 800px) {
  .section-title {
    font-size: 28px;
    line-height: 40px;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 32px;
    line-height: 45px;
  }
}

/* Solution Section */
.solution-description {
  display: flex;
  flex-direction: column;
  gap: 15px;
  color: #fff;
  font-size: 16px;
  line-height: 30px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 16px;
}

@media (min-width: 800px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

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

.feature-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
  color: #fff;
  font-size: 16px;
  line-height: 30px;
}

/* Design Process */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 800px) {
  .process-steps {
    gap: 30px;
  }
}

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

@media (min-width: 800px) {
  .process-step {
    flex-direction: row;
  }
}

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

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

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 1px solid #fac942;
  flex-shrink: 0;
  font-weight: 400;
  font-size: 22px;
  line-height: 35px;
  color: #fff;
}

.step-title {
  flex: 1;
  font-weight: 400;
  font-size: 22px;
  line-height: 35px;
  color: #fff;
}

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

@media (min-width: 1024px) {
  .step-list {
    padding-left: 88px;
  }
}

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

.step-arrow {
  font-size: 18px;
  line-height: 30px;
  color: #1886bd;
  width: 16px;
}

.step-text {
  flex: 1;
  font-weight: 300;
  font-size: 16px;
  line-height: 30px;
  color: #fff;
}

.step-image {
  width: 100%;
  height: 233px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
}

@media (min-width: 800px) {
  .step-image {
    width: 333px;
  }
}

.step-image.shorter {
  height: 228px;
}

/* Impact Grid */
.impact-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.impact-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 800px) {
  .impact-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

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

.impact-title {
  font-weight: 700;
  font-size: 16px;
  line-height: 30px;
  color: #fff;
}

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

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

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

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

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

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

.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;
}
