/* Home Page Styles */

body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(120deg, #eaf6fb 0%, #f5f5f5 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
}


.home-hook-container {
  background: linear-gradient(90deg, rgba(42, 72, 155, 1) 0%, rgba(14, 121, 178, 1) 50%, rgba(83, 170, 237, 1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.home-hook-container p {
  font-size: 4rem;
  color: white;
  max-width: 90%;
}

.home-hook-container p:hover {
  color: rgb(190, 190, 190);

}

.info-sec {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
}

.intro,
.ratings {
  background-color: rgb(14, 121, 178);
  color: white;
  font-size: 1rem;
  padding: 20px;
  flex: 1 1 300px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  max-width: 400px;
}

.ratings {
  background-color: rgb(210, 210, 210);
  color: rgb(14, 121, 178);
  font-family: Arial, Helvetica, sans-serif;
}

.ratings a,
.ratings a:visited {
  color: white !important;
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.2s;
}

.ratings a:hover {
  color: rgb(190, 190, 190) !important;
}

.home-our-services-container {
  display: grid;
  margin: auto;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 40px 20px;
  max-width: 900px;
}

.home-our-services-title {
  font-size: 3.5rem;
  text-align: center;
  color: rgb(14, 121, 178);
  margin-top: 60px;
}

.home-our-services-description,
.home-our-services-picture {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  height: auto;
  margin: auto;
}

.home-our-services-description h1 {
  font-size: 2rem;
  text-align: center;
  color: rgb(14, 121, 178);
}

.home-our-services-description p {
  font-size: 1.1rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  color: rgb(14, 121, 178);
}

.service-comp {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 30px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
}

.services-area,
.comp-pics {
  flex: 1 1 400px;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.services-area {
  background-color: rgb(14, 121, 178);
  color: white;
  max-width: 95%;
  text-align: center; /* Center all text inside */
}

.comp-pics {
  background-color: white;
  color: rgb(175, 175, 175);
}

.image-stack {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: auto;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(14, 121, 178, 0.10);
  background: #fafdff;
  display: flex;
  flex-direction: row;
  gap: 18px;
  justify-content: center;
  align-items: flex-start;
}

.image-stack-img-wrapper {
  position: relative;
  width: 50%;
  margin-bottom: 0;
}

.image-stack-img-wrapper:first-child {
  width: 60%;
}

.image-stack-img-wrapper:last-child {
  width: 40%;
}

.image-stack img {
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 180px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(14, 121, 178, 0.10);
  display: block;
}

.image-stack-label {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(14, 121, 178, 0.92);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 8px;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px rgba(14, 121, 178, 0.10);
  pointer-events: none;
  z-index: 2;
}

@media (max-width: 900px) {
  .home-hook-container p {
    font-size: 2rem;
  }

  .home-our-services-container {
    grid-template-columns: 1fr;
    padding: 0;
    margin: 0;
  }

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

  .image-stack img:nth-child(2) {
    top: 20px;
    left: 20px;
    max-width: 95%;
  }

  .home-hook-container {
    padding: 20px 0;
    margin: 0;
  }

  .image-stack {
    max-width: 98vw;
    padding: 8px;
  }

  .services-area,
  .image-stack {
    max-width: 100%;
  }

  .info-sec {
    margin: 0;
  }

  .home-our-services-title {
    margin-top: 20px;
    margin-bottom: 40px;
  }

  .comp-pics {
    padding: 0 !important;
    margin: 0 !important;
  }

  .image-stack {
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}

@media (max-width: 100%) {
  .image-stack {
    flex-direction: column;
    gap: 12px;
    padding: 6px;
    max-width: 100vw;
  }

  .image-stack-img-wrapper {
    width: 100%;
  }

  .comp-pics {
    padding: 0 !important;
    margin: 0 !important;
  }

  .image-stack {
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .image-stack-img-wrapper {
    margin-bottom: 0 !important;
  }
}

/* Make 'more' button inherit color from parent */