body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    color: #333;
}

/* Hero Section with Background Image */
.hero {
    position: relative; /* For positioning the form */
    width: 100%;
    height: 500px; /* Adjust height as needed */
    overflow: hidden; /* Prevents image from overflowing */
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("happycouple1.jpg"); /* Replace with your image */
    background-size: cover;
    background-position: center;
    filter: blur(3px); /* Adjust blur as needed */
    opacity: 0.7; /* Adjust opacity for fade effect */
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center the form */
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white background for form */
    padding: 30px;
    border-radius: 10px; /* Rounded corners for form */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    text-align: center;
}

.hero-content h2 {
  color: #e91e63;
  margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #555; /* Slightly darker label color */
}

select, input[type="number"], input[type="text"] {
    width: calc(100% - 10px); /* Full width minus padding */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}
.answers button.selected {
    background-color: #007bff;
}

.find-button {
    padding: 12px 25px;
    background-color: #e91e63;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.find-button:hover {
    background-color: #c2185b;
}
.action-button {
    padding: 12px 25px;
    background-color: #e91e63;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.action-button:hover {
    background-color: #c2185b;
}

.quotes {
    padding: 40px;
    background-color: #f0f0f0; /* Slightly darker gray background */
    text-align: center;
}

.quote {
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd; /* Light gray border */
    background-color: #fff;
    border-radius: 5px; /* Rounded corners */
}

.cta {
    padding: 40px;
    text-align: center;
    background-color: #fff;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #e91e63; /* Pink button */
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    transition: background-color 0.3s ease; /* Smooth hover effect */
}

.cta-button:hover {
    background-color: #c2185b; /* Darker pink on hover */
}

footer {
    background-color: #333; /* Dark footer */
    color: #fff;
    padding: 20px;
    text-align: center;
}
.quote-container { /* Added container for quotes */
    position: relative; /* Needed for absolute positioning of quotes */
    height: 150px; /* Adjust as needed to fit your quotes */
    overflow: hidden; /* Hide quotes that are not currently displayed */
}
.quote {
    position: absolute; /* Position quotes on top of each other */
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0; /* Initially hide all quotes */
    transition: opacity 0.5s ease-in-out; /* Smooth fade effect */
}
.quote.active { /* Class to show the current quote */
    opacity: 1;
}
   /* Additional styles for the questionnaire */
   .questionnaire {
    display: none; /* Initially hidden */
    text-align: left; /* Align questions to the left */
}
.container {
    max-width: 600px;
    margin: 50px auto;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.question {
    margin-bottom: 20px;
}
.answers {
    display: flex;
    justify-content: space-between;
}
.answers button {
    flex: 1;
    margin: 5px;
    padding: 10px;
    border: none;
    background-color: #e91e63;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}
.answers button:hover {
    background-color: #c2185b;
}
.navigation {
    text-align: center;
    margin-top: 20px;
}
.dialog {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    text-align: center;
}
.thinking {
    font-size: 18px;
    animation: thinkingAnimation 1s infinite alternate;
}
@keyframes thinkingAnimation {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}