:root {
  --primary-color: #00b8d4;
  --secondary-color: #f8f9fa;
}

body {
  background-color: #f8f9fa;
}
a {
  color: var(--primary-color);
  text-decoration: none;
}
a:hover,
a:focus {
  text-decoration: none;
}
.navbar-brand img {
  height: 40px;
}
.custom-btn {
  padding: 5px 15px;
  border-radius: 6px;
  outline: none;
  font-size: 18px;
  font-weight: 600;
}
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  &:hover {
    background-color: #000;
  }
}
.blue-btn {
  background-color: var(--primary-color);
  border: 1px solid var(--primary-color);
  color: #fff;
}
.white-btn {
  border: 1px solid #000;
  color: #000;
  background-color: #fff;
}
.black-btn {
  background-color: #000;
  color: #fff;
  border: 1px solid transparent;
  &:hover {
    border: 1px solid #000;
  }
}

.nav-pills .nav-link.active {
  background-color: var(--primary-color);
}

.card {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 100%; /* Make all cards take full height of their container */
  display: flex;
  flex-direction: column;
}

.card-img-top {
  height: 180px;
  object-fit: contain;
  background-color: #fff;
  padding: 20px;
}

.card-body {
  flex: 1; /* Allow card body to grow and fill available space */
  display: flex;
  flex-direction: column;
}

.card-text {
  flex-grow: 1; /* Allow text to expand */
}

.badge-funding {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #ff5252;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
}

.badge-category {
  background-color: #ff5252;
  color: white;
}

.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.section-heading {
  margin: 30px 0 20px;
  font-weight: 600;
}

.pagination-dots {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.pagination .page-item.disabled {
  background-color: #ddd;
}
.pagination .page-item .page-link {
  border-color: #000;
  color: #000;
  &:hover {
    background-color: #000;
    color: #fff;
  }
}
.pagination .page-item.active .page-link {
  border-color: #000;
  background-color: #000;
  color: #fff;
}

/* custom pagination bullets style */
.swiper {
  padding-bottom: 50px; /* space for bullets */
}

/* Pagination bullets */
.swiper-pagination-bullet {
  width: 10px !important;
  height: 10px !important;
  background-color: #ccc !important;
  opacity: 1 !important;
  margin: 0 6px !important;
  border-radius: 50% !important;
  transition: background-color 0.3s ease !important;
  position: static !important;
}

/* Active bullet */
.swiper-pagination-bullet-active {
  background-color: #00c4d6 !important; /* cyan blue as in image */
}

/* Center pagination */
.swiper-pagination {
  bottom: 10px !important;
  text-align: center !important;
  position: static !important;
}

.dot {
  height: 10px;
  width: 10px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  margin: 0 5px;
}

.dot.active {
  background-color: var(--primary-color);
}

.footer {
  background-color: var(--primary-color);
  color: white;
  padding: 20px 0;
  margin-top: 30px;
}

/* Make primary text fully white for better contrast */
.footer h5,
.footer .text-white {
  color: #ffffff !important;
}

/* Brighten up secondary text for better readability */
.footer .text-white-50 {
  color: rgba(255, 255, 255, 0.8) !important; /* Increased from 0.5 to 0.8 */
}

.footer a.text-white-50 {
  transition: color 0.2s ease;
}

.footer a.text-white-50:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
}

/* Improve social icon contrast */
.social-block {
  column-gap: 10px;
  .social-link {
    width: 35px;
    height: 35px;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    border-radius: 50%;
    transition: 0.5s all ease;
    &:hover {
      background-color: var(--primary-color);
    }
  }
}
.social-icon {
  background-color: rgba(255, 255, 255, 0.3); /* Brightened background */
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  font-size: 18px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  background-color: white;
  color: var(--primary-color);
  transform: translateY(-3px);
}

.sector-badge {
  margin-right: 5px;
  margin-bottom: 5px;
  display: inline-block;
}

/* If you're using Bootstrap row/col system, add this to the column containing cards */
.card-container {
  margin-bottom: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Sticky Header Styles */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  width: 100%;
  transition: all 0.3s ease;
}

