/**
 * Hero Header Widget Styles
 */


/* Import modules */

@import url('modules/video.css');

/* Main container */

.wf-hero-header-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 50vh;
    background-color: transparent !important;
    padding: unset !important;
    overflow: visible;
    /* Allow form to overlap */
}


/* Row container for two-column layout */

.wf-hero-header-row {
    position: relative;
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    flex-direction: row;
    z-index: 3;
    gap: 3rem;
}


/* Two column layout */

.wf-hero-header-layout-two-column .wf-hero-header-row,
.wf-hero-header-layout-content .wf-hero-header-row {
    flex-wrap: nowrap;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.wf-hero-header-layout-two-column .wf-hero-header-content,
.wf-hero-header-layout-content .wf-hero-header-content {
    width: 35% !important;
    padding-right: unset;
    min-width: 300px;
    justify-content: center;
    display: flex;
    flex-direction: column;
    order: 1;
}

.wf-hero-header-image-container,
.wf-hero-header-video-container {
    width: 65% !important;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 300px;
    order: 2;
}


/* Form Layout */

.wf-hero-form-row {
    display: flex;
    width: 100%;
    gap: 2rem;
}

.wf-hero-form-left-column,
.wf-hero-form-right-column {
    display: flex;
    flex-direction: column;
    position: relative;
}


/* Row layout (content left, form right) */

.wf-hero-form-row:not([style*="flex-direction: row-reverse"]):not([style*="flex-direction: column"]):not([style*="flex-direction: column-reverse"]) .wf-hero-form-left-column {
    order: 1;
}

.wf-hero-form-row:not([style*="flex-direction: row-reverse"]):not([style*="flex-direction: column"]):not([style*="flex-direction: column-reverse"]) .wf-hero-form-right-column {
    order: 2;
}


/* Row-reverse layout (form left, content right) */

.wf-hero-form-row[style*="flex-direction: row-reverse"] .wf-hero-form-left-column {
    order: 2;
}

.wf-hero-form-row[style*="flex-direction: row-reverse"] .wf-hero-form-right-column {
    order: 1;
}


/* Column layout (content top, form bottom) */

.wf-hero-form-row[style*="flex-direction: column"] .wf-hero-form-left-column {
    order: 1;
    width: 100% !important;
}

.wf-hero-form-row[style*="flex-direction: column"] .wf-hero-form-right-column {
    order: 2;
    width: 100% !important;
}


/* Column-reverse layout (form top, content bottom) */

.wf-hero-form-row[style*="flex-direction: column-reverse"] .wf-hero-form-left-column {
    order: 2;
    width: 100% !important;
}

.wf-hero-form-row[style*="flex-direction: column-reverse"] .wf-hero-form-right-column {
    order: 1;
    width: 100% !important;
}

.wf-hero-header-form-container {
    position: relative;
    z-index: 10;
}

.wf-hero-header-form-wrapper {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
    height: 100%;
    position: relative;
    z-index: 10;
}


/* Form view specific styles */

.wf-hero-header-layout-form {
    padding-bottom: 100px;
    position: relative;
    z-index: 1;
    /* Extra space for the form overlap */
}

.wf-hero-header-layout-form .wf-hero-header-form-container {
    position: relative;
    z-index: 10;
}

.wf-hero-header-layout-form .wf-hero-header-form-wrapper {
    position: relative;
    z-index: 10;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}


/* Ensure column sizes work properly on all browsers */

@supports (display: flex) {
    .wf-hero-header-layout-two-column .wf-hero-header-content,
    .wf-hero-header-layout-content .wf-hero-header-content,
    .wf-hero-header-image-container,
    .wf-hero-form-left-column,
    .wf-hero-form-right-column {
        flex-shrink: 0;
    }
}

.wf-hero-header-image {
    position: relative;
    width: 43.25rem;
    height: 28.8125rem;
    overflow: hidden;
    border-radius: 8px;
    max-width: 100%;
}

.wf-hero-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* Default size class to enforce exact dimensions */

.wf-hero-header-image-default-size .wf-hero-header-image {
    width: 100% !important;
    height: 28.8125rem !important;
}


/* Video Display Styles */

.wf-hero-header-video-container {
    width: 65% !important;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 300px;
    order: 2;
    /* Media on the right */
}

.wf-hero-header-video {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    max-width: 100%;
}

.wf-hero-video-embed {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
}

.wf-hero-video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: inherit;
}


