:root {
    --premium-red: #d32f2f;
    --premium-red-light: #ff6659;
    --premium-red-dark: #9a0007;
    --industrial-black: #1a1a1a;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --premium-gradient: linear-gradient(135deg, var(--premium-red-dark) 0%, var(--premium-red) 100%);
}


/* Global Overrides */

.text-primary {
    color: var(--premium-red) !important;
}

.bg-primary {
    background: var(--premium-gradient) !important;
}

.btn-primary {
    background: var(--premium-gradient) !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}

.btn-primary:hover {
    background: var(--premium-red-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4);
}


/* Premium Typography */

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
}

h1,
.h1 {
    font-family: 'Rammetto One';
    font-weight: 400 !important;
    font-size: 2rem !important;
}

h1.display-1,
h1.display-2,
h1.display-3,
h1.display-4,
h1.display-5,
h1.display-6,
.h1.display-1,
.h1.display-2,
.h1.display-3,
.h1.display-4,
.h1.display-5,
.h1.display-6 {
    font-size: 2rem !important;
}

h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}


/* Hero Section Full Height */

.carousel-header,
.carousel-item,
.carousel-item img {
    height: 100vh;
    width: 100%;
    object-fit: cover;
}

.carousel-caption-1,
.carousel-caption-2 {
    background: linear-gradient(to right, rgb(0 0 0 / 48%) 0%, rgb(163 16 16 / 30%) 100%) !important;
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
}


/* Mobile Friendly Slider */

@media (max-width: 768px) {
    .carousel-header,
    .carousel-item,
    .carousel-item img {
        height: 90vh !important;
        min-height: 450px;
    }
    .carousel-caption-1,
    .carousel-caption-2 {
        height: 65vh !important;
        min-height: 450px;
        padding-top: 60px !important;
    }
    .carousel-caption-2-content {
        padding-left: 15px !important;
        padding-right: 15px !important;
        text-align: center !important;
    }
    .carousel-caption-2-content h1 {
        font-size: 2rem !important;
        line-height: 1.3;
        margin-bottom: 1rem !important;
    }
    .carousel-caption-2-content h4 {
        font-size: 0.85rem !important;
        letter-spacing: 2px !important;
        margin-bottom: 10px !important;
    }
    .carousel-caption-2-content p {
        font-size: 0.95rem !important;
        margin-bottom: 20px !important;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        padding: 20px;
    }
    .carousel-caption-1-content-btn,
    .carousel-caption-2-content-btn {
        justify-content: center !important;
    }
    .carousel-caption-1-content-btn .btn,
    .carousel-caption-2-content-btn .btn {
        padding: 10px 20px !important;
        font-size: 0.85rem !important;
        margin: 5px !important;
    }
}


/* Navbar Enhancements */

