/* ── Appstechy Hero Slider Widget CSS ── */

.appstechy-widget-wrapper.slider-only {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.appstechy-widget-wrapper.slider-only * {
    box-sizing: border-box;
}

/* ─────────────────────────────────────────────────────────────────────────────
   1. HERO IMAGE SLIDER
   ───────────────────────────────────────────────────────────────────────────── */
.appstechy-slider-container {
    position: relative;
    width: 100%;
    height: 750px;
    overflow: hidden;
    background-color: #000000;
}

.appstechy-slides-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.appstechy-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center top -40px;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* Slide overlay */
.appstechy-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 2;
}

/* Content Container wrapper */
.appstechy-slide-content-wrap {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1100px;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* Premium Light Glassmorphism Card */
.appstechy-slide-card {
    background-color: RGBA(255,255,255,0.5);
    border-radius: 10px;
    width: 100%;
    max-width: 800px;
    padding: 30px;
    text-align: center;
    box-sizing: border-box;
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

/* Trigger content entrance animation on active slide */
.appstechy-slide.active .appstechy-slide-card {
    opacity: 1;
}

/* Typography styles */
.appstechy-slide-title {
    font-size: 48px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 16px;
    line-height: 48px;
    letter-spacing: 1px;
    color: #333333;
}

.appstechy-slide-desc {
    font-size: 22px;
    line-height: 35;
    margin: 0 auto 20px;
    max-width: 700px;
    color: #fff;
}

.appstechy-slide-desc p {
    margin: 0 0 10px;
}

.appstechy-slide-desc p:last-child {
    margin: 0;
}

.appstechy-slide-btn-wrap {
    display: flex;
    justify-content: center;
}

.smart-button,
.smart-button .elementor-button-text {
    display: inline-block;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    color: #ffffff !important;
}

.smart-button {
    padding: 14px 32px;
    border-radius: 4px;
    background-color: #0176ab;
    box-shadow: 0 4px 12px rgba(1, 118, 171, 0.25);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
    text-align: center;
}

.smart-button:hover,
.smart-button:hover .elementor-button-text {
    color: #ffffff !important;
}

.smart-button:hover {
    background-color: #00a8d4;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 168, 212, 0.35);
}

/* ─────────────────────────────────────────────────────────────────────────────
   2. TRANSITION EFFECTS
   ───────────────────────────────────────────────────────────────────────────── */

/* --- FADE EFFECT --- */
.appstechy-slider-container.effect-fade .appstechy-slide {
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.appstechy-slider-container.effect-fade .appstechy-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* --- SLIDE EFFECT --- */
.appstechy-slider-container.effect-slide .appstechy-slide {
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    transform: translateX(100%);
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.appstechy-slider-container.effect-slide .appstechy-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
    transform: translateX(0);
}

.appstechy-slider-container.effect-slide .appstechy-slide.prev-slide {
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
}

/* ─────────────────────────────────────────────────────────────────────────────
   3. NAVIGATION ARROWS
   ───────────────────────────────────────────────────────────────────────────── */
.appstechy-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    padding: 0 !important;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.appstechy-slider-arrow:hover, 
.appstechy-slider-arrow:focus {
    background-color: transparent !important;
    border-color: transparent !important;
        outline: none;

}

.appstechy-slider-arrow svg {
    width: 24px;
    height: 24px;
    transition: transform 0.2s ease;
}

.appstechy-slider-arrow.prev-arrow {
    left: 30px;
}

.appstechy-slider-arrow.next-arrow {
    right: 30px;
}


.appstechy-slide-card .smart-button {
    font-family: "Montserrat", Sans-serif;
    font-size: 14px;
    line-height: 42px;
    font-weight: 500;
    text-transform: uppercase;
    background: linear-gradient(144deg, #0176ab 0%, #575756 100%);
    width: 130px;
    height: 40px;
    color: #fff;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    box-shadow: inset 2px 2px 2px 0px rgba(255,255,255,.5), 7px 7px 20px 0px rgba(0,0,0,.1), 4px 4px 5px 0px rgba(0,0,0,.1);
    outline: none;
    fill: #fff;
    text-align: center;
    border-radius: 0;
    position: relative;
}
.appstechy-slide-card .smart-button:hover {
    background: transparent;
    color: #0176ab;
    fill: #0176ab;
}
.appstechy-slide-card .smart-button::before, 
.appstechy-slide-card .smart-button::after {
	position: absolute;
	content: "";
	right: 0;
	bottom: 0;
	background: #0176ab;
	box-shadow: -7px -7px 20px 0px rgba(255,255,255,.9), -4px -4px 5px 0px rgba(255,255,255,.9), 7px 7px 20px 0px rgba(0,0,0,.2), 4px 4px 5px 0px rgba(0,0,0,.3);
	transition: all 0.3s ease;
}
.appstechy-slide-card .smart-button::before {
    height: 0%;
    width: 2px;
}
.appstechy-slide-card .smart-button::after {
    width: 0%;
    height: 2px;
}
.appstechy-slide-card .smart-button:hover::before {
    height: 100%;
}
.appstechy-slide-card .smart-button:hover::after {
    width: 100%;
}
.smart-button .elementor-button-content-wrapper, 
.smart-button .elementor-button-text {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
    font-family: "Montserrat", Sans-serif;
    font-size: 14px;
    line-height: 42px;
    font-weight: 500;
}
.smart-button:hover .elementor-button-content-wrapper, 
.smart-button:hover .elementor-button-text {
    color: #0176ab !important;
}
.smart-button .elementor-button-content-wrapper::before, 
.smart-button .elementor-button-content-wrapper::after {
	position: absolute;
	content: "";
	left: 0;
	top: 0;
	background: #0176ab;
	box-shadow: -7px -7px 20px 0px rgba(255,255,255,.9), -4px -4px 5px 0px rgba(255,255,255,.9), 7px 7px 20px 0px rgba(0,0,0,.2), 4px 4px 5px 0px rgba(0,0,0,.3);
	transition: all 0.3s ease;
}
.smart-button .elementor-button-content-wrapper::before {
	width: 2px;
	height: 0%;
}
.smart-button .elementor-button-content-wrapper::after {
	height: 2px;
	width: 0%;
}
.smart-button:hover .elementor-button-content-wrapper::before {	
	height: 100%;
}
.smart-button:hover .elementor-button-content-wrapper::after {	
	width: 100%;
}
.smart-button .elementor-button-text::before, 
.smart-button .elementor-button-text::after {
	position: absolute;
	content: "";
	left: 0;
	top: 0;
	background: #0176ab;
	box-shadow: -7px -7px 20px 0px rgba(255,255,255,.9), -4px -4px 5px 0px rgba(255,255,255,.9), 7px 7px 20px 0px rgba(0,0,0,.2), 4px 4px 5px 0px rgba(0,0,0,.3);
	transition: all 0.3s ease;
}
.smart-button .elementor-button-text::before {
    width: 2px;
    height: 0%;
}
.smart-button .elementor-button-text::after {
    height: 2px;
    width: 0%
}
.smart-button:hover .elementor-button-text::before {    
    height: 100%;
}
.smart-button:hover .elementor-button-text::after {    
    width: 100%
}




/* ─────────────────────────────────────────────────────────────────────────────
   4. RESPONSIVENESS MEDIA QUERIES
   ───────────────────────────────────────────────────────────────────────────── */

/* Table Viewport Styling < 768px */
@media (max-width: 767px) {
    .appstechy-slider-container {
        height: 600px;
    }

    .appstechy-slide-card {
        padding: 40px 24px;
        margin: 0 16px;
        border-radius: 12px;
    }

    .appstechy-slide-title {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .appstechy-slide-desc {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .appstechy-slider-arrow {
        width: 40px;
        height: 40px;
    }

    .appstechy-slider-arrow.prev-arrow {
        left: 15px;
    }

    .appstechy-slider-arrow.next-arrow {
        right: 15px;
    }
}

/* Mobile Viewport Styling < 480px */
@media (max-width: 479px) {
    .appstechy-slider-container {
        height: 500px;
    }

    .appstechy-slide-card {
        padding: 32px 16px;
    }

    .appstechy-slide-title {
        font-size: 26px;
    }

    .appstechy-slide-desc {
        font-size: 14px;
    }

    .smart-button {
        padding: 12px 24px;
        font-size: 12px;
    }
}


