:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #3498db;
    --light-gray: #f8f9fa;
    --dark-gray: #6c757d;
    --white: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--white);
    color: var(--primary-color);
}

.hero-section {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--dark-gray);
    max-width: 800px;
    margin: 0 auto;
}


.product-image {
    height: 220px;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
}

.product-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.products-section {
    padding: 60px 0 80px;
    background: var(--white);
}

.category-badge {
    background: var(--accent-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-block;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-section {
        padding: 60px 0 80px;
    }

    .section-title {
        font-size: 2rem;
    }
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.floating-elements::before,
.floating-elements::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(52, 152, 219, 0.05);
}

.floating-elements::before {
    width: 200px;
    height: 200px;
    top: 20%;
    left: -100px;
    animation: float 6s ease-in-out infinite;
}

.floating-elements::after {
    width: 150px;
    height: 150px;
    bottom: 20%;
    right: -75px;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.button-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-top: auto;
    /* Push to bottom if using flexbox on card */
}

.decorative-heater-content {
    font-size: 3rem;
    color: #e74c3c;
    opacity: 0.1;
    transition: all 0.3s ease;
    line-height: 1;
}
.decorative-product-image {
    width: 60px;
    height: 60px;
    opacity: 0.1;
    transition: all 0.3s ease;
}



/* New CSS */
.page-container {
    margin: 0rem 4rem;
}

.product-parent {
    margin: 1rem 0rem;
}

.product-card {
    width: 28rem;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    height: 100%;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.product-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.15);
}

.product-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
}


.product-content {
    padding: 2rem;
}

.category-tag {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
}

.product-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.product-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    /* min-height: 8rem; */
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #495057;
    font-weight: 500;
}

.feature-item i {
    font-size: 0.9rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.product-btn {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #c0392b, #e74c3c);
    transition: left 0.3s ease;
    z-index: -1;
}

.product-btn:hover::before {
    left: 0;
}

.product-btn:hover {
    color: white;
    transform: translateX(4px);
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.product-btn:hover .btn-arrow {
    transform: translateX(4px);
}

.no-products-message {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 20px;
    border: 2px dashed #dee2e6;
}

.no-products-icon {
    font-size: 4rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.no-products-message h4 {
    color: #495057;
    margin-bottom: 1rem;
}

.no-products-message p {
    color: #6c757d;
    margin-bottom: 2rem;
}

.btn-back {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-back:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.decorative-fan-content {
    font-size: 3rem;
    color: #e74c3c;
    opacity: 0.1;
    transition: all 0.3s ease;
    line-height: 1;
}

.product-card:hover .decorative-fan-content {
    opacity: 0.2;
    transform: rotate(45deg);
}

.product-card:hover .decorative-heater-content {
    opacity: 0.2;
    transform: scale(1.25);
}

@media (max-width: 768px) {
    .product-parent {
        padding: 0px;
        margin: auto;
    }

    .product-content {
        padding: 1.5rem;
    }

    .product-features {
        justify-content: start;
    }

    .product-footer {
        flex-direction: column;
        gap: 1rem;
    }

    .product-card {
        width: 21rem;
        background: #ffffff;
        border-radius: 24px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow: hidden;
        height: 100%;
        position: relative;
        border: 1px solid rgba(0, 0, 0, 0.04);
        margin: 1rem 0rem;
    }
}

