/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Background Image Section */
.bg-image-section {
    position: relative;
    height: 300px;
    background-image: url('pic-1.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bg-image-section h2 {
    border: 2px solid #fff; /* White border */
    border-radius: 10px; /* Rounded corners */
    padding: 20px; /* Padding for all sides */
    margin: 10px;
}

/* Boxes Section */
.three-boxes-section {
    padding: 40px 20px;
    text-align: center;
}

.three-boxes-section .boxes {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.three-boxes-section .box {
    width: 200px;
    height: 50px;
    color: white;
    background: skyblue;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    padding: 30px;
}

/* Heading Section */
.heading-section {
    text-align: center;
    padding: 40px 20px;
}

.sub-headings h3 {
    margin: 10px 0;
}

/* Form Section */
.form-section {
    position: relative;
    background-image: url('pic-2.jpg');
    background-size: cover;
    background-position: center;
    padding: 40px 20px;
    color: #fff;
    text-align: center;
}

.form-container {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns, one for each field */
    gap: 20px; /* Spacing between the fields */
    margin-bottom: 20px;
}

input[type="text"], input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
    color: #333;
}

input[type="text"]:focus, input[type="email"]:focus {
    border-color: #007bff;
    background-color: #fff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.2);
}

input::placeholder {
    color: #999;
    font-style: italic;
}

button[type="submit"] {
    background-color: #007bff;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #0056b3;
}

#disclosure-label {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
}

#disclosure-label input {
    margin-right: 10px;
}

/* Right Aligned Section */
.right-aligned-section {
    padding: 40px 20px;
    text-align: left;
}

.right-aligned-section .right-content {
    max-width: 100%;
    margin-right: auto;
}

.sub-headings h3 {
    color: green;
    display: flex; /* Keeps tick mark and text in one line */
    align-items: center; /* Ensures proper alignment */
    justify-content: center; /* Centers text and tick */
    margin-bottom: 10px; /* Adds spacing between items */
    flex-wrap: nowrap; /* Prevents wrapping */
    padding-left: 0; /* Prevents unnecessary shifting */
    text-align: center; /* Ensures text stays centered */
}

/* Tick Mark Style */
.sub-headings h3::before {
    content: "\2713"; /* Unicode for tick mark */
    color: green;
    font-size: 1.2em;
    margin-right: 8px; /* Moves tick mark closer to text */
    display: inline-block; /* Ensures proper spacing */
    flex-shrink: 0; /* Prevents tick from shrinking */
}
/* On larger screens, force each point onto a new line */
@media (min-width: 1024px) {
    .sub-headings h3 {
        display: block; /* Forces text onto a new line */
        text-align: center; /* Ensures proper alignment */
    }

    .sub-headings h3::before {
        display: inline-block; /* Keeps tick inline */
        margin-right: 10px;
    }
}








/* Responsive Styles */
@media (max-width: 768px) {
    .three-boxes-section .boxes {
        flex-direction: column;
        align-items: center;
        justify-content: center; 
        display: flex; 
    }

    .sub-headings h3 {
        justify-content: center; /* Ensures text and tick are always centered */
        text-align: center; /* Keeps text aligned properly */
    }

    .form-row {
        grid-template-columns: 1fr; 
    }

    .form-section form {
        max-width: 100%;
    }

    .form-container {
        padding: 15px;
    }

    .heading-section h4 {
        color: black;
        text-align: center;
    }
}

/* General styles for the section */
.heading-section h1 {
    color: skyblue;
}

/* Optional: Style for the <h4> */
.heading-section h4 {
    color: black;
    text-align: center;
}
