/* Disable hyphens on all text elements across the site */
* {
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
}

.elementor-element-78156c5 > .e-con {
  transition: background-color 0.3s ease, color 0.3s ease;
}

.elementor-element-78156c5 > .e-con:hover {
  background: #ffffff !important;
}

.elementor-element-78156c5 > .e-con:hover,
.elementor-element-78156c5 > .e-con:hover p,
.elementor-element-78156c5 > .e-con:hover h3,
.elementor-element-78156c5 > .e-con:hover a,
.elementor-element-78156c5 > .e-con:hover i {
  color: #545454 !important;
}
/* Make each service card a vertical flex container */
.elementor-element-78156c5 > .elementor-element.e-con.e-child {
  display: flex !important;
  flex-direction: column !important;
  height: 100%;
}

/* Push the icon box to the bottom of each card */
.elementor-element-78156c5 > .elementor-element.e-con.e-child > .elementor-widget-icon-box {
  margin-top: auto !important;
  width: 100%;
}

/* Service image/card shrink hover */
.elementor-element-8fe7232,
.elementor-element-3f5837a,
.elementor-element-d90bb93,
.elementor-element-517709e {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform-origin: center center;
  overflow: hidden;
}

/* Shrink slightly on hover */
.elementor-element-8fe7232:hover,
.elementor-element-3f5837a:hover,
.elementor-element-d90bb93:hover,
.elementor-element-517709e:hover {
  transform: scale(0.96);
}

/* Optional: keep it smooth on keyboard focus too */
.elementor-element-8fe7232:focus,
.elementor-element-3f5837a:focus,
.elementor-element-d90bb93:focus,
.elementor-element-517709e:focus {
  outline: none;
  transform: scale(0.96);
}
.syntech-video-hero {
  position: relative;
  overflow: hidden;
  min-height: 700px;
}

.syntech-video-hero .syntech-hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.syntech-video-hero .syntech-hero-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 18, 32, 0.65);
  z-index: 1;
  pointer-events: none;
}

.syntech-video-hero > .e-con-inner,
.syntech-video-hero > .elementor-widget,
.syntech-video-hero > .elementor-element:not(.elementor-widget-html) {
  position: relative;
  z-index: 2;
}

@media (max-width: 767px) {
  .syntech-video-hero {
    min-height: 500px;
  }
}
/* Full-width video hero */
.syntech-video-hero {
  position: relative;
  overflow: hidden;
  min-height: 700px;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  display: flex;
  align-items: center;
}

/* Make the HTML widget itself act like a background layer */
.syntech-video-hero .elementor-widget-html {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  padding: 0;
}

/* The video */
.syntech-video-hero .syntech-hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark overlay so text is readable */
.syntech-video-hero .syntech-hero-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 18, 32, 0.65);
  z-index: 1;
}

/* Content above the video */
.syntech-video-hero .syntech-hero-content,
.syntech-video-hero > .e-con-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Optional mobile height */
@media (max-width: 767px) {
  .syntech-video-hero {
    min-height: 500px;
  }
}
/* Avaya Callback Form */
.aco-callback {
    font-family: Inter, Arial, sans-serif;
    font-size: 17px;
    color: #545454;
}

.aco-callback__label,
.aco-callback__privacy,
.aco-callback__message {
    font-family: Inter, Arial, sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: #545454;
}

/* Phone field */
.aco-callback__phone {
    font-family: Inter, Arial, sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: #545454;
}

/* Call Me button */
.aco-callback__button {
    background-color: #1386CC !important;
    color: #ffffff !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: 17px;
    font-weight: 400 !important;
    border-radius: 50px !important;
    border: none;
    padding: 12px 24px;
}

.aco-callback__button:hover,
.aco-callback__button:focus {
    background-color: #0F6FA8 !important;
    color: #ffffff !important;
}
.aco-callback__privacy a {
    color: #1386CC;
    text-decoration: none;
}

.aco-callback__privacy a:hover {
    color: #0F6FA8;
    text-decoration: underline;
}
/* SYNTECH Call Now Navigation Button */
.elementor-nav-menu a[href="#call-now"],
nav a[href="#call-now"] {
    background-color: #1386CC !important;
    color: #ffffff !important;
    font-family: Inter, Arial, sans-serif !important;
    font-weight: 400 !important;
    border-radius: 50px !important;
    padding: 11px 22px !important;
    line-height: 1.2 !important;
    transition: background-color 0.2s ease;
}