.navbar {
    background: transparent !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.sticky-top.navbar {
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.navbar-light .navbar-nav .nav-link {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar-light .navbar-nav .nav-link.active {
    color: var(--premium-red) !important;
}


/* Feature Cards - Modern Look */

.feature-item {
    border: none;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transform: translateY(0);
    transition: all 0.4s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(211, 47, 47, 0.1);
}

.feature-icon {
    background: var(--premium-gradient) !important;
    border-radius: 15px;
}


/* Service Item Enhancements */

.service-item {
    border-radius: 20px;
    overflow: hidden;
}

.service-item::after {
    background: var(--premium-gradient) !important;
    opacity: 0.9;
}


/* Product Cards */

.product-item {
    border: none !important;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.product-content {
    border-top: 5px solid var(--premium-red);
}


/* Animations */

.wow {
    visibility: hidden;
}


/* Smooth Transitions */

* {
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}


/* Premium Products Section */

.premium-products {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.premium-subtitle {
    letter-spacing: 3px;
    color: var(--premium-red);
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.premium-subtitle::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--premium-gradient);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.product-premium-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    height: 100%;
}

.product-premium-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 45px rgba(211, 47, 47, 0.15);
}

.product-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.product-img-wrapper img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-premium-card:hover .product-img-wrapper img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--premium-gradient);
    color: white;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.product-premium-card:hover .product-overlay {
    opacity: 1;
}

.product-content-wrapper {
    position: relative;
    z-index: 3;
    background: #fff;
    margin-top: -20px;
    border-radius: 20px 20px 0 0;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: var(--industrial-black);
}

.product-category {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.product-specs li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
    color: #555;
}

.product-specs li:last-child {
    border-bottom: none;
}

.premium-btn {
    border-radius: 12px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.premium-btn:hover {
    background: var(--premium-red-dark) !important;
    color: white !important;
}


/* Group of Companies Premium Cards */

.group-companies {
    background: linear-gradient(180deg, #fdfdfd 0%, #f0f4f8 100%);
    position: relative;
    overflow: hidden;
}

.group-item {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.group-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(211, 47, 47, 0.2) !important;
    border-color: var(--premium-red-light);
}

.group-overlay {
    opacity: 0;
    visibility: hidden;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(211, 47, 47, 0.544) 100%) !important;
    transition: all 0.5s ease;
    /* backdrop-filter: blur(4px); */
}

.group-item:hover .group-overlay {
    opacity: 1;
    visibility: visible;
}

.group-item img {
    transition: transform 0.8s ease;
}

.group-item:hover img {
    transform: scale(1.1);
}

.group-overlay i {
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.5s ease 0.1s;
}

.group-item:hover .group-overlay i {
    transform: translateY(0);
    opacity: 1;
}

.group-overlay h2 {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.2s;
}

.group-item:hover .group-overlay h2 {
    transform: translateY(0);
    opacity: 1;
}

.group-overlay p {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.3s;
}

.group-item:hover .group-overlay p {
    transform: translateY(0);
    opacity: 1;
}

.group-overlay .btn {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.4s;
}

.group-item:hover .group-overlay .btn {
    transform: translateY(0);
    opacity: 1;
}


/* Manufacturing Section */

.manufacturing-section {
    position: relative;
    overflow: visible;
}

.manufacturing-section__green {
    background: #e85d04;
    padding: 50px 0 30px;
    position: relative;
    overflow: visible;
}

.manufacturing-section__green .row {
    align-items: flex-end;
}

.manufacturing-section__white {
    height: 110px;
    background: #fff;
    position: relative;
    z-index: 0;
}

.manufacturing-section__title {
    font-family: 'Rammetto One', sans-serif;
    font-size: 2.8rem !important;
    color: #2a2a2a;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.manufacturing-section__title-accent {
    color: #e85d04;
}

.manufacturing-section__machine {
    position: relative;
    z-index: 3;
    min-height: 360px;
    margin-bottom: -90px;
}

.manufacturing-section__machine img {
    width: 100%;
    max-width: 589px;
    display: block;
    margin-left: auto;
    transform: translateY(55px);
    filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.22));
    position: absolute;
    left: 100px;
    top: -124px;
}

.manufacturing-card {
    position: relative;
    display: block;
    height: 230px;
    border-radius: 0;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.manufacturing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.manufacturing-card__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.6s ease;
}

.manufacturing-card:hover .manufacturing-card__bg {
    transform: scale(1.06);
}

.manufacturing-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.manufacturing-card__icon {
    position: absolute;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.manufacturing-card__icon i {
    font-size: 2rem;
    color: #fff;
}

.manufacturing-card__footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #fff;
}

.manufacturing-card__num {
    font-family: 'Rammetto One', sans-serif;
    font-size: 1.4rem;
    color: #e85d04;
    line-height: 1;
    flex-shrink: 0;
}

.manufacturing-card__label {
    color: #2a2a2a;
    line-height: 1.2;
}

.manufacturing-card__label small {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #2a2a2a;
    font-weight: 600;
}

.manufacturing-card__label strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #e85d04;
}

@media (max-width: 1199px) {
    .manufacturing-section__machine {
        min-height: 320px;
        margin-bottom: -70px;
    }
    .manufacturing-section__machine img {
        max-width: 500px;
        left: 60px;
        top: -100px;
        transform: translateY(45px);
    }
}

@media (max-width: 991px) {
    .manufacturing-section__green .row {
        align-items: flex-start;
    }
    .manufacturing-section__machine {
        min-height: 300px;
        margin-top: 1.5rem;
        margin-bottom: -50px;
    }
    .manufacturing-section__machine img {
        max-width: 440px;
        left: 50%;
        transform: translate(-50%, 35px);
        top: -80px;
    }
    .manufacturing-section__white {
        height: 80px;
    }
}

@media (max-width: 767px) {
    .manufacturing-section__machine {
        min-height: 260px;
        margin-bottom: -35px;
    }
    .manufacturing-section__machine img {
        max-width: 360px;
        top: -60px;
        transform: translate(-50%, 25px);
    }
    .manufacturing-section__white {
        height: 60px;
    }
}

@media (max-width: 576px) {
    .manufacturing-card {
        height: 190px;
    }
    .manufacturing-section__title {
        font-size: 2rem !important;
    }
    .manufacturing-section__machine {
        min-height: 220px;
        margin-bottom: -20px;
    }
    .manufacturing-section__machine img {
        max-width: 100%;
        left: 50%;
        top: -40px;
        transform: translate(-50%, 15px);
    }
    .manufacturing-section__white {
        height: 45px;
    }
}


