html, body {
  height: 100%;
}

.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: 72px;
}

body {
  /* Remove padding-top here to avoid interfering with flex height */
}

.p-5 {
    padding: 2rem !important;
}

select  {
  min-width: 2em;
  padding: 0.5em 1em;
  background: transparent;
  border: transparent;
  color: white;
  font: inherit;
}

.fixed option {
  background: #495057;
}

/*optgroup { font-weight: 400;}*/

.dropdown-menu {
  background: #495057;
}

/* Fix Content dropdown arrow position */
#contentDropdown.dropdown-toggle::after {
  display: inline-block !important;
  margin-left: 0.255em !important;
  vertical-align: 0.255em !important;
  content: "" !important;
  border-top: 0.3em solid !important;
  border-right: 0.3em solid transparent !important;
  border-bottom: 0 !important;
  border-left: 0.3em solid transparent !important;
  position: relative !important;
  top: -1px !important;
}

/* Ensure the arrow appears next to the text, not below */
#contentDropdown {
  display: flex !important;
  align-items: center !important;
}


main {
  display: flex;
}
@media (max-width: 40em) {
  main {
    flex-wrap: wrap;
  }
}
figure {
  display: inline-block;
  display: inline-flex;
  flex-direction: column;
  margin: 1em;
  width: calc(33% - 2em);
  min-width: 10em;
  flex: 1 auto;
}
label {
  margin-bottom: 1em;
}
select {
  display: block;
  margin-top: auto;
}
option {
  font: inherit;
}
code {font-size: inherit;}
a:link {color: deepSkyBlue;}
a:visited {color: lightSkyBlue;}

.list-display li {
  margin-bottom:.4rem;
  font-size:1.1rem;
}
.list-checkmarks {
  padding-left:1.5rem;
}
.list-checkmarks li {
  list-style-type:none;
  padding-left:1rem;
}
.list-checkmarks li:before {
font-family: 'FontAwesome';
content: "\f00c";
margin:0 10px 0 -28px;
color: #17aa1c;
}

/* ========================================
   Enhanced Login Page Styles
   ======================================== */

/* Login Container */
.login-container {
  padding: 2rem 1rem;
}

/* Login Card Enhancements */
.login-card {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15) !important;
}

/* Form Input Enhancements */
.login-form .form-control {
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: #fff;
  height: 48px;
  line-height: 1.5;
}

.login-form .form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.15rem rgba(0, 123, 255, 0.1);
  background: #fff;
  outline: none;
}

.login-form .form-control.is-valid {
  border-color: #28a745;
  background: rgba(40, 167, 69, 0.05);
}

.login-form .form-control.is-invalid {
  border-color: #dc3545;
  background: rgba(220, 53, 69, 0.05);
}

/* Input Group Styling */
.login-form .input-group-text {
  border: 2px solid #e9ecef;
  border-radius: 8px 0 0 8px;
  background: transparent;
  padding: 12px 16px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  color: #6c757d;
  font-size: 16px;
}

.login-form .input-group .form-control:focus + .input-group-append .input-group-text,
.login-form .input-group-prepend .input-group-text {
  border-color: #e9ecef;
}

.login-form .input-group:focus-within .input-group-text {
  border-color: #007bff;
  color: #007bff;
  background: rgba(0, 123, 255, 0.03);
}

.login-form .input-group .form-control.border-left-0 {
  border-left: none !important;
  border-radius: 0 8px 8px 0;
}

.login-form .input-group .form-control.border-left-0:focus {
  border-left: none !important;
  outline: none;
}

/* Password Toggle Button */
.login-form #togglePassword {
  border: 2px solid #e9ecef;
  border-left: none !important;
  border-radius: 0 8px 8px 0;
  background: transparent;
  color: #6c757d;
  transition: all 0.3s ease;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  padding: 12px 16px;
}

.login-form #togglePassword:hover,
.login-form #togglePassword:focus {
  color: #007bff;
  background: rgba(0, 123, 255, 0.05);
  border-color: #007bff;
  box-shadow: none;
}

/* Form Labels */
.login-form .form-label {
  font-weight: 600;
  color: #495057;
  margin-bottom: 8px;
  font-size: 14px;
}

/* Input Group Alignment Fix */
.login-form .input-group {
  display: flex;
  align-items: stretch;
}

