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

:root {
  --primary: #4f46e5; /* Indigo */
  --primary-hover: #4338ca;
  --secondary: #0ea5e9; /* Light blue */
  --bg-color: #f8fafc; /* Slate 50 */
  --text-dark: #0f172a; /* Slate 900 */
  --text-light: #64748b; /* Slate 500 */
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
  --font-main: 'Inter', sans-serif;
  --transition: all 0.3s ease;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-dark);
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

main, section {
  flex: 1 0 auto;
}

/* Materialize Form Override for active labels */
.input-field label {
  color: #9e9e9e;
}
.input-field input[type=text]:focus + label,
.input-field input[type=email]:focus + label,
.input-field input[type=tel]:focus + label,
.input-field textarea:focus + label {
  color: var(--primary) !important;
}
.input-field input[type=text]:focus,
.input-field input[type=email]:focus,
.input-field input[type=tel]:focus,
.input-field textarea:focus {
  border-bottom: 1px solid var(--primary) !important;
  box-shadow: 0 1px 0 0 var(--primary) !important;
}

/* ----- Utility Classes ----- */
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-lg);
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ----- Hero Section Background ----- */
.hero {
  background: radial-gradient(circle at top right, rgba(14, 165, 233, 0.1), transparent 40%),
              radial-gradient(circle at bottom left, rgba(79, 70, 229, 0.1), transparent 40%);
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Custom Overrides & Misc */
.page-footer {
  padding-top: 60px;
}
.page-footer ul li {
  margin-bottom: 10px;
}
.sidenav li>a {
  font-weight: 500;
}
.card {
  border-radius: var(--radius);
}
.btn-large {
  font-weight: 600;
  text-transform: none;
}
.btn {
  text-transform: none;
  font-weight: 600;
}
