/* Global Layout Fix for Sticky Footer */
html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

body {
  flex: 1;
  display: flex;
  flex-direction: column;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #0e0e0e;
  color: #eee;
}

main {
  flex: 1;
}

/* NAVBAR */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 3rem;
  background-color: #121212;
  color: #eee;
  flex-wrap: wrap;
  gap: 1rem;
}

/* LOGO */
.logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: #00bcd4;
}

/* CENTER NAV LINKS */
.nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  /* Placeholder for potential ::before and ::after styling */
}

.nav-links li a {
  text-decoration: none;
  color: #ccc;
  font-weight: 600;
}

/* RIGHT SIDE: AUTH + SEARCH */
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem; /* space between login and search */
  box-sizing: border-box;
  max-width: 100%;
  overflow: visible;
}

/* AUTH BUTTONS */
.auth-controls {
  display: flex;
  gap: 0.5rem;
  margin-left: auto; /* to push auth controls right */
}

.auth-controls button {
  padding: 0.4rem 0.9rem;
  font-size: 0.9rem;
  background: #00bcd4;
  color: #0e0e0e;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.auth-controls button:hover {
  background: #00a0b8;
}

/* SEARCH BAR */
.search-bar {
  position: relative;
}

.search-bar input {
  padding: 0.7rem 1.2rem;
  border-radius: 6px;
  border: none;
  background: #1e1e1e;
  color: #ccc;
}

.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #222;
  color: #fff;
  border-radius: 6px;
  max-height: 200px;
  overflow-y: auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

.search-suggestions li {
  padding: 0.5rem 1rem;
  cursor: pointer;
}

.search-suggestions li:hover {
  background-color: #00838f; /* darker teal */
  color: #fff; /* pure white */
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Home Page Styles */
.home-hero {
  border-bottom: 1px solid #1f1f1f;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  text-align: center;
}


.home-hero h1 {
  font-size: 3.5rem;
  background: linear-gradient(to right, #00bcd4, #0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: pulse-glow 3s infinite ease-in-out;
  text-shadow: 0 0 10px #00bcd430;
}


@keyframes pulse-glow {
  0%, 100% {
    text-shadow: 0 0 15px #00bcd4aa, 0 0 30px #00bcd430;
  }
  50% {
    text-shadow: 0 0 25px #00e0ff, 0 0 45px #00e0ff60;
  }
}

.home-hero p {
  font-size: 1.2rem;
  color: #ccc;
  text-shadow: 0 0 6px #00bcd420;
}

/* Client Page Styles */
.client-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1rem;
  max-width: 900px;
  margin: auto;
}

.client-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid #00bcd4;
  box-shadow: 0 0 15px rgba(0, 188, 212, 0.3);
}

.client-name {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 8px rgba(0, 188, 212, 0.4);
  font-weight: 600;
  color: #00bcd4;
}

.debt-counter {
  font-size: 2.25rem;
  color: #00bcd4;
  font-weight: bold;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
}

.client-bio {
  background-color: #1c1c1c;
  padding: 1.2rem 2rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 188, 212, 0.2);
  margin-bottom: 2rem;
  width: 100%;
  max-width: 700px;
}

.client-bio p {
  margin: 0.5rem 0;
  color: #ccc;
  line-height: 1.6;
}

.debt-history {
  width: 100%;
  max-width: 700px;
  background: #1c1c1c;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 188, 212, 0.2);
  max-height: 220px;
  overflow-y: auto;
  margin-bottom: 2rem;
}

.debt-history h3 {
  margin-bottom: 1rem;
  color: #00bcd4;
}

.debt-history ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.debt-history li {
  padding: 0.3rem 0;
  border-bottom: 1px solid #333;
  color: #ccc;
  font-size: 0.9rem;
}

.client-actions {
  margin-bottom: 2rem;
}

