body { margin: 0; padding: 0px; font-family: Arial, sans-serif; min-height: 100vh; /* Ensures it covers the entire viewport */ background: url('https://media1.thrillophilia.com/filestore/syan611ikyyywjjjyv3684ubczm6_3175e4197867ffa61a3f598de892a2b5.jpg?w=753&h=450&dpr=2.0') no-repeat center center/cover; /* Background image */ background-attachment: fixed; /* Keeps the background fixed */ } /* Default layout for screens wider than 700px */ .container { display: flex; justify-content: flex-start; /* Keep content aligned to the left */ align-items: flex-start; /* Align items at the top of the container */ min-height: 100vh; /* Ensure the container takes at least full height of the viewport */ position: relative; } .text-section { position: sticky; /* Makes the text section stick to the top when scrolling */ top: 0; /* Stick to the top of the container */ z-index: 1; /* Ensure it stays on top of the booking form */ text-align: center; max-width: 45%; padding: 50px 20px 20px 50px; color: black; font-size: 1rem; text-transform: capitalize; flex-grow: 0; /* Prevent this section from stretching */ height: auto; /* Let the height adjust based on content */ } .booking-form { margin-top: 40px; max-width: 600px; padding: 20px; border: 1px solid #ccc; border-radius: 10px; background-color: #fff7f2; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); box-sizing: border-box; flex-grow: 1; /* Allow booking form to grow */ z-index: 0; /* Ensure it stays behind the text section */ margin-bottom: 40px; } /* Responsive styles for screens less than 750px */ @media (max-width: 750px) { .container { flex-direction: column; /* Stack elements vertically */ justify-content: center; align-items: center; height: auto; /* Allow height to be auto when stacked */ padding: 10px; } .text-section { position: static; /* Remove sticky positioning on small screens */ text-align: center; max-width: 100%; /* Allow text section to take full width */ padding: 0 20px; /* Adjust padding for smaller screens */ margin-bottom: 0px; /* Add space between the text section and the form */ } .booking-form { max-width: 100%; /* Make the form take full width */ width: 100%; /* Ensure the form is not too wide on small screens */ margin: 0 auto; /* Center the form */ margin-top: 0px; /* Ensure space above the form */ } } #output{ display: block; text-align: center; background-color: #fff; margin: auto; padding: 20px; margin-top: 50px; } .text-section h1 { font-size: 3rem; /* Adjust the size as needed */ margin: 0 0 20px; } .text-section p { font-size: 0.8rem; /* Adjust the size as needed */ background-color: #f2fbff; padding: 10px; border-radius: 2px; } label { display: block; margin: 10px 0 5px; } input[type="text"], input[type="tel"], input[type="number"], input[type="date"], select { -webkit-appearance: none; -moz-appearance: none; appearance: none; width: 100%; padding: 8px; margin-bottom: 15px; border-radius: 5px; border: 1px solid #ddd; box-sizing: border-box; } button { background-color: #008fbf; color: white; padding: 10px; border: none; border-radius: 5px; cursor: pointer; } button:hover { background-color: #085169; } .card { border: 1px solid #ddd; border-radius: 10px; padding: 10px; margin: 10px 0; cursor: pointer; display: flex; align-items: center; box-sizing: border-box; } .card img { width: 165px; border-radius: 5px; margin-right: 10px; } .card.selected { border: 2px solid #007bff; } #carSelection { width: 100%; /* Adjust width of select box */ height: auto; /* Let the height adjust based on size */ } /* Styling options to adjust spacing and padding */ #carSelection option { padding: 5px; width: fit-content; white-space: nowrap; /* Prevent text from wrapping */ } /* You can also add some styles for selected options */ #carSelection option:checked { background-color: #3e8e41; color: white; } #carQuantityFields { margin-top: 10px; width: 100%; box-sizing: border-box; } .form-row { display: flex; flex-wrap: wrap; gap: 0 20px; /* Optional: Adds space between items */ } .form-group { flex: 1 1 calc(50% - 20px); /* Each field will take up 50% of the row minus gap space */ min-width: 150px; /* Ensures fields don’t get too small */ box-sizing: border-box; /* Prevents fields from breaking out of the row */ } .highlight-invalid { border: 2px solid red!important; } .accordion-content { display: none; margin: 10px 0; width: 100%; box-sizing: border-box; } input:focus, textarea:focus, select:focus { outline: none; /* Remove the default outline */ } .itineraryDay { cursor: pointer; background-color: #008fbf; color: white; padding: 10px; text-align: center; border: none; font-size: 16px; width: 100%; border-radius: 5px; box-sizing: border-box; margin: 0; transition: background-image 0.3s ease, color 0.3s ease; } .itineraryDay:hover { background-color: #085169; } .accordion-content select { width: 100%; padding: 8px; margin-bottom: 10px; box-sizing: border-box; } .overlay-active::before { content: ''; /* This creates the overlay */ position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.2); /* Adjust the opacity of the overlay */ z-index: -1; /* Make sure the overlay appears above the image but below the text */ } @media (max-width: 768px) { .form-group { flex: 1 1 100%; /* On smaller screens, each field takes the full width */ } } @media (max-width: 540px) { .card img { width: 80px; } } .destinationOptions { display: grid; grid-template-columns: 1fr 1fr; /* Two equal columns */ gap: 10px; /* Adjust as needed */ align-items: center; } .destinationOptions label { text-align: left; } .destinationOptions select { width: 100%; /* Ensures dropdowns fill the available space */ margin-bottom: 5px; /* Add spacing between label and dropdown */ } #daysContainer { margin-bottom: 10px; } #daysContainer .day-section{ box-sizing: border-box; padding: 10px; margin-bottom: 20px; border: 1px solid #dfeaf0; border-radius: 10px; } #daysContainer .day-section:nth-child(odd) { background-color: #e8f7ff; /* Color for odd-numbered sections */ } #daysContainer .day-section:nth-child(even) { background-color: #e8f7ff; /* Color for even-numbered sections */ } .card{ background-color: white; } #finalTotal { display: none; text-align: right; /* Right-align the text */ padding: 10px 20px; /* Add padding to the top, bottom, and sides */ background-color: #f5f5f5; /* Light background color */ border: 1px solid #ccc; /* Light grey border */ border-radius: 5px; /* Slightly rounded corners for a polished look */ font-size: 16px; /* Set the font size */ max-width: 350px; color: #333; /* Dark grey text color for readability */ box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */ margin-top: 20px; /* Add top margin for spacing */ width: 80%; /* Set a fixed width */ margin-left: auto; /* Align to the right side */ margin-right: 20px; /* Add some space from the right edge */ margin-bottom: 20px; } .activity-item { margin-bottom: 8px; } .activity-item label { display: inline-block; margin-left: 8px; /* Space between checkbox and label */ width: calc(100% - 24px); /* Takes up remaining space after checkbox */ } .activity-item input[type="checkbox"] { width: auto; /* Minimal width for checkbox */ height: auto; appearance: auto; -webkit-appearance: auto; -moz-appearance: auto; } .activity-item input[type="tel"] { margin-top: 4px; /* Space between label and quantity field */ width: 100%; /* Take up the full width of the container */ } .smallNote{ color: gray; font-weight: bold; font-size: 12px; margin-top: -10px; } .smallCabNote{ color: red; font-weight: bold; } .actQnty{ /*text-transform: capitalize;*/ } .car-item { display: flex; background-color: #f2ebeb; flex: 1 1 calc(33.33% - 10px); /* Adjusts width to fit three items per row with some spacing */ margin: 5px; /* Add margin for spacing between items */ flex-direction: column; /* Aligns label and input vertically */ } .car-item label { margin-bottom: 5px; /* Adds space between the label and the input */ } .car-quantity { display: block; /* Ensures the quantity input is displayed below the checkbox */ margin-top: 5px; /* Adds space between checkbox and input */ } .cars-container { display: flex; flex-wrap: wrap; /* Allows items to wrap to the next line */ gap: 0 10px; /* Adds spacing between items */ } .footer { position: relative; /* Make sure the pseudo-element is positioned correctly */ padding: 40px 20px; font-family: Arial, sans-serif; color: #000; overflow: hidden; /* Prevent pseudo-element from overflowing */ } .footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-color: #fff7f2; background-image: url('bgfooter.jpg'); background-repeat: repeat; opacity: 1; /* Adjust opacity here (0 = fully transparent, 1 = fully opaque) */ z-index: -1; /* Make sure the background stays behind the content */ } .footer::after { content: ''; position: absolute; top: 0; /* Start at the top of the footer */ left: 0; right: 0; bottom: 0; /* Ensure it spans the full height of the footer */ background-color: rgba(255, 255, 255, 0.6); /* Semi-transparent black overlay */ z-index: -1; /* Make sure the overlay is on top of the image */ } .footer-content { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 20px; padding: 0 30px; } .footer-column { flex: 1; } .footer-column h4 { margin-bottom: 10px; font-size: 18px; } .footer-column ul { list-style: none; padding: 0; line-height: 1.6; font-size: 12px; } .companyDet{ font-size: 12px; text-transform: capitalize; } .footer-logo { max-width: 200px; margin-bottom: 0px; } .footer-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #e6f0f5; padding-top: 15px; font-size: 14px; } .footer-social { display: flex; gap: 15px; } .footer-social .social-icon { color: #000; font-size: 18px; transition: color 0.3s; } .footer-social .social-icon:hover { color: #aaa; } .footer a { color: #d10f22; text-decoration: none; } .footer a:hover { text-decoration: underline; } .cards-wrapper { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-around; /* Center cards and spread them */ padding: 10px; } .card-container { flex: 1 1 calc(33.333% - 20px); /* Adjust for 3 cards per row */ margin-bottom: 20px; border: 1px solid #ddd; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); background-color: #f2fbff; min-width: 160px; /* Prevent the card from getting too small */ max-width: calc(33.333% - 20px); /* Ensure it takes 1/3 of the space */ } .card-image { width: 100%; max-height: 160px; } .packageHeading{ margin: 0; margin-top: 20px; } .card-content { padding: 10px; text-align: center; } .card-content h3 { margin: 0 0 10px; font-size: 0.9rem; } .card-content p { margin: 0; padding: 0; color: #555; } .card-content .package-type { font-weight: bold; margin-top: 5px; } .card-content .btn-view-package { display: inline-block; margin-top: 10px; background-color: #008fbf; color: #fff; padding: 6px; font-size: 0.7rem; border-radius: 4px; text-align: center; text-decoration: none; } .card-content .btn-view-package:hover { background-color: #085169; } /* Responsive styles */ @media (max-width: 768px) { .footer-content { flex-direction: column; align-items: center; text-align: center; } .footer-column { margin-bottom: 20px; } .footer-bottom { flex-direction: column; align-items: center; text-align: center; } .footer-social { margin-top: 10px; } } /* Responsive styles */ @media (max-width: 500px) { .cards-wrapper { justify-content: center; /* Align all cards in the center */ padding: 0; gap: 10px; } .card-container { flex: 1 1 45%; /* Make each card take full width */ max-width: 45%; min-width: unset; /* Allow cards to use full width */ } .card-container img{ width: 100%; max-height: max-content; } } /* Responsive styles */ @media (max-width: 400px) { .cards-wrapper { justify-content: center; /* Align all cards in the center */ padding: 0; gap: 10px; } .card-container { flex: 1 1 70%; /* Make each card take full width */ max-width: 70%; min-width: unset; /* Allow cards to use full width */ } .card-container img{ width: 100%; max-height: max-content; } } .booking-details { display: flex; /* Use Flexbox for layout */ flex-wrap: wrap; /* Allow items to wrap to the next row */ gap: 10px; /* Add space between items */ } .booking-details > div { flex: 1 1 300px; /* Each item takes up at least 300px and grows/shrinks as needed */ padding: 10px; /* Add padding for visual spacing */ border: 1px solid #ddd; /* Optional: Add borders for better clarity */ border-radius: 5px; /* Optional: Add rounded corners */ background-color: #f9f9f9; /* Optional: Light background color */ }