/* Background Video Styles */

.wf-hero-header-background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.wf-hero-header-background-video iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    /* 16:9 aspect ratio */
    min-height: 100vh;
    min-width: 177.77vh;
    /* 16:9 aspect ratio */
    transform: translate(-50%, -50%);
    border: none;
}


/* Media Container Styles */

.wf-hero-header-media-container {
    position: relative;
}


/* Ensure the image container maintains aspect ratio on smaller screens */

@media (max-width: 1200px) {
    .wf-hero-header-image:not(.wf-hero-header-image-custom-size) {
        width: 100%;
        height: 0;
        padding-bottom: calc(28.8125 / 43.25 * 100%);
        /* Maintain aspect ratio */
    }
    .wf-hero-header-image-default-size .wf-hero-header-image {
        width: 100% !important;
        height: 0 !important;
        padding-bottom: calc(28.8125 / 43.25 * 100%) !important;
        /* Maintain aspect ratio */
    }
    .wf-hero-header-image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    .wf-hero-header-video {
        width: 100%;
        height: auto;
        min-height: 300px;
    }
}

@media (max-width: 767px) {
    .wf-hero-header-row {
        flex-direction: column;
    }
    .wf-hero-header-layout-two-column .wf-hero-header-row,
    .wf-hero-header-layout-content .wf-hero-header-row {
        flex-direction: column;
    }
    .wf-hero-header-layout-two-column .wf-hero-header-content,
    .wf-hero-header-layout-content .wf-hero-header-content,
    .wf-hero-header-content {
        width: 100% !important;
        padding-right: 0;
        margin-bottom: 0;
    }
    .wf-hero-header-layout-two-column .wf-hero-header-content,
    .wf-hero-header-layout-content .wf-hero-header-content {
        order: 1;
    }
    .wf-hero-header-image-container,
    .wf-hero-header-video-container {
        width: 100% !important;
        order: 2;
    }
    .wf-hero-header-image {
        width: 100%;
        height: auto;
        min-height: 250px;
        margin: 0 auto;
    }
    .wf-hero-header-video {
        width: 100%;
        height: auto;
        min-height: 250px;
    }
    .wf-hero-header-image-default-size .wf-hero-header-image {
        width: 100% !important;
        height: auto !important;
        min-height: 250px !important;
    }
    .wf-hero-top-info-items {
        margin-bottom: 1rem;
    }
    .wf-hero-top-info-item {
        padding: 8px 15px;
    }
    .wf-hero-header-container {
        min-height: auto;
    }
    .wf-hero-title {
        font-size: 2rem;
        margin-bottom: 16px;
    }
    .wf-hero-info-items {
        margin-bottom: 20px;
        flex-direction: column !important;
    }
    .wf-hero-info-item {
        width: 100%;
        margin-right: 0;
    }
    .wf-hero-info-text {
        font-size: 14px;
    }
    .wf-hero-info-icon {
        font-size: 18px;
    }
    .wf-hero-info-icon i,
    .wf-hero-info-icon svg {
        width: 18px;
        height: 18px;
    }
    .wf-hero-header-divider {
        height: 50px;
    }
    .wf-hero-content-editor {
        margin-bottom: 8px !important;
    }
    .wf-hero-content-editor h1 {
        font-size: 2rem;
    }
    .wf-hero-content-editor h2 {
        font-size: 1.5rem;
    }
    .wf-hero-content-editor h3 {
        font-size: 1.2rem;
    }
}


/* Logo positioning */

.wf-hero-logo {
    position: absolute;
    z-index: 2;
}


/* Horizontal positioning */

.wf-logo-h-left {
    left: 0;
}

.wf-logo-h-center {
    left: 50%;
    transform: translateX(-50%);
}

.wf-logo-h-right {
    right: 0;
}


/* Vertical positioning */

.wf-logo-v-top {
    top: 0;
}

.wf-logo-v-middle {
    top: 50%;
    transform: translateY(-50%);
}

