/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Heading Styles */
h2 {
    font-family: 'Cardo', serif;
    font-size: 2rem; /* Adjusted for responsiveness */
    font-weight: 600;
    text-align: center;
    padding: 20px;
    color: #333; /* Set a default color */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); /* Add a subtle shadow for better readability */
}

h3 {
    font-family: 'Rosarivo', serif;
    font-size: 1.5rem; /* Adjusted for responsiveness */
    font-weight: 700;
    margin-left: 5%;
    color: black; /* Slightly lighter color for a softer look */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); /* Add a subtle shadow for better readability */
}

h4 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.25rem; /* Adjusted for responsiveness */
    font-weight: 400;
    margin-left: 10%;
    margin-top: 20px;
    color: #666; /* Lighter color for less emphasis */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); /* Add a subtle shadow for better readability */
}

/* Responsive Heading Styles */
@media (max-width: 992px) {
    h2 {
        font-size: 1.75rem; /* Adjust size for medium screens */
    }

    h3 {
        font-size: 1.25rem; /* Adjust size for medium screens */
        margin-left: 3%; /* Adjust margin for medium screens */
    }

    h4 {
        font-size: 1.1rem; /* Adjust size for medium screens */
        margin-left: 5%; /* Adjust margin for medium screens */
    }
}

@media (max-width: 768px) {
    h2 {
        font-size: 1.5rem; /* Adjust size for small screens */
        padding: 15px; /* Adjust padding for small screens */
    }

    h3 {
        font-size: 1.1rem; /* Adjust size for small screens */
        margin-left: 2%; /* Adjust margin for small screens */
    }

    h4 {
        font-size: 1rem; /* Adjust size for small screens */
        margin-left: 3%; /* Adjust margin for small screens */
    }
}

@media (max-width: 600px) {
    h2 {
        font-size: 1.25rem; /* Adjust size for extra-small screens */
        padding: 10px; /* Adjust padding for extra-small screens */
    }

    h3 {
        font-size: 1rem; /* Adjust size for extra-small screens */
        margin-left: 1%; /* Adjust margin for extra-small screens */
    }

    h4 {
        font-size: 0.9rem; /* Adjust size for extra-small screens */
        margin-left: 2%; /* Adjust margin for extra-small screens */
    }
}


/* General Body Styles */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
/*    background-image: url("bg_2.jpeg");
    background-repeat: none;
    background-size: cover;*/
    color: #333;
    background-color: #E0FFFF;
    line-height: 1.6;
}

/* Header Styles */
header {
    //background: linear-gradient(90deg, #7d12ff, #ffffff, #7d12ff);
    //background-image: radial-gradient(circle, #00d4ff 0%, #5c0067 100%);
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); /* Softer shadow for luxury feel */
}

.logo img {
    width: 150px;
    height: auto;
}

/* Hide radio buttons */
input[type="radio"] {
    display: none;
}