.client-actions button {
  background: #00bcd4;
  color: #0e0e0e;
  border: none;
  padding: 0.7rem 1.4rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.client-actions button:hover {
  background: #0097a7;
}

.site-footer {
  background-color: #121212;
  color: #bbb;
  padding: 1rem 2rem;
  font-size: 0.9rem;
  border-top: 1px solid #333;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  user-select: none;
  margin-top: auto;
}

.site-footer p {
  margin: 0.25rem 0;
}

.footer-nav {
  margin-top: 0.5rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.footer-nav a:hover,
.footer-nav a:focus {
  color: #fff;
  text-decoration: underline;
  outline: none;
}

/* About Page Specific Styles */
.about-page {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 1rem;
  color: #eee;
  font-size: 1rem;
  line-height: 1.6;
}

.page-title {
  color: #00bcd4;
  text-align: center;
  font-size: 3rem;
  margin-bottom: 2rem;
  text-shadow: 0 0 8px rgba(0, 188, 212, 0.5);
}

.exponent {
  font-size: 0.6em;
  vertical-align: super;
  color: slategray;
}

.about-description p {
  margin-bottom: 1.2rem;
  color: #ccc;
}

.services-list {
  list-style-type: disc;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: #bbb;
}

.services-list li strong {
  color: #00bcd4;
}

.leadership-team {
  background-color: #1c1c1c;
  padding: 2rem 3rem;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 188, 212, 0.3);
  max-width: 1050px;
  margin: 0 auto 3rem auto;
  box-sizing: border-box;
}

.ceo-profiles {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: nowrap;
  overflow-x: visible;
}

.ceo-profile {
  width: 260px;
  background-color: #222;
  border-radius: 12px;
  padding: 1.5rem 1.2rem;
  box-shadow: 0 0 12px rgba(0, 188, 212, 0.3);
  text-align: center;
  color: #ccc;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ceo-profile:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0, 188, 212, 0.6);
}

.ceo-profile img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid #00bcd4;
  box-shadow: 0 0 12px rgba(0, 188, 212, 0.5);
}

.ceo-profile .name {
  font-weight: 700;
  font-size: 1.25rem;
  color: #00bcd4;
  margin-bottom: 0.3rem;
  text-shadow: 0 0 6px rgba(0, 188, 212, 0.5);
}

.ceo-profile .title {
  font-size: 1rem;
  color: #aaa;
  margin-bottom: 0.7rem;
}

.ceo-profile .description {
  font-size: 0.9rem;
  color: #bbb;
  line-height: 1.4;
}

/* Services Section */
.services {
  background-color: #141414;
  padding: 4rem 2.5rem;
  border-radius: 14px;
  max-width: 920px;
  margin: 0 auto 4rem auto;
  color: #ddd;
  box-shadow: 0 0 20px rgba(0, 188, 212, 0.15);
}

.services h2 {
  color: #00bcd4;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 700;
  font-size: 2.5rem;
  letter-spacing: 1.2px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem 2rem;
}

.service-item {
  background-color: #1e1e1e;
  padding: 2.2rem 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 188, 212, 0.1);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.service-item:hover {
  box-shadow: 0 8px 20px rgba(0, 188, 212, 0.3);
  transform: translateY(-6px);
}

.service-item h3 {
  color: #00bcd4;
  margin-bottom: 0.8rem;
  font-weight: 600;
  font-size: 1.3rem;
  border-bottom: 2px solid #00bcd4;
  padding-bottom: 0.3rem;
  letter-spacing: 0.03em;
}

.service-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: #bbb;
  flex-grow: 1;
}

/* Testimonials */
.testimonials {
  max-width: 900px;
  margin: 0 auto 4rem auto;
  padding: 2rem 2rem 3rem 2rem;
  background-color: #1c1c1c;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 188, 212, 0.2);
  color: #ccc;
}

.testimonials h2 {
  color: #00bcd4;
  margin-bottom: 1.5rem;
  text-align: center;
}

