/* Home Care Worker Pages - Mobile First Design */

/* ===== Base/Mobile Styles (< 768px) ===== */

/* Hero Section */
.hero {
  background: linear-gradient(145deg, #004d47 0%, #00847d 50%, #006d66 100%);
  color: white;
}

.hcw-hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.hcw-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(45, 203, 189, 0.25);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  border: 2px solid rgba(45, 203, 189, 0.5);
  box-shadow: 0 4px 15px rgba(45, 203, 189, 0.2);
}

.hcw-hero__tag i {
  color: #2dcbbd;
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.1);
  }
  50% {
    transform: scale(1);
  }
}

.hcw-hero__title {
  color: #ffffff;
  text-shadow:
    0 4px 30px rgba(0, 0, 0, 0.4),
    0 2px 10px rgba(0, 0, 0, 0.3);
  margin-bottom: 1rem;
  font-size: 2.1rem;
}

.hcw-hero__subtitle {
  color: #fff;
  margin-bottom: 0;
  text-align: center;
}

.hcw-hero__actions {
  display: flex;
  flex-direction: column;
  width: 95%;
  gap: 12px;
  margin-top: 32px;
}

/* Hero Buttons - Extend base .button class */
.button--hero-primary,
.button--hero-outline {
  gap: 10px;
  width: 100%;
}

.button--hero-primary {
  background: #2dcbbd;
  color: #00423d;
  border: 2px solid #2dcbbd;
  box-shadow: 0 4px 20px rgba(45, 203, 189, 0.4);
}

.button--hero-primary:hover {
  transform: translateY(-2px);
  background: #3dd4c6;
  border-color: #3dd4c6;
  box-shadow: 0 6px 25px rgba(45, 203, 189, 0.5);
}

.button--hero-outline {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.button--hero-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* Introduction Section */
.hcw-intro {
  padding: 48px 0;
  background: var(--white);
}

.hcw-intro__content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hcw-intro__text {
  order: 2;
}

.hcw-intro__image {
  order: 1;
}

.hcw-intro__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 20px;
  line-height: 1.3;
}

.hcw-intro__description {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 16px;
}

.hcw-intro__image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Qualifications Section */
.hcw-qualifications {
  padding: 48px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hcw-section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-heading);
  text-align: center;
  margin-bottom: 32px;
}

.hcw-section-subtitle {
  font-size: 16px;
  color: var(--text-body);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
}

.hcw-qualifications__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.hcw-qualification-card {
  background: var(--white);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.hcw-qualification-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-color);
  box-shadow: 0 8px 24px rgba(0, 95, 115, 0.15);
}

.hcw-qualification-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), #007a8f);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.hcw-qualification-card__icon i {
  font-size: 18px;
  color: white;
}

.hcw-qualification-card__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.hcw-qualification-card__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body);
  margin: 0;
}
.hcw-qualification-card-nesting {
  display: flex;
  align-items: center;
  gap: 1em;
}
/* Services Section */
.hcw-services {
  padding: 48px 0;
  background: var(--white);
}

.hcw-services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.hcw-service-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 2px solid #f1f5f9;
  transition: all 0.3s ease;
}

.hcw-service-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-color);
  box-shadow: 0 8px 24px rgba(0, 95, 115, 0.15);
}

.hcw-service-card__header {
  background: linear-gradient(135deg, var(--primary-color), #007a8f);
  padding: 20px;
  color: white;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hcw-service-card__icon {
  font-size: 24px;
  flex-shrink: 0;
}

.hcw-service-card__title {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: white;
}

.hcw-service-card__body {
  padding: 20px;
}

.hcw-service-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hcw-service-card__list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-body);
}

.hcw-service-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.hcw-service-card__list li:last-child {
  margin-bottom: 0;
}

/* Features Section */
.hcw-features {
  padding: 60px 0;
  background: #f8fafb;
}

.hcw-features .hcw-section-title {
  color: var(--primary-color);
}

.hcw-features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.hcw-feature-item {
  text-align: center;
  padding: 32px 24px;
  background: var(--white);
  border-radius: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid #e8eef2;
}

.hcw-feature-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 95, 115, 0.12);
  border-color: var(--primary-color);
}

.hcw-feature-item__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--primary-color), #00a89d);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 20px rgba(0, 95, 115, 0.25);
}

.hcw-feature-item__icon i {
  font-size: 28px;
  color: white;
}

