/**
 * Difalink Landing Page Styles
 * Custom overrides for the landing page components
 */

.search-social { display:block !important; }

/* ── Reduce Section Spacing ── */
.section-padding { padding: 60px 0 !important; }
.business-team-section.section-padding,
.business-services.section-padding,
.business-about-section.section-padding { padding: 60px 0 !important; }
@media (max-width: 767px) {
    .section-padding { padding: 40px 0 !important; }
}
.testi-section { padding: 60px 0; }
.programs-section { padding: 60px 0; }
.logo-grid-section { padding: 50px 0; }
@media (max-width: 767px) {
    .testi-section { padding: 40px 0; }
    .programs-section { padding: 40px 0; }
    .logo-grid-section { padding: 30px 0; }
}

/* ── Jobs Section 2-Column Layout ── */
.job-section-layout {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}
.job-section-sidebar {
    flex: 0 0 280px;
    position: sticky;
    top: 100px;
}
.job-sidebar-card {
    background: #fff;
    border-radius: 14px;
    padding: 30px 24px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    border: 1px solid #e8e8e8;
    text-align: center;
}
.job-sidebar-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2cb0a1, #249185);
    color: #fff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.job-sidebar-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px;
    font-family: "Poppins", sans-serif;
    line-height: 1.4;
}
.job-sidebar-card > p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 20px;
}
.job-sidebar-stats {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}
.job-sidebar-stat {
    flex: 1;
    background: #f0faf8;
    border-radius: 10px;
    padding: 14px 8px;
}
.job-sidebar-stat strong {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #2cb0a1;
    font-family: "Poppins", sans-serif;
}
.job-sidebar-stat span {
    font-size: 11px;
    color: #666;
    font-weight: 500;
}
.job-sidebar-btn {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: background 0.2s, transform 0.2s;
    margin-bottom: 10px;
    background: #2cb0a1;
    color: #fff;
}
.job-sidebar-btn:hover {
    background: #249185;
    transform: translateY(-1px);
    color: #fff;
}
.job-sidebar-btn i { margin-right: 6px; }
.job-sidebar-btn-outline {
    background: transparent;
    color: #2cb0a1;
    border: 2px solid #2cb0a1;
    margin-bottom: 0;
}
.job-sidebar-btn-outline:hover {
    background: #2cb0a1;
    color: #fff;
}
.job-section-list {
    flex: 1;
    min-width: 0;
}
@media (max-width: 991px) {
    .job-section-layout {
        flex-direction: column;
        gap: 20px;
    }
    .job-section-sidebar {
        flex: none;
        width: 100%;
        position: static;
    }
    .job-section-list {
        width: 100%;
    }
    .job-sidebar-card { padding: 24px 18px; }
    .job-sidebar-card h3 { font-size: 15px; }
}
@media (max-width: 767px) {
    .job-section-layout {
        flex-direction: column;
        gap: 20px;
    }
    .job-section-sidebar {
        flex: none;
        width: 100%;
        position: static;
    }
    .job-sidebar-card {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        text-align: left;
        padding: 20px;
        gap: 12px;
    }
    .job-sidebar-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
        margin: 0;
    }
    .job-sidebar-card h3 {
        flex: 1;
        font-size: 15px;
        margin: 0;
    }
    .job-sidebar-card > p { display: none; }
    .job-sidebar-stats {
        width: 100%;
        margin-bottom: 12px;
    }
    .job-sidebar-stat { padding: 10px 8px; }
    .job-sidebar-stat strong { font-size: 18px; }
    .job-sidebar-btn {
        flex: 1;
        font-size: 13px;
        padding: 10px 12px;
        margin-bottom: 0;
    }
}

/* ── Jobs Board (Glints/Kalibrr style) ── */
.job-board {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    border: 1px solid #e8e8e8;
    width:100% !important;
}
.job-board-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s, border-left-color 0.2s;
    border-left: 3px solid transparent;
    width:100% !important;
}
.job-board-item:last-child {
    border-bottom: none;
}
.job-board-item:hover {
    background: #f8fffe;
    border-left-color: #2cb0a1;
}
.job-board-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
}
.job-board-logo {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eee;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
}


.job-board-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}
.job-board-info {
    flex: 1;
    min-width: 0;
}
.job-board-info h3 {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 3px;
    font-family: "Poppins", sans-serif;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.job-board-item:hover .job-board-info h3 {
    color: #2cb0a1;
}
.job-board-company {
    font-size: 13px;
    color: #555;
    margin: 0 0 8px;
    font-weight: 500;
}
.job-board-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.job-board-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #555;
    background: #f5f5f5;
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
}
.job-board-tag i {
    font-size: 11px;
    color: #999;
}
.job-board-tag-accent {
    background: #e8f8f5;
    color: #1a7a6e;
    font-weight: 500;
}
.job-board-tag-accent i {
    color: #2cb0a1;
}
.job-board-right {
    flex-shrink: 0;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}
