html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  padding-top: 72px; /* Height of fixed header */
  padding-bottom: 55px; /* Height of fixed footer */
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Hero Section - Professional Design */
.hero-section-professional {
  background: #ffffff;
  padding: 70px 20px 20px;
  margin-top: 10px;
  border-bottom: 1px solid #e5e7eb;
}

.pd-bt {
  padding-bottom: 10px;
}

.bg-container1 {
  background-color: #ebf2fa;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #6b7280;
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Typography for Hero Section - Mobile */
@media (max-width: 576px) {
  .hero-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    padding: 0 10px;
  }
  
  .hero-cta .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
    width: 100%;
    margin-bottom: 10px !important;
  }
  
  .hero-cta .btn:last-child {
    margin-bottom: 0 !important;
  }
  
  .bg-container1 {
    padding: 15px 10px;
  }
  
  .pd-bt {
    padding-bottom: 20px;
  }
}

.hero-cta .btn {
  padding: 14px 32px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
}

.hero-cta .btn-primary {
  background-color: #029D9C;
  border-color: #029D9C;
  color: white;
}

.hero-cta .btn-primary:hover {
  background-color: #027a7a;
  border-color: #027a7a;
}

.hero-cta .btn-outline-primary {
  border-color: #029D9C;
  color: #029D9C;
  background-color: transparent;
}

.hero-cta .btn-outline-primary:hover {
  background-color: #029D9C;
  color: white;
}

/* Features Section - Professional */
.features-section-professional {
  background: #ffffff;
  padding: 80px 20px;
}

.section-header {
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #6b7280;
}

.feature-card {
  background: white;
  border-radius: 12px;
  padding: 40px 30px;
  height: 100%;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border-color: #029D9C;
}

.feature-icon-wrapper {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #E0F7FA 0%, #B2EBF2 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-icon-wrapper i {
  font-size: 2rem;
  color: #029D9C;
}

.feature-card h3 {
  color: #111827;
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.feature-link {
  color: #029D9C;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.feature-link:hover {
  color: #027a7a;
  transform: translateX(5px);
}

/* Categories Section - Professional */
.categories-section-professional {
  background: #f9fafb;
  padding: 80px 20px;
  border-top: 1px solid #e5e7eb;
}

.category-card {
  background: white;
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
  height: 100%;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border-color: #029D9C;
}

.category-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #E0F7FA 0%, #B2EBF2 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.category-icon i {
  font-size: 2.5rem;
  color: #029D9C;
}

.category-card h4 {
  color: #111827;
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.category-section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111827;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #029D9C;
}

.compliance-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.compliance-item h5 {
  color: #111827;
  font-weight: 600;
  margin-top: 0.5rem;
}

.demo-list {
  list-style: none;
  padding-left: 0;
}

.demo-list li {
  padding: 0.75rem 0;
  font-size: 1.125rem;
  color: #374151;
}

/* About Page Professional Typography */
.about-page-wrapper {
  background: #ffffff;
  min-height: calc(100vh - 200px);
}

.about-section {
  margin-bottom: 4rem;
}

.about-main-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 2rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
}

.about-section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
}

.about-lead-text {
  font-size: 1.375rem;
  font-weight: 400;
  color: #374151;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.about-body-text {
  font-size: 1.125rem;
  font-weight: 400;
  color: #4b5563;
  line-height: 1.75;
  margin-bottom: 1.25rem;
  letter-spacing: 0;
}

.about-intro-text {
  font-size: 1.125rem;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.7;
}

.about-vision-text {
  font-size: 1.5rem;
  font-weight: 500;
  color: #111827;
  line-height: 1.6;
  font-style: italic;
  padding-left: 1.5rem;
  border-left: 4px solid #029D9C;
}

.about-cta-section {
  background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.about-cta-title {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.01em;
}

.about-cta-text {
  font-size: 1.25rem;
  color: #6b7280;
  font-weight: 400;
}

.capability-card, .value-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.capability-card:hover, .value-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
  border-color: #029D9C;
}