/* Header shadow increases on scroll */
.sticky-header.scrolled .navbar {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Compact mode when scrolled */
.sticky-header.scrolled .navbar-brand img {
  height: 35px;
  transition: height 0.3s ease;
}

.sticky-header.scrolled .navbar {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

/* Hide subheader when scrolled for more compact experience */
.sticky-header.scrolled .subheader {
  display: none;
}

/* User-friendly navigation */
.navbar-nav .nav-link {
  position: relative;
  padding: 0.5rem 1rem;
  font-weight: 500;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 80%;
  left: 10%;
}
.nav-link.dropdown-toggle {
  padding-right: 15px !important;
  margin-right: 10px;
}
.nav-link.dropdown-toggle::after {
  position: absolute;
  right: 0;
  top: 55%;
  transform: translateY(-50%);
  height: 2px !important;
  width: 7px !important;
  left: auto !important;
}
.nav-link.dropdown-toggle:hover::after,
.nav-link.dropdown-toggle.active::after {
  width: auto !important;
  left: auto !important;
}

.navbar-nav .nav-link.active {
  color: var(--primary-color);
}

/* Search form enhancements */
.search-form .form-control {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: 0;
  width: 180px;
}

.search-form .form-control:focus {
  box-shadow: none;
  border-color: #ddd !important;
  background-color: transparent !important;
}
.form-control:hover {
  box-shadow: none;
}
.form-control:focus {
  box-shadow: none;
  border-color: #000;
}

.search-form .btn {
  border-radius: 50% !important;
  left: -15px;
  border: none !important;
  background: #000 !important;
  color: #fff !important;
}
.search-form .btn:hover {
  background: var(--primary-color) !important;
  color: #fff !important;
}

/* User actions */
.user-actions .dropdown-toggle::after {
  margin-left: 0.5rem;
}

.user-actions .dropdown-menu {
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  border: none;
  padding: 0.5rem 0;
  z-index: 1040; /* Higher than sticky header and navigation */
}

.user-actions .dropdown-item {
  padding: 0.5rem 1.5rem;
}

.user-actions .invest-btn {
  padding: 0.5rem 1.25rem;
  font-weight: 500;
}

/* Alternative dark footer style if needed */
/* 
.footer {
    background-color: #1a1a1a; 
    color: white;
}
*/

/* Filter button responsive styles */
@media (max-width: 767.98px) {
  .filter-buttons-container .btn {
    padding: 0.5rem; /* Larger touch targets */
    min-height: 45px;
  }
}

/* Improve filter form on very small screens */
@media (max-width: 575.98px) {
  .filter-form .input-group {
    flex-direction: column;
  }

  .filter-form .input-group > * {
    width: 100%;
    margin-right: 0;
    margin-bottom: 0.5rem;
    border-radius: 0.25rem !important;
  }

  /* Reset border radius on small screens */
  .filter-form .input-group-text,
  .filter-form .form-control {
    border-radius: 0.25rem;
  }
}

/* Enhanced Responsive Navbar Styles */
@media (max-width: 991.98px) {
  /* Better touch targets on mobile */
  .navbar .nav-link {
    padding: 0.8rem 0;
  }

  /* Ensure dropdown menus are touch-friendly */
  .navbar .dropdown-item {
    padding: 0.75rem 1.5rem;
  }

  /* Better spacing for mobile navigation */
  .navbar-collapse {
    padding-top: 0.5rem;
    padding-bottom: 1rem;
  }

  /* Optimize search form on mobile */
  .search-form .input-group {
    width: 100%;
  }

  /* Better spacing for mobile navigation items */
  .navbar-nav .nav-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .navbar-nav .nav-item:last-child {
    border-bottom: none;
  }

  /* Larger touch targets for mobile */
  .navbar-nav .nav-link {
    padding-top: 0.8rem !important;
    padding-bottom: 0.8rem !important;
  }

  /* Smoother animations */
  .navbar-collapse {
    transition: all 0.3s ease;
    max-height: 80vh;
    overflow-y: auto;
  }

  /* Improve dropdown display on mobile */
  .navbar-nav .dropdown-menu {
    border: none;
    background-color: rgba(0, 0, 0, 0.03);
    padding-left: 2rem;
    box-shadow: none;
    margin-top: 0;
    margin-bottom: 0.5rem;
  }

  .navbar-nav .dropdown-item {
    padding-left: 0;
  }

  /* Mobile-friendly dropdown toggles */
  /* Reset the existing underline animation for mobile */
  .navbar-nav .nav-link::after {
    display: none;
  }

  /* Create new dropdown indicators for mobile */
  .navbar-nav .dropdown-toggle {
    position: relative;
  }

  /* Change plus to minus when expanded */
  .navbar-nav .dropdown-toggle[aria-expanded="true"]::after {
    content: "−";
    transform: translateY(-50%);
  }

  /* Proper padding for items with toggle */
  .navbar-nav .dropdown-toggle {
    padding-right: 40px !important;
  }

  /* Style the mobile dropdown menus */
  .navbar-nav .dropdown-menu {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: 10px;
    border-left: 2px solid var(--primary-color);
    background-color: rgba(0, 0, 0, 0.02);
  }
}

/* Enhanced Mobile Navigation Styles */
@media (max-width: 991.98px) {
  /* Reset the existing underline animation for mobile */
  .navbar-nav .nav-link::after {
    display: none;
  }

  /* Larger, more accessible tap targets */
  .navbar-nav .nav-item {
    margin: 4px 0;
  }

  .navbar-nav .nav-link {
    padding: 12px 15px !important;
    border-radius: 8px;
    font-weight: 500;
    background-color: rgba(0, 0, 0, 0.02);
  }

  /* Active state for mobile */
  .navbar-nav .nav-link.active {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--primary-color);
    border-left: 4px solid var(--primary-color);
  }

  /* Modern dropdown indicators */
  .navbar-nav .dropdown-toggle {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .navbar-nav .dropdown-toggle::after {
    content: "\002B";
    position: static;
    border: none;
    width: 24px !important;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.2s ease;
    margin-left: 0;
  }

  /* Expanded state */
  .navbar-nav .dropdown-toggle[aria-expanded="true"] {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
  }

  .navbar-nav .dropdown-toggle[aria-expanded="true"]::after {
    content: "\2212"; /* Minus sign */
    background-color: var(--primary-color);
    color: white;
    transform: rotate(180deg);
  }

  /* Animated dropdown menus */
  .navbar-nav .dropdown-menu {
    padding: 5px;
    background-color: rgba(0, 0, 0, 0.02);
    border: none;
    border-radius: 8px;
    margin: 2px 0;
    box-shadow: none;
    animation: fadeInDown 0.3s ease;
  }

  .navbar-nav .dropdown-item {
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 2px;
    transition: background-color 0.2s ease;
  }

  .navbar-nav .dropdown-item:active,
  .navbar-nav .dropdown-item:focus {
    background-color: var(--primary-color);
    color: white;
  }

  /* Visual divider for items */
  .navbar-nav .nav-item:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  /* Fade-in animation for dropdown */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* Keep the desktop hover effect */
@media (min-width: 992px) {
  .navbar-expand-lg .navbar-collapse {
    justify-content: space-between;
  }
  .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
  }

  .navbar-nav .nav-link:hover::after,
  .navbar-nav .nav-link.active::after {
    width: 80%;
    left: 10%;
  }

  /* Reset the mobile styles for desktop */
  .navbar-nav .dropdown-toggle::after {
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-left: 0.3em solid transparent;
    width: auto;
    height: auto;
    background-color: transparent;
    display: inline-block;
    margin-left: 0.255em;
  }

  .navbar-nav .nav-item {
    margin: 0;
    border-bottom: none;
  }

  .navbar-nav .nav-link {
    background-color: transparent;
    border-left: none;
    border-radius: 0;
  }
}

/* Improve active state visibility */
.navbar-nav .nav-link.active {
  position: relative;
  font-weight: 500;
}

.navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  display: block;
}

@media (max-width: 991.98px) {
  .navbar-nav .nav-link.active::after {
    width: 4px;
    height: 100%;
    left: -10px;
    bottom: 0;
  }
}

/* Profile Page Specific Styles - Improved Padding & Margins */

/* Profile Header Section */
.profile-header {
  padding: 2rem 0 3rem 0;
}

.profile-header .profile-image {
  margin-bottom: 1.5rem;
}

.profile-header h1 {
  margin-bottom: 0.75rem;
}

.profile-header .text-muted {
  margin-bottom: 1rem;
}

.profile-header .badge {
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.profile-header .lead {
  margin-bottom: 0;
  line-height: 1.6;
}

/* Main Content Section */
.profile-content {
  padding: 3rem 0 4rem 0;
}

/* Left Navigation Improvements */
.profile-nav {
  position: sticky;
  top: 160px; /* Account for header (~90px) + breadcrumb (~50px) + buffer (~20px) */
  z-index: 1020;
  max-height: calc(100vh - 180px);
  overflow-y: auto;
  transition: all 0.3s ease;
  /* Ensure sticky navigation never overlaps with header/breadcrumb */
  min-height: 0; /* Reset any conflicting min-height */
}

/* Force sticky positioning below header and breadcrumb */
.sticky-header + * .profile-nav,
.profile-content .profile-nav {
  top: max(
    160px,
    calc(var(--header-height, 90px) + var(--breadcrumb-height, 50px) + 20px)
  ) !important;
}

/* Override for scrolled state */
.sticky-header.scrolled ~ .profile-content .profile-nav {
  top: max(
    130px,
    calc(
      var(--header-height-scrolled, 70px) + var(--breadcrumb-height, 50px) +
        15px
    )
  ) !important;
}

.profile-nav .card {
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.075);
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.1);
  border-radius: 0.75rem;
  background-color: #ffffff;
}

