/***************************************************
 * Counselling Area Section
 * Theme: riviera
 ***************************************************/

/* === Section Wrapper === */
.counselling-sections {
  background-color: #f9fafb;
  padding: 5rem 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 600;
  text-align: left;
  margin-bottom: 1rem;
}

.section-intro {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.6;
  text-align: left;
}

/* === Category Wrapper === */
.counselling-section {
  margin-bottom: 4rem;
}

.category-title {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: left;
  margin-bottom: 2rem;
}

.category-intro {
  text-align: left;
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* === Responsive Flex Grid === */
.counselling-area-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  gap: 2%;
  row-gap: 24px;
  ;
  max-width: 1100px;
  margin: 0 auto;
}

.counselling-area-wrapper {
  /* flex: 0 0 calc(33.333% - 2rem); */
  flex: 0 0 32%;
  display: flex;
}

@media (max-width: 992px) {
  .counselling-area-wrapper {
    flex: 1 1 calc(50% - 1.75rem);
  }
}

@media (max-width: 768px) {
  .counselling-area-wrapper {
    flex: 1 1 100%;
  }
}

/* === Individual Card === */
.counselling-area.card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 2rem 1.75rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  text-align: left;
  transition: all 0.3s ease;
  width: 100%;
  height: 100%;
}

.counselling-area.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 95, 115, 0.4);
  /* brand accent */
  background-color: #ffffff;
}

/* === Icon === */
.icon-wrapper {
  margin-bottom: 1.5rem;
  min-height: 70px;
}

.icon-wrapper img,
.icon-wrapper svg {
  width: 60px;
  height: 60px;
  opacity: 0.9;
}

/* === Card Text === */
.card-title {
  font-size: 1.25rem;
  /* font-weight: 600; */
  color: var(--logo-sage-dark);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.card-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-top: 0.25rem;
}


/* === Hover Accent === */
.counselling-area.card:hover .card-title {
  /* color: #005f73; */
}

/* === Optional alternating background === */
.counselling-area-wrapper:nth-child(odd) .counselling-area.card {
  background-color: #fcfcfc;
}

/* === Utility spacing === */
.mb-5 {
  margin-bottom: 3rem;
}





@media (max-width: 768px) {

  .counselling-area-grid {
    gap: 1.2rem;
  }

}