/*
Theme Name: BuildWithSuto Theme
Theme URI: https://buildwithsuto.com/
Description: Child theme of Twenty Twenty-Five
Author: sut0x
Author URI: https://buildwithsuto.com/
Template: twentytwentyfive
Version: 1.0
*/

/*ACCORDINATION FAQS on HOMEPAGE*/
.custom-accordion {
    cursor: pointer;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding: 0px 15px 22px 15px;
    transition: all 0.3s ease;
}

.custom-accordion summary {
    position: relative;
    list-style: none;
    cursor: pointer;
    font-weight: 400;
    font-size: 1.1rem;
    color: black;
    padding-right: 30px;
}

.custom-accordion[open] {
    border-bottom: solid 1px #3366ff;
}

.custom-accordion p {
    margin-top: 30px;
    font-size: 1rem;
    line-height: 1.5;
    color: #707070;
}

.custom-accordion summary::marker,
.custom-accordion summary::-webkit-details-marker {
  display: none !important;
  content: none !important;
}

.custom-accordion summary::before {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3rem;
    color: #3366ff;
    background-color: #65758c12;
    border-radius: 100%;
    width: 28px;
    height: 28px;
    text-align: center;
    line-height: 28px;
    font-weight: 200;
    padding: 3px;
}


.custom-accordion[open] summary::before
 {
  content: '–';
}

/*CENTER BOX*/
.center-box {
  margin: 0 auto;
}

/*WPFORMS*/
form#wpforms-form-85 {
    padding: 40px 35px;
    background: #fff;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px !important;
}

button#wpforms-submit-85 {
    width: 100%;
    height: 3.5em;
    border-radius: 10px;
    background: var(--wp--preset--color--accent-1);
}

label.wpforms-field-label {
    font-weight: 400 !important;
}

input#wpforms-85-field_1,
input#wpforms-85-field_2,
select#wpforms-85-field_4, 
select#wpforms-85-field_5 {
    max-width: none;
}

/*LIVE PULSE INDICATOR*/
.live-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: sans-serif;
}

.ping {
  width: 12px;
  height: 12px;
  background-color: red;
  border-radius: 9999px;
  position: relative;
  animation: ping 1s infinite;
  opacity: 0.75;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: red;
  border-radius: 9999px;
  position: absolute;
}

.text {
  font-size: 0.9rem;
  color: red;
  font-weight: bold;
}

@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  70% {
    transform: scale(2.2);
    opacity: 0;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/*BOX SHADOW*/
.box-shadow {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.box-shadow2 {
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

/*SMOOTH SCROLLING EFFECT*/
html {
  scroll-behavior: smooth;
}

/*OUTLINE LINK*/
.wp-site-blocks *:focus {
  outline: none !important;
  box-shadow: none !important;
}

/*HIDE ON DESKTOP*/
@media (min-width: 769px) {
  .hide-on-desktop {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }
}

/*ONLY ON DESKTOP*/
@media (max-width: 768px) {
  .only-on-desktop {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }
}

/*FADE SECTION ANIMATION*/
.fade-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.fade-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/*FULL WIDTH IMAGE*/
.fullwidth-image {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  max-width: none;
}

