/* Why Pinakkaa Section */
.why-pinakkaa-section {
    width: 100%;
    background-color: #070016;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.why-pinakkaa-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.why-pinakkaa-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 0, 22, 0.72) 0%, rgba(7, 0, 22, 0.84) 100%);
    z-index: 1;
    pointer-events: none;
}

.why-pinakkaa-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.grid-layout {
    display: grid;
    grid-template-columns: 360px 360px 358px;
    grid-template-rows: 210px 360px;
    gap: 8px;
    align-items: start;
}

.card {
    background-color: rgba(157, 78, 221, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.card-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Proven Experience */
.proven-experience {
    width: 100%;
    height: 210px;
    grid-column: 1;
    grid-row: 1;
}

/* Why Pinakkaa Stands Out - Main Card */
.main-card {
    width: 100%;
    height: 570px;
    grid-column: 2;
    grid-row: 1 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.main-card .card-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.main-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
    margin: 0;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.title-line {
    display: block;
    margin: 0;
    line-height: 1.2;
}

.main-title .text-white {
    color: #ffffff;
}

.main-title .text-gradient {
    background: linear-gradient(135deg, #9d4edd 0%, #ff6b9d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Transparent Communication */
.transparent-communication {
    width: 100%;
    height: 360px;
    grid-column: 3;
    grid-row: 1;
    align-self: start;
}

/* Long Term Partnership */
.long-term-partnership {
    width: 100%;
    height: 360px;
    grid-column: 1;
    grid-row: 2;
    align-self: start;
}

/* Data Driven Results */
.data-driven-results {
    width: 100%;
    height: 210px;
    grid-column: 3;
    grid-row: 2;
    align-self: end;
}

.card-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .why-pinakkaa-container {
        padding: 0 15px;
    }
    
    .grid-layout {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 12px;
    }
    
    .main-card {
        grid-column: 1 / 3;
        grid-row: 1;
        height: auto;
        min-height: 350px;
    }
    
    .main-title {
        font-size: 28px;
    }
    
    .proven-experience {
        grid-column: 1;
        grid-row: 2;
        height: auto;
        min-height: 180px;
    }
    
    .transparent-communication {
        grid-column: 2;
        grid-row: 2;
        height: auto;
        min-height: 250px;
    }
    
    .long-term-partnership {
        grid-column: 1;
        grid-row: 3;
        height: auto;
        min-height: 250px;
    }
    
    .data-driven-results {
        grid-column: 2;
        grid-row: 3;
        height: auto;
        min-height: 180px;
    }
}

@media (max-width: 768px) {
    .why-pinakkaa-section {
        padding: 32px 0;
    }
    
    .why-pinakkaa-container {
        padding: 0 15px;
    }
    
    .grid-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 12px;
        width: 100%;
    }
    
    .main-card {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        height: auto;
        min-height: 240px;
        max-width: 100%;
    }
    
    .main-title {
        font-size: 24px;
        padding: 20px;
    }
    
    .title-line {
        margin: 2px 0;
    }
    
    .proven-experience,
    .transparent-communication,
    .long-term-partnership,
    .data-driven-results {
        width: 100%;
        height: auto;
        min-height: 150px;
        grid-column: 1;
        max-width: 100%;
    }
    
    .proven-experience {
        grid-row: 2;
        min-height: 150px;
    }
    
    .transparent-communication {
        grid-row: 3;
        min-height: 200px;
    }
    
    .long-term-partnership {
        grid-row: 4;
        min-height: 200px;
    }
    
    .data-driven-results {
        grid-row: 5;
        min-height: 150px;
    }
    
    .card-bg-image {
        object-fit: cover;
        height: 100%;
    }
}

@media (max-width: 480px) {
    .why-pinakkaa-section {
        padding: 24px 0;
    }
    
    .why-pinakkaa-container {
        padding: 0 10px;
    }
    
    .grid-layout {
        gap: 10px;
    }
    
    .main-title {
        font-size: 20px;
        padding: 15px;
    }
    
    .title-line {
        margin: 1px 0;
    }
    
    .proven-experience,
    .data-driven-results {
        min-height: 105px;
    }
    
    .transparent-communication,
    .long-term-partnership {
        min-height: 168px;
    }
    
    .main-card {
        min-height: 210px;
    }
}
