/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: #333; background: #fff; }
a { text-decoration: none; color: inherit; }
a:hover { color: #1D5B86; }
img { max-width: 100%; }
ul { list-style: none; }

/* ===== TOP BAR ===== */
.top-bar {
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
    padding: 6px 0;
    font-size: 12px;
    color: #555;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: #1D5B86; }
.top-bar span { margin: 0 10px; }

/* ===== HEADER ===== */
.site-header { background: #fff; padding: 12px 0; border-bottom: 1px solid #ddd; }
.site-header .container { display: flex; align-items: center; gap: 16px; }
.site-header .logo { width: 80px; height: 80px; object-fit: contain; }
.site-header .company-info h1 { font-size: 24px; color: #1D5B86; font-weight: bold; margin-bottom: 4px; }
.site-header .company-info .sub { font-size: 13px; color: #555; }
.site-header .company-info .gst { font-size: 12px; color: #888; margin-top: 2px; }
.site-header .trust-badge { margin-left: auto; text-align: right; }
.site-header .trust-badge .phone { font-size: 18px; font-weight: bold; color: #1D5B86; display: block; }
.site-header .trust-badge .response { font-size: 12px; color: #555; margin-top: 4px; }
.site-header .trust-badge .send-email { display: inline-block; margin-top: 6px; background: #1D5B86; color: #fff; padding: 5px 14px; border-radius: 3px; font-size: 12px; }
.site-header .trust-badge .send-email:hover { background: #174d73; }

/* ===== NAVIGATION ===== */
nav { background: #1D5B86; }
nav .container { display: flex; align-items: stretch; }
nav ul { display: flex; }
nav ul li { position: relative; }
nav ul li a {
    display: block; padding: 12px 18px; color: #fff; font-size: 13px;
    font-weight: bold; text-transform: uppercase; letter-spacing: 0.5px;
    transition: background 0.2s;
}
nav ul li a:hover, nav ul li.active > a { background: #174d73; color: #fff; }
nav ul li .dropdown {
    display: none; position: absolute; top: 100%; left: 0;
    background: #fff; border: 1px solid #ddd; min-width: 220px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 1000;
}
nav ul li:hover .dropdown { display: block; }
nav ul li .dropdown li a { color: #333; padding: 9px 16px; font-size: 13px; font-weight: normal; text-transform: none; border-bottom: 1px solid #f0f0f0; }
nav ul li .dropdown li a:hover { background: #f0f6fb; color: #1D5B86; }
nav ul li .dropdown li:last-child a { border-bottom: none; }
nav ul li .has-dropdown > a::after { content: " ▾"; font-size: 10px; }

/* ===== CONTAINER ===== */
.container { max-width: 1140px; margin: 0 auto; padding: 0 15px; }

/* ===== HERO / BANNER ===== */
.hero { background: #1D5B86; color: #fff; padding: 60px 0; text-align: center; }
.hero h2 { font-size: 36px; margin-bottom: 12px; }
.hero p { font-size: 16px; opacity: 0.9; margin-bottom: 28px; max-width: 600px; margin-left: auto; margin-right: auto; }
.btn-primary { display: inline-block; background: #fff; color: #1D5B86; padding: 12px 30px; border-radius: 4px; font-weight: bold; font-size: 15px; transition: all 0.2s; border: 2px solid #fff; }
.btn-primary:hover { background: transparent; color: #fff; }
.btn-blue { display: inline-block; background: #1D5B86; color: #fff; padding: 10px 24px; border-radius: 4px; font-weight: bold; font-size: 14px; transition: all 0.2s; border: 2px solid #1D5B86; }
.btn-blue:hover { background: #174d73; border-color: #174d73; }

/* ===== SECTION HEADINGS ===== */
.section { padding: 40px 0; }
.section-title { font-size: 24px; color: #1D5B86; font-weight: bold; margin-bottom: 8px; border-bottom: 2px solid #1D5B86; display: inline-block; padding-bottom: 4px; }
.section-subtitle { font-size: 14px; color: #777; margin-bottom: 24px; }

/* ===== PRODUCT GRID ===== */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .product-grid { grid-template-columns: 1fr; } }

.product-card { border: 1px solid #ddd; border-radius: 4px; overflow: hidden; background: #fff; transition: box-shadow 0.2s, border-color 0.2s; }
.product-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.12); border-color: #1D5B86; }
.product-card .card-image { width: 100%; height: 200px; object-fit: cover; display: block; background: #f5f8fb; }
.product-card .card-image-placeholder { width: 100%; height: 200px; background: linear-gradient(135deg, #e8f0f7, #d0e4f0); display: flex; align-items: center; justify-content: center; color: #1D5B86; font-size: 13px; font-weight: bold; text-align: center; padding: 10px; }
.product-card .card-body { padding: 14px; }
.product-card .card-category { font-size: 11px; color: #fff; background: #1D5B86; display: inline-block; padding: 2px 8px; border-radius: 2px; margin-bottom: 6px; }
.product-card .card-title { font-size: 15px; font-weight: bold; color: #222; margin-bottom: 6px; line-height: 1.4; }
.product-card .card-desc { font-size: 13px; color: #666; line-height: 1.5; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card .card-footer { display: flex; justify-content: space-between; align-items: center; }
.product-card .card-origin { font-size: 11px; color: #888; }
.featured-badge { font-size: 10px; background: #f90; color: #fff; padding: 2px 7px; border-radius: 2px; font-weight: bold; }

/* ===== PRODUCTS PAGE LAYOUT ===== */
.products-layout { display: grid; grid-template-columns: 220px 1fr; gap: 24px; margin-top: 24px; }
@media (max-width: 768px) { .products-layout { grid-template-columns: 1fr; } }
.sidebar { border: 1px solid #ddd; border-radius: 4px; padding: 16px; background: #fafafa; height: fit-content; }
.sidebar h3 { font-size: 15px; font-weight: bold; color: #1D5B86; border-bottom: 2px solid #1D5B86; padding-bottom: 6px; margin-bottom: 12px; }
.sidebar ul li a { display: block; padding: 7px 0; border-bottom: 1px solid #eee; font-size: 13px; color: #444; transition: color 0.2s; }
.sidebar ul li a:hover, .sidebar ul li a.active { color: #1D5B86; font-weight: bold; padding-left: 4px; }
.sidebar ul li:last-child a { border-bottom: none; }

/* ===== ABOUT / CONTENT PAGES ===== */
.content-box { background: #fff; border: 1px solid #ddd; border-radius: 4px; padding: 30px; margin-top: 20px; }
.content-box h2 { font-size: 22px; color: #1D5B86; margin-bottom: 16px; }
.content-box p { font-size: 14px; color: #555; line-height: 1.8; margin-bottom: 14px; }
.content-box ul li { font-size: 14px; color: #555; line-height: 1.8; padding: 4px 0 4px 20px; position: relative; }
.content-box ul li::before { content: "✅"; position: absolute; left: 0; }

/* ===== TWO COLUMN ===== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 20px; }
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; } }

/* ===== WHY US CARDS ===== */
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 20px; }
@media (max-width: 600px) { .pillars { grid-template-columns: 1fr; } }
.pillar-card { background: #f0f6fb; border-left: 4px solid #1D5B86; padding: 16px; border-radius: 4px; }
.pillar-card h4 { font-size: 15px; color: #1D5B86; margin-bottom: 6px; }
.pillar-card p { font-size: 13px; color: #666; line-height: 1.6; }

/* ===== STATS BAR ===== */
.stats-bar { background: #174d73; color: #fff; padding: 20px 0; }
.stats-bar .container { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 16px; text-align: center; }
.stat-item .num { font-size: 28px; font-weight: bold; display: block; }
.stat-item .label { font-size: 13px; opacity: 0.85; }

/* ===== CATEGORIES GRID ===== */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
.cat-card { border: 1px solid #ddd; border-radius: 4px; padding: 20px 12px; text-align: center; background: #f5f8fb; transition: all 0.2s; cursor: pointer; }
.cat-card:hover { background: #1D5B86; color: #fff; border-color: #1D5B86; transform: translateY(-2px); }
.cat-card:hover .cat-name { color: #fff; }
.cat-icon { font-size: 28px; display: block; margin-bottom: 8px; }
.cat-name { font-size: 13px; font-weight: bold; color: #1D5B86; }

/* ===== CONTACT FORM ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 20px; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info h3 { font-size: 18px; color: #1D5B86; margin-bottom: 16px; }
.contact-info p { font-size: 14px; color: #555; line-height: 1.8; margin-bottom: 10px; }
.contact-info .info-row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.contact-info .info-row .icon { color: #1D5B86; font-size: 16px; margin-top: 2px; }
.contact-form h3 { font-size: 18px; color: #1D5B86; margin-bottom: 16px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; font-weight: bold; color: #444; margin-bottom: 5px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 9px 12px; border: 1px solid #ccc; border-radius: 3px; font-size: 13px; font-family: Arial, sans-serif; transition: border-color 0.2s; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: #1D5B86; outline: none; }
.form-group textarea { resize: vertical; min-height: 100px; }
.success-msg { background: #e8f5e9; border: 1px solid #4caf50; color: #2e7d32; padding: 12px; border-radius: 4px; margin-bottom: 16px; font-size: 13px; }
.error-msg { background: #fdecea; border: 1px solid #f44336; color: #c62828; padding: 12px; border-radius: 4px; margin-bottom: 16px; font-size: 13px; }

/* ===== PRODUCT DETAIL ===== */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 24px; }
@media (max-width: 768px) { .product-detail { grid-template-columns: 1fr; } }
.product-detail .detail-image img { width: 100%; border: 1px solid #ddd; border-radius: 4px; }
.product-detail .detail-image .no-image { width: 100%; height: 320px; background: #e8f0f7; display: flex; align-items: center; justify-content: center; font-size: 16px; color: #1D5B86; border-radius: 4px; border: 1px solid #ddd; }
.product-detail .detail-info h1 { font-size: 22px; color: #222; margin-bottom: 10px; }
.product-detail .detail-info .category-badge { background: #1D5B86; color: #fff; padding: 3px 12px; border-radius: 2px; font-size: 12px; margin-bottom: 14px; display: inline-block; }
.product-detail .detail-info .detail-row { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid #f0f0f0; font-size: 13px; }
.product-detail .detail-info .detail-row .key { font-weight: bold; color: #444; min-width: 100px; }
.product-detail .detail-info .detail-row .val { color: #666; }
.product-detail .detail-info .description { font-size: 14px; color: #555; line-height: 1.8; margin: 16px 0; }
.product-detail .detail-info .price-note { background: #f0f6fb; border: 1px solid #1D5B86; border-radius: 4px; padding: 12px; font-size: 13px; color: #1D5B86; font-weight: bold; text-align: center; margin: 16px 0; }

/* ===== INQUIRY FORM IN DETAIL ===== */
.inquiry-box { background: #f5f8fb; border: 1px solid #ddd; border-radius: 4px; padding: 20px; margin-top: 20px; }
.inquiry-box h3 { font-size: 17px; color: #1D5B86; margin-bottom: 16px; border-bottom: 1px solid #ddd; padding-bottom: 8px; }

/* ===== FOOTER ===== */
.site-footer { background: #2c2c2c; color: #ccc; padding: 40px 0 0; margin-top: 50px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1.5fr 1fr; gap: 30px; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-size: 14px; font-weight: bold; color: #fff; margin-bottom: 14px; border-bottom: 1px solid #444; padding-bottom: 6px; }
.site-footer p { font-size: 13px; line-height: 1.8; color: #aaa; margin-bottom: 8px; }
.site-footer ul li { padding: 4px 0; }
.site-footer ul li a { font-size: 13px; color: #aaa; transition: color 0.2s; }
.site-footer ul li a:hover { color: #1D5B86; }
.site-footer ul li a::before { content: "› "; color: #1D5B86; }
.footer-bottom { background: #1D5B86; color: #fff; text-align: center; padding: 12px; font-size: 12px; margin-top: 30px; }
.footer-bottom a { color: #cce4f5; }

/* ===== BREADCRUMB ===== */
.breadcrumb { background: #f5f5f5; padding: 10px 0; border-bottom: 1px solid #eee; font-size: 13px; }
.breadcrumb a { color: #1D5B86; }
.breadcrumb span { color: #888; margin: 0 6px; }

/* ===== MOBILE NAV TOGGLE ===== */
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; padding: 12px 16px; margin-left: auto; }
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    nav ul { display: none; flex-direction: column; width: 100%; }
    nav ul.open { display: flex; }
    nav ul li .dropdown { position: static; box-shadow: none; border: none; background: #174d73; }
    nav ul li .dropdown li a { color: #ddd; padding-left: 30px; }
}

/* ===== MISC ===== */
.mt-20 { margin-top: 20px; }
.mt-10 { margin-top: 10px; }
.text-center { text-align: center; }
.cta-banner { background: #1D5B86; color: #fff; padding: 40px; text-align: center; margin-top: 40px; border-radius: 4px; }
.cta-banner h3 { font-size: 22px; margin-bottom: 10px; }
.cta-banner p { font-size: 14px; opacity: 0.9; margin-bottom: 20px; }
.showing-count { font-size: 13px; color: #666; margin-bottom: 16px; }
.no-products { text-align: center; padding: 40px; color: #888; font-size: 15px; }