.wf-logo-v-bottom {
    bottom: 0;
}


/* Combined transformations */

.wf-logo-h-center.wf-logo-v-middle {
    transform: translate(-50%, -50%);
}


/* Background */

.wf-hero-header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}


/* Overlay */

.wf-hero-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(107, 67, 153, 0.85);
    z-index: 2;
}


/* Content container */

.wf-hero-header-content {
    position: relative;
    color: #ffffff;
    text-align: left;
}

.wf-hero-header-layout-fullwidth .wf-hero-header-content {
    width: 80%;
    max-width: 1200px;
}


/* Fullwidth layout specific styles */

.wf-hero-header-layout-fullwidth {
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Top info items */

.wf-hero-top-info-items {
    display: flex;
    justify-content: space-around;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 1200px;
    order: 1;
    overflow: hidden;
    position: relative;
}

.wf-hero-top-info-row {
    display: flex;
    width: 100%;
}

.wf-hero-top-info-item {
    display: flex;
    align-items: center;
    margin-right: 2rem;
    padding: 10px 20px;
    white-space: nowrap;
}

.wf-hero-top-info-item .info-icon {
    margin-right: 8px;
}

.wf-hero-top-info-item .info-icon svg {
    width: 1em;
    height: 1em;
}


/* Marquee styles - hidden by default */

.wf-hero-top-info-marquee {
    display: flex;
    width: 100%;
}

.wf-hero-top-info-marquee-content {
    display: flex;
    flex-shrink: 0;
    justify-content: space-around;
    min-width: 100%;
    animation: none;
}

@media (min-width: 992px) {
    .wf-hero-top-info-items {
        margin-bottom: 2rem;
    }
    .wf-hero-top-info-row {
        justify-content: space-around;
    }
    .wf-hero-top-info-marquee-content:nth-child(2) {
        display: none;
    }
}

@media (max-width: 991px) {
    .wf-hero-top-info-items {
        margin-bottom: 1.5rem;
    }
    .wf-hero-top-info-row {
        justify-content: flex-start;
    }
    .wf-hero-top-info-marquee {
        display: flex;
        width: 100%;
        overflow: hidden;
    }
    .wf-hero-top-info-marquee-content {
        display: flex;
        flex-shrink: 0;
        justify-content: flex-start;
        min-width: 100%;
        animation: marquee 25s linear infinite;
    }
    @keyframes marquee {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-100%);
        }
    }
}

@media (max-width: 767px) {
    .wf-hero-top-info-items {
        margin-bottom: 1.5rem;
    }
    .wf-hero-top-info-item {
        padding: 8px 15px;
    }
}


/* Breadcrumbs */

.wf-hero-breadcrumbs {
    font-size: 14px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.wf-hero-breadcrumbs .breadcrumb-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.wf-hero-breadcrumbs .breadcrumb-item {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: inherit;
    line-height: 1.4;
}

.wf-hero-breadcrumbs a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.wf-hero-breadcrumbs a:hover {
    text-decoration: underline;
    color: rgba(255, 255, 255, 0.8);
}

.wf-hero-breadcrumbs .breadcrumb-separator {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.7);
    display: inline-flex;
    align-items: center;
    font-size: 0.9em;
}

.wf-hero-breadcrumbs .breadcrumb-separator i,
.wf-hero-breadcrumbs .breadcrumb-separator svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.wf-hero-breadcrumbs .breadcrumb-item.current {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}


/* Legacy separator support for backward compatibility */

.wf-hero-breadcrumbs .separator {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.7);
}


/* Legacy current page styling for backward compatibility */

.wf-hero-breadcrumbs .current {
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 30px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
    display: inline-block;
}


/* Plugin-specific breadcrumb styling */

.wf-hero-breadcrumbs-yoast,
.wf-hero-breadcrumbs-rankmath {
    font-size: 14px;
    margin-bottom: 16px;
}

.wf-hero-breadcrumbs-yoast .breadcrumb-nav,
.wf-hero-breadcrumbs-rankmath .breadcrumb-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.wf-hero-breadcrumbs-yoast a,
.wf-hero-breadcrumbs-rankmath a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.wf-hero-breadcrumbs-yoast a:hover,
.wf-hero-breadcrumbs-rankmath a:hover {
    text-decoration: underline;
    color: rgba(255, 255, 255, 0.8);
}