.login-form .input-group > .form-control,
.login-form .input-group > .input-group-prepend > .input-group-text,
.login-form .input-group > .input-group-append > .btn {
  height: 48px;
  line-height: 1.5;
  display: flex;
  align-items: center;
}

/* Login Button */
.login-btn {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  border: none;
  border-radius: 8px !important;
  padding: 14px 24px !important;
  font-weight: 600 !important;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.login-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.login-btn:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.login-btn:disabled {
  opacity: 0.8;
  transform: none;
}

/* Success Button (for registration) */
.btn-success.login-btn {
  background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
}

.btn-success.login-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #1e7e34 0%, #155724 100%);
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.btn-success.login-btn:focus {
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Text Success Color */
.text-success {
  color: #28a745 !important;
}

/* Remember Me and Forgot Password Section */
.login-form .form-check {
  padding-left: 1.5rem;
}

.login-form .form-check-input {
  margin-top: 0.25rem;
}

.login-form .form-check-input:checked {
  background-color: #007bff;
  border-color: #007bff;
}

.login-form .form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15);
}

/* Links Styling */
.login-form a {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.login-form a:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* Alert Enhancements */
.login-form .alert {
  border-radius: 8px;
  border: none;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.login-form .alert-danger {
  background: rgba(220, 53, 69, 0.1);
  color: #721c24;
}

.login-form .alert-success {
  background: rgba(40, 167, 69, 0.1);
  color: #155724;
}

/* Responsive Design */
@media (max-width: 576px) {
  .login-container {
    padding: 1rem 0.5rem;
  }
  
  .login-card {
    border-radius: 12px !important;
    margin: 0 0.5rem;
  }
  
  .login-form .form-control,
  .login-form .input-group-text,
  .login-form #togglePassword {
    padding: 10px 12px;
    font-size: 14px;
  }
  
  .login-btn {
    padding: 12px 20px !important;
    font-size: 14px;
  }
}

/* Loading Animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.fa-spinner.fa-spin {
  animation: spin 1s linear infinite;
}

/* Form Validation Feedback */
.login-form .invalid-feedback {
  display: block;
  font-size: 12px;
  color: #dc3545;
  margin-top: 4px;
}

.login-form .valid-feedback {
  display: block;
  font-size: 12px;
  color: #28a745;
  margin-top: 4px;
}

/* Accessibility Improvements */
.login-form button:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

.login-form input:focus {
  outline: none; /* Custom focus handled by box-shadow */
}

@media (prefers-reduced-motion: reduce) {
  .login-card,
  .login-form .form-control,
  .login-btn,
  .login-form a {
    transition: none;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .login-container {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
  }
  
  .login-card {
    background: #2d2d2d !important;
    border: 1px solid #404040 !important;
  }
  
  .login-card .card-header {
    background: #2d2d2d !important;
    color: #fff !important;
  }
  
  .login-form .form-control {
    background: #404040 !important;
    border-color: #555 !important;
    color: #fff !important;
  }
  
  .login-form .form-label {
    color: #e9ecef !important;
  }
}

.btn-secondary {
  color: #fff !important; }

img {
  width: 100%; }

.logo {
  width: 80px;
  height: auto;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  image-rendering: high-quality;
  -ms-interpolation-mode: bicubic;
  /* Ensure sharp rendering on all devices */
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  /* High DPI display optimization */
  -webkit-transform: translateZ(0);
  will-change: transform;
  /* Smooth edges and prevent blur */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Navbar Brand Container */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
}

.navbar-brand:hover {
  text-decoration: none !important;
}

.navbar-brand:focus {
  text-decoration: none !important;
}

/* Brand Text Next to Logo */
.navbar-brand .brand-text {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
  text-transform: none;
  text-decoration: none !important;
}

/* Responsive brand text */
@media (max-width: 576px) {
  .navbar-brand {
    gap: 8px;
  }

  .navbar-brand .brand-text {
    font-size: 1.2rem;
  }
}

@media (max-width: 400px) {
  .navbar-brand .brand-text {
    display: none;
  }
}

/* High DPI / Retina Display Support */
@media only screen and (-webkit-min-device-pixel-ratio: 2),
       only screen and (min--moz-device-pixel-ratio: 2),
       only screen and (-o-min-device-pixel-ratio: 2/1),
       only screen and (min-device-pixel-ratio: 2),
       only screen and (min-resolution: 192dpi),
       only screen and (min-resolution: 2dppx) {
  .logo {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimize-contrast;
    image-rendering: crisp-edges;
    /* Force browser to use the highest quality rendering */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
}
.navbar {
  padding-bottom: 0;
  padding-top: 0;
}

.navbar {
  opacity: 0.9;
  text-transform: uppercase; }

.social a {
  margin-right: 0.4rem; }

#showcase {
  background: url(../img/showcase2.jpg) no-repeat top center fixed;
  background-size: cover;
  position: relative;
  min-height: 650px;
  color: #fff;
  padding-top: 6rem; }
  #showcase .home-search {
    min-height: 400px;
    position: relative;
    border-radius: 5px; }
  #showcase .overlay {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    min-height: 400px;
    width: 100%;
    background: rgba(51, 51, 51, 0.8); }

#services {
  background: url(../img/building.jpg) no-repeat top center fixed/cover;
  min-height: 300px;
  position: relative;
  overflow: hidden; }
  #services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    min-height: 100%;
    width: 100%;
    background: rgba(32, 134, 107, 0.8); }