/* Footer Styles */
footer {
    background: linear-gradient(90deg, #7d12ff, #4ca1af); /* Matching luxurious gradient */
    color: #fff;
    text-align: center;
    padding: 15px 0;
    margin-top: auto;
    bottom: 10px;
}

footer p {
      font-family: 'Nunito', sans-serif;
    font-size: 14px;
}

.container{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
/* Button group container */
.button-group {
    width: 80%;
    margin: 20px auto;
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.custom-button {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    justify-content: center; /* Align items to the start */
    align-items: center; /* Center items horizontally */
    padding: 0; /* Remove padding to let the image fill the button */
    color: white;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    height: 100px;
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
}

.custom-button img {
    margin: 5px; /* Space between image and text */
    border-radius: 5px;
    width: 95%; /* Make image fill the button */
    object-fit: cover; /* Cover the button area without distortion */
}
.custom-button span {
    font-family: poppins,sans-serif;
    margin: 5px; /* Space between image and text */
    border-radius: 5px;
  
}


.custom-button {
    //background: linear-gradient(135deg, #d83f87, #da7b83); /* Light Lavender to Pale Blue */
    background: linear-gradient(135deg, #200589, #4c36a0); /* Light Lavender to Pale Blue */
}

.custom-button:hover {
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3); /* Increased shadow on hover */
    transform: translateY(-2px); /* Slight lift on hover */
}

.custom-button.active {
    //background: #e1ade6; /* Same as hover for active state */
    background: #ab20fd; /* Same as hover for active state */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Reset shadow on click */
    transform: translateY(-2px); /* Slightly lower lift on click */
}

/* Submit button style */
.next-button {
    width: 30%;
    position: fixed; /* Fixed position */
    bottom: 30px; /* Distance from the bottom */
    right: 40px; /* Distance from the right */
    padding: 12px 24px; /* Adjusted padding for a larger button */
    background: linear-gradient(135deg, #00bfff, #1e90ff); /* Vibrant gradient background */
    color: white;
    border: none;
    border-radius: 8px; /* Slightly larger border radius */
    font-size: 18px; /* Larger text */
    cursor: pointer;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Enhanced shadow */
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; /* Added transitions */
    z-index: 1000; /* Ensure it floats above other content */
}

.next-button:hover {
    background: linear-gradient(135deg, #1e90ff, #00bfff); /* Reverse gradient on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Enhanced shadow on hover */
    transform: translateY(-4px); /* Slight lift on hover */
}

.next-button:active {
    background: linear-gradient(135deg, #1e90ff, #00bfff); /* Same as hover for active state */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Reset shadow on click */
    transform: translateY(2px); /* Slightly lower lift on click */
}



/* Form Styling */
.form-group {
    width: 60%;
    margin: 40px auto;
    box-sizing: border-box;
}


/* Table Styling */
table {
    width: 80%;
    border-collapse: collapse;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
}

table th, table td {
    text-align: center;
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #8e44ad; /* Luxurious border color */
}

table th {
    font-weight: bold;
    text-transform: uppercase;
    background-color: #f4f4f4; /* Light background for headers */
    color: #8e44ad; /* Header text color matching the theme */
}

table tr:hover {
    background-color: #f9f9f9; /* Light grey on hover */
}

.print-button {
    width: auto;
    position: fixed; /* Fixed position */
    bottom: 30px; /* Distance from the bottom */
    right: 40px; /* Distance from the right */
    padding: 12px 54px; /* Adjusted padding for a larger button */
    background: linear-gradient(135deg, #6c757d, #343a40); /* Vibrant gradient background */
    color: white;
    border: none;
    border-radius: 8px; /* Slightly larger border radius */
    font-size: 18px; /* Larger text */
    cursor: pointer;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Enhanced shadow */
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; /* Added transitions */
    z-index: 1000; /* Ensure it floats above other content */   
    transition: background-color 0.3s; /* Smooth transition for hover effect */
}

.print-button:hover {
    background-color: #45a049; /* Darker green on hover */
}

.print-button:active {
    background-color: #388e3c; /* Even darker green when clicked */
}


/* Responsive Design */
@media (max-width: 992px) {
    .container {
        width: 90%;
        padding: 10px;
    }

    .button-group {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

@media (max-width: 768px) {
    header, footer {
        padding: 15px 0;
    }

    .logo img {
        width: 150px;
    }

    h1 {
        font-size: 2rem;
    }

    .container {
        padding: 10px;
    }
}

@media (max-width: 600px) {
    table{
        width: 100%;
    }
    .container {
        width: 95%;
        padding: 5px;
    }

    .button-group {
        width: 100%;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    input[type="text"],
    input[type="tel"],
    input[type="date"],
    button.submit-button {
        width: 100%;
        font-size: 16px;
    }

    table th, table td {
        padding: 2px 3px;
        text-align: center;
        font-size: 0.6rem;
    }

    .logo img {
        width: 150px;
    }

    footer p {
        font-size: 12px;
    }
}
/* Container to hold the content */
.summary-container {
    width: 80%;
    max-width: 600px; /* Maximum width for better readability */
    text-align: center;
    background: transparent;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    margin: 20px auto;
    transition: transform 0.3s ease; /* Add smooth transition for hover effect */
}

.summary-container:hover {
    transform: scale(1.02); /* Slight scaling effect on hover */
}

/* Heading and Paragraph styles */
.summary-container h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333; /* Dark color for contrast */
    position: relative;
    display: inline-block;
}

.summary-container h1::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background-color: #00bfff; /* Light blue underline */
    transition: width 0.3s ease;
}

.summary-container h1:hover::after {
    width: 0; /* Underline retracts on hover */
}

.summary-container p {
    font-size: 1.1rem;
    margin: 10px 0;
    color: #666; /* Softer text color for details */
    transition: color 0.3s ease;
}

.summary-container p:hover {
    color: #333; /* Darker color on hover for emphasis */
}

.summary-container strong {
    color: #333; /* Strong elements with more emphasis */
    text-decoration: underline; /* Underline for strong elements */
    text-decoration-color: #ff99cc; /* Custom underline color */
}

/* Responsive Styling */
@media (max-width: 768px) {
    .summary-container {
        width: 90%; /* Slightly wider for smaller screens */
        padding: 15px;
    }

    .summary-container h1 {
        font-size: 1.75rem; /* Adjust heading size for smaller screens */
    }

    .summary-container p {
        font-size: 1rem; /* Adjust text size for readability on small screens */
    }
}

@media (max-width: 480px) {
    .summary-container {
        width: 95%; /* Full width for mobile screens */
        padding: 10px;
    }

    .summary-container h1 {
        font-size: 1.5rem;
    }

    .summary-container p {
        font-size: 0.95rem;
    }
}