/* Hover */
.elementor-nav-menu a[href="#call-now"]:hover,
nav a[href="#call-now"]:hover {
    background-color: #0F6FA8 !important;
    color: #ffffff !important;
}

/* Prevent Elementor underline/hover effects */
.elementor-nav-menu a[href="#call-now"]::after {
    display: none !important;
}
.elementor-nav-menu li:has(a[href="#call-now"]) {
    margin-left: 12px;
}

/* ==================================================
   SYNTECH CALL NOW POPUP - REVISED
   Grey: #545454
   Blue: #1386CC
   Hover: #0F6FA8
   ================================================== */

/* Popup shell */
.call-now-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    pointer-events: none;
}

.call-now-popup.is-open {
    display: block;
}

/* Prevent padding/width from causing horizontal overflow */
.call-now-popup,
.call-now-popup *,
.call-now-popup *::before,
.call-now-popup *::after {
    box-sizing: border-box;
}

/* White popup card */
.call-now-popup .call-now-popup-content {
    position: fixed;
    width: 580px;
    max-width: calc(100vw - 30px);
    max-height: calc(100vh - 100px);
    padding: 32px 38px 30px;
    overflow-y: auto;
    overflow-x: hidden;
    background: #ffffff;
    border: 1px solid rgba(84, 84, 84, 0.15);
    border-radius: 22px;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.18);
    font-family: Inter, Arial, sans-serif;
    color: #545454;
    pointer-events: auto;
}

/* Close X */
.call-now-popup .call-now-popup-close {
    position: absolute;
    top: 13px;
    right: 17px;
    width: 38px;
    height: 38px;
    margin: 0;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #545454 !important;
    font-family: Arial, sans-serif;
    font-size: 36px;
    font-weight: 300;
    line-height: 36px;
    cursor: pointer;
}

.call-now-popup .call-now-popup-close:hover {
    background: transparent !important;
    color: #1386CC !important;
}

/* Top phone icon */
.syntech-popup-top-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 12px;
    background: rgba(19, 134, 204, 0.10);
    border-radius: 50%;
}

.syntech-popup-top-icon svg {
    width: 36px;
    height: 36px;
    fill: #1386CC;
}

/* Call SYNTECH heading */
.call-now-popup .syntech-popup-title {
    margin: 0 0 4px !important;
    color: #545454 !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: 29px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-align: center;
}

/* Large direct-call number */
.syntech-popup-phone {
    display: block;
    width: 100%;
    margin: 0;
    color: #1386CC !important;
    font-family: Inter, Arial, sans-serif;
    font-size: 52px;
    font-weight: 600;
    line-height: 1.1;
    text-align: center;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.syntech-popup-phone:hover {
    color: #0F6FA8 !important;
}

/* OR divider */
.syntech-popup-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    margin: 24px 0 20px;
}

.syntech-popup-divider::before,
.syntech-popup-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(84, 84, 84, 0.28);
}

.syntech-popup-divider span {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(84, 84, 84, 0.07);
    color: #545454;
    font-family: Inter, Arial, sans-serif;
    font-size: 17px;
    font-weight: 600;
}

/* Have SYNTECH Call You Now heading */
.syntech-callback-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    margin: 0 0 20px;
}

.syntech-headset-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    background: rgba(19, 134, 204, 0.10);
    border-radius: 50%;
}

.syntech-headset-icon svg {
    width: 33px;
    height: 33px;
    fill: #1386CC;
}

.syntech-callback-heading-text {
    flex: 1;
    min-width: 0;
}

.syntech-callback-heading-text h3 {
    margin: 0 0 4px !important;
    color: #545454 !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
}

.syntech-callback-heading-text p {
    margin: 0 !important;
    color: #545454;
    font-family: Inter, Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.45;
}

/* ==================================================
   EXISTING AVAYA CALLBACK SHORTCODE
   Force phone field ABOVE Connect Me Now button
   ================================================== */