#showcase-inner {
  background: url(../img/building.jpg) no-repeat top center fixed/cover;
  position: relative;
  overflow: hidden;
  min-height: 200px; }
  #showcase-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    min-height: 100%;
    width: 100%;
    background: rgba(32, 134, 107, 0.8); }
  #showcase-inner.showcase-search {
    min-height: 270px; }

#work {
  padding: 6rem 0; }

.listing-preview a {
  position: relative; }

@media (max-width: 991px) {
  #showcase {
    padding-top: 4rem; }
    #showcase h1 {
      font-size: 40px; }
  .hide-md-down {
    display: none; } }

@media (max-width: 768px) {
  #showcase {
    padding-top: 3rem; }
    #showcase h1 {
      font-size: 40px; }
    /*#showcase p {*/
    /*  display: none; }*/
  #top-bar {
    text-align: center;
    background: #10284e;
  }
    #top-bar .social {
      text-align: center !important; } }

@media (max-width: 576px) {
  #showcase h1 {
    font-size: 30px; }
  #showcase-inner h1 {
    font-size: 40px; } }

.navbar-form {
	 -webkit-flex-basis: 100%;
	 -moz-flex-basis: 100%;
	 -ms-flex-basis: 100%;
	 -o-flex-basis: 100%;
	 flex-basis: -moz-available;
	 flex-basis: 100%;
 }
 .input-group-search {
	width: 100% !important;
 }
 
 /* Override Bootstrap's input-group border-radius rules - keep input flat on both sides */
 .navbar .input-group.input-group-search > .form-control:not(:first-child) {
	border-top-left-radius: 0 !important;
	border-bottom-left-radius: 0 !important;
 }
 
 .navbar .input-group.input-group-search > .form-control:not(:last-child) {
	border-top-right-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
 }

 /* Search input text box - flat on both sides (sandwiched between buttons) */
 .navbar .navbar-form .input-group-search .form-control {
	border-top-left-radius: 0 !important;
	border-bottom-left-radius: 0 !important;
	border-top-right-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
	border-radius: 0 !important;
 }

 /* Dropdown button (in input-group-prepend) - left rounded, right flat */
 .navbar .navbar-form .input-group-search .input-group-prepend .btn {
	border-top-left-radius: 0.375rem !important;
	border-bottom-left-radius: 0.375rem !important;
	border-top-right-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
	border-radius: 0.375rem 0 0 0.375rem !important;
 }

 /* Search submit button (in input-group-append) - left flat, right rounded */
 .navbar .navbar-form .input-group-search .input-group-append .btn {
	border-top-left-radius: 0 !important;
	border-bottom-left-radius: 0 !important;
	border-top-right-radius: 0.375rem !important;
	border-bottom-right-radius: 0.375rem !important;
	border-radius: 0 0.375rem 0.375rem 0 !important;
 }
 @media(min-width:576px) {
	 .navbar-expand-sm .input-group-search {
		width: 100% !important;
	 }
 }
 @media(min-width:768px) {
	 .navbar-expand-md .input-group-search {
		width: 90% !important;
	 }
 }
 @media(min-width:992px) {
	 .navbar-expand-lg .input-group-search {
		width: 80% !important;
	 }
	 /*body {
		padding-top: 110px;
	 }*/
 }
 @media(min-width:1200px) {
	 .navbar-expand-xl .input-group-search {
		width: 70% !important;
	 }
 }

