::-webkit-scrollbar {
    width: 5px;
}
::-webkit-scrollbar-track {
    background-color: #F5F8FA;
    padding: 0;
    margin: 0;
}
::-webkit-scrollbar-thumb {
    background-color: rgba(0, 102, 255, 1);
}





/* ===========================
   HERO SLIDER
   Only rules that can't be Tailwind:
   - Swiper !important overrides
   - Pseudo-elements (::before, ::after)
   - @keyframes animations
   - Dynamic .active state classes
   =========================== */

/* Smooth fade transition for slides */
.heroSwiper .swiper-slide {
    transition: opacity 1s ease-in-out !important;
    will-change: opacity;
}

/* Swiper overrides (Swiper forces display:block) */
.hero-slide {
    height: 100% !important;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-end;
}

/* Dark gradient overlay (pseudo-element) */
.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.75) 0%,
            rgba(0, 0, 0, 0.35) 50%,
            rgba(0, 0, 0, 0.15) 100%);
    z-index: 0;
}

/* CTA arrow hover (nested selector) */
.hero-cta:hover svg {
    transform: translateX(4px);
}

/* Swiper pagination overrides */
.swiper-pagination {
    position: relative !important;
    height: auto !important;
    padding: 0 !important;
    display: flex !important;
    background: none !important;
}

/* Active pagination state */
.custom-pagination.active {
    color: #ffffff;
    border-top-color: #0066FF;
}

/* Timebar progress (pseudo-element) */
.timebar::after {
    content: '';
    position: absolute;
    width: 0;
    height: 100%;
    background: #0066FF;
}

.custom-pagination.active .timebar::after {
    width: 100%;
    animation: timebarAnimation 3.5s linear forwards;
}

@keyframes timebarAnimation {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

/* Slide text entrance animation */
.swiper-slide-active .hero-content span,
.swiper-slide-active .hero-content h1,
.swiper-slide-active .hero-content .hero-cta {
    animation: slidetxtMove 0.7s ease-out forwards;
}

.swiper-slide-active .hero-content span {
    animation-delay: 0.15s;
    opacity: 0;
}

.swiper-slide-active .hero-content h1 {
    animation-delay: 0.3s;
    opacity: 0;
}

.swiper-slide-active .hero-content .hero-cta {
    animation-delay: 0.45s;
    opacity: 0;
}

@keyframes slidetxtMove {
    0% {
        transform: translateY(25px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}










/* contact form  */
.input-field {
    width: 100%;
	padding: 12px 16px;
	border-radius: 6px;
	border: 1px solid #e5e7eb;
}

.input-field:focus{
	outline: 2px solid rgba(0, 102, 255, 1);
}


.newsletter-input-field {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  background-color: #ffffff1f;
  box-shadow: 0 0 0 2px #4b5563; 
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.newsletter-input-field:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px rgba(0, 102, 255, 1);
}

.newsletter-cta {
  text-align: center;
  display: inline-block;
  background-color: rgba(0, 102, 255, 1);
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  border: 1px solid rgba(0, 102, 255, 1);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.newsletter-cta:hover {
  background-color: #ffffff;
  color: rgba(0, 102, 255, 1);
}

@media (min-width: 768px) {
  .newsletter-cta {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    line-height: 1.5rem;
  }
}






/* --- 1. Hide the default individual text errors under inputs --- */
span.wpcf7-not-valid-tip {
    display: none !important;
}

/* --- 2. Make the input borders red if they have an error --- */
/* CF7 automatically adds the 'wpcf7-not-valid' class to invalid inputs */
.wpcf7-form-control.wpcf7-not-valid {
    border-color: #ef4444 !important; /* Tailwind red-500 */
    box-shadow: 0 0 0 1px #ef4444 !important; /* Optional: adds a slight red glow */
}

/* --- 3. Redesign the consolidated error box at the bottom --- */
div.wpcf7-response-output {
    margin-top: 24px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease;
}

/* Custom class we will trigger via JavaScript for the error state */
.univo-custom-error-box {
    background-color: #fef2f2 !important; /* Light red background */
    border: 1px solid #f87171 !important; /* Red border */
    color: #991b1b !important; /* Dark red text */
    padding: 16px 20px !important;
}

/* Styling the list of specific errors inside the box */
.univo-error-list {
    margin: 10px 0 0 20px !important;
    padding: 0 !important;
    list-style-type: disc !important;
    font-size: 0.95rem !important;
}

.univo-error-list li {
    margin-bottom: 4px !important;
}

/* 1. Hide the default red text under the individual input fields */
span.wpcf7-not-valid-tip {
    display: none !important;
}

/* 2. Make the input fields themselves turn red when there's an error */
.wpcf7-form-control.wpcf7-not-valid {
    border-color: #ef4444 !important; /* Red border */
    box-shadow: 0 0 0 1px #ef4444 !important;
}

/* 3. Redesign the main error box at the bottom */
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
    background-color: #fef2f2 !important; /* Light red background */
    border: 2px solid #ef4444 !important; /* Solid red border */
    color: #991b1b !important; /* Dark red text */
    border-radius: 8px !important;
    padding: 16px 20px !important;
    margin-top: 24px !important;
}

/* 4. Style the bulleted list of errors inside the box */
ul.univo-error-list {
    margin: 10px 0 0 20px !important;
    padding: 0 !important;
}

ul.univo-error-list li {
    list-style-type: disc !important;
    margin-bottom: 6px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}