.profile-nav .nav-pills .nav-link {
  padding: 0.875rem 1.25rem;
  margin-bottom: 0.25rem;
  border-radius: 0;
  color: #6c757d;
  font-weight: 500;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.profile-nav .nav-pills .nav-link:first-child {
  border-top-left-radius: 0.75rem;
  border-top-right-radius: 0.75rem;
}

.profile-nav .nav-pills .nav-link:last-child {
  border-bottom-left-radius: 0.75rem;
  border-bottom-right-radius: 0.75rem;
  margin-bottom: 0;
}

.profile-nav .nav-pills .nav-link:hover {
  background-color: rgba(var(--bs-primary-rgb), 0.1);
  color: var(--primary-color);
  border-left-color: var(--primary-color);
}

.profile-nav .nav-pills .nav-link.active {
  background-color: var(--primary-color);
  color: white;
  border-left-color: var(--primary-color);
  box-shadow: 0 2px 4px rgba(0, 184, 212, 0.3);
}

/* Content Area Cards */
.profile-card {
  margin-bottom: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.075);
}

.profile-card .card-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.075);
}

.profile-card .card-body {
  padding: 1.5rem;
}

.profile-card .card-footer {
  padding: 1rem 1.5rem;
  background-color: rgba(248, 249, 250, 0.5);
  border-top: 1px solid rgba(0, 0, 0, 0.075);
}

/* Form Elements Spacing */
.profile-form .row {
  margin-bottom: 1.5rem;
}

.profile-form .row:last-child {
  margin-bottom: 0;
}

.profile-form .form-label {
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.profile-form h6 {
  margin-bottom: 0.25rem;
}

.profile-form .badge {
  margin-top: 0.25rem;
}

/* Investment Preferences Spacing */
.investment-preferences h5 {
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.investment-preferences h5:first-child {
  margin-top: 0;
}

.investment-preferences .badge {
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  padding: 0.5rem 0.75rem;
  background-color: var(--primary-color);
  &.white-btn {
    background-color: transparent;
  }
}

.investment-preferences .form-check {
  margin-bottom: 0.75rem;
  padding-left: 1.75rem;
}

.investment-preferences .form-range {
  margin: 1rem 0;
}

/* Security Section Spacing */
.security-form .form-group {
  margin-bottom: 1.5rem;
}

.security-form .input-group {
  margin-bottom: 0.5rem;
}

.security-form .progress {
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
}

.security-form small {
  margin-bottom: 1rem;
  display: block;
}

.security-form hr {
  margin: 2rem 0;
}

.security-session-card {
  margin-bottom: 1rem;
}

.security-session-card .card-body {
  padding: 1rem 1.25rem;
}

/* Notifications Section */
.notification-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
}

.notification-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

.notification-item p {
  margin-bottom: 0.25rem;
}

.notification-item small {
  margin-bottom: 0;
}

.notification-frequency .form-check {
  margin-bottom: 0.75rem;
  padding-left: 1.75rem;
}

/* Connected Accounts */
.connected-account {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
}

.connected-account:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.connected-account .bi {
  margin-right: 1rem;
}

.connected-account h6 {
  margin-bottom: 0.25rem;
}

.connected-account small {
  margin-bottom: 0;
}

/* Modal Improvements */
.modal-body {
  padding: 1.5rem;
}

.modal-body .profile-image-preview {
  margin-bottom: 1.5rem;
}

.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.075);
}