#main-footer {
  margin-top: auto;
}

/* BioMedAI Hero Section Styles */
#biomedai-hero {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-top: 3px solid #0066cc;
  position: relative;
}

#biomedai-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="%230066cc" stroke-width="1" opacity="0.05"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)" /></svg>');
  z-index: 0;
}

#biomedai-hero .container {
  position: relative;
  z-index: 1;
}

.text-biomedai {
  color: #0066cc !important;
}

.badge-biomedai {
  background: linear-gradient(45deg, #0066cc, #004499);
  color: white;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.biomedai-title {
  color: #2c3e50;
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.2;
}

.biomedai-title i {
  margin-right: 15px;
  font-size: 2.2rem;
}

.biomedai-description {
  color: #5a6c7d;
  font-size: 1.1rem;
  line-height: 1.6;
}

.biomedai-features {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  border-left: 4px solid #0066cc;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-weight: 500;
  color: #2c3e50;
}

.feature-item i {
  margin-right: 12px;
  font-size: 1.2rem;
  width: 20px;
}

.btn-biomedai {
  background: linear-gradient(45deg, #0066cc, #004499);
  border: none;
  color: white;
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 25px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.btn-biomedai:hover {
  background: linear-gradient(45deg, #004499, #003366);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
  color: white;
}

.btn-outline-biomedai {
  border: 2px solid #0066cc;
  color: #0066cc;
  background: transparent;
  padding: 10px 28px;
  font-weight: 600;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.btn-outline-biomedai:hover {
  background: #0066cc;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.biomedai-visual {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.biomedai-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
  position: relative;
  overflow: hidden;
}

.biomedai-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0066cc, #004499, #0066cc);
}

.biomedai-stats {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.stat-item {
  text-align: center;
  padding: 15px 0;
  border-bottom: 1px solid #f8f9fa;
}

.stat-item:last-child {
  border-bottom: none;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0066cc;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 991px) {
  .biomedai-title {
    font-size: 2rem;
  }
  
  .biomedai-visual {
    margin-top: 40px;
  }
  
  .biomedai-cta .btn {
    display: block;
    width: 100%;
    margin-bottom: 15px;
  }
}

@media (max-width: 768px) {
  .biomedai-title {
    font-size: 1.75rem;
    text-align: center;
  }
  
  .biomedai-badge {
    display: block;
    text-align: center;
  }
  
  .biomedai-features .row {
    text-align: center;
  }
  
  .stat-item {
    display: inline-block;
    margin: 0 15px;
    border-bottom: none;
    border-right: 1px solid #f8f9fa;
    padding: 10px 15px;
  }
  
  .stat-item:last-child {
    border-right: none;
  }
}

/* BioMedAI Featured Card Styles */
.biomedai-featured-card {
  border: 2px solid #0066cc;
  box-shadow: 0 8px 25px rgba(0, 102, 204, 0.15);
  transform: scale(1.02);
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f8fcff 100%);
}

.biomedai-featured-card:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 35px rgba(0, 102, 204, 0.25);
  transition: all 0.3s ease;
}

.biomedai-featured-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
}

.biomedai-featured-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0066cc, #004499, #0066cc);
  z-index: 1;
}

/* Animation for featured cards */
@keyframes pulse {
  0% {
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.15);
  }
  50% {
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.25);
  }
  100% {
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.15);
  }
}

.biomedai-featured-card {
  animation: pulse 3s ease-in-out infinite;
}

/* BioMedAI Product Image Styling */
.biomedai-product-image {
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.biomedai-product-image img {
  max-width: 100%;
  height: auto;
  transition: transform 0.3s ease;
  border: 2px solid #0066cc;
}

.biomedai-product-image:hover img {
  transform: scale(1.05);
}

.biomedai-product-image a {
  display: block;
  text-decoration: none;
}

/* Enhanced BioMedAI Layout Styles */
.biomedai-visual-enhanced {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Enhanced Product Image Showcase */
.biomedai-product-showcase {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.biomedai-image-link {
  display: block;
  position: relative;
  text-decoration: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 102, 204, 0.2);
  transition: all 0.4s ease;
}

.biomedai-image-link:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 102, 204, 0.3);
}

