/* Home Container - Direct Mail Options */
.home-container {
  max-width: 90%;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

.home-container h2 {
  font-size: 46px;
  font-weight: 700;
  color: #0f395c;
  margin-bottom: 2rem;
  margin-top: 3rem;
}

/* Card Layout */
.card-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-direction: column;
}

.direct-mail-card {
  display: flex;
  flex-direction: row;
  padding: 30px;
  text-align: left;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* Card Content */
.direct-mail-card h3 {
  font-size: 30px;
  font-weight: 700;
  color: #0f395c;
  text-align: center;
}

.direct-mail-card h4 {
  font-size: 24px;
  font-weight: 700;
  color: #0f395c;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-align: center;
}

/* Features inside cards */
.card-features h5 {
  font-size: 24px;
  font-weight: 700;
  color: #067577;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.card-features {
  display: flex;
  flex-direction: column;
  flex: 1 1 40%;
  padding: 1rem;
  box-sizing: border-box;
  min-width: 300px;
}

.card-main-image {
  flex: 1 1 45%;
  height: 275px;
  object-fit: contain;
  padding: 10px;
}

.card-features p {
  font-size: 18px;
  margin-bottom: 1rem;
}

.modal-title {
  color: #0f395c;
  margin-left: auto;
  font-size: 26px !important;
  font-weight: bold;
}

.modal-footer {
  padding-top: 0rem;
  border-top: 0rem;
}

.modal-header {
  padding-bottom: 0rem;
  border-bottom: none;
}

/* Right Card Specifics */
.button-group {
  display: flex;
  justify-content: center;
  gap: 15rem;
  margin: 0.5rem 0 1rem;
}

.button-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.action-button {
  color: white;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 17px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: background 0.3s ease, transform 0.2s ease;
  background: linear-gradient(270deg, #1d9097 0%, rgba(9, 47, 49, 0.8) 100%);
  border-color: unset;
}
.action-button:hover {
  background: linear-gradient(270deg, #1d9097 0%, rgba(9, 47, 49, 1) 100%);
  transform: scale(1.05);
}

.pricing-link {
  color: #067577;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
}
.pricing-link:hover {
  text-decoration: underline;
  font-weight: bold;
  color: #152850;
}

.boost-section {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  border-radius: 10px;
}

.boost-section img {
  height: auto;
  flex-shrink: 0;
}

.boost-section p {
  font-size: 17px;
  color: #067577;
  font-weight: bold;
  margin-bottom: 0;
  line-height: 1.4;
}

.boost-section p a {
  text-decoration: underline;
  color: blue;
  font-weight: normal;
}

.boost-section p a:hover {
  color: #067577;
  font-weight: bold;
}

/* "Get Started" Button at the bottom */
.get-started-btn {
  color: white;
  text-align: center;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  margin-top: auto; /* Pushes the button to the bottom */
  align-self: center;
  width: 30%;
  transition: background 0.3s ease, transform 0.2s ease;
  background: linear-gradient(270deg, #1d9097 0%, rgba(9, 47, 49, 0.8) 100%);
  border-color: unset;
}

.get-started-btn:hover {
  background: linear-gradient(270deg, #1d9097 0%, rgba(9, 47, 49, 1) 100%);
  transform: scale(1.05);
}

/* Wave & Collage Section */
.wave-container {
  height: 740px;
}

#waveSection2 {
  background-image: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 70%,
      rgba(255, 255, 255, 1) 100%
    ),
    url("/static/images/about_us/wave-image.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 400px;
  width: 100%;
  color: white;
  position: relative;
  top: -10%;
}

.collage-description {
  text-align: center;
  margin: 0;
  padding: 16rem 13rem 2rem;
  position: relative;
  z-index: 3;
  color: #044c4e;
}

#collage-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0rem auto;
  top: -10%;
}

#top-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 180px;
}

.collage-image {
  width: 25%;
  height: auto;
}

#overlapping-image-1 {
  position: absolute;
  width: 30%;
  left: 6%;
  top: 36%;
  z-index: 1;
}

#overlapping-image-2 {
  position: absolute;
  width: 30%;
  right: 36%;
  top: 56%;
  z-index: 1;
}

#overlapping-image-3 {
  position: absolute;
  right: 13%;
  top: 83%;
  z-index: 3;
}

/* Price Table Section */
.price-table {
  position: relative;
  text-align: center;
  color: #0f395c;
  margin: 3rem auto;
  border-radius: 8px;
}

.estimated-table {
  max-width: 70%;
  margin: 0 auto 3rem;
}

.estimated-table h2 {
  margin-bottom: 3rem;
  font-size: 42px;
  font-weight: 700;
}

.table-heading,
.table-footer {
  margin-bottom: 1.5rem;
  color: #067577;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}

.table-footer {
  font-size: 20px;
  color: #0f395c;
}

.pricing-notes {
  font-size: 16px;
  color: #0f395c;
  margin-bottom: 0.15rem;
  line-height: 18px;
}

table {
  border-radius: 10px;
  box-shadow: 4px 4px 4px 0px #00000040;
}

table.table caption {
  font-size: 1rem;
  font-weight: 400;
  color: #34495e;
  padding: 0.5rem;
}

table.table th,
table.table td {
  border: 1px solid #9fccf1;
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

table.table th {
  background-color: #eef6fc;
  color: #044c4e;
  font-size: 1.1rem;
}

table.table td {
  background-color: #ffffff;
  font-size: 1rem;
  color: #044c4e;
}

table.table td:first-child {
  font-weight: 700;
}

table.table tr:hover td {
  background-color: #ecf0f1;
}

.top-left-background {
  position: absolute;
  width: 400px;
  height: 400px;
  background-image: url("/static/images/direct_mail/left-price-table.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  filter: brightness(0.95) contrast(1) saturate(1);
  bottom: 26rem;
  left: 0;
}

.bottom-right-background {
  position: absolute;
  bottom: 4rem;
  right: 0px;
  width: 551px;
  height: 433px;
  background-image: url("/static/images/direct_mail/right-price-table.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  filter: brightness(0.95) contrast(1) saturate(1);
}

.estimated-table p {
  font-weight: 700;
  text-align: justify;
  padding: 0.5rem;
  font-size: 20px;
}

.additional-note {
  text-align: justify;
  margin-left: 8px;
  font-size: 18px;
  font-weight: 400;
}

.submit-button {
  padding: 8px 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  color: #fff;
  background-image: linear-gradient(to left, #1d9097, #092f31cc);
  text-decoration: none;
  max-width: 50%;
  font-weight: 700;
  font-size: 21px;
  margin: auto;
}

.submit-button:hover {
  background-image: linear-gradient(to right, #1d9097, #092f31cc);
}

/* Video Section */
.card-with-video {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  align-items: center; /* Centers the video and button */
  padding: 10px;
  min-width: 300px;
}

.video-text-container {
  width: 75%;
  text-align: center;
  padding-bottom: 3rem;
}

.video-text-container p {
  font-weight: 700;
  font-size: 20px;
  text-align: center;
  color: #1a629e;
}

.video-section {
  text-align: center;
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.video-description {
  font-weight: 700;
  font-size: 20px;
  color: #1a629e;
}

.responsive-video {
  height: 350px;
  border-radius: 10px;
  width: 470px;
}

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
  .card-container {
    flex-direction: column;
    align-items: center;
  }
  .direct-mail-card {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .direct-mail-card {
    max-width: 100%;
  }
  .button-group {
    flex-direction: column;
  }
}