.job-board-deadline {
    font-size: 12px;
    color: #888;
    white-space: nowrap;
}
.job-board-deadline i {
    margin-right: 3px;
}
.job-board-cta {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: #2cb0a1;
    padding: 6px 16px;
    border-radius: 6px;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.2s, transform 0.2s;
    white-space: nowrap;
}
.job-board-item:hover .job-board-cta {
    opacity: 1;
    transform: translateY(0);
}
.job-board-cta i {
    margin-left: 4px;
    font-size: 11px;
}

/* Sponsored job highlight */
.job-board-sponsored {
    border-left: 3px solid #f59e0b;
    background: linear-gradient(90deg, #fffbeb 0%, #fff 20%);
    position: relative;
}
.job-sponsored-badge {
    display: none;
}
.job-sponsored-badge i { display: none; }

/* Closed/expired job */
.job-board-closed {
    opacity: 0.6;
    position: relative;
}
.job-board-closed::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.3);
    pointer-events: none;
    border-radius: inherit;
}

/* Countdown deadline colors */
.job-board-deadline-closed {
    color: #dc2626 !important;
    font-weight: 600;
}
.job-board-deadline-urgent {
    color: #dc2626 !important;
    font-weight: 600;
    animation: pulse-deadline 1.5s ease-in-out infinite;
}
.job-board-deadline-warning {
    color: #f59e0b !important;
    font-weight: 600;
}
@keyframes pulse-deadline {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.job-board-footer {
    padding: 16px 24px;
    text-align: center;
    border-top: 1px solid #f0f0f0;
    background: #f8fffe;
}
.job-board-footer-btn {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #2cb0a1;
    text-decoration: none;
    padding: 10px 24px;
    border: 2px solid #2cb0a1;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}
.job-board-footer-btn:hover {
    background: #2cb0a1;
    color: #fff;
}
.job-board-footer-btn i { margin: 0 4px; }
@media (max-width: 767px) {
    .job-board {
        border-radius: 12px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }
    .job-board-item {
        padding: 16px;
        gap: 10px;
        flex-direction: column;
        align-items: flex-start;
        border-left: 3px solid transparent;
    }
    .job-board-item:hover {
        border-left-color: #2cb0a1;
    }
    .job-board-left {
        gap: 12px;
        width: 100%;
    }
    .job-board-logo {
        width: 44px;
        height: 44px;
        border-radius: 8px;
    }
    .job-board-info h3 {
        font-size: 14px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
    .job-board-company {
        font-size: 12px;
        margin-bottom: 6px;
    }
    .job-board-tags {
        gap: 5px;
    }
    .job-board-tag {
        font-size: 11px;
        padding: 3px 8px;
    }
    .job-board-right {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        width: 100%;
        padding-left: 0;
        margin-top: 4px;
    }
    .job-board-deadline {
        font-size: 11px;
    }
    .job-board-cta {
        opacity: 1;
        transform: translateY(0);
        font-size: 12px;
        padding: 5px 12px;
        margin-left: auto;
    }
    .job-board-footer {
        padding: 14px 16px;
    }
    .job-board-footer-btn {
        display: block;
        font-size: 13px;
        padding: 12px 16px;
    }
}
@media (max-width: 600px) {
    .section-jobs-landing .container { padding: 0 10px; }
    .job-sidebar-card {
        padding: 14px;
        gap: 8px;
    }
    .job-sidebar-icon { width: 36px; height: 36px; font-size: 15px; }
    .job-sidebar-card h3 { font-size: 13px; }
    .job-sidebar-stats { gap: 8px; }
    .job-sidebar-stat { padding: 8px 6px; }
    .job-sidebar-stat strong { font-size: 16px; }
    .job-sidebar-stat span { font-size: 10px; }
    .job-sidebar-btn { font-size: 12px; padding: 8px 10px; }
    .job-board { border-radius: 10px; }
    .job-board-item {
        padding: 12px 10px;
        gap: 8px;
    }
    .job-board-left { gap: 10px; }
    .job-board-logo { width: 36px; height: 36px; border-radius: 6px; }
    .job-board-info h3 { font-size: 13px; }
    .job-board-company { font-size: 11px; margin-bottom: 4px; }
    .job-board-tags { gap: 4px; }
    .job-board-tag { font-size: 10px; padding: 2px 6px; }
    .job-board-right { gap: 8px; margin-top: 2px; }
    .job-board-deadline { font-size: 10px; }
    .job-board-cta { font-size: 11px; padding: 4px 10px; }
    .job-board-footer { padding: 10px 12px; }
    .job-board-footer-btn { font-size: 12px; padding: 10px 12px; }
}
@media (max-width: 400px) {
    .job-sidebar-stats { flex-direction: column; }
    .job-sidebar-btn { font-size: 11px; padding: 8px 6px; }
    .job-board { border-radius: 8px; }
    .job-board-item { padding: 10px 8px; overflow: hidden; }
    .job-board-left { gap: 8px; min-width: 0; }
    .job-board-logo { width: 30px; height: 30px; flex-shrink: 0; }
    .job-board-info { min-width: 0; overflow: hidden; }
    .job-board-info h3 { font-size: 12px; word-break: break-word; white-space: normal; -webkit-line-clamp: 2; line-clamp: 2; }
    .job-board-company { font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .job-board-tags { gap: 3px; flex-wrap: wrap; }
    .job-board-tag { font-size: 9px; padding: 2px 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 130px; }
    .job-board-right { gap: 6px; }
    .job-board-deadline { font-size: 9px; }
    .job-board-cta { font-size: 10px; padding: 4px 8px; }
    .job-board-footer-btn { font-size: 11px; padding: 8px 10px; }
}

/* ── Team ── */
.team-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}
.team-slide {
    flex: 0 0 calc(25% - 18px);
    max-width: calc(25% - 18px);
}
.team-card {
    text-align: center;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    width: 100%;
}
.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(36,145,133,0.15);
}
.team-card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
}
.team-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.5s ease;
}
.team-card:hover .team-card-img img {
    transform: scale(1.05);
}
.team-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(36,145,133,0.9));
    padding: 40px 15px 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.team-card:hover .team-card-overlay {
    opacity: 1;
}
.team-card-overlay a {
    color: #fff;
    font-size: 18px;
    width: 36px;
    height: 36px;
    line-height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: inline-block;
    transition: background 0.3s, transform 0.3s;
}
.team-card-overlay a:hover {
    background: rgba(255,255,255,0.4);
    transform: scale(1.15);
}
.team-card-info {
    padding: 16px 12px 18px;
}
.team-card-info h3 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0 0 3px;
    font-family: "Poppins", sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.team-card-info span {
    font-size: 12px;
    color: #249185;
    font-weight: 500;
}
@media (max-width: 991px) and (min-width: 768px) {
    .team-slide { flex: 0 0 calc(33.33% - 16px); max-width: calc(33.33% - 16px); }
}
@media (max-width: 767px) {
    .team-slider-wrap {
        overflow: visible;
    }
    .team-slider {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        padding: 0 4px;
    }
    .team-slide {
        flex: 0 0 calc(50% - 6px);
        max-width: calc(50% - 6px);
    }
    .team-card { border-radius: 12px; box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
    .team-card:hover { transform: none; box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
    .team-card-img { aspect-ratio: 3/4; }
    .team-card-info { padding: 12px 10px 14px; }
    .team-card-info h3 { font-size: 13px; }
    .team-card-info span { font-size: 11px; }
    .team-card-overlay { display: none; }
}
@media (max-width: 400px) {
    .team-slider { gap: 8px; padding: 0 2px; }
    .team-slide { flex: 0 0 calc(50% - 4px); max-width: calc(50% - 4px); }
    .team-card-info { padding: 8px 6px 10px; }
    .team-card-info h3 { font-size: 12px; }
    .team-card-info span { font-size: 10px; }
}

/* ── Programs ── */
.programs-section {
    padding: 80px 0;
    background: #2cb0a1;
}
.programs-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    justify-content: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}
.program-card {
    flex: 1 1 25%;
    min-width: 0;
    max-width: 25%;
    background: rgba(255,255,255,0.08);
    border: none;
    border-right: 1px solid rgba(255,255,255,0.15);
    border-radius: 0;
    padding: 40px 30px;
    text-align: left;
    transition: background 0.3s;
    display: flex;
    flex-direction: column;
}
.program-card:last-child {
    border-right: none;
}
.program-card:nth-child(even) {
    background: rgba(0,0,0,0.06);
}
.program-card:hover {
    background: rgba(255,255,255,0.15);
    transform: none;
}
.program-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 14px;
    font-family: "Poppins", sans-serif;
    line-height: 1.3;
}
.program-card p {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    line-height: 1.7;
    flex: 1;
    margin: 0 0 24px;
}
.program-card .program-btn {
    display: block;
    background: #fcb601;
    color: #333;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: background 0.3s;
    margin-top: auto;
}
.program-card .program-btn:hover {
    background: #e5a400;
}
@media (max-width: 991px) {
    .program-card { flex: 1 1 50%; max-width: 50%; }
    .program-card:nth-child(2) { border-right: none; }
}
@media (max-width: 767px) {
    .programs-section { padding: 50px 0; }
    .programs-grid { flex-direction: column; gap: 16px; padding: 0 16px; }
    .program-card {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 24px 20px;
        border-right: none;
        border-bottom: none;
        border-radius: 14px;
        background: rgba(255,255,255,0.12);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    }
    .program-card:nth-child(even) {
        background: rgba(255,255,255,0.18);
    }
    .program-card:last-child { border-bottom: none; }
    .program-card h3 { font-size: 17px; }
    .program-card p { font-size: 14px; margin-bottom: 16px; }
    .program-card .program-btn { padding: 11px 20px; font-size: 13px; border-radius: 8px; }
}

