/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* ========================================
   Root Variables
   ======================================== */
:root {
  /* Color Palette */
  --brand-black: #000;
  --brand-white: #fff;
  --brand-harvest-gold: #E3A428;
  --brand-field-green: #7A973C;
  --brand-tractor-green: #405932;
  --brand-deep-teal-pine: #04322C;
  --brand-midnight-black: #010101;
  --brand-light-gold: #ebbf68;

  --brand-subfooter: #cfd0d2;

  /* Primary Button */
  --btn-primary-bg: var(--brand-harvest-gold);
  --btn-primary-hover-bg: var(--brand-light-gold);
  --btn-primary-hover-text: var(--brand-black);

  /* Secondary Button */
  --btn-secondary-text: var(--brand-tractor-green);
  --btn-secondary-bg: transparent;
  --btn-secondary-border: var(--brand-field-green);
  --btn-secondary-hover-text: var(--brand-white);
  --btn-secondary-hover-bg: var(--brand-tractor-green);

  /* Tertiary Button */
  --btn-tertiary-text: var(--brand-medium-gray);
  --btn-tertiary-bg: var(--brand-xlight-gray);
  --btn-tertiary-hover-text: var(--brand-light-gray);
  --btn-tertiary-hover-bg: var(--brand-medium-gray);

  /* Link Button */
  --btn-link-text: var(--brand-black);
  --btn-link-border: var(--brand-black);
  --btn-link-icon: var(--brand-black);
  --btn-link-hover-text: var(--brand-light-gray);
  --btn-link-hover-border: var(--brand-light-gray);
  --btn-link-hover-icon: var(--brand-light-gray);

  /* Main Navigation */
    --nav-subarrow-fill-mobile: var(--brand-white);
    --nav-subarrow-hover-fill-mobile: var(--brand-white);
    --nav-subarrow-fill: var(--brand-xlight-gray);
    --nav-subarrow-hover-fill: var(--brand-xlight-gray);

  /* Footer */
  --footer-subfooter-link: var(--brand-subfooter);
  --footer-subfooter-link-hover: var(--brand-silver-888);
  --footer-link: var(--brand-white);
  --footer-link-hover: var(--brand-white);

  /* Utility Header */
  --utility-header-link: var(--brand-white);
  --utility-header-link-hover: var(--brand-white);

  /* Back to Top */
  --backtotop-bg: var(--brand-harvest-gold);
  --backtotop-hover-bg: var(--brand-field-green);
  --backtotop-icon-fill: var(--brand-black);
  --backtotop-icon-hover-fill: var(--brand-black);
}

/* Global */
/* .subhead {
    padding-bottom: 1rem !important;
} */

.h1-heading,
.h2-heading,
.h3-heading,
.h4-heading,
.h5-heading,
.h6-heading {
/*	padding-top: 1rem !important;
/*     padding-bottom: 1rem !important; */
}

.header-accent {
    font-weight: 200;
}

