﻿
.custom-headline-title {
    text-align: center;
    font-size:1.8rem;
    margin: 30px 0 40px;
    font-weight: 700;
    color: #2c3e50;
}

.custom-headline-carousel {
    perspective: 1200px;
    width: 100%;
}

/* IMPORTANT: Keep .swiper class for Swiper.js to work */
.custom-swiper {
    width: 100%;
    height: 300px;
    transform-style: preserve-3d;
}

.custom-swiper-slide {
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #ebeef5;
}

.custom-slide-content {
    text-align: center;
    max-width: 500px;
    z-index: 2;
}

.custom-slide-icon {
    font-size: 3rem;
    margin-bottom: 1.2rem;
    background:black;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.custom-swiper-slide h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: black;
}

.custom-swiper-slide p {
    color: #64748b;
    line-height: 1.6;
}

/* Pagination */
.custom-swiper-pagination {
    position: relative;
    margin-top: 20px;
}

    .custom-swiper-pagination .swiper-pagination-bullet {
        background: #6c63ff;
        opacity: 0.6;
    }

    .custom-swiper-pagination .swiper-pagination-bullet-active {
        background: #007bff;
        opacity: 1;
    }

/* Responsive */
@media (max-width: 600px) {
    .custom-swiper
    {
        height:25%;
    }
  
    .custom-swiper-slide {
        padding: 1.5rem;
    }

    .custom-slide-icon {
        font-size: 2.4rem;
    }
}

/* ===== HERO CAROUSEL ===== */
.hero-carousel {
    width: 100vw;
    height: 60vh;
    position: relative;
}

    .hero-carousel .swiper {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }

.swiper-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 20px;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.slide-1 .slide-bg {
    background-image: url('../Images/Future Products.jpg');
    font-family: 'Zalando Sans Expanded', sans-serif;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-mid);
    overflow-x: hidden;
}

.slide-2 .slide-bg {
    background-image: url('../Images/Future Products.jpg');
    font-family: 'Zalando Sans Expanded', sans-serif;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-mid);
    overflow-x: hidden;
}

.slide-3 .slide-bg {
    background-image: url('../Images/Future Products.jpg');
    font-family: 'Zalando Sans Expanded', sans-serif;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-mid);
    overflow-x: hidden;
}

.slide-content {
    z-index: 10;
    max-width: 900px;
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: opacity 1.8s cubic-bezier(0.23, 1, 0.32, 1), transform 1.8s cubic-bezier(0.23, 1, 0.32, 1);
    font-family: 'Encode Sans Semi Expanded', sans-serif;
}

.swiper-slide-active .slide-content {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.line1 {
    font-weight: 900;
    font-size: clamp(2.8rem, 8vw, 5rem);
    color: white;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 255, 255, 0.5), 0 0 40px rgba(204, 218, 209, 0.3);
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.line2 {
    font-weight: 600;
    font-size: clamp(1.2rem, 4vw, 2rem);
    color: var(--bg-light);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 12px rgba(204, 218, 209, 0.5);
}

.swiper-pagination {
    bottom: 40px !important;
}

.swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    background: white;
    opacity: 0.5;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
    background: var(--bg-light) !important;
    transform: scale(1.3);
    box-shadow: 0 0 16px rgba(204, 218, 209, 0.8) !important;
}

/* ===== CARDS SECTION ===== */
.section-title {
    text-align: center;
    font-family: 'Zalando Sans Expanded', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    margin: 50px 0 50px;
    color: var(--primary);
}

.cards-grid {
    margin-bottom:5vh;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1300px;
}

.card {
    position: relative;
    width: 320px;
    height: 230px;
    background: white;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 26px;
    cursor: pointer;
}

    .card:hover {
        transform: translateY(-12px) scale(1.025);
        box-shadow: 0 22px 45px rgba(0, 0, 0, 0.18);
    }

    .card::before {
        content: "";
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: white;
        transform: rotate(25deg);
        opacity: 0.08;
        transition: all 0.5s ease;
    }

    .card:hover::before {
        opacity: 0.22;
        transform: rotate(10deg) scale(1.15);
    }

.icon {
    font-size: 42px;
    color: var(--primary);
    margin-bottom: 12px;
    transition: all 0.4s ease;
}

.card:hover .icon {
    transform: scale(1.25) rotate(6deg);
    color: var(--text-dark);
    text-shadow: 0 0 14px var(--text-mid);
}

.card h3 {
    font-family: 'Zalando Sans Expanded', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
}

.card p {
    font-family: 'Zalando Sans Expanded', sans-serif;
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.5;
    opacity: 0.9;
}

.btn {
    background: linear-gradient(135deg, var(--primary), var(--text-dark));
    color: white;
    padding: 8px 20px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    font-size: 13px;
    align-self: flex-start;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

    .btn:hover {
        background: linear-gradient(135deg, var(--text-dark), var(--primary));
        transform: translateY(-4px) scale(1.06);
        box-shadow: 0 8px 22px rgba(0,0,0,0.22);
    }


