/* Index Page Styles */

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    color: var(--bg-white);
    overflow: hidden;
}

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

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-content: center;
    flex-direction: column;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.bg-img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    padding: 0 5vw;
}

.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-prev,
.hero-next {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    opacity: 0;
    visibility: hidden;
}

.hero:hover .hero-prev,
.hero:hover .hero-next {
    opacity: 1;
    visibility: visible;
}

.hero-prev:hover,
.hero-next:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.hero-prev {
    left: 10px !important;
}

.hero-next {
    right: 10px !important;
}

@media (max-width: 768px) {

    .hero-prev,
    .hero-next {
        display: none;
    }
}


.hero-dots .dot {
    width: 16px;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.hero-dots .dot.active {
    background: var(--bg-white);
    transform: scale(1.2);
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease;
}

.hero-slide.active .hero-title {
    transform: translateY(0);
    opacity: 1;
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.2s;
}

.hero-slide.active .hero-subtitle {
    transform: translateY(0);
    opacity: 0.95;
}

.hero .btn-primary {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.3s ease;
}

.hero-slide.active .btn-primary {
    transform: translateY(0);
    opacity: 1;
}
.hero-content .btn-primary-white {
    background-color: var(--bg-white) !important;
    color: var(--primary-color) !important;
    line-height: 1.5 !important;
    margin-left: 10px !important;
}

.hero-content .btn-primary-white:hover {
    background-color: var(--bg-light) !important;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Products Section */
.products-section {
    background-color: var(--bg-white);
}

/* Featured Products Section (between stats and products) */
.featured-products-section {
    background-color: var(--bg-light);
    padding: 0;
    overflow: hidden;
}

.featured-products-stage {
    position: relative;
    /* max-width: 780px; */
    display: flex;
    flex-direction: row;
    /* border-radius: 14px; */
    overflow: hidden;
    /*height: 500px;*/
    margin: 0 auto;
    /*padding: 0 50px;*/
    box-shadow: var(--shadow);
    transition: var(--transition);
    align-items: center;
}

.featured-products-stage:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.featured-products-stage .bg-featured-products {
    position: relative;
    /*top: 0;*/
    /*left: 0;*/
    z-index: 2;
    width: 100%;
    aspect-ratio: 1920 / 500;
}

.featured-products-stage:hover img {
    transform: scale(1.02);
}

.featured-products-stage-content {
    position: absolute;
    z-index: 5;
    padding: 20px;
    width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.featured-products-stage-content img {
    width: 100px;
    height: auto;
}

.featured-products-stage-content.right {
    align-items: flex-end;
}

.featured-products-stage-content h2 {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: bold;
}

.featured-products-stage-content p {
    width: 50%;
    font-size: 1.2rem;
    color: #5e5e5e;
}

.featured-products-stage-content.right h2,
.featured-products-stage-content.right p{
    text-align: end;
}
.featured-products-stage-content.right{
    right: 50px;
}
.featured-products-stage-content.left{
    left: 50px;
}
@media (max-width: 1535px) {
    .featured-products-stage-content{
        width: 40%;
        gap: 0.5rem;
    }
    .featured-products-stage-content h2{
        font-size: 1rem;
        width: 50%;
    }
    .featured-products-stage-content p {
       font-size: 0.8rem;
    }
    .featured-products-stage-content .btn{
        padding: 10px;
        font-size: 10px;
    }
}
.product-btn {
    width: fit-content;
}

.featured-product-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc((100% - 50px) / 6);
    height: 100%;
    transform: translate(-50%, -50%);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    cursor: pointer;
}

.featured-product-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.featured-product-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.45);
}

