/* Custom Styles for Active Healthy Care */
:root {
  --primary-color: #2c7873;
  --secondary-color: #6fb98f;
  --accent-color: #004445;
  --light-bg: #f8f9fa;
  --text-dark: #2c3e50;
  --text-light: #6c757d;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

/* Navigation */
.navbar {
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 1rem 0;
}

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

.navbar-brand span {
  color: var(--secondary-color);
}

.nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
}

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

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(44, 120, 115, 0.3);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

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

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, rgba(44, 120, 115, 0.9) 0%, rgba(111, 185, 143, 0.85) 100%), url('../img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 8rem 0;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* Section Styling */
.section-padding {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 3rem;
}

/* Service Cards */
.service-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
}

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

.service-card img {
  height: 200px;
  object-fit: cover;
}

.service-card .card-body {
  padding: 1.5rem;
}

.service-card .card-title {
  color: var(--accent-color);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-card .card-text {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* Why Choose Us */
.why-choose-item {
  text-align: center;
  padding: 2rem;
}

.why-choose-item .icon {
  width: 80px;
  height: 80px;
  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: white;
  font-size: 2rem;
}

/* Testimonials */
.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  margin: 1rem;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-weight: 700;
  color: var(--accent-color);
}

.testimonial-role {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Blog Cards */
.blog-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
}

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

.blog-card img {
  height: 220px;
  object-fit: cover;
}

.blog-meta {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* FAQ */
.accordion-button {
  font-weight: 600;
  color: var(--text-dark);
  background-color: white;
}

.accordion-button:not(.collapsed) {
  color: var(--accent-color);
  background-color: rgba(44, 120, 115, 0.1);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* Footer */
footer {
  background-color: var(--accent-color);
  color: white;
  padding: 4rem 0 2rem;
}

footer h5 {
  color: white;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  margin-bottom: 0.5rem;
}

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

footer ul li a:hover {
  color: white;
}

.copyright {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
  color: rgba(255,255,255,0.7);
}

/* Forms */
.form-control, .form-select {
  border-radius: 10px;
  border: 1px solid #dee2e6;
  padding: 0.75rem 1rem;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(44, 120, 115, 0.25);
}

/* Contact Page */
.contact-info-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  height: 100%;
}

.contact-info-card .icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
}
