:root {
      --primary-bg: #000;
      --secondary-bg: #1a1a1a;
      --text-light: #fff;
      --text-muted: #999;
      --accent: #ffd700;
      --accent-warm: #ffbd39;
      --border-color: #333;
      /* Added font family variables */
      --font-heading: 'Montserrat', sans-serif;
      --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    }

    body {
      font-family: var(--font-body);
      background-color: var(--primary-bg);
      color: var(--text-light);
      line-height: 1.6;
    }

    /* MAIN CONTENT */
    main {
      min-height: calc(100vh - 400px);
      padding: 5rem;
      max-width: 1400px;
      margin: 0 auto;
    }

    /* Added date field at the top */
    .case-study-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      margin-bottom: 2rem;
      padding-bottom: 2rem;
      border-bottom: 2px solid var(--border-color);
    }

    .case-study-date {
      font-family: var(--font-heading);
      font-size: 0.95rem;
      color: var(--accent-warm);
      font-weight: 600;
      letter-spacing: 0.1em;
    }

    .case-study-date input {
      background: transparent;
      border: none;
      border-bottom: 1px solid var(--accent-warm);
      color: var(--text-muted);
      width: 200px;
      outline: none;
      padding: 0.5rem 0;
    }

    /* UI kit image */

.ui-kit-image-section {
  margin-bottom: 6rem;
  width: 100%;
  height: 800px; /* ← adjust this height as you want */
}

.ui-kit-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}


    


  /* Hero image section styles */
    .hero-image-section {
      margin-bottom: 6rem;
      width: 100%;
      
    }

    .hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
    }






    /* Hero title section with design title */
    .case-study-title-section {
      margin-bottom: 5rem;
      text-align: center;
    }

    .case-study-title-section h1 {
      font-family: var(--font-heading);
      font-size: 3.5rem;
      font-weight: 800;
      margin-bottom: 1rem;
      text-balance;
      letter-spacing: -0.02em;
    }

    .case-study-title-section .highlight {
      color: var(--accent-warm);
    }

    .case-study-hero {
      margin-bottom: 4rem;
    }

    .case-study-hero h1 {
      font-family: var(--font-heading);
      font-size: 3rem;
      font-weight: 800;
      margin-bottom: 1rem;
      text-balance;
    }

    .case-study-hero p {
      font-size: 1.1rem;
      color: var(--text-muted);
      max-width: 800px;
    }

    .case-study-section {
      margin-bottom: 4rem;
    }

    .case-study-section h2 {
      font-family: var(--font-heading);
      font-size: 2rem;
      font-weight: 800;
      margin-bottom: 1.5rem;
      color: var(--accent);
    }

    .case-study-section p {
      color: var(--text-muted);
      margin-bottom: 1rem;
      max-width: 900px;
      line-height: 1.8;
    }

    .case-study-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
      margin-top: 2rem;
    }

    .case-study-grid-item {
      background-color: #111;
      padding: 2rem;
      border-radius: 8px;
      border: 1px solid var(--border-color);
    }

    .case-study-grid-item h3 {
      font-family: var(--font-heading);
      font-size: 1.3rem;
      font-weight: 700;
      margin-bottom: 0.8rem;
      color: var(--accent);
    }

    /* About section with layout */
    .case-study-about {
max-width: 800px;
  margin: 0 auto;
  padding: 4rem 1rem;
  text-align: center; /* center the text */
    }

    .about-content h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 1000;
  margin-bottom: 1.5rem;
  color: var(--text-light);
    }

    .about-content p {
  color: var(--text-muted);
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;

    }

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

    /* Wireframe showcase section */
    .case-study-wireframe {
      margin-bottom: 6rem;
    }

    .case-study-wireframe h2 {
      font-family: var(--font-heading);
      font-size: 2rem;
      font-weight: 800;
      margin-bottom: 2rem;
      color: var(--text-light);
    }

    .wireframe-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
      align-items: center;
    }

    .wireframe-image {
      background: none;
      aspect-ratio: 3 / 4;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.95rem;
      color: rgba(0, 0, 0, 0.3);
      font-weight: 600;
      overflow: hidden;
    }

    .wireframe-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* fills the box nicely */
  display: block;
}

    .wireframe-content h3 {
      font-family: var(--font-heading);
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 1rem;
      color: var(--accent-warm);
    }

    .wireframe-content p {
      color: var(--text-muted);
      line-height: 1.8;
      margin-bottom: 1.5rem;
    }

    .wireframe-bullets {
      list-style: none;
    }

    .wireframe-bullets li {
      color: var(--text-muted);
      margin-bottom: 0.8rem;
      padding-left: 1.5rem;
      position: relative;
    }

    .wireframe-bullets li::before {
      content: "→";
      position: absolute;
      left: 0;
      color: var(--accent-warm);
      font-weight: 700;
    }

    /* UX Analytics section with 4-item grid */
    .case-study-analytics {
      margin-bottom: 3rem;
    }

    .case-study-analytics h2 {
      font-family: var(--font-heading);
      font-size: 2rem;
      font-weight: 800;
      margin-bottom: 2rem;
      color: var(--text-light);
    }

    .analytics-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 2rem;
    }

    .analytics-card {
      background-color: var(--secondary-bg);
      padding: 2rem;
      border-radius: 12px;
      border: 1px solid var(--border-color);
      transition: transform 0.3s, border-color 0.3s;
    }

    .analytics-card:hover {
      transform: translateY(-4px);
      border-color: var(--accent-warm);
    }

    .analytics-card h3 {
      font-family: var(--font-heading);
      font-size: 1.3rem;
      font-weight: 700;
      margin-bottom: 0.8rem;
      color: var(--accent-warm);
    }

    .analytics-card p {
      color: var(--text-muted);
      font-size: 0.95rem;
      line-height: 1.6;
      margin-bottom: 1rem;
    }

    .analytics-metric {
      font-family: var(--font-heading);
      font-size: 2rem;
      font-weight: 800;
      color: var(--accent-warm);
    }

    

    

    /* FOOTER */
    footer {
      background-color: var(--primary-bg);
      padding: 3rem 5rem;
      border-top: 1px solid var(--border-color);
      margin-top: 5rem;
    }

    