.testimonial-list {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.testimonial-item {
  font-style: italic;
  font-size: 1rem;
  line-height: 1.5;
  color: #bbb;
  border-left: 4px solid #00bcd4;
  padding-left: 1rem;
}

.client-name {
  margin-top: 0.4rem;
  font-weight: 600;
  color: #00bcd4;
  text-align: right;
  font-style: normal;
}

/* Debt Tracker Leaderboard Styles */
.debt-tracker-container {
  max-width: 1000px;
  margin: 3rem auto 4rem auto;
  padding: 2rem;
  background-color: #121212;
  border-radius: 14px;
  box-shadow: 0 0 20px rgba(0, 188, 212, 0.25);
  color: #eee;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.debt-tracker-title {
  text-align: center;
  font-size: 2.8rem;
  color: #00bcd4;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 8px rgba(0, 188, 212, 0.7);
  font-weight: 700;
}

.leaderboard {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2.5rem;
}

.leaderboard thead {
  background-color: #00bcd4;
  color: #0e0e0e;
  font-weight: 700;
  font-size: 1.1rem;
  text-align: left;
}

.leaderboard th, .leaderboard td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid #222;
  vertical-align: middle;
}

.leaderboard tbody tr:nth-child(odd) {
  background-color: #1c1c1c;
}

.leaderboard tbody tr:hover {
  background-color: #003f4a;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* Rank column styling */
.leaderboard .rank {
  width: 3rem;
  font-weight: 700;
  text-align: center;
  color: #00e5ff;
  text-shadow: 0 0 6px #00e5ff;
}

/* Client name styling */
.leaderboard .client-name {
  font-weight: 600;
  color: #00bcd4;
}

/* Debt amount styling */
.leaderboard .debt-amount {
  font-weight: 700;
  color: #00e5ff;
  text-align: right;
  white-space: nowrap;
}

/* Scrollbar for updates */
.updates-section {
  background-color: #1c1c1c;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 188, 212, 0.2);
  color: #bbb;
  max-height: 300px;
  overflow-y: auto;
  font-size: 0.95rem;
}

.updates-section h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #00bcd4;
  text-align: center;
  text-shadow: 0 0 6px rgba(0, 188, 212, 0.4);
  font-weight: 700;
}

.updates-section ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.updates-section li {
  padding: 0.4rem 0;
  border-bottom: 1px solid #222;
}

.updates-section li:last-child {
  border-bottom: none;
}

.updates-section::-webkit-scrollbar {
  width: 8px;
}

.updates-section::-webkit-scrollbar-track {
  background: #121212;
}

.updates-section::-webkit-scrollbar-thumb {
  background-color: #00bcd4;
  border-radius: 4px;
}

/* Responsive tweaks */
@media (max-width: 640px) {
  .debt-tracker-container {
    padding: 1rem;
  }
  .leaderboard th, .leaderboard td {
    padding: 0.5rem 0.8rem;
    font-size: 0.9rem;
  }
  .debt-tracker-title {
    font-size: 2rem;
  }
}
/* Leaderboard Table Styling */
#leaderboardTable {
  width: 100%;
  border-collapse: collapse;
  background-color: #1e1e1e;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,188,212,0.3);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#leaderboardTable thead {
  background-color: #00bcd4;
  color: #0e0e0e;
}

#leaderboardTable th, #leaderboardTable td {
  padding: 12px 18px;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  border-bottom: 1px solid #333;
}

#leaderboardTable tbody tr {
  transition: background-color 0.3s ease, color 0.3s ease;
  /* set initial bg explicitly so it doesn't flash from default */
  background-color: transparent;
  color: #eee; /* your normal text color */
}

#leaderboardTable tbody tr:nth-child(even) {
  background-color: #1a1a1a;
}

#leaderboardTable tbody tr:hover {
  background-color: transparent;
  box-shadow: inset 0 0 10px #00bcd4;
  color: #00bcd4;
  cursor: pointer;
}


