/* ===========================
   STAKEHOLDER SOLUTIONS SECTION
   =========================== */

.stakeholder-solutions-section {
    padding: 120px 0;
    background: #0a0f1e;
    position: relative;
    overflow: hidden;
}

/* Animated Background Elements */
.stakeholder-solutions-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 50%, rgba(46, 143, 51, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.06) 0%, transparent 50%);
    animation: rotateBackground 30s linear infinite;
    pointer-events: none;
}

.stakeholder-solutions-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(90deg, transparent 0%, rgba(46, 143, 51, 0.03) 50%, transparent 100%),
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 255, 255, 0.02) 2px, rgba(255, 255, 255, 0.02) 4px);
    pointer-events: none;
}

@keyframes rotateBackground {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.stakeholder-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease;
}

.stakeholder-subtitle {
    font-size: 13px;
    font-weight: 700;
    color: white;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
    display: inline-block;
    padding: 10px 24px;
    background: rgba(46, 143, 51, 0.1);
    border-radius: 50px;
    border: 1px solid rgba(46, 143, 51, 0.2);
    position: relative;
    overflow: hidden;
}

.stakeholder-subtitle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(46, 143, 51, 0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.stakeholder-header h2 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 24px;
    color: #ffffff;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stakeholder-header p {
    font-size: 19px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.stakeholder-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 80px;
    position: relative;
    z-index: 2;
}

.stakeholder-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 450px;
    animation: fadeInUp 0.8s ease;
}

/* Alternating Layout */
.stakeholder-card:nth-child(even) {
    direction: rtl;
}

.stakeholder-card:nth-child(even) > * {
    direction: ltr;
}

.stakeholder-card:hover::before {
    opacity: 1;
}

.stakeholder-card:hover {
    transform: translateY(-8px) scale(1.01);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(46, 143, 51, 0.3);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(46, 143, 51, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Card Image Container */
.card-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 450px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(10, 15, 30, 0.8), rgba(46, 143, 51, 0.1));
}

.card-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 15, 30, 0.3) 0%,
        rgba(46, 143, 51, 0.1) 100%
    );
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.6s ease;
}

.stakeholder-card:hover .card-image-container::after {
    opacity: 0.5;
}

.card-image {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.stakeholder-card:hover .card-image {
    transform: scale(1.1) rotate(2deg);
}

/* Icon Badge */
.card-icon-badge {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 70px;
    height: 70px;
    background: rgba(10, 15, 30, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
    border: 1px solid rgba(46, 143, 51, 0.3);
}

.stakeholder-card:hover .card-icon-badge {
    background: linear-gradient(135deg, #2e8f33, #10b981);
    transform: scale(1.15) rotate(-10deg);
    box-shadow:
        0 15px 50px rgba(46, 143, 51, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(46, 143, 51, 0.3);
}

/* Icon Badge - Support both Font Awesome icons and SVG */
.card-icon-badge i,
.card-icon-badge svg {
    font-size: 32px;
    width: 32px;
    height: 32px;
    color: white;
    fill: white;
    transition: all 0.6s ease;
}

.stakeholder-card:hover .card-icon-badge i,
.stakeholder-card:hover .card-icon-badge svg {
    color: white;
    fill: white;
    transform: scale(1.1);
}

/* Card Content */
.card-content {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background: rgba(255, 255, 255, 0.02);
}

.card-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, #2e8f33, #10b981);
    transition: height 0.6s ease;
}

.stakeholder-card:hover .card-content::before {
    height: 100%;
}

.card-tag {
    font-size: 11px;
    font-weight: 700;
    color: white;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    text-transform: uppercase;
    display: inline-block;
    padding: 8px 16px;
    background: rgba(46, 143, 51, 0.1);
    border-radius: 6px;
    border-left: 3px solid #2e8f33;
    width: fit-content;
}

.stakeholder-card h3 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.3;
    transition: all 0.3s ease;
}

.stakeholder-card:hover h3 {
    transform: translateX(5px);
}

.card-content > p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 28px;
}

/* Card Features List */
.card-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.card-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    transition: all 0.4s ease;
    padding-left: 0;
    position: relative;
}

.card-features-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: #2e8f33;
    transition: width 0.4s ease;
}

.card-features-list li:hover {
    color: rgba(255, 255, 255, 0.95);
    padding-left: 20px;
}

.card-features-list li:hover::before {
    width: 12px;
}

.card-features-list li:last-child {
    margin-bottom: 0;
}

.card-features-list li i {
    color: #2e8f33;
    font-size: 18px;
    margin-top: 3px;
    flex-shrink: 0;
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 8px rgba(46, 143, 51, 0.5));
}

.card-features-list li:hover i {
    transform: scale(1.2) rotate(360deg);
    filter: drop-shadow(0 0 12px rgba(46, 143, 51, 0.8));
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 1024px) {
    .stakeholder-header h2 {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .stakeholder-solutions-section {
        padding: 80px 0;
    }

    .stakeholder-header h2 {
        font-size: 36px;
    }

    .stakeholder-header p {
        font-size: 16px;
    }

    .stakeholder-grid {
        gap: 40px;
    }

    .stakeholder-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .stakeholder-card:nth-child(even) {
        direction: ltr;
    }

    .card-image-container {
        height: 280px;
        min-height: 280px;
    }

    .card-image {
        min-height: 280px;
    }

    .card-content {
        padding: 40px 30px;
    }
}

@media (max-width: 480px) {
    .stakeholder-solutions-section {
        padding: 60px 0;
    }

    .stakeholder-header {
        margin-bottom: 50px;
    }

    .stakeholder-header h2 {
        font-size: 28px;
    }

    .stakeholder-header p {
        font-size: 14px;
    }

    .stakeholder-grid {
        gap: 25px;
    }

    .card-image-container {
        height: 220px;
        min-height: 220px;
    }

    .card-image {
        min-height: 220px;
    }

    .card-content {
        padding: 28px 20px;
    }

    .card-icon-badge {
        width: 56px;
        height: 56px;
        top: 18px;
        left: 18px;
    }

    .card-icon-badge i,
    .card-icon-badge svg {
        font-size: 24px;
        width: 24px;
        height: 24px;
    }

    .stakeholder-card h3 {
        font-size: 20px;
    }

    .card-content > p {
        font-size: 14px;
    }

    .card-features-list {
        margin-bottom: 24px;
    }

    .card-features-list li {
        font-size: 13px;
        gap: 10px;
        margin-bottom: 12px;
    }

    .card-features-list li i {
        font-size: 15px;
    }

    .stakeholder-subtitle {
        font-size: 11px;
        padding: 8px 18px;
    }
}

