html {
  height: 100%;
}

body {
  font-family: "Poppins", Arial, serif !important;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  border-bottom: 1px solid #6B019B;
  position: relative;
}

.logo {
  width: 150px;
}

.logo img {
  width: 150px;
}

nav {
  display: flex;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
  margin-top: 0;
  margin-bottom: 0;
}

nav ul li a {
  text-decoration: none;
  color: black;
  font-size: 1.1em;
}

nav ul li a.active, nav ul li a:hover {
  text-decoration: underline;
  text-underline-offset: 10px;
  text-decoration-color: #6B019B;
  text-decoration-thickness: 2px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 15px;
}

.nav-links li a {
  text-decoration: none;
  color: black;
}

.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.burger div {
  width: 30px;
  height: 3px;
  background-color: black;
  margin: 5px;
}

.burger-menu {
  display: none;
  cursor: pointer;
  font-size: 30px;
}

.close-menu {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: auto;
}

.standard-hero {
  height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 5vw;
  color: white;
  text-align: left;
  margin-bottom: 40px;
}

.standard-hero h1 {
  font-size: 3em;
  margin: 0;
  max-width: 600px;
  line-height: 1.2;
}

.slider-container {
  position: relative;
  width: 100%;
}

.slider-images {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slider-image {
  width: 100%;
  height: auto;
  display: block;
}

.slider-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.slider-slide {
  position: relative;
  width: 100%;
  height: auto;
}

.slider-text {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  color: white;
  text-align: left;
  padding: 1rem 2rem;
  max-width: 55%;
}

.slider-text h1 {
  margin: 0;
  font-size: 3.5em;
  font-weight: bold;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ffffff;
  cursor: pointer;
  opacity: 0.6;
}

.indicator.active {
  background-color: #6B019B;
  opacity: 1;
}

.features {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 20px;
}

.feature {
  text-align: center;
  padding: 20px;
  width: 32%;
}

.feature p {
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1em;
}

.feature h3 {
  margin-top: 1.2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.feature img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.features_heading {
  padding: 0 20px;
}

.features_cta {
  margin-bottom: 60px;
  padding: 0 20px;
}

.features_cta .button {
  background: #6B019B;
  color: white;
  border: none;
  padding: 15px 20px;
  cursor: pointer;
  border-radius: 9px;
  width: 288px;
  font-size: 17px;
  text-decoration: none;
  display: block;
  margin: 0 auto;
  text-align: center;
}

.feature .material-symbols-outlined {
  color: #05e19d;
  font-size: 75px !important;
}

.main-template {
  padding: 60px;
}

.main-template p {
  margin-top: 0;
  margin-bottom: 2rem !important;
  font-size: 1rem;
}

main {
  flex: 1;
}

main section h2 {
  text-align: center;
  margin-top: 44px;
  margin-bottom: 25px;
  font-size: 2.2rem;
}

.material-symbols-outlined {
  font-size: 50px !important;
}

.beliefs {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 3vw 0px 3vw;
  border-top: 1px solid black;
  margin-top: 40px;
}

.belief-card p {
  margin-bottom: 0px !important;
  font-size: 1em;
}

.belief-card h3 {
  margin: 10px 0;
  font-size: 1.5em;
}

.belief-card div {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.belief-card {
  background: white;
  flex: 1 1 22%;
  padding: 20px;
  text-align: center;
  min-width: 200px;
}

.belief-card .material-symbols-outlined {
  color: #6B019B;
}

.services-section {
  border-left: 1px solid;
  padding: 15px 30px;
  margin-bottom: 20px;
  display: flex;
  column-gap: 30px;
  flex-wrap: wrap;
}

.services-section-heading h3 {
  font-size: 1.5em;
}

.services-section .material-symbols-outlined {
  color: #05e19d;
  font-size: 30px !important;
  vertical-align: middle;
}

.services-section .list-item {
  font-weight: bold;
  font-size: 1.3em;
  vertical-align: middle;
}

.services-section-heading {
  padding-top: 32px;
}

.services-links {
  margin-top: 32px;
}

.services-links a {
  color: #6B019B;
}

.services-section-text {
  flex: 3;
}

.services-section-text p:last-child {
  margin-bottom: 0 !important;
}

.services-section-image {
  flex: 2;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.contact-left {
  flex: 1 1 calc(50% - 20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-left p:first-child {
  margin-top: 32px !important;
}

.contact-right {
  flex: 1 1 calc(50% - 20px);
}

.contact-container p {
  margin-bottom: 0 !important;
}

.contact-info {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 1.8rem 0;
  border-bottom: 1px solid black;
}

.contact-info-left,
.contact-info-center,
.contact-info-right {
  flex: 1;
  align-items: center;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.contact-info h3 {
  margin: 0;
  font-size: 1.5em;
}

.contact-icon .material-symbols-outlined {
  color: #6B019B;
}

/* Flex container for image and text */
.info-item {
  display: flex;
  align-items: center;
}

/* Icon styling */
.info-icon {
  width: 30px;
  /* Adjust size as needed */
  height: auto;
  margin-right: 10px;
}

.info-text {
  margin-left: 10px;
}

/* Info text container */
.info-text p {
  margin: 0;
  line-height: 1.4;
}

footer {
  background-color: #333;
}

.footer-container {
  display: flex;
  padding: 20px;
  background: #333;
  color: white;
}

.footer-logo-social {
  display: flex;
  justify-content: space-between;
  padding: 20px 30px;
  border-bottom: 10px solid #959595;
}

.social-icons {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.copyright {
  display: block;
  margin-top: 5px;
  color: #959595;
  font-size: 13px;
}

#backToTop {
  position: fixed;
  bottom: 160px;
  right: 61px;
  display: none;
  width: 50px;
  height: 50px;
  background-color: #333;
  color: white;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1000;
  font-size: 24px;
  text-align: center;
  line-height: 50px; /* centers text vertically */
  transition: background-color 0.3s ease;
  -webkit-user-select: none;
}

@media (max-width: 1070px) {
  .slider-text h1 {
    font-size: 2.5em;
  }
}

@media (max-width: 1042px) {
  .belief-card {
    flex: 1 1 calc(50% - 20px);
  }
}

@media (max-width: 800px) {
  .slider-text h1 {
    font-size: 2.3em;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
  }

  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: white;
    padding: 20px;
  }

  nav ul.show {
    display: flex;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1000;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li {
    margin: 20px 0;
  }

  .nav-links li a {
    color: white;
    font-size: 24px;
    text-decoration: none;
  }

  .burger {
    display: flex;
  }

  .burger-menu {
    display: block;
    cursor: pointer;
    font-size: 30px;
    z-index: 1001;
  }

  .close-menu {
    display: block;
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
    cursor: pointer;
  }

  .standard-hero {
    align-items: center;
    text-align: left;
    padding: 0 10vw;
    height: 200px;
  }

  .standard-hero h1 {
    font-size: 1.5em;
  }

  .slider-text {
    padding: 0.5rem 1rem;
  }

  .slider-text h1 {
    font-size: 1.6em;
    line-height: 1.3;
  }

  .features {
    flex-direction: column;
    align-items: center;
  }

  .feature {
    width: 80%;
  }

  .features_cta .button {
    width: 80%;
  }

  main section h2 {
    font-size: 2em;
  }

  .belief-card {
    flex: 1 1 100%;
  }

  .services-section {
    flex-direction: column;
    padding: 15px 20px;
    column-gap: 0;
    row-gap: 20px; /* add spacing between stacked items */
  }

  .services-links a {
    display: block;
  }

  .services-links br:last-child {
    display: none;
  }

  .contact-container {
    flex-direction: column;
  }

  .contact-left,
  .contact-right {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .contact-info {
    flex-direction: column;
    text-align: center;
  }

  .contact-info:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .contact-info-left,
  .contact-info-center,
  .contact-info-right {
    width: 100%;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
  }

  .contact-info-right {
    margin-bottom: 0;
  }

  .info-item {
    flex-direction: column;
    align-items: center;
  }

  .info-icon {
    margin-right: 0;
    margin-bottom: 5px;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

@media (max-width: 412px) {
  .slider-text h1 {
      font-size: 1.1em;
      line-height: 1.3;
  }
}

@media (hover: hover) and (pointer: fine) {
  .features_cta .button:hover {
    background: #520a8a;
  }

  .services-links a:hover {
    font-weight: bold;
  }

  #backToTop:hover {
    background-color: #05e19d;
  }
}

@media (hover: none) {
  .features_cta .button:active {
    background: #520a8a;
  }

  .services-links a:active {
    font-weight: bold;
  }

  #backToTop:active {
    background-color: #05e19d;
  }
}