/* Rank Column */
.rank {
  font-weight: 700;
  width: 50px;
  text-align: center;
}

/* Client Name */
.client-name {
  font-weight: 600;
  color: #00bcd4;
}

/* Debt Amount */
.debt-amount {
  font-weight: 700;
  text-align: right;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  color: #ccc;
}

/* Updates List */
#updatesList {
  margin-top: 1rem;
  max-height: 180px;
  overflow-y: auto;
  background-color: #1e1e1e;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,188,212,0.2);
  font-size: 0.95rem;
  color: #ccc;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  list-style-type: disc;
  list-style-position: inside;
}

/* Animation for leaderboard rows */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#leaderboardTable tbody tr {
  animation: fadeInUp 0.5s ease forwards;
}

/* Animation for new updates fade */
@keyframes fadeInHighlight {
  0% {
    background-color: #00bcd4;
    color: #0e0e0e;
  }
  100% {
    background-color: transparent;
    color: #ccc;
  }
}

#updatesList li.new-update {
  animation: fadeInHighlight 1.5s ease forwards;
  padding: 4px 0;
}
#updatesList li {
  padding: 4px 0;
}

/* Scrollbar styling for updates */
#updatesList::-webkit-scrollbar {
  width: 6px;
}

#updatesList::-webkit-scrollbar-thumb {
  background-color: #00bcd4;
  border-radius: 3px;
}

#updatesList::-webkit-scrollbar-track {
  background: #111;
}
#updatesList li.new-update {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.6s ease, max-height 0.6s ease;
}

#updatesList li.new-update.visible {
  opacity: 1;
  max-height: 3rem; /* or whatever fits one list item nicely */
  overflow: visible;
}
/* Disable hover styles by ignoring pointer events */
.no-hover tbody tr:hover {
  background-color: transparent !important;
  color: inherit !important;
  cursor: default !important;
}
@keyframes fadeSlideIn {
  0% {
    opacity: 0.5;
    transform: translateX(-10px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes rowHighlight {
  0% {
    background-color: #004d40; /* subtle teal-ish */
  }
  100% {
    background-color: transparent;
  }
}

.debt-amount.updated {
  animation: fadeSlideIn 0.6s ease forwards;
}

tr.updated {
  animation: rowHighlight 1.2s ease forwards;
}
.client-notes {
  background-color: #1c1c1c;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 188, 212, 0.25);
  margin-top: 2.5rem;
  color: #eee;
}

.client-notes h3 {
  margin-top: 0;
  color: #00bcd4;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

#noteAuthor, #noteInput {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: #111;
  color: #eee;
  border: 1px solid #444;
  border-radius: 6px;
  font-size: 1rem;
  margin-bottom: 0.75rem;
  resize: vertical;
}

#noteInput {
  min-height: 100px;
}

#addNoteBtn {
  padding: 0.6rem 1.2rem;
  background-color: #00bcd4;
  color: #111;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

#addNoteBtn:hover {
  background-color: #00a1ba;
}

#notesList {
  list-style: none;
  padding-left: 0;
  margin-top: 1.2rem;
}

#notesList li {
  background-color: #222;
  border-left: 4px solid #00bcd4;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 6px;
  position: relative;
  font-size: 1rem;
}

.note-meta {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 0.4rem;
}

.note-text {
  margin-bottom: 0.6rem;
}

.delete-note {
  position: absolute;
  top: 0.6rem;
  right: 0.8rem;
  background: transparent;
  color: #ff6666;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
}
.auth-controls {
  margin-left: auto;
  display: flex;
  gap: 0.5rem;
}

