/**
 * Elementor Hero Slider Styles
 * Version: 1.0.0
 */

/* ============================================
   Container and Wrapper
   ============================================ */
.ehs-hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #000;
    min-height: 400px;
}

.ehs-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: inherit;
}

/* ============================================
   Slide
   ============================================ */
.ehs-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    min-height: 500px;
    display: none;
    opacity: 0;
    transition: opacity 0.8s ease;
    visibility: hidden;
}

.ehs-slide.active {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 2;
}

/* ============================================
   Background
   ============================================ */
.ehs-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.ehs-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* ============================================
   Content Wrapper and Positioning
   ============================================ */
.ehs-slide-content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    padding: 40px 60px;
    box-sizing: border-box;
}

/* Horizontal Alignment */
.ehs-position-top-left,
.ehs-position-center-left,
.ehs-position-bottom-left {
    justify-content: flex-start;
}

.ehs-position-top-center,
.ehs-position-center-center,
.ehs-position-bottom-center {
    justify-content: center;
}

.ehs-position-top-right,
.ehs-position-center-right,
.ehs-position-bottom-right {
    justify-content: flex-end;
}

/* Vertical Alignment */
.ehs-position-top-left,
.ehs-position-top-center,
.ehs-position-top-right {
    align-items: flex-start;
}

.ehs-position-center-left,
.ehs-position-center-center,
.ehs-position-center-right {
    align-items: center;
}

.ehs-position-bottom-left,
.ehs-position-bottom-center,
.ehs-position-bottom-right {
    align-items: flex-end;
}

/* ============================================
   Content
   ============================================ */
.ehs-slide-content {
    max-width: 1200px;
    width: 100%;
    padding: 0 15px;
}

/* Text Alignment */
.ehs-slide-content.ehs-align-left {
    text-align: left;
}

.ehs-slide-content.ehs-align-center {
    text-align: center;
}

.ehs-slide-content.ehs-align-right {
    text-align: right;
}

/* ============================================
   Typography
   ============================================ */
.ehs-slide-heading {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 20px;
    color: #ffffff;
}

.ehs-slide-description {
    font-size: 20px;
    line-height: 1.6;
    margin: 0 0 30px;
    color: #ffffff;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.ehs-align-left .ehs-slide-description {
    margin-left: 0;
    margin-right: 0;
}

.ehs-align-right .ehs-slide-description {
    margin-left: auto;
    margin-right: 0;
}

/* ============================================
   Logo/Image
   ============================================ */
.ehs-slide-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.ehs-align-left .ehs-slide-logo {
    justify-content: flex-start;
}

.ehs-align-right .ehs-slide-logo {
    justify-content: flex-end;
}

.ehs-slide-logo img {
    display: block;
    height: auto;
    max-width: 100%;
}

/* ============================================
   Additional Text
   ============================================ */
.ehs-slide-additional-text {
    font-size: 16px;
    line-height: 1.5;
    color: #ffffff;
    margin-bottom: 15px;
}

.ehs-slide-additional-text p {
    margin: 0 0 10px 0;
}

.ehs-slide-additional-text p:last-child {
    margin-bottom: 0;
}

/* ============================================
   Buttons
   ============================================ */
.ehs-slide-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.ehs-align-left .ehs-slide-buttons {
    justify-content: flex-start;
}

.ehs-align-center .ehs-slide-buttons {
    justify-content: center;
}

.ehs-align-right .ehs-slide-buttons {
    justify-content: flex-end;
}

.ehs-btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1.5;
    text-align: center;
}

.ehs-btn-primary {
    color: #ffffff;
    background-color: #0066cc;
    border-color: #0066cc;
}

.ehs-btn-primary:hover {
    color: #ffffff;
    background-color: #0052a3;
    border-color: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.4);
}

.ehs-btn-secondary {
    color: #ffffff;
    background-color: transparent;
    border-color: #ffffff;
}

