:root {
  --content-font: "Josefin Sans";
  /* --title-font: "Fira Sans", sans-serif; */
  --title-font: "Raleway", sans-serif;
  --blue-color: #16549d;
  --blue-dark-color: #083d7b;
  --green-color: #8bad3d;
}

* {
  scroll-behavior: smooth;
}

.title-font {
  font-family: var(--title-font);
}

.content-font {
  font-family: var(--content-font)
}

p {
  font-family: var(--content-font);
}

.section-gap {
  padding: 80px 0;
}

.btn-primary {
  letter-spacing: 2px;
  text-transform: uppercase;
  display: inline-block;
  text-align: center;
  position: relative;
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.1); */
  color: var(--blue-color);
  text-decoration: none;
  transition: 0.3s ease all;
  z-index: 1;
}

.btn-primary:before {
  transition: 0.5s all ease;
  position: absolute;
  top: 0;
  left: 50%;
  right: 50%;
  bottom: 0;
  opacity: 0;
  content: "";
  background-color: var(--blue-color);
  z-index: -1;
}

.btn-primary:hover,
.btn-primary:focus {
  color: white;
}

.btn-primary:hover:before,
.btn-primary:focus:before {
  transition: 0.5s all ease;
  left: 0;
  right: 0;
  opacity: 1;
}

.btn-primary:active {
  transform: scale(0.9);
}

.btn-secondary {
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-block;
  text-align: center;
  position: relative;
  background-color: var(--blue-color);
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.1); */
  color: #fff;
  text-decoration: none;
  transition: 0.3s ease all;
  z-index: 1;
}

.btn-secondary:before {
  transition: 0.5s all ease;
  position: absolute;
  top: 0;
  left: 50%;
  right: 50%;
  bottom: 0;
  opacity: 0;
  content: "";
  background-color: #fff;
  z-index: -1;
}

.btn-secondary:hover,
.btn-secondary:focus {
  color: var(--blue-color);
}

.btn-secondary:hover:before,
.btn-secondary:focus:before {
  transition: 0.5s all ease;
  left: 0;
  right: 0;
  opacity: 1;
}

.btn-secondary:active {
  transform: scale(0.9);
}

#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.truncated-text {
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Show only 2 lines initially */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: -webkit-line-clamp 0.3s ease-in-out; /* Smooth transition for truncation */
}

.expanded-text {
  -webkit-line-clamp: unset; /* Show full content */
  overflow: visible;
  text-overflow: unset;
}

.gradient-icon i {
  background: linear-gradient(90deg, #16549d, #8bad3d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

/* Base bullet */
.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #bbb;
  opacity: 1;
  border-radius: 50%;
  margin: 0 6px !important;
  transition: background-color 0.3s;
  border: 2px solid transparent;
}

/* Active bullet */
.swiper-pagination-bullet-active {
  background: linear-gradient(90deg, #16549d, #0e3e78);
  border-color: #16549d;
  transform: scale(1.3);
}

.custom-bullet {
  background: #ddd;
  color: #333;
  font-size: 14px;
  width: 28px;
  height: 28px;
  line-height: 28px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 4px;
  cursor: pointer;
  user-select: none;
  border: 2px solid transparent;
  transition: all 0.3s;
}

.custom-bullet.swiper-pagination-bullet-active {
  background: linear-gradient(90deg, #16549d, #0e3e78);
  color: white;
  border-color: #16549d;
  transform: scale(1.1);
  font-weight: bold;
}

/* styles for popup form */
.popup {
  display: none;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background: #0000005c;
  backdrop-filter: blur(5px);
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  border-radius: 0px;
  height: 100%;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.552);
  z-index: 999;
}

.popup-form {
  max-width: 420px;
  min-width: 300px;
  width: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
}
