/*
Theme Name: R\nD Cortiva Theme
Theme URI: 
Author: R\nD
Author Email: 
Author URI: http://wordpress.org/
Description: Wordpress Gulp Starter Theme base on Amix
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, brown, orange, tan, white, yellow, light, one-column, two-columns, right-sidebar, flexible-width, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready
Text Domain: am

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
li.li3, li.li1{font-size: 1.6rem;}
.section-headline {padding: 6rem 0;}

/* Global Gravity Form Styles */

/* Form header styling */
.gform_wrapper .gform_heading .gform_title {
    font-family: "Josefin Sans";
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: 32px;
    letter-spacing: -0.32px;
}

/* Form structure */
.gform_wrapper .gform-body .gform_fields {
    row-gap: 2.4rem !important;
}

@media (max-width: 1200px) {
    .gform_wrapper .gform-body .gform_fields {
        row-gap: 1.6rem !important;
    }
}

/* Form elements styling */
.gform_wrapper form {
    margin: 2.4rem 0;
}

@media (min-width: 1200px) {
    .gform_wrapper form {
        margin: 3rem 0;
    }
}

/* Hide default labels */
.gform_wrapper form legend,
.gform_wrapper form label {
    display: none !important;
}

/* Checkbox styling */
.gform_wrapper form .gfield--type-checkbox {
    display: flex;
    align-items: center;
}

.gform_wrapper form .gfield--type-checkbox label {
    display: block !important;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 27px;
}

@media (min-width: 1200px) {
    .gform_wrapper form .gfield--type-checkbox label {
        font-size: 16px;
    }
}

.gform_wrapper form .gfield--type-checkbox label span {
    text-decoration: underline;
}

.gform_wrapper form .gfield--type-checkbox input {
    height: 20px !important;
    padding: 0 !important;
}

.gform_wrapper form .gfield--type-checkbox .gform-field-label {
    font-size: 14px;
    line-height: 18px;
}

/* Submit button styling */
.gform_wrapper form .gfield--type-submit {
    margin-left: auto;
}

@media (max-width: 1200px) {
    .gform_wrapper form .gfield--type-submit {
        width: 100% !important;
    }
}

.gform_wrapper form .gfield--type-submit input {
	background-color: #daa21b !important;
    padding: 1.6rem 6rem !important;
    text-transform: uppercase !important;
}

@media (max-width: 1200px) {
    .gform_wrapper form .gfield--type-submit input {
        width: 100% !important;
    }
}

/* Input fields styling */
.gform_wrapper input {
    width: 100%;
    font-family: inherit;
    padding: 1.6rem 2rem !important;
    border: 1px solid rgba(0, 0, 0, 0.10) !important;
    box-shadow: none !important;
    outline: none;
    height: 6rem !important;
    font-size: 18px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 27px;
}

.gform_wrapper input::placeholder {
    color: inherit;
}

/* Select field styling */
.gform_wrapper select {
    width: 100%;
    font-family: inherit;
    padding: 1.6rem 2rem !important;
    border: 1px solid rgba(0, 0, 0, 0.10) !important;
    box-shadow: none !important;
    outline: none;
    height: 6rem !important;
    font-size: 18px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 27px;
}

@media (max-width: 1200px) {
    .gform_wrapper select {
        border: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
}

/* Error states */
.gform_wrapper .gfield_error input {
    border: 2px solid;
    border-color: var(--gf-form-validation-color) !important;
}

.gform_wrapper .gfield_error input::placeholder {
    color: var(--gf-form-validation-color) !important;
}

.gform_wrapper .gfield_error select {
    border: 2px solid;
    border-color: var(--gf-form-validation-color) !important;
    color: var(--gf-form-validation-color) !important;
}

.gform_wrapper .gfield_error label {
    color: var(--gf-form-validation-color) !important;
}

/* HTML field styling */
.gform_wrapper .gfield--type-html {
    font-size: 1.6rem;
    line-height-step: 2rem;
}

@media (min-width: 768px) {
    .gform_wrapper .gfield--type-html {
        font-size: 1.8rem;
        line-height: 2.4rem;
    }
}

/* Confirmation message */
.gform_wrapper .gform_confirmation_message {
    padding: 1rem;
    font-size: 16px;
    color: white;
}

@media (min-width: 1200px) {
    .gform_wrapper .gform_confirmation_message {
        width: fit-content;
    }
}

/* Sticky Header Styles */
.header {
  transition: all 0.3s ease;
}

.header--sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  animation: slideDown 0.3s ease-in-out;
}

/* For admin bar compatibility when logged in */
.admin-bar .header--sticky {
  top: 32px; /* Height of admin bar */
}

@media screen and (max-width: 782px) {
  .admin-bar .header--sticky {
    top: 46px; /* Height of admin bar on mobile */
  }
}

/* Add a slight animation when the header becomes sticky */
@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

/* Optional: Make logo slightly smaller when header is sticky */
.header--sticky .header-logo-img {
  max-height: 50px;
  width: auto;
}

/* Make mobile menu more accessible when sticky */
@media screen and (max-width: 768px) {
  .header--sticky .header-nav {
    padding-top: 5px;
    padding-bottom: 5px;
  }
}

/* .btn-primary.header-nav__right__cta,
.btn-primary.header-nav__right__mobile {
    border: 1px solid #49a2b6;
    background-color: #49a2b6;
} */

