/* =========================
   ROOT VARIABLES
========================= */
:root {
    --primary: #138c4f;
    --primary-dark: #0f3c5f;
    --secondary: #165670;
    --gradient-primary: linear-gradient(135deg, #1fa363 0%, #165670 100%);
    --white: #ffffff;
    --light: #f4f7f6;
    --text: #555;
    --border: #e2e8f0;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* =========================
   HERO SECTION (FIXED)
========================= */
.product-hero {
    position: relative;   /* 🔥 REQUIRED for ::before/::after */
    overflow: hidden;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 110px 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
    text-align: center;
}

/* Decorative circles */
.product-hero::before,
.product-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}

.product-hero::before {
    top: -100px;
    right: -100px;
    width: 450px;
    height: 450px;
    background: rgba(255,255,255,0.06);
}

.product-hero::after {
    bottom: -120px;
    left: -120px;
    width: 380px;
    height: 380px;
    background: rgba(255,255,255,0.04);
}

/* Hero content layer */
.product-hero .container {
    position: relative;
    z-index: 2;
}

.product-hero .section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255,255,255,0.15);
    border-radius: 30px;
    font-weight: 600;
    margin-bottom: 18px;
}

.product-hero .section-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--white);
}

.product-hero .section-subtitle {
    max-width: 850px;
    margin: auto;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    font-size: 18px;
}

/* =========================
   PAGE WRAPPER
========================= */
.product-page {
    padding: 90px 0;
    background: var(--light);
}

/* =========================
   HEADER (FIXED - NO DUPLICATE CONFLICT)
========================= */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(19,140,79,0.1);
    color: var(--primary);
    border-radius: 30px;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-title {
    font-size: 44px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.section-subtitle {
    max-width: 800px;
    margin: auto;
    color: var(--text);
    line-height: 1.8;
}

/* =========================
   PRODUCT CARD
========================= */
.product-card {
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 70px;
}

.product-card h2 {
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 18px;
}

.product-card p {
    color: var(--text);
    line-height: 1.8;
}

/* ICON */
.icon-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(19,140,79,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.icon-circle i {
    font-size: 75px;
    color: var(--primary);
}

/* =========================
   INFO CARDS
========================= */
.info-card {
    background: #fff;
    padding: 35px 25px;
    border-radius: 18px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: 0.3s ease;
    height: 100%;
}

.info-card i {
    font-size: 42px;
    color: var(--primary);
    margin-bottom: 15px;
}

.info-card h5 {
    color: var(--primary-dark);
    font-weight: 600;
}

.info-card p {
    color: var(--text);
}

/* Hover */
.info-card:hover {
    transform: translateY(-8px);
    background: var(--primary);
}

.info-card:hover i,
.info-card:hover h5,
.info-card:hover p {
    color: #fff;
}

/* =========================
   FEATURE BOX
========================= */
.feature-box {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
}

.feature-box i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 10px;
}

.feature-box h5 {
    color: var(--primary-dark);
}

.feature-box:hover {
    background: var(--primary);
}

.feature-box:hover i,
.feature-box:hover h5 {
    color: #fff;
}

/* =========================
   CONTENT BOX
========================= */
.content-box {
    background: #fff;
    padding: 40px;
    border-radius: 18px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.content-box h2 {
    color: var(--primary-dark);
    font-weight: 700;
}

.content-box p {
    color: var(--text);
    line-height: 1.8;
}

/* LIST */
.product-list {
    padding-left: 20px;
}

.product-list li {
    margin-bottom: 10px;
    color: var(--text);
}

/* =========================
   CTA
========================= */
.product-cta {
    margin-top: 80px;
    padding: 70px 40px;
    border-radius: 25px;
    text-align: center;
    background: var(--gradient-primary);
    color: #fff;
}

.product-cta h2 {
    font-weight: 700;
}

.product-cta p {
    max-width: 700px;
    margin: 20px auto;
}

.cta-btn {
    display: inline-block;
    padding: 14px 35px;
    background: #fff;
    color: var(--primary);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
}

/* =========================
   GALLERY FIXED
========================= */
.product-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 60px 0;
}

.gallery-item {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: 0.4s;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {

    .product-hero .section-title {
        font-size: 32px;
    }

    .product-card,
    .content-box {
        padding: 25px;
    }

    .product-gallery {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 220px;
    }
}