* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Arial', sans-serif; background: #f5f5f5; }

/* Top nav bar */
.top-bar {
  background: #1a1a1a;
  color: white;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 15px;
  font-size: 13px;
}
.top-bar a {
  color: #ccc;
  text-decoration: none;
  padding: 4px 12px;
  border: 1px solid #555;
  font-size: 12px;
}
.top-bar a:hover { background: #333; }
.top-bar .customer-service {
  margin-left: auto;
  color: #ff4444;
  font-weight: bold;
  border: none;
  font-size: 13px;
}

/* Header */
.header {
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 30px;
  border-bottom: 3px solid #cc0000;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 5px;
}
.logo .com { color: #cc0000; font-size: 14px; font-weight: bold; }
.logo .velki {
  font-size: 42px;
  font-weight: 900;
  color: #1a1a1a;
  font-style: italic;
  line-height: 1;
  letter-spacing: -2px;
}
.logo .velki span { color: #cc0000; }
.date-box {
  background: white;
  border: 2px solid #ddd;
  padding: 10px 20px;
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  color: #333;
  line-height: 1;
}
.date-box .day { font-size: 13px; color: #666; }

/* Nav menu */
.nav-menu {
  background: white;
  display: flex;
  align-items: center;
  gap: 0;
  border-bottom: 2px solid #cc0000;
  padding: 0 20px;
  position: relative;
}
.nav-links {
  display: flex;
  flex: 1;
}
.nav-menu a {
  padding: 10px 20px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  border: 1px solid #ddd;
  margin-right: 2px;
  font-family: Arial, sans-serif;
}
.nav-menu a.active {
  background: #1a1a1a;
  color: white;
  border-color: #1a1a1a;
}
.nav-menu a:hover { background: #f0f0f0; }

/* Hamburger button - desktop এ লুকানো */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 8px;
  margin-right: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #cc0000;
  border-radius: 2px;
  transition: all 0.3s;
}

/* Search section */
.search-section {
  max-width: 900px;
  margin: 20px auto;
  background: white;
  border: 1px solid #ddd;
  padding: 20px;
  text-align: center;
}
.search-section h3 {
  font-size: 16px;
  margin-bottom: 15px;
  color: #333;
}
.search-row { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; max-width: 300px; margin: 0 auto; }
.search-row label { font-size: 14px; color: #333; }
.search-row select, .search-row input {
  width: 300px;
  padding: 8px;
  border: 1px solid #aaa;
  font-size: 14px;
}
.search-btn {
  background: #28a745;
  color: white;
  border: none;
  padding: 8px 20px;
  font-size: 14px;
  cursor: pointer;
  margin-top: 5px;
  border-radius: 3px;
}
.search-btn:hover { background: #218838; }

/* Banner */
.banner {
  max-width: 900px;
  margin: 20px auto;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.banner .site-name {
  font-size: 36px;
  font-weight: 900;
  color: #cc0000;
  letter-spacing: 2px;
  margin-bottom: 10px;
  font-style: italic;
}
.banner .banner-title {
  font-size: 22px;
  font-weight: bold;
  color: #cc0000;
  margin-bottom: 10px;
}
.banner .banner-text {
  font-size: 16px;
  color: #cc0000;
  line-height: 1.8;
  font-weight: bold;
}
.banner-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: white;
  color: #333;
  font-size: 11px;
  padding: 2px 8px;
  border: 1px solid #999;
}

/* Agent tables */
.content { max-width: 900px; margin: 0 auto; padding: 10px 0 40px; }
.group-title {
  text-align: center;
  font-size: 15px;
  color: #333;
  margin: 25px 0 8px;
  font-weight: bold;
}
.agent-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border: 0.5px solid black;
}
.agent-table th {
  background: white;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: bold;
  color: #333;
  border: 0.5px solid black;
  text-align: center;
}
.agent-table td {
  padding: 7px 12px;
  font-size: 13px;
  font-weight: bold;
  border: 0.5px solid black;
  text-align: center;
  color: #333;
}
.agent-table tr:nth-child(2n+1) td {
  background: #fff4f4;
}
.agent-table tr:nth-child(even) td {
  background: white;
}
.agent-table td.phone { color: #cc0000; font-weight: bold; }
.agent-table td.complain a {
  color: #cc0000;
  text-decoration: none;
  font-size: 13px;
}
.agent-table td.agent-type { color: #333; }
.whatsapp-btn {
  background: #25D366;
  border: none;
  border-radius: 4px;
  width: 32px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.whatsapp-btn svg { width: 18px; height: 18px; fill: white; }

/* Search result */
.search-msg {
  padding: 10px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 4px;
}
.search-success { background: #e6f9ee; color: #1a7a3c; border: 1px solid #a3d9b1; }
.search-error   { background: #fff0f0; color: #cc0000; border: 1px solid #f5b5b5; }
#searchResult .agent-table { max-width: 860px; margin: 0 auto; }

/* Footer info */
.footer-info {
  max-width: 900px;
  margin: 20px auto 0;
  padding: 20px;
  border-left: 4px solid #cc0000;
  background: white;
}
.footer-info h3 {
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-bottom: 12px;
}
.footer-info p {
  font-size: 13px;
  color: #333;
  line-height: 1.8;
}

/* FAQ Section */
.faq-section {
  max-width: 900px;
  margin: 30px auto 10px;
  scroll-margin-top: 80px;
}
.faq-heading {
  text-align: center;
  font-size: 17px;
  font-weight: bold;
  color: white;
  background: #cc0000;
  padding: 12px;
  margin-bottom: 0;
  letter-spacing: 1px;
}
.faq-item {
  border: 1px solid #ddd;
  border-top: none;
  background: white;
  overflow: hidden;
}
.faq-question {
  background: #f9f9f9;
  padding: 13px 18px;
  font-size: 14px;
  font-weight: bold;
  color: #1a1a1a;
  cursor: pointer;
  border-left: 4px solid #cc0000;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}
.faq-question::after {
  content: '▼';
  font-size: 11px;
  color: #cc0000;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 10px;
}
.faq-question.open::after {
  transform: rotate(180deg);
}
.faq-question:hover {
  background: #fff0f0;
}
.faq-answer {
  display: none;
  padding: 13px 18px 13px 22px;
  font-size: 13px;
  color: #444;
  line-height: 1.9;
  border-top: 1px dashed #eee;
  font-weight: bold;
}
.faq-answer.open {
  display: block;
}

/* ========== SEO ADDITIONS ========== */
.seo-h1 {
  font-size: 13px;
  color: #555;
  text-align: center;
  padding: 8px 15px;
  background: #fff8f8;
  border-bottom: 1px solid #f0d0d0;
  font-weight: normal;
  margin: 0;
}

.seo-intro-block {
  max-width: 900px;
  margin: 0 auto;
  background: #fffaf0;
  border-left: 4px solid #cc0000;
  padding: 15px 20px;
  margin-top: 12px;
}
.seo-intro-block h2 {
  font-size: 15px;
  color: #cc0000;
  margin-bottom: 8px;
  font-weight: bold;
}
.seo-intro-block p {
  font-size: 13px;
  color: #444;
  line-height: 1.8;
}
.seo-intro-block a { color: #cc0000; }

.seo-bottom-block {
  max-width: 900px;
  margin: 20px auto 0;
  background: white;
  border: 1px solid #eee;
  border-top: 3px solid #cc0000;
  padding: 20px 24px;
}
.seo-bottom-block h2 {
  font-size: 16px;
  color: #cc0000;
  margin-bottom: 10px;
}
.seo-bottom-block h3 {
  font-size: 14px;
  color: #333;
  margin: 14px 0 6px;
}
.seo-bottom-block p {
  font-size: 13px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 6px;
}
.seo-bottom-block a { color: #cc0000; text-decoration: underline; }
.seo-blog-cta {
  margin-top: 14px;
  background: #fff0f0;
  border: 1px dashed #cc0000;
  padding: 10px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
}
.seo-blog-cta a { color: #cc0000; }

/* Footer */
.site-footer {
  max-width: 900px;
  margin: 20px auto 30px;
  text-align: center;
  padding: 16px;
  border-top: 1px solid #ddd;
}
.footer-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.footer-links a {
  color: #cc0000;
  text-decoration: none;
  font-size: 13px;
}
.footer-links a:hover { text-decoration: underline; }
.footer-copy {
  font-size: 12px;
  color: #888;
}

/* Nav update for blog link */
.nav-menu a[href="blog.html"] {
  background: #cc0000;
  color: white;
  border-color: #cc0000;
}
.nav-menu a[href="blog.html"]:hover { background: #aa0000; }


/* ========== RESPONSIVE / MOBILE ========== */

/* Tablet - 768px এর নিচে */
@media (max-width: 768px) {

  /* Top bar */
  .top-bar {
    flex-wrap: wrap;
    gap: 4px;
    padding: 6px 10px;
  }
  .top-bar .customer-service {
    margin-left: auto;
  }

  /* Header */
  .header {
    padding: 8px 12px;
  }
  .header-left {
    display: flex;
    align-items: center;
    gap: 0;
  }
  }
  .logo img {
    height: 56px !important;
  }
  .date-box {
    font-size: 22px;
    padding: 6px 12px;
  }

  /* Nav menu - hamburger */
  .hamburger {
    display: flex;
  }
  .nav-menu {
    padding: 0 10px;
    flex-wrap: wrap;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    border-top: 1px solid #eee;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-menu a {
    padding: 12px 16px;
    font-size: 14px;
    border: none;
    border-bottom: 1px solid #eee;
    margin-right: 0;
    width: 100%;
    box-sizing: border-box;
  }
  .nav-menu a:last-child {
    border-bottom: none;
  }

  /* Search */
  .search-section {
    margin: 12px 8px;
    padding: 14px 12px;
  }
  .search-row select,
  .search-row input {
    width: 100%;
  }
  .search-row {
    max-width: 100%;
  }

  /* Hero image - ratio maintain করবে */
  .banner {
    margin: 12px 8px;
  }
  .banner img {
    width: 100%;
    height: auto;
    aspect-ratio: 800 / 300;
    object-fit: cover;
    display: block;
  }

  /* Content / tables */
  .content {
    padding: 6px 8px 30px;
  }
  .agent-table th,
  .agent-table td {
    padding: 6px 6px;
    font-size: 11px;
  }

  /* SEO blocks */
  .seo-intro-block,
  .seo-bottom-block {
    margin: 10px 8px 0;
    padding: 12px 14px;
  }

  /* FAQ */
  .faq-section {
    margin: 16px 8px 10px;
  }
  .faq-question {
    font-size: 13px;
    padding: 11px 14px;
  }

  /* Footer */
  .site-footer {
    margin: 14px 8px 20px;
  }
  .footer-links {
    gap: 12px;
  }
}

/* Mobile - 480px এর নিচে */
@media (max-width: 480px) {

  /* Top bar - ছোট করো */
  .top-bar {
    font-size: 11px;
    padding: 5px 8px;
  }
  .top-bar a {
    font-size: 10px;
    padding: 3px 7px;
  }

  /* Header */
  .header {
    padding: 6px 10px;
  }
  .logo img {
    height: 46px !important;
  }
  .date-box {
    font-size: 18px;
    padding: 5px 10px;
  }
  .date-box .day {
    font-size: 11px;
  }

  /* Nav - hamburger handles mobile */
  .nav-menu {
    padding: 0 8px;
  }

  /* Hero image ratio lock */
  .banner img {
    aspect-ratio: 800 / 300;
    object-fit: cover;
  }

  /* Table - horizontal scroll */
  .content {
    padding: 4px 4px 20px;
    overflow-x: auto;
  }
  .agent-table {
    min-width: 420px;
  }

  /* Group title */
  .group-title {
    font-size: 13px;
    margin: 16px 4px 6px;
  }

  /* SEO H1 */
  .seo-h1 {
    font-size: 12px;
    padding: 6px 10px;
  }
}