/* 
  Unify font across the site.
  Using a system font stack for consistency and better performance.
*/
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  color: #555; /* Base text color */
}

/* Headings: black (#222 or #333) for clarity */
h1, h2, h3 {
  color: #222; 
  margin-bottom: 10px;
}

/* Navigation Bar */
.navbar {
  display: flex;
  justify-content: space-between;
  padding: 15px 50px;
  background-color: #ffffff;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.logo {
  font-size: 35px;
  font-weight: bold;
  color: #007bff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* adds a soft shadow effect */
  transition: transform 0.3s ease, color 0.3s ease; /* smooth transition for hover states */
}

.logo:hover {
  transform: scale(1.1); /* slightly zoom in on hover */
  color: #0056b3; /* darker blue when hovered */
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}
.nav-links li {
  display: inline;
}
.nav-links a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
}

/* Use the same style for all main buttons (including Login) */
.btn,
.cta-button,
.login-button,
.home-button {
  display: inline-block;
  padding: 10px 15px;
  border-radius: 5px;
  background-color: #007bff; /* same blue as Get Started */
  color: #fff;
  border: none;
  cursor: pointer;
  text-decoration: none; /* ensure no underline */
  font-size: 16px;
  transition: background-color 0.2s ease-in-out;
}

.btn:hover,
.cta-button:hover,
.login-button:hover,
.home-button:hover {
  background-color: #0056b3; /* darker blue on hover */
  transform: scale(1.1); /* slightly zoom in on hover */
}

.cta-button {
  background-color: #ffa600 !important;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 166, 0, 0.7);
  }
  70% {
    transform: scale(1.15);
    box-shadow: 0 0 20px 10px rgba(255, 166, 0, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 166, 0, 0);
  }
}

.login-button {
  color: #fff !important;
}

/* 
  If you need smaller or differently sized buttons, 
  you can create a specific class like .btn-sm, etc. 
*/

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background-color: #fff;
}
.hero-content {
  max-width:30%;
}
.hero-content h1 {
  font-size: 36px;
  color: #222;
}
.hero-content p {
  font-size: 18px;
  margin-top: 10px;
  color: #555;
}
.cta-button {
  margin-top: 20px;
  /* already styled above */
}
.explanation-text {
  font-size: 14px;
  color: #777;
  margin-top: 10px;
}
.hero-image img {
  width: 1200px; /* or any larger value that fits your layout */
  max-width: 100%;
  border-radius: 20px;
}


/* Video Section */
.video-section {
  text-align: center;
  padding: 50px;
  background-color: #fff;
}
.video-section h2 {
  font-size: 28px;
  color: #222;
}
.video-container {
  margin-top: 20px;
}

/* Section */
section {
  padding: 20px 50px;
}

/* File-result container */
.file-result {
  margin-bottom: 40px;
  padding: 10px;
  border: 1px solid #ddd;
}
.summary {
  margin-bottom: 20px;
  list-style-type: none;
  padding-left: 0;
}
.summary li {
  margin: 5px 0;
}

/* Modern table styling */
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 20px;
  font-size: 15px;
  background-color: white;
}

th {
  background: #eee;
  user-select: none;
  color: #333;
  font-weight: 600;
  text-align: left;
  padding: 12px;
  border: 1px solid #ccc;
}

td {
  padding: 12px;
  border: 1px solid #ccc;
  vertical-align: middle;
}

/* Hover effect on rows */
tbody tr:hover {
  background-color: #f8f8f8; 
}

/* Sorting hover effect on header cell */
.sortable:hover {
  background-color: #ddd;
}

/* We no longer need an anchor style for attendance, so remove .meeting-link if not needed */
a.meeting-link {
  color: inherit; /* or remove entirely */
  text-decoration: none;
  cursor: default;
}

/* 
  Attendance cell (both per-meeting and average)
  We'll color-code in JS by assigning custom classes or inline styles.
  These classes are just placeholders if you prefer class-based approach.
*/
.attendance-cell {
  font-weight: 600;
  text-align: center;
  border-radius: 5px;
  color: #333;
}

/* Example color classes if you prefer class-based coloring 
.attendance-high {
  background-color: #d4edda; 
}
.attendance-medium {
  background-color: #fff3cd; 
}
.attendance-low {
  background-color: #f8d7da; 
}
*/

/* 
  Button at bottom to return home 
  - We'll unify it under .home-button, 
  but it also inherits .btn styles 
*/
.home-button {
  margin-top: 10px;
  font-size: 14px;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background-color: #333;
  color: white;
  font-size: 14px;
  margin-top: 30px;
}
