html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}







* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    padding: 2rem 1rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.header {
    background: linear-gradient(135deg, #2d3748, #4a5568);
    color: white;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
        pointer-events: none;
    }

    .header h2 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
        position: relative;
        z-index: 1;
    }

    .header p {
        font-size: 1.1rem;
        opacity: 0.9;
        position: relative;
        z-index: 1;
    }

.table-container {
    padding: 0;
    overflow-x: auto;
}

.main-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.95rem;
}

    .main-table thead {
        background: linear-gradient(135deg, #1a202c, #2d3748);
        color: white;
    }

    .main-table th {
        padding: 1.25rem 1rem;
        text-align: left;
        font-weight: 600;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        border-bottom: 3px solid #4299e1;
        position: relative;
    }

        .main-table th:first-child {
            width: 60px;
            text-align: center;
        }

    .main-table tbody tr {
        transition: all 0.3s ease;
        border-bottom: 1px solid #e2e8f0;
    }

        .main-table tbody tr:hover {
            background: linear-gradient(135deg, #f7fafc, #edf2f7);
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

    .main-table td {
        padding: 1.25rem 1rem;
        vertical-align: middle;
        border-bottom: 1px solid #e2e8f0;
    }

.toggle-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #4299e1, #3182ce);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(66, 153, 225, 0.3);
}

    .toggle-btn:hover {
        transform: scale(1.1) rotate(90deg);
        box-shadow: 0 4px 16px rgba(66, 153, 225, 0.4);
        background: linear-gradient(135deg, #3182ce, #2c5aa0);
    }

    .toggle-btn.expanded {
        transform: rotate(45deg);
        background: linear-gradient(135deg, #e53e3e, #c53030);
    }

        .toggle-btn.expanded:hover {
            transform: scale(1.1) rotate(45deg);
            box-shadow: 0 4px 16px rgba(229, 62, 62, 0.4);
        }

.amount {
    font-weight: 700;
    font-size: 1.1rem;
    color: #38a169;
    background: linear-gradient(135deg, #f0fff4, #c6f6d5);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    display: inline-block;
}

.equity-badge {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.equity-yes {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
}

.equity-no {
    background: linear-gradient(135deg, #a0aec0, #718096);
    color: white;
}

.details-row {
    background: #f7fafc;
}

    .details-row td {
        padding: 0 !important;
        border: none !important;
    }

.details-content {
    padding: 2rem;
    background: linear-gradient(135deg, #f7fafc, #edf2f7);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.details-section {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

    .details-section:last-child {
        margin-bottom: 0;
    }

.section-header {
    background: linear-gradient(135deg, #2d3748, #4a5568);
    color: white;
    padding: 1rem 1.5rem;
    margin: -2rem -2rem 2rem -2rem;
    border-radius: 16px 16px 0 0;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.details-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

    .details-table th {
        background: linear-gradient(135deg, #4a5568, #2d3748);
        color: white;
        padding: 1rem;
        font-weight: 600;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .details-table td {
        padding: 1rem;
        background: #f8f9fa;
        border-bottom: 1px solid #e2e8f0;
        vertical-align: top;
    }

    .details-table tr:last-child td {
        border-bottom: none;
    }

.financial-value {
    font-weight: 700;
    color: #38a169;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #f0fff4, #c6f6d5);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: inline-block;
}

.project-font {
    font-weight: 500;
    color: black;
    font-size: 1.1rem;
    
}

.team-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.team-member {
    background: white;
    padding: 1rem;
    margin-bottom: 0.75rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #4299e1;
}

    .team-member:last-child {
        margin-bottom: 0;
    }

.member-name {
    font-weight: 700;
    color: #2d3748;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.member-role {
    color: #4299e1;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.member-field {
    color: #718096;
    font-size: 0.9rem;
}

.document-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.document-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

    .document-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    }

.doc-link {
    display: block;
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.doc-business {
    background: linear-gradient(135deg, #4299e1, #3182ce);
}

.doc-video {
    background: linear-gradient(135deg, #38b2ac, #319795);
}

.doc-cert {
    background: linear-gradient(135deg, #ed8936, #dd6b20);
}

.doc-other {
    background: linear-gradient(135deg, #805ad5, #6b46c1);
}

.doc-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.doc-link:hover::before {
    left: 100%;
}

.doc-icon {
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.no-data {
    text-align: center;
    color: #718096;
    font-style: italic;
    padding: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 1rem;
    }

    .header {
        padding: 1.5rem;
    }

        .header h2 {
            font-size: 2rem;
        }

    .main-table th,
    .main-table td {
        padding: 1rem 0.75rem;
    }

    .details-content {
        padding: 1.5rem;
    }

    .details-section {
        padding: 1.5rem;
    }

    .section-header {
        margin: -1.5rem -1.5rem 1.5rem -1.5rem;
        padding: 1rem 1.25rem;
        font-size: 1.1rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(66, 153, 225, 0.3);
    border-radius: 50%;
    border-top-color: #4299e1;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}