/* ============================================
   HOME PAGE STYLES
   ============================================ */

/* ============================================
   HERO SECTION
   ============================================ */
.home-hero-section {
  padding: 2rem 0 4rem;
}

.home-hero-content {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 2rem;
}

.home-hero-left {
  width: 100%;
  text-align: left;
}

.home-hero-heading {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1.2;
  margin-bottom: 1rem;
  text-align: left;
}

.home-hero-text {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.home-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.home-hero-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.home-hero-badge img {
  width: 20px;
  height: 20px;
}

.home-hero-badge span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
}

.home-hero-tagline {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 1.5rem;
}

.home-hero-btn {
  background-color: var(--green);
  color: var(--white);
  padding: 0.9rem 1.8rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.home-hero-btn:hover {
  background-color: #006d00;
}

.home-hero-right {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-hero-right img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

@media (min-width: 768px) {
  .home-hero-content {
    flex-direction: row;
    gap: 3rem;
  }

  .home-hero-left {
    width: 45%;
  }

  .home-hero-right {
    width: 55%;
  }

  .home-hero-heading {
    font-size: 2.2rem;
  }
}

@media (min-width: 992px) {
  .home-hero-heading {
    font-size: 2.8rem;
  }

  .home-hero-text {
    font-size: 1.2rem;
  }

  .home-hero-badge span {
    font-size: 1rem;
  }

  .home-hero-tagline {
    font-size: 1.5rem;
  }
}

/* ============================================
   SAFETY / DESIGNED AROUND YOU SECTION
   ============================================ */
.safety-section {
  padding: 4rem 0;
  background-color: var(--white);
}

.safety-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.safety-image-container {
  width: 100%;
  text-align: center;
}

.safety-image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.safety-text-container {
  width: 100%;
}

.safety-subtitle {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.safety-heading {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.safety-text {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.safety-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background-color: #f8f9fa;
  border-radius: 8px;
}

.feature-card-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.feature-card-icon img {
  width: 40px;
  height: 40px;
}

.feature-card-icon i {
  font-size: 1.2rem;
}

.feature-card-content h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 0.25rem;
}

.feature-card-content p {
  font-size: 0.8rem;
  color: var(--text);
  line-height: 1.4;
}

.safety-btn {
  background-color: var(--orange);
  color: var(--white);
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.safety-btn:hover {
  background-color: #e58a1a;
}

@media (min-width: 480px) {
  .safety-features {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .safety-content {
    flex-direction: row;
    gap: 3rem;
  }

  .safety-image-container {
    width: 50%;
  }

  .safety-text-container {
    width: 50%;
  }

  .safety-heading {
    font-size: 2rem;
  }
}

@media (min-width: 992px) {
  .safety-heading {
    font-size: 2.5rem;
  }

  .safety-text {
    font-size: 1.1rem;
  }

  .feature-card-content h4 {
    font-size: 1rem;
  }

  .feature-card-content p {
    font-size: 0.9rem;
  }
}

/* ============================================
   CONFIDENCE SECTION
   ============================================ */
.confidence-section {
  padding: 4rem 1rem 8rem;
  background-color: #f8f8f8;
  border-radius: 16px;
  margin: 0 1rem;
}

.confidence-header {
  text-align: center;
  margin-bottom: 2rem;
}

.confidence-heading {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 0;
  line-height: 1.2;
}

.confidence-footer {
  text-align: center;
  margin-top: 5rem;
}

.confidence-subtext {
  font-size: 1.2rem;
  color: #263238;
  font-weight: 700;
  margin: 0 auto;
  line-height: 1.2;
}

.confidence-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.step-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-card-phone {
  background-color: #d7d7d7;
  border-radius: 16px;
  width: 100%;

  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
  position: relative;
  padding-top: 1.5rem;
}

.step-card-phone img {
  width: 75%;
  height: auto;
  position: relative;
  z-index: 1;
}

.step-card-caption {
  padding: 1rem 0.5rem 0;
  font-size: 1rem;
  font-weight: 900;
  color: var(--orange);
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .confidence-section {
    padding: 4rem 2rem 6rem;
    margin: 0 2rem;
  }

  .confidence-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .confidence-heading {
    font-size: 2.8rem;
  }

  .step-card-phone {
    height: 280px;
    padding-top: 2rem;
    overflow: hidden;
  }

  .confidence-footer {
    margin-top: 3rem;
  }

  .confidence-subtext {
    font-size: 1.5rem;
  }

  .step-card-caption {
    font-size: 1.2rem;
    padding-top: 1.5rem;
  }
}

@media (min-width: 992px) {
  .confidence-section {
    padding: 4rem 3rem 6rem;
    margin: 0 auto;
  }

  .confidence-heading {
    font-size: 3.5rem;
    line-height: 67px;
  }

  .confidence-subtext {
    font-size: 2rem;
    line-height: 38px;
  }

  .step-card-phone {
    overflow: hidden;
  }

  .step-card-caption {
    font-size: 1.5rem;
    padding-top: 2rem;
  }
}

/* ============================================
   FAMILIAR FEELS BETTER SECTION
   ============================================ */
.familiar-section {
  padding: 4rem 1rem;
  background-color: var(--white);
}

.familiar-content {
  display: flex;
  flex-direction: column-reverse;
  gap: 2rem;
  align-items: center;
  margin: 0 auto;
}

.familiar-text-container {
  width: 100%;
}

.familiar-heading {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.familiar-text {
  font-size: 1rem;
  color: #424242;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  font-weight: 400;
}

.familiar-list {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.familiar-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: #424242;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.familiar-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  background-color: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}

.familiar-btn {
  background-color: var(--green);
  color: var(--white);
  padding: 0.8rem 1.8rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
  letter-spacing: 0.8px;
}

.familiar-btn:hover {
  background-color: #006d00;
}

.familiar-image-container {
  width: 100%;
  text-align: center;
}

.familiar-image-container img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .familiar-section {
    padding: 5rem 2rem;
  }

  .familiar-content {
    flex-direction: row;
    gap: 3rem;
    align-items: center;
  }

  .familiar-text-container {
    width: 55%;
  }

  .familiar-image-container {
    width: 45%;
  }

  .familiar-heading {
    font-size: 2.5rem;
  }

  .familiar-text {
    font-size: 1.2rem;
  }

  .familiar-list li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
}

@media (min-width: 992px) {
  .familiar-section {
    padding: 5rem 3rem;
  }

  .familiar-heading {
    font-size: 3.25rem;
    line-height: 62px;
  }

  .familiar-text {
    font-size: 1.5rem;
    line-height: 29px;
  }

  .familiar-list li {
    font-size: 1.375rem;
    line-height: 26px;
  }

  .familiar-image-container img {
    object-fit: cover;
  }
}

/* ============================================
   COMMUNITIES SECTION
   ============================================ */
.communities-section {
  padding: 4rem 0;
  background-color: var(--white);
}

.communities-header {
  text-align: center;
  margin-bottom: 3rem;
}

.communities-heading {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 1rem;
}

.communities-subtext {
  font-size: 1rem;
  color: var(--text);
  margin: 0 auto;
  line-height: 1.6;
}

.communities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.community-card {
  background-color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Soft shadow */
  border: 1px solid transparent; /* Prepare for border change */
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.community-card.active {
  border: 2px solid var(--blue);
}

.community-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.community-card-image {
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.community-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.community-card:hover .community-card-image img {
  transform: scale(1.05);
}

.community-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 4px;
  padding: 1.2rem;
  background-color: #f8f9fb; /* Light background for footer */
  box-shadow: -20px -19px 0px 0px #000;
}

.community-card-footer span {
  font-size: 1rem;
  font-weight: 500;
  color: #333; /* Darker text */
}

.community-card-arrow {
  width: 36px;
  height: 36px;
  background-color: transparent;
  border: 1px solid #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #333;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.community-card-arrow i {
  transform: rotate(45deg);
}

.community-card.active .community-card-arrow {
  /* Keep default style or specific active style? Image shows standard arrow */
}

.community-card:hover .community-card-arrow {
  background-color: #333;
  color: var(--white);
  border-color: #333;
}

.communities-btn-container {
  text-align: center;
  margin-top: 1rem;
}

.communities-btn {
  background-color: var(--orange);
  color: var(--white);
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.communities-btn:hover {
  background-color: #e58a1a;
}

@media (min-width: 768px) {
  .communities-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .communities-heading {
    font-size: 2.2rem;
  }

  .community-card-image {
    height: 160px;
  }

  .community-card-footer {
    padding: 1rem 1.25rem;
  }

  .community-card-footer span {
    font-size: 0.95rem;
  }
}

@media (min-width: 992px) {
  .communities-heading {
    font-size: 2.5rem;
  }

  .communities-subtext {
    font-size: 1.1rem;
  }

  .community-card-image {
    height: 200px;
  }

  .community-card-footer span {
    font-size: 1rem;
  }

  .community-card-arrow {
    width: 36px;
    height: 36px;
  }
}

/* ============================================
   HOME TESTIMONIALS SECTION
   ============================================ */
.home-testimonials-section {
}
.home-testimonials-section .container {
  padding: 4rem 1rem;
  position: relative;
  background-color: var(--green);
}

.home-testimonials-header {
  text-align: center;
  color: var(--white);
  position: relative;
}

.home-testimonials-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.home-testimonials-subtitle {
  font-size: 1rem;
  margin: 0 auto;
  line-height: 1.6;
  opacity: 0.9;
}

.home-testimonials-quote {
  position: absolute;
  top: -20px;
  right: 20px;
  width: 60px;
  opacity: 0.3;
}

@media (min-width: 768px) {
  .home-testimonials-section {
    padding: 5rem 2rem;
  }

  .home-testimonials-title {
    font-size: 2.2rem;
  }

  .home-testimonials-subtitle {
    font-size: 1.1rem;
  }

  .home-testimonials-quote {
    width: 100px;
    right: 80px;
  }
}

@media (min-width: 992px) {
  .home-testimonials-title {
    font-size: 2.5rem;
  }
}

/* ============================================
   DOWNLOAD APP SECTION
   ============================================ */
.download-app-section {
  padding: 4rem 0 0 0;
  background-color: var(--white);
}

.download-app-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.download-app-text {
  width: 100%;
  text-align: center;
}

.download-app-heading {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
}

.download-app-subtext {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.download-app-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.download-app-buttons a img {
  height: 40px;
}

/* Phone Mockups Container */
.download-app-phones {
  width: 100%;
  display: flex;
  justify-content: end;
  align-items: flex-end;
  position: relative;
  padding: 0;
}

.phone-mockup {
  position: relative;
}

.phone-mockup img {
  width: 100%;
  height: auto;
}

.phone-left {
  width: 100px;
  z-index: 1;
  margin-right: -20px;
}

.phone-center {
  width: 140px;
  z-index: 3;
}

.phone-right {
  width: 100px;
  z-index: 2;
  margin-left: -20px;
}

@media (min-width: 768px) {
  .download-app-content {
    flex-direction: row;
    gap: 2rem;
    align-items: center;
  }

  .download-app-text {
    width: 40%;
    text-align: left;
  }

  .download-app-buttons {
    justify-content: flex-start;
  }

  .download-app-phones {
    width: 60%;
    padding: 0 0;
  }

  .phone-left {
    width: 140px;
    margin-right: -30px;
  }

  .phone-center {
    width: 180px;
  }

  .phone-right {
    width: 140px;
    margin-left: -30px;
  }

  .download-app-heading {
    font-size: 2rem;
  }
}

@media (min-width: 992px) {
  .download-app-section {
    padding: 5rem 0 0 0;
  }

  .download-app-content {
    gap: 3rem;
  }

  .download-app-text {
    width: 35%;
  }

  .download-app-phones {
    width: 65%;
  }

  .phone-left {
    width: 180px;
    margin-right: -40px;
  }

  .phone-center {
    width: 240px;
  }

  .phone-right {
    width: 180px;
    margin-left: -40px;
  }

  .download-app-heading {
    font-size: 2.5rem;
  }

  .download-app-subtext {
    font-size: 1.1rem;
  }

  .download-app-buttons a img {
    height: 45px;
  }
}