/* Error state for missing plugins */

.wf-hero-breadcrumbs-error {
    font-size: 14px;
    margin-bottom: 16px;
    padding: 8px 12px;
    background-color: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 4px;
    color: #ffc107;
}

.wf-hero-breadcrumbs-error p {
    margin: 0;
    font-size: 13px;
}


/* Responsive adjustments */

@media (max-width: 767px) {
    .wf-hero-breadcrumbs {
        font-size: 13px;
        margin-bottom: 12px;
    }
    .wf-hero-breadcrumbs .breadcrumb-separator {
        margin: 0 6px;
    }
    .wf-hero-breadcrumbs .breadcrumb-item {
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    /* Legacy current styling responsive */
    .wf-hero-breadcrumbs .current {
        max-width: 120px;
        padding: 0.2rem 0.5rem;
        font-size: 12px;
    }
}


/* Title */

.wf-hero-title {
    font-size: 3rem;
    font-weight: 600;
    margin: 0 0 24px 0;
    color: #ffffff;
    line-height: 1.2;
}


/* Info Items */

.wf-hero-info-items {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}


/* Content Editor */

.wf-hero-content-editor {
    margin-bottom: 20px;
    width: 100% !important;
    line-height: 1.6;
}

.wf-hero-content-editor p {
    margin-bottom: 1rem;
}

.wf-hero-content-editor h1,
.wf-hero-content-editor h2,
.wf-hero-content-editor h3,
.wf-hero-content-editor h4,
.wf-hero-content-editor h5,
.wf-hero-content-editor h6 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.wf-hero-content-editor h1:first-child,
.wf-hero-content-editor h2:first-child,
.wf-hero-content-editor h3:first-child,
.wf-hero-content-editor h4:first-child,
.wf-hero-content-editor h5:first-child,
.wf-hero-content-editor h6:first-child {
    margin-top: 0;
}

.wf-hero-content-editor ul,
.wf-hero-content-editor ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.wf-hero-content-editor ul li,
.wf-hero-content-editor ol li {
    margin-bottom: 0.5rem;
}

.wf-hero-content-editor a {
    text-decoration: underline;
}

.wf-hero-content-editor a:hover {
    text-decoration: none;
}

.wf-hero-content-editor blockquote {
    border-left: 4px solid rgba(107, 67, 153, 0.85);
    padding-left: 1rem;
    margin-left: 0;
    margin-right: 0;
    font-style: italic;
}

.wf-hero-content-editor img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 1rem 0;
}

.wf-hero-content-editor table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.wf-hero-content-editor table td,
.wf-hero-content-editor table th {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem;
}

@media (max-width: 767px) {
    .wf-hero-content-editor {
        width: 100% !important;
    }
}


/* Info Item - Purple Style */

.wf-hero-info-item {
    display: flex;
    align-items: start;
    background-color: unset;
    /* Purple background */
    color: #ffffff;
    padding: 16px 0px;
    border-radius: 4px;
    margin-bottom: 15px;
    margin-right: 15px;
    box-shadow: unset;
}

.wf-hero-info-items[style*="flex-direction: column"] .wf-hero-info-item {
    width: 100%;
}

.wf-hero-info-items[style*="flex-direction: row"] .wf-hero-info-item {
    width: auto;
}

.wf-hero-info-icon {
    margin-right: 12px;
    display: flex;
    align-items: center;
    font-size: 22px;
    color: #ffffff;
}

.wf-hero-info-icon i,
.wf-hero-info-icon svg {
    width: 1rem !important;
    height: 1rem !important;
    color: #ffffff;
    fill: #ffffff;
}

.wf-hero-info-text {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: #ffffff;
    font-weight: 500;
}


/* Additional dates styling for hero header */

.wf-hero-additional-dates {
    margin-top: 8px;
    /* padding-left: 5px; */
    /* border-left: 2px solid rgba(255, 255, 255, 0.2); */
}

.wf-hero-additional-date {
    font-size: 14px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 4px;
    padding: 2px 0;
}