/* Breadcrumb Section */
.breadcrumb-section {
  padding: 0.75rem 0;
  position: relative;
  z-index: 1030; /* Higher than profile-nav z-index */
  background-color: #f8f9fa; /* Ensure solid background */
}

.breadcrumb-section .breadcrumb {
  margin-bottom: 0;
}

.breadcrumb-section .badge {
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  padding: 0.375rem 0.75rem;
}

/* Adjust sticky position when header is scrolled */
.sticky-header.scrolled ~ .profile-content .profile-nav {
  top: 130px; /* Reduced header (~70px) + breadcrumb (~45px) + buffer (~15px) */
}

/* Responsive sticky behavior */
@media (max-width: 991.98px) {
  .profile-nav {
    position: static;
    top: auto;
    max-height: none;
    overflow-y: visible;
    margin-bottom: 2rem;
  }

  .profile-nav .nav-pills {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    white-space: nowrap;
  }

  .profile-nav .nav-pills .nav-link {
    white-space: nowrap;
    margin-right: 0.5rem;
    margin-bottom: 0;
    border-radius: 0.5rem;
    border-left: none;
    min-width: auto;
  }

  .profile-nav .nav-pills .nav-link:first-child,
  .profile-nav .nav-pills .nav-link:last-child {
    border-radius: 0.5rem;
  }
}

/* Scrollbar styling for webkit browsers */
.profile-nav::-webkit-scrollbar {
  width: 4px;
}

.profile-nav::-webkit-scrollbar-track {
  background: transparent;
}

.profile-nav::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 2px;
}

.profile-nav::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

/* Add smooth transitions for tab content */
.tab-content {
  transition: opacity 0.2s ease-in-out;
}

.tab-pane {
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

.tab-pane.active {
  opacity: 1;
}

/* =============================================================================
   TAB FUNCTIONALITY FIXES
   ============================================================================= */

/* Tab content sections */
#trending-deals,
#new-deals,
#profitable-deals,
#closing-soon {
  transition: opacity 0.3s ease-in-out;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced tab navigation */
.deal-category-nav .nav-link {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  color: #000;
  &:hover {
    color: var(--primary-color);
  }
}

.deal-category-nav .nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.deal-category-nav .nav-link:hover::before {
  left: 100%;
}

.deal-category-nav .nav-link.active {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Tab content loading state */
.tab-content-loading {
  opacity: 0.6;
  pointer-events: none;
  position: relative;
}

.tab-content-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Improve mobile tab navigation */
@media (max-width: 767.98px) {
  .deal-category-nav .nav-link {
    font-size: 0.8rem;
    padding: 0.6rem 0.8rem;
  }

  .deal-category-nav .badge {
    font-size: 0.6rem;
    padding: 2px 4px;
  }
}

/* Tab transition effects */
.section-fade-in {
  animation: sectionSlideIn 0.6s ease-out;
}

@keyframes sectionSlideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Active tab indicator */
.deal-category-nav .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

/* Ensure proper spacing for tab sections */
.tab-section {
  margin-bottom: 3rem;
  min-height: 400px;
}

/* Hide sections by default except trending */
#new-deals,
#profitable-deals,
#closing-soon {
  display: none;
}

#trending-deals {
  display: block;
}

/* =============================================================================
   ENHANCED FEATURED DEALS CAROUSEL
   ============================================================================= */

/* Featured section header */
.featured-section {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 10px 15px 20px 15px;
}

.featured-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  /* background: conic-gradient(
    from 0deg,
    transparent,
    rgba(255, 215, 0, 0.1),
    transparent
  ); */
  background: conic-gradient(from 0deg, #ddd, gold, #ddd);

  animation: rotateGradient 20s linear infinite;
  z-index: -1;
}

@keyframes rotateGradient {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Enhanced carousel styling */
#featuredDealsCarousel {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  position: relative;
}
.feature-carousel .carousel-inner {
  background-color: #fff;
}

/* #featuredDealsCarousel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 50%,
    rgba(255, 255, 255, 0.1) 100%
  );
  pointer-events: none;
  z-index: 1;
} */

/* Carousel item enhancements */
.carousel-item .card {
  border: none;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transform: scale(1);
  transition: transform 0.3s ease;
  min-height: 420px;
  height: 420px;
}

.carousel-item .card-body {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.carousel-item .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.8s ease;
  z-index: 1;
}

.carousel-item:hover .card {
  transform: scale(1.02);
}

.carousel-item:hover .card::before {
  left: 100%;
}

/* Enhanced progress circles */
.progress-circle {
  position: relative;
  display: inline-block;
}

