/* ===== RESET & BASE ===== */
* { box-sizing: border-box; }

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f3f3f3;
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: #333;
}

a { color: #c00000; text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; }

/* ===== WRAPPER ===== */
.wrapper {
  /* width: 1200px; */
  width:100%;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #ccc;
}

/* ===== TOP TITLE ===== */
.top-title {
  text-align: center;
  color: #c00000;
  font-size: 15px;
  font-weight: bold;
  padding: 6px 10px;
  background: #fff;
}

/* ===== HEADER ===== */
.header {
  text-align: center;
  /* background: #008000; */
  background:#198754;
  color: #fff;
  padding: 12px 20px;
  font-size: 28px;
  font-weight: bold;
  border: 3px solid #333;
  /* margin: 0 5px; */
}

/* ===== CONTACT BAR ===== */
.contact-bar {
  text-align: center;
  background: #fff;
  padding: 8px 10px;
  border-bottom: 1px solid #ccc;
  font-size: 13px;
  font-weight: 800;
  color: blue;
}

.contact-bar .title-red {
  color: #c00000;
  font-size: 14px;
}

/* ===== LAYOUT (3 columns) ===== */
.layout {
  display: flex;
  border-top: 1px solid #ccc;
}

/* ===== LEFT SIDEBAR ===== */
.leftbar {
  width: 290px;
  min-width: 290px;
  border-right: 1px solid #ccc;
  padding: 8px;
 /*  background: #fafafa; */
 background: #fff;
  font-size: 12px;
}

.leftbar .nav-main { list-style: none; padding: 0; margin: 0 0 10px 0; }

.leftbar .nav-main li {
  border-bottom: 1px solid #eee;
  padding: 6px 4px;
}

.leftbar .nav-main li a {
  color: #00c;
  font-size: 13px;
  font-weight: bold;
}

.leftbar h3 {
  font-size: 13px;
  background: #eee;
  padding: 6px 8px;
  margin: 12px 0 4px 0;
  color: #c00000;
  border: 1px solid #ddd;
}

.leftbar ul.sub-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.leftbar ul.sub-links li {
  border-bottom: 1px solid #eee;
  padding: 4px 4px;
}

.leftbar ul.sub-links li a {
  color: #c00000;
  font-size: 12px;
}

/* ===== CENTER CONTENT ===== */
.content {
  flex: 1;
  padding: 5px;
  min-width: 0;
}

.banner img {
  width: 100%;
  border: 1px solid #ccc;
}

.content h1 {
  color: #c00000;
  font-size: 22px;
  margin-top: 20px;
}

.content h2 {
  color: #0a3a8f;
  font-size: 18px;
  margin-top: 20px;
}

.content h3 {
  color: #c00000;
  font-size: 16px;
  margin-top: 15px;
}

.content p {
  line-height: 1.6;
  margin: 8px 0;
}

.content ul {
  padding-left: 20px;
}

.content li {
  margin-bottom: 5px;
  line-height: 1.5;
}

.call-text {
  color: #c00000;
  font-size: 16px;
  font-weight: bold;
}

.call-green {
  color: #008000;
  font-size: 22px;
  font-weight: bold;
}

.inventory-heading {
  color: #c00000;
  font-size: 18px;
  font-weight: bold;
  margin-top: 15px;
}

.inventory-item {
  color: #c00000;
  font-size: 14px;
  font-weight: bold;
  margin: 3px 0;
}

.inventory-section-title {
  color: #0000cd;
  font-size: 16px;
  font-weight: bold;
  margin-top: 15px;
}

/* ===== TABLES ===== */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

table th {
  background: #f5f5f5;
  border: 1px solid #ccc;
  padding: 8px 10px;
  text-align: center;
  font-weight: bold;
}

table td {
  border: 1px solid #ccc;
  padding: 8px 10px;
  text-align: center;
}

/* ===== RIGHT SIDEBAR ===== */
.rightbar {
  width: 230px;
  min-width: 230px;
  border-left: 1px solid #ccc;
  padding: 8px;
  /* background: #fafafa; */
   background: #fff;
  font-size: 12px;
}

.rightbar h3 {
  font-size: 13px;
  background: #eee;
  padding: 6px 8px;
  margin: 12px 0 4px 0;
  color: #333;
  border: 1px solid #ddd;
}

.rightbar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rightbar li {
  border-bottom: 1px solid #eee;
  padding: 4px 4px;
}

.rightbar a {
  color: #c00000;
  font-size: 12px;
}

/* ===== FOOTER ===== */
.footer {
  text-align: center;
  padding: 10px;
  font-size: 12px;
  background: #f5f5f5;
  border-top: 1px solid #ccc;
  color: #333;
}

/* ===== FAQ STYLES ===== */
.faq-question {
  font-weight: bold;
  color: #0a3a8f;
  margin-top: 15px;
}

.faq-answer {
  margin: 5px 0 15px 0;
  line-height: 1.6;
}

/* ===== UTILITY ===== */
.text-red { color: #c00000; }
.text-blue { color: #0000cd; }
.text-green { color: #008000; }
.text-bold { font-weight: bold; }
.text-center { text-align: center; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mb-10 { margin-bottom: 10px; }


.chamak-banner {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  background: linear-gradient(90deg,blue);
  background-size: 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shineMove 45s linear infinite;
}

@keyframes shineMove {
  0% { background-position: 0%; }
  100% { background-position: 300%; }
}

/* ===== MOBILE RESPONSIVE ===== */
@media screen and (max-width: 768px) {
  /* Change layout to single column */
  .layout {
    flex-direction: column;
  }
  
  /* Make sidebars full width */
  .leftbar, .rightbar {
    width: 100%;
    min-width: 100%;
    border-right: none;
    border-left: none;
    border-bottom: 2px solid #ccc;
    font-size: 14px; /* Slightly larger text for mobile */
  }
  
  /* Header text size adjustment */
  .header {
    font-size: 20px;
    padding: 10px;
  }
  
  /* Make banner image responsive dynamically */
  .banner img {
    height: auto !important; /* Overrides inline height styles */
    max-height: 200px;
    object-fit: cover;
  }
  
  /* Adjust margins for content spacing */
  .content {
    padding: 15px;
  }
  
  .chamak-banner {
      font-size: 16px; /* slightly smaller on mobile */
  }
}

/* ===== SIDEBAR TOGGLE STYLES ===== */
.mobile-toggle {
  display: none;
  width: 100%;
  padding: 12px;
  background: #c00000;
  color: white;
  border: none;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  text-align: left;
  border-radius: 4px;
}

@media screen and (max-width: 768px) {
  .mobile-toggle {
    display: block;
    margin-bottom: 10px;
  }
  .sidebar-content {
    display: none;
  }
  .sidebar-content.show-mobile {
    display: block;
  }
}