.biomedai-featured-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  transition: transform 0.4s ease;
  border: 3px solid #0066cc;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: transform;
}

.biomedai-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.9), rgba(0, 68, 153, 0.9));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-weight: 600;
}

.biomedai-image-overlay i {
  font-size: 2rem;
  margin-bottom: 10px;
}

.biomedai-image-overlay span {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.biomedai-image-link:hover .biomedai-image-overlay {
  opacity: 1;
}

.biomedai-image-link:hover .biomedai-featured-image {
  transform: scale(1.1);
}

/* Enhanced Stats Layout */
.biomedai-stats-enhanced {
  background: linear-gradient(135deg, #ffffff 0%, #f8fcff 50%, #ffffff 100%);
  border-radius: 25px;
  padding: 30px;
  box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15), 0 0 0 1px rgba(0, 102, 204, 0.1);
  border: 2px solid rgba(0, 102, 204, 0.2);
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  backdrop-filter: blur(10px);
  animation: statsGlow 4s ease-in-out infinite alternate;
}

.biomedai-stats-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #0066cc, #00aaff, #0066cc, #004499, #0066cc);
  background-size: 200% 100%;
  animation: gradientShift 3s ease-in-out infinite;
}

.biomedai-stats-enhanced::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 102, 204, 0.03) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

.stats-horizontal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.stat-item-enhanced {
  flex: 1;
  text-align: center;
  padding: 15px 8px;
  position: relative;
  transition: all 0.3s ease;
}

.stat-item-enhanced:hover {
  transform: translateY(-3px);
}

.stat-number-enhanced {
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #0066cc, #00aaff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  line-height: 1;
  text-shadow: 0 4px 8px rgba(0, 102, 204, 0.3);
  animation: numberPulse 2s ease-in-out infinite alternate;
  position: relative;
}

.stat-number-enhanced::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #0066cc, transparent);
  opacity: 0.6;
}

.stat-label-enhanced {
  font-size: 0.9rem;
  color: #4a5568;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  line-height: 1.2;
  margin-top: 5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.stat-divider {
  width: 2px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(0, 102, 204, 0.3), rgba(0, 170, 255, 0.5), rgba(0, 102, 204, 0.3), transparent);
  margin: 0 8px;
  border-radius: 1px;
  box-shadow: 0 0 10px rgba(0, 102, 204, 0.2);
  animation: dividerGlow 3s ease-in-out infinite alternate;
}

/* Responsive Design for Enhanced Layout */
@media (max-width: 991px) {
  .biomedai-visual-enhanced {
    margin-top: 40px;
  }
  
  .biomedai-product-showcase {
    max-width: 450px;
  }
}

@media (max-width: 768px) {
  .biomedai-product-showcase {
    max-width: 400px;
  }
  
  .stats-horizontal {
    flex-direction: column;
    gap: 20px;
  }
  
  .stat-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, #e9ecef, transparent);
    margin: 0;
  }
  
  .stat-item-enhanced {
    padding: 15px 10px;
  }
  
  .stat-number-enhanced {
    font-size: 2.5rem;
  }
  
  .stat-label-enhanced {
    font-size: 0.9rem;
  }
}