.auth-controls button {
  padding: 0.4rem 0.9rem;
  font-size: 0.9rem;
  background: #00bcd4;
  color: #0e0e0e;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.auth-controls button:hover {
  background: #00a0b8;
}
/* Login Page Styles */
.login-container {
  max-width: 400px;
  margin: 5rem auto; /* less top/bottom space */
  padding: 2rem 2.5rem; /* reduced padding */
  background-color: #121212;
  border-radius: 12px;
  box-shadow: 0 0 18px rgba(0, 188, 212, 0.4);
  color: #eee;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
  box-sizing: border-box;
  
  /* Remove min-height and flex centering to avoid excess height */
}

.login-container h1 {
  margin-bottom: 1.8rem;
  color: #00bcd4;
  font-size: 2.4rem;
  text-shadow: 0 0 8px rgba(0, 188, 212, 0.7);
}

#loginForm {
  width: 100%;
  display: flex;
  flex-direction: column;
  background-color: #1e1e1e;
  padding: 1.8rem 2rem; /* add horizontal padding */
  border-radius: 12px;
  box-shadow: 0 0 18px rgba(0, 188, 212, 0.5);
  box-sizing: border-box;
}

#loginForm input[type="text"],
#loginForm input[type="password"] {
  width: 95%; /* make inputs a bit narrower */
  padding: 0.65rem 1rem;
  margin: 0 auto 1.2rem; /* center inputs with auto left/right margins */
  border: none;
  border-radius: 8px;
  background-color: #121212;
  color: #ccc;
  font-size: 1rem;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box; /* important for consistent sizing */
}

#loginForm input[type="text"]:focus,
#loginForm input[type="password"]:focus {
  outline: none;
  background-color: #1e1e1e;
  box-shadow: 0 0 6px #00bcd4;
  color: #eee;
}

#loginForm button {
  width: 100%;
  padding: 0.8rem 0;
  background-color: #00bcd4;
  border: none;
  border-radius: 8px;
  color: #121212;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 1.2rem;
}

#loginForm button:hover {
  background-color: #0097a7;
}

#loginError {
  margin-top: 1rem;
  font-weight: 600;
  color: #ff6666;
  text-align: center;
}

/* Remember Me and Forgot Password Container */
.login-extra {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: #ccc;
  gap: 1rem; /* add gap between items */
  width: 100%;
  max-width: 380px; /* match form width */
  box-sizing: border-box;
}

.login-extra label {
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.login-extra input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #00bcd4;
}

.login-extra a#forgotPassword {
  color: #00bcd4;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.login-extra a#forgotPassword:hover {
  color: #0097a7;
  text-decoration: underline;
}

/* Responsive tweaks */
@media (max-width: 480px) {
  .login-container {
    max-width: 90vw;
    margin: 3rem auto;
    padding: 1.8rem 1.5rem;
  }
  .login-container h1 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
  }
  #loginForm {
    padding: 1.2rem 1.5rem;
  }
  #loginForm input[type="text"],
  #loginForm input[type="password"] {
    margin-bottom: 1rem;
  }
  #loginForm button {
    font-size: 1rem;
    padding: 0.7rem 0;
  }
  .login-extra {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }
}
/* Forgot Password Page uses same .login-container styling */

/* Just add styling for the paragraph under the heading */
.login-container p {
  color: #ccc;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  max-width: 380px;
  text-align: center;
  line-height: 1.4;
}

/* Style for the message shown after submission */
#message {
  font-weight: 600;
  margin-top: 1rem;
  max-width: 380px;
  text-align: center;
  font-size: 1rem;
  color: #00bcd4;
}

/* Style the back to login link */
.login-container p a {
  color: #00bcd4;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.login-container p a:hover {
  text-decoration: underline;
  color: #0097a7;
}

.back-home {
  text-align: center;
  margin-top: 1.25rem;
}

.back-home a {
  color: #00bcd4;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.back-home a:hover {
  color: #0097a7;
  text-decoration: underline;
}
.settings-link {
  margin-left: 1rem;
  color: #ccc;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
}

.settings-link:hover {
  color: #00bcd4;
}

