/* Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
  background-color: #f8f9fa;
  color: #212529;
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: #0d6efd;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  background-color: #fff;
  border-bottom: 1px solid #e9ecef;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-size: 20px;
  font-weight: bold;
  margin-right: 30px;
  color: #333;
  display: flex;
  align-items: center;
}

.navbar-brand i {
  color: #0d6efd;
  margin-right: 5px;
}

.navbar-nav {
  display: flex;
  list-style: none;
  margin-right: auto;
}

.nav-item {
  margin-right: 20px;
}

.nav-item.active {
  border-bottom: 2px solid #0d6efd;
}

.nav-link {
  color: #555;
  font-weight: 500;
  padding: 8px 0;
}

.nav-link.active {
  color: #0d6efd;
}

.search-form {
  display: flex;
  align-items: center;
}

.search-input {
  padding: 8px 12px;
  border: 1px solid #ced4da;
  border-radius: 4px 0 0 4px;
  width: 200px;
}

.search-button {
  background-color: #0d6efd;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}

/* Main Content */
.main-content {
  padding: 30px 0;
}

.dashboard-header {
  margin-bottom: 20px;
}

.dashboard-title {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 30px;
  color: #333;
}

.stats-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.stat-card {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  flex: 1;
  margin-right: 15px;
  display: flex;
  align-items: center;
}

.stat-card:last-child {
  margin-right: 0;
}

.stat-icon {
  width: 48px;
  height: 48px;
  background-color: #f8f9fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.stat-icon i {
  font-size: 24px;
  color: #6c757d;
}

.stat-details h3 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #212529;
}

.stat-details p {
  color: #6c757d;
  font-size: 14px;
  margin: 0;
}

/* Trending Startups Section */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e9ecef;
}

.section-title {
  font-size: 18px;
  font-weight: 600;
}

.view-all-link {
  font-size: 14px;
  color: #0d6efd;
}

.engagement-note {
  font-size: 14px;
  color: #6c757d;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.startup-card {
  background-color: #fff;
  border-radius: 5px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.startup-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.startup-name {
  color: #0d6efd;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.startup-description {
  color: #495057;
  font-size: 14px;
  margin-bottom: 15px;
  line-height: 1.5;
}

.startup-funding {
  font-size: 14px;
  color: #495057;
  font-weight: 500;
}

.funding-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  margin-right: 5px;
}

.badge-seed {
  background-color: #28a745;
  color: #fff;
}

.badge-preseed {
  background-color: #17a2b8;
  color: #fff;
}

.badge-series-a {
  background-color: #0d6efd;
  color: #fff;
}

.badge-series-b {
  background-color: #f39c12;
  color: #fff;
}

.badge-series-c {
  background-color: #e74c3c;
  color: #fff;
}

/* Data Table Styles */
.data-table {
  width: 100%;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
  border-collapse: collapse;
}

.data-table th {
  text-align: left;
  padding: 12px 15px;
  font-weight: 600;
  color: #495057;
  border-bottom: 2px solid #e9ecef;
}

.data-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #e9ecef;
  color: #495057;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover {
  background-color: #f8f9fa;
}

/* Filter Controls */
.filter-controls {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.filter-input {
  padding: 8px 12px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  flex-grow: 1;
}

.filter-select {
  padding: 8px 12px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  background-color: #fff;
  min-width: 150px;
}

.reset-button {
  padding: 8px 12px;
  background-color: #f8f9fa;
  border: 1px solid #ced4da;
  border-radius: 4px;
  color: #495057;
  font-weight: 500;
  cursor: pointer;
}

/* Investor Cards */
.investor-card {
  background-color: #fff;
  border-radius: 5px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.investor-name {
  color: #0d6efd;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}

.investor-type {
  display: inline-block;
  background-color: #6c757d;
  color: #fff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.investor-description {
  color: #495057;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 15px;
}

.social-links {
  display: flex;
  gap: 5px;
}

.social-button {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background-color: #f8f9fa;
  border: 1px solid #ced4da;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d6efd;
}

/* Charts */
.chart-container {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.chart-card {
  background-color: #fff;
  border-radius: 5px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  flex: 1;
}

.chart-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #495057;
}

.chart-placeholder {
  height: 250px;
  background-color: #f8f9fa;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #adb5bd;
}

/* Category Tags */
.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 10px;
}

.category-tag {
  background-color: #f8f9fa;
  border: 1px solid #ced4da;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  color: #495057;
}

/* Email Form */
.email-form {
  display: flex;
  align-items: center;
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 5px;
  margin-bottom: 40px;
}

.email-input {
  flex-grow: 1;
  padding: 12px 15px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  margin-right: 10px;
  font-size: 14px;
}

.subscribe-button {
  background-color: #0d6efd;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
}

/* Contact Form */
.contact-section {
  padding: 40px 0;
}

.contact-title {
  font-size: 32px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 20px;
}

.contact-subtitle {
  text-align: center;
  font-size: 16px;
  color: #6c757d;
  margin-bottom: 40px;
}

.tab-nav {
  display: flex;
  margin-bottom: 20px;
  border-bottom: 1px solid #dee2e6;
}

.tab-item {
  padding: 15px 30px;
  font-size: 16px;
  color: #495057;
  cursor: pointer;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
}

.tab-item.active {
  color: #0d6efd;
  border-bottom: 2px solid #0d6efd;
}

.tab-content {
  display: flex;
}

.tab-pane {
  flex: 1;
}

.info-box {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 5px;
  margin-right: 20px;
}

.info-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

.benefit-list {
  list-style: none;
  margin-bottom: 20px;
}

.benefit-item {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.benefit-item i {
  color: #0d6efd;
  margin-right: 10px;
}

.form-section {
  flex: 1;
}

.form-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 14px;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-button {
  background-color: #0d6efd;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
}

/* Funding date */
.funding-date {
  font-size: 12px;
  color: #6c757d;
  margin-top: 5px;
}

/* Fixed Subscribe Button */
.fixed-subscribe {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #0d6efd;
  color: #fff;
  padding: 12px 20px;
  border-radius: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  font-weight: 500;
  z-index: 1000;
  cursor: pointer;
}

.fixed-subscribe i {
  margin-right: 8px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .stats-container {
    flex-direction: column;
  }
  
  .stat-card {
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
  }
  
  .chart-container {
    flex-direction: column;
  }
  
  .tab-content {
    flex-direction: column;
  }
  
  .info-box {
    margin-right: 0;
    margin-bottom: 20px;
  }
  
  .filter-controls {
    flex-wrap: wrap;
  }
  
  .filter-input, 
  .filter-select {
    width: 100%;
    margin-bottom: 10px;
  }
}