.ehs-btn-secondary:hover {
    color: #0066cc;
    background-color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-2px);
}

.ehs-btn-third {
    color: #ffffff;
    background-color: transparent;
    border-color: #ffffff;
}

.ehs-btn-third:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* ============================================
   Navigation Arrows
   ============================================ */
.ehs-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    z-index: 10;
    transform: translateY(-50%);
    pointer-events: none;
}

.ehs-nav {
    position: absolute;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    border-radius: 4px;
}

.ehs-nav:hover {
    background-color: rgba(0, 0, 0, 0.6);
    transform: scale(1.1);
}

.ehs-nav:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.ehs-prev {
    left: 30px;
}

.ehs-next {
    right: 30px;
}

.ehs-nav i {
    font-size: 24px;
}

/* ============================================
   Pagination
   ============================================ */
.ehs-pagination {
    position: absolute;
    bottom: 30px;
    z-index: 10;
    display: flex;
    gap: 10px;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 25px;
}

.ehs-pagination-bottom-left {
    left: 30px;
}

.ehs-pagination-bottom-center {
    left: 50%;
    transform: translateX(-50%);
}

.ehs-pagination-bottom-right {
    right: 30px;
}

.ehs-pagination span {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.ehs-pagination span:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.ehs-pagination span.active {
    background-color: #ffffff;
    transform: scale(1.3);
}

/* ============================================
   Content Animations
   ============================================ */
.ehs-slide.active .ehs-slide-content {
    animation-duration: 1s;
    animation-fill-mode: both;
}

/* Fade Animations */
.ehs-slide.active .ehs-animation-fadeIn {
    animation-name: ehsFadeIn;
}

.ehs-slide.active .ehs-animation-fadeInUp {
    animation-name: ehsFadeInUp;
}

.ehs-slide.active .ehs-animation-fadeInDown {
    animation-name: ehsFadeInDown;
}

.ehs-slide.active .ehs-animation-fadeInLeft {
    animation-name: ehsFadeInLeft;
}

.ehs-slide.active .ehs-animation-fadeInRight {
    animation-name: ehsFadeInRight;
}

/* Zoom Animations */
.ehs-slide.active .ehs-animation-zoomIn {
    animation-name: ehsZoomIn;
}

/* Bounce Animations */
.ehs-slide.active .ehs-animation-bounceIn {
    animation-name: ehsBounceIn;
}

/* Slide Animations */
.ehs-slide.active .ehs-animation-slideInUp {
    animation-name: ehsSlideInUp;
}

.ehs-slide.active .ehs-animation-slideInDown {
    animation-name: ehsSlideInDown;
}

.ehs-slide.active .ehs-animation-slideInLeft {
    animation-name: ehsSlideInLeft;
}

.ehs-slide.active .ehs-animation-slideInRight {
    animation-name: ehsSlideInRight;
}

/* ============================================
   Keyframe Animations
   ============================================ */

/* Fade Animations */
@keyframes ehsFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes ehsFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ehsFadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ehsFadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes ehsFadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Zoom Animation */
@keyframes ehsZoomIn {
    from {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
    }
    to {
        transform: scale(1);
    }
}

/* Bounce Animation */
@keyframes ehsBounceIn {
    from,
    20%,
    40%,
    60%,
    80%,
    to {
        animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    }
    0% {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3);
    }
    20% {
        transform: scale3d(1.1, 1.1, 1.1);
    }
    40% {
        transform: scale3d(0.9, 0.9, 0.9);
    }
    60% {
        opacity: 1;
        transform: scale3d(1.03, 1.03, 1.03);
    }
    80% {
        transform: scale3d(0.97, 0.97, 0.97);
    }
    to {
        opacity: 1;
        transform: scale3d(1, 1, 1);
    }
}