.hcw-feature-item__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-heading);
}

.hcw-feature-item__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body);
  margin: 0;
}

/* Process Section */
.hcw-process {
  padding: 48px 0;
  background: var(--white);
}

.hcw-process__timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

.hcw-process__timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary-color), #007a8f);
}

.hcw-process-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  position: relative;
}

.hcw-process-step__number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), #007a8f);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
  z-index: 1;
}

.hcw-process-step__content {
  flex: 1;
  background: #f8fafc;
  padding: 20px;
  border-radius: 12px;
  border-left: 3px solid var(--primary-color);
}

.hcw-process-step__title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.hcw-process-step__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-body);
  margin: 0;
}

/* CTA Section */
.hcw-cta {
  padding: 48px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  text-align: center;
}

.hcw-cta__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 16px;
}

.hcw-cta__text {
  font-size: 16px;
  color: var(--text-body);
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hcw-cta__buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.hcw-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 280px;
}

.hcw-cta__btn--primary {
  background: linear-gradient(135deg, var(--primary-color), #007a8f);
  color: white;
}

.hcw-cta__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 95, 115, 0.3);
}

.hcw-cta__btn--secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.hcw-cta__btn--secondary:hover {
  background: var(--primary-color);
  color: white;
}

/* ===== Tablet Styles (768px+) ===== */
@media (min-width: 768px) {
  .hcw-hero__tag {
    font-size: 16px;
    padding: 10px 24px;
  }

  .hcw-hero__title {
    font-size: 3rem;
  }

  .hcw-hero__actions {
    flex-direction: row;
    width: auto;
    gap: 16px;
  }

  .button--hero-primary,
  .button--hero-outline {
    width: auto;
  }

  .hcw-intro,
  .hcw-qualifications,
  .hcw-services,
  .hcw-features,
  .hcw-process,
  .hcw-cta {
    padding: 64px 0;
  }

  .hcw-intro__content {
    flex-direction: row;
    align-items: center;
    gap: 48px;
  }

  .hcw-intro__text {
    order: 1;
    flex: 1;
  }

  .hcw-intro__image {
    order: 2;
    flex: 1;
  }

  .hcw-intro__title,
  .hcw-section-title {
    font-size: 28px;
  }

  .hcw-qualifications__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .hcw-services__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .hcw-features__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .hcw-process__timeline::before {
    left: 24px;
  }

  .hcw-process-step__number {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .hcw-cta__title {
    font-size: 28px;
  }

  .hcw-cta__buttons {
    flex-direction: row;
    justify-content: center;
  }

  .hcw-cta__btn {
    width: auto;
  }
  .hcw-process-step__title {
    text-align: left;
  }
}

/* ===== Desktop Styles (1200px+) ===== */
@media (min-width: 1200px) {
  .hcw-hero__title {
    font-size: 3.5rem;
  }

  .hcw-intro,
  .hcw-qualifications,
  .hcw-services,
  .hcw-features,
  .hcw-process,
  .hcw-cta {
    padding: 80px 0;
  }

  .hcw-intro__content {
    gap: 64px;
  }

  .hcw-intro__title,
  .hcw-section-title {
    font-size: 36px;
  }

  .hcw-intro__description {
    font-size: 17px;
  }

  .hcw-qualifications__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }

  .hcw-services__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }

  .hcw-features__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
  }

  .hcw-process__timeline {
    max-width: 800px;
    margin: 0 auto;
  }

  .hcw-cta__title {
    font-size: 36px;
  }

  .hcw-cta__text {
    font-size: 18px;
  }

  .hcw-cta__btn {
    padding: 16px 32px;
    font-size: 18px;
  }
  .hcw-intro__title {
    text-align: left;
  }
  .hcw-section-subtitle {
    text-align: left;
  }
}

/* FontAwesome Icon Definitions */
.fa-certificate::before {
  content: "\f0a3";
}
.fa-user-shield::before {
  content: "\f505";
}
.fa-graduation-cap::before {
  content: "\f19d";
}
.fa-file-medical::before {
  content: "\f477";
}
.fa-pills::before {
  content: "\f484";
}
.fa-hands-helping::before {
  content: "\f4c4";
}
.fa-clipboard-check::before {
  content: "\f46c";
}
.fa-shield-alt::before {
  content: "\f3ed";
}
