/* products Starts */

.product-section {
    padding: 100px 20px 60px;
    display: flex;
    justify-content: center;
    position: relative;
}

/* 🔥 OVERLAY HEADER (FIXED POSITION) */
.section-header {
    position: absolute;
    top: 20px;
    left: calc((100% - 1100px)/2); /* perfect alignment with card */
    z-index: 10;
    width: 100%;
    max-width: 1100px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111;
    margin: 0;
}

/* PRODUCT CARD */
.product-container {
    display: flex;
    max-width: 1100px;
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.product-container:hover {
    transform: rotateY(10deg) rotateX(5deg) scale(1.03);
}

.product-image {
    flex: 1;
    perspective: 1000px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-content {
    flex: 1;
    padding: 40px;
    color: #131313;
}

.product-content h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.tagline {
    color: #0a0a0a;
    font-weight: 500;
    margin-bottom: 15px;
}

.features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.features li {
    margin-bottom: 8px;
}

.price {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #ff0000;
    font-weight: bold;
}

.cta-btn {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(45deg, #00ffcc, #00ccff);
    color: #000;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.cta-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px #00ffcc;
}

/* ✅ RESPONSIVE FIX */
@media(max-width: 768px) {

    .product-container {
        flex-direction: column;
        transform: none !important;
    }

    /* Fix header for mobile */
    .section-header {
        position: static;
        transform: none;
        text-align: center;
        margin-bottom: 20px;
    }
}

/* ends