/* Stat Cards */

.stat-card {
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(211, 47, 47, 0.1) !important;
    border-color: rgba(211, 47, 47, 0.2);
}

.stat-icon-bg {
    opacity: 0.05;
    transition: all 0.4s ease;
}

.stat-card:hover .stat-icon-bg {
    transform: scale(1.2) rotate(15deg);
    opacity: 0.1;
}


/* Premium Testimonials */

.premium-testimonial {
    transition: all 0.4s ease;
    border-bottom: 4px solid transparent;
}

.premium-testimonial:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--premium-red);
}

.quote-watermark {
    pointer-events: none;
    transition: all 0.5s ease;
}

.premium-testimonial:hover .quote-watermark {
    transform: scale(1.1) rotate(10deg);
    opacity: 0.2 !important;
}


/* Product Carousel Navigation & Dots */

.product-carousel {
    position: relative;
    display: block;
    width: 100%;
}

.product-carousel .owl-nav {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 40px !important;
    gap: 25px !important;
    position: relative !important;
    z-index: 999 !important;
    visibility: visible !important;
}

.product-carousel .owl-nav .owl-prev,
.product-carousel .owl-nav .owl-next {
    width: 60px !important;
    height: 60px !important;
    background: #fff !important;
    color: var(--premium-red) !important;
    border-radius: 50% !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
    font-size: 1.2rem !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    cursor: pointer !important;
}

.product-carousel .owl-nav .owl-prev:hover,
.product-carousel .owl-nav .owl-next:hover {
    background: var(--premium-gradient) !important;
    color: #fff !important;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 30px rgba(211, 47, 47, 0.3) !important;
}

.product-carousel .owl-dots {
    text-align: center !important;
    margin-top: 25px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.product-carousel .owl-dots .owl-dot {
    margin: 0 6px !important;
    outline: none !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer !important;
}

.product-carousel .owl-dots .owl-dot span {
    width: 12px !important;
    height: 12px !important;
    background: #d1d5db !important;
    display: block !important;
    border-radius: 50% !important;
    transition: all 0.4s ease !important;
}

.product-carousel .owl-dots .owl-dot.active span {
    background: var(--premium-red) !important;
    width: 35px !important;
    border-radius: 20px !important;
}

.product-carousel .owl-stage-outer {
    padding: 15px 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

.product-carousel .product-item {
    padding: 5px !important;
}

.product-carousel .owl-item {
    padding: 5px !important;
}


/* Ensuring the carousel aligns perfectly with container width */

.product-carousel {
    margin-left: -5px !important;
    margin-right: -5px !important;
    width: calc(100% + 10px) !important;
}


/* Adjusting for mobile */

@media (max-width: 768px) {
    .product-carousel .owl-nav {
        gap: 15px !important;
    }
    .product-carousel .owl-nav .owl-prev,
    .product-carousel .owl-nav .owl-next {
        width: 48px !important;
        height: 48px !important;
    }
}


/* Hiding disabled navigation and dots */

.product-carousel .owl-nav.disabled,
.product-carousel .owl-dots.disabled {
    display: none !important;
}


/* Hero Carousel Premium Navigation */

.carousel-control-prev,
.carousel-control-next {
    width: 8%;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 60px !important;
    height: 60px !important;
    background-color: var(--premium-red) !important;
    background-image: none !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.carousel-control-prev-icon i,
.carousel-control-next-icon i {
    font-size: 1.5rem !important;
    color: #fff !important;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    transform: scale(1.1);
    background: #fff !important;
}

.carousel-control-prev-icon:hover i,
.carousel-control-next-icon:hover i {
    color: var(--premium-red) !important;
}

@media (max-width: 768px) {
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 45px !important;
        height: 45px !important;
    }
    .carousel-control-prev-icon i,
    .carousel-control-next-icon i {
        font-size: 1rem !important;
    }
}


/* Global Icon Rotation Effect on Hover - SITE WIDE */

i,
.fas,
.fa,
.fab,
.far {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: inline-block !important;
    /* Required for transform to work on some elements */
}


/* Rotate icons on hover of their parent interactive elements */

a:hover i,
.btn:hover i,
.nav-link:hover i,
.dropdown-item:hover i,
.product-premium-card:hover i,
.feature-item:hover i,
.group-item:hover i,
.chairman-badge:hover i,
.stat-card:hover i,
.premium-testimonial:hover i,
.service-item:hover i,
.team-item:hover i,
.blog-item:hover i,
.footer-item a:hover i {
    transform: rotate(360deg) scale(1.2) !important;
}


/* Specific fix for feature icons to keep their scale */

.feature-item:hover .feature-icon i {
    transform: rotate(360deg) scale(1.1) !important;
}

/* Premium Motion System */

:root {
    --motion-ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
    --motion-ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.navbar {
    transition: background-color 0.45s var(--motion-ease-soft), box-shadow 0.45s var(--motion-ease-soft), padding 0.45s var(--motion-ease-soft), backdrop-filter 0.45s var(--motion-ease-soft);
}

.navbar.nav-scrolled {
    backdrop-filter: blur(14px);
}

.navbar.menu-open {
    background: rgba(255, 255, 255, 0.96) !important;
}

.navbar-brand img.logo-shrink {
    transform: scale(0.92);
    transform-origin: left center;
}

.carousel-header {
    isolation: isolate;
}

.carousel-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(211, 47, 47, 0.24), transparent 56%), radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.12), transparent 44%);
    z-index: 1;
    animation: heroGradientFloat 9s ease-in-out infinite alternate;
    pointer-events: none;
}