.secondary {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.accent {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.page-header {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.page-header h1 {}

/* Optional: Apply to remove underline on link(s) */
.link-no-underline {
	text-decoration: none !important;
}

/* Fix: This overrides the "Link Hover" setting under Settings > Typography.
   The behavior caused issues with social icon effects. */

a:hover {
	text-decoration: none !important;
}

/* Elementor Editor Fix: Text box bottom gap */
.elementor-widget-text-editor p:last-child {
    margin-bottom: 0px;
}

/* Custom Buttons: Implemented to override issues with buggy global styles */
.elementor-button {
    background-color: var(--btn-primary-bg) !important;
    color: var(--brand-black) !important;
    font-family: 'Roboto', sans-serif !important;
    font-weight: 600 !important;
    font-style: normal !important;
    text-decoration: none !important;
    text-transform: none !important;
    font-size: 20px !important;
    border-radius: 8px !important;
}

.elementor-button:hover {
    background-color: var(--btn-primary-hover-bg) !important;
    color: var(--btn-primary-hover-text) !important;
    text-decoration: none !important;
}

.elementor-button-icon {
	font-size: 16px;
}

.btn-secondary a {
	font-family: 'Archivo', sans-serif !important;
    color: var(--btn-secondary-text) !important;
    background-color: var(--btn-secondary-bg) !important;
    border: 1px solid var(--btn-secondary-border) !important;
}

.btn-secondary a:hover {
    color: var(--btn-secondary-hover-text) !important;
    background-color: var(--btn-secondary-hover-bg) !important;
}

.btn-tertiary a {
    color: var(--btn-tertiary-text) !important;
    background-color: var(--btn-tertiary-bg) !important;
}

.btn-tertiary a:hover {
    color: var(--btn-tertiary-hover-text) !important;
    background-color: var(--btn-tertiary-hover-bg) !important;
}

.btn-link .elementor-button-content-wrapper {
    border-bottom: 1px solid var(--btn-link-border) !important;
}

.btn-link .elementor-button-icon {
    fill: var(--btn-link-icon) !important;
}

.btn-link a {
    color: var(--btn-link-text) !important;
    background-color: transparent !important;
    text-transform: none !important;
    padding: 0 !important;
}

.btn-link a:hover {
    color: var(--btn-link-hover-text) !important;
    background-color: transparent !important;
}

.btn-link a:hover .elementor-button-icon {
    fill: var(--btn-link-hover-icon) !important;
}

.btn-link a:hover .elementor-button-content-wrapper {
    border-bottom: 1px solid var(--btn-link-hover-border) !important;
}

/* Main Navigation */
/* Mobile (default) */
.sub-arrow svg {
    fill: var(--nav-subarrow-fill-mobile);
}

.menu-item:hover .sub-arrow svg {
    fill: var(--nav-subarrow-hover-fill-mobile);
}

/* Desktop */
@media screen and (min-width: 1024px) {
    .sub-arrow svg {
        fill: var(--nav-subarrow-fill);
    }
	
    .menu-item:hover .sub-arrow svg {
        fill: var(--nav-subarrow-hover-fill);
    }
}

/* Footer */
.subfooter a {
    font-size: 12px;
    color: var(--footer-subfooter-link);
}

.subfooter a:hover {
    color: var(--footer-subfooter-link-hover);
}

/* Footer Link Overrides */
.footer-link a {
    color: var(--footer-link) !important;
}

.footer-link a:hover {
    color: var(--footer-link-hover) !important;
}

/* Remove icons on mobile navigation */
@media (max-width: 767px) {
    .main-footer .elementor-icon-list-item .elementor-icon-list-icon {
        display: none;
    }
}

/* Utility Header Link Overrides */
.utility-header-link a {
    color: var(--utility-header-link) !important;
}

.utility-header-link a:hover {
    color: var(--utility-header-link-hover) !important;
}

/* Back to Top */
#back-to-top {
	position: fixed;
	bottom: 15px;
	right: 15px;
	width: 35px;
	height: 35px;
	background-color: var(--backtotop-bg);
	border-radius: 20%;
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 1000;
	text-decoration: none;
	transition: background-color 0.3s;
	font-size: 24px;
}

#back-to-top svg {
	width: 24px;
	height: 24px;
	fill: var(--backtotop-icon-fill);
}

#back-to-top:hover svg {
	width: 24px;
	height: 24px;
	fill: var(--backtotop-icon-hover-fill);
}

#back-to-top:hover {
	background-color: var(--backtotop-hover-bg);
}

/* Icon Emphasis: Reusable bounce animation for any icon */
.icon-bounce {
  display: inline-block;
  animation: floatY 2s ease-in-out infinite;
}

@keyframes floatY {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Form zoom fix on mobile */
input[type="color"],
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="email"],
input[type="file"],
input[type="month"],
input[type="number"],
input[type="password"],
input[type="range"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="time"],
input[type="url"],
input[type="week"],
input[type="checkbox"],
input[type="radio"],
input[type="image"],
input[type="button"],
input[type="submit"],
select:focus,
select,
textarea,
label,
button {
    font-size: 16px !important;
}

.elementor-nav-menu--dropdown.elementor-nav-menu__container {
    position: relative;
    z-index: 8 !important;
	padding-top:15px !important;
}
.elementor-nav-menu--dropdown.elementor-nav-menu__container .elementor-nav-menu {
    position: relative;
    z-index: 8 !important;
}