/* ── Testimonials ── */
.testi-section {
    padding: 80px 0;
}
.testi-grid {
    display: flex;
    flex-wrap: wrap;
}
.testi-grid > [class*="col"] {
    display: flex;
    margin-bottom: 24px;
}
.testi-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    width: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}
.testi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(36,145,133,0.1);
}
.testi-card-quote {
    flex: 1;
    position: relative;
    margin-bottom: 20px;
}
.testi-card-quote::before {
    content: "\201C";
    font-size: 48px;
    color: #2cb0a1;
    font-family: Georgia, serif;
    line-height: 1;
    display: block;
    margin-bottom: 8px;
}
.testi-card-quote p {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    margin: 0;
}
.testi-card-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}
.testi-card-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e0f5f2;
}
.testi-card-author h4 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0 0 2px;
    font-family: "Poppins", sans-serif;
}
.testi-card-author span {
    font-size: 12px;
    color: #999;
}
@media (max-width: 767px) {
    .testi-section { padding: 50px 0; }
    .testi-grid > [class*="col"] { margin-bottom: 14px; }
    .testi-card { padding: 20px 16px; border-radius: 12px; }
    .testi-card-quote::before { font-size: 36px; margin-bottom: 4px; }
    .testi-card-quote p { font-size: 13px; }
    .testi-card-quote { margin-bottom: 14px; }
    .testi-card-author img { width: 40px; height: 40px; }
    .testi-card-author h4 { font-size: 14px; }
}

