/* ========================================
   WHAT WE DO CONTAINER (Shared Background)
   ======================================== */

.what-we-do-container {
    background-color: var(--text-dark);
    position: relative;
}

/* ========================================
   WHAT WE DO LANDING PAGE STYLES
   ======================================== */

.what-we-do-landing-section {
    padding: 360px var(--page-margin) 0;
    position: relative;
}

.what-we-do-landing-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 80px;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 80px;
    letter-spacing: 2px;
}

/* Service Cards Grid */
.service-cards-grid {
    display: flex;
    gap: 40px;
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    justify-content: center;
    flex-wrap: wrap;
}

/* Service Card Base Styles */
.service-card {
    position: relative;
    height: 600px;
    width: 400px;
    border-radius: 0;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

/* Card 1: Branding & Design */
.service-card--branding {
    background-image: url('/images/whatwedo/brandinganddesign.png');
}

/* Card 2: Web, App & AI Development */
.service-card--development {
    background-image: url('/images/whatwedo/webappaidevelopment.png');
}

/* Card 3: Interactive Experiences */
.service-card--interactive {
    background-image: url('/images/whatwedo/image.png');
}

/* Gradient Overlay */
.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 244px;
    background: linear-gradient(to bottom, rgba(0, 0, 104, 0) 0%, rgba(0, 0, 104, 0.9375) 93.75%, rgba(0, 0, 104, 1) 100%);
    pointer-events: none;
}

/* Service Card Content Container */
.service-card {
    display: block;
    padding: 0;
}

.service-card>* {
    position: relative;
    z-index: 2;
}

/* Service Card Title */
.service-card-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 61px;
    font-weight: 400;
    line-height: 1;
    color: #ffffff;
    text-transform: uppercase;
    margin: 0;
    padding: 35px 30px 0 30px;
    position: absolute;
    top: 0;
    left: 0;
    width: 341px;
}

/* Service Card Description */
.service-card-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
    color: #e7e7e7;
    margin: 0;
    padding: 0 30px;
    position: absolute;
    bottom: 50px;
    left: 0;
    width: 341px;
    height: 120px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .what-we-do-landing-title {
        font-size: 60px;
        margin-bottom: 60px;
    }

    .service-cards-grid {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .service-card {
        height: 500px;
        width: 100%;
        max-width: 400px;
    }

    .service-card-title {
        font-size: 52px;
    }

    .service-card-description {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .what-we-do-landing-section {
        padding: 120px var(--page-margin) 0;
    }

    .what-we-do-landing-title {
        font-size: 48px;
        margin-bottom: 50px;
        letter-spacing: 1px;
    }

    .service-card {
        height: 450px;
        width: 100%;
        max-width: 400px;
    }

    .service-card-title {
        font-size: 48px;
        padding: 30px 25px 0 25px;
        width: calc(100% - 50px);
    }

    .service-card-description {
        font-size: 16px;
        padding: 0 25px;
        width: calc(100% - 50px);
        bottom: 40px;
    }

    .service-card-title {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .service-card-description {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .what-we-do-landing-section {
        padding: 100px var(--page-margin) 0;
    }

    .what-we-do-landing-title {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .service-card {
        height: 400px;
        width: 100%;
        max-width: 400px;
    }

    .service-card-title {
        font-size: 40px;
        padding: 25px 20px 0 20px;
        width: calc(100% - 40px);
    }

    .service-card-description {
        font-size: 15px;
        padding: 0 20px;
        width: calc(100% - 40px);
        bottom: 30px;
    }

    .service-card-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .service-card-description {
        font-size: 14px;
        line-height: 1.5;
    }
}

/* ========================================
   WORK GRID SECTION
   ======================================== */

.what-we-do-work-section {
    padding: 80px 0 80px 0;
    margin-top: 0;
    position: relative;
}

.what-we-do-work-section .work-grid {
    padding: 0 var(--page-margin);
    margin-bottom: 0;
}

/* ========================================
   TOOLS OF THE TRADE SECTION
   ======================================== */

.tools-of-trade-section {
    background-color: #0e1026;
    /* Dark blue-black background from Figma */
    padding: 40px var(--page-margin) 120px;
    position: relative;
}

.tools-of-trade-section .section-inner {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.tools-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 80px;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.tools-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.6;
    color: #ffffff;
    max-width: 900px;
    margin: 0 auto 80px;
    text-align: center;
}

.tools-subtitle strong {
    font-weight: 700;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
}

.tool-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tool-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
    margin: 0;
}

.tool-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: #ffffff;
    margin: 0;
}

.tool-description strong {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Responsive Design for Tools Section */
@media (max-width: 1024px) {
    .tools-title {
        font-size: 60px;
    }

    .tools-subtitle {
        font-size: 20px;
        margin-bottom: 60px;
    }

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .tools-of-trade-section {
        padding: 80px var(--page-margin) 100px;
    }

    .tools-title {
        font-size: 48px;
        margin-bottom: 30px;
    }

    .tools-subtitle {
        font-size: 18px;
        margin-bottom: 50px;
    }

    .tools-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .tool-name {
        font-size: 18px;
    }

    .tool-description {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .tools-of-trade-section {
        padding: 60px var(--page-margin) 80px;
    }

    .tools-title {
        font-size: 36px;
        margin-bottom: 25px;
    }

    .tools-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .tool-name {
        font-size: 16px;
    }

    .tool-description {
        font-size: 14px;
    }
}