:root {
    --main-bg: white;
    --turquoise: #00B7BD;
    --dark-blue: #193062;
    --gf-local-border-color: unset;
}

.--bg-turquoise {
    background-color: var(--turquoise);
    color: white;
}

html {
    font-size: 16px; /* Sets the base font size */
}

body {
    font-family: 'Sofia Sans', sans-serif;
    font-size: 1rem; /* 1rem = 16px */
    line-height: 1.5; /* Adjust line spacing for readability */
    color: var(--dark-blue); /* Optional: Set a default text color */
}

h1 {
    font-size: 2.375rem;
    line-height: 1.3;
}
h2 {
    font-size: 1.875rem;
    line-height: normal
}

h3 {
    font-size: 1.375rem;
    line-height: 1.5;
}

symbol {
    font-size: 40px;
    line-height: 1.5;
}

h4 { font-size: 1.25rem; /* 20px */ }
h5 { font-size: 1.125rem; /* 18px */ }
h6 { font-size: 1rem; /* 16px */ }
p { font-size: 1rem;  }

.animated-text {
    font-size: 3rem;
    line-height: 2;
}

.site-content {
    width: 100%;
}

.single-service {
    background-image: url('../images/dent_gris_clair.png'); /* Replace with your image path */
    background-repeat: no-repeat; /* Prevent image repetition */
    background-position: calc(-46px) 500px; /* Align left minus 46px and center vertically */
    background-size: auto; /* Adjust size as needed */
}

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    background-color: var(--turquoise);
    border-radius: 30px; /* Fixed 15px border radius */
    padding-left: 35px;
    padding-right: 35px;
    height: 50px;
    text-decoration: none;
    font-size: 1.125em;
    border: none;
    width: fit-content;
}

.transparent-button {
    border: white;
    border-style: solid;
    background-color: transparent;
}

.section-link {
    color: var(--turquoise);
    text-decoration: underline;
    text-underline-offset: 0.5em;
    font-size: 1.125em;
}

.phone-button {
    gap: 8px; /* Space between icon and text */
    background-color: rgba(0, 183, 189, 0.15); /* Turquoise 15% */
    color: var(--turquoise);
    font-size: 19px;
    border-radius: 22px;
}

.phone-button:hover {
    background-color: rgba(0, 183, 189, 0.60); /* Turquoise 15% */
    color: white;
}

.inverted-phone-button {
    gap: 8px; /* Space between icon and text */
    background-color: rgba(255, 255, 255, 0.16); /* White with 16% transparency */
    font-size: 19px;
    border-radius: 22px;
}

.inverted-phone-button:hover {
    background-color: rgba(255, 255, 255, 0.3); /* Slightly less transparent on hover */
}

.phone-button img,
.inverted-phone-button img
{
    width: 25px; /* Adjust size of the SVG */
    height: 25px;
}

.contact-form {
    background-color: #eff0f2;
}

/* Style the Gravity Form container */
.gform_wrapper {
    max-width: 600px; /* Adjust width */
    margin: 0 auto; /* Center the form */
    background: #eff0f2;
    padding: 20px;
    border-radius: 10px;
}

/* Style form fields */
.gform_wrapper .gfield {
    margin-bottom: 15px;
}

/* Style input fields */
.contact-form .gform_wrapper input[type="text"],
.contact-form .gform_wrapper input[type="email"],
.contact-form .gform_wrapper textarea {
    width: 100%;
    padding: 10px;
    border-style: none;
    border-radius: 8px;
    box-shadow: none;
    --gf-local-border-color: unset !important;
}

/* Style submit button */
.gform_wrapper .gform_button {
    background: #ff6600;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    transition: 0.3s;
}

.gform_wrapper .gform_button:hover {
    background: #e55a00;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.contact-form {
    padding: 10vh 5vw;
    flex: 1;
    gap: 3vw;
    width: 100%;
}

.contact-map {
    flex: 1;
    min-width: 300px;
    max-width: 35%;
}

#google-map {
    width: 100%;
    height: 400px; /* Adjust height as needed */
    background: #ddd; /* Fallback color */
    border-radius: 10px;
}

.gravity-form h1 {
    margin-bottom: 3vh;
}

.gravity-form .gform_wrapper {
    padding: 0;
    margin: 0;
}

.gravity-form .gform_wrapper .gform_footer {
    justify-content: end !important;
}
.gravity-form .gform_wrapper .gform_footer .primary-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    background-color: var(--turquoise) !important;
    border-radius: 30px !important; /* Fixed 15px border radius */
    padding-left: 35px !important;
    padding-right: 35px !important;
    height: 50px !important;
    text-decoration: none !important;
    font-size: 1.125em !important;
    border: none !important;
    width: fit-content !important;
}

.gravity-form .gform_wrapper .custom-file-upload {
    position: relative;
    width: 100%;
}

.gravity-form .gform_wrapper .custom-file-input {
    display: none;
}

.gravity-form .gform_wrapper .custom-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    border-radius: 5px;
    background: #fff;
}

.gravity-form .gform_wrapper .custom-file-text {
    flex: 1;
    padding: 10px;
    font-size: 14px;
    color: #555;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
}

.gravity-form .gform_wrapper .upload-icon {
    width: 20px;
    height: 20px;
    position: absolute;
    right: 10px;
    pointer-events: none; /* Prevents interaction issues */
}


.gform_wrapper input[type="file"] {
    display: none !important;
}

.contact-map label {
    color: var(--turquoise);
    text-transform: uppercase;
}