/* === ROOT VARIABLES === */
:root {
  --bg-color: #ffffff;
  --text-color: #212529;
  --header-bg: #343a40;
  --header-text: #ffffff;
  --row-hover: #e9ecef;
  --row-alt: #f8f9fa;
  --border-color: #ccc;
  --dropdown-bg: #ffffff;
  --dropdown-hover: #f1f1f1;
}

/* === GLOBAL === */
section {
  scroll-margin-top: 130px;
  position: relative;
  overflow: hidden;
}

/* === DARK MODE VARIABLES === */
body.dark-mode {
  --bg-color: #181818;
  --text-color: #e0e0e0;
  --header-bg: #222;
  --header-text: #f8f9fa;
  --row-hover: #2b2b2b;
  --row-alt: #202020;
  --border-color: #444;
  --dropdown-bg: #2c2c2c;
  --dropdown-hover: #3a3a3a;
}

/* === HERO === */
/* HERO SECTION */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: transparent;
  transition: background 0.8s ease, color 0.8s ease;
}

/* Soft transparent animated gradient overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    -45deg,
    rgba(28, 218, 255, 0.25),
    rgba(25, 135, 84, 0.2),
    rgba(255, 204, 51, 0.2),
    rgba(0, 195, 255, 0.25)
  );
  background-size: 400% 400%;
  animation: gradientFlow 20s ease infinite;
  z-index: 1;
  pointer-events: none;
  border-radius: 0;
}

/* Subtle diffusion for softness */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(6px) brightness(1.05);
  z-index: 0;
  opacity: 0.15;
  transition: opacity 0.6s ease, backdrop-filter 0.6s ease;
}

/* Dark mode tone adjustment */
body.dark-mode .hero::after {
  opacity: 0.08;
  backdrop-filter: blur(5px) brightness(0.9);
}

/* HERO CONTENT */
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
  animation: fadeInUp 1.2s ease forwards;
}

