.body{
  font-family: "Quicksand", sans-serif;
}

:root {
  --bg: #ffffff;
  --muted: #6b7280;
  --card-bg: #fbfdff;
  --accent: #10b981;
  --pill-bg: #eef2ff;
  --radius: 14px;
  --soft-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

/* Parent */
.case-studies {
  display: flex;
  flex-direction: column;
  gap: 10rem;
  padding: 48px 20px;
  align-items: center;
  background: #f7fafc;
  width: 100%;
}

.case-studies > .container {
  width: 100%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  gap: 2rem;

}

/* Card */
.card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  padding: 28px;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
  border: 1px solid rgba(15, 23, 42, 0.03);
  transition: transform 0.25s ease;
  margin: 0; /* Ensure no margin is overriding the gap */
}

/* Card content spacing */
.card .content {
  padding: 1rem 0;
}

.card .details {
  margin: 1.5rem 0;
}

.card .block {
  margin-bottom: 1.5rem;
}

.card .block:last-child {
  margin-bottom: 0;
}

.card .tech {
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Card hover effect */
.card {
  transition: transform 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
}

/* No additional hover styles - keeping it simple with just the Y-translation */

/* Media Image */
.media {
  width: 100%;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(180deg, #eaf6ff 0%, #f3fbff 100%);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Text */
.content h2 {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 600;
}

.lead {
  margin-bottom: 18px;
  color: var(--muted);
  line-height: 1.6;
}

/* Blocks */
.details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
}

.block h4 {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}

.block p {
  color: var(--muted);
}

/* Key Results */
.kresults {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.kresults li {
  list-style: none;
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

.kresults li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

/* Meta */
.meta {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Technology Pills */
.tech {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.pill {
  background: var(--pill-bg);
  padding: 6px 12px;
  border-radius: 999px;
}

/* Responsive */
@media (max-width: 900px) {
  .card {
    grid-template-columns: 1fr;
  }

  .media {
    height: 220px;
  }

  .details {
    grid-template-columns: 1fr;
  }
}


/* Banner Styles */
.banner {
  position: relative;
  height: 35vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  background: linear-gradient(120deg, #0b1a3d, #0b2a4a);
  overflow: hidden;
  padding: 0 20px;
  padding-top: 2rem;
  margin-top: 2rem;
}
  
  /* Diagonal Overlay Effect */
  .banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: -20%;
    width: 140%;
    height: 100%;
    background: linear-gradient(120deg, #0a2a45, #0b1a3d);
    transform: skewY(-10deg);
    z-index: 1;
  }
  
  /* Banner Content */
  .banner-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
  }
  
  /* Est. Tag */
  .est {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(0, 180, 255, 0.2);
    border: 1px solid #00b4ff;
    border-radius: 20px;
    font-size: 14px;
    color: #00b4ff;
    margin-bottom: 20px;
  }
  
  /* Heading */
  .banner h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
  }
  
  .banner h1 .highlight {
    color: #00b4ff;
  }
  
  /* Paragraph */
  .banner p {
    font-size: 1.1rem;
    font-weight: 300;
    color: #cfd8e3;
    line-height: 1.6;
  }
  
/* Projects Grid */
