/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/
/* =========================================================
   Layout + Padding Fixes
========================================================= */
#main, #wrapper, #boxed-wrapper {
  padding-bottom: 0 !important;
}

.fusion-footer {
  margin-bottom: 0 !important;
}

.fusion-footer .fusion-row,
.fusion-copyright-content {
  padding-bottom: 0 !important;
}

#main .fusion-row {
  border-bottom: 0 !important;
}

#sliders-container,
.fusion-page-title-bar,
.fusion-page-title-bar-sep,
.fusion-page-title-bar:after,
.fusion-page-title-bar:before,
.fusion-header-wrapper:after,
.fusion-header:after {
  border-bottom: none !important;
  box-shadow: none !important;
  display: none !important;
}

.fusion-header-wrapper,
.fusion-header,
.fusion-main-menu {
  border-bottom: none !important;
  box-shadow: none !important;
}

/* =========================================================
   Font Import
========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

/* =========================================================
   Global Reset + Font Control (CSS-only typography)
========================================================= */
html,
body,
button,
input,
select,
textarea {
  font-family: 'Inter', sans-serif !important;
  font-size: 1rem;
  line-height: 1.4; /* Improved for better readability */
  color: #333;
  margin: 0;
  padding: 0;
}

/* =========================================================
   Headings
========================================================= */
h1 {
  font-size: 3.5rem;
  line-height: 1.4; /* Added spacing between lines */
  margin: 2rem 0 1.5rem;
  font-weight: 700;
}

h2 {
  font-size: 3rem;
  line-height: 1.4;
  margin: 2.5rem 0 1.2rem;
  font-weight: 700;
}

h3 {
  font-size: 2.5rem;
  line-height: 1.4rem;
  margin: 2rem 0 1rem;
  font-weight: 600;
}

h4 {
  font-size: 1.25rem;
  line-height: 1.4;
  margin: 1.2rem 0 0.8rem;
  font-weight: 600;
}

/* =========================================================
   Paragraphs
========================================================= */
p {
  font-size: 1rem;
  line-height: 1.4; /* Improved vertical rhythm */
  margin: 0 0 1rem;
  font-weight: 400;
}

/* =========================================================
   Buttons
========================================================= */
button,
.button,
.fusion-button {
  font-family: 'Inter', sans-serif !important;
  font-size: 1rem;
  line-height: 1.5rem; /* Added line-height for balance */
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.375rem;
  background-color: #00704A;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

button:hover,
.button:hover,
.fusion-button:hover {
  background-color: #005E3C;
}

/* Primary Button */
.fusion-button.gb-primary {
  background-color: #008854;
  color: #ffffff;
}

.fusion-button.gb-primary:hover {
  background-color: #00A96E;
}

/* Outline Button */
.fusion-button.gb-outline {
  background-color: transparent;
  color: #008854;
  border: 0.125rem solid #008854;
}

/* =========================================================
   Text Colors
========================================================= */
.gb-text-main {
  color: #1C1C1C;
}

.gb-text-muted {
  color: #6E6E6E;
}

/* =========================================================
   Background Colors
========================================================= */
.gb-section-light {
  background-color: #F2F4F3;
}

.gb-section-dark {
  background-color: #006A41;
  color: #ffffff;
}

/* =========================================================
   Accent Colors
========================================================= */
.gb-accent {
  color: #F16E00;
}

.gb-accent-bg {
  background-color: #F16E00;
  color: #ffffff;
}

/* =========================================================
   Borders
========================================================= */
.gb-border-soft {
  border-color: #E1E4E2 !important;
}

.gb-border-strong {
  border-color: #C1C7C3 !important;
}

/* =========================================================
   Blockquote
========================================================= */
blockquote {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.9rem; /* Slightly taller for long quotes */
  color: #555;
  border-left: 0.25rem solid #00704A;
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background-color: #f9f9f9;
}

/* =========================================================
   Table of Contents (TOC)
========================================================= */
.toc {
  font-family: 'Inter', sans-serif;
  background-color: #f0f4f2;
  border: 0.0625rem solid #dce2df;
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0.5rem;
}

.toc h2 {
  font-size: 1.25rem;
  line-height: 1.9rem;
  margin-bottom: 1rem;
  color: #00704A;
}

.toc ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.toc ul li {
  margin-bottom: 0.5rem;
}

.toc ul li a {
  color: #333;
  font-weight: 500;
  text-decoration: none;
}

.toc ul li a:hover {
  color: #00704A;
  text-decoration: underline;
}

/* =========================================================
   Links
========================================================= */
a {
  color: #00704A;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #005E3C;
  text-decoration: underline;
}

/* =========================================================
   Form Fields
========================================================= */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
textarea,
select {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.6rem;
  padding: 0.75rem 1rem;
  border: 1px solid #C1C7C3;
  border-radius: 0.375rem;
  width: 100%;
  box-sizing: border-box;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #00704A;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 112, 74, 0.2);
}

/* =========================================================
   Sub-heading (Auto-wrap spacing)
========================================================= */
.sub-heading {
  font-size: 1.25rem;
  line-height: 2.2rem; /* Improved spacing for multi-line sub-heads */
  font-weight: 600;
  margin-bottom: 1.5rem;
}