/* GRADIENT TEXT (slightly softer for theme harmony) */
.gradient-text {
  background: linear-gradient(90deg, #1cdaff, #198754, #ffb347, #00c3ff);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientText 6s ease infinite;
  font-weight: 800;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
  transition: filter 0.6s ease;
}

/* Slight desaturation for dark mode */
body.dark-mode .gradient-text {
  filter: brightness(0.8) saturate(0.75);
}

/* HEADINGS & TEXT */
.hero h1.gradient-text {
  font-size: 3.4rem;
  margin-bottom: 25px;
  line-height: 1.2;
}

.hero p.gradient-text {
  font-size: 1.3rem;
  margin-bottom: 45px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* BUTTON */
.hero .btn {
  background: rgba(255, 255, 255, 0.75);
  color: #0a3d62;
  font-weight: 700;
  border-radius: 50px;
  padding: 16px 48px;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
  z-index: 4;
}

.hero .btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
  background: rgba(255, 255, 255, 0.9);
}

/* DARK MODE BUTTON */
body.dark-mode .hero .btn {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

body.dark-mode .hero .btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ANIMATIONS */
@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes gradientText {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero h1.gradient-text { font-size: 2.8rem; }
  .hero p.gradient-text { font-size: 1.2rem; }
}

@media (max-width: 768px) {
  .hero h1.gradient-text { font-size: 2.1rem; }
  .hero p.gradient-text { font-size: 1rem; }
}

/* === FEATURES === */
.features {
  padding: 140px 20px;
  background: linear-gradient(180deg, #f5f7fa, #ffffff);
}

body.dark-mode .features {
  background: #1a2b3c;
}

.features .section-title {
  text-align: center;
  margin-bottom: 70px;
}

.features .section-title h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #0a3d62;
  position: relative;
}

.features .section-title h2::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 5px;
  background: linear-gradient(90deg, #1a6f8c, #ffd700);
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 3px;
}

.feature-card {
  text-align: center;
  border-radius: 30px;
  padding: 60px 35px;
  background: #fff;
  transition: all 0.5s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

body.dark-mode .feature-card {
  background: #223344;
  color: #e0e0e0;
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  background: #fafafa;
}

body.dark-mode .feature-card:hover {
  background: #2b3c4e;
}

.feature-icon {
  font-size: 3.5rem;
  color: #1a6f8c;
  margin-bottom: 30px;
  transition: transform 0.3s ease;
}

body.dark-mode .feature-icon {
  color: #4da8da;
}

.feature-card:hover .feature-icon {
  transform: rotate(10deg) scale(1.15);
}

.feature-card h5 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0a3d62;
  margin-bottom: 18px;
}

body.dark-mode .feature-card h5 {
  color: #e0e0e0;
}

.feature-card p {
  color: #666;
  font-size: 1.05rem;
  line-height: 1.7;
}

body.dark-mode .feature-card p {
  color: #ccc;
}

/* === WHO USES === */
.who-uses {
  padding: 140px 20px;
  background: linear-gradient(135deg, #e9f0f4, #d3e0ea);
}

body.dark-mode .who-uses {
  background: #15232d;
}

.who-uses .section-title {
  text-align: center;
  margin-bottom: 60px;
}

.who-uses ul {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto;
}

.who-uses li {
  margin: 18px 0;
  font-size: 1.15rem;
  color: #333;
  padding-left: 40px;
  position: relative;
}

body.dark-mode .who-uses li {
  color: #d0d0d0;
}

.who-uses li::before {
  content: "★";
  color: #ffd700;
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scale(0.9);
  animation: pulseStar 2s infinite;
}

@keyframes pulseStar {
  0% { transform: translateY(-50%) scale(0.9); }
  50% { transform: translateY(-50%) scale(1.1); }
  100% { transform: translateY(-50%) scale(0.9); }
}

/* === HOW IT WORKS === */
.how-it-works {
  padding: 140px 20px;
  background: #fff;
}

body.dark-mode .how-it-works {
  background: #1a2b3c;
}

.how-it-works .section-title {
  text-align: center;
  margin-bottom: 70px;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 35px;
}

.step {
  flex: 1 1 300px;
  background: #fff;
  border-radius: 25px;
  padding: 50px;
  text-align: center;
  transition: all 0.5s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  border-top: 6px solid #1a6f8c;
}

body.dark-mode .step {
  background: #223344;
  color: #e0e0e0;
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.step:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.step-number {
  background: linear-gradient(135deg, #0a3d62, #1a6f8c);
  color: #fff;
  font-weight: 800;
  font-size: 1.5rem;
  width: 60px;
  height: 60px;
  line-height: 60px;
  margin: 0 auto 25px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

body.dark-mode .step-number {
  color: #4da8da;
}

.step h6 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0a3d62;
  margin-bottom: 18px;
}

body.dark-mode .step h6 {
  color: #e0e0e0;
}

.step p {
  color: #666;
  font-size: 1.05rem;
  line-height: 1.8;
}

body.dark-mode .step p {
  color: #ccc;
}

/* === STATS === */
.stats {
  background: linear-gradient(135deg, #0a3d62, #1a6f8c);
  color: #fff;
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  width: 400%;
  height: 400%;
  top: -150%;
  left: -150%;
  background: radial-gradient(circle at 60% 40%, rgba(255, 215, 0, 0.1), transparent 70%);
  animation: swirlGlow 15s linear infinite;
  z-index: 0;
}

@keyframes swirlGlow {
  from { transform: rotate(0deg) scale(1); }
  to { transform: rotate(360deg) scale(1.1); }
}

.stat-item {
  padding: 25px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  transition: transform 0.4s ease;
}

body.dark-mode .stat-item {
  background: rgba(255, 255, 255, 0.04);
}

.stat-item:hover {
  transform: scale(1.1);
}

.stat-item h2 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 15px;
  color: #ffd700;
}

body.dark-mode .stat-item h2 {
  color: #e0e0e0;
}

.stat-item p {
  font-size: 1.2rem;
  opacity: 0.9;
}

body.dark-mode .stat-item p {
  color: #e0e0e0;
}

/* === CTA === */
.cta {
  background: linear-gradient(135deg, #0a3d62, #1a6f8c);
  color: #fff;
  text-align: center;
  padding: 140px 20px;
  border-radius: 90px 90px 0 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.2), transparent 70%);
  animation: rippleEffect 6s ease-in-out infinite;
  z-index: 0;
}

@keyframes rippleEffect {
  0% { transform: scale(0.8); opacity: 0.4; }
  50% { transform: scale(1.2); opacity: 0.2; }
  100% { transform: scale(0.8); opacity: 0.4; }
}

.cta h2 {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 25px;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
}

.cta p {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 850px;
  margin: 0 auto 50px;
}

.cta .btn {
  background: linear-gradient(90deg, #ffd700, #f0e68c);
  color: #0a3d62;
  border-radius: 35px;
  padding: 16px 45px;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
  transition: all 0.5s ease;
}

.cta .btn:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
  background: #f0e68c;
}

/* === NOTIFICATION DROPDOWN === */

.notif-time {
  font-size: 0.75rem;
  color: #6c757d;
}

.notification-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  background: var(--bs-danger);
}

.notif-header,
.notif-footer {
  background-color: #fff;
}

body.dark-mode .notif-header,
body.dark-mode .notif-footer {
  background-color: #212529;
  border-bottom: 1px solid #343a40;
  border-top: 1px solid #343a40;
}

.notif-header h6 {
  font-size: 0.9rem;
  letter-spacing: -0.2px;
}

.notif-footer a {
  font-size: 0.85rem;
}

body.dark-mode .notif-link {
  color: #f8f9fa;
}

/* === DARK MODE BUTTON === */
.dark-mode-btn-dark {
  color: #333;
}

body.dark-mode .dark-mode-btn-dark {
  background-color: #222;
  color: #fff;
}

body.dark-mode .dark-mode-text-light {
  color: #ddd;
}

/* === CHOICES DROPDOWN === */
.choices .choices__inner {
  background-color: #fff;
  color: #212529;
  border: 1px solid #ced4da;
}

body.dark-mode .choices .choices__inner,
body.dark-mode .choices-dark .choices__inner,
body.dark-mode .choices-dark .choices__input,
body.dark-mode .choices-dark .choices__list--dropdown,
body.dark-mode .choices-dark .choices__list[aria-expanded] {
  background-color: #212529;
  color: #f8f9fa;
  border: 1px solid #444;
}

body.dark-mode .choices .choices__list--dropdown,
body.dark-mode .choices .choices__item--selectable {
  background-color: #2b2b2b;
  color: #f8f9fa;
}

body.dark-mode .choices .choices__item--selectable:hover,
body.dark-mode .choices-dark .choices__item--selectable.is-highlighted {
  background-color: #343a40;
  color: #fff;
}

#service-icon {
  vertical-align: middle;
}

/* === TABLE STYLING === */
.custom-table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: 1rem 0;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background-color: var(--bg-color);
  color: var(--text-color);
}

.custom-table {
  width: 100%;
  min-width: 768px;
  border-collapse: collapse;
  color: inherit;
}

.custom-table th,
.custom-table td {
  padding: 0.75rem;
  text-align: center;
  white-space: nowrap;
  border: 1px solid var(--border-color);
}

.custom-table thead {
  background-color: var(--header-bg);
  color: var(--header-text);
}

.custom-table tbody tr:nth-child(even) {
  background-color: var(--row-alt);
}

.custom-table tbody tr:hover {
  background-color: var(--row-hover);
}

/* === BUTTONS === */
.btn-sm {
  padding: 4px 8px;
  font-size: 13px;
  background-color: #b6b3b3;;
  border: 1px solid #aaa;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-sm:hover {
  background-color: #ddd;
}

body.dark-mode .btn-sm {
  background-color: #333;
  color: #ddd;
  border-color: #555;
}

body.dark-mode .btn-sm:hover {
  background-color: #444;
}

body.dark-mode .btn-outline-primary {
  color: #f8f9fa;
  border-color: #6c757d;
}

body.dark-mode .btn-outline-primary:hover {
  background-color: #343a40;
  color: #f8f9fa;
  border-color: #f8f9fa;
}

/* === STATUS AND ICONS === */
.status.success {
  color: green;
  font-size: 1.2rem;
}

body.dark-mode .bi {
  color: #f8f9fa;
}

.bg-success {
  background-color: #28a745;
}

/* === DROPDOWN MENU === */
body.dark-mode .dropdown-menu {
  background-color: #2c2c2c;
  border: 1px solid #444;
}

body.dark-mode .dropdown-item {
  color: #e0e0e0;
}

body.dark-mode .dropdown-item:hover {
  background-color: #3a3a3a;
  color: #ffffff;
}

@media (max-width: 768px) {
  .dropdown-item {
    font-size: 13px;
  }
}

/* === NAV TABS === */
.nav-tabs {
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 0;
}

.nav-tabs .nav-item {
  margin-bottom: -1px;
}

.nav-tabs .nav-link {
  border: 1px solid transparent;
  margin-right: 0;
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
}

.nav-tabs .nav-link.active {
  border-color: var(--border-color) var(--border-color) var(--bg-color);
  background-color: var(--bg-color);
  color: var(--text-color);
}

.tab-content {
  border: 1px solid var(--border-color);
  border-top: none;
  padding: 1rem;
  border-bottom-left-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
}

.tab-pane {
  padding: 0;
}

/* === MODERN CARD === */
.card-modern {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  backdrop-filter: blur(14px);
}

.card-modern:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.card-header-modern {
  background: linear-gradient(135deg, #0d6efd, #198754);
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  text-align: center;
  padding: 1.3rem 1rem;
}

.card-header-modern h3 {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.btn-modern {
  background: linear-gradient(135deg, #0d6efd, #198754);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  width: 100%;
  transition: all 0.3s ease;
}

.btn-modern:hover {
  background: linear-gradient(135deg, #198754, #0d6efd);
  transform: scale(1.02);
}

/* === SPINNER === */
.spinner-border {
  width: 1.3rem;
  height: 1.3rem;
}

/* === LINKS === */
.text-link {
  color: #0d6efd;
  text-decoration: none;
  font-weight: 600;
}

.text-link:hover {
  color: #198754;
  text-decoration: underline;
}

/* === ANIMATIONS === */
.fade-in {
  animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}
/* notification */
#modalMessage p a{
  text-decoration: none !important; /* Force no underline */
  color: inherit; /* Keep original text color */
}