/* =========================================
   GLOBAL PRODUCTS CSS (For All 6 Pages)
   ========================================= */

:root {
    --navy: #0f172a;
    --blue: #005b96;
    --white: #ffffff;
    --light-bg: #f8fafc;
    --border: #e2e8f0;
}

.section-spacer { padding: 80px 0; }
.bg-light { background: var(--light-bg); }
.bg-white { background: var(--white); }
.bg-navy { background: var(--navy); }

/* --- HERO SECTION --- */
.product-hero {
    height: 50vh;
    background: var(--navy);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.pattern-overlay {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        rgba(255,255,255,0.03) 0px,
        rgba(255,255,255,0.03) 1px,
        transparent 1px,
        transparent 10px
    );
}

.hero-title { font-family: 'Rajdhani', sans-serif; font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; }
.text-blue { color: #60a5fa; }
.hero-label { font-family: 'Rajdhani', sans-serif; color: #60a5fa; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; display: block; margin-bottom: 10px; }
.hero-desc { font-family: 'Barlow', sans-serif; color: #cbd5e1; max-width: 700px; margin: 0 auto; font-size: 1.1rem; }

/* --- PRODUCT CATEGORIES --- */
.category-title {
    font-family: 'Rajdhani', sans-serif;
    color: var(--navy);
    font-size: 2rem;
    margin: 30px 0;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
    display: inline-block;
}

.category-title i { color: var(--blue); margin-right: 10px; }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

/* --- PRODUCT CARDS --- */
.product-card {
    background: white;
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 8px;
    transition: 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-color: var(--blue);
}

.featured-card { border-top: 4px solid var(--blue); }
.card-badge {
    position: absolute;
    top: 15px; right: 15px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    margin-bottom: 20px;
    border-radius: 4px;
    text-transform: uppercase;
}
.card-badge.orange { background: #f59e0b; color: white; }
.card-badge.green { background: #10b981; color: white; }
.card-badge.blue { background: var(--blue); color: white; }

.product-card h3 {
    font-family: 'Rajdhani', sans-serif;
    color: var(--navy);
    font-size: 1.5rem;
    margin-bottom: 5px;
    
    /* Add these two lines to fix the spacing */
    padding-right: 80px; 
    margin-top: 10px; 
}

.chem-desc { color: #64748b; font-size: 0.9rem; margin-bottom: 20px; font-style: italic; }

.spec-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #334155;
}

.spec-list li {
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e2e8f0;
}
.spec-list strong { color: var(--navy); }

.benefit {
    background: #f0f9ff;
    padding: 15px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #0c4a6e;
    margin-bottom: 20px;
    flex-grow: 1;
}

.btn-outline {
    text-align: center;
    border: 1px solid var(--blue);
    color: var(--blue);
    text-decoration: none;
    padding: 10px;
    border-radius: 4px;
    font-weight: 600;
    transition: 0.3s;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.btn-outline:hover { background: var(--blue); color: white; }

/* --- TECHNICAL TABLE --- */
.table-responsive { overflow-x: auto; margin-top: 20px;}
.tech-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Barlow', sans-serif;
    font-size: 0.95rem;
    white-space: nowrap;
}

.tech-table th, .tech-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.tech-table th {
    background: var(--navy);
    color: white;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
}

.tech-table tr:hover { background: #f8fafc; }

/* --- INQUIRY FORM --- */
.inquiry-form {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 15px;
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 8px;
}

.inquiry-form input, .inquiry-form select {
    padding: 12px;
    border: none;
    border-radius: 4px;
    background: rgba(255,255,255,0.1);
    color: white;
}
.inquiry-form input::placeholder { color: rgba(255,255,255,0.6); }
.inquiry-form select option { background: var(--navy); color: white; }

.btn-submit {
    background: var(--blue);
    color: white;
    border: none;
    padding: 0 30px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 4px;
    text-transform: uppercase;
}
.btn-submit:hover { background: white; color: var(--navy); }

@media (max-width: 992px) {
    .inquiry-form { grid-template-columns: 1fr; }
}