/* -----------------------------
    Global Styles
----------------------------- */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.6;
}
/* -----------------------------
        Navbar
  ----------------------------- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 124px;
    /* padding: 20px 40px; */
    /* font-size: 76px; */
    margin-right: 5cap;
}

.logo {
    margin-left: 5cap;
    height: 100px;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    /* font-weight: 700; */
    font-size: 20px;
    color: #0049D1;
    text-decoration: none;
    border-radius: 16px;
    transition: all 0.25s ease;
    /* transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2); */
    /* transition: background-color 250ms ease-in-out, color 250ms ease-in-out; */
}

.nav-links a:hover {
    background-color: #0049D1;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

.cta {
    background-color: #0049D1;
    color: white;
    padding: 10px 24px;
    font-size: 16px;
    /* font-weight: 700; */
    border-radius: 16px;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

/* ++++++++++++
PROJECT IMAGE
+++++++++++++*/
.banner-image img {
    object-fit:cover;
    justify-content: center;
    display: block;
    border-radius: 30px;
    /* Convert the image to a block-level element */
    margin: 0 auto;
    /* width: 80%; */
    height:600px;
}

.case-content {
    max-width: 850px;
    margin: 0 auto;
    padding: 0 1.5rem 4rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;

    font-family: "Poppins", sans-serif;
    color: #333;
    line-height: 1.65;

    font-size: 1.125rem;
    /* = 18px base, instead of 16px */
}

/* ========================
SPARK case study text styling
======================== */

/* scope only inside spark case study */
.case-content.spark {
    font-family: "Poppins", sans-serif;
    color: #333;
    line-height: 1.65;
}

/* Eyebrow (like “ui interaction design & ux research”) */
.case-content.spark .eyebrow,
.case-content.spark h5 {
    text-transform: lowercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    color: #9aa0a6;
    font-size: 1rem;
    /* keep your margins */
}

/* Big blue title */
.case-content.spark h1 {
    font-weight: 800;
    /* EDIT: heavier like thumbnail */
    color: #0049D1;
    letter-spacing: -0.01em;
    /* EDIT: tighter kerning */
    font-size: clamp(2.5rem, 5vw, 3.25rem);
    /* EDIT: bigger like card */
    line-height: 1.15;
    /* margins untouched */
}

/* Section headings */
.case-content.spark h2,
.case-content.spark h3 {
    font-weight: 700;
    /* EDIT: bold headings */
    color: #0049D1;
    line-height: 1.25;
    /* margins untouched */
}

/* Body text (just font style, margins untouched) */
.case-content.spark p,
.case-content.spark li {
    font-weight: 200;
    /* EDIT: lighter like card description */
    font-size: 1.125rem;
    /* EDIT: ~18px for readability */
    line-height: 1.7;
    color: #333;
}

/* Links */
.case-content.spark a {
    color: #0049D1;
    font-weight: 600;
    text-decoration: none;
}

.case-content.spark a:hover {
    text-decoration: underline;
}

/* Chips */
.case-content.spark .status-chip {
    margin-top: 1rem;
    margin-right: 0.5rem;
    background-color: #005eff71;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.25em 0.75em;
    border-radius: 999px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* ##########
IMAGE GRID
####### ####*/
/* -----------------------------
Image Grid
----------------------------- */
.image-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

.image-grid img,
.image-grid video {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    background-color: #f9f9f9;
}

/* All images and videos inside the grid will fill their container */
.img img,
.img video {
    width: 100%;
    height: 100%;
    display: block;
}

/* Main tall image: fill and crop */
.img-1 img {
    object-fit: cover;
}

/* Side images: fit without cropping */
.img-2 img,
.img-3 img,
.img-4 img,
.img-3 video {
    object-fit: contain;
    background-color: #f9f9f9;
}

/* Special layout rules for the grid cells */
.img-1 {
    grid-row: 1 / span 3;
    grid-column: 1 / 2;
}

.img-2 {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
}

.img-3 {
    grid-row: 2 / 3;
    grid-column: 2 / 3;
}

.img-4 {
    grid-row: 3 / 4;
    grid-column: 2 / 3;
}

/* Section Headings */
h5 {
    text-transform: lowercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: #999;
    font-size: 0.9rem;
}

hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 1rem 0;
}

/* %%%%%%%%%%%%%%%%%%%%%%
final design deliverables 
%%%%%%%%%%%%%%%%%%%%%%%%% */
.research-section {
    max-width: 100%;
    font-family: "Poppins", sans-serif;
    color: #444;
}

.research-section h4 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.research-grid {
    display: flex;
    gap: 10px;
    transition: all 0.3s ease;
}

.research-card {
    flex: 1;
    height: 600px;
    overflow: hidden;
    border-radius: 0px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 10px 6px #44444418;
}

.video-box {
    max-height: 500px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 10px 6px #44444418;
}

.video-box video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.research-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 0px;
}

.research-card.expanded {
    flex: 4;
}


/* ===========
FOOTERSTYLING
=============*/
.footer-daisy {
    width: 100px;
    height: auto;
    margin: 0 auto 20px;
    display: block;
    opacity: 0.9;
}

.minimal-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 5vw;
    color: #444;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.minimal-footer a {
    color: #444;
    text-decoration: none;
    margin-left: 16px;
    display: inline-block;
}

.minimal-footer a:hover {
    text-decoration: underline;
}

.footer-left {
    max-width: 60%;
}

.footer-update {
    opacity: 0.6;
    font-size: 0.8rem;
    margin-top: 4px;
}

.footer-right {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

.more-studies {
    height: 300px;
}