/* Placeholder backgrounds – replace with real product images */
.featured-korea-1 {
    background-image: linear-gradient(135deg, #1f2e7f, #4f7ddc);
}

.featured-korea-2 {
    background-image: linear-gradient(135deg, #233b8c, #6b9df0);
}

.featured-korea-3 {
    background-image: linear-gradient(135deg, #1b346e, #5f86e5);
}

.featured-china-1 {
    background-image: linear-gradient(135deg, #b22222, #ff7b7b);
}

.featured-china-2 {
    background-image: linear-gradient(135deg, #c83a3a, #ff9a9a);
}

.featured-china-3 {
    background-image: linear-gradient(135deg, #a52a2a, #ff8b8b);
}

/* Default stacked layout: slight X-axis offset for layered look */
.featured-product-card:nth-child(1) {
    transform: translate(-200%, -50%);
}

.featured-product-card:nth-child(2) {
    transform: translate(-140%, -50%);
}

.featured-product-card:nth-child(3) {
    transform: translate(-80%, -50%);
}

.featured-product-card:nth-child(4) {
    transform: translate(-20%, -50%);
}

.featured-product-card:nth-child(5) {
    transform: translate(40%, -50%);
}

.featured-product-card:nth-child(6) {
    transform: translate(100%, -50%);
}

/* Expanded layout on hover: left 3 = Korea, right 3 = China (X-axis only) */
.featured-products-stage:hover .featured-product-card:nth-child(1) {
    transform: translate(calc(-300% - 25px), -50%);
}

.featured-products-stage:hover .featured-product-card:nth-child(2) {
    transform: translate(calc(-200% - 15px), -50%);
}

.featured-products-stage:hover .featured-product-card:nth-child(3) {
    transform: translate(calc(-100% - 5px), -50%);
}

.featured-products-stage:hover .featured-product-card:nth-child(4) {
    transform: translate(calc(0% + 5px), -50%);
}

.featured-products-stage:hover .featured-product-card:nth-child(5) {
    transform: translate(calc(100% + 15px), -50%);

}

.featured-products-stage:hover .featured-product-card:nth-child(6) {
    transform: translate(calc(200% + 25px), -50%);
}

/* Stats Strip (between hero and products) */
.stats-grid-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.25);
    /* Dark gray background */
    padding: 25px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    /* gap: 20px; */
    max-width: 1440px;
    margin: auto;
    padding: 0px 5vw;
}

.stat-card {
    /* background-color: var(--bg-white);
    box-shadow: var(--shadow); */
    /* border-radius: 10px; */
    padding: 5px 25px;
    text-align: left;
    transition: var(--transition);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Optional: hover effect can remain or be removed/subtled */
.stat-card:hover {
    transform: translateY(-4px);
    /* box-shadow: var(--shadow-lg); */
    background-color: rgba(255, 255, 255, 0.05);
}

.stat-number,
.stat-number-none{
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
    line-height: 1.2;
}

.stat-label {
    font-size: 14px;
    color: var(--bg-white);
    line-height: 1.2;
    opacity: 0.9;
}

#about .stat-number,
#about .stat-label,
#about .stat-number-none{
    color: var(--primary-color);
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .stat-card {
        border-left: none;
        /* Simplify for mobile/tablet if needed, or keep it. */
        border-left: 1px solid rgba(255, 255, 255, 0.5);
        /* Keep consistency */
        margin-bottom: 20px;
        /* Spacing between rows if gap is not enough or visual separation */
    }
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Carousel Styles */
.carousel-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    /* padding: 0 70px; */
}

.carousel-container {
    overflow: hidden;
    padding: 10px 0px;
    border-radius: 10px;
    width: 100%;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.carousel-track.dragging {
    transition: none;
    cursor: grabbing;
}

.products-track .product-card,
.news-track .news-card {
    flex: 0 0 auto;
    min-width: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: var(--bg-white);
    border: none;
    border-radius: 50%;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.carousel-btn:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
}

.carousel-btn-prev {
    left: 0;
}

.carousel-btn-next {
    right: 0;
}

.product-card {
    position: relative;
    background-color: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    user-select: none;
    aspect-ratio: 1 / 1;
}

.product-card:hover {
    /* transform: translateY(-5px); */
    box-shadow: var(--shadow-lg);
}

.product-image,
.product-info {
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.product-card:hover .product-image,
.product-card:hover .product-info {
    transform: scale(0.9);
    opacity: 0;
}

.product-hover {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: transparent;
    color: #fff;
    text-align: center;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 0.4s ease, transform 0.4s ease;
    overflow: hidden;
    --exposure: 50%;
}

/* Dark overlay for readability */
.product-hover::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(20, 30, 85, 0.4), rgba(31, 46, 127, 0.2));
    z-index: 2;
    pointer-events: none;
}

/* Before/After Images */
.ba-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    transition: transform 0.6s ease;
}

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

.ba-img img:hover {
    transform: scale(1);
}

/* .product-hover:hover .ba-img {
    transform: scale(1.05);
} */

.ba-img.before {
    z-index: 1;
    clip-path: inset(0 calc(100% - var(--exposure)) 0 0);
}

.ba-img.after {
    z-index: 0;
}

/* Labels */
.ba-img.before::after {
    content: 'Before';
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    pointer-events: none;
}

.ba-img.after::after {
    content: 'After';
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    pointer-events: none;
}

/* Draggable Handle */
.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--exposure);
    width: 2px;
    background: white;
    z-index: 10;
    transform: translateX(-50%);
    cursor: ew-resize;
    pointer-events: auto;
}

.ba-handle::after {
    content: '';
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: white;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231f2e7f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8L22 12L18 16'/%3E%3Cpath d='M6 8L2 12L6 16'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px;
}

.product-card:hover .product-hover {
    opacity: 1;
    transform: scale(1);
}

.product-hover-inner {
    max-width: 400px;
    z-index: 5;
    pointer-events: none;
}

.product-hover-inner a {
    pointer-events: auto;
}

/* Specific Product Images */
/* Legacy background rules removed in favor of <img> tags in HTML */

.product-card:hover .product-hover {
    opacity: 1;
    transform: scale(1);
}

.product-hover-inner {
    max-width: 400px;
}

.product-hover-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.product-hover-link {
    margin-top: 4px;
}

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-placeholder {
    color: var(--text-light);
    font-size: 16px;
}

.product-info {
    padding: 10px;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 85px;
    background: rgba(255, 255, 255, 0.7);
}

.product-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.product-description {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.product-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.product-link:hover {
    color: var(--primary-dark);
    padding-left: 5px;
}

/* Applications Section */
.applications-section {
    background-color: var(--bg-light);
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.application-item {
    background-color: var(--bg-white);
    position: relative;
    padding: 170px 30px 40px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}
.application-item img{
    position: absolute;
    object-position: top;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}
.application-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.application-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.application-icon svg {
    width: 100%;
    height: 100%;
}

.application-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 10px;
}

.application-description {
    color: var(--bg-white);
    line-height: 1.6;
}
.application-item .application-icon,
.application-item .application-title,
.application-item .application-description{
    position: relative;
    z-index: 3;
}
/* Application Background Images */
.app-skin-rejuvenation {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2)), url('../images/application-skin-rejuvenation.png');
    background-size: cover;
    background-position: center;
}