/* ── Articles (Blog/Events) - Side by Side ── */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}
.article-item {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.article-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(36,145,133,0.1);
    border-color: #2cb0a1;
}
.article-item-img {
    flex-shrink: 0;
    width: 220px;
    overflow: hidden;
    background: #f5f5f5;
}
.article-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
.article-item:hover .article-item-img img {
    transform: scale(1.05);
}
.article-item-body {
    flex: 1;
    padding: 20px 24px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.article-item-date {
    font-size: 12px;
    color: #999;
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
}
.article-item-body h3 {
    font-size: 17px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px;
    font-family: "Poppins", sans-serif;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-item:hover .article-item-body h3 { color: #2cb0a1; }
.article-item-body p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-item-cta {
    font-size: 13px;
    font-weight: 600;
    color: #2cb0a1;
}
.article-item-cta i { margin-left: 4px; font-size: 11px; }
@media (max-width: 767px) {
    .article-list { gap: 12px; }
    .article-item-img { width: 110px; }
    .article-item-body { padding: 12px 14px; }
    .article-item-body h3 { font-size: 14px; margin-bottom: 4px; }
    .article-item-body p { display: none; }
    .article-item-date { font-size: 11px; margin-bottom: 4px; }
    .article-item-cta { font-size: 12px; }
}

/* ── Partners & Support ── */
.logo-grid-section {
    padding: 70px 0;
    background: #fff;
}
.logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}
.logo-grid-item {
    width: 160px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    border-radius: 10px;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    transition: transform 0.3s, box-shadow 0.3s;
}
.logo-grid-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.logo-grid-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(30%);
    opacity: 0.85;
    transition: filter 0.3s, opacity 0.3s;
}
.logo-grid-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}
@media (max-width: 767px) {
    .logo-grid-section { padding: 40px 0; }
    .logo-grid { gap: 10px; }
    .logo-grid-item { 
        width: calc(33.33% - 10px); 
        height: 60px; 
        padding: 8px;
        border-radius: 8px;
    }
}
