/* VEOTEQ Solutions Custom Styles */

/* Performance Optimizations */
* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

/* Enhanced Typography */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #2c3e50;
}

/* Typography Hierarchy */
.display-1 {
  font-size: 4.5rem !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.02em;
}

.display-6 {
  font-size: 2.5rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.01em;
}

h1, .h1 {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h2, .h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

h3, .h3 {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 1rem;
}

h4, .h4 {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

h5, .h5 {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

h6, .h6 {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.lead {
  font-size: 1.25rem !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  color: #5a6c7d;
}

p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  color: #4a5568;
}

/* Enhanced Button Typography */
.btn {
  font-weight: 500;
  letter-spacing: 0.025em;
}

.btn-xl {
  font-size: 1.125rem;
  padding: 1.25rem 2.5rem;
  font-weight: 600;
}

/* Responsive Background Image */
.responsive-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
}

@media (max-width: 768px) {
  .responsive-bg {
    background-size: contain;
    background-position: top center;
  }
}

/* Main Title Styling */
.main-title {
  color: #2c3e50;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .main-title {
    font-size: 2.5rem !important;
    color: #34495e;
  }
}

/* Enhanced Button Styles */
.btn-xl {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.btn-xl:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Form Enhancements */
.form-control {
  border-radius: 0.5rem;
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

/* Loading State for Form */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Enhanced Link Styles */
.link-fancy {
  position: relative;
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.link-fancy:hover {
  color: #007bff;
}

.link-fancy::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: #007bff;
  transition: width 0.3s ease;
}

.link-fancy:hover::after {
  width: 100%;
}

/* Enhanced Color Scheme */
:root {
  --primary-color: #3b82f6;
  --primary-dark: #1e40af;
  --secondary-color: #64748b;
  --accent-color: #f59e0b;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --shadow-light: rgba(0, 0, 0, 0.05);
  --shadow-medium: rgba(0, 0, 0, 0.1);
  --shadow-heavy: rgba(0, 0, 0, 0.15);
}

/* InspiroGoals Gradient */
.inspirogoals-gradient {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Achievement Numbers Styling */
.display-1 {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* Enhanced Button Colors */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  border: none;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #1e3a8a 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.btn-warning {
  background: linear-gradient(135deg, var(--accent-color) 0%, #d97706 100%);
  border: none;
  color: white;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-warning:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

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

.shadow:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

/* Newsletter Form Styling */
.grouped-inputs {
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.grouped-inputs:focus-within {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

/* Enhanced Spacing & Layout */
.container {
  max-width: 1200px;
}

.py-vh-6 {
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}

.py-vh-5 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

.py-vh-4 {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

.py-vh-3 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

/* Enhanced Card Design */
.card {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.card-body {
  padding: 2rem;
}

/* Enhanced Form Design */
.form-control {
  border-radius: 0.75rem;
  border: 2px solid #e2e8f0;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.15);
  transform: translateY(-1px);
}

/* Enhanced Navigation */
.navbar {
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a202c !important;
}

.nav-link {
  font-weight: 500;
  color: #4a5568 !important;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: #3b82f6 !important;
  transform: translateY(-1px);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .display-1 {
    font-size: 3rem !important;
  }
  
  .display-6 {
    font-size: 2rem !important;
  }
  
  h1, .h1 {
    font-size: 2rem;
  }
  
  h2, .h2 {
    font-size: 1.75rem;
  }
  
  .lead {
    font-size: 1.125rem !important;
  }
  
  p {
    font-size: 1rem;
  }
  
  .py-vh-6 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }
  
  .py-vh-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .card-body {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .display-1 {
    font-size: 2.5rem !important;
  }
  
  .display-6 {
    font-size: 1.75rem !important;
  }
  
  .py-vh-6 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .py-vh-5 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Enhanced Smooth Scrolling for Navigation */
.nav-link {
  transition: all 0.3s ease;
}

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

/* Smooth Page Transitions */
body {
  opacity: 0;
  animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

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

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Animation Enhancements */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Loading Animation */
@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

.loading {
  animation: pulse 1.5s ease-in-out infinite;
}