.app-body-contouring {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2)), url('../images/application-body-contouring.png');
    background-size: cover;
    background-position: center;
}

.app-hair-removal {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2)), url('../images/application-hair-removal.png');
    background-size: cover;
    background-position: center;
}

.app-acne-treatment {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2)), url('../images/application-acne-treatment.png');
    background-size: cover;
    background-position: center;
}

.app-wound-healing {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2)), url('../images/application-wound-healing.png');
    background-size: cover;
    background-position: center;
}

.app-wellness-centers {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2)), url('../images/application-wellness-centers.png');
    background-size: cover;
    background-position: center;
}

/* Advantages Section */
.advantages-section {
    background-color: var(--bg-white);
}

.advantages-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(250px, 1fr));
    gap: 40px;
}

.advantage-item {
    position: relative;
    padding: 20px 20px 20px 80px;
    transition: var(--transition);
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-radius: 16px;
}

.advantage-number {
    position: absolute;
    left: 10px;
    top: 10px;
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.2;
    line-height: 1;
}

.advantage-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.advantage-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* About Section */
.about-section {
    background-color: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    padding-right: 20px;
}

.about-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 16px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

/* .stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-light);
    font-size: 14px;
} */

.about-image {
    width: 100%;
    height: 400px;
    background-color: var(--bg-white);
    background-image: url('/wp-content/themes/GlobalZT/assets/images/about/about-img3.webp');
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    justify-content: center;
    box-shadow: var(--shadow);
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition);
}

/*.about-image::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    right: 0;*/
/*    bottom: 0;*/
/*    background: linear-gradient(to bottom, rgba(31, 46, 127, 0.3), rgba(31, 46, 127, 0.6));*/
/*    z-index: 1;*/
/*}*/

.about-image>* {
    position: relative;
    z-index: 2;
}

