/* Basic slider styles */
.slider { position: relative; overflow: hidden; }
.slides { display: flex; transition: transform .5s ease; }
.slide { min-width: 100%; height: 520px; display:flex; align-items:center; justify-content:center; }
.slide-bg { position:absolute; inset:0; background-size:cover; background-position:center; filter: brightness(0.55); }
.slide-content { position: relative; z-index: 1; }
.dot { width:10px; height:10px; border-radius:9999px; display:inline-block;  }
/* Default dot color: black */
.dot { background: rgba(0,0,0,.4); box-shadow: 0px 0px 12px -1px rgb(255, 255, 255); }

/* Reviews slider auto height */
.slider--auto .slide { height: auto; }

/* Smooth anchor scroll */
html { scroll-behavior: smooth; }

/* Offset for sticky header when navigating to anchors */
#why, #services, #testimonials, #phone, #contact { scroll-margin-top: 80px; }

/* Top Bar */
.top-bar {
  border-bottom: 1px solid #e0e0e0;
}

.top-bar-item {
    position: relative;
}

.logo span {
    font-family: 'Adlery Pro', sans-serif;
    font-size: 21px;
    font-weight: 400;
    line-height: 28.8px;
    letter-spacing: 0em;
    color: #500101;
}

.slide-person {
  max-width: 1700px;
  margin: 0 auto;
  left: 0;
}

.top-bar-item::before {
    content: '';
    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.2;
    left: 50%;
    transform: translateX(-50%);
}

.top-bar-item__hours::before {
    background-image: url('../img/icons/clock.svg');
}

.top-bar-item__location::before {
    background-image: url('../img/icons/pin-map-empty.svg');
}

.top-bar-item__phone::before {
    background-image: url('../img/icons/phone.svg');
}

.mid-cta {
  background-image: url('../img/action.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
}

.mid-cta::after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  background-color: #333333;
  opacity: 0.9;
}

.mid-cta .with_border {
  border: 10px solid rgba(255, 255, 255, 0.2);
}

#phone {
  background-image: url('../img/call-us.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
}

#phone::after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  background-color: #333333;
  opacity: 0.9;
}

@media (max-width: 1300px) {
  #slides .slide-person {
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
  }
}

/* On mobile/tablet disable fixed due to performance/OS limitations */
@media (max-width: 1024px) {
  .contact-with-bg { background-attachment: scroll; }
}
@media (max-width: 768px) {
  .contact-with-bg { background-attachment: scroll; }
}

/* Gradient buttons (match logo palette) */
.bg-primary:not(.whatsapp-button),
.bg-accent:not(.whatsapp-button) {
  /* Unified logo-like gradient: deep blue → cyan → orange */
  background-image: linear-gradient(135deg, #1E3A8A 0%, #0EA5E9 45%, #F59E0B 100%);
  color: #ffffff;
  background-size: 220% 220%;
  background-position: 0% 50%;
  transition: background-position .5s ease;
}
.bg-primary:hover,
.bg-accent:hover:not(.whatsapp-button) {
  background-position: 100% 50%;
}

.whatsapp-button {
  transition: opacity .5s ease;
}

.whatsapp-button:hover {
  opacity: 0.8;
}

/* Pointer cursor for all links and buttons */
a, button { cursor: pointer; }

/* Gradient text utility matching button gradient */
.text-logo-gradient {
  background-image: linear-gradient(180deg, #1E3A8A 0%, #0EA5E9 45%, #F59E0B 100%);
  background-size: 220% 220%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent; /* Firefox */
  -webkit-text-fill-color: transparent; /* WebKit */
  transition: background-position .5s ease;
}
.text-logo-gradient:hover { background-position: 100% 80%; }

/* Animate on scroll base */
.will-animate { visibility: hidden; opacity: 0; }
.will-animate.is-animated { visibility: visible; opacity: 1; }

/* Accordion */
.accordion .is-open > button img { transform: rotate(180deg); }
.accordion [role="region"].hidden { display: none; }

.radio-inputs {
  position: relative;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #1E3A8A 0%, #0EA5E9 45%, #F59E0B 100%);
  box-sizing: border-box;
  box-shadow: 0 0 0px 1px rgba(0, 0, 0, 0.06);
  padding: 0.25rem;
  width: auto;
  font-size: 14px;
}

.radio-inputs .radio {
  flex: 1 1 auto;
  text-align: center;
}

.radio-inputs .radio input {
  display: none;
}

.radio-inputs .radio .name {
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  border: none;
  padding: 10px 20px;
  color: rgba(51, 65, 85, 1);
  transition: all .15s ease-in-out;
  color: #fff;
}

.radio-inputs .radio input:checked + .name {
  background-color: #fff;
  font-weight: 600;
  color: #000;
}