/* Modern Equity Page Styles */

/* Hero Section */
.modern-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.modern-title {
  font-weight: 700;
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Main Content */
.modern-content {
  padding: 50px 0;
  background-color: #f8f9fa;
}

.modern-intro {
  line-height: 1.6;
  color: #333;
  margin-bottom: 40px;
}

/* Tabs */
.modern-tabs {
  border-bottom: 2px solid #e9ecef;
  margin-bottom: 30px;
}

.modern-tabs > li > a {
  border: none;
  background-color: transparent;
  color: #495057;
  font-weight: 600;
  padding: 15px 30px;
  transition: all 0.3s ease;
}

.modern-tabs > li.active > a,
.modern-tabs > li.active > a:hover,
.modern-tabs > li.active > a:focus {
  background-color: #007bff;
  color: white;
  border-radius: 5px 5px 0 0;
}

.modern-tabs > li > a:hover {
  background-color: #e9ecef;
  color: #007bff;
}

/* Tab Content */
.modern-tab-content {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  overflow: hidden;
}

.modern-tab-pane {
  padding: 30px;
}

/* Cards */
.modern-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 20px;
  margin-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modern-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.card-content {
  text-align: center;
}

.modern-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.modern-text {
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Iframe Container */
.modern-iframe-container {
  padding: 20px;
}

.iframe-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.modern-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Headings and Descriptions */
.modern-heading {
  color: #333;
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.modern-description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Table Styles */
.modern-table {
  width: 100%;
  margin-bottom: 0;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.modern-table th {
  background-color: #007bff;
  color: white;
  padding: 12px;
  text-align: left;
  font-weight: 600;
}

.modern-table td {
  padding: 7px!important;
  border-bottom: 1px solid #e9ecef;
}

.modern-table tbody tr:hover {
  background-color: #f8f9fa;
}

.positive {
  color: #28a745;
  font-weight: 600;
}

.negative {
  color: #dc3545;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
  .modern-hero {
    padding: 40px 0;
  }

  .modern-title {
    font-size: 2rem;
  }

  .modern-intro {
    font-size: 1rem;
  }

  .modern-tab-pane {
    padding: 20px;
  }

  .modern-card {
    margin-bottom: 15px;
  }

  .modern-iframe-container {
    padding: 10px;
  }

  .modern-table th,
  .modern-table td {
    padding: 8px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .modern-tabs > li > a {
    padding: 10px 15px;
    font-size: 0.9rem;
  }

  .modern-heading {
    font-size: 1.2rem;
  }

  .modern-table th,
  .modern-table td {
    padding: 6px;
    font-size: 0.8rem;
  }
}
