/*
Theme Name: Hello Biz Child Theme
Author: Dylan Collaga
Template: hello-biz
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hello-biz-child
*/

:root {
  /* Syntax: clamp(MINIMUM, PREFERRED, MAXIMUM) */
  
  /* Scales smoothly between 3rem (mobile) and 6rem (desktop) */
  --section-padding: clamp(3rem, 5vw + 1rem, 6rem);
  
  /* Scales smoothly between 5rem (mobile) and 10rem (desktop) */
  --hero-padding: clamp(5rem, 8vw + 1rem, 10rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 62.5%; /* Sets 1rem = 10px */
  -webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust */
}

body {
  font-size: 1.6rem; /* Sets base text to 16px */
  line-height: 1.5;
  font-family: system-ui, -apple-system, sans-serif; /* Modern stack */
  color: #333;
}

.section {
  /* Using `padding-block` handles top & bottom padding simultaneously */
  padding-block: var(--section-padding);
  
  /* Standardize horizontal constraints */
  width: 100%;
  max-width: 1200px;
  margin-inline: auto; /* Centers the section */
}

/* Modifier for larger sections */
.section-hero {
  padding-block: var(--hero-padding);
}

.hero-img {
    height: 50vh;
}

.line-1, .line-2, .line-3, .line-4, .line-5, .line-6 {
    position: relative;
}

.line-1::after, .line-2::after, .line-3::after, .line-4::after, .line-5::after, .line-6::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    
    background-repeat: no-repeat;
    background-size: 100% auto; 
    background-position: center;
    z-index: 0;
    pointer-events: none;
}

.line-1::after { background-image: url(https://endearcare.com.au.inkcreative.com.au/wp-content/themes/hello-biz-child/assets/svg/line-1.svg);}
.line-2::after { background-image: url(https://endearcare.com.au.inkcreative.com.au/wp-content/themes/hello-biz-child/assets/svg/line-2.svg);}
.line-3::after { background-image: url(https://endearcare.com.au.inkcreative.com.au/wp-content/themes/hello-biz-child/assets/svg/line-3.svg);}
.line-4::after { background-image: url(https://endearcare.com.au.inkcreative.com.au/wp-content/themes/hello-biz-child/assets/svg/line-4.svg);}
.line-5::after { background-image: url(https://endearcare.com.au.inkcreative.com.au/wp-content/themes/hello-biz-child/assets/svg/line-5.svg);}
.line-6::after { background-image: url(https://endearcare.com.au.inkcreative.com.au/wp-content/themes/hello-biz-child/assets/svg/line-6.svg);}

img,
video,
iframe {
  max-width: 100%;
  height: auto;
  display: block; /* Removes bottom whitespace under images */
}

/* Center Alignment */
.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Left Alignment */
.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

/* Right Alignment */
.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

/* Clear floats for standard WP content */
.entry-content::after {
  content: "";
  display: table;
  clear: both;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* Show the text when focused (e.g. tabbing through menu) */
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  -webkit-clip-path: none;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 1.4rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

input,
textarea,
select {
  font-size: 1.6rem; /* Must be at least 16px to prevent iOS zoom */
  max-width: 100%;
}

.btn-secondary a {
    color: var( --e-global-color-a29a113 ) !important;
    background-color: #00000000 !important;
    border: 1px solid var( --e-global-color-a29a113 ) !important;
}

.btn-secondary a:hover {
    color: var( --e-global-color-primary ) !important;
    border: 1px solid var( --e-global-color-primary ) !important;
}

.btn-outline-purple a {
    color: var( --e-global-color-primary ) !important;
    background-color: #00000000 !important;
    border: 1px solid var( --e-global-color-primary ) !important;
}

.btn-outline-purple a:hover {
    color: var( --e-global-color-secondary ) !important;
    border: 1px solid var( --e-global-color-secondary ) !important;
}

.forminator-label {
    font-family: "Inter" !important;
    font-size: 1.4rem !important;
    font-weight: 600 !important;
    color: var(--e-global-color-text);
}

.forminator-input,
.forminator-textarea {
    font-family: "Inter" !important;
    font-size: 1.4rem !important;
    font-weight: 400 !important;
    border-radius: 10px !important;
}

.forminator-description {
    display: none !important;
}

.forminator-error-message {
    font-family: "Inter" !important;
    font-size: 1.2rem !important;
    font-weight: 400 !important;
}

.forminator-button {
    font-family: "Inter" !important;
    font-size: 1.6rem !important;
    font-weight: 600 !important;
    border-radius: 10px !important;   
    padding: 26px 22px !important;
    line-height: 0 !important;
    box-shadow: none !important;
}

.icon-cont {
    width: 70px !important;
    height: 70px !important;
}

.icon-cont > div {
    top: 2px;
    left: -2px;
}
