﻿@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,500;1,600;1,700;1,800;1,900&family=Oswald:wght@200;300;400;500;600;700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

/* variables */
:root
{
    --field-text-color: rgb(26, 25, 25);
    --field-place-color: rgb(159, 159, 159);
    --text-color: rgb(40, 40, 41);
    --primary-color: rgb(0, 143, 156);
    --field-color: rgb(250, 228, 202);
    --secondary-color: rgb(247, 147, 58); /* I added back the secondary color */
}

body
{
    font-family: "Jost";
    width: 100%;
    position: relative;
    min-height: 100vh;
}

main
{
    padding: 45px 80px;
    position: relative;
    height: auto;
    background-color: rgb(255, 249, 242);
    min-height: 100vh;     
}

.logo
{
    display: flex;
    align-items: center;
    height: auto;
    position: relative;
    z-index: 10;
}
.logo-icon img
{
    width: 100%;
}
.logo-text
{
    font-size: 37px;
    color: var(--field-text-color);
    font-weight: bold;
    margin-left: 3px;
}

.left, .right
{
    position: relative;
    z-index: 1000;
}
.left-img img
{
    width: 100%;
    height: auto;
}

.wrapper
{
    height: 100%;
    display: grid;
    align-content: center;
    min-height: 500px;
}

.side-text h2
{
    font-size: 65px;
    color: var(--field-text-color);
    font-weight: bold; 
    line-height: 1.2;
}

.side-text p
{
    font-size: 27px;
    color: var(--field-text-color);
    font-weight: bold;
    line-height: 3;    
}
.side-text p span
{
    position: relative;
    display: inline-block;
    line-height: 1.3;
}
.side-text p span::after
{
    content: "";
    display: block;
    width: 100%;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 50px;
}

.links
{
    list-style: none;
    padding: 0;
    margin-top: 70px;
}

.links li
{
    display: inline-block;
    margin-bottom: 10px;
    color: var(--text-color);
    font-weight: 500;
    font-size: 17px;
}

form
{
    overflow: hidden;
}

.input-field
{
    width: 100%;
    padding-bottom: 40px;
}

.input-field label, .check-field label
{
    font-size: 18px;
    color: var(--field-text-color);
    font-weight: bold;
    display: block;
    margin-bottom: 20px;
}

.input-field label i, .check-field label i
{
    margin-right: 10px;
}

.input-field label span, .check-field label span
{
    color: var(--secondary-color);
}

.input-field input
{
    font-size: 17px;
    color: var(--field-place-color);
    background-color: transparent;
    border: 0;
    border-bottom: solid 3px var(--field-color);
    width: 100%;
    position: relative;
    transition: .4s ease;
}

.input-field input:focus
{
    outline: none;
    transition: 0.4s ease;
}

.input-field input+span::after
{
    content: "";
    background-color: var(--secondary-color);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    transition: 0.4s ease;
}

.input-field input:focus+span::after
{
    width: 100%;
}

.check-field input[type=checkbox]
{
    -webkit-appearance: none;
    appearance: none; /* Ensures cross-browser consistency */
    border: solid 2px rgb(184, 183, 180);
    border-radius: 6px;
    background-color: rgb(255, 255, 255);   
    width: 22px;
    height: 22px;
    transition: 0.4s ease;
    cursor: pointer;
    display: inline-block;
}

.check-field input[type=checkbox]:checked {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    position: relative;
}

.check-field input[type=checkbox]:checked::before {
    content: "✓"; /* Fallback checkmark */
    font-size: 14px;
    color: rgb(255, 255, 255);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.check-single
{
    display: flex;
    flex-wrap: wrap;
}

.check-single label
{
    font-size: 16px;
    color: var(--field-text-color);
    margin-left: 15px;
}

.submit
{
    width: 188px;
    height: 60px;
    margin-top: 15px;
}

.submit button
{
    border-radius: 10px;
    background-color: rgb(0, 0, 0);
    width: 100%;
    height: 100%;
    border: solid 2px transparent;
    transition: 0.4s ease;
    font-size: 15px;
    color: rgb(255, 255, 255);
    font-weight: bold;
    position: relative;
}

.submit button span
{
    margin-left: 10px;
    display: inline-block;
    transform: translateX(-200%);
    opacity: 0;
    transition: 0.4s ease;
    position: absolute;
}

.submit button:hover span
{
    opacity: 1;
    transform: translateX(0);
}

.left-shape, .right-shape
{
    position: absolute;
    top: 0;
}

.left-shape
{
    left: 0;
}

.right-shape
{
    right: 0;
}