.wf-hero-additional-date:last-child {
    margin-bottom: 0;
}


/* Buttons */

.wf-hero-buttons-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
    gap: 15px;
}

.wf-hero-button-wrapper {
    margin-bottom: 10px;
}

.wf-hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-weight: 400;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}


/* Button Sizes */

.wf-hero-button.wf-btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

.wf-hero-button.wf-btn-md {
    padding: 12px 24px;
    font-size: 16px;
}

.wf-hero-button.wf-btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}


/* Button Types */

.wf-hero-button.wf-btn-primary {
    background-color: transparent !important;
    color: #fff !important;
    border-color: #ffffff !important;
}

.wf-hero-button.wf-btn-primary:hover {
    background-color: #fff !important;
    color: #0d0d0d !important;
    border-color: #ffffff;
}

.wf-hero-button.wf-btn-secondary {
    background-color: #6b4399;
    color: #ffffff;
    border-color: #6b4399;
}

.wf-hero-button.wf-btn-secondary:hover {
    background-color: #533478;
    border-color: #533478;
}

.wf-hero-button.wf-btn-outline {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.wf-hero-button.wf-btn-outline:hover {
    background-color: #ffffff;
    color: #6b4399;
}

.wf-hero-button.wf-btn-link {
    background-color: transparent;
    color: #ffffff;
    border: none;
    padding-left: 0;
    padding-right: 0;
    text-decoration: underline;
}

.wf-hero-button.wf-btn-link:hover {
    color: rgba(255, 255, 255, 0.8);
}


/* Button Icons */

.wf-hero-button-icon {
    line-height: 0;
}

.wf-hero-button-icon-before {
    margin-right: 8px;
}

.wf-hero-button-icon-after {
    margin-left: 8px;
}


/* Responsive Button Styles */

@media (max-width: 767px) {
    .wf-hero-buttons-wrapper {
        justify-content: center;
    }
    .wf-hero-button.wf-btn-sm {
        padding: 6px 12px;
        font-size: 12px;
    }
    .wf-hero-button.wf-btn-md {
        padding: 10px 20px;
        font-size: 14px;
    }
    .wf-hero-button.wf-btn-lg {
        padding: 12px 24px;
        font-size: 16px;
    }
}


/* Divider */

.wf-hero-header-divider {
    position: absolute;
    width: 100%;
    height: 100px;
    overflow: hidden;
    line-height: 0;
    z-index: 4;
}

.wf-hero-header-divider.top {
    top: 0;
    left: 0;
}

.wf-hero-header-divider.bottom {
    bottom: 0;
    left: 0;
}

.wf-hero-header-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100%;
    fill: #ffffff;
}

.wf-hero-header-divider.invert svg {
    transform: rotateX(180deg);
}

.wf-hero-header-divider.flip-horizontal svg {
    transform: rotateY(180deg);
}

.wf-hero-header-divider.invert.flip-horizontal svg {
    transform: rotateX(180deg) rotateY(180deg);
}


/* Responsive styles */

@media (max-width: 1024px) {
    .wf-hero-header-row {
        gap: 15px;
    }
    .wf-hero-header-layout-two-column .wf-hero-header-content,
    .wf-hero-header-layout-content .wf-hero-header-content {
        padding-right: 1rem;
    }
    .wf-hero-title {
        font-size: 2.5rem;
    }
    .wf-hero-header-content {
        width: 90%;
    }
}

@media (max-width: 479px) {
    .wf-hero-header-container {
        padding: 2rem 1rem;
    }
    .wf-hero-title {
        font-size: 1.75rem;
    }
    .wf-hero-header-content {
        padding: 0;
    }
    .wf-hero-header-divider {
        height: 40px;
    }
    .wf-hero-content-editor {
        font-size: 0.9rem;
    }
    .wf-hero-content-editor h1 {
        font-size: 1.75rem;
    }
    .wf-hero-content-editor h2 {
        font-size: 1.4rem;
    }
    .wf-hero-content-editor h3 {
        font-size: 1.1rem;
    }
}


/* Hero Header Widget Styles */

.wf-hero-header-widget {
    position: relative;
    overflow: hidden;
}