.capability-card h4, .value-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.capability-card .text-muted, .value-card .text-muted {
  font-size: 1rem;
  line-height: 1.6;
  color: #6b7280;
}

/* Responsive Typography for About Page */
@media (max-width: 768px) {
  .about-main-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }

  .about-section-title {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
  }

  .about-lead-text {
    font-size: 1.25rem;
  }

  .about-body-text {
    font-size: 1.0625rem;
  }

  .about-vision-text {
    font-size: 1.25rem;
    padding-left: 1rem;
  }

  .about-cta-title {
    font-size: 1.75rem;
  }

  .about-cta-text {
    font-size: 1.125rem;
  }
}

/* Integration Section - Professional */
.integration-section-professional {
  background: #ffffff;
  padding: 80px 20px;
  border-top: 1px solid #e5e7eb;
}

.integration-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.5rem;
}

.badge-integration {
  display: inline-block;
  padding: 8px 16px;
  background: #f3f4f6;
  color: #374151;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.875rem;
  border: 1px solid #e5e7eb;
}

.code-example {
  background: #1f2937;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.code-header {
  background: #111827;
  padding: 12px 20px;
  border-bottom: 1px solid #374151;
}

.code-lang {
  color: #9ca3af;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
}

.code-example pre {
  margin: 0;
  padding: 20px;
  background: #1f2937;
  color: #e5e7eb;
  font-size: 0.875rem;
  line-height: 1.6;
  overflow-x: auto;
}

.code-example code {
  background: transparent;
  padding: 0;
  color: #e5e7eb;
  font-family: 'Courier New', monospace;
}

/* Statistics Section - Professional */
.stats-section-professional {
  background: #f9fafb;
  padding: 80px 20px;
  margin: 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.stat-card {
  background: white;
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
  height: 100%;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border-color: #029D9C;
}

.stat-icon {
  font-size: 2.5rem;
  color: #029D9C;
  margin-bottom: 1rem;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.stat-label {
  display: block;
  font-size: 1rem;
  color: #6b7280;
  font-weight: 500;
}

.stat-item {
  text-align: center;
  padding: 20px;
}

.stat-item .stat-number {
  font-size: 3rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
}

.stat-item .stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
}

.card {
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
  border-radius: 8px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.badge {
  font-size: 0.85em;
}

code {
  background-color: #f4f4f4;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.9em;
}

pre {
  background-color: #1e1e1e;
  color: #d4d4d4;
  padding: 15px;
  border-radius: 5px;
  overflow-x: auto;
  font-size: 0.9em;
  line-height: 1.5;
}

.navbar-brand {
  font-weight: bold;
  font-size: 1.5rem;
}

.table-responsive {
  margin-top: 20px;
}

/* Fixed Header - Professional Light Styling */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 5px 3px rgba(0, 0, 0, 0.08);
  border-top: 1px solid #e5e7eb;
}

.navbar {
  background: #ffffff !important;
  padding: 0.75rem 1.5rem;
  min-height: 70px;
}

.navbar-dark {
  background: #ffffff !important;
}

.navbar-brand {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.navbar-brand img {
  height: 40px;
  width: auto;
  filter: none;
  margin-right: 10px;
}

.navbar-nav .nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  color: #374151 !important;
  transition: all 0.2s ease;
  border-radius: 4px;
  margin: 0 0.1rem;
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: #029D9C !important;
  background-color: #f9fafb;
}

.navbar-nav .nav-link.dropdown-indicator::after {
  content: '';
  display: inline-block;
  margin-left: 6px;
  vertical-align: middle;
  border-top: 4px solid #6b7280;
  border-right: 4px solid transparent;
  border-bottom: 0;
  border-left: 4px solid transparent;
}

.navbar-nav .nav-link.dropdown-indicator:hover::after {
  border-top-color: #029D9C;
}

/* User dropdown toggle styling */
.nav-link.dropdown-toggle {
  color: #374151 !important;
}

.nav-link.dropdown-toggle:hover {
  color: #029D9C !important;
}

.navbar-brand {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

/* User Dropdown Menu - Professional Styling */
.dropdown-menu {
  border: none;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  margin-top: 8px;
  background-color: #fff;
  min-width: 220px;
  border-radius: 8px;
  padding: 0.5rem 0;
}

.dropdown-item {
  padding: 0.75rem 1.25rem;
  transition: all 0.2s ease;
  color: #333;
  font-weight: 500;
  display: flex;
  align-items: center;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
}

.dropdown-item:hover {
  background-color: #f0f0f0;
  color: #029D9C;
}

.dropdown-item:active {
  background-color: #e9ecef;
  color: #029D9C;
}

.dropdown-item i {
  width: 20px;
  text-align: center;
  font-size: 1.1rem;
}

.dropdown-header {
  color: #6c757d;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dropdown-divider {
  margin: 0.5rem 0;
  border-color: #e9ecef;
}

.nav-link.dropdown-toggle {
  cursor: pointer;
}

.nav-link.dropdown-toggle::after {
  border-top-color: #6b7280 !important;
}

.nav-link.dropdown-toggle:hover::after {
  border-top-color: #029D9C !important;
}

.dropdown-menu form {
  margin: 0;
}

.dropdown-menu button.dropdown-item {
  padding: 0.75rem 1.25rem;
}


@media (max-width: 991px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .stat-card {
    margin-bottom: 20px;
  }
  
  .feature-card {
    margin-bottom: 30px;
  }
  
  .category-card {
    margin-bottom: 20px;
  }
}

/* Fixed Footer - Professional Light Styling */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 -1px 3px rgba(0,0,0,0.08);
  border-top: 1px solid #e5e7eb;
  min-height: 50px;
}

footer .container-fluid {
  padding: 1rem 1.5rem;
}

footer .text-light {
  color: #6b7280 !important;
}

footer img {
  display: none; /* Hide logo in footer for clean look */
}

footer strong {
  display: none; /* Hide brand name in footer */
}

footer p {
  font-size: 0.875rem !important;
  color: #6b7280 !important;
  margin-bottom: 0 !important;
}

footer a {
  color: #6b7280 !important;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
  margin-left: 1.5rem;
}

footer a:hover {
  color: #029D9C !important;
  text-decoration: underline;
}

/* Main Content Area */
main {
  min-height: calc(100vh - 156px); /* Full height minus header and footer */
}

/* API Testing Interface Styles */
#responseBody {
  font-family: 'Courier New', monospace;
  white-space: pre-wrap;
  word-wrap: break-word;
}