.progress-circle svg {
  transform: rotate(-90deg);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.progress-circle .progress-ring {
  stroke-dasharray: 439.6;
  stroke-dashoffset: 439.6;
  animation: fillProgress 2s ease-out forwards;
}

@keyframes fillProgress {
  to {
    stroke-dashoffset: var(--progress-offset);
  }
}

.progress-circle .progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Animated counters */
.counter {
  display: inline-block;
}

.counter-value {
  animation: countUp 2s ease-out forwards;
}

@keyframes countUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Enhanced badges */
.deal-badge {
  position: relative;
  overflow: hidden;
  animation: pulseGlow 2s ease-in-out infinite;
}

.deal-badge::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.8), 0 0 30px rgba(255, 193, 7, 0.4);
  }
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

/* Investment metrics enhancement */
.investment-metrics {
  position: relative;
}

.metric-item {
  transition: all 0.3s ease;
  position: relative;
}

.metric-item:hover {
  transform: translateY(-3px);
}

.metric-item::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.5);
  transition: width 0.3s ease;
}

.metric-item:hover::after {
  width: 100%;
}

/* Real-time update indicator */
.live-indicator {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.7);
  padding: 5px 10px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.live-indicator .pulse-dot {
  width: 8px;
  height: 8px;
  background: #ff4757;
  border-radius: 50%;
  animation: livePulse 1.5s ease-in-out infinite;
  margin-right: 5px;
  display: inline-block;
}

.live-indicator small {
  color: white;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

@keyframes livePulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.2);
  }
}

/* Live status indicator for header (non-absolute positioning) */
.live-status-indicator {
  /* background: rgba(255, 255, 255, 0.1); */
  background-color: #fff;
  padding: 5px 10px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.live-status-indicator .pulse-dot {
  width: 8px;
  height: 8px;
  background: #ff4757;
  border-radius: 50%;
  animation: livePulse 1.5s ease-in-out infinite;
  margin-right: 5px;
  display: inline-block;
}

.live-status-indicator small {
  color: #6c757d;
  font-weight: 500;
  white-space: nowrap;
}
.watchlist-btn {
  background: #fff;
}
.watchlist-btn:hover {
  background: var(--bs-primary);
}

/* Responsive adjustments for live status */
@media (max-width: 768px) {
  .live-status-indicator {
    padding: 3px 8px;
    font-size: 0.8rem;
  }

  .live-status-indicator .pulse-dot {
    width: 6px;
    height: 6px;
    margin-right: 3px;
  }
}

/* Enhanced carousel controls */
.carousel-control-prev,
.carousel-control-next {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.carousel-control-prev {
  left: -30px;
}

.carousel-control-next {
  right: -30px;
}

/* Enhanced carousel indicators */
.carousel-indicators {
  bottom: -60px;
}

.carousel-indicators [data-bs-target] {
  width: 60px;
  height: 4px;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  margin: 0 5px;
}

.carousel-indicators [data-bs-target].active {
  background: var(--primary-color);
  transform: scale(1.2);
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.4);
}

/* Time remaining urgency styling */
.time-urgency {
  position: relative;
}

.time-urgency.urgent {
  animation: urgentPulse 1s ease-in-out infinite;
}

@keyframes urgentPulse {
  0%,
  100% {
    color: inherit;
  }
  50% {
    color: #ff6b6b;
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
  }
}

/* Investment button enhancement */
.invest-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.invest-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.5s ease;
}

.invest-btn:hover::before {
  left: 100%;
}

.invest-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* =============================================================================
   ADDITIONAL ENHANCEMENTS FOR FEATURED SECTION
   ============================================================================= */

/* Metric highlights styling */
.metric-highlight {
  transition: all 0.3s ease;
  padding: 1rem;
  border-radius: 10px;
}

.metric-highlight:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.metric-highlight i {
  transition: all 0.3s ease;
}

.metric-highlight:hover i {
  transform: scale(1.1);
}

/* Modal enhancements */
.modal-content {
  border-radius: 15px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: none;
}

.modal-header {
  border-radius: 15px 15px 0 0;
  border-bottom: none;
}

.modal-footer {
  border-top: none;
  border-radius: 0 0 15px 15px;
}

/* Enhanced form styling in modals */
.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.form-check-label {
  font-weight: 500;
}

/* Button hover effects in modals */
.modal .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Carousel pause indicator */
.carousel-paused::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  z-index: 2;
}

/* Loading states for real-time updates */
.loading-pulse {
  animation: loadingPulse 1.5s ease-in-out infinite;
}

@keyframes loadingPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Enhanced tooltips for featured section */
.tooltip-enhanced {
  position: relative;
  cursor: help;
}

.tooltip-enhanced::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.tooltip-enhanced:hover::after {
  opacity: 1;
}

/* Featured section responsiveness */
@media (max-width: 576px) {
  .featured-section .card-body {
    padding: 2rem !important;
  }

  .investment-metrics .col-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .progress-circle svg {
    width: 100px;
    height: 100px;
  }

  .metric-highlight {
    padding: 0.5rem;
    margin-bottom: 1rem;
  }
}

/* Featured section header responsive improvements */
@media (max-width: 991.98px) {
  .featured-section .d-flex.justify-content-between {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 1rem;
  }

  .featured-section .d-flex.align-items-center.gap-3 {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 575.98px) {
  .featured-section .d-flex.align-items-center.gap-3 {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .featured-section .section-heading {
    font-size: 1.25rem;
  }

  .featured-section .deal-badge {
    font-size: 0.65rem;
    padding: 2px 6px;
  }
}

/* =============================================================================
   ENHANCED BACKGROUND STYLING FOR FEATURED SECTIONS
   ============================================================================= */

/* Performance Highlights Card */
.performance-highlights-card {
  background: linear-gradient(
    135deg,
    #f8f9fa 0%,
    #e3f2fd 50%,
    #f3e5f5 100%
  ) !important;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
}

.performance-highlights-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(33, 150, 243, 0.05) 0%,
    transparent 30%,
    rgba(156, 39, 176, 0.05) 70%,
    transparent 100%
  );
  pointer-events: none;
}

