.hero {
    height: 100svh;
    position: relative;
}

.hero-contact {
    height: auto;
}

.hero .hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width: 1024px) {

    .hero.about .hero-img::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 150px;
        background: linear-gradient(to top, rgb(30, 30, 30), rgba(0, 0, 0, 0));
        pointer-events: none;
        z-index: 1;
    }

}

/*trying posiion fixed for a parallax effects*/
@media screen and (min-width: 1025px) {
    body.home .hero-img img {
        position: fixed;
        width: 100%;
        left: 0;
    }

    .hero-icons {
        z-index: 3;
        position: absolute;
        right: 20px;
        width: 140px;
        padding: 0;
    }
}

.hero .hero-container {
    /* position: relative; */
    z-index: 3;
}

.hero .hero-container h1 {
    /*     background: linear-gradient(90deg, #FFFFFF 0%, #999999 100%); */
    background: linear-gradient(90deg, #FFFFFF 65%, #999999 100%);
    background-clip: border-box;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge-new {
    display: inline-flex;
    align-items: center;
    background-color: var(--black-dark-bg);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 100px;
    border: 1px solid #4C4C4C;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    align-self: start;
    gap: 15px;
}

.badge-new::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: var(--green);
    border-radius: 50%;
    flex-shrink: 0;
}

.with-blue-border {
    padding-left: 20px;
    position: relative;
}

.with-blue-border p {
    margin: 0;
}

.with-blue-border::before {
    content: "";
    width: 2px;
    height: 100%;
    background: var(--blue);
    position: absolute;
    left: 0;
    top: 0;
}

.hero-footer {
    width: 100%;
    height: auto;
    left: 0;
    z-index: 2;
    padding: 0;
    aspect-ratio: 1024 / 56;
}

.hero-footer .elementor-widget-image {
    width: 100%;
    height: 100%;
}

.hero-footer .elementor-widget-image img {
    width: 100%;
}

.warranty-cards {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0;
}

.warranty-card {
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 0 !important;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.warranty-card span {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
}

.plus-sign {
    position: relative;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.plus-sign .horizontal {
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--green);
    border-radius: 2px;
}

.plus-sign .vertical {
    position: absolute;
    width: 3px;
    height: 100%;
    background-color: var(--blue);
    border-radius: 2px;
}

.hero.kenburns .hero-img {
    overflow: hidden;
}

.hero.kenburns .hero-img img {
    animation: kenburns 20s infinite;
}

.hero .hero-video video {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.hero-subtitle {
    color: white;
    margin-top: 10px;
}

.hero-subtitle span {
    color: var(--green);
}

.hero .price {
	font-size: 13px;
}

.hero .btn-grid:has(.price) {
	align-items: center;
}

.hero .price .bigger {
	display: flex;
	align-items: baseline;
	font-size: 20px;
	gap: 5px;
}

.hero .price .bigger span {
	color: var(--green);
	font-size: 32px;
	font-weight: bold;
}

@keyframes kenburns {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@media screen and (max-width: 1024px) {

    .hero .hero-video,
    .hero .hero-img {
        flex: 1;
    }

    .hero .hero-video video {
        height: 100%;
        object-fit: cover;
    }

    .hero .hero-img img {
        object-position: 50% 100%;
    }

	/*
    .hero:not(.product-hero) .hero-container { */
    .hero .hero-container { 
        position: initial;
    }

    .badge-new {
        position: absolute;
        top: 95px;
        left: 20px;
        padding: 10px 15px;
    }

    .hero.product-hero .badge-new {
        top: 75px;
    }

    .warranty-cards {
        display: grid;
        align-items: center;
        grid-template-columns: 1fr auto 1fr;
        gap: 10px;
        padding: 20px;
    }

    .plus-sign {
        position: relative;
        width: 14px;
        height: 14px;
    }
}

@media screen and (min-width: 1025px) {

    .hero .hero-video,
    .hero .hero-img {
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
    }

    .hero:not(.hero-contact)::before {
        content: "";
        width: 100%;
        height: 300px;
        /*         background: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0) 100%); */
        background: linear-gradient(to bottom, #1e1e1e 0%, rgba(0, 0, 0, 0) 100%);
        position: absolute;
        top: 0;
        left: 0;
    }

    .hero-img-contact::before {
        content: "";
        width: 100%;
        height: 100%;
        background: linear-gradient(to right, #1e1e1e 30%, rgba(0, 0, 0, 0) 100%);
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
    }

    .hero-img-contact::after {
        content: "";
        position: absolute;
        height: 100%;
        width: 100%;
        /* Spans full width for a bottom-to-top fade */
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(to top,
                rgba(30, 30, 30, 1) 0%,
                /* Strongest at bottom */
                rgba(30, 30, 30, 0.9) 20%,
                rgba(30, 30, 30, 0.7) 40%,
                rgba(30, 30, 30, 0.4) 60%,
                rgba(30, 30, 30, 0.1) 80%,
                rgba(30, 30, 30, 0) 100%);
        /* Fades out at top */
    }

    .hero:not(.product-hero):not(.hero-contact)::after {
        content: "";
        position: absolute;
        height: 100%;
        width: 77%;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        /*         background: linear-gradient(to right,
                rgba(0, 0, 0, 1) 0%,
                rgba(0, 0, 0, 0) 100%); */
        background: linear-gradient(to right,
                rgba(30, 30, 30, 1) 0%,
                rgba(30, 30, 30, 1) 20%,
                rgba(30, 30, 30, 0.9) 40%,
                rgba(30, 30, 30, 0.8) 60%,
                rgba(30, 30, 30, 0.2) 80%,
                rgba(30, 30, 30, 0) 100%);
    }


    .hero::before,
    .hero::after {
        z-index: 1;
        pointer-events: none;
    }

    .hero-footer {
        position: absolute;
        bottom: 0;
    }

    .hero-footer .elementor-widget-image img {
        transform: scale(1.05) translateY(1px);
    }

    .warranty-card span.bigger {
        font-size: 28px;
        font-weight: 400;
        margin: 0 0 5px 0;
    }

    .warranty-card {
        min-width: 183px !important;
    }

}

/* laptop */
@media screen and (min-width: 1025px) and (max-width: 1500px) {
    .hero .hero-container {
        gap: 20px !important;
    }

    .hero .btn-grid {
        margin-top: 20px !important;
    }
}

/* Small Mobile */
@media screen and (max-width: 400px) {
	.warranty-card {
		padding: 10px;
	}
}