/* Keyframe Animations for Stats */
@keyframes statsGlow {
  0% {
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15), 0 0 0 1px rgba(0, 102, 204, 0.1);
  }
  100% {
    box-shadow: 0 25px 50px rgba(0, 102, 204, 0.25), 0 0 0 1px rgba(0, 102, 204, 0.2);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes numberPulse {
  0% {
    transform: scale(1);
    text-shadow: 0 4px 8px rgba(0, 102, 204, 0.3);
  }
  100% {
    transform: scale(1.05);
    text-shadow: 0 6px 12px rgba(0, 102, 204, 0.4);
  }
}

@keyframes dividerGlow {
  0% {
    opacity: 0.6;
    box-shadow: 0 0 10px rgba(0, 102, 204, 0.2);
  }
  100% {
    opacity: 1;
    box-shadow: 0 0 20px rgba(0, 102, 204, 0.4);
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Additional enhancement for mobile stats */
@media (max-width: 768px) {
  .stat-number-enhanced {
    font-size: 3rem;
    animation: numberPulse 2.5s ease-in-out infinite alternate;
  }
  
  .stat-item-enhanced:hover {
    transform: scale(1.05);
  }
  
  .biomedai-stats-enhanced {
    padding: 35px 25px;
    animation: statsGlow 5s ease-in-out infinite alternate;
  }
}

/* High Resolution Image Styles for About Page */
.high-res-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Team Member Photo Styles - Perfect Circle */
.team-member-photo {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-member-photo:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.team-member-image {
  width: 100% !important;
  height: 100% !important;
  min-width: 200px;
  min-height: 200px;
  max-width: 200px;
  max-height: 200px;
  object-fit: cover;
  object-position: center;
  image-rendering: high-quality;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: -moz-crisp-edges;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: transform 0.3s ease;
  border-radius: 50%;
  -webkit-filter: blur(0);
  filter: blur(0);
  -webkit-transform: translateZ(0);
  -ms-interpolation-mode: bicubic;
}

.team-member-photo:hover .team-member-image {
  transform: scale(1.1);
}

/* MVP Daitor Card Enhancement */
.card .high-res-image {
  height: 250px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.card:hover .high-res-image {
  transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .team-member-photo {
    width: 170px;
    height: 170px;
  }
  
  .team-member-image {
    width: 100% !important;
    height: 100% !important;
    min-width: 170px;
    min-height: 170px;
    max-width: 170px;
    max-height: 170px;
  }
  
  .card .high-res-image {
    height: 200px;
  }
}

/* Product Listings "More Info" Button Styling - High Specificity */
section#listings .container .row .col-md-6 .card.listing-preview .card-body a.btn.btn-primary.btn-block,
section#listings .card .btn-primary,
#listings .card .btn-primary {
  background-color: #1e2a4a !important;
  border-color: #1e2a4a !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  padding: 10px 20px !important;
  border-radius: 6px !important;
  text-align: center !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  display: block !important;
  width: 100% !important;
}

section#listings .container .row .col-md-6 .card.listing-preview .card-body a.btn.btn-primary.btn-block:hover,
section#listings .card .btn-primary:hover,
#listings .card .btn-primary:hover {
  background-color: #2c3e50 !important;
  border-color: #2c3e50 !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 8px rgba(30, 42, 74, 0.3) !important;
}

section#listings .container .row .col-md-6 .card.listing-preview .card-body a.btn.btn-primary.btn-block:focus,
section#listings .container .row .col-md-6 .card.listing-preview .card-body a.btn.btn-primary.btn-block:active,
section#listings .card .btn-primary:focus,
section#listings .card .btn-primary:active,
#listings .card .btn-primary:focus,
#listings .card .btn-primary:active {
  background-color: #1e2a4a !important;
  border-color: #1e2a4a !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 0.2rem rgba(30, 42, 74, 0.25) !important;
}
/* ===== AIDD Footer Styles (Site-wide) ===== */
.aidd-footer {
    background: #1E2A4A;
    color: #FFFFFF;
    padding: 4rem 2rem 2rem;
    text-align: center;
}

.aidd-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin: 0 auto 3rem;
    max-width: calc(1200px + 4rem);
    padding: 0 2rem;
    text-align: left;
}

.aidd-footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
    font-weight: 700;
}

.aidd-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.aidd-footer-links li {
    margin-bottom: 0.75rem;
}

.aidd-footer-links a {
    color: #B8C5D0;
    text-decoration: none;
    transition: color 0.3s;
}

.aidd-footer-links a:hover {
    color: #3DD9A0;
}

.aidd-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 2rem 0;
    text-align: center;
    max-width: calc(1200px + 4rem);
    margin: 0 auto;
}

.aidd-footer-bottom p {
    color: #B8C5D0;
    font-size: 0.9rem;
    margin: 0;
}

.aidd-footer-bottom a {
    color: #B8C5D0;
    text-decoration: none;
    transition: color 0.3s;
}

.aidd-footer-bottom a:hover {
    color: #3DD9A0;
}

/* Footer Responsive Design */
@media (max-width: 1024px) {
    .aidd-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .aidd-footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ===== AIDD Container (Site-wide) ===== */
.aidd-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}
