/* SpringWell Care Services - Simple CSS */

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

:root {
  --teal: #1b8b8b;
  --green: #5fa75f;
  --light-blue: #e8f4f8;
  --dark-text: #1a1a1a;
  --gray-light: #f5f5f5;
  --gray-medium: #999;
  --gray-dark: #333;
}

body {
  font-family: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--dark-text);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Merriweather", Georgia, serif;
  font-weight: 700;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #156b6b;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Top Banner */
.top-banner {
  background-color: var(--teal);
  color: white;
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.top-banner a {
  color: var(--green);
  font-weight: bold;
  text-decoration: underline;
}

.top-banner a:hover {
  text-decoration: none;
}

/* Navigation */
nav {
  background-color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo img {
  height: 60px;
  object-fit: contain;
}

.nav-links {
  display: none;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 600;
  color: #555;
}

.nav-links a:hover {
  color: var(--teal);
}

.nav-right {
  display: none;
  align-items: center;
  gap: 1rem;
}

.phone-link {
  color: var(--teal);
  font-weight: bold;
  font-size: 1rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: #333;
}

@media (min-width: 768px) {
  .nav-links,
  .nav-right {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }
}

.mobile-menu {
  display: none;
  border-top: 1px solid #eee;
  padding: 1rem;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  font-size: 0.875rem;
  font-weight: 600;
  color: #555;
  display: block;
  padding: 0.25rem 0;
}

/* Floating Buttons */
.floating-buttons {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
}

.floating-btn {
  width: 56px;
  padding: 1rem 0.75rem;
  font-size: 0.75rem;
  font-weight: bold;
  text-align: center;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.floating-btn.care {
  background-color: var(--green);
}

.floating-btn.care:hover {
  background-color: #4a8a4a;
}

.floating-btn.jobs {
  background-color: var(--teal);
}

.floating-btn.jobs:hover {
  background-color: #156b6b;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center 20%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.1);
}

.hero-text {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  padding: 1.5rem;
  max-width: 280px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: none;
}

.hero-text h1 {
  color: var(--teal);
  font-size: 1.6rem;
  line-height: 1.3;
  margin: 0;
}

@media (min-width: 768px) {
  .hero-text {
    display: block;
  }
}

/* Location Banner */
.location-banner {
  background-color: var(--teal);
  padding: 2rem 1rem;
}

.location-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .location-content {
    flex-direction: row;
    align-items: center;
  }
}

.location-title {
  color: white;
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  flex: 1;
}

.location-phone {
  background-color: var(--green);
  padding: 1.5rem;
  color: white;
  min-width: 260px;
}

.location-phone p {
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

.location-phone a {
  font-size: 1.5rem;
  font-weight: 900;
  color: white;
  display: block;
}

.location-phone a:hover {
  color: #d0d0d0;
}

/* CTA Banner */
.cta-banner {
  padding: 2.5rem 1rem;
  background-color: white;
  text-align: center;
}

.cta-banner p {
  font-size: 1.25rem;
  color: #555;
  margin: 0 0 0.5rem 0;
}

.cta-banner a {
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--teal);
}

.cta-banner a:hover {
  color: #156b6b;
}

/* Sections */
section {
  padding: 3rem 1rem;
}

.section-light {
  background-color: var(--light-blue);
}

.section-white {
  background-color: white;
}

.section-teal {
  background-color: var(--teal);
  color: white;
}

h2 {
  font-size: 1.875rem;
  color: var(--teal);
  margin-bottom: 1.5rem;
}

.section-teal h2 {
  color: white;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.service-card {
  background-color: white;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-top: 4px solid var(--green);
  transition: box-shadow 0.2s ease;
}

.service-card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.service-card h3 {
  font-size: 1.125rem;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.service-card a {
  font-size: 0.875rem;
  font-weight: bold;
  color: var(--green);
}

.service-card a:hover {
  color: #4a8a4a;
}

/* CTA Row */
.cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #ddd;
  background-color: white;
  overflow: hidden;
}

@media (max-width: 768px) {
  .cta-row {
    grid-template-columns: 1fr;
  }
}

.cta-col {
  padding: 2rem;
  text-align: center;
  border-right: 1px solid #ddd;
}

.cta-col:last-child {
  border-right: none;
}

@media (max-width: 768px) {
  .cta-col {
    border-right: none;
    border-bottom: 1px solid #ddd;
  }

  .cta-col:last-child {
    border-bottom: none;
  }
}

.cta-col h3 {
  font-size: 1.125rem;
  color: var(--teal);
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.625rem 1.5rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  font-family: "Lato", sans-serif;
}

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

.btn-teal:hover {
  background-color: #156b6b;
}

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

.btn-green:hover {
  background-color: #4a8a4a;
}

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

.btn-outline-teal:hover {
  background-color: var(--teal);
  color: white;
}

/* Two Column Layout */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

@media (max-width: 768px) {
  .two-column {
    grid-template-columns: 1fr;
  }
}

.two-column-text {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.two-column-text h2 {
  margin-bottom: 1rem;
}

.two-column-text p {
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.two-column-image {
  position: relative;
  min-height: 320px;
}

.two-column-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.two-column.reverse {
  direction: rtl;
}

.two-column.reverse > * {
  direction: ltr;
}

/* Award Section */
.award-badge {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: var(--teal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border: 4px solid var(--green);
}

.award-badge-label {
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.award-badge-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1.2;
}

.award-badge-subtitle {
  font-size: 0.875rem;
  font-weight: bold;
  margin-top: 0.5rem;
}

.award-badge-year {
  font-size: 0.75rem;
  margin-top: 0.5rem;
  color: #b3d9ff;
}

/* Testimonials */
.testimonials-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

@media (max-width: 768px) {
  .testimonials-container {
    grid-template-columns: 1fr;
  }
}

.testimonials-image {
  position: relative;
  min-height: 360px;
}

.testimonials-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.testimonials-content {
  background-color: var(--teal);
  color: white;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonials-content h2 {
  color: white;
  margin-bottom: 0.75rem;
}

.stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.star {
  width: 20px;
  height: 20px;
  fill: var(--green);
}

.quote {
  color: #ddd;
  font-size: 0.875rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.author {
  font-weight: bold;
  color: white;
  font-size: 0.875rem;
}

.testimonial-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.nav-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background-color: transparent;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.nav-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.dot-indicators {
  display: flex;
  gap: 0.25rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.dot.active {
  background-color: var(--green);
}

/* Newsletter */
.newsletter {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: flex-start;
}

@media (max-width: 768px) {
  .newsletter {
    grid-template-columns: 1fr;
  }
}

.newsletter-icon {
  font-size: 3rem;
  text-align: center;
}

.newsletter h2 {
  margin-bottom: 0;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group textarea {
  border: 1px solid #ccc;
  padding: 0.5rem;
  font-size: 0.875rem;
  font-family: "Lato", sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
}

.form-checkbox {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.form-checkbox input {
  margin-top: 0.25rem;
}

.form-checkbox label {
  font-size: 0.75rem;
  color: #666;
  line-height: 1.4;
}

.form-checkbox a {
  color: var(--teal);
}

.success-message {
  background-color: var(--green);
  color: white;
  padding: 1.5rem;
  text-align: center;
}

.success-message p {
  margin: 0;
}

.success-message p:first-child {
  font-weight: bold;
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.success-message p:last-child {
  font-size: 0.875rem;
}

/* Footer */
footer {
  background-color: var(--teal);
  color: white;
  padding: 3rem 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  color: white;
}

.footer-col ul {
  list-style: none;
}

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

.footer-col a {
  font-size: 0.875rem;
  color: #ddd;
}

.footer-col a:hover {
  color: var(--green);
}

.footer-logo {
  width: 130px;
  height: auto;
  margin-bottom: 1rem;
}

.footer-address {
  font-size: 0.875rem;
  color: #ddd;
  line-height: 1.6;
}

.footer-address strong {
  color: white;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.social-btn {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

.social-btn:hover {
  background-color: var(--green);
}

.footer-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-buttons .btn {
  text-align: center;
  font-size: 0.875rem;
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: #999;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}
.mb-4 {
  margin-bottom: 2rem;
}

.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}

.hidden {
  display: none;
}