.performance-highlights-card::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.3) 0%,
    transparent 70%
  );
  pointer-events: none;
  animation: floatingGlow 6s ease-in-out infinite;
}

@keyframes floatingGlow {
  0%,
  100% {
    transform: translate(-20px, -20px) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translate(20px, 20px) scale(1.1);
    opacity: 0.6;
  }
}

.performance-highlights-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.performance-highlights-card .card-title {
  color: #2c3e50;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.performance-highlights-card .metric-highlight {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.performance-highlights-card .metric-highlight:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Enhanced Stay Updated Card */
.stay-updated-card {
  background: linear-gradient(
    135deg,
    #28a745 0%,
    #20c997 50%,
    #17a2b8 100%
  ) !important;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.25);
  border-radius: 15px;
}

.stay-updated-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 50%,
    rgba(255, 255, 255, 0.1) 100%
  );
  pointer-events: none;
}

.stay-updated-card::after {
  content: "";
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: conic-gradient(
    from 0deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  animation: rotateBackground 15s linear infinite;
  pointer-events: none;
}

@keyframes rotateBackground {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.stay-updated-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(40, 167, 69, 0.4);
  transition: all 0.3s ease;
}

.stay-updated-card .card-body {
  position: relative;
  z-index: 1;
}

.stay-updated-card .btn-light {
  background: rgba(255, 255, 255, 0.95);
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.stay-updated-card .btn-light:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ==================
 Form Style (angshuman Roy
 ==========================*/
.form-group {
  padding-bottom: 14px;
  margin-bottom: 16px;
}
.form-group .frm-label,
.form-group label {
  font-size: 15px;
  font-weight: 600;
  color: #000;
  margin-bottom: 5px;
}
.frm-label {
  font-size: 15px;
  font-weight: 600;
  color: #000;
  margin-bottom: 5px;
}
.form-group .form-control {
  outline: none;
  border-radius: 5px;
  box-shadow: none;
  resize: none;
  font-weight: 400;
}

.form-group .form-control::placeholder {
  color: #a8a8a8;
}
.form-group input[type="checkbox"]:focus,
.form-group input[type="radio"]:focus {
  box-shadow: none;
}

.form-group .form-control:focus {
  outline: none;
  border-radius: 5px;
  box-shadow: none;
  border-color: rgba(0, 0, 0, 0.3);
}
.form-table {
  border-radius: 10px;
  border: 1px solid #ddd;
  background-color: #fff;
  overflow: hidden;
  margin-bottom: 30px;
}
.form-table table {
  margin-bottom: 0;
  border: 0px;
}
.form-table table thead tr th:first-child {
  border-top-left-radius: 10px;
}
.form-table table thead tr th:last-child {
  border-top-left-radius: 10px;
}
.form-table table tr {
  border: 0px;
}
.form-table table thead tr th {
  border-color: #ddd;
}
.form-table table tbody tr td {
  border: 0px;
}
/* =================
 Stepper Style (Angshuman Roy)
 ============================*/
.step {
  display: none;
}
.step.active {
  display: block;
}
.steps-indicator {
  display: flex;
  justify-content: center;
  align-items: stretch;
  overflow-x: auto;
  gap: 0;
  padding: 40px 0 50px 0;
  overflow: hidden;
  padding-right: 18px;
}

.arrow-step {
  position: relative;
  padding: 15px 30px;
  background: var(--primary-color);
  text-align: center;
  display: inline-block;
  white-space: nowrap;
  clip-path: polygon(
    0 0,
    calc(100% - 20px) 0,
    100% 50%,
    calc(100% - 20px) 100%,
    0 100%,
    20px 50%
  );
  margin-right: -18px; /* overlap for arrow tail */
  z-index: 1;
  transition: background 0.3s ease;
  width: 100%;
}

.arrow-step:not(.completed):not(.active)::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 0;
  width: 100%;
  height: 100%;
  clip-path: polygon(
    0 0,
    calc(100% - 20px) 0,
    100% 50%,
    calc(100% - 20px) 100%,
    0 100%,
    20px 50%
  );
  background-color: #fff;
}
.arrow-step-cont {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  column-gap: 10px;
}

.arrow-step .step-number {
  width: 40px;
  height: 100%;
  aspect-ratio: 1/1;
  background-color: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  flex-shrink: 0;
  font-weight: 600;
  font-size: 16px;
  color: #fff;
}
.arrow-step .step-title {
  font-size: 16px;
  line-height: 20px;
  color: #000;
  font-weight: 700;
  text-align: left;
}
.arrow-step small {
  font-size: 15px;
  color: #888;
}
.arrow-step.completed {
  background: #01c462;
}
.arrow-step.completed .step-title {
  color: #fff;
}
.arrow-step.completed .step-number {
  background-color: #fff;
  color: #000;
}
.arrow-step.active {
  background: var(--primary-color);
}
.arrow-step.active .step-title {
  color: #fff;
}
.arrow-step.active .step-number {
  background-color: #fff;
  color: #000;
}
.arrow-step.active::before {
  background-color: var(--primary-color);
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
/* ====================== 
Upload file Style 
==================================*/
.upload-files-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.drag-file-area {
  background-color: #fff;
  border: 2px dashed var(--primary-color);
  border-radius: 40px;
  margin: 10px 0 15px;
  padding: 30px 50px;
  width: 100%;
  text-align: center;
  position: relative;
  cursor: pointer;
}
.drag-file-area .upload-icon {
  font-size: 50px;
}
.drag-file-area h3 {
  font-size: 26px;
  margin: 15px 0;
}
.drag-file-area label {
  font-size: 19px;
}
.drag-file-area label .browse-files-text {
  color: var(--primary-color);
  font-weight: bolder;
  cursor: pointer;
}
.file-details {
  width: 110px;
  height: 110px;
  position: relative;
  margin: 0 auto 10px auto;
  figure {
    width: 100%;
    height: 100%;
    img {
      height: 100%;
      width: auto;
      object-fit: contain;
    }
  }
  .close-btn {
    position: absolute;
    right: -10px;
    top: 0;
  }
}
.browse-files {
  display: block;
}
.browse-files span {
  position: relative;
}
.default-file-input {
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

/* tabs style */
.tabs-header-wrap {
  background-color: var(--primary-color);
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  margin-bottom: 0;
  padding: 5px 5px 0 5px;
}
.tabs-header-wrap .nav-link {
  font-weight: 500;
  font-size: 16px;
  border: 0px;
  color: #fff;
}
.tabs-header-wrap .nav-link.active {
  border: 0px;
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(30px);
  color: #000;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}
.tabs-content-wrap {
  background-color: #fff;
  padding: 20px;
}

/* accordion style */
.custom-accordion-wrap .ui-accordion-header {
  background-color: #000;
  border-radius: 15px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  padding: 15px 10px;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
}
.custom-accordion-wrap .ui-accordion-header::after {
  content: "";
  width: 23px;
  background-position: center;
  height: 16px;
  background: url(../images/down-arrow.png) no-repeat;
  background-size: 100%;
  position: absolute;
  top: 17px;
  /* transform: translateY(-50%); */
  right: 10px;
  rotate: 0deg;
  transition: 0.5s all ease;
}
.custom-accordion-wrap .ui-accordion-header.ui-accordion-header-active {
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}
.custom-accordion-wrap .ui-accordion-header.ui-accordion-header-active::after {
  rotate: 180deg;
}
.custom-accordion-wrap .ui-accordion-content {
  margin-top: -22px;
  padding: 35px 15px 15px 15px;
  border: 1px solid #000;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  border-top: 0px solid;
  margin-bottom: 10px;
}
.custom-progressbar {
  height: 20px;
}
.custom-progressbar .progress-imp {
  background-color: var(--primary-color);
  color: #fff;
}
.progress-lessimp {
  background-color: #d2d2d2;
  color: #000;
}
.pdf-card-link {
  text-decoration: none;
}
.pdf-card-wrap {
  border: 1px solid rgba(0, 0, 0, 0.1);
  text-align: center;
  border-radius: 10px;
  padding: 10px;
  transition: 0.5s all ease;
  h4 {
    font-size: 16px;
    font-weight: 600;
    margin-top: 5px;
    color: #000;
    text-decoration: none;
  }
  &:hover {
    border-color: #ff3434;
  }
}

/* ================ 
founderbox style 
========================*/
.founderbox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  border: 0px solid #00000040;
  border-radius: 10px;
  background: #f2fcfe;
  padding: 10px;
  box-shadow: 1px 4px 11px 0px rgb(0 0 0 / 20%);
  margin-top: 1rem;
  position: relative;
}

.peoplebox {
  font-size: 15px;
  color: #171515c4;
  font-weight: 600;
}

.peoplebox strong {
  color: #000;
  font-weight: 800 !important;
  font-size: 13px;
  text-align: center;
}

.peoplebox {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.othersbox {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.othersbox h4 {
  font-size: 15px;
  font-weight: 600;
  color: #171515c4;
}

.iconfound {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.iconfound i {
  font-size: 20px;
}

.boxother {
  background-color: #00efffe3;
  padding: 5px 10px;
  border-radius: 5px;
  color: #000000;
  font-weight: 600;
}

.newgroupbox h5 {
  font-size: 40px;
}

.newgroupbox h5 {
  font-size: 30px;
  display: inline;
  border-bottom: 1px solid #cc3a3a;
  padding-bottom: 20px;
  width: 60%;
  text-align: center;
  color: rgba(var(--main-color), 1);
  font-weight: 700;
}

.ecboxsec {
  font-size: 30px;
  font-weight: 600;
  color: #03a8d3;
  margin-bottom: 2rem;
  text-align: center;
}

.bootbox {
  border: 0px solid #00000040;
  border-radius: 0px;
  background: #13b49749;
  padding: 8px 20px;
  /* box-shadow: 1px 4px 11px 0px rgb(0 0 0 / 20%); */
  margin-top: 1rem;
  color: #000;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  width: 200px;
}
.image-container {
  /* position: relative; */
  display: flex;
}

.team-photo {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  display: block;
}
.person-dot {
  /* position: absolute; */
  width: 30px;
  height: 30px;
  background: var(--primary-color);
  border: 3px solid white;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  font-size: 13px;
  align-items: center;
  justify-content: center;
}

.person-dot.dot-2 {
  margin-left: -10px;
}

.person-dot.dot-3 {
  margin-left: -10px;
}

.person-dot.dot-4 {
  margin-left: -10px;
}

.person-dot.active {
  background: rgba(var(--main-color), 1);
}

.person-dot i {
  color: white;
  font-size: 13px;
}

.info-popup {
  position: absolute;
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  min-width: 250px;
  opacity: 0;
  visibility: visible;
  transition: all 0.3s ease;
  z-index: 1000;
  border: 2px solid #03a8d3;
  min-height: 100px;
  z-index: 999;
}

.info-popup.show {
  opacity: 1;
  visibility: visible;
}

.info-popup::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 8px solid transparent;
}

.popup-name {
  font-weight: 700;
  color: #333;
  margin-bottom: 5px;
  font-size: 16px;
}

.popup-designation {
  color: #000000;
  margin-bottom: 15px;
  font-size: 14px;
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  background: #0077b5;
  color: white;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 8px;
  font-size: 14px;
  transition: transform 0.3s ease;
}

.linkedin-link:hover {
  color: white;
  transform: translateY(-2px);
}

.linkedin-link i {
  margin-right: 5px;
}

/* Position dots on the image - adjust these based on your photo */

/* Popup positions */
.popup-1 {
  bottom: 80%;
  left: 37%;
  transform: translateX(-50%);
  margin-bottom: 10px;
}

.popup-2 {
  bottom: 80%;
  left: 43%;
  transform: translateX(-50%);
  margin-bottom: 10px;
}

.popup-3 {
  bottom: 80%;
  left: 50%;

  transform: translateX(-50%);
  margin-bottom: 10px;
}

.popup-4 {
  bottom: 80%;
  left: 53%;

  transform: translateX(-50%);
  margin-bottom: 10px;
}

.close-btn {
  position: absolute;
  top: 5px;
  right: 10px;
  background: none;
  border: none;
  font-size: 18px;
  color: #999;
  cursor: pointer;
  display: none;
}
/* custom follow modal style */
.custom-modal .modal-body {
  padding: 0rem 1.2rem 1.2rem 1.2rem;
}
.proceed-custom-ol,
.proceed-custom-ul {
  position: relative;
  padding-left: 20px;
}
.proceed-custom-ol::after,
.proceed-custom-ul::after {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 10px;
  height: 10px;
  background-color: var(--primary-color);
  border-radius: 50%;
}
@media (max-width: 768px) {
  .team-section {
    padding: 20px;
  }

  .team-title {
    font-size: 1.5rem;
  }

  .person-dot {
    width: 25px;
    height: 25px;
  }

  .person-dot i {
    font-size: 13px;
  }

  .info-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    max-width: 90vw;
    z-index: 1050;
  }

  .info-popup::after {
    display: none;
  }

  .close-btn {
    display: block;
  }
}
.equitybox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin-bottom: 1rem;
}

/* Responsive adjustments */
@media (width <= 1399px) {
  .arrow-step .step-number {
    width: 30px;
    font-size: 14px;
  }

  .arrow-step .step-title {
    font-size: 14px;
  }
  .drag-file-area .upload-icon img {
    width: 50px;
  }
  .drag-file-area h3 {
    font-size: 22px;
  }
  .drag-file-area label {
    font-size: 17px;
  }
}
@media (width <= 1199px) {
  .navbar-nav .nav-link {
    font-size: 13px;
  }
  .search-form {
    margin-right: -15px;
  }
  .search-form .form-control {
    width: 140px;
    font-size: 13px;
  }
}
@media (width <= 991px) {
  .steps-indicator {
    flex-wrap: wrap;
  }
  .arrow-step {
    width: 33.3%;
  }

  .form-table {
    overflow-x: auto;
  }
  .form-table table {
    width: max-content;
  }
  .form-group {
    padding-bottom: 10px;
    margin-bottom: 9px;
  }
}
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .step-connector {
    display: none;
  }

  .form-content {
    padding: 6px;
  }

  .stepper-header {
    padding: 30px 20px;
  }

  .stepper-header h1 {
    font-size: 2rem;
  }

  .arrow-step {
    width: 50%;
  }
  .form-group .frm-label,
  .form-group label {
    font-size: 14px;
  }
  .frm-label {
    font-size: 14px;
  }
  .form-group .form-control {
    font-size: 14px;
  }
  .form-group .form-control::placeholder {
    font-size: 14px;
  }
  .steps-indicator {
    padding: 25px 12px 25px 0;
  }
  .drag-file-area .upload-icon img {
    width: 40px;
  }
  .drag-file-area h3 {
    font-size: 18px;
  }
  .drag-file-area label {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .performance-highlights-card,
  .stay-updated-card {
    margin-bottom: 1rem;
  }

  .performance-highlights-card .metric-highlight {
    padding: 1rem 0.5rem;
    margin-bottom: 1rem;
  }
}

/* Responsive height adjustments for carousel cards */
@media (max-width: 768px) {
  .carousel-item .card {
    min-height: 380px;
    height: auto;
  }

  .carousel-item .card-body {
    height: auto;
  }

  .carousel-item .row.h-100 {
    min-height: 300px;
  }
}

@media (max-width: 576px) {
  .carousel-item .card {
    min-height: 350px;
  }

  .carousel-item .progress-circle svg {
    width: 120px;
    height: 120px;
  }

  .carousel-item .progress-circle svg circle {
    r: 50;
    cx: 60;
    cy: 60;
  }

  .arrow-step {
    width: 100%;
  }
}

/* =============================================================================
   END ENHANCED BACKGROUND STYLING
   ============================================================================= */