.settings-icon {
  width: 26px;
  height: 26px;
}
.settings-dropdown {
      position: relative;
      margin-left: 1rem;
    }

    .settings-toggle {
      background: none;
      border: none;
      cursor: pointer;
      color: #ccc;
      display: flex;
      align-items: center;
    }

    .settings-toggle:hover {
      color: #00bcd4;
    }

    .dropdown-menu {
      position: absolute;
      top: 100%;
      right: 0;
      background-color: #1e1e1e;
      border: 1px solid #333;
      border-radius: 6px;
      padding: 0.5rem 0;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
      display: none;
      z-index: 100;
      width: 160px;
    }

    .dropdown-menu li {
      list-style: none;
    }

    .dropdown-menu a {
      display: block;
      padding: 0.5rem 1rem;
      color: #ccc;
      text-decoration: none;
      transition: background 0.3s;
    }

    .dropdown-menu a:hover {
      background-color: #00bcd4;
      color: #121212;
    }

/* Live Chat Widget */
#hdmi3-chat {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  z-index: 9999;
  user-select: none;
}

/* Bubble button */
#hdmi3-chat-toggle {
  width: 56px;
  height: 56px;
  background: #00bcd4;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 188, 212, 0.6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #eee;
  font-size: 28px;
  transition: background-color 0.3s ease;
}
#hdmi3-chat-toggle:hover {
  background-color: #0097a7;
}

/* Chat window */
#hdmi3-chat-window {
  position: absolute;
  bottom: 70px; /* right above the bubble */
  right: 0;
  width: 320px;
  max-height: 400px;
  background: #222;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 188, 212, 0.5);
  display: none;  /* hidden by default */
  flex-direction: column;
  overflow: hidden;
}

/* Show chat window when active */
#hdmi3-chat.active #hdmi3-chat-window {
  display: flex;
  flex-direction: column;
}

#hdmi3-chat-header {
  background: #00bcd4;
  padding: 0.8rem 1rem;
  color: #121212;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#hdmi3-chat-close {
  cursor: pointer;
  font-weight: 900;
  color: #121212;
}

/* Scrollbar styling for chat body */
#hdmi3-chat-body {
  flex: 1;
  padding: 0.8rem 1rem;
  background: #1a1a1a;
  overflow-y: auto;
  font-size: 0.9rem;
  color: #ddd;
}

#hdmi3-chat-body::-webkit-scrollbar {
  width: 6px;
}

#hdmi3-chat-body::-webkit-scrollbar-thumb {
  background-color: #00bcd4;
  border-radius: 3px;
}

#hdmi3-chat-body::-webkit-scrollbar-track {
  background: #111;
}

#hdmi3-chat-messages {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.chat-msg {
  max-width: 80%;
  padding: 0.6rem 0.9rem;
  border-radius: 12px;
}

.chat-msg.bot {
  background: #2e2d2c;
  color: #eee;
  align-self: flex-start;
}

.chat-msg.user {
  background: #333;
  color: #eee;
  align-self: flex-end;
}

#hdmi3-chat-input-container {
  display: flex;
  border-top: 1px solid #333;
  padding: 0.6rem 1rem;
}

#hdmi3-chat-input {
  flex: 1;
  background: #121212;
  border: none;
  padding: 0.6rem 0.8rem;
  color: #eee;
  font-size: 0.95rem;
  border-radius: 8px;
}

#hdmi3-chat-input:focus {
  outline: none;
  box-shadow: 0 0 5px #00bcd4;
}

#hdmi3-chat-send {
  background: #00bcd4;
  border: none;
  color: #121212;
  font-weight: 700;
  margin-left: 0.6rem;
  padding: 0 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#hdmi3-chat-send:hover {
  background: #0097a7;
}

/* Responsive adjustments for small screens */
@media (max-width: 400px) {
  #hdmi3-chat-window {
    width: 90vw;
    max-height: 60vh;
    bottom: 80px;
    right: 5vw;
  }
}

