/* whistleblowing-styles.css */
/* ===== WHISTLEBLOWING PORTAL STYLES ===== */

.whistleblowing-portal {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Hero Section */
.whistleblower-hero {
    background: linear-gradient(135deg, #1a3a1f 0%, #2d5a32 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.whistleblower-hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z" fill="%23ffffff" fill-opacity="0.1" fill-rule="evenodd"/></svg>');
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

/* Statistics Section */
.whistleblowing-stats {
    background: white;
    padding: 60px 0;
    border-bottom: 1px solid #e0e0e0;
}

.stat-card {
    text-align: center;
    padding: 25px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: rgba(63, 159, 66, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #3f9f42;
    font-size: 28px;
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    color: #1a3a1f;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    color: #666;
    font-size: 16px;
    font-weight: 600;
}

/* Reported Companies Section */
.reported-companies-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.companies-tabs {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.companies-tab-buttons {
    display: flex;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #1a3a1f 0%, #2d5a32 100%);
    padding: 0 20px;
}

.companies-tab-btn {
    padding: 20px 30px;
    background: none;
    border: none;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    font-size: 16px;
}

.companies-tab-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.companies-tab-btn.active {
    color: white;
    background: rgba(255, 255, 255, 0.15);
}

.companies-tab-btn.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #ffd54f;
}

.companies-tab-content {
    padding: 40px;
    display: none;
}

.companies-tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.company-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.company-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.company-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: #3f9f42;
}

.company-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.company-logo {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #1a3a1f;
    font-size: 20px;
    border: 2px solid #e0e0e0;
    overflow: hidden;
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-info {
    flex: 1;
}

.company-name {
    font-weight: 700;
    color: #1a3a1f;
    margin-bottom: 5px;
    font-size: 18px;
}

.company-industry {
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.company-body {
    padding: 20px;
}

.company-allegations {
    margin-bottom: 15px;
}

.allegation-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.allegation-tag {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.company-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
    margin-top: 15px;
}

.reports-count {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 13px;
}

.reports-count i {
    color: #dc3545;
}

.report-date {
    color: #999;
    font-size: 12px;
}

.view-details-btn {
    background: #3f9f42;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    margin-top: 15px;
    text-align: center;
}

.view-details-btn:hover {
    background: #2d8a2f;
    color: white;
}

/* View All Button */
.view-all-companies {
    text-align: center;
    margin-top: 40px;
}

.btn-view-all {
    background: #1a3a1f;
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-view-all:hover {
    background: #2d5a32;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(26, 58, 31, 0.2);
}

/* Company Details Modal */
.company-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    overflow-y: auto;
    padding: 20px;
}

.company-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    border-radius: 15px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #dc3545;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #c82333;
    transform: rotate(90deg);
}

.modal-header {
    background: linear-gradient(135deg, #1a3a1f 0%, #2d5a32 100%);
    color: white;
    padding: 40px;
    border-radius: 15px 15px 0 0;
    position: relative;
}

.modal-company-logo {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 3px solid white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    font-size: 36px;
    font-weight: bold;
    color: #1a3a1f;
}

.modal-body {
    padding: 40px;
}

.modal-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.modal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-title {
    color: #1a3a1f;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
}

.section-title i {
    color: #3f9f42;
}

.modal-allegations {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.modal-allegation {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-allegation i {
    font-size: 14px;
}

.modal-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.detail-label {
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

.detail-value {
    color: #1a3a1f;
    font-weight: 600;
    font-size: 16px;
}

/* Report Form Updates */
.whistleblowing-form-section {
    background: white;
    padding: 60px 0;
}

.form-container {
    max-width: 900px;
    margin: 0 auto;
    background: #f8f9fa;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #e0e0e0;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    color: #1a3a1f;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 32px;
}

.form-header p {
    color: #666;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* Company Info Section */
.company-info-section {
    background: white;
    padding: 25px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    margin-bottom: 25px;
}

.company-info-section h5 {
    color: #1a3a1f;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
}

.company-info-section h5 i {
    color: #3f9f42;
}

/* Protections Section */
.protections-section {
    background: linear-gradient(135deg, #f0f9f0 0%, #e8f5e8 100%);
    padding: 40px;
    border-radius: 15px;
    border: 2px solid rgba(63, 159, 66, 0.2);
    margin: 40px 0;
}

.protection-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.protection-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.protection-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: #3f9f42;
}

.protection-card i {
    font-size: 36px;
    color: #3f9f42;
    margin-bottom: 15px;
}

.protection-card h5 {
    color: #1a3a1f;
    margin-bottom: 10px;
    font-size: 18px;
}

.protection-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    background: white;
    padding: 60px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: #3f9f42;
    box-shadow: 0 5px 15px rgba(63, 159, 66, 0.1);
}

.faq-question {
    padding: 20px 25px;
    background: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: #1a3a1f;
    transition: all 0.3s ease;
}

.faq-item.active .faq-question {
    background: rgba(63, 159, 66, 0.1);
    color: #3f9f42;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: #3f9f42;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 25px;
    max-height: 1000px;
}

.faq-answer p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1a3a1f 0%, #2d5a32 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    color: white;
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: #ffd54f;
    color: #1a3a1f;
    padding: 18px 40px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-cta-primary:hover {
    background: #ffca28;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 213, 79, 0.3);
}

.btn-cta-secondary {
    background: transparent;
    color: white;
    padding: 18px 40px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-badge {
        width: 100%;
        justify-content: center;
        max-width: 300px;
    }
    
    .companies-tab-buttons {
        flex-direction: column;
    }
    
    .companies-tab-btn {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .companies-tab-btn.active:after {
        left: 0;
        right: 0;
        bottom: -1px;
        height: 2px;
    }
    
    .company-grid {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 25px 20px;
    }
    
    .protection-cards {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        max-height: 95vh;
    }
    
    .modal-body {
        padding: 25px 20px;
    }
    
    .modal-details-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-cta-primary, .btn-cta-secondary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .modal-header {
        padding: 25px 20px;
    }
    
    .modal-company-logo {
        width: 80px;
        height: 80px;
        font-size: 28px;
    }
}