.wf-hero-header-inner {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    z-index: 1;
}


/* Layout Styles */

.wf-hero-header-layout-fullwidth .wf-hero-header-inner {
    flex-direction: column;
    align-items: flex-start;
}

.wf-hero-header-layout-columns .wf-hero-header-inner {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
}


/* Breadcrumbs */

.wf-hero-breadcrumbs {
    margin-bottom: 15px;
}

.wf-hero-breadcrumbs a {
    color: inherit;
    text-decoration: none;
}

.wf-hero-breadcrumbs a:hover {
    text-decoration: underline;
}


/* Hero Content */

.wf-hero-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.wf-hero-title {
    margin-top: 0;
    margin-bottom: 20px;
}

.wf-hero-description {
    margin-bottom: 30px;
}


/* Featured Image */

.wf-hero-featured-image-container {
    position: relative;
    flex: 1;
    min-width: 280px;
}

.wf-hero-header-layout-fullwidth .wf-hero-featured-image-container {
    width: 100%;
}

.wf-hero-featured-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    overflow: hidden;
}

.wf-hero-featured-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}


/* Logo */

.wf-hero-logo-container {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
    max-width: 150px;
}

.wf-hero-logo img {
    display: block;
    width: 100%;
    height: auto;
}


/* Shape Divider */

.wf-hero-shape-divider {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.wf-hero-shape-divider-bottom {
    bottom: -1px;
}

.wf-hero-shape-divider-top {
    top: -1px;
    transform: rotate(180deg);
}

.wf-hero-shape-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}


/* Background Overlay */

.wf-hero-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}


/* Animation Classes */

.wf-hero-animate {
    opacity: 0;
}


/* Responsive Styles */

@media (max-width: 1024px) {
    .wf-hero-header-layout-columns .wf-hero-header-inner {
        gap: 20px;
    }
    .wf-hero-shape-divider svg {
        height: 70px;
    }
    .wf-hero-title {
        margin-bottom: 15px;
    }
    .wf-hero-description {
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .wf-hero-header-layout-columns .wf-hero-header-inner {
        flex-direction: column;
    }
    .wf-hero-content {
        width: 100%;
        order: 2;
    }
    .wf-hero-featured-image-container {
        width: 100%;
        order: 1;
        margin-bottom: 20px;
    }
    .wf-hero-shape-divider svg {
        height: 50px;
    }
    .wf-hero-info-items {
        flex-wrap: wrap;
    }
    .wf-hero-info-items[style*="flex-direction: row"] {
        justify-content: flex-start;
        gap: 15px;
    }
    .wf-hero-info-item {
        margin-bottom: 10px;
    }
    .wf-hero-title {
        font-size: 1.8rem;
    }
    .wf-hero-description {
        margin-bottom: 15px;
    }
    .wf-hero-logo-container {
        bottom: 10px;
        left: 10px;
        max-width: 100px;
    }
}


/* Responsive layout ordering */

@media (max-width: 991px) {
    .wf-hero-header-container {
        display: flex;
        flex-direction: column;
        padding: 1rem !important;
    }
    .wf-hero-top-info-items,
    .wf-hero-header-content,
    .wf-hero-header-image-container {
        width: 100%;
    }
}


/* Responsive styles */

@media (min-width: 992px) {}

@media (max-width: 991px) {
    /* Tablet styling for top info items */
    .wf-hero-top-info-items {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 767px) {
    /* Mobile styling for top info items */
    .wf-hero-top-info-items {
        margin-bottom: 1.5rem;
    }
    .wf-hero-top-info-item {
        padding: 8px 15px;
    }
}


/* SVG Icons - Set all to white (#fff) */

.wf-hero-header-container svg,
.wf-hero-header-container svg path,
.wf-hero-top-info-items svg,
.wf-hero-top-info-items svg path,
.wf-hero-info-item svg,
.wf-hero-info-item svg path,
.wf-hero-breadcrumbs svg,
.wf-hero-breadcrumbs svg path,
.wf-hero-button svg,
.wf-hero-button svg path {
    fill: #fff !important;
    color: #fff !important;
}


/* Exception for button hover state with light background */

.wf-hero-button:hover svg,
.wf-hero-button:hover svg path {
    fill: #6b4399 !important;
    color: #6b4399 !important;
}


/* Scroll Down Button */

.wf-hero-header-container .wf-hero-scroll-down {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #e62d2b;
    color: #ffffff;
    text-decoration: none;
    z-index: 5;
    bottom: 30px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    animation: pulse 2s infinite;
    transition: all 0.3s ease;
}


/* Position classes */

.wf-hero-header-container .wf-hero-scroll-down.wf-scroll-left {
    left: 30px;
}

.wf-hero-header-container .wf-hero-scroll-down.wf-scroll-center {
    left: 50%;
    transform: translateX(-50%);
}

.wf-hero-header-container .wf-hero-scroll-down.wf-scroll-right {
    right: 30px;
}


/* Arrow styling */

.wf-hero-header-container .wf-hero-scroll-down .wf-scroll-arrow {
    font-size: 1rem;
    color: #ffffff !important;
    animation: arrowMove 1.5s ease-in-out infinite;
}

.wf-hero-header-container .wf-hero-scroll-down .wf-scroll-arrow svg,
.wf-hero-header-container .wf-hero-scroll-down .wf-scroll-arrow i {
    width: 1rem !important;
    height: 1rem !important;
    fill: #ffffff !important;
    color: #ffffff !important;
}


/* Pulse animation */

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
        transform: scale(1);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
        transform: scale(1);
    }
}


