

* {
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
}

:root {
  --fhsection3-bg: #fffaf5;
  --fhsection3-title: #000;
  --fhsection3-sub: #11205e;
  --fhsection3-desc: #555;
  --fhsection3-icon: #11205e;
  --fhsection3-box-bg: #fff;
  --fhsection3-box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.fhsection3-section {
  background-color: var(--fhsection3-bg);
  padding: 40px 30px;
}

.fhsection3-wrapper {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.fhsection3-left {
  flex: 1 1 0px;
}

.fhsection3-subtitle {
  color: var(--fhsection3-sub);
  font-family: 'Dancing Script', cursive;
  font-size: 1.8rem;
  margin-bottom: 10px;
  font-weight: bold;
}

.fhsection3-heading {
  font-size: 2.6rem;
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 15px;
  color: var(--fhsection3-title);
}

.fhsection3-description {
  font-size: 1rem;
  color: var(--fhsection3-desc);
  line-height: 1.6;
}

/* Features Section */
.fhsection3-features {
  flex: 1 1 400px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.fhsection3-box {
  flex: 1 1 220px;
  background: var(--fhsection3-box-bg);
  border-radius: 16px;
  box-shadow: var(--fhsection3-box-shadow);
  padding: 25px;
  transition: 0.3s ease;
}

.fhsection3-box:hover {
  transform: translateY(-6px);
}

.fhsection3-icon {
  font-size: 40px;
  color: var(--fhsection3-icon);
  margin-bottom: 12px;
}

.fhsection3-box h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #111;
}

.fhsection3-box p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
}

@media (max-width: 1124px) {
  .fhsection3-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 10px; /* reduce space between text & cards */
    padding: 0 !important;
    margin: 0 auto;
  }

  .fhsection3-left {
    flex: none;
    width: 100%;
    max-width: 700px;
    margin-bottom: 5px; /* small space under text */
  }

  .fhsection3-heading {
    font-size: 2.1rem;
    margin-bottom: 8px;
  }

  .fhsection3-description {
    margin-bottom: 8px;
  }

  .fhsection3-features {
    flex: none;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px; /* tighter spacing between boxes */
    margin: 0 auto;
  }

  .fhsection3-box {
    flex: 1 1 240px;
    max-width: 260px;
    padding: 18px 20px;
    height: auto !important;
    min-height: unset !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }

  .fhsection3-box p {
    margin: 0;
  }
}




/* Tablet View */
@media (max-width: 766px) {
  .fhsection3-heading {
    font-size: 1.8rem;
  }
  .fhsection3-subtitle {
    font-size: 1.3rem;
  }
  .fhsection3-box {
    padding: 10px;
    flex: 1 1 100%;
  }
}

/* Mobile View */
@media (max-width: 480px) {
  .fhsection3-section {
  padding: 20px 30px;
}
  .fhsection3-heading {
    font-size: 1.6rem;
  }
  .fhsection3-description {
    font-size: 0.95rem;
  }
  .fhsection3-box h3 {
    font-size: 1rem;
  }
  .fhsection3-box p {
    font-size: 0.9rem;
  }
}
