/* Importing fonts from Google Fonts API */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Lexend:wght@100..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

/* Resetting default margin and padding for all elements */
* {
    margin: 0;
    padding: 0;
}

/* Setting font family for the body */
body {
    font-family: "Plus Jakarta Sans", sans-serif;
    background: #0DC7EC;
}

/* Container for the main content */
.container {
    width: 80%;
    margin: 50px auto;
}

/* Styling for main heading */
.container h1 {
    color: #ffffff;
    text-align: center;
    font-size: 50px;
    font-weight: 800;
    margin-bottom: 10px;
}

/* Styling for paragraph text */
.container p {
    color: #ffffff;
    text-align: center;
    font-size: 25px;
    margin-bottom: 40px;
}

/* Styling for contact box container */
.contact-box {
    background: #ffffff;
    display: flex;
    border-radius: 20px;
}

/* Styling for left container inside the contact box */
.container-left {
    flex-basis: 60%;
    padding: 40px 60px;
}

/* Styling for right container inside the contact box */
.container-right {
    flex-basis: 40%;
    padding: 40px 60px;
    background: hsl(190, 90%, 49%);
    color: #ffffff;
    border-radius: 0px 20px 20px 0px;
}

/* Styling for heading inside left container */
.container-left h3 {
    font-size: 25px;
    color: #353535;
    margin-bottom: 20px;
}

/* Styling for heading inside right container */
.container-right h3 {
    font-size: 25px;
    color: #ffffff;
    margin-bottom: 20px;
}

/* Styling for input rows */
.input-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

/* Styling for input groups inside input rows */
.input-row .input-group {
    flex-basis: 45%;
}

/* Styling for input fields */
input {
    width: 95%;
    border: none;
    color: #353535;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    font-family: "Plus Jakarta Sans", sans-serif;
} 

/* Styling for textareas */
textarea {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 15px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
    padding: 10px;
    box-sizing: border-box;
}

/* Styling for labels */
label {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
    display: block;
    color: #353535;
}

/* Styling for buttons */
button {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 600;
    font-size: 15px;
    background: #000000;
    border: none;
    outline: none;
    color: #fff;
    width: 20%;
    height: 40px;
    border-radius: 25px;
    margin-top: 20px;
    transition: all 0.5s ease 0s;
    box-shadow: 0px 5px 10px 0px #0000003a;
}

/* Hover styling for buttons */
button:hover {
    color: #fff;
    background: hsl(207, 97%, 35%);
    box-shadow: 0px 5px 10px 0px hsla(207, 97%, 35%, 0.431);
}

/* Styling for table cells */
tr td:first-child {
    font-size: 20px;
    font-weight: 600;
    padding-right: 20px;
}

tr td {
    padding-top: 20px;
}

/* Styling for iframes */
iframe {
    width: 100%;
    border: none;
    border-radius: 10px;
    outline: none;
    margin-top: 30px;
}

/* CSS for larger screens (laptop) */
@media only screen and (min-width: 1367px) {
    .container {
        width: 70%;
    }

    .container h1 {
        font-size: 50px;
    }

    .container p {
        font-size: 25px;
    }

    .container-left,
    .container-right {
        padding: 40px;
    }

    .input-row .input-group {
        flex-basis: 48%;
    }

    button {
        width: 30%;
    }
}

/* CSS for larger screens (laptop) */
@media only screen and (max-width: 1366px) {
    .container {
        width: 70%;
    }

    .container h1 {
        font-size: 45px;
    }

    .container p {
        font-size: 22px;
    }

    .container-left,
    .container-right {
        padding: 40px;
    }

    input {
        width: 90%;
    }

    .input-row .input-group {
        flex-basis: 48%;
    }

    button {
        width: 60%;
    }
}

/* CSS for medium-sized screens (tablet) */
@media only screen and (max-width: 1024px) {

    .contact-box {
        flex-direction: column;
    }

    .container {
        width: 80%;
    }

    .container h1 {
        font-size: 40px;
    }

    .container p {
        font-size: 22px;
    }

    .container-left,
    .container-right {
        padding: 30px;
    }

    .input-row {
        flex-wrap: wrap;
    }

    .input-row .input-group {
        flex-basis: 100%;
        margin-bottom: 15px;
    }

    button {
        width: 25%;
    }
}

/* CSS for smaller screens (mobile) */
@media only screen and (max-width: 767px) {
    .container {
        width: 90%;
    }

    .container h1 {
        font-size: 40px;
    }

    .container p {
        font-size: 18px;
    }

    .container-left,
    .container-right {
        padding: 20px;
    }

    .input-row {
        flex-direction: column; /* Stack input rows vertically */
    }

    .input-row .input-group {
        flex-basis: 100%;
        margin-bottom: 15px;
    }

    input,
    textarea {
        padding: 8px;
    }

    button {
        width: 60%;
    }

    tr td:first-child {
        font-size: 15px;
        font-weight: 600;
        padding-right: 10px;
    }
}
