/* ==================================================
   ONERING CSS - Consolidated Stylesheet
   Georgia Southern University AI Policy Portal
   Created May 2025
   ================================================== */

/* CSS Variables */
:root {
  --primary-blue: #041E42;
  --gold: #A99260;
  --secondary-blue: #4F758B;
  --light-gray: #f8f9fa;
  --medium-gray: #e9ecef;
  --dark-gray: #343a40;
  --accent-red: #8A2B2B;
  --accent-teal: #2B5F65;
  --accent-purple: #4A2B5F;
  --accent-green: #2B5F2E;
  --accent-orange: #5F452B;
  --accent-magenta: #5F2B4A;
  --success-green: #28a745;
  --danger-red: #dc3545;
  --white: #ffffff;
}

/* ==================================================
 Base Styles
 ================================================== */
body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  background-color: var(--light-gray);
}

h2 {
  color: var(--primary-blue);
  border-bottom: 2px solid var(--primary-blue);
  padding-bottom: 0.5rem;
  margin-top: 2rem;
}

h3 {
  color: var(--primary-blue);
  margin-top: 1.5rem;
  font-weight: normal; /* Ensure consistent styling with headers */
}

a {
  color: var(--primary-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul, ol {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

/* ==================================================
 Navigation Styles
 ================================================== */

/* Main navigation styling */
.main-nav {
  background-color: var(--primary-blue);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.main-nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* College-level navigation styling */
.college-nav-links {
  display: flex;
  padding: 0.5rem 0;
  background-color: var(--primary-blue);
  width: 100%;
  flex-wrap: wrap; /* Allow wrapping for many options */
  justify-content: center;
}

.college-nav-links a {
  color: white;
  text-decoration: none;
  padding: 0.75rem 1rem;
  transition: background-color 0.3s;
  font-size: 0.9rem;
  white-space: nowrap;
}

.college-nav-links a:hover {
  background-color: var(--gold);
}

.college-nav-links a.active {
  background-color: var(--gold);
  font-weight: bold;
}

/* Main page navigation links */
.main-nav-links {
  display: flex;
  padding: 0.5rem 0;
  justify-content: center;
  width: 100%;
}

.main-nav-links a {
  color: white;
  text-decoration: none;
  padding: 0.75rem 1rem;
  transition: background-color 0.3s;
  font-size: 0.9rem;
}

.main-nav-links a:hover {
  background-color: var(--gold);
}

.main-nav-links a.active {
  background-color: var(--gold);
  font-weight: bold;
}

/* Sub-navigation styling */
.sub-nav {
  background-color: #0a2e5c; /* Slightly lighter blue for distinction */
  position: sticky;
  top: 43px; /* Adjusted to accommodate the top nav height */
  z-index: 99; /* One less than main nav to ensure proper stacking */
  width: 100%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Home page navigation buttons */
.home-nav {
  text-align: center;
  margin: 1rem 0;
}

.home-nav a {
  display: inline-block;
  background-color: var(--primary-blue);
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s;
  font-weight: bold;
}

.home-nav a:hover {
  background-color: var(--gold);
}

/* ==================================================
 Header Styles
 ================================================== */
.header {
  background-color: var(--primary-blue);
  color: white;
  padding: 2rem;
  margin: 1rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-logo {
  flex: 0 0 30%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-logo img {
  max-width: 100%;
  height: auto;
  max-height: 150px;
}

.header-text {
  flex: 0 0 70%;
}

.header h1, 
.header h2, 
.header h3 {
  color: white;
  border-bottom: none;
  padding-bottom: 0;
}

.header h1 {
  margin: 0;
  font-size: 2.2rem;
  line-height: 1.2;
}

.header h2 {
  margin: 0.5rem 0;
  font-weight: normal;
  font-size: 1.4rem;
}

.header h3 {
  margin: 0.5rem 0 0 0;
  font-weight: normal;
  font-size: 1.1rem;
  font-style: italic;
}

/* ==================================================
 Content Section Styles
 ================================================== */
.content {
  background-color: white;
  padding: 2rem;
  margin: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.executive-summary {
  background-color: var(--light-gray);
  padding: 1.5rem;
  border-left: 4px solid var(--primary-blue);
  margin: 1rem 0;
}

/* ==================================================
 Expandable Section Styles
 ================================================== */
.expandable-button {
  width: 100%;
  padding: 1rem;
  margin: 0.5rem 0;
  background-color: var(--primary-blue);
  color: white;
  border: none;
  border-radius: 4px;
  text-align: left;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.expandable-button:hover {
  background-color: #062d5f;
}

.expandable-content {
  background-color: var(--light-gray);
  padding: 0 1rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease-out;
  border-radius: 0 0 4px 4px;
}

/* Support both .active and .show class toggles for backward compatibility */
.expandable-content.active,
.expandable-content.show {
  padding: 1rem;
  overflow-y: auto;
  max-height: 5000px; /* Increased to accommodate larger sections */
  margin-bottom: 1rem;
}

.icon {
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

.icon.active {
  transform: rotate(180deg);
}

/* ==================================================
 Dashboard Section Styles
 ================================================== */
.dashboard-section {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.dashboard-section h2 {
  color: var(--primary-blue);
  margin-top: 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
}

/* ==================================================
 Chart Container Styles
 ================================================== */
.chart-container {
  position: relative;
  height: 400px;
  margin: 1.5rem 0;
  width: 100%;
  overflow-x: auto;
}

.wide-chart {
  height: 500px;
}

/* ==================================================
 College Grid and Synthesis Buttons (Student Landing Page)
 ================================================== */
.college-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.college-grid a {
  background-color: var(--primary-blue);
  color: white;
  text-decoration: none;
  padding: 1rem;
  text-align: center;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.college-grid a:hover {
  background-color: var(--gold);
}

.synthesis-button {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.synthesis-button a {
  flex: 1;
  min-width: 250px;
  max-width: 400px;
  display: inline-block;
  background-color: var(--primary-blue);
  color: white;
  text-decoration: none;
  padding: 1rem;
  text-align: center;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  font-weight: bold;
  font-size: 1.1rem;
}

.synthesis-button a:hover {
  background-color: var(--gold);
}

.question-list {
  margin-left: 1.5rem;
}

.question-list li {
  margin-bottom: 0.5rem;
}

/* ==================================================
 Cards and Stat Display Styles
 ================================================== */
.card-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}

.stat-card {
  flex: 1;
  min-width: 230px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 1rem;
  transition: transform 0.3s ease;
  border-top: 4px solid var(--primary-blue);
  text-align: center;
}

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

.stat-card.learning {
  border-top-color: var(--primary-blue);
}

.stat-card.career {
  border-top-color: var(--secondary-blue);
}

.stat-card.creative {
  border-top-color: var(--gold);
}

.stat-card.academic {
  border-top-color: var(--accent-red);
}

.stat-card.technical {
  border-top-color: var(--accent-teal);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: var(--dark-gray);
}

/* Stats container styles */
.stats-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.stat-box {
  background-color: var(--light-gray);
  border-left: 4px solid var(--primary-blue);
  padding: 1rem;
  margin-bottom: 1rem;
  flex: 0 0 30%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* ==================================================
 Grid and Card Layout Styles
 ================================================== */
.college-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.college-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 1rem;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.college-card h3 {
  color: var(--primary-blue);
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.5rem;
}

.college-card p {
  margin: 0.25rem 0;
  font-size: 0.9rem;
}

.college-card a {
  color: var(--white);
  text-decoration: none;
  margin-top: auto;
  align-self: flex-end;
  font-weight: bold;
}

.college-card a:hover {
  text-decoration: underline;
}

/* Section cards for landing page */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.section-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  background-color: white;
  font-size: 0.9rem;
}

.section-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card-header {
  background-color: var(--primary-blue);
  color: white;
  padding: 0.75rem;
}

.card-header h3 {
  margin: 0;
  color: white;
  font-size: 1rem;
}

.card-body {
  padding: 0.75rem;
  flex-grow: 1;
  font-size: 0.85rem;
}

.card-footer {
  padding: 0.75rem;
  background-color: var(--light-gray);
  border-top: 1px solid #ddd;
  text-align: right;
}

.card-footer a {
  display: inline-block;
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: bold;
  font-size: 0.85rem;
}

.card-footer a:hover {
  text-decoration: underline;
}

/* ==================================================
 Highlight & Recommendation Styles
 ================================================== */
.highlight-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}

.highlight-card {
  flex: 1;
  min-width: 280px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 1rem;
  border-left: 4px solid var(--gold);
}

.highlight-card h3 {
  color: var(--primary-blue);
  margin-top: 0;
  font-size: 1.1rem;
}

.recommendation {
  background-color: var(--light-gray);
  border-left: 4px solid var(--primary-blue);
  padding: 1rem;
  margin: 1rem 0;
}

.recommendation h3 {
  color: var(--primary-blue);
  margin-top: 0;
}

/* ==================================================
 Quote & Sentiment Analysis Styles
 ================================================== */
.quote-box {
  background-color: var(--light-gray);
  border-left: 4px solid var(--primary-blue);
  padding: 1.5rem;
  margin: 1rem 0;
  font-style: italic;
}

/* Summary label - for synthetic insights */
.summary-label {
  display: block;
  font-weight: bold;
  font-style: normal;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

/* College label - for attribution */
.college-label-text {
  display: block;
  font-style: normal;
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.5rem;
}

/* Sentiment Container (Positive/Negative) */
.sentiment-container {
  display: flex;
  justify-content: space-between;
  margin: 2rem 0;
  background-color: var(--light-gray);
  padding: 1.5rem;
  border-radius: 8px;
}

.sentiment-positive {
  flex: 0 0 48%;
  padding: 1rem;
  background-color: rgba(40, 167, 69, 0.1);
  border-left: 4px solid var(--success-green);
}

.sentiment-negative {
  flex: 0 0 48%;
  padding: 1rem;
  background-color: rgba(220, 53, 69, 0.1);
  border-left: 4px solid var(--danger-red);
}

.sentiment-comparison {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 2rem 0;
}

.sentiment-padlet {
  flex: 0 0 25%;
  background-color: var(--light-gray);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.sentiment-padlet h3 {
  margin-top: 0;
  color: var(--primary-blue);
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.5rem;
}

.sentiment-ratio {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-blue);
  margin: 1rem 0;
}

.sentiment-bar {
  height: 20px;
  background-color: var(--medium-gray);
  border-radius: 10px;
  margin: 1rem 0;
  overflow: hidden;
}

.sentiment-bar-fill {
  height: 100%;
  background-color: var(--success-green);
  border-radius: 10px;
}

/* Sentiment ratio chart */
.sentiment-ratio-chart {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 2rem 0;
}

.college-sentiment {
  flex: 0 0 48%;
  background-color: var(--light-gray);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.college-sentiment h3 {
  margin-top: 0;
  color: var(--primary-blue);
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.5rem;
}

.ratio-number {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-blue);
  margin: 1rem 0;
}

.ratio-bar {
  height: 20px;
  background-color: var(--medium-gray);
  border-radius: 10px;
  margin: 1rem 0;
  overflow: hidden;
}

.ratio-bar-fill {
  height: 100%;
  background-color: var(--success-green);
  border-radius: 10px;
}

/* ==================================================
 Chart Visualization Styles
 ================================================== */
/* College Response Chart */
.college-chart {
  height: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  margin-top: 30px;
}

.college-bar {
  position: relative;
  width: 10%;
  margin: 0 5px;
  background-color: var(--primary-blue);
  transition: height 1s ease-in-out;
}

.college-label {
  position: absolute;
  bottom: -60px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.2;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.college-value {
  position: absolute;
  top: -25px;
  left: 0;
  right: 0;
  text-align: center;
  font-weight: bold;
}

/* Themes Chart */
.themes-chart {
  height: 250px;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  margin-top: 30px;
}

.theme-bar {
  position: relative;
  flex: 1;
  margin: 0 7px;
  background-color: var(--gold);
  transition: height 1s ease-in-out;
}

.theme-label {
  position: absolute;
  bottom: -80px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.2;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-value {
  position: absolute;
  top: -25px;
  left: 0;
  right: 0;
  text-align: center;
  font-weight: bold;
}

/* Chart Skills */
.chart-skills {
  display: flex;
  width: 100%;
  height: 300px;
  justify-content: space-between;
}

.skill-bar-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  margin: 0 10px;
}

.skill-label {
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
  height: 40px;
  display: flex;
  align-items: center;
}

.skill-bar-container {
  height: 200px;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.skill-bar {
  width: 100%;
  background-color: var(--primary-blue);
  transition: height 1s ease-in-out;
}

.skill-value {
  text-align: center;
  padding: 5px 0;
  font-weight: bold;
}

/* Industry/College Chart */
.industry-chart {
  height: 300px;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
}

.industry-bar {
  flex: 1;
  margin: 0 5px;
  background-color: var(--primary-blue);
  transition: height 1s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

.industry-label {
  text-align: center;
  padding: 5px;
  font-size: 0.8rem;
  color: white;
  word-wrap: break-word;
  max-width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
}

.industry-value {
  position: absolute;
  top: -25px;
  font-weight: bold;
}

/* Concerns Chart */
.concerns-chart {
  height: 250px;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  margin-top: 30px;
}

.concern-bar {
  position: relative;
  flex: 1;
  margin: 0 7px;
  background-color: var(--danger-red);
  transition: height 1s ease-in-out;
}

.concern-label {
  position: absolute;
  bottom: -60px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.2;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.concern-value {
  position: absolute;
  top: -25px;
  left: 0;
  right: 0;
  text-align: center;
  font-weight: bold;
}

/* ==================================================
 Methodology & Process Visualization
 ================================================== */
/* Methodology Diagram */
.methodology-container {
  position: relative;
  margin: 2rem 0;
  overflow: visible;
}

.methodology-diagram {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  min-width: 750px;
}

.methodology-step {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 0 1rem;
  margin-bottom: 1rem;
}

.methodology-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--primary-blue);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
  position: relative;
  z-index: 2;
}

.methodology-line {
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  height: 3px;
  background-color: #ddd;
  z-index: 1;
}

.methodology-label {
  font-weight: bold;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.methodology-text {
  font-size: 0.9rem;
  color: #666;
}

/* ==================================================
 Table Styles
 ================================================== */
.insights-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
}

.insights-table th {
  background-color: var(--primary-blue);
  color: white;
  text-align: left;
  padding: 1rem;
}

.insights-table td {
  padding: 1rem;
  vertical-align: top;
  border-bottom: 1px solid var(--medium-gray);
}

.insights-table tr:nth-child(even) {
  background-color: var(--light-gray);
}

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

.theme-name {
  font-weight: bold;
  color: var(--primary-blue);
}

.prevalence {
  font-weight: bold;
  color: #00337F;
}

.stakeholder-relevance {
  margin-top: 0.5rem;
}

.unique-theme {
  font-weight: bold;
  color: #00337F;
}

.theme-description {
  margin-top: 0.5rem;
}

/* ==================================================
 Code Display Styles 
 ================================================== */
.code-container {
  margin: 1.5rem 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.code-header {
  background-color: var(--primary-blue);
  color: white;
  padding: 0.75rem 1rem;
  font-family: monospace;
  font-size: 1rem;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.code-language {
  font-size: 0.85rem;
  background-color: rgba(255,255,255,0.2);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

pre {
  margin: 0;
  padding: 1.5rem;
  overflow-x: auto;
  background-color: var(--light-gray);
  border-left: 4px solid var(--gold);
  font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
  font-size: 0.9rem;
  line-height: 1.4;
}

code {
  font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
  color: #333;
}

.method-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin: 2rem 0;
  overflow: hidden;
}

.method-header {
  background-color: var(--primary-blue);
  color: white;
  padding: 1rem;
}

.method-header h3 {
  margin: 0;
  color: white;
}

.method-body {
  padding: 1.5rem;
}

.limitation-box {
  background-color: #fff8e6;
  border-left: 4px solid #ffc107;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.limitation-box h4 {
  margin-top: 0;
  color: #856404;
}

.implementation-note {
  background-color: #e8f4f8;
  border-left: 4px solid #17a2b8;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.implementation-note h4 {
  margin-top: 0;
  color: #17a2b8;
}

/* ==================================================
 Footer Styles
 ================================================== */
.footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--primary-blue);
  font-style: italic;
  color: #666;
  padding: 1rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  background-color: rgba(4, 30, 66, 0.8);
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.nav-links a:hover {
  background-color: rgba(169, 146, 96, 0.8);
}

/* ==================================================
 Media Queries for Responsive Design
 ================================================== */
@media (max-width: 1200px) {
  .cards-grid {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .college-nav-links {
      flex-wrap: wrap;
  }
  
  .college-nav-links a {
      flex: 0 0 25%; /* Four colleges per row on medium screens */
      text-align: center;
      padding: 0.5rem 0.25rem;
      font-size: 0.8rem;
      box-sizing: border-box;
  }
  
  .methodology-container {
      overflow-x: auto;
  }
}

@media (max-width: 768px) {
  .header {
      flex-direction: column;
      text-align: center;
  }
  
  .header-logo, .header-text {
      flex: 0 0 100%;
  }
  
  .stat-box, .sentiment-padlet, .college-sentiment {
      flex: 0 0 100%;
  }
  
  .sentiment-container {
      flex-direction: column;
  }
  
  .sentiment-positive, .sentiment-negative {
      flex: 0 0 100%;
      margin-bottom: 1rem;
  }

  .chart-skills {
      flex-direction: column;
      height: auto;
  }

  .skill-bar-group {
      margin: 15px 0;
  }

  .industry-chart, .college-chart, .concerns-chart, .themes-chart {
      flex-direction: column;
      height: auto;
      align-items: stretch;
  }

  .industry-bar, .college-bar, .concern-bar, .theme-bar {
      height: 50px !important;
      margin: 10px 0;
      flex-direction: row;
      justify-content: space-between;
  }

  .college-bar {
      width: 100%;
  }

  .industry-label, .college-label, .concern-label, .theme-label {
      position: relative;
      bottom: 0;
      height: auto;
      width: 50%;
  }

  .industry-value, .college-value, .concern-value, .theme-value {
      position: relative;
      top: 0;
      display: flex;
      align-items: center;
      color: white;
      padding-right: 10px;
  }
  
  .college-nav-links {
      flex-direction: column;
      width: 100%;
  }

  .college-nav-links a {
      flex: 0 0 100%;
      padding: 0.5rem;
      text-align: center;
      border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  .main-nav-links {
      flex-direction: column;
      width: 100%;
  }

  .main-nav-links a {
      padding: 0.5rem;
      text-align: center;
      border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  .sub-nav {
      top: 0; /* Reset for mobile stacking */
      position: relative;
  }
  
  .cards-grid, .college-grid {
      grid-template-columns: 1fr;
  }
  
  .methodology-diagram {
      flex-direction: column;
      align-items: center;
      min-width: auto;
  }
  
  .methodology-step {
      margin-bottom: 2rem;
      width: 100%;
  }
  
  .methodology-line {
      display: none;
  }
  
  /* Student landing page mobile styles */
  .synthesis-button {
      flex-direction: column;
      align-items: center;
  }
  
  .synthesis-button a {
      width: 100%;
      max-width: none;
      margin-bottom: 0.5rem;
  }
}
/* --- New Card Layout Styles --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}

.card {
  background: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 10px;
  width: 300px;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.2s;
}

.card:hover {
  transform: scale(1.05);
}

.button {
  background-color: #00529B;
  color: white;
  padding: 10px 15px;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 10px;
  display: inline-block;
}

.button:hover {
  background-color: #003f7d;
}

/* Video embed styles */
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 2rem auto;
  text-align: center;
}

.video-wrapper::before {
  content: '';
  display: block;
  padding-top: 177.78%;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

.video-caption {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: #333;
  font-weight: 500;
  line-height: 1.4;
}