/* ===== HEALTHY LIFE CARE PROS - 2025 DESIGN SYSTEM ===== */

/* CSS Variables - 2025 Gradient Color Palette */
:root {
  /* Primary Gradient: Emerald Green to Teal Blue */
  --primary-gradient: linear-gradient(135deg, #2ECC71 0%, #1ABC9C 100%);
  --primary-color: #2ECC71;
  --primary-dark: #27AE60;
  --teal-color: #1ABC9C;
  
  /* Secondary Gradient: Deep Blue to Royal Indigo */
  --secondary-gradient: linear-gradient(135deg, #2C3E50 0%, #3A4F8B 100%);
  --secondary-color: #2C3E50;
  --indigo-color: #3A4F8B;
  
  /* Accent Color */
  --accent-color: #FF6B6B;
  --accent-hover: #FF5252;
  
  /* Background & Text */
  --bg-color: #FAFAFA;
  --text-color: #2D2D2D;
  --text-light: #6C757D;
  --white: #FFFFFF;
  
  /* Shadows & Effects */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 25px rgba(0,0,0,0.2);
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Spacing */
  --section-padding: 5rem 0;
  --border-radius: 12px;
  --border-radius-lg: 20px;
}

/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
  font-weight: var(--font-weight-normal);
}

html {
  scroll-behavior: smooth;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.display-4 {
  font-weight: var(--font-weight-bold);
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lead {
  font-size: 1.25rem;
  font-weight: var(--font-weight-normal);
  color: var(--text-light);
}

/* ===== NAVIGATION ===== */
.navbar {
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.95) !important;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--text-color) !important;
}

.navbar-brand .text-primary {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link {
  font-weight: var(--font-weight-medium);
  color: var(--text-color) !important;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.dropdown-menu {
  border: none;
  box-shadow: var(--shadow-lg);
  border-radius: var(--border-radius);
  padding: 1rem 0;
}

.dropdown-item {
  padding: 0.75rem 1.5rem;
  font-weight: var(--font-weight-medium);
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.1) 0%, rgba(26, 188, 156, 0.1) 100%);
  color: var(--primary-color);
}

/* ===== BUTTONS ===== */
.btn {
  font-weight: var(--font-weight-semibold);
  border-radius: var(--border-radius);
  padding: 0.75rem 2rem;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary-gradient);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #27AE60 0%, #16A085 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--white);
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--primary-gradient);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--white);
}

/* ===== HERO SECTION ===== */
.hero-section {
  background: linear-gradient(135deg, rgba(250, 250, 250, 1) 0%, rgba(240, 248, 255, 1) 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(46, 204, 113, 0.1) 0%, transparent 70%);
  animation: float 6s ease-in-out infinite;
}

.hero-image img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ===== ANIMATIONS ===== */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

.fade-in-delay {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.fade-in-delay-2 {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.fade-in-right {
  animation: fadeInRight 0.8s ease-out 0.3s both;
}

/* ===== CARDS ===== */
.card {
  border: none;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.card-header {
  background: var(--primary-gradient);
  color: var(--white);
  border: none;
  padding: 1.5rem;
}

.card-body {
  padding: 2rem;
}

/* ===== SECTIONS ===== */
.section {
  padding: var(--section-padding);
}

.section-title {
  font-size: 2.5rem;
  font-weight: var(--font-weight-bold);
  text-align: center;
  margin-bottom: 3rem;
  background: var(--secondary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== FORMS ===== */
.form-control {
  border: 2px solid #E9ECEF;
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem;
  font-weight: var(--font-weight-medium);
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(46, 204, 113, 0.25);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--secondary-gradient);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .display-4 {
    font-size: 2.5rem;
  }
  
  .hero-section {
    padding: 2rem 0;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .display-4 {
    font-size: 2rem;
  }
  
  .lead {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

/* ===== SERVICE CARDS ===== */
.service-card {
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.05);
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  color: var(--primary-color);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--primary-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

/* ===== TRUST STATS ===== */
.trust-stat {
  padding: 1rem;
}

.trust-stat h3 {
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* ===== CERTIFICATIONS ===== */
.certification-badge {
  transition: all 0.3s ease;
  cursor: pointer;
}

.certification-badge:hover {
  transform: scale(1.1);
}

/* ===== NEWSLETTER FORM ===== */
.newsletter-form .form-control {
  border-radius: var(--border-radius);
  border: 2px solid #E9ECEF;
}

.newsletter-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(46, 204, 113, 0.25);
}

/* ===== SOCIAL LINKS ===== */
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--white);
  color: var(--primary-color) !important;
  transform: translateY(-2px);
}

/* ===== SCROLL TO TOP ===== */
.scroll-to-top {
  transition: all 0.3s ease;
}

.scroll-to-top:hover {
  transform: translateY(-2px);
}

/* ===== NAVBAR SCROLLED STATE ===== */
.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(15px);
  box-shadow: var(--shadow-md);
}

/* ===== UTILITY CLASSES ===== */
.text-gradient-primary {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-secondary {
  background: var(--secondary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.bg-gradient-secondary {
  background: var(--secondary-gradient);
}

.shadow-custom {
  box-shadow: var(--shadow-lg);
}

.rounded-custom {
  border-radius: var(--border-radius-lg);
}