#responseHeadersContent {
  font-family: 'Courier New', monospace;
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* Status Code Badges */
.badge.bg-success {
  background-color: #28a745 !important;
}

.badge.bg-danger {
  background-color: #dc3545 !important;
}

.badge.bg-info {
  background-color: #17a2b8 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  body {
    padding-top: 60px;
    padding-bottom: 55px;
  }
  
  .navbar {
    padding: 0.4rem 0.75rem;
    min-height: 55px;
  }
  
  .navbar-brand img {
    height: 32px;
  }
  
  footer {
    min-height: 45px;
  }
  
  footer img {
    height: 28px !important;
  }
  
  footer strong {
    font-size: 1rem !important;
  }
  
  footer p {
    font-size: 0.8rem !important;
  }
  
  .hero-section-professional {
    padding: 60px 15px 15px;
    margin-top: 5px;
  }
  
  .bg-container1 {
    padding: 20px 15px;
  }
  
  .pd-bt {
    padding-bottom: 15px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .stats-section-professional,
  .features-section-professional,
  .categories-section-professional,
  .integration-section-professional {
    padding: 60px 20px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .feature-panel {
    padding: 30px 20px;
    margin-bottom: 20px;
  }
  
  .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .stats-section {
    padding: 40px 15px;
  }
  
  .stat-item .stat-number {
    font-size: 2rem;
  }
}

/* Dashboard List Items */
.list-group-item:hover {
  background-color: #f8f9fa !important;
  transform: translateX(5px);
}

.list-group-item-action {
  border-left: 3px solid transparent;
}

.list-group-item-action:hover {
  border-left-color: #667eea;
}

.card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}
