html, body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Ensure all elements include padding and border in their width and height */
}

*, *::before, *::after {
    box-sizing: inherit; /* Inherit box-sizing from the html element */
}

body {
    font-family: 'Abadi', sans-serif;
    font-size: 16px;
    background-color: #e0f7fa;
    /* Keep the top of the page white */
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 100vh;
}

header {
    background-color: #e0f7fa(0, 0%, 99%);
    color: #000;
    padding: 1rem;
    width: 100%;
}

.logo-box {
    background-color: #B0EBFF;
    /* White background for the logo box */
    padding: 1rem;
    border-radius: 8px;
    border: 2px solid #e0f7fa;
    /* Pale blue border */
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
    /* Same margin as other sections */
    max-width: 80%;
    /* Same width as other sections */
    margin: auto;
    /* Center the box */
}

.sub-heading {    
    color: #a02b93;
    /* Dark grey text */
}

header img {
    max-width: 400px;
    animation: fadeIn 2s ease-in;
    /* Apply the fade in animation */
}

.subtitle {
    font-size: 16px;
    color: grey;
}

main {
    flex: 1;
    padding: 1rem;
    max-width: 80%;
    margin: auto;
    background-color: #e0f7fa;
    /* Pale blue background for the main content */
}

section {
    margin-bottom: 1rem;
    /* Reduced margin between sections */
    border: 2px solid #e0f7fa;
    /* Pale blue border */
    padding: 0.1rem;
    border-radius: 8px;
}

/* Different background colors for each section with 70% transparency */
section:nth-child(1) {
    animation: fadeIn 2s ease-in;
    background-color: rgba(63, 81, 181, 0.7);
    /* Dark blue */
    color: #ffffff;
    /* White text */
}

section:nth-child(2) {
    animation: fadeIn 2s ease-in;
    background-color: rgba(103, 58, 183, 0.7);
    /* Dark purple */
    color: #ffffff;
    /* White text */
}

section:nth-child(3) {
    animation: fadeIn 2s ease-in;
    background-color: rgba(96, 125, 139, 0.7);
    /* Dark grey-blue */
    color: #ffffff;
    /* White text */
}

section:nth-child(4) {
    animation: fadeIn 2s ease-in;
    background-color: rgba(69, 90, 100, 0.7);
    /* Dark grey */
    color: #ffffff;
    /* White text */
}

section:nth-child(5) {
    animation: fadeIn 2s ease-in;
    background-color: rgba(121, 134, 203, 0.7);
    /* Medium blue */
    color: #ffffff;
    /* White text */
}

section:nth-child(6) {
    animation: fadeIn 2s ease-in;
    background-color: rgba(156, 39, 176, 0.7);
    /* Medium purple */
    color: #ffffff;
    /* White text */
}

section:nth-child(7) {
    animation: fadeIn 2s ease-in;
    background-color: rgba(144, 164, 174, 0.7);
    /* Medium grey-blue */
    color: #ffffff;
    /* White text */
}

section:nth-child(8) {
    animation: fadeIn 2s ease-in;
    background-color: rgba(84, 110, 122, 0.7);
    /* Medium grey */
    color: #ffffff;
    /* White text */
}

h2 {
    color: #ffffff;
}

footer {
    background-color: #a02b93;
    color: white;
    text-align: center;
    padding: 1rem;
    width: 100%;
}

.footer-link {
    color: white;
}

/* Keyframes for fade in animation */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Styling for the contact form */
form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

form input[type="text"],
form input[type="email"],
form textarea {
    width: 50%;
    /* Span 50% of the container */
    padding: 10px;
    /* Add some padding */
    margin: 10px 0;
    /* Space between each element */
    border: 1px solid #ccc;
    /* Border color */
    border-radius: 25px;
    /* Roundish corners */
    font-size: 16px;
    /* Increase font size */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* Add a slight shadow */
}

form input[type="submit"] {
    width: 50%;
    /* Span 50% of the container */
    padding: 10px;
    /* Add some padding */
    margin: 10px 0;
    /* Space between each element */
    border: none;
    /* Remove default border */
    border-radius: 25px;
    /* Roundish corners */
    background-color: #a02b93;
    /* Button background color */
    color: white;
    /* Button text color */
    font-size: 16px;
    /* Increase font size */
    cursor: pointer;
    /* Change cursor on hover */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* Add a slight shadow */
}

/* Change button background color on hover */
form input[type="submit"]:hover {
    background-color: #c555b8;
}

/* Carousel Styles */
.carousel-container {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 100%;
    max-width: 80%;
    margin: auto;
    padding: 20px 0;
    /* Add padding for spacing */
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel img {
    min-width: 33.33%;
    /* Each image takes up 1/3 of the carousel width */
    max-width: 33.33%;
    /* Ensure images are the same size */
    height: auto;
    border-radius: 10px;
    /* Add some rounding to the image corners */
    margin: 0 10px;
    /* Space between images */
}

/* Styling for the contact form container */
.contact-form-container {
    border: 2px solid #B0EBFF;
    /* Border color */
    border-radius: 10px;
    /* Rounded corners */
    padding: 20px;
    /* Add padding inside the container */
    background-color: #B0EBFF;
    /* White background */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* Slight shadow */
    margin: 20px 0;
    /* Margin for spacing */
}