.carousel-header .carousel {
    position: relative;
    z-index: 2;
}

.hero-scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    width: 34px;
    height: 54px;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.82);
    background: transparent;
    z-index: 7;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 8px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.hero-scroll-indicator span {
    width: 6px;
    height: 10px;
    border-radius: 4px;
    background: #fff;
    animation: scrollIndicatorPulse 1.8s ease-in-out infinite;
}

.hero-scroll-indicator:hover {
    transform: translateX(-50%) translateY(-3px);
    border-color: rgba(255, 255, 255, 1);
}

.hero-content-sequence h1,
.hero-content-sequence h4,
.hero-content-sequence p,
.hero-content-sequence .btn {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
}

.hero-ready .hero-content-sequence h4 {
    animation: heroItemIn 0.7s var(--motion-ease-premium) 0.1s forwards;
}

.hero-ready .hero-content-sequence h1 {
    animation: heroItemIn 0.9s var(--motion-ease-premium) 0.24s forwards;
}

.hero-ready .hero-content-sequence p {
    animation: heroItemIn 0.9s var(--motion-ease-premium) 0.38s forwards;
}

.hero-ready .hero-content-sequence .btn {
    animation: heroItemIn 0.8s var(--motion-ease-premium) 0.52s forwards;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translate3d(0, 28px, 0) scale(0.985);
    transition: opacity 0.85s var(--motion-ease-premium), transform 0.85s var(--motion-ease-premium);
    transition-delay: calc(var(--stagger-index, 0) * 70ms);
    will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.premium-image {
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: transform 0.7s var(--motion-ease-soft), filter 0.5s var(--motion-ease-soft);
}

.interactive-card {
    position: relative;
    transition: transform 0.55s var(--motion-ease-soft), box-shadow 0.55s var(--motion-ease-soft), border-color 0.45s var(--motion-ease-soft);
    transform-style: preserve-3d;
    will-change: transform;
}

.interactive-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(211, 47, 47, 0.15);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.interactive-card:hover::before {
    opacity: 1;
}

.premium-btn-animated {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.premium-btn-animated::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.3) 46%, rgba(255, 255, 255, 0) 70%);
    transform: translateX(-130%);
    transition: transform 0.7s ease;
    z-index: -1;
    pointer-events: none;
}

.premium-btn-animated:hover::after {
    transform: translateX(130%);
}

.btn-ripple {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    transform: translate(-50%, -50%) scale(0);
    animation: rippleExpand 0.62s ease-out forwards;
    pointer-events: none;
}

@keyframes heroItemIn {
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes heroGradientFloat {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    100% {
        transform: translate3d(0, -10px, 0) scale(1.04);
    }
}

@keyframes scrollIndicatorPulse {
    0%,
    100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(17px);
        opacity: 0.4;
    }
}

@keyframes rippleExpand {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.55;
    }
    100% {
        transform: translate(-50%, -50%) scale(9);
        opacity: 0;
    }
}

@media (max-width: 991.98px) {
    .hero-scroll-indicator {
        bottom: 16px;
        width: 30px;
        height: 46px;
    }
    .reveal-on-scroll {
        transition-delay: 0ms;
    }
}

@media (prefers-reduced-motion: reduce) {
    .carousel-header::before,
    .hero-scroll-indicator span,
    .hero-content-sequence h1,
    .hero-content-sequence h4,
    .hero-content-sequence p,
    .hero-content-sequence .btn,
    .reveal-on-scroll,
    .premium-image,
    .interactive-card,
    .premium-btn-animated,
    .premium-btn-animated::after,
    .btn-ripple {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}