.call-now-popup .syntech-popup-form,
.call-now-popup .aco-callback,
.call-now-popup .aco-callback__form,
.call-now-popup .aco-callback__row {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Force the existing plugin row to stack vertically */
.call-now-popup .aco-callback__row {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    overflow: visible !important;
}

/* Hide original shortcode label */
.call-now-popup .aco-callback__label {
    display: none !important;
}

/* Hide original shortcode privacy line in popup.
   The custom popup consent text appears below instead. */
.call-now-popup .aco-callback__privacy {
    display: none !important;
}

/* Phone field - always first */
.call-now-popup .aco-callback__phone {
    display: block !important;
    order: 1 !important;
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 62px !important;
    margin: 0 0 14px !important;
    padding: 12px 20px 12px 58px !important;
    border: 2px solid rgba(84, 84, 84, 0.30) !important;
    border-radius: 14px !important;
    background-color: #ffffff !important;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23545454' d='M6.62 10.79a15.46 15.46 0 006.59 6.59l2.2-2.2a1 1 0 011.02-.24c1.12.37 2.33.57 3.57.57a1 1 0 011 1V20a1 1 0 01-1 1C10.61 21 3 13.39 3 4a1 1 0 011-1h3.5a1 1 0 011 1c0 1.25.2 2.45.57 3.57a1 1 0 01-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: 20px center !important;
    background-size: 25px !important;
    color: #545454 !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: 19px !important;
    font-weight: 400 !important;
    outline: none !important;
    box-shadow: none !important;
}

.call-now-popup .aco-callback__phone::placeholder {
    color: rgba(84, 84, 84, 0.60) !important;
}

.call-now-popup .aco-callback__phone:focus {
    border-color: #1386CC !important;
    box-shadow: 0 0 0 3px rgba(19, 134, 204, 0.10) !important;
}

/* Connect Me Now button - always second */
.call-now-popup .aco-callback__button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    order: 2 !important;
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 62px !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 12px 24px !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 50px !important;
    background: #1386CC !important;
    color: #ffffff !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.5px;
    white-space: normal !important;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.call-now-popup .aco-callback__button:hover,
.call-now-popup .aco-callback__button:focus {
    background: #0F6FA8 !important;
    color: #ffffff !important;
}

/* Callback status message */
.call-now-popup .aco-callback__message {
    width: 100% !important;
    margin: 12px 0 0 !important;
    color: #545454;
    font-family: Inter, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.4;
}

/* Security message */
.syntech-secure-message {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 10px;
    margin: 20px 0 0;
    color: #545454;
    font-family: Inter, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
}

.syntech-shield-icon {
    display: inline-flex;
    flex: 0 0 25px;
}

.syntech-shield-icon svg {
    width: 25px;
    height: 25px;
    fill: #1386CC;
}

/* Consent */
.syntech-popup-consent {
    width: 100%;
    margin: 11px 0 0;
    color: #545454;
    font-family: Inter, Arial, sans-serif;
    font-size: 11px;
    line-height: 1.45;
    text-align: center;
}

.syntech-popup-consent a {
    color: #1386CC !important;
    font-weight: 500;
    text-decoration: none;
}

.syntech-popup-consent a:hover {
    color: #0F6FA8 !important;
    text-decoration: underline;
}

/* Tablet */
@media (max-width: 1024px) {
    .call-now-popup .call-now-popup-content {
        top: 80px !important;
        left: 50% !important;
        width: min(580px, calc(100vw - 30px));
        transform: translateX(-50%);
        overflow-x: hidden;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .call-now-popup .call-now-popup-content {
        top: 65px !important;
        width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);
        max-height: calc(100vh - 80px);
        padding: 26px 20px 23px;
        border-radius: 18px;
    }

    .syntech-popup-top-icon {
        width: 58px;
        height: 58px;
    }

    .syntech-popup-top-icon svg {
        width: 29px;
        height: 29px;
    }

    .call-now-popup .syntech-popup-title {
        font-size: 24px !important;
    }

    .syntech-popup-phone {
        font-size: 36px;
    }

    .syntech-popup-divider {
        margin: 18px 0;
    }

    .syntech-popup-divider span {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        font-size: 15px;
    }

    .syntech-callback-heading {
        align-items: flex-start;
        gap: 12px;
    }

    .syntech-headset-icon {
        flex-basis: 50px;
        width: 50px;
        height: 50px;
    }

    .syntech-headset-icon svg {
        width: 27px;
        height: 27px;
    }

    .syntech-callback-heading-text h3 {
        font-size: 19px !important;
    }

    .syntech-callback-heading-text p {
        font-size: 13px;
    }

    .call-now-popup .aco-callback__phone {
        height: 56px !important;
        padding-left: 52px !important;
        background-position: 17px center !important;
        background-size: 22px !important;
        font-size: 17px !important;
    }

    .call-now-popup .aco-callback__button {
        height: 56px !important;
        padding-left: 18px !important;
        padding-right: 18px !important;
        font-size: 16px !important;
    }

    .syntech-secure-message {
        align-items: flex-start;
        font-size: 12px;
    }
}
