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

:root {
  --primary-color: #1e3a8a;
  --secondary-color: #059669;
  --accent-color: #dc2626;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --background-light: #f8fafc;
  --white: #ffffff;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  color: var(--text-dark);
}

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

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

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

.btn-primary-custom {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
  padding: 12px 32px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  background-color: #1e40af;
  border-color: #1e40af;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary-custom {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--white);
  padding: 12px 32px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
  background-color: #047857;
  border-color: #047857;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.btn-outline-custom {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 10px 30px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-primary-custom.btn {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
  padding: 12px 32px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-primary-custom.btn:hover {
  background-color: #1e40af;
  border-color: #1e40af;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.9), rgba(5, 150, 105, 0.8)),
              url('../pics/styles-bootstrap-theme-jennifer.jpg') center/cover;
  color: var(--white);
  position: relative;
}

/* Hero section button styles - enhanced for better contrast */
.hero-section .btn-primary-custom {
  background-color: #dc2626;
  border-color: #dc2626;
  color: var(--white);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

.hero-section .btn-primary-custom:hover {
  background-color: #b91c1c;
  border-color: #b91c1c;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.6);
}

.hero-section .btn-outline-custom {
  background-color: transparent;
  border: 2px solid #dc2626;
  color: #dc2626;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
  backdrop-filter: blur(10px);
}

.hero-section .btn-outline-custom:hover {
  background-color: #dc2626;
  color: var(--white);
  border-color: #dc2626;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.4);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  color: inherit;
}

.section-spacing {
  padding: 120px 0;
}

.section-spacing-small {
  padding: 80px 0;
}

.card-custom {
  border: none;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  overflow: hidden;
}

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

.card-service {
  border: none;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  overflow: hidden;
  height: 100%;
}

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

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--white);
  font-size: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
  border-left: 4px solid var(--secondary-color);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--secondary-color);
  font-family: serif;
}

.stats-counter {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.stats-counter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="3" fill="rgba(255,255,255,0.1)"/><circle cx="60" cy="40" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
}

.counter-item {
  text-align: center;
  position: relative;
  z-index: 2;
}

.counter-number {
  font-size: 3rem;
  font-weight: 700;
  font-family: 'Merriweather', serif;
  margin-bottom: 0.5rem;
}

.counter-label {
  font-size: 1.1rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.navbar-custom {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar-custom.scrolled {
  box-shadow: var(--shadow-md);
  padding: 0.5rem 0;
}

.navbar-brand-custom {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.nav-link-custom {
  color: var(--text-dark) !important;
  font-weight: 500;
  padding: 0.75rem 1.25rem !important;
  transition: all 0.3s ease;
  white-space: nowrap;
  border-radius: 6px;
  position: relative;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  text-decoration: none !important;
}

.nav-link-custom:hover {
  color: var(--primary-color) !important;
  background: rgba(30, 58, 138, 0.1);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.15);
  text-decoration: none !important;
}

.nav-link-custom.active {
  color: var(--primary-color) !important;
  background: rgba(30, 58, 138, 0.15);
  font-weight: 600;
  text-decoration: none !important;
}

.nav-link-custom.btn-primary-custom {
  color: white !important;
  background: linear-gradient(135deg, var(--primary-color), #1e40af);
  border: none;
  padding: 0.75rem 1.5rem !important;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none !important;
  align-items: center;
  justify-content: center;
}

.nav-link-custom.btn-primary-custom:hover {
  background: linear-gradient(135deg, #1e40af, #1d4ed8);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(30, 58, 138, 0.4);
  text-decoration: none !important;
}

.nav-link-custom.btn-primary-custom::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s;
}

.nav-link-custom.btn-primary-custom:hover::before {
  left: 100%;
}

.nav-link-custom.btn-primary-custom {
  color:white !important;
}
.navbar-toggler-custom {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler-icon-custom {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231f2937' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.contact-form {
  background: var(--background-light);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.form-control-custom {
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control-custom:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
}

.footer-custom {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-custom h5 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-custom .text-muted {
  color: rgba(255, 255, 255, 0.8) !important;
}

.footer-link {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  padding: 0.25rem 0;
}

.footer-link:hover {
  color: var(--secondary-color);
}

.footer-bottom .footer-link {
  display: inline-block;
}

.social-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--secondary-color);
  color: var(--white);
  transform: translateY(-2px);
}

.emergency-badge {
  background: linear-gradient(135deg, var(--accent-color), #b91c1c);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.cookie-consent-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  z-index: 1050;
  border: 1px solid var(--border-color);
  max-width: 600px;
  margin: 0 auto;
}

.cookie-consent-banner h6 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.cookie-consent-banner p {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 8px 16px;
  border-radius: 6px;
  border: none;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.cookie-btn-accept {
  background-color: var(--secondary-color);
  color: var(--white);
}

.cookie-btn-accept:hover {
  background-color: #047857;
}

.cookie-btn-decline {
  background-color: var(--border-color);
  color: var(--text-dark);
}

.cookie-btn-decline:hover {
  background-color: #d1d5db;
}

.cookie-link {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.85rem;
}

.cookie-link:hover {
  text-decoration: underline;
}

.process-step {
  text-align: center;
  padding: 2rem;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.team-member {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  height: 100%;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.member-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 4px solid var(--border-color);
}

.accordion-button-custom {
  background-color: var(--background-light);
  border: none;
  padding: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  border-radius: 8px !important;
  margin-bottom: 0.5rem;
}

.accordion-button-custom:not(.collapsed) {
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: none;
}

.accordion-button-custom:focus {
  box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
}

.accordion-body-custom {
  padding: 1.5rem;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.price-tag {
  background: linear-gradient(135deg, var(--secondary-color), #047857);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-weight: 700;
  font-size: 1.1rem;
  display: inline-block;
  margin-bottom: 1rem;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1200px) {
  .navbar-custom {
    padding: 0.75rem 0;
  }
  
  .navbar-brand-custom {
    font-size: 1.375rem;
  }
  
  .nav-link-custom {
    padding: 0.5rem 1rem !important;
    font-size: 0.95rem;
  }
}

@media (max-width: 992px) {
  .navbar-custom {
    padding: 0.625rem 0;
  }
  
  .navbar-brand-custom {
    font-size: 1.25rem;
  }
  
  .nav-link-custom {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .section-spacing {
    padding: 80px 0;
  }
  
  .section-spacing-small {
    padding: 60px 0;
  }
  
  .hero-section {
    min-height: 80vh;
  }
  
  .counter-number {
    font-size: 2.5rem;
  }
  
  .cookie-consent-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
  
  .navbar-custom {
    padding: 0.5rem 0;
  }
  
  .navbar-brand-custom {
    font-size: 1.125rem;
  }
  
  .nav-link-custom {
    padding: 0.5rem 0.625rem !important;
    font-size: 0.85rem;
  }
  
  .btn-primary-custom,
  .btn-secondary-custom,
  .btn-outline-custom {
    padding: 10px 24px;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .hero-section {
    min-height: 70vh;
  }
  
  .section-spacing {
    padding: 60px 0;
  }
  
  .cookie-consent-banner {
    padding: 1rem;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
  
  .cookie-btn {
    width: 100%;
  }
}