/* Slide Animations */
@keyframes ehsSlideInUp {
    from {
        transform: translateY(100%);
        visibility: visible;
    }
    to {
        transform: translateY(0);
    }
}

@keyframes ehsSlideInDown {
    from {
        transform: translateY(-100%);
        visibility: visible;
    }
    to {
        transform: translateY(0);
    }
}

@keyframes ehsSlideInLeft {
    from {
        transform: translateX(-100%);
        visibility: visible;
    }
    to {
        transform: translateX(0);
    }
}

@keyframes ehsSlideInRight {
    from {
        transform: translateX(100%);
        visibility: visible;
    }
    to {
        transform: translateX(0);
    }
}

/* ============================================
   Responsive Design
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .ehs-slide-heading {
        font-size: 42px;
    }
    
    .ehs-slide-description {
        font-size: 18px;
        max-width: 600px;
    }
    
    .ehs-btn {
        padding: 12px 32px;
        font-size: 15px;
    }
    
    .ehs-nav {
        width: 45px;
        height: 45px;
    }
    
    .ehs-prev {
        left: 20px;
    }
    
    .ehs-next {
        right: 20px;
    }
    
    .ehs-pagination {
        bottom: 20px;
    }
    
    .ehs-pagination-bottom-left {
        left: 20px;
    }
    
    .ehs-pagination-bottom-right {
        right: 20px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .ehs-slide-content-wrapper {
        padding: 40px 20px;
    }
    
    .ehs-slide-heading {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .ehs-slide-description {
        font-size: 16px;
        max-width: 100%;
        margin-bottom: 25px;
    }
    
    .ehs-btn {
        padding: 12px 28px;
        font-size: 14px;
    }
    
    .ehs-slide-buttons {
        gap: 10px;
    }
    
    .ehs-nav {
        width: 40px;
        height: 40px;
    }
    
    .ehs-nav i {
        font-size: 20px;
    }
    
    .ehs-prev {
        left: 15px;
    }
    
    .ehs-next {
        right: 15px;
    }
    
    .ehs-pagination {
        bottom: 15px;
        padding: 8px 16px;
        gap: 8px;
    }
    
    .ehs-pagination-bottom-left {
        left: 15px;
    }
    
    .ehs-pagination-bottom-center {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .ehs-pagination-bottom-right {
        right: 15px;
    }
    
    .ehs-pagination span {
        width: 10px;
        height: 10px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .ehs-slide-content-wrapper {
        padding: 30px 15px;
    }
    
    .ehs-slide-heading {
        font-size: 26px;
    }
    
    .ehs-slide-description {
        font-size: 14px;
    }
    
    .ehs-btn {
        padding: 10px 24px;
        font-size: 13px;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .ehs-slide-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .ehs-align-left .ehs-slide-buttons,
    .ehs-align-center .ehs-slide-buttons,
    .ehs-align-right .ehs-slide-buttons {
        align-items: stretch;
    }
    
    .ehs-nav {
        width: 35px;
        height: 35px;
    }
    
    .ehs-nav i {
        font-size: 18px;
    }
    
    .ehs-prev {
        left: 10px;
    }
    
    .ehs-next {
        right: 10px;
    }
    
    .ehs-pagination {
        bottom: 10px;
    }
    
    .ehs-pagination-bottom-left {
        left: 10px;
    }
    
    .ehs-pagination-bottom-right {
        right: 10px;
    }
}

/* ============================================
   Accessibility
   ============================================ */
.ehs-nav:focus-visible,
.ehs-pagination span:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .ehs-slide,
    .ehs-nav,
    .ehs-pagination span,
    .ehs-btn {
        transition: none;
        animation: none;
    }
    
    .ehs-slide.active .ehs-slide-content {
        animation: none;
    }
}

/* Print Styles */
@media print {
    .ehs-navigation,
    .ehs-pagination {
        display: none;
    }
    
    .ehs-slide {
        position: relative;
        page-break-inside: avoid;
    }
}

