*,
*::before,
*::after {
    box-sizing: border-box;
}
:root {
    /* Dark Theme (Default) */
    --bg-dark: #020b18;
    --glass-bg: rgba(2, 11, 24, 0.7);
    --text-primary: #ffffff;
    --text-gold: #d4af37;
    --nav-idle: #ffffff;
    --nav-active: #d4af37;
    --accent-gold: #d4af37;
    --accent-gold-soft: rgba(212, 175, 55, 0.25);
    --hex-border: #d4af37;
    --hex-text: #d4af37;
    --hex-inner-bg: rgba(2, 11, 24, 0.85);
    --footer-bg: linear-gradient(180deg, #040b14, #02060c);
    --footer-text: #cfd6e0;
    --footer-border: rgba(255, 200, 80, 0.25);
    --footer-highlight: rgba(212, 175, 55, 0.05);
    
}

[data-theme="light"] {
    /* Light Theme */
    --bg-dark: #f0f4f8;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --text-primary: #002d5b; /* Logo Blue */
    --text-gold: #b8860b;
    --nav-idle: #002d5b; /* Blue in light mode */
    --nav-active: #b8860b; /* Golden when clicked */
    --accent-gold: #002d5b;
    --accent-gold-soft: #f0f4f8;
    --hex-border:#002d5b;
    --hex-text: #002d5b;
    --hex-inner-bg: #f0f4f8;
    --footer-bg: linear-gradient(180deg, #f7f9fc, #e9eef5);
    --footer-text: #002d5b;
    --footer-border: rgba(0, 45, 91, 0.2);
    --footer-highlight: rgba(0, 45, 91, 0.06);
}

.gold { color: var(--text-gold); }

/* Big Box */
.chemical-box {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
    border-radius: 22px;
    padding: 50px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.4);
}

/* Header layout */
.chemical-header {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 30px;
}

/* Image */
.chemical-image {
    width: 240px;
    height: auto;
    border-radius: 18px;
    border: 1px solid rgba(212,175,55,0.4);
    background: #fff;
    padding: 10px;
}

/* Header text */
.chemical-header-text {
    flex: 1;
}

@media (max-width: 900px) {
    .chemical-header {
        flex-direction: column;
        text-align: center;
    }

    .chemical-image {
        width: 200px;
    }
}
.products-section {
    padding: 120px 8% 80px;
    background: var(--bg-dark);
}

.products-container {
    max-width: 1100px;
    margin: auto;
}

.download-section {
  margin-top: 18px;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 2px solid #d4af37;
  color: #d4af37;
  border-radius: 30px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.download-btn i {
  font-size: 18px;
  color: #ff4d4d;
}

.download-btn:hover {
  background: #d4af37;
  color: #000;
  transform: translateY(-2px);
}

.download-btn:hover i {
  color: #000;
}

.file-info {
  font-size: 12px;
  color: #aaa;
  margin-top: 6px;
}


.table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 0px;
}

.chemical-code {
    font-size: 1.2rem;
    color: var(--text-gold);
}

.chemical-tagline {
    max-width: 850px;
    margin: 0 auto 20px;
    color: var(--text-primary);
}

.chemical-description {
    max-width: 900px;
    margin: 0 auto 50px;
    line-height: 1.7;
}
.oil-ul{
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-subheading {
    font-size: 1.4rem;
    color: var(--text-gold);
    margin: 40px 0 20px;
}

/* Table */
.table-wrapper {
    overflow-x: auto;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: hidden;
}

.spec-table th,
.spec-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(212,175,55,0.25);
    text-align: left;
}

.spec-table th {
    background: rgba(212,175,55,0.15);
    color: var(--text-gold);
    font-weight: 600;
}

/* Lists */
.chemical-list {
    padding-left: 20px;
}

.chemical-list li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Button */
.product-btn {
    margin-top: 40px;
    display: inline-block;
    padding: 12px 26px;
    border-radius: 30px;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    font-weight: 600;
    text-decoration: none;
}

.product-btn:hover {
    background: var(--accent-gold);
    color: #000;
}
