/**
* Custom Theme Override for Clean Calculator Design
* Updates primary and secondary colors for a modern, clean appearance
*/

/* Updated Color Scheme - Clean and Professional */
:root {
  /* Primary Colors - Modern Blue/Teal Palette */
  --accent-color: #0ea5e9; /* Clean sky blue for primary actions */
  --heading-color: #1e293b; /* Dark slate for better readability */
  --default-color: #475569; /* Softer gray for text */
  
  /* Surface and Background Colors */
  --surface-color: #ffffff; /* Clean white surfaces */
  --background-color: #f8fafc; /* Very light gray background */
  
  /* Navigation Colors */
  --nav-color: #64748b; /* Neutral slate for nav */
  --nav-hover-color: #0ea5e9; /* Sky blue on hover */
  --nav-dropdown-hover-color: #0ea5e9;
}

/* Updated Accent Background for Call-to-Action sections */
.accent-background {
  --background-color: #0ea5e9;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #38bdf8; /* Lighter blue for surface elements */
  --contrast-color: #ffffff;
}

/* Bootstrap Color Overrides for Calculator Cards */
.bg-primary {
  background-color: #0ea5e9 !important;
  border-color: #0ea5e9 !important;
}

.bg-success {
  background-color: #059669 !important; /* Clean emerald green */
  border-color: #059669 !important;
}

.bg-info {
  background-color: #0891b2 !important; /* Clean cyan */
  border-color: #0891b2 !important;
}

.bg-warning {
  background-color: #d97706 !important; /* Clean amber */
  border-color: #d97706 !important;
}

.bg-danger {
  background-color: #dc2626 !important; /* Clean red */
  border-color: #dc2626 !important;
}

.bg-secondary {
  background-color: #6b7280 !important; /* Clean gray */
  border-color: #6b7280 !important;
}

.bg-dark {
  background-color: #1f2937 !important; /* Clean dark gray */
  border-color: #1f2937 !important;
}

/* Text Color Overrides */
.text-primary {
  color: #0ea5e9 !important;
}

.text-success {
  color: #059669 !important;
}

.text-info {
  color: #0891b2 !important;
}

.text-warning {
  color: #d97706 !important;
}

.text-danger {
  color: #dc2626 !important;
}

.text-secondary {
  color: #6b7280 !important;
}

/* Button Overrides */
.btn-primary {
  background-color: #0ea5e9;
  border-color: #0ea5e9;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #0284c7;
  border-color: #0284c7;
}

.btn-outline-primary {
  color: #0ea5e9;
  border-color: #0ea5e9;
}

.btn-outline-primary:hover {
  background-color: #0ea5e9;
  border-color: #0ea5e9;
  color: #ffffff;
}

.btn-success {
  background-color: #059669;
  border-color: #059669;
}

.btn-success:hover {
  background-color: #047857;
  border-color: #047857;
}

.btn-outline-success {
  color: #059669;
  border-color: #059669;
}

.btn-outline-success:hover {
  background-color: #059669;
  border-color: #059669;
  color: #ffffff;
}

/* Form Range (Slider) Styling */
.form-range::-webkit-slider-thumb {
  background-color: #0ea5e9;
}

.form-range::-moz-range-thumb {
  background-color: #0ea5e9;
  border: none;
}

.form-range::-webkit-slider-track {
  background-color: #e2e8f0;
}

.form-range::-moz-range-track {
  background-color: #e2e8f0;
}

/* Card Enhancements */
.card {
  border: none;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  border-radius: 0.75rem;
}

.card.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Icon Box Styling for Calculator Summary */
.icon-box {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Table Styling */
.table-primary {
  --bs-table-bg: #dbeafe;
  --bs-table-border-color: #93c5fd;
}

.table-striped > tbody > tr:nth-of-type(odd) > td {
  background-color: rgba(14, 165, 233, 0.05);
}

.table-hover > tbody > tr:hover > td {
  background-color: rgba(14, 165, 233, 0.1);
}

/* Hero Section Enhancements */
.hero {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* Section Title Styling */
.section-title span {
  color: #0ea5e9;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

.section-title h2 {
  color: #1e293b;
  font-weight: 700;
}

/* Call-to-Action Button */
.btn-get-started,
.cta-btn {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: #ffffff;
  padding: 0.75rem 2rem;
  border-radius: 2rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: none;
}

.btn-get-started:hover,
.cta-btn:hover {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
  color: #ffffff;
}

/* Service Item Enhancements */
.service-item {
  padding: 2rem;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.service-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-item .icon {
  margin-bottom: 1rem;
  color: #0ea5e9;
  font-size: 2.5rem;
}

/* Responsive Improvements */
@media (max-width: 768px) {
  .icon-box {
    width: 3rem;
    height: 3rem;
  }
  
  .service-item {
    padding: 1.5rem;
  }
}