.about-image:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.about-placeholder {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* .video-play-btn {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(31, 46, 127, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: #fff;
    box-shadow: 0 4px 20px rgba(31, 46, 127, 0.4);
}

.video-play-btn:hover {
    background: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(31, 46, 127, 0.6);
}

.video-play-btn svg {
    width: 32px;
    height: 32px;
    margin-left: 4px;
} */

/* Video Modal */
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.video-modal-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.video-modal-overlay.active .video-modal-container {
    transform: scale(1);
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.video-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.video-wrapper {
    width: 100%;
    height: 100%;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
}

/* News Section */
.news-section {
    background-color: var(--bg-white);
}

.news-card {
    background-color: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    user-select: none;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-image {
    width: 100%;
    height: 200px;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-placeholder {
    color: var(--text-light);
    font-size: 16px;
    height: 100%;
}

.news-content {
    padding: 10px;
}

.news-date {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}
.news-date a{
    color: var(--primary-color);
}
.news-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-excerpt {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.news-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.news-link:hover {
    color: var(--primary-dark);
    padding-left: 5px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-description {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-section .btn-primary {
    background-color: var(--bg-white);
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    background-color: var(--bg-light);
}

/* Tablet Responsive */
@media (max-width: 1024px) {
    .hero {
        margin-top: 70px;
        min-height: 500px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .stats-strip {
        margin-top: -30px;
    }

    .stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 20px;
    }

    .stat-card {
        padding: 18px 12px;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-label {
        font-size: 13px;
    }

    .featured-products-stage {
        max-width: 640px;
        height: 260px;
    }

    .featured-product-card {
        width: 160px;
        height: 200px;
    }

    /* Tablet: Show 2 products, 2 news */
    .carousel-wrapper {
        padding: 0 55px;
    }

    .carousel-btn {
        width: 45px;
        height: 45px;
    }

    .carousel-btn svg {
        width: 20px;
        height: 20px;
    }

    .carousel-btn-prev {
        left: 5px;
    }

    .carousel-btn-next {
        right: 5px;
    }

    .applications-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-text {
        padding-right: 0;
    }

    .about-image {
        height: 300px;
    }

    .cta-title {
        font-size: 36px;
    }
}

/* Mobile Responsive */
/* Mobile: Adjust featured products hover effect */
@media (max-width: 768px) {
    .hero-content{
        margin-top: -68%;
    }
    .hero-content .btn-primary-white {
    margin-top: 10px !important;
    margin-left: 0 !important;
}
    /* Disable hover shimmer effect on mobile (no hover support) */
    .featured-product-card::before {
        display: none;
    }
    .featured-products-stage-content img{
        filter: brightness(0) invert(1);
    }
    .featured-products-stage::before{
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 3;
    }
    
    .featured-products-stage .bg-featured-products{
        position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    }
    .featured-products-stage-content{
        position: static;
    }
    .featured-products-stage-content h2,
    .featured-products-stage-content p{
        width: 100%;
        text-align: center !important;
        color: white !important;
    }
    /* Alternative: Use touch feedback instead */
    .featured-product-card:active {
        transform: scale(0.98);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .hero {
        margin-top: 0px;
        min-height: 450px;
        padding: 40px 0;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .stats-grid-container {
        padding: 0;
    }

    .stats-strip {
        margin-top: -20px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 16px;
    }

    .stat-card {
        padding: 16px 10px;
    }

    .stat-number {
        font-size: 22px;
    }

    .stat-label {
        font-size: 12px;
    }
    .product-name,
    .product-hover-name{
        font-size: 16px;
    }
    /* On mobile, always show expanded stacked layout */
    .featured-products-stage {
        padding: 0;
        max-width: 100%;
        flex-direction: column;
        height: auto;
    }

    .featured-product-card {
        position: static;
        width: 100%;
        height: 180px;
        transform: none !important;
        margin-bottom: 16px;
    }

    .featured-products-stage:hover .featured-product-card {
        transform: none !important;
    }

    .featured-products-stage-content {
        width: 100%;
        align-items: center !important;
    }

    /* Mobile: Show 1 product, 1 news */
    .carousel-wrapper {
        padding: 0 50px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-btn svg {
        width: 18px;
        height: 18px;
    }

    .carousel-btn-prev {
        left: 5px;
    }

    .carousel-btn-next {
        right: 5px;
    }

    .applications-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .advantages-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .advantage-item {
        padding-left: 60px;
    }

    .advantage-number {
        font-size: 36px;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .cta-title {
        font-size: 28px;
    }

    .cta-description {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 18px;
    }

    .hero-subtitle {
        font-size: 11px;
    }

    .stats-grid {
        /* grid-template-columns: 1fr; */
        row-gap: 0px;
    }

    .stat-card {
        padding: 14px 10px;
    }

    .stat-number {
        font-size: 20px;
    }

    .stat-label {
        font-size: 12px;
    }

    .carousel-wrapper {
        padding: 0 45px;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
    }

    .carousel-btn svg {
        width: 16px;
        height: 16px;
    }

    .carousel-btn-prev {
        left: 5px;
    }

    .carousel-btn-next {
        right: 5px;
    }

    .about-image {
        height: 250px;
    }

    .cta-title {
        font-size: 24px;
    }
}