/* =========================================
   MAX MEGA MENU INNER CONTENT STYLES
   ========================================= */

/* Global Inner Reset */
.mega-menu-inner * {
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

.mega-menu-inner {
    display: flex;
    width: 1150px; /* Force the wide layout */
    max-width: 100vw; /* Prevents horizontal scroll on small screens */
    min-height: 480px; 
    background-color: #ffffff;
    padding: 0;
    margin: 0 auto; /* Centers it if the parent is 100% wide */
}

/* Shared Typography */
.mega-menu-inner .section-title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.mega-menu-inner .col-title {
    font-size: 14px;
    font-weight: 700;
    color: #231E15;
    margin-bottom: 20px;
}

.mega-menu-inner a {
    text-decoration: none;
}

.mega-menu-inner ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Base Link Interactions */
.icon-link, .service-icon-link, .resource-link, .about-link {
    display: flex;
    align-items: center; 
    gap: 16px;
    padding: 12px 16px; 
    border-radius: 8px;
    transition: background-color 0.2s ease;
    width: 100%; 
}

.icon-link:hover, .service-icon-link:hover, .resource-link:hover, .about-link:hover {
    background-color: #F0F8FF; 
}

/* General Icon Wrappers */
.icon-wrapper, .about-icon-wrapper, .resource-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px; 
    flex-shrink: 0; 
    border-radius: 8px;
    background-color: #E4F3FF; 
    transition: all 0.2s ease;
}

.icon-wrapper.bg-blue-solid {
    background-color: #3AA6ED;
}

.mega-menu-inner .link-text {
    font-size: 14px;
    color: #231E15;
    font-weight: 600; 
    line-height: 1.3;
}

/* Plain Text Lists */
.text-list {
    display: flex;
    flex-direction: column;
    gap: 20px; 
}

.text-list a {
    font-size: 14px;
    color: #4b5563;
    transition: color 0.2s;
    line-height: 1.4;
}

.text-list a:hover {
    color: #3b82f6;
}

/* =========================================
   SOLUTIONS SPECIFIC
   ========================================= */
.mega-menu-left {
    flex: 0 0 65%;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.solutions-layout {
    display: flex;
    gap: 40px; 
    flex-grow: 1;
}

.solutions-main-block {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.solutions-top-cols {
    display: grid;
    grid-template-columns: 260px 230px; 
    gap: 20px;
    margin-bottom: 30px; 
}

.solutions-role-block {
    width: 140px; 
    flex-shrink: 0;
}

/* Partner Card */
.partner-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f8fafc; 
    padding: 24px 30px; 
    border-radius: 12px;
    margin-top: auto; 
    gap: 20px; 
}

.partner-logo img {
    width: 190px; 
    height: auto;
    display: block;
}

/* =========================================
   HIGHLIGHT CARDS (Services, Resources, About)
   ========================================= */
.services-highlight-card, .resources-highlight-card, .about-highlight-card {
    display: flex;
    background-color: #F4FAFF; 
    border-radius: 12px;
    padding: 24px 24px 24px 32px;
    gap: 20px;
    height: 100%;
}

.about-highlight-card {
    flex-direction: column;
    padding: 30px 30px 0 30px;
    overflow: hidden;
}

/* Highlight Text Content */
.services-highlight-content h4, .resources-highlight-content h4, .about-highlight-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 10px;
}

/* Right Column Universal */
.mega-menu-right {
    flex: 0 0 35%;
    padding: 40px;
    background-color: #f8f9fa; 
}

/* =========================================
   RESPONSIVENESS
   ========================================= */
@media (max-width: 1199px) {
    .mega-menu-inner, .solutions-layout, .services-left, .resources-left, .about-left, .about-right, .services-right, .resources-right, .mega-menu-left, .mega-menu-right {
        display: flex;
        flex-direction: column;
        width: 100%;
        flex: none;
        padding: 20px !important;
    }
    
    .solutions-top-cols, .services-grid, .industry-grid, .resources-grid, .about-grid, .integrations-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
    }
}