/*
Theme Name:     Kyron Child
Theme URI:      https:/kyronintelligence.co.uk
Description:    Child theme for Divi
Author:         Oliver Uwins
Author URI:     https://www.thameswebdesign.co.uk
Template:       Divi
Version:        0.1.0
*/

@import url("../Divi/style.css");

/* Basic */




:root {
  --font-body: "aptos", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --text-body: 1.125rem;   /* 18px */
  --text-lead: 1.375rem;   /* 22px */
  --text-lg: clamp(1.75rem, 3.5vw, 2.25rem); /* 35px */
  --text-h2: clamp(1.75rem, 2.45vw, 2.1875rem);
  --text-h1: clamp(2.25rem, 4.8vw, 4.3125rem);
}


body {
  font-family: var(--font-body);
  font-weight: 300;
  font-style: normal;
}




body,
body p,
body h1, body h2, body h3, body h4, body h5, body h6,
body li, body a, body span,
body input, body textarea, body select, body button,
body .et_pb_button {
  font-family: var(--font-body) !important;
}


strong, b {
  font-weight: 400;
}


h1 {
 font-size: clamp(2.25rem, 4.8vw, 4.3125rem);
  font-weight: 300;
}

.text-lead { font-size: var(--text-lead); }

.text-lg { font-size: var(--text-lg); }


/* Header */

#top-menu li {
  display: none;
}

#main-header {
  display: none !important;
}

#main-footer {
  background-color: #222222;
  display: none;
}

div#page-container {
  padding-top: 0px !important;
}





/* Card section */


/* flip animation*/

/* card: both faces stacked in one cell, height = tallest face */
.kd-flip-inner {
  display: grid !important;
  perspective: 1200px;
  flex-grow: 1;            /* fill the column so all cards in the row match */
  height: 100%;
  cursor: pointer;
}

.kd-face {
  grid-area: 1 / 1;
  display: flex !important;
  flex-direction: column;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.6s ease, box-shadow 0.3s ease;
}

.kd-back { transform: rotateY(180deg); }

.kd-flip-inner.is-flipped .kd-front { transform: rotateY(-180deg); }
.kd-flip-inner.is-flipped .kd-back  { transform: rotateY(0deg); }


.kd-front .kd-readmore {
  margin-top: auto !important;
}

.kd-face .kd-readmore {
  margin-top: auto !important;
}

.kd-flip-inner:hover .kd-face {
  box-shadow: 0 0 0 1px rgba(217, 101, 69, 0.4);
}

.kd-flip-inner:focus-visible {
  outline: 2px solid #D96545;
  outline-offset: 4px;
  border-radius: 12px;
}

@media (prefers-reduced-motion: reduce) {
  .kd-face { transition: none; }
}


/* bullet styling*/

.kd-steps {
  list-style: none!important;
  padding-left: 0 !important;   
  margin: 0;
}

.kd-steps li {
  position: relative;
  padding-left: 1.25em;          
  margin-bottom: 0.6em;
}

.kd-steps li:last-child { margin-bottom: 0; }

/* the dot */
.kd-steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;                    
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #D96545;
}


.kd-steps strong {
  color: #FFFFFF;
}



/* ---------- dots animation ---------- */
.kd-timeline {
  --dot: 28px;        /* dot size */
  --dot-top: -4px;    /* nudge so the dot lines up with the eyebrow */
  --gap: 64px;        /* space between steps */
  --indent: 104px;    /* space from dot to text */
  display: flex !important;
  flex-direction: column !important;
  gap: var(--gap) !important;
}

.kd-step {
  position: relative;
  padding-left: var(--indent);
}

/* the dot */
.kd-step::before {
  content: "";
  position: absolute;
  left: 0;
  width: var(--dot);
  height: var(--dot);
  border-radius: 50%;
  background: radial-gradient(circle, #E8805F 0 28%, #A9472F 48%, rgba(217,101,69,0.25) 72%);
  border: 1px solid rgba(217,101,69,0.6);
  box-shadow: 0 0 14px rgba(217,101,69,0.35);
  z-index: 1;
}

/* the line from this dot down to the next one */
.kd-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(var(--dot) / 2 - 0.5px);
  top: calc(var(--dot-top) + var(--dot));
  width: 1px;
  height: calc(100% - var(--dot) + var(--gap));
  background: rgba(217,101,69,0.7);
  transform-origin: top;
}

/* ---------- animation (only switched on by the script) ---------- */
.kd-timeline .kd-step:nth-child(1) { --d: 0s; }
.kd-timeline .kd-step:nth-child(2) { --d: 1.1s; }
.kd-timeline .kd-step:nth-child(3) { --d: 2.2s; }

/* starting state: dim dots, no line, hidden text */
.kd-timeline.kd-armed .kd-step::before {
  opacity: 0.25;
  transform: scale(0.6);
  box-shadow: none;
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.8s ease;
  transition-delay: var(--d);
}
.kd-timeline.kd-armed .kd-step::after {
  transform: scaleY(0);
  transition: transform 0.7s ease-in-out;
  transition-delay: calc(var(--d) + 0.4s);
}
.kd-timeline.kd-armed .kd-step > * {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: calc(var(--d) + 0.1s);
}

/* end state once it's in view */
.kd-timeline.kd-armed.is-visible .kd-step::before {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 0 14px rgba(217,101,69,0.35);
}
.kd-timeline.kd-armed.is-visible .kd-step::after {
  transform: scaleY(1);
}
.kd-timeline.kd-armed.is-visible .kd-step > * {
  opacity: 1;
  transform: none;
}

/* ---------- mobile ---------- */
@media (max-width: 767px) {
  .kd-timeline { --indent: 56px; --gap: 48px; }
}





.contact-bold strong{
color: white;
}


.kd-form .et_contact_bottom_container {
  float: none !important;
  width: 100% !important;
  display: block !important;
}

.kd-form .et_pb_contact_submit {
  width: 100% !important;
  margin-left: 0 !important;
  display: block !important;
}

.kd-form .et_pb_button::after{
left: 10em;
  right: 0 !important;
}

.kd-form .et_pb_contact_field :is(input, textarea, select) {
  font-size: 1.125rem;   /* 18px */
}


.kd-form .et_pb_contact_submit {
  background-color: #D96545 !important;
  border: 1px solid #D96545 !important;   /* same colour as the background, so no jump on hover */
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.kd-form .et_pb_contact_submit:hover,
.kd-form .et_pb_contact_submit:focus-visible {
  background-color: #161A17 !important;   /* dark: swap for your exact dark colour */
  border-color: #D96545 !important;
  color: #D96545 !important;
 padding-right: 2em;
  padding-left: 0.7em;!important;                      }
  
  
  
  .kd-form .et_pb_contact_field .et_contact_error {
  border: 1px solid #D96545 !important;
  box-shadow: none !important;
}

.kd-form .et-pb-contact-message {
  color: #D96545;
}



/******* Responsive ******/

@media (max-width: 980px) {
  
}
@media (max-width: 1420px) {
}

@media (max-width: 1420px) {
}

@media screen and (max-width: 980px) {
}

@media (max-width: 980px) {
}

@media only screen and (min-width: 981px) {
  /* MAXXES */
}

@media (min-width: 768px) and (max-width: 980px) {
}

@media (max-width: 767px) {
} /* end 767 */

@media (max-width: 600px) {
} /* end 600 */

@media (max-width: 479px) {
}

@media (max-width: 375px) {
}
