/* ==========================================================================
   PARTNER SECTION (WHY CHOOSE GNV)
   ========================================================================== */

/* Import a natural handwriting font for the overlay text */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600&display=swap');

.gnv-partner-section {
    width: 100vw;
    display: flex;
    background-color: #F8F5F2; /* Soft beige to match right side */
    min-height: 600px;
    overflow: hidden;
    position: relative;
}

/* LEFT SIDE (Image + Fade) */
.partner-left {
    width: 45%;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.partner-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* The gradient overlay that creates the fade effect into the right content */
.partner-fade-overlay {
    position: absolute;
    top: 0;
    right: -1px; /* Overlap slightly to prevent seam */
    width: 30%; /* Width of the fade */
    height: 100%;
    background: linear-gradient(to right, rgba(248, 245, 242, 0) 0%, rgba(248, 245, 242, 1) 100%);
    z-index: 2;
    pointer-events: none;
}

.partner-cursive-text {
    position: relative;
    z-index: 3;
    font-family: 'Caveat', cursive, sans-serif;
    color: #FFFFFF;
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 1.1;
    text-align: right;
    padding: 0 40px 60px 40px;
    width: 100%;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3); /* Ensure readability over any image */
    transform: rotate(-3deg); /* Slight natural tilt */
}

/* RIGHT SIDE (Content + Grid) */
.partner-right {
    width: 55%;
    display: flex;
    align-items: center;
    padding: 80px 5%;
    z-index: 3;
    position: relative;
}

.partner-content-inner {
    max-width: 650px;
}

.partner-content-inner .section-badge {
    color: #888;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: block;
}

.partner-content-inner h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 3.5vw, 3.5rem);
    line-height: 1.1;
    color: var(--gnv-black);
    margin-bottom: 40px;
    font-weight: 600;
    letter-spacing: -1px;
}

/* Features 2x2 Grid with Crosshair Borders */
.partner-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    padding: 30px 20px;
    transition: transform 0.3s ease;
}

/* Hover lift effect for features */
.feature-item:hover {
    transform: translateY(-3px);
}

/* Crosshair border logic */
.feature-item:nth-child(1) {
    border-right: 1px solid rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding-left: 0;
    padding-top: 0;
}
.feature-item:nth-child(2) {
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding-top: 0;
    padding-right: 0;
}
.feature-item:nth-child(3) {
    border-right: 1px solid rgba(0,0,0,0.06);
    padding-left: 0;
    padding-bottom: 0;
}
.feature-item:nth-child(4) {
    padding-right: 0;
    padding-bottom: 0;
}

.feature-icon {
    width: 40px;
    height: 40px;
    margin-right: 20px;
    flex-shrink: 0;
    color: #4A5B52; /* Match the icon color from screenshot */
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5;
}

.feature-text h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--gnv-black);
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.2;
}

.feature-text p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .gnv-partner-section {
        flex-direction: column;
    }
    
    .partner-left {
        width: 100%;
        min-height: 400px;
    }
    
    .partner-fade-overlay {
        width: 100%;
        height: 40%;
        top: auto;
        bottom: -1px;
        background: linear-gradient(to bottom, rgba(248, 245, 242, 0) 0%, rgba(248, 245, 242, 1) 100%);
    }
    
    .partner-cursive-text {
        text-align: center;
        padding: 40px 20px;
    }
    
    .partner-right {
        width: 100%;
        padding: 60px 20px;
        justify-content: center;
    }
    
    .partner-content-inner {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .partner-features-grid {
        grid-template-columns: 1fr;
    }
    
    /* Reset borders for mobile stack */
    .feature-item:nth-child(1),
    .feature-item:nth-child(2),
    .feature-item:nth-child(3),
    .feature-item:nth-child(4) {
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.06);
        padding: 25px 0;
    }
    .feature-item:nth-child(4) {
        border-bottom: none;
    }
}
