.home .sc_services_hover .sc_services_item:hover .sc_services_item_header {
    -webkit-transform: none !important;
}


.home .sc_services_item_text {
    text-shadow: 2px 2px 3px #000000d9 !important;
    font-size: 1.1rem;
}


.home .sc_services_item_title {
    text-shadow: 3px 3px 6px #000000d9 !important;
}



.custom-hero-fader {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: black;
}

.custom-hero-fader img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: fadeHeroImages 18s infinite ease-in-out;
  transition: opacity 2s ease-in-out;
}

.custom-hero-fader img:nth-child(1) { animation-delay: 0s; }
.custom-hero-fader img:nth-child(2) { animation-delay: 6s; }
.custom-hero-fader img:nth-child(3) { animation-delay: 12s; }

@keyframes fadeHeroImages {
  0%, 100%   { opacity: 0; }
  10%, 30%   { opacity: 1; }
  40%, 90%   { opacity: 0; }
}

/* Top and bottom dark fade overlays */
.hero-fade-overlay {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 6;
  pointer-events: none;
}

.top-fade {
  top: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.85), rgba(0,0,0,0));
}

.bottom-fade {
  bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0));
}

.hero-modal {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  z-index: 10;
  color: white;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 2rem;
  border-radius: 8px;
  max-width: 710px;
  width: 90%;
}

.hero-modal h1 {
  color: white;
  font-size: 2rem;
  margin-top: 0;
  margin-bottom: 1rem;
}

.hero-modal p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.hero-modal form p {
    margin-bottom: 0 !important;
}

/* Form styles */
.hero-form {
  color: white;
}

.hero-form input,
.hero-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 4px;
}

.hero-form input[type="submit"] {
  background: #0073aa;
  color: white;
  cursor: pointer;
  transition: background 0.3s ease;
}

.hero-form input[type="submit"]:hover {
  background: #005f8d;
}

/* Animation: fade in from right */
@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translateX(40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-in {
  animation: fadeInRight 1s ease-out forwards;
}

/* Decorative bottom border */
.hero-bottom-border {
  width: 100%;
  height: 60px;
}

/* Responsive behavior */
@media screen and (max-width: 768px) {
  .hero-modal {
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
    width: 90%;
  }
}

.hero-call-strip {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2em !important;
}

@media only screen and (min-width: 768px) {
.hero-call-strip {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1em !important;
}	
}

.hero-form textarea {
    border-bottom: 2px solid #31322f !important;
    border-radius: 0 !important;
}

.hero-form textarea:focus {
    border-bottom: 2px solid #f4d69a !important;
}

.hero-form input, .hero-form textarea {
    color: #e1e1e1 !important;
    background: transparent !important;
}


span.wpcf7-not-valid-tip {
    font-size: 0.8em;
    color: #ff9898;
}

span.logo_slogan {
    display: none !important;
}