html,
body {
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
  color: #23272b;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

.page-flex {
  display: flex;
  min-height: 100vh;
}
.sidebar-fixed {
  width: 260px;
  flex-shrink: 0;
  z-index: 1020;
}
.main-wrapper {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.footer {
  background-color: #f8f9fa;
  padding: 20px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.social-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.social-link-block {
  margin: 0 10px;
}

.text-block-40 {
  text-align: center;
  margin-top: 10px;
}

.intro-section {
  padding: 60px 0;
}

.features-section {
  padding: 60px 0;
}

.cta-section-wh {
  background-color: #e9ecef;
  padding: 40px 0;
  text-align: center;
}

.cta-content h3 {
  margin-bottom: 20px;
}

.cta-content p {
  margin: 0;
}

.btn-login-corporate {
  background: transparent;
  color: #f8fafb !important;
  border: 2px solid #32c36c;
  padding: 0.55rem 1.6rem;
  font-size: 1rem;
  letter-spacing: 0.6px;
  border-radius: 50rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.btn-login-corporate::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #32c36c;
  z-index: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-in-out;
}

.btn-login-corporate:hover::before {
  transform: scaleX(1);
}

.btn-login-corporate span,
.btn-login-corporate i {
  position: relative;
  z-index: 1;
}

.btn-login-corporate:hover {
  color: #fff !important;
}

.trd-gradient-primary {
  background: linear-gradient(135deg, #23272b 0%, #343a40 100%);
  position: relative;
  overflow: hidden;
}

.trd-bg-pattern {
  position: absolute;
  inset: 0;
  background: url("https://www.transparenttextures.com/patterns/cubes.png");
  opacity: 0.08;
  z-index: 1;
  pointer-events: none;
}

.bg-opacity-10 {
  background-color: rgba(255, 255, 255, 0.13) !important;
}

.corporate-card {
  background: #fff;
  border-radius: 1.25rem !important;
  box-shadow: 0 2px 12px rgba(40, 60, 90, 0.07);
  border: 1px solid #e9ecef;
  transition: box-shadow 0.2s, transform 0.2s;
}

.corporate-card:hover {
  box-shadow: 0 8px 32px rgba(50, 195, 108, 0.12),
    0 1.5px 6px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px) scale(1.02);
}

.letter-spacing-1 {
  letter-spacing: 1px;
}

.text-primary {
  color: #32c36c !important;
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(30, 30, 30, 0.32) 0%,
    rgba(30, 30, 30, 0.07) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-title,
.hero-lead {
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6), 0 1.5px 6px rgba(0, 0, 0, 0.3);
}

.intro-bar {
  width: 100vw;
  min-width: 100%;
  background: linear-gradient(90deg, #23272b 0%, #343a40 100%);
  color: #fff;
  box-shadow: 0 2px 12px rgba(40, 60, 90, 0.07);
  border-bottom: 2px solid #32c36c;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.intro-bar-section {
  width: 100vw;
  min-width: 100%;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.intro-bar-content {
  max-width: 1600px;
  margin: 0 auto;
}

.intro-bar img {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.intro-bar-section .btn {
  font-size: 1.15rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.contact-img-full {
  height: 100% !important;
  min-height: 100% !important;
  object-fit: cover;
  display: block;
}

@media (min-width: 992px) {
  #contact .row.align-items-stretch {
    min-height: 420px;
  }
  #contact .col-lg-6.d-flex.align-items-stretch {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  #contact .contact-img-full {
    height: 100%;
    min-height: 100%;
    max-height: none;
  }
}

/* Ensure anchor links align properly on all screens */
section[id] {
  scroll-margin-top: 70px; /* Adjust to your header height */
}

@media (max-width: 767.98px) {
  section[id] {
    scroll-margin-top: 220px; /* More space for taller mobile navs */
  }
}

/* Team Card Styling */
.team-card {
  border-radius: 1.25rem;
  transition: transform 0.18s cubic-bezier(0.4, 2, 0.6, 1), box-shadow 0.18s;
  box-shadow: 0 6px 32px rgba(44, 62, 80, 0.1),
    0 1.5px 6px rgba(44, 62, 80, 0.08);
  background: #fff;
}
.team-card:hover {
  transform: translateY(-6px) scale(1.025);
  box-shadow: 0 12px 36px rgba(44, 62, 80, 0.16),
    0 3px 12px rgba(44, 62, 80, 0.1);
}
.team-card .bg-gradient {
  border-top-left-radius: 1.25rem;
  border-top-right-radius: 1.25rem;
}

/* Navbar custom styles */
.trd-navbar {
  font-family: "Segoe UI", "Roboto", Arial, sans-serif;
  letter-spacing: 0.5px;
}
.trd-navbar .navbar-brand img {
  transition: transform 0.18s;
}
.trd-navbar .navbar-brand:hover img {
  transform: scale(1.06) rotate(-2deg);
}
.trd-navbar .nav-link {
  color: #f8fafb !important;
  transition: color 0.15s;
  border-radius: 0.5rem;
  background: none !important;
}

.trd-navbar .nav-link.active,
.trd-navbar .nav-link:hover,
.trd-navbar .nav-link:focus {
  color: #dc3545 !important; /* Bootstrap danger color */
  background: none !important;
}
.trd-navbar-btn {
  background: linear-gradient(90deg, #32c36c 0%, #218c5a 100%);
  border: none;
  color: #fff !important;
  transition: background 0.18s, box-shadow 0.18s;
}
.trd-navbar-btn:hover,
.trd-navbar-btn:focus {
  background: linear-gradient(90deg, #218c5a 0%, #32c36c 100%);
  box-shadow: 0 4px 16px rgba(44, 62, 80, 0.12);
  color: #fff !important;
}

/* Footer custom styles */
.trd-footer h5 {
  letter-spacing: 1px;
}
.trd-footer .footer-link {
  color: #f8fafb;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.15s;
}
.trd-footer .footer-link:hover,
.trd-footer .footer-link:focus {
  color: #dc3545;
  text-decoration: underline;
}
.trd-footer ul {
  padding-left: 0;
}
.trd-footer li {
  list-style: none;
}

@media (max-width: 767.98px) {
  .trd-navbar .navbar-brand img {
    transition: transform 0.18s;
    margin-left: 30px;
  }
}

/* Section custom styles */
.glass-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.section-shadow {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.section-glow {
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(50, 195, 108, 0.25);
  background: linear-gradient(
    135deg,
    rgba(35, 39, 43, 0.95),
    rgba(52, 58, 64, 0.95)
  );
}

/* Corporate login modal (no background image) */
.form-container {
  width: 100%;
  max-width: 460px;
  padding: 24px 28px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.form-container .form-control {
  width: 100%;
  margin: 0 auto;
  padding: 12px 14px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ced4da;
  background-color: #edf4ff;
  color: #333;
  transition: all 0.2s ease;
}
.form-control {
  max-width: 250px;
}

.form-container .form-control:focus {
  border-color: #00b16a;
  box-shadow: 0 0 0 3px rgba(0, 177, 106, 0.15);
  background-color: #ffffff;
}

.login-btn {
  background-color: #00b16a !important;
  color: white;
  padding: 10px 32px;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: inline-block;
  margin: 0 auto;
}

.login-btn:hover {
  background-color: #007b3a !important;
  transform: scale(1.05);
}

@media (max-width: 991.98px) {
  .navbar-nav.mobile-nav-gap {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #343a40;
    background: #23272b;
    border-radius: 0 0 1rem 1rem;
    box-shadow: 0 4px 16px rgba(44, 62, 80, 0.1);
  }
  .navbar-nav.mobile-nav-gap .nav-link {
    color: #f8fafb !important;
    padding: 0.65rem 1.2rem;
    border-radius: 0.4rem;
    margin-bottom: 0.25rem;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: background 0.18s, color 0.18s;
    display: block;
    text-align: left;
  }
  .navbar-nav.mobile-nav-gap .nav-link.active,
  .navbar-nav.mobile-nav-gap .nav-link:focus,
  .navbar-nav.mobile-nav-gap .nav-link:hover {
    background: #dc3545 !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.1);
  }
  .navbar-nav.mobile-nav-gap .nav-item:not(:last-child) {
    border-bottom: 1px solid #343a40;
  }
}

@media (max-width: 991.98px) {
  .sidebar-fixed {
    display: none !important; /* Ensure the desktop sidebar is hidden */
  }

  .content-area {
    margin-left: 0 !important; /* Adjust content area for mobile */
  }
}

.navbar-brand.d-lg-none {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(
    -50%,
    -50%
  ); /* Center both horizontally and vertically */
  z-index: 1;
}

.navbar-brand img {
  max-width: 100%; /* Ensure logo fits within the navbar */
  height: auto; /* Maintain aspect ratio */
}

.scrollable-modal-body {
  max-height: 400px; /* Set the maximum height for the modal body */
  overflow-y: auto; /* Enable vertical scrolling */
}

.status-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  z-index: 9999;
  position: relative;
  border: 1px solid black; /* Debug border */
}

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

.bg-danger {
  background-color: #dc3545; /* Red */
}
