p {
    text-align: justify;
}

.case-study-hero {
    position: relative;
    height: 60vh;
    min-height: 450px;
    background-image: url('../images/work-nova.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
}

.case-study-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.case-study-hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.case-study-hero-category {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #f0f0f0;
}

.case-study-hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
    line-height: 1.1;
}

.case-study-hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: #e0e0e0;
}

/* Market Challenge Section */
.market-challenge-section {

    color: #ffffff;
    padding: 100px 0;
    font-family: 'Inter', sans-serif;
}

.market-challenge-header {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: start;
    margin-bottom: 80px;
}

.market-challenge-title {
    font-size: 2.3rem;
    font-weight: 700;
    line-height: 1.15;
    margin: 0;
}

.market-challenge-intro {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #cccccc;
    margin: 0;
    margin-top: 48px;
}

.market-challenge-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: stretch;
}

.market-challenge-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.challenge-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
}

.challenge-item-number {
    color: #cca752;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.2;
}

.challenge-item-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.challenge-item-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.2;
    margin: 0;
}

.challenge-item-desc {
    color: #a0a0a0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.market-challenge-image {
    display: flex;
}

.market-challenge-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

@media (max-width: 900px) {
    .market-challenge-section {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .market-challenge-header {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 40px;
    }

    .market-challenge-intro {
        margin-top: 0;
        font-size: 15px;
    }

    .market-challenge-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .market-challenge-image {
        justify-content: center;
        margin-top: 20px;
    }
}

/* Insight Into Direction Section */
.insight-direction-section {
    color: #ffffff;
    padding: 0px 0;
    text-align: center;
    font-family: 'Inter', sans-serif;
}

.insight-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 80px;
}

.insight-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.insight-item {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.insight-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 35px;
    /* Center of the 70px icon */
    left: 50%;
    width: 100%;
    height: 1px;
    background-color: #cca752;
    z-index: -1;
}

.insight-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #121212;
    border: 1px solid #cca752;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.insight-icon svg {
    width: 32px;
    height: 32px;
    color: #cca752;
}

.insight-item-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
}

.insight-item-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #a0a0a0;
    max-width: 250px;
}

@media (max-width: 900px) {
    .insight-title {
        margin-bottom: 30px;
    }

    .insight-icon {
        width: 90px;
        height: 90px;
    }

    .insight-icon img,
    .insight-icon svg {
        width: 45px;
        height: 45px;
    }

    .insight-timeline {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .insight-item-desc {
        max-width: 90%;
        margin: 0 auto;
        text-align: justify;
    }

    .insight-item:not(:last-child)::after {
        content: '';
        display: block;
        position: relative;
        left: auto;
        top: auto;
        width: 45px;
        height: 45px;
        margin-top: 15px;
        background-color: transparent;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 2v12H4l8 8 8-8h-5V2H9z' fill='%23cca752'/%3E%3C/svg%3E");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        align-self: center;
        transform: none;
    }
}

/* Strategy to Life Section */
.strategy-life-section {
    color: #ffffff;
    padding: 0px 0;
    font-family: 'Inter', sans-serif;
}

.strategy-life-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 50px;
}

.strategy-life-text-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
    padding: 0 6%;
}

.strategy-life-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #cccccc;
    margin: 0;
}

.strategy-life-image {
    width: 100%;
}

.strategy-life-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    display: block;
}

@media (max-width: 900px) {
    .strategy-life-title {
        margin-bottom: 20px;
        font-size: 2rem;
    }

    .strategy-life-text-grid {
        grid-template-columns: 1fr;
        padding: 0;
        gap: 30px;
        margin-bottom: 40px;
    }

    .strategy-life-image img {
        height: 300px;
    }
}

/* Results Section */
.results-section {
    /* background-color: #222222; */
    color: #ffffff;
    padding: 0px 0;
    font-family: 'Inter', sans-serif;
}

.results-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 40px;
}

.results-intro {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #cccccc;
    margin-bottom: 80px;
    max-width: 1000px;
    padding-left: 8%;
}

.results-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #cca752;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: #ffffff;
}

@media (max-width: 900px) {
    .results-title {
        margin-bottom: 0px;
    }

    .results-intro {
        padding-left: 0;
    }

    .results-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px 40px;
    }
}

@media (max-width: 500px) {
    .results-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Work In Motion Section */
.work-motion-section {
    color: #ffffff;
    padding: 0px 0;
    font-family: 'Inter', sans-serif;
}

.work-motion-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.grid-container {
    display: flex;
    gap: 15px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: flex-start;
    justify-content: center;
}

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

/* Adjusting vertical offsets to match the staggered look */
.column:nth-child(1) {
    margin-top: 150px;
}

.column:nth-child(2) {
    margin-top: 50px;
}

.column:nth-child(3) {
    margin-top: -20px;
}

.column:nth-child(4) {
    margin-top: 150px;
}

.grid-item {
    position: relative;
    width: 100%;
    /* Requested Red Border */
    border-radius: 14px;
    overflow: hidden;
    background-color: #1a1a1a;
}

.grid-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.grid-item:hover img {
    transform: scale(1.05);
}

/* Placeholder image aspect ratios */
.img-1 {
    aspect-ratio: 3/4.5;
}

.img-2 {
    aspect-ratio: 3/4.2;
}

.img-3 {
    aspect-ratio: 3/4;
}

.img-4 {
    aspect-ratio: 3/4.8;
}

.img-5 {
    aspect-ratio: 3/4;
}

.img-6 {
    aspect-ratio: 3/5;
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
    z-index: 2;
    text-transform: uppercase;
    color: #ffffff;
}

@media (max-width: 900px) {
    .grid-container {
        flex-wrap: wrap;
    }

    .column {
        flex: 1 1 45%;
        /* 2 columns on medium screens */
        margin-top: 0 !important;
        /* Reset staggered look */
    }
}

@media (max-width: 600px) {
    .column {
        flex: 1 1 100%;
        /* 1 column on small screens */
    }
}

/* Video Section */
.video-section {

    padding: 80px 0;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 14px;
    overflow: hidden;
    height: 400px;
}

.video-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.play-button {
    position: absolute;
    bottom: 40px;
    left: 40px;
    width: 70px;
    height: 70px;
    background-color: #e5b95a;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
}

.play-icon {
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 18px solid #1c1c1c;
    margin-left: 6px;
}

@media (max-width: 900px) {
    .video-container {
        height: 400px;
        border-radius: 0;
    }
}

@media (max-width: 600px) {
    .video-container {
        height: 250px;
    }

    .play-button {
        width: 50px;
        height: 50px;
        bottom: 20px;
        left: 20px;
    }

    .play-icon {
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
        border-left: 12px solid #1c1c1c;
        margin-left: 4px;
    }
}