/* Main Styles for ONDO Finance Website */

:root {
  --primary: #00578A;
  --primary-dark: #0271b1;
  --primary-light: #e6f0fa;
  --accent: #e25335;
  --dark: #030e21;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
}

/* Base Styles */
body {
  font-family: 'Inter', sans-serif;
  color: var(--gray-900);
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
}

/* Global Background, Text and Border Utility Classes */
.bg-primary {
  background-color: var(--primary);
}

.bg-primary-dark {
  background-color: var(--primary-dark);
}

.bg-primary-light {
  background-color: var(--primary-light);
}

.bg-accent {
  background-color: var(--accent);
}

.text-primary {
  color: var(--primary);
}

.text-accent {
  color: var(--accent);
}

.border-primary {
  border-color: var(--primary);
}

.border-accent {
  border-color: var(--accent);
}

.hover\:bg-primary:hover {
  background-color: var(--primary);
}

.hover\:bg-primary-dark:hover {
  background-color: var(--primary-dark);
}

.hover\:text-primary:hover {
  color: var(--primary);
}

.hover\:text-accent:hover {
  color: var(--accent);
}

/* Navigation Dropdown Styles */
.dropdown-menu {
  transform: translateY(10px);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  display: block !important;
  z-index: 50;
  pointer-events: none;
}

.group:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Mobile Navigation */
#mobile-menu-button {
  cursor: pointer;
}

/* Custom Slider Styling */
input[type=range] {
  -webkit-appearance: none;
  height: 8px;
  border-radius: 4px;
  background: var(--gray-300);
  outline: none;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
}

input[type=range]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: none;
}

/* FAQ Toggle */
.faq-toggle i {
  transition: transform 0.3s ease;
}

.faq-toggle.active i {
  transform: rotate(180deg);
}

/* Card Hover Effects */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Custom Container Queries */
@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}
@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}
@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

/* Toast Notification */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: var(--primary);
  color: white;
  padding: 12px 20px;
  border-radius: 4px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: none;
}

.toast.show {
  display: block;
  animation: fadeInOut 3s;
}

@keyframes fadeInOut {
  0% { opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { opacity: 0; }
}

/* Custom Form Styling */
.custom-input {
  border: 1px solid var(--gray-300);
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
  width: 100%;
  transition: border-color 0.15s ease-in-out;
}

.custom-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 87, 138, 0.1);
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--gray-700);
}

.form-error {
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Calculator styles */
.calculator-container {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 24px;
}

.calculator-result {
  background-color: var(--primary-light);
  border-radius: 8px;
  padding: 16px;
  margin-top: 24px;
}

/* Product card styles */
.product-card {
  transition: all 0.3s ease;
}

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

/* Partner logos grid */
.partner-logo {
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Bank logos fixes */
.grid img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

/* Print styles */
@media print {
  header, footer, .no-print {
    display: none;
  }
  
  body {
    background-color: white;
  }
  
  main {
    width: 100%;
    margin: 0;
    padding: 0;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Focus state improvements */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
/* filepath: c:\Users\Ak\Downloads\Ondo\replit\7\static_site\css\styles.css */
.bg-accent { background-color: #2563eb; }      /* Example blue */
.bg-primary { background-color: #1e293b; }     /* Example dark */
.bg-primary-dark { background-color: #0f172a; }
.text-primary { color: #1e293b; }
.hover\:bg-accent\/90:hover { background-color: #1d4ed8; }
/* Add more as needed */

