/* ==============================================
   Affiliated Bodies - Clean Design (No Font Styling)
   Uses existing site fonts
   ============================================== */

/* MOIF Color Variables */
:root {
    --moif-blue-dark: #0D1B3E;
    --moif-blue: #1A2B4A;
    --moif-gold: #C9A227;
    --moif-gold-bright: #F4D03F;
    --moif-white: #FFFFFF;
}

/* Section Styling */
.affiliated-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.fdi-section-header {
    text-align: center;
    margin-bottom: 60px;
}

    .fdi-section-header h2 {
        font-size: 42px;
        font-weight: 700;
        color: var(--moif-blue-dark);
        margin-bottom: 15px;
        text-align: center;
    }

    .fdi-section-header p {
        font-size: 16px;
        color: #6c757d;
        text-align: center;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

/* Grid - 3 Columns */
.affiliated-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Simple Item Card */
.simple-item {
    text-align: center;
    padding: 35px 25px;
    background: var(--moif-white);
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

    .simple-item:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    }

/* Logo - No Border, Clean */
.simple-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.simple-item:hover .simple-logo {
    transform: scale(1.1);
}

.simple-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Content */
.simple-content h3 {
    font-size: 19px;
    font-weight: 600;
    color: var(--moif-blue-dark);
    margin-bottom: 15px;
    line-height: 1.4;
}

    .simple-content h3 a {
        color: var(--moif-blue-dark);
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .simple-content h3 a:hover {
            color: var(--moif-gold);
        }

.simple-content p {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 25px;
    line-height: 1.6;
    min-height: 65px;
}

/* Simple Text Link - No Border Button */
.simple-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--moif-gold);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .simple-link:hover {
        color: var(--moif-gold-bright);
        gap: 12px;
    }

    .simple-link i {
        font-size: 18px;
        transition: transform 0.3s ease;
    }

.simple-item:hover .simple-link i {
    transform: translateX(5px);
}

/* Responsive - Tablet (2 columns) */
@media (max-width: 991px) {
    .affiliated-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive - Mobile (1 column) */
@media (max-width: 768px) {
    .fdi-section-header h2 {
        font-size: 32px;
    }

    .affiliated-section {
        padding: 50px 0;
    }

    .fdi-section-header {
        margin-bottom: 40px;
    }

    .affiliated-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .simple-item {
        padding: 30px 20px;
    }

    .simple-logo {
        width: 80px;
        height: 80px;
    }

    .simple-content h3 {
        font-size: 18px;
    }

    .simple-content p {
        min-height: auto;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .fdi-section-header h2 {
        font-size: 28px;
    }
}

/* RTL Support */
[dir="rtl"] .simple-item {
    direction: rtl;
}

[dir="rtl"] .simple-link i {
    transform: rotate(180deg);
}

[dir="rtl"] .simple-item:hover .simple-link i {
    transform: rotate(180deg) translateX(5px);
}
