/* ════════════════════════════════════════
   GLOBAL & VARIABLE SETUP
════════════════════════════════════════ */
:root {
    --red:          #9E001F;
    --dark:         #0f1117;
    --white:        #ffffff;
    --font-heading: 'JetBrains Mono', monospace;
    --font-btn:     'Oswald', sans-serif;
}

/* ════════════════════════════════════════
   HERO SECTIONS
════════════════════════════════════════ */
.partners-hero {
    background: #fff;
    padding: 3.5rem 0 2rem;
}
.partners-hero-inner {
    display: flex;
    gap: 1.6rem;
    align-items: flex-start;
}
.partners-hero-bar {
    flex-shrink: 0;
    width: 5px;
    height: 75px;
    background: var(--red);
    border-radius: 2px;
}
.partners-hero-title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0 0 .6rem;
    line-height: 1.1;
}
.partners-hero-desc {
    font-family: 'Arial', sans-serif;
    font-size: .92rem;
    color: #444;
    line-height: 1.6;
    margin: 0;
    max-width: 650px;
}

/* ════════════════════════════════════════
   TOP NAVIGATION LOGOS GRID
════════════════════════════════════════ */
.partners-nav-section {
    background: #fff;
    padding: 1.5rem 0 3rem;
}
.partners-nav-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.partners-nav-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0;
    text-transform: uppercase;
}
.partners-nav-decor {
    flex: 1;
    height: 2px;
    background: var(--red);
    border-radius: 2px;
}

.partners-logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}
.partner-logo-card {
    border: 1px solid #dcdcdc;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    height: 90px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.partner-logo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.06);
}
.partner-logo-card img {
    max-width: 80%;
    max-height: 100%;
    object-fit: contain;
}

/* ════════════════════════════════════════
   ALTERNATING BLOCKS DETAIL LAYOUT
════════════════════════════════════════ */
.partners-details-section {
    background: #fff;
    padding: 2rem 0 5rem;
}
.partner-detail-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 4rem 0;
    border-bottom: 1px solid #f2f2f2;
}
.partner-detail-row:last-child {
    border-bottom: none;
}

/* Context/Text parameters */
.partner-detail-content {
    flex: 1.2;
}
.partner-detail-title {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}
.partner-detail-content p {
    font-family: 'Arial', sans-serif;
    font-size: .88rem;
    color: #4a4a4a;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    text-align: justify;
}
.partner-detail-content p:last-child {
    margin-bottom: 0;
}

/* Image outline styling box */
.partner-detail-image-box {
    flex: 0.8;
    border: 1px solid #e0e0e0;
    border-radius: 18px;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    min-height: 240px;
}
.partner-detail-image-box img {
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
}

/* Handlers for switching alternate layout positions */
.partner-detail-row.reverse {
    flex-direction: row-reverse;
}

/* ════════════════════════════════════════
   PRODUCTS CATALOGUE CTA SECTION
════════════════════════════════════════ */
.products-cta-section {
    padding: 5rem 0; /* Adjust spacing as needed around the card */
    background-color: #fff; /* Ensure it is on a clean white background */
}

/* 1. Card Container (Dark Red) */
.products-cta-card {
    background-color: #9E001F; /* Exact dark red from your brand */
    border-radius: 27px; /* Precise rounded corner radius */
    padding: 4rem 4rem; /* Specific inner padding for precise alignment */
    display: flex;
    align-items: center; /* Vertical centering */
    justify-content: space-between; /* Maximum separation on left/right */
    gap: 3rem; /* Spacing between left text and right action */
}

/* 2. Left Text Content Block */
.products-cta-content {
    flex: 1; /* Allow content to grow responsibly */
}

/* Specific heading in CAPS and with period */
.products-cta-heading {
    font-family: 'JetBrains Mono', monospace; /* Use defined heading font variable */
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff; /* White text */
    line-height: 1.3;
    margin: 0 0 1rem; /* Precise bottom margin */
    text-transform: uppercase; /* Ensures CAPS matching image */
}

/* Description paragraph styling */
.products-cta-desc {
    font-family: 'Arial', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7); /* Slightly faded white for hierarchy */
    line-height: 1.6;
    margin: 0;
    max-width: 600px; /* Limits paragraph width as in image */
}

/* 3. Right Action Block (Icon & Button) */
.products-cta-action {
    display: flex;
    flex-direction: column; /* Vertical stacking */
    align-items: center; /* Center horizontally in the block */
    gap: 2rem; /* Spacing between icon and button */
    flex-shrink: 0; /* Prevents button block from shrinking too much */
}

/* Round background icon styling */
.products-cta-icon-box {
    width: 65px;
    height: 65px;
    background-color: rgba(255, 255, 255, 0.1); /* Very subtle white circle tint */
    border-radius: 50%; /* Perfect circle */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
}

/* 4. Full-width Button (White, Two Lines) */
.products-cta-btn {
    display: flex;
    flex-direction: column; /* Multi-line layout */
    align-items: center;
    justify-content: center;
    background-color: #fff; /* Precise white background */
    color: #9E001F; /* Dark red text */
    font-family: 'Oswald', sans-serif; /* Use your OSWALD variable */
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    line-height: 1.25; /* Special line height for multi-line button text */
    padding: 1.1rem 2rem; /* Precise button padding for horizontal width */
    border-radius: 50px; /* Full curved button */
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%; /* Ensures button takes available width in action block */
    min-width: 300px; /* Sets specific minimum width as in image */
}

.products-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* Ensure individual text lines look clean */
.products-cta-btn span {
    display: block; /* Each span on new line */
}

/* ════════════════════════════════════════
   RESPONSIVE DESIGN (Optional but recommended)
════════════════════════════════════════ */
@media (max-width: 992px) {
    .products-cta-card {
        flex-direction: column; /* Stack vertically on smaller screens */
        padding: 3rem 2rem;
        text-align: center;
    }
    .products-cta-action {
        width: 100%; /* Full width action area */
    }
}
@media (max-width: 576px) {
    .products-cta-heading {
        font-size: 1.3rem;
    }
    .products-cta-desc {
        font-size: 0.85rem;
    }
}

/* ════════════════════════════════════════
   RESPONSIVE LAYOUT RESPONSES
════════════════════════════════════════ */
@media (max-width: 992px) {
    .partners-logo-grid { grid-template-columns: repeat(2, 1fr); }
    .partner-detail-row, .partner-detail-row.reverse { 
        flex-direction: column; 
        gap: 2rem;
        padding: 3rem 0;
    }
    .partner-detail-image-box { width: 100%; max-width: 400px; }
    .partners-cta-card { flex-direction: column; text-align: center; padding: 2.5rem; }
}

@media (max-width: 576px) {
    .partners-logo-grid { grid-template-columns: 1fr; }
    .partners-hero-title { font-size: 2rem; }
    .partners-cta-text { font-size: 2.1rem; }
}