/* Center position specific animation */

.wf-hero-header-container .wf-hero-scroll-down.wf-scroll-center {
    animation: pulseCenter 2s infinite;
}

@keyframes pulseCenter {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
        transform: translateX(-50%) scale(1);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
        transform: translateX(-50%) scale(1.05);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
        transform: translateX(-50%) scale(1);
    }
}


/* Arrow animation */

@keyframes arrowMove {
    0% {
        transform: translateY(-5px);
        opacity: 0.5;
    }
    50% {
        transform: translateY(5px);
        opacity: 1;
    }
    100% {
        transform: translateY(-5px);
        opacity: 0.5;
    }
}


/* Hover effect */

.wf-hero-header-container .wf-hero-scroll-down:hover {
    background-color: #ffffff !important;
}

.wf-hero-header-container .wf-hero-scroll-down:hover .wf-scroll-arrow,
.wf-hero-header-container .wf-hero-scroll-down:hover .wf-scroll-arrow svg,
.wf-hero-header-container .wf-hero-scroll-down:hover .wf-scroll-arrow i {
    color: #6b4399 !important;
    fill: #6b4399 !important;
}


/* Override any global SVG styles for the scroll arrow */

.wf-hero-header-container .wf-hero-scroll-down .wf-scroll-arrow svg,
.wf-hero-header-container .wf-hero-scroll-down .wf-scroll-arrow svg path {
    fill: #ffffff !important;
    color: #ffffff !important;
    transition: all 0.3s ease;
}

.wf-hero-header-container .wf-hero-scroll-down:hover .wf-scroll-arrow svg,
.wf-hero-header-container .wf-hero-scroll-down:hover .wf-scroll-arrow svg path {
    fill: #6b4399 !important;
    color: #6b4399 !important;
}


/* Remove any conflicting global styles */

.wf-hero-header-container .wf-hero-scroll-down svg,
.wf-hero-header-container .wf-hero-scroll-down svg path {
    fill: currentColor !important;
    color: currentColor !important;
}


/* Responsive scroll button */

@media (max-width: 767px) {
    .wf-hero-scroll-down {
        width: 50px;
        height: 50px;
        bottom: 20px;
    }
    .wf-hero-scroll-down .wf-scroll-arrow {
        font-size: 20px;
    }
}

@media (max-width: 479px) {
    .wf-hero-scroll-down {
        width: 40px;
        height: 40px;
        bottom: 15px;
    }
    .wf-hero-scroll-down .wf-scroll-arrow {
        font-size: 16px;
    }
    .wf-hero-scroll-down.wf-scroll-left {
        left: 15px;
    }
    .wf-hero-scroll-down.wf-scroll-right {
        right: 15px;
    }
}


/* Responsive breakpoint styles for form layouts */

