/* AdCreditHub Custom Styles */

/* Smooth scrolling for the entire page */
html {
  scroll-behavior: smooth;
}

/* Custom focus styles for better accessibility */
:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #1f2937;
}

::-webkit-scrollbar-thumb {
  background: #4b5563;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #60a5fa;
}

/* Animation for hover effects */
.transition-all {
  transition: all 0.3s ease;
}

/* Custom styles for form elements */
input:focus, select:focus, textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}

/* Custom styles for buttons */
.btn {
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

/* Custom animation for cards */
.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Custom styles for the mobile menu */
.mobile-menu {
  transition: all 0.3s ease;
}

/* Custom styles for the FAQ accordion */
.accordion-header {
  cursor: pointer;
  transition: all 0.3s ease;
}

.accordion-icon {
  transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
  transform: rotate(180deg);
}

/* Custom styles for testimonials */
.testimonial {
  position: relative;
}

.testimonial::before {
  content: '"';
  font-size: 4rem;
  position: absolute;
  top: -1rem;
  left: -1rem;
  color: rgba(59, 130, 246, 0.2);
  font-family: serif;
}

/* Custom styles for the pricing tables */
.pricing-table {
  transition: all 0.3s ease;
}

.pricing-table:hover {
  transform: scale(1.03);
}

/* Custom styles for the contact form */
.contact-form input,
.contact-form textarea,
.contact-form select {
  transition: all 0.3s ease;
}

/* Custom styles for the footer */
.footer-link {
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: #60a5fa;
}

/* Custom styles for the social icons */
.social-icon {
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px);
  color: #60a5fa;
}

/* Custom styles for the hero section */
.hero {
  position: relative;
  overflow: hidden;
}

/* Custom gradient backgrounds */
.bg-gradient-blue {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

.bg-gradient-dark {
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
}

/* Custom styles for code blocks */
pre {
  background-color: #1f2937;
  border-radius: 0.5rem;
  padding: 1rem;
  overflow-x: auto;
}

code {
  font-family: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* Custom styles for blockquotes */
blockquote {
  border-left: 4px solid #3b82f6;
  padding-left: 1rem;
  font-style: italic;
  color: #9ca3af;
}

/* Custom styles for tables */
table {
  border-collapse: collapse;
  width: 100%;
}

th, td {
  text-align: left;
  padding: 0.75rem;
}

/* Custom styles for lists */
ul.custom-list {
  list-style-type: none;
  padding-left: 1.5rem;
}

ul.custom-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

ul.custom-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #3b82f6;
}

/* Custom styles for badges */
.badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-blue {
  background-color: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.badge-green {
  background-color: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.badge-red {
  background-color: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

/* Custom styles for tooltips */
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltip-text {
  visibility: hidden;
  width: 120px;
  background-color: #1f2937;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* Custom styles for progress bars */
.progress-bar {
  height: 0.5rem;
  border-radius: 9999px;
  background-color: #374151;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  border-radius: 9999px;
  background-color: #3b82f6;
  transition: width 0.3s ease;
}

/* Custom styles for alerts */
.alert {
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
  border-left: 4px solid;
}

.alert-info {
  background-color: rgba(59, 130, 246, 0.1);
  border-color: #3b82f6;
}

.alert-success {
  background-color: rgba(16, 185, 129, 0.1);
  border-color: #10b981;
}

.alert-warning {
  background-color: rgba(245, 158, 11, 0.1);
  border-color: #f59e0b;
}

.alert-error {
  background-color: rgba(239, 68, 68, 0.1);
  border-color: #ef4444;
}