body {
  margin: 0; /* Remove default body margin to ensure edge-to-edge content */
}

/* Global styles for h2 headers */
h2 {
  font-size: 30px !important;
  font-weight: 400;
  margin-bottom: 32px;
  color: rgb(80, 58, 131) !important;
  text-align: center;
}

/* Top Bar */
.top-bar {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 14px;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.top-bar span {
  margin-right: 5px;
}

.top-bar span:last-child {
  margin-left: 5px;
}

/* Hero Section */
.hero-section {
  padding: 40px 24px;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.hero-text-box {
  background-color: rgb(80, 58, 131);
  padding: 20px;
  width: 50%;
  text-align: center;
  color: #fff;
}

.hero-text-box h1 {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-text-box p {
  font-size: 22px;
  margin-bottom: 32px;
  line-height: 1.2;
}

.hero-text-box a {
  background-color: #fff;
  color: rgb(80, 58, 131);
  text-decoration: none;
  padding: 12px 32px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.143em;
  text-transform: uppercase;
  transition: background-color 0.3s;
  display: inline-block;
}

.hero-image {
  width: 50%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Responsive styles for Hero Section */
@media (max-width: 1200px) {
  .hero-container {
    max-width: 100%;
  }
}

@media (max-width: 948px) {
  .hero-section {
    padding: 0 !important; /* Remove padding to make purple box and image edge-to-edge */
  }
  .hero-container {
    flex-direction: column !important;
  }
  .hero-text-box {
    width: 100% !important;
    margin-bottom: 0 !important; /* Ensure no padding between purple box and image */
    padding: 20px 0 !important; /* Remove horizontal padding to center text */
  }
  .hero-image {
    width: 100% !important;
    max-width: 100%;
    height: auto !important; /* Allow image height to adjust naturally when stacked */
  }
}

/* About Psychic Lisa */
.about-section {
  padding: 40px 24px;
  background-color: rgb(255, 255, 255);
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
}

.about-image {
  width: 50%;
  height: auto;
  object-fit: cover;
}

.about-text {
  width: 50%;
  text-align: left;
  padding-left: 24px;
}

.about-text h2 {
  text-align: left;
}

.about-text p {
  font-size: 16px;
  line-height: 1.5;
  color: rgb(94, 94, 94);
  text-align: left;
  margin-bottom: 40px;
}

.about-text a {
  background-color: rgb(80, 58, 131);
  color: #fff;
  text-decoration: none;
  padding: 12px 32px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.143em;
  text-transform: uppercase;
  transition: background-color 0.3s;
  margin-bottom: 40px;
}

/* Responsive styles for About Section */
@media (max-width: 1200px) {
  .about-container {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 40px 0 !important; /* Remove horizontal padding to make image edge-to-edge */
  }
  .about-container {
    flex-direction: column !important;
  }
  .about-text {
    width: 100% !important;
    max-width: 100% !important; /* Ensure text box doesn't exceed viewport */
    box-sizing: border-box !important; /* Include padding in width calculation */
    order: 2;
    padding-left: 40px !important;
    padding-right: 40px !important; /* Add right padding */
    text-align: center !important; /* Center text and button */
  }
  .about-text h2 {
    text-align: center !important;
  }
  .about-text p {
    text-align: center !important;
  }
  .about-image {
    width: 100% !important;
    max-width: 100% !important; /* Ensure image stretches edge-to-edge */
    order: 1;
    margin-bottom: 20px;
  }
}

/* Testimonial Section */
.testimonial-section {
  background-color: rgb(80, 58, 131);
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.testimonial-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-section p:first-child {
  color: #fff;
  font-size: 28px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.testimonial-section p:nth-child(2) {
  color: #fff;
  font-size: 22px;
  margin-bottom: 32px;
  line-height: 1.5;
}

.testimonial-section a {
  background-color: #fff;
  color: rgb(80, 58, 131);
  text-decoration: none;
  padding: 12px 32px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.143em;
  text-transform: uppercase;
  transition: background-color 0.3s;
}

/* Services Section */
.services-section {
  padding: 40px 24px;
  background-color: rgb(255, 255, 255);
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.service-item {
  flex: 1 1 300px;
  text-align: center;
  margin-bottom: 40px; /* Ensure space between tiles */
}

.service-image {
  width: 100%;
  max-height: 255px;
  object-fit: cover;
  object-position: center;
  border-radius: 0px;
}

.service-image.last {
  max-height: 450px;
}

.service-item h3 {
  font-size: 22px;
  color: rgb(27, 27, 27);
  margin: 16px 0;
}

.service-item p {
  font-size: 16px;
  line-height: 1.5;
  color: rgb(94, 94, 94);
  margin-bottom: 40px;
  padding-left: 24px;
  padding-right: 24px;
}

.service-item.no-button p {
  margin-bottom: 24px; /* Reduced spacing for text-only tiles */
}

.service-item a {
  background-color: rgb(80, 58, 131);
  color: #fff;
  text-decoration: none;
  padding: 12px 32px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.143em;
  text-transform: uppercase;
  transition: background-color 0.3s;
  margin-bottom: 40px;
}

/* Responsive styles for Services Section */
@media (max-width: 768px) {
  .services-section {
    padding: 40px 0 !important; /* Remove horizontal padding to make images fill screen width */
  }
  .service-item {
    flex: 1 1 100% !important; /* Make items full width on smaller screens */
  }
}

/* Contact Section */
.contact-section {
  padding: 40px 24px;
  background-color: rgb(255, 255, 255);
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.contact-item {
  flex: 1 1 300px;
  text-align: center;
}

.contact-item p {
  font-size: 16px;
  line-height: 1.5;
  color: rgb(94, 94, 94);
  margin-bottom: 24px;
}

.contact-item h4 {
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 16px;
  color: rgb(27, 27, 27);
}

.contact-item a {
  color: rgb(80, 58, 131);
  text-decoration: underline;
}

.contact-image {
  width: 100%;
  max-height: 800px;
  object-fit: cover;
  border-radius: 0px;
}

/* Footer */
footer {
  padding: 56px 24px;
  background-color: #000;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-container hr {
  border: 1px solid rgb(226, 226, 226);
  margin-bottom: 24px;
}

.footer-container p {
  font-size: 14px;
  color: #fff;
  margin-bottom: 24px;
}

.footer-container a {
  color: #fff;
  text-decoration: underline;
}