/* Healthcare Nourish - 2025 Modern Baby Healthcare Website Styles */

/* Import Bootstrap 5 */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* 2025 Gradient Color Palette - Baby Healthcare Theme */
:root {
  /* Primary Gradient: Soft Sky Blue → Aqua Green */
  --primary-gradient: linear-gradient(135deg, #6EC1E4 0%, #3CCFBD 100%);
  --primary-color: #6EC1E4;
  --primary-dark: #3CCFBD;
  
  /* Secondary Gradient: Peach Pink → Warm Coral */
  --secondary-gradient: linear-gradient(135deg, #FFB6A9 0%, #FF6B6B 100%);
  --secondary-color: #FFB6A9;
  --secondary-dark: #FF6B6B;
  
  /* Accent Color */
  --accent-color: #FFD966;
  --accent-hover: #FFD23F;
  
  /* Background & Text */
  --bg-white: #FFFFFF;
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-light: #999999;
  
  /* Additional Colors */
  --light-blue: rgba(110, 193, 228, 0.1);
  --light-pink: rgba(255, 182, 169, 0.1);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
  
  /* Typography */
  --font-primary: 'Inter', sans-serif;
  --font-heading: 'Poppins', sans-serif;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  color: var(--text-primary);
  line-height: 1.6;
  background-color: var(--bg-white);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2.2rem; }
h4 { font-size: 1.8rem; }
h5 { font-size: 1.4rem; }
h6 { font-size: 1.2rem; }

p {
  margin-bottom: 1.2rem;
  color: var(--text-secondary);
}

/* Responsive Typography */
@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.8rem; }
  h4 { font-size: 1.5rem; }
}

/* Navigation Styles */
.navbar {
  background: var(--bg-white);
  box-shadow: var(--shadow-soft);
  padding: 1rem 0;
  transition: all 0.3s ease;
}
.navbar-scrolled {
  background: var(--bg-white);
  box-shadow: var(--shadow-hover);
  padding: 0.5rem 0;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.8rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--text-primary);
  margin: 0 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  background: var(--light-blue);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.dropdown-menu {
  border: none;
  box-shadow: var(--shadow-soft);
  border-radius: 15px;
  padding: 1rem 0;
}

.dropdown-item {
  padding: 0.7rem 1.5rem;
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background: var(--light-blue);
  color: var(--primary-color);
}

/* Button Styles */
.btn-primary {
  background: var(--primary-gradient);
  border: none;
  border-radius: 25px;
  padding: 0.8rem 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  background: var(--primary-gradient);
}

.btn-secondary {
  background: var(--secondary-gradient);
  border: none;
  border-radius: 25px;
  padding: 0.8rem 2rem;
  font-weight: 600;
  color: white;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  background: var(--secondary-gradient);
  color: white;
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 25px;
  padding: 0.8rem 2rem;
  font-weight: 600;
  background: transparent;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: var(--primary-gradient);
  border-color: transparent;
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--light-blue) 0%, var(--light-pink) 100%);
  padding: 8rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 100%;
  height: 200%;
  background: var(--primary-gradient);
  border-radius: 50%;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

/* Card Styles */
.service-card {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  border: none;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: white;
}

.service-card h4 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* Testimonial Styles */
.testimonial-card {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  text-align: center;
  position: relative;
  margin: 1rem;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 4rem;
  color: var(--primary-color);
  opacity: 0.3;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.testimonial-author {
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial-role {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Section Styles */
.section-padding {
  padding: 6rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Form Styles */
.form-control {
  border: 2px solid #e9ecef;
  border-radius: 15px;
  padding: 0.8rem 1.2rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(110, 193, 228, 0.25);
}

.form-label {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

/* Footer Styles */
.footer {
  background: linear-gradient(135deg, var(--text-primary) 0%, #2c2c2c 100%);
  color: white;
  padding: 4rem 0 2rem;
}

.footer h5 {
  color: white;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 2rem;
  margin-top: 3rem;
  text-align: center;
  color: #ccc;
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Utility Classes */
.text-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-light-blue {
  background-color: var(--light-blue);
}

.bg-light-pink {
  background-color: var(--light-pink);
}

.rounded-custom {
  border-radius: 20px;
}

.shadow-custom {
  box-shadow: var(--shadow-soft);
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-section {
    padding: 6rem 0 4rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .section-padding {
    padding: 4rem 0;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .service-card {
    padding: 2rem;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 4rem 0 3rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .btn-primary,
  .btn-secondary,
  .btn-outline-primary {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus styles for accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
}

/* === Global Footer Styles === */
.site-footer {
  background: #f8f9fa;
  border-top: 1px solid rgba(0,0,0,0.06);
  color: #344767;
}
.site-footer .footer-link {
  color: #344767;
  text-decoration: none;
}
.site-footer .footer-link:hover,
.site-footer .footer-link:focus {
  color: var(--primary-color, #0d6efd);
  text-decoration: underline;
  outline: none;
}
.site-footer h5, .site-footer h6 {
  color: #1e2a3a;
}

/* === Breadcrumbs === */
.breadcrumb-wrapper {
  background: #f8fafc;
}
.breadcrumb {
  --bs-breadcrumb-divider: '›';
}
.breadcrumb .breadcrumb-item a {
  color: var(--primary-color, #0d6efd);
  text-decoration: none;
}
.breadcrumb .breadcrumb-item a:hover,
.breadcrumb .breadcrumb-item a:focus {
  text-decoration: underline;
}

/* === Enhanced Sections === */
.enhanced-section .lead { color: #415a77; }
.enhanced-section img.lazy { opacity: 0; transition: opacity .4s ease; }
.enhanced-section img.loaded { opacity: 1; }

/* Improve small input-group buttons in footer */
#footerSubscribeForm .btn { min-width: 40px; }

/* Small utility spacing for footer */
.site-footer .container { max-width: 1140px; }