/* Accessibility: Focus outline for interactive elements */
#hdmi3-chat-toggle:focus,
#hdmi3-chat-close:focus,
#hdmi3-chat-send:focus {
  outline: 2px solid #00bcd4;
  outline-offset: 2px;
}
/* === Stats Section === */
.stats {
  text-align: center;
  margin: 3rem 0;
}

.stats h2 {
  font-size: 1.8rem;
  color: #00bcd4;
  margin-bottom: 1rem;
}

.stats ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 600px;
}

.stats li {
  padding: 0.5rem 0;
  font-size: 1.1rem;
  border-bottom: 1px solid #222;
}

/* === Trusted By Section === */
.trusted-by {
  text-align: center;
  margin: 3rem 0;
}

.trusted-by h2 {
  font-size: 1.8rem;
  color: #00bcd4;
  margin-bottom: 1rem;
}

.trusted-by ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
  list-style: none;
}

.trusted-by li {
  background: #1a1a1a;
  border: 1px solid #00bcd4;
  color: #00bcd4;
  padding: 0.5rem 1rem;
  border-radius: 80px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.3s ease;
}

.trusted-by li:hover {
  background: #00bcd4;
  color: #0e0e0e;
}

/* === Newsletter Signup === */
.newsletter {
  text-align: center;
  margin: 3rem 0;
}

.newsletter h2 {
  font-size: 1.8rem;
  color: #00bcd4;
  margin-bottom: 0.5rem;
}

.newsletter p {
  color: #aaa;
  margin-bottom: 1rem;
}

#newsletterForm {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  max-width: 500px;
  margin: 0 auto;
}

#newsletterEmail {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border-radius: 6px;
  border: none;
  outline: none;
  background-color: #1e1e1e;
  color: #eee;
  width: 60%;
  min-width: 200px;
}

#newsletterForm button {
  padding: 0.5rem 1.2rem;
  font-size: 1rem;
  background: #00bcd4;
  color: #0e0e0e;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

#newsletterForm button:hover {
  background: #00a0b8;
}

#newsletterMessage {
  margin-top: 1rem;
  font-weight: 600;
  color: #4caf50;
}
.fun-facts {
  background: rgba(0, 0, 0, 0.05); /* very light transparent black for subtle contrast */
  border-left: 0px solid #008ba3; /* slightly darker HDMI³ blue for a softer look */
  padding: 2rem 2.5rem;
  margin: 0.5rem auto;
  max-width: 600px;
  color: #e0dede; /* dark gray for better readability */
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07); /* subtle shadow for gentle depth */
  border-radius: 6px;
  text-align: center;
  transition: box-shadow 0.3s ease;
}

/* Responsive tweaks */
@media (max-width: 640px) {
  .fun-facts {
    max-width: 90%;
    padding: 1.5rem 1.5rem;
    font-size: 1rem;
    margin: 2rem auto;
    border-left-width: 3px;
  }
}

.fun-facts:hover {
  box-shadow: 0 6px 12px rgba(0, 188, 212, 0.15);
}

.fun-facts h2 {
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.8rem;
  color: #00bcd4;
}

.fun-facts ul {
  list-style: none;
  padding-left: 0;
  font-size: 1.1rem;
  line-height: 1.5;
}

.fun-facts li {
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.3rem;
  text-align: left;
  display: inline-block;
  max-width: 100%;
}

.fun-facts li::before {
  content: "➤";
  position: absolute;
  left: 0;
  top: 0;
  color: #00bcd4;
  font-weight: 600;
  font-size: 1.1rem;
  transform: rotate(15deg);
}
.learn-more-cta {
	text-align: center;
	max-width: 800px;
	margin: 4rem auto;
}
 .learn-more-cta h3 {
	text-align: CENTER;
    font-size: 1.4rem;
  }

  .learn-more-cta p {
	text-align: CENTER;
    font-size: 1rem;
  }

  .learn-more-cta a {
	display: inline-block;
    padding: 0.85rem 1.6rem;
    background-color: #00bcd4;
    color: #121212;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 188, 212, 0.3);
  }
}