@media (max-width: 1024px) {
    .stack-tablet .wf-hero-form-row,
    .stack-tablet-extra .wf-hero-form-row {
        flex-direction: column !important;
    }
    .stack-tablet .wf-hero-form-left-column,
    .stack-tablet .wf-hero-form-right-column,
    .stack-tablet-extra .wf-hero-form-left-column,
    .stack-tablet-extra .wf-hero-form-right-column {
        width: 100% !important;
        padding: 0 !important;
        margin-bottom: 2rem;
    }
    .wf-hero-header-layout-form {
        padding-bottom: 0;
        /* Remove bottom padding on mobile */
    }
    .wf-hero-header-form-container {
        margin-bottom: 0 !important;
        /* Remove margin on mobile */
    }
    /* Reset order for stacked layout */
    .stack-tablet .wf-hero-form-left-column,
    .stack-tablet-extra .wf-hero-form-left-column,
    .stack-mobile .wf-hero-form-left-column {
        order: 1 !important;
    }
    .stack-tablet .wf-hero-form-right-column,
    .stack-tablet-extra .wf-hero-form-right-column,
    .stack-mobile .wf-hero-form-right-column {
        order: 2 !important;
    }
    /* Handle mobile flex direction */
    .mobile-flex-column .wf-hero-form-row {
        flex-direction: column !important;
    }
    .mobile-flex-column-reverse .wf-hero-form-row {
        flex-direction: column-reverse !important;
    }
    /* Handle mobile order */
    .mobile-order-content-first .wf-hero-form-left-column {
        order: 1 !important;
    }
    .mobile-order-content-first .wf-hero-form-right-column {
        order: 2 !important;
    }
    .mobile-order-form-first .wf-hero-form-left-column {
        order: 2 !important;
    }
    .mobile-order-form-first .wf-hero-form-right-column {
        order: 1 !important;
    }
}

@media (max-width: 767px) {
    .stack-mobile .wf-hero-form-row {
        flex-direction: column !important;
    }
    .stack-mobile .wf-hero-form-left-column,
    .stack-mobile .wf-hero-form-right-column {
        width: 100% !important;
        padding: 0 !important;
        margin-bottom: 2rem;
    }
}


/* Video Poster Styles */

.wf-video-poster-container {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.wf-video-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.wf-video-poster::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 1;
}

.wf-video-poster:hover::before {
    background: rgba(0, 0, 0, 0.2);
}


/* Play Button Styles */

.wf-video-play-button {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: scale(1);
}

.wf-video-play-button:hover {
    transform: scale(1.1);
}


/* YouTube Style Play Button */

.wf-video-play-button.wf-play-youtube svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.wf-video-play-button.wf-play-youtube:hover svg {
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}


/* Circle Play Button */

.wf-video-play-button.wf-play-circle .play-icon-circle {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.wf-video-play-button.wf-play-circle:hover .play-icon-circle {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.wf-video-play-button.wf-play-circle i {
    color: #333;
    margin-left: 4px;
    /* Slight offset to center triangle visually */
}


/* Square Play Button */

.wf-video-play-button.wf-play-square .play-icon-square {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.wf-video-play-button.wf-play-square:hover .play-icon-square {
    background: rgba(0, 0, 0, 0.9);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.wf-video-play-button.wf-play-square i {
    color: white;
    margin-left: 4px;
    /* Slight offset to center triangle visually */
}


/* Minimal Play Button */

.wf-video-play-button.wf-play-minimal .play-icon-minimal {
    width: 100%;
    height: 100%;
    background: transparent;
    border: 3px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.wf-video-play-button.wf-play-minimal:hover .play-icon-minimal {
    border-color: rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.1);
}

.wf-video-play-button.wf-play-minimal i {
    color: white;
    margin-left: 4px;
    /* Slight offset to center triangle visually */
}


/* Video Loading State */

.wf-video-poster-container.loading .wf-video-poster {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.wf-video-poster-container.playing .wf-video-poster {
    opacity: 0;
    pointer-events: none;
}


/* Responsive Play Button Sizes */

@media (max-width: 768px) {
    .wf-video-play-button {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .wf-video-play-button {
        width: 50px;
        height: 50px;
    }
}