/* Nirmay Pharma — circa-2012 corporate stylesheet */

html, body { margin: 0; padding: 0; }
body {
  font: 12px/1.55 Arial, Helvetica, sans-serif;
  color: #333;
  background: #e5e8ec;
  background-image: repeating-linear-gradient(135deg, rgba(0,0,0,.012) 0 3px, transparent 3px 6px);
}
img { border: 0; max-width: 100%; vertical-align: middle; }
a { color: #0066cc; }
a:hover { text-decoration: underline; color: #003366; }
.wrap { width: 960px; margin: 0 auto; }
.clear { clear: both; }
.left { float: left; } .right { float: right; } .center { text-align: center; }

/* Top bar */
.topbar {
  background: linear-gradient(to bottom, #003366 0%, #001f3f 100%);
  color: #c4d2e1;
  font-size: 11px;
  padding: 6px 0;
  border-bottom: 1px solid #001429;
}
.topbar a { color: #e0edf7; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar .contact { float: right; }

/* Header */
.header {
  background: linear-gradient(to bottom, #ffffff 0%, #f4f6f8 100%);
  padding: 10px 0 0;
  border-bottom: 1px solid #d0d4d9;
}
.header .wrap { position: relative; }
.header .logo { float: left; padding: 6px 0 12px; }
.header .tagline {
  float: right; padding: 14px 0 0; color: #666;
  font-size: 11px; font-style: italic; text-align: right; line-height: 1.4;
}
.header .tagline strong {
  display: block; margin-bottom: 3px;
  font: bold 15px Georgia, "Times New Roman", serif;
  color: #003366; font-style: normal;
}

/* Primary nav */
.navbar {
  background: linear-gradient(to bottom, #0066cc 0%, #004080 100%);
  border-top: 1px solid #0077dd;
  border-bottom: 1px solid #001f3f;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15);
  clear: both;
}
.navbar ul { margin: 0; padding: 0; list-style: none; }
.navbar li {
  float: left;
  border-right: 1px solid rgba(0,0,0,.18);
  border-left: 1px solid rgba(255,255,255,.10);
}
.navbar li:first-child { border-left: 0; }
.navbar a {
  display: block; padding: 10px 18px;
  color: #fff; text-decoration: none;
  font: bold 12px Arial, Helvetica, sans-serif;
  text-transform: uppercase; letter-spacing: .4px;
  text-shadow: 0 -1px 0 rgba(0,0,0,.35);
}
.navbar a:hover,
.navbar li.active a {
  background: linear-gradient(to bottom, #004080 0%, #002d5a 100%);
  text-decoration: none; color: #ffe7a8;
}
.navbar .enquiry {
  float: right;
  background: linear-gradient(to bottom, #ffb700 0%, #d98500 100%);
  border-left: 1px solid #a66300;
  border-right: 0;
}
.navbar .enquiry a { text-shadow: 0 -1px 0 rgba(0,0,0,.3); color: #fff; }
.navbar .enquiry a:hover {
  background: linear-gradient(to bottom, #ffc527 0%, #ea9300 100%);
  color: #fff;
}

/* Breadcrumb */
.breadcrumb {
  background: #f7f8fa;
  border: 1px solid #d9dde1;
  padding: 6px 12px;
  font-size: 11px;
  color: #666;
  margin: 16px 0;
  border-radius: 3px;
}
.breadcrumb a { color: #0066cc; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span.sep { margin: 0 4px; color: #bbb; }

/* Page layout */
.page { padding: 4px 0 30px; }
.content {
  background: #fff;
  border: 1px solid #d0d4d9;
  padding: 20px 22px;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
  border-radius: 4px;
}
.columns { display: flex; gap: 20px; }
.columns .main { flex: 1 1 auto; min-width: 0; }
.columns .sidebar { width: 240px; flex-shrink: 0; }

/* Typography */
h1.page-title {
  font: bold 22px Georgia, "Times New Roman", serif;
  color: #003366;
  border-bottom: 2px solid #0066cc;
  padding: 0 0 8px;
  margin: 0 0 18px;
}
h2 {
  font: bold 16px Georgia, "Times New Roman", serif;
  color: #003366;
  margin: 20px 0 10px;
  padding: 0 0 4px;
  border-bottom: 1px dashed #c8d4e0;
}
h3 {
  font: bold 12px Arial, Helvetica, sans-serif;
  color: #003366;
  margin: 14px 0 6px;
  text-transform: uppercase;
  letter-spacing: .4px;
}
h4 { font: bold 12px Georgia, serif; color: #003366; margin: 10px 0 4px; }
p { margin: 0 0 10px; }
p.lead { font-size: 13px; color: #444; line-height: 1.65; }
ul, ol { margin: 0 0 10px 18px; padding: 0; }
ul li, ol li { margin-bottom: 3px; }
hr.dotted { border: 0; border-top: 1px dashed #c8d4e0; margin: 20px 0; }

/* Banner / hero */
.banner {
  position: relative;
  background: linear-gradient(to bottom, #003366 0%, #0066cc 100%);
  border: 1px solid #001f3f;
  border-radius: 5px;
  padding: 26px 28px 40px;
  color: #fff;
  margin-bottom: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 2px 4px rgba(0,0,0,.15);
}
.banner h1 {
  font: bold 26px Georgia, "Times New Roman", serif;
  color: #fff; margin: 0 0 10px;
  text-shadow: 0 1px 0 rgba(0,0,0,.35);
  border: 0; padding: 0;
}
.banner p { font-size: 13px; max-width: 580px; line-height: 1.6; margin: 0 0 14px; color: #e6eef8; }
.banner .btn { margin-top: 6px; }
.banner-pager { position: absolute; bottom: 12px; right: 16px; }
.banner-pager span {
  display: inline-block; width: 10px; height: 10px;
  border-radius: 50%; background: rgba(255,255,255,.35);
  margin-left: 4px; border: 1px solid rgba(0,0,0,.15);
}
.banner-pager .active { background: #ffb700; }

/* Grid boxes */
.grid4 {
  margin: 0; padding: 0; list-style: none;
  display: flex; gap: 12px; flex-wrap: wrap;
}
.grid4 li {
  flex: 1 1 calc(25% - 12px); min-width: 140px;
  background: linear-gradient(to bottom, #ffffff 0%, #f0f4f8 100%);
  border: 1px solid #d0d4d9;
  padding: 14px;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.grid4 li h3 { margin-top: 0; color: #003366; }
.grid4 li p { font-size: 11px; color: #555; margin: 4px 0 0; line-height: 1.5; }

.grid3 {
  display: flex; gap: 16px; list-style: none; margin: 0; padding: 0;
}
.grid3 li {
  flex: 1;
  background: #fff;
  border: 1px solid #d0d4d9;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.grid3 li .thumb {
  background: linear-gradient(135deg, #eef2f7 0%, #d8e2ed 100%);
  height: 120px;
  border-bottom: 1px solid #d0d4d9;
  border-radius: 4px 4px 0 0;
  display: flex; align-items: center; justify-content: center;
  color: #6b7d92; font: italic 11px Georgia, serif;
  letter-spacing: .5px; text-transform: uppercase;
}
.grid3 li .body { padding: 12px 14px; font-size: 11px; line-height: 1.55; color: #555; }
.grid3 li .body h3 { margin-top: 0; }
.grid3 li img.thumb-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid #d0d4d9;
  border-radius: 4px 4px 0 0;
}
/* 2-column variant: equal-width cards side-by-side */
.grid3.grid2 { gap: 18px; align-items: flex-start; }
.grid3.grid2 li { flex: 1 1 calc(50% - 9px); align-self: flex-start; }

/* Sidebar widgets */
.widget {
  background: #fff;
  border: 1px solid #d0d4d9;
  margin-bottom: 14px;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.widget h3 {
  background: linear-gradient(to bottom, #f3f6f9 0%, #dfe6ec 100%);
  color: #003366;
  border-bottom: 1px solid #d0d4d9;
  padding: 7px 12px;
  margin: 0;
  font: bold 11px Arial, Helvetica, sans-serif;
  text-transform: uppercase; letter-spacing: .4px;
  border-radius: 4px 4px 0 0;
}
.widget .w-body { padding: 10px 12px; font-size: 11px; line-height: 1.55; color: #444; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { border-bottom: 1px dotted #ddd; padding: 6px 0; }
.widget li:last-child { border-bottom: 0; }
.widget .date { color: #999; font-size: 10px; display: block; margin-bottom: 2px; font-style: italic; }
.widget .quick li { border: 0; padding: 3px 0; }
.widget .quick a::before { content: "» "; color: #ffb700; font-weight: bold; }

/* Buttons */
.btn {
  display: inline-block; padding: 6px 16px;
  background: linear-gradient(to bottom, #ffb700 0%, #d98500 100%);
  border: 1px solid #a66300;
  color: #fff; text-decoration: none;
  font: bold 12px Arial, Helvetica, sans-serif;
  text-shadow: 0 -1px 0 rgba(0,0,0,.3);
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 2px rgba(0,0,0,.15);
  cursor: pointer;
}
.btn:hover { background: linear-gradient(to bottom, #ffc527 0%, #ea9300 100%); text-decoration: none; color: #fff; }
.btn-blue {
  background: linear-gradient(to bottom, #0077dd 0%, #0055aa 100%);
  border-color: #003366;
}
.btn-blue:hover { background: linear-gradient(to bottom, #0088ee 0%, #0066cc 100%); color: #fff; }
.btn-sm { padding: 4px 10px; font-size: 11px; }

/* Tables */
table.data { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #d0d4d9; margin: 10px 0; }
table.data th {
  background: linear-gradient(to bottom, #f3f6f9 0%, #dfe6ec 100%);
  text-align: left; padding: 7px 10px;
  border-bottom: 1px solid #d0d4d9;
  font: bold 12px Arial, sans-serif; color: #003366;
}
table.data td { padding: 6px 10px; border-bottom: 1px solid #eee; font-size: 11px; vertical-align: top; }
table.data tr:nth-child(even) td { background: #fafbfc; }

/* Definition list style for plant specs */
dl.spec { margin: 10px 0; padding: 0; }
dl.spec dt { font-weight: bold; color: #003366; float: left; clear: left; width: 130px; padding: 5px 0; font-size: 11px; border-bottom: 1px dotted #ddd; }
dl.spec dd { margin: 0 0 0 140px; padding: 5px 0; font-size: 11px; color: #444; border-bottom: 1px dotted #ddd; }

/* Forms */
form.contact-form label { display: block; margin: 10px 0 3px; font-weight: bold; font-size: 11px; color: #333; }
form.contact-form label .req { color: #c00; }
form.contact-form input[type=text],
form.contact-form input[type=email],
form.contact-form input[type=tel],
form.contact-form textarea,
form.contact-form select {
  border: 1px solid #bbb; padding: 6px 7px;
  font: 12px Arial, Helvetica, sans-serif;
  width: 100%; box-sizing: border-box;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.05);
  border-radius: 2px; background: #fff;
}
form.contact-form textarea { height: 110px; resize: vertical; }
form.contact-form input:focus,
form.contact-form textarea:focus,
form.contact-form select:focus {
  outline: 0; border-color: #0066cc; background: #fbfdff;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.08), 0 0 3px rgba(0,102,204,.3);
}
form.contact-form .row { display: flex; gap: 14px; }
form.contact-form .row > div { flex: 1; }
form.contact-form .consent { font-size: 11px; color: #666; margin: 12px 0 6px; }
form.contact-form .notice { color: #228822; font-weight: bold; font-size: 12px; margin-top: 10px; }

/* Certification strip */
.cert-strip {
  display: flex; gap: 28px; justify-content: center; align-items: center;
  padding: 14px 0; border-top: 1px dashed #ccc; border-bottom: 1px dashed #ccc;
  margin: 16px 0;
}
.cert-strip .cert { text-align: center; font-size: 10px; color: #666; text-transform: uppercase; letter-spacing: .4px; }
.cert-strip .seal {
  display: inline-block; width: 54px; height: 54px;
  border: 2px solid #003366; border-radius: 50%;
  background: linear-gradient(to bottom, #ffffff 0%, #dfe6ec 100%);
  color: #003366; font: bold 10px Georgia, serif;
  line-height: 54px; margin-bottom: 4px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 1px 2px rgba(0,0,0,.1);
}
.cert-strip .seal.multiline {
  font-size: 9px; line-height: 1.15;
  display: inline-flex; align-items: center; justify-content: center; text-align: center; padding: 3px;
}

/* Callout / highlight box */
.callout {
  background: linear-gradient(to bottom, #fdfbe5 0%, #f8f2c8 100%);
  border: 1px solid #d9c97f;
  padding: 12px 14px;
  border-radius: 4px;
  margin: 16px 0;
  font-size: 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
}
.callout h3 { color: #6b5a00; margin: 0 0 6px; }

.news-item { border-bottom: 1px dotted #ddd; padding: 8px 0; }
.news-item:last-child { border-bottom: 0; }
.news-item .date { color: #999; font-size: 10px; display: block; font-style: italic; }
.news-item h4 { margin: 2px 0; }
.news-item h4 a { color: #003366; }

/* Footer */
.footer {
  background: #002244;
  color: #a5b6c8;
  padding: 22px 0 10px;
  border-top: 4px solid #ffb700;
  margin-top: 30px;
  font-size: 11px;
}
.footer a { color: #ccdbe8; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer h4 {
  color: #fff; margin: 0 0 8px;
  font: bold 11px Arial, sans-serif;
  text-transform: uppercase; letter-spacing: .5px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  padding-bottom: 4px;
}
.footer .cols { display: flex; gap: 28px; }
.footer .col { flex: 1; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { padding: 2px 0; }
.subfooter {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 18px; padding-top: 10px;
  color: #78889b; display: flex; justify-content: space-between;
  font-size: 10px;
}
.subfooter a { color: #a5b6c8; }

/* Misc */
.note { color: #888; font-size: 11px; font-style: italic; }
.small { font-size: 10px; color: #888; }
.stat { font: bold 26px Georgia, serif; color: #003366; display: block; }
.stat-label { font-size: 10px; color: #888; text-transform: uppercase; letter-spacing: .4px; }

/* Responsive fallback */
@media (max-width: 980px) {
  .wrap { width: auto; padding: 0 12px; }
  .columns { flex-direction: column; }
  .columns .sidebar { width: auto; }
  .navbar ul li { float: none; border-left: 0; border-top: 1px solid rgba(0,0,0,.2); border-right: 0; }
  .navbar .enquiry { float: none; }
  .header .logo, .header .tagline { float: none; text-align: center; padding: 8px 0; }
  .footer .cols { flex-direction: column; gap: 18px; }
  .subfooter { flex-direction: column; gap: 6px; }
  .grid4 li { flex-basis: calc(50% - 12px); }
  .grid3 { flex-direction: column; }
  form.contact-form .row { flex-direction: column; gap: 0; }
  dl.spec dt { float: none; width: auto; border-bottom: 0; padding-bottom: 0; }
  dl.spec dd { margin-left: 0; border-bottom: 1px dotted #ddd; }
}
