@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --color-primary: #1b4994;
  --color-secondary: #73c8f0;
  --bg-color: #ffffff;
  --text-color: #333333;
  --card-bg: #ffffff;
  --section-bg-alt: #f8f9fa;
  --border-color: #e5e7eb;
}

/* Dark Mode Variables */
.dark-mode {
  --bg-color: #111827;
  --text-color: #f3f4f6;
  --card-bg: #1f2937;
  --section-bg-alt: #1e293b;
  --border-color: #374151;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s, color 0.3s;
  overflow-x: hidden;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-color);
  transition: color 0.3s;
}

/* Theme Switcher */
.theme-switch-wrapper {
  display: flex;
  align-items: center;
}

.theme-switch {
  display: inline-block;
  height: 24px;
  position: relative;
  width: 48px;
}

.theme-switch input {
  display: none;
}

.slider {
  background-color: #ccc;
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: .4s;
}

.slider:before {
  background-color: #fff;
  bottom: 2px;
  content: "";
  height: 20px;
  left: 2px;
  position: absolute;
  transition: .4s;
  width: 20px;
}

input:checked + .slider {
  background-color: var(--color-primary);
}

input:checked + .slider:before {
  transform: translateX(24px);
}

.slider.round {
  border-radius: 24px;
}

.slider.round:before {
  border-radius: 50%;
}

/* Custom Overrides for precise pixel-perfect elements */
.hero-bg {
  background-image: url('assets/img/hero_bg.png');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  min-height: 500px;
}

.card-shadow {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.dark-mode .card-shadow {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.curved-section {
  border-radius: 2rem;
  overflow: hidden;
}

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

.bg-primary-custom {
  background-color: var(--color-primary) !important;
}

.text-secondary-custom {
  color: var(--color-secondary) !important;
}

.bg-secondary-custom {
  background-color: var(--color-secondary) !important;
}

/* Form inputs for dark mode */
.dark-mode input, .dark-mode textarea {
  background-color: #374151;
  color: #fff;
  border-color: #4b5563;
}
