@font-face {
  font-family: "GTWalsheim";
  src: url("/wp-content/themes/clearwater/assets/fonts/GTWalsheimMedium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "GTWalsheim";
  src: url("/wp-content/themes/clearwater/assets/fonts/GTWalsheim-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "GTWalsheim";
  src: url("/wp-content/themes/clearwater/assets/fonts/GT-Walsheim-Light.woff2") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Avenir";
  src: url("/wp-content/themes/clearwater/assets/fonts/Avenir-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* === Services Section === */
.services-title {
  color: #011844;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}

.services-list {
  margin: 40px -30px 0;
}

.services-it {
  padding: 0 30px 50px;
}

.services-it-bg {
  background: #001b42;
  border: 2px solid #001b42;
  padding: 25px 25px 30px;
  color: #fff;
  height: 400px; /* a little taller for even spacing */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* pushes button to bottom */
  align-items: flex-start;
  text-align: left;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
  border-radius: 10px;
}

/* Title */
.services-it-bg .service-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #fff;
  transition: color 0.3s ease;
}

/* Image */
.services-info-it {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* force everything (including image) to left */
  text-align: left;
}

.services-info-it img {
  height: 120px;
  width: auto;
  margin-bottom: 12px;
  display: block;
  margin-left: 0; /* makes sure it stays left */
}


/* Paragraph */
.service-text {
  font-size: 17px;
  color: #fff;
  margin: 0 0 15px;
  line-height: 1.5;
  transition: color 0.3s ease, opacity 0.3s ease;
}

/* Learn more button */
.services-it .btn-learn {
  padding: 10px 24px;
  border: 1px solid #ff5e29;
  border-radius: 30px;
  font-size: 17px;
  color: #fff;
  transition: all 0.3s ease;
  align-self: flex-start; /* keep button left-aligned */
}

/* Description (hidden by default, shows on hover) */
.services-des-it {
  display: block;
  width: 100%;
  height: auto;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  -ms-overflow-style: none;
  scrollbar-width: none;
  position: absolute;
  top: 70px;
  left: 25px;
  right: 25px;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.services-des-it::-webkit-scrollbar {
  display: none;
}

.services-des-it ul {
  padding-left: 0;
  margin: 0;
}

.services-des-it ul li {
  color: #011844;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 500;
  margin: 8px 0;
  list-style: none;
  position: relative;
  padding-left: 20px;
}
.services-des-it ul li::before {
  content: "\2022";
  color: #7833F3;
  font-weight: bold;
  display: inline-block;
  font-size: 20px;
  line-height: 1;
  left: 0;
  position: absolute;
  top: 0;
  height: 15px;
}

/* === Hover Effects === */
.services-it-bg:hover {
  background: #f3f3f3;
  border: 2px solid #001b42;
}

.services-it-bg:hover .services-info-it img,
.services-it-bg:hover .service-text {
  opacity: 0;
  visibility: hidden;
  display: none;
}

.services-it-bg:hover .services-des-it {
  opacity: 1;
  visibility: visible;
}

.services-it-bg:hover .service-title {
  color: #011844;
}
.services-it-bg:hover .btn-learn {
  background: #f68820;
  border: none;
  color: #fff;
}