/* === MOBILE FRIENDLY OVERRIDES === */

.about-page {
  max-width: 920px;
  margin: 3rem auto;
  padding: 0 1.5rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #eee;
  box-sizing: border-box;
}

/* Services list styling */
.services-list {
  padding-left: 1.2rem;
  margin-bottom: 2rem;
}

.services-list li {
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

/* Leadership team container: flex with wrap for responsiveness */
.ceo-profiles {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: nowrap; /* keep all in one line */
  padding: 1rem 0;
}

/* Each CEO profile card */
.ceo-profile {
  background-color: #222;
  border-radius: 12px;
  padding: 1.5rem;
  width: 220px;
  box-shadow: 0 0 15px rgba(0, 188, 212, 0.3);
  color: #ccc;
  text-align: center;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

/* Typography for headings */
.page-title {
  font-size: 2.8rem;
  margin-bottom: 2rem;
  color: #00bcd4;
  text-shadow: 0 0 8px rgba(0, 188, 212, 0.7);
  font-weight: 700;
}

.about-description p,
.about-description ul {
  font-size: 1.05rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

/* Team section heading */
.leadership-team h2 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
  color: #00bcd4;
  text-shadow: 0 0 8px rgba(0, 188, 212, 0.7);
  font-weight: 700;
}

/* Testimonials */
.testimonials {
  max-width: 920px;
  margin: 3rem auto;
  padding: 0.4rem 1.5rem;
  color: #eee;
}

.testimonial-list {
  display: flex;       /* force flex */
  flex-wrap: nowrap;   /* no wrap on desktop */
  gap: 2rem;            /* space between items */
  justify-content: center;
  padding: 0;
  margin: 0 auto;
  max-width: 1000px;
  box-sizing: border-box;
}

.testimonial-item {
  flex-shrink: 0;     /* no shrinking */
  flex-grow: 0;
  width: 850px;        /* fixed width per item */
  background-color: #222;
  border-radius: 12px;
  padding: 1rem;
  color: #ccc;
  box-sizing: border-box;
}


/* Client name in testimonial */
.client-name {
  font-weight: 600;
  color: #00bcd4;
  text-align: right;
  margin-top: 0.8rem;
}

/* Learn More CTA */
.learn-more-cta {
  text-align: center;
  margin: 4rem auto 6rem auto;
  max-width: 600px;
  padding: 0 1rem;
}

.learn-more-cta h3 {
  color: #00bcd4;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 6px rgba(0, 188, 212, 0.5);
}

.learn-more-cta p {
  color: #ccc;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.learn-more-cta a {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  background-color: #00bcd4;
  color: #121212;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 188, 212, 0.3);
}

.learn-more-cta a:hover {
  background-color: #0097a7;
}

/* Responsive styles for mobile */
@media (max-width: 640px) {
  .about-page {
    padding: 1rem;
    margin: 1.5rem auto;
  }

  .page-title {
    font-size: 2rem;
  }

  .leadership-team h2 {
    font-size: 1.8rem;
  }

  .services-list li {
    font-size: 1rem;
  }

 .ceo-profiles {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap; /* allow wrapping */
  }
  .ceo-profile {
    width: 90%;
    max-width: 320px;
    margin-bottom: 1.5rem;
  }

  .testimonial-list {
    flex-direction: column;
    gap: 1.5rem;
  }

  .testimonial-item {
    width: 90%; /* Make testimonials responsive */
    max-width: none;
  }

  .learn-more-cta {
    max-width: 100%;
  }

  .learn-more-cta h3 {
    font-size: 1.5rem;
  }

  .learn-more-cta p {
    font-size: 1rem;
  }

  .learn-more-cta a {
    font-size: 1rem;
    padding: 0.7rem 1.2rem;
  }
}
