@charset "utf-8";

/* General container styles */
.landing-page-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px; /* Gap between sections */
  max-width: 1280px;
  margin: 0 auto; /* Center layout */
}

.one-column-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}

.one-column-layout {
  display: flex;
  justify-content: center;
}

.one-column {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0px;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
  border-radius: 20px;
}

.three-column-sub-layout {
  display: flex;
  gap: 20px; /* Space between the three columns */
  justify-content: space-around; /* Distribute the columns evenly */
  width: 100%;
}

.column-background-header {
  background-color: rgba(35, 65, 144, 1);
  height: 65px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  color: white;
  font-weight: 700;
}

.form-background-header {
  background: rgba(36,169,225,1);
  border-top-right-radius: 0px !important;
  border-top-left-radius: 0px !important;
  width: 100%;
  height: 65px;
  position: relative;
  top: 0;
  left: 0;
}

.three-column-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px; /* Gap between rows */
  width: 100%;
}

.three-column-layout {
  display: flex;
  gap: 20px; /* Space between columns */
  width: 100%;
  justify-content: space-between; /* Evenly distribute columns */
}

.column {
  flex: 1;
  max-width: 33%; /* Ensures that each column takes up a third of the row */
  padding: 0px;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
  border-radius: 20px;
  text-align: center;
  display: flex;
  flex-direction: column; /* Stack items vertically */
}

.column-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between; /* Pushes the button to the bottom */
}

.live-view-button {
  margin-top: auto; /* Ensures that the button stays at the bottom of the column-content */
}

.column-form {
  flex: 1;
  max-width: 33%; /* Ensures that each column takes up a third of the row */
  padding: 0px;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
  border-radius: 20px;
  text-align: center;
  display: flex;
  flex-direction: column; /* Stack items vertically */
}

.column-background-header{
  background-color: rgba(35, 65, 144, 1);
  height: 65px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  color: white;
  font-weight: 700;
}

.form-background-header {
  background: rgba(36,169,225,1);
  border-top-right-radius: 0px !important;
  border-top-left-radius: 0px !important;
  width: 100%;
  height: 65px;
  position: relative;
  top: 0;
  left: 0;
}

.column-header-text {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  position: relative;
  top: 0;
  left: 0;
  z-index: 2;
}

.column-header-text h2 {
  color: white;
  font-weight: 700;
  text-align: center;
  margin: 0;
}

.column-form {
  background-color: rgba(0, 41, 54, 1);
  border-radius: 0 0 20px 20px;
}

.descriptive-content p {
  text-align: left;
  margin: 20px;
}

.image-thumb {
  background: transparent;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 290px;
  margin: 20px auto;
}

.image-thumb img {
  width: 100%;
  height: auto;
}

.btn-portal {
  display: block;
  width: 250px;
  height: 38px;
  margin: 20px auto;
  border: none;
  border-radius: 5px;
  background-color: rgba(36, 169, 225, 1);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.4s;
}

.btn-portal:hover {
  background-color: rgba(233, 124, 69, 1);
}

.wpcf7 {
  position: relative;
  display: block;
  background: rgba(255,255,255,0);
  color: white;
  text-align: left;
  border-style: none;
  height: auto;
  margin: 10px;
  box-sizing: border-box;
  width: calc(100% - 40px); 
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
    width: 100%;
	padding: 10px;
    box-sizing: border-box;
}

.wpcf7-submit {
  display: block;
  border-style: none;
  border-radius: 5px;
  width: 250px;
  height: 38px;
  background-color: rgba(233, 124, 69,1); /* Match background color with .btn-portal */
  color: white;
  font-size: 18px;
  line-height: 22px;
  font-weight: 400;
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
  margin: 20px auto 20px; /* Center the button and add top and bottom margin */
  position: relative;
  cursor: pointer;
  transition-duration: 0.4s; /* Smooth transition for hover effect */
}

.wpcf7-submit:hover {
  background-color: rgba(36,169,225,1); /* Hover color similar to .btn-portal */
}

/* Modal Content with Flexbox */
.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 1280px;
    max-width: 100%; /* Ensure responsiveness */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    display: flex; /* Use flexbox for 60/40 layout */
    justify-content: space-between;
    gap: 20px; /* Space between iframe and paragraph */
}

/* Style for the iframe */
.modal-content iframe {
    width: 60%; /* Take up 60% of the modal */
    height: 610px; /* Set a fixed height or adjust as necessary */
    border: none; /* Optional: remove iframe border */
}

/* Style for the paragraph content */
.modal-content p {
    width: 40%; /* Take up 40% of the modal */
    margin: 0; /* Remove default margin */
    display: flex;
    align-items: center; /* Vertically center the text */
    justify-content: center; /* Horizontally center the text */
    text-align: left; /* Align text to the left */
    font-size: 16px; /* Adjust font size if necessary */
}

/* Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .modal-content {
        flex-direction: column; /* Stack the iframe and paragraph vertically */
        align-items: center; /* Center align content */
    }

    .modal-content iframe,
    .modal-content p {
        width: 100%; /* Full width for both iframe and paragraph */
    }
}