:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #e74c3c;
  --light-gray: #f8f9fa;
  --dark-gray: #6c757d;
  --text-dark: #2c3e50;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  background-image: url('./assets/background.jpg');
  background-size: cover;         /* cover entire screen */
  background-repeat: no-repeat;   /* don't tile */
  background-position: center;    /* center image */
  background-attachment: fixed;   /* keep it in place when scrolling */
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.8);
  z-index: -1;
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 12px 30px;
  font-weight: 500;
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

/* Card Styles */
.card {
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Navbar with blur */
.navbar {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Section title underline */
.section-title {
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--secondary-color);
}

/* Base styles */
.review-card {
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

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

.review-summary {
  display: block;
}

.review-details {
  display: none;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #333;
}

.review-card.expanded .review-details {
  display: block;
}

.review-card.expanded .toggle-text::after {
  content: " ▲";
}

.toggle-text::after {
  content: " ▼";
  font-size: 0.85rem;
  color: var(--dark-gray);
}

/* Stars & badges */
.stars {
  color: #ffc107;
  font-size: 1.1rem;
}

.review-meta {
  font-size: 0.9rem;
  color: var(--dark-gray);
}

.badge {
  font-weight: 500;
  padding: 6px 12px;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .card-title {
    font-size: 1rem;
  }

  .review-details {
    font-size: 0.9rem;
  }
}


/* Team card image */
.team-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
}

/* Adjust height for mobile */
@media (max-width: 768px) {
  .team-card img {
    max-height: 180px;
  }
}

/* Coordinator-specific card styling */
.coordinator-card {
  position: relative;
  overflow: hidden;
}

/* Coordinator badge */
.coordinator-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(45deg, #ff6b6b, #ee5a24);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 10;
}

/* Badge scaling on small screens */
@media (max-width: 576px) {
  .coordinator-badge {
    font-size: 0.65rem;
    padding: 4px 8px;
    top: 8px;
    right: 8px;
  }
}

/* Stars and meta styling */
.stars {
  color: #ffc107;
  font-size: 1.1rem;
}

.review-meta {
  font-size: 0.9rem;
  color: var(--dark-gray);
}

/* Bootstrap badge customization */
.badge {
  font-weight: 500;
  padding: 6px 12px;
}

/* Light section background */
.bg-light {
  background-color: #fafbfc !important;
}

/* Typography tweaks for mobile */
/* @media (max-width: 768px) {
  .display-4 {
    font-size: 2.5rem;
  }

  .card-title {
    font-size: 1rem;
  }

  .card-text {
    font-size: 0.85rem;
  }

  .card {
    margin-bottom: 1rem;
  }
} */

@media (max-width: 768px) {
  .team-card img {
    max-height: 640px;
  }

  .card-title {
    font-size: 1rem;
  }

  .card-text {
    font-size: 0.9rem;
  }

  .card {
    margin-bottom: 1rem;
  }

  .coordinator-badge {
    font-size: 0.75rem;
    padding: 5px 10px;
    top: 10px;
    right: 10px;
  }
}
