/* ============================================
   VELKI AGENT LIST - Main Stylesheet
   velkio.com | Orange/Yellow Minimal Theme
   ============================================ */

/* --- CSS Variables --- */
:root {
  --primary: #F57C00;
  --primary-dark: #E65100;
  --primary-light: #FFB74D;
  --accent: #FFC107;
  --accent-light: #FFE082;
  --bg-dark: #1A1A2E;
  --bg-card: #16213E;
  --bg-card-alt: #0F3460;
  --text-white: #FFFFFF;
  --text-light: #E0E0E0;
  --text-muted: #9E9E9E;
  --border-color: #2A2A4A;
  --success: #4CAF50;
  --danger: #F44336;
  --whatsapp: #25D366;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 4px 20px rgba(0,0,0,0.3);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
  --transition: all 0.3s ease;
  --font-bn: 'Noto Sans Bengali', 'Hind Siliguri', sans-serif;
  --font-en: 'Inter', 'Segoe UI', sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-en);
  background: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--primary-light); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
.logo-card img { max-width: 95px !important; height: 22px !important; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5 { line-height: 1.3; color: var(--text-white); }

/* --- Utilities --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.text-bn { font-family: var(--font-bn); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}
.badge-master { background: var(--primary); color: #fff; }
.badge-super { background: var(--accent); color: #1a1a2e; }
.badge-verified { background: var(--success); color: #fff; }

/* --- Skip to Content (Accessibility) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--primary);
  color: #fff;
  padding: 10px 20px;
  z-index: 10000;
  font-weight: 600;
}
.skip-link:focus { top: 0; }

/* --- Header / Navbar --- */
.header {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-card) 100%);
  border-bottom: 2px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 65px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.5px;
}
.logo .logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  color: #fff;
}
.logo span.highlight { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  color: var(--text-light);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(245, 124, 0, 0.15);
  color: var(--primary);
}
.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 8px 18px !important;
}
.nav-cta:hover {
  background: linear-gradient(135deg, var(--accent), var(--primary)) !important;
  transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text-white);
  margin: 5px 0;
  border-radius: 2px;
  transition: var(--transition);
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-card) 50%, var(--bg-card-alt) 100%);
  padding: 50px 0 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(245,124,0,0.06) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(255,193,7,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
}
.hero h1 .keyword { color: var(--primary); }
.hero .subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 30px;
  font-family: var(--font-bn);
}
.hero .trust-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.hero .trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.hero .trust-badge svg { width: 16px; height: 16px; fill: var(--success); }

/* --- Platform Logos Strip --- */
.platform-logos {
  padding: 14px 0;
  background: var(--bg-dark);
}
.platform-label {
  text-align: center;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 500;
  opacity: 0.4;
}
.logo-strip {
  display: flex;
  flex-direction: row !important;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.logo-card {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 6px;
  padding: 6px 14px;
  width: 120px !important;
  max-width: 120px !important;
  height: 36px !important;
  max-height: 36px !important;
  overflow: hidden !important;
  flex: 0 0 120px !important;
  transition: var(--transition);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}
.logo-card-dark {
  background: #1a1a2e;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.logo-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 12px rgba(245, 124, 0, 0.12);
}
.logo-card img {
  width: auto !important;
  height: 22px !important;
  max-height: 22px !important;
  max-width: 95px !important;
  object-fit: contain !important;
  display: block !important;
}

/* --- Search Section --- */
.search-section {
  padding: 40px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.search-box {
  max-width: 650px;
  margin: 0 auto;
  background: var(--bg-dark);
  border: 2px solid var(--border-color);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(245,124,0,0.15);
}
.search-box h2 {
  font-size: 1.15rem;
  margin-bottom: 18px;
  text-align: center;
  font-family: var(--font-bn);
  color: var(--accent);
}
.search-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.search-form select,
.search-form input[type="text"] {
  flex: 1;
  min-width: 140px;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-white);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}
.search-form select:focus,
.search-form input[type="text"]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(245,124,0,0.1);
}
.search-form option { background: var(--bg-card); }
.btn-search {
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-search:hover {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(245,124,0,0.3);
}
.search-result {
  margin-top: 15px;
  padding: 12px;
  border-radius: var(--radius-sm);
  display: none;
  font-family: var(--font-bn);
}
.search-result.show { display: block; }
.search-result.found { background: rgba(76,175,80,0.1); border: 1px solid var(--success); }
.search-result.not-found { background: rgba(244,67,54,0.1); border: 1px solid var(--danger); }

/* --- Agent Table Section --- */
.agent-section {
  padding: 50px 0;
}
.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}
.section-title .keyword { color: var(--primary); }
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 40px;
  font-family: var(--font-bn);
}

/* Agent Group Card */
.agent-group {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  margin-bottom: 25px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.agent-group:hover {
  border-color: rgba(245,124,0,0.3);
}
.agent-group-header {
  background: linear-gradient(135deg, rgba(245,124,0,0.1), rgba(255,193,7,0.05));
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.agent-group-header h4 {
  font-size: 0.92rem;
  font-family: var(--font-bn);
  color: var(--accent-light);
  font-weight: 600;
}
.agent-group-header .toggle-icon {
  width: 24px;
  height: 24px;
  fill: var(--text-muted);
  transition: var(--transition);
}
.agent-group.collapsed .toggle-icon { transform: rotate(-90deg); }
.agent-group.collapsed .agent-table-wrap { display: none; }

/* Agent Table */
.agent-table-wrap { overflow-x: auto; }
.agent-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.agent-table thead th {
  background: rgba(0,0,0,0.3);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.agent-table tbody tr {
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: var(--transition);
}
.agent-table tbody tr:hover {
  background: rgba(245,124,0,0.06);
}
.agent-table tbody td {
  padding: 12px 16px;
  white-space: nowrap;
  vertical-align: middle;
  word-break: break-word;
}
.agent-table tbody td:last-child {
  white-space: normal;
  word-break: break-word;
  font-size: 0.85rem;
}
.agent-table .agent-id {
  font-weight: 700;
  color: var(--text-white);
  font-size: 1rem;
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  background: var(--whatsapp);
  color: #fff;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  transition: var(--transition);
}
.btn-whatsapp:hover {
  background: #128C7E;
  transform: translateY(-1px);
  color: #fff;
}
.btn-whatsapp svg { width: 14px; height: 14px; fill: #fff; }

/* Phone number clickable links */
.phone-link {
  color: #25D366;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.phone-link:hover {
  color: #128C7E;
  text-decoration: underline;
}

.btn-complain {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  background: rgba(244,67,54,0.15);
  color: var(--danger);
  border: 1px solid rgba(244,67,54,0.3);
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-bn);
  transition: var(--transition);
  cursor: pointer;
}
.btn-complain:hover {
  background: var(--danger);
  color: #fff;
}

/* --- Rules Section --- */
.rules-section {
  padding: 50px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
}
.rules-card {
  max-width: 850px;
  margin: 0 auto;
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 30px;
}
.rules-card h2 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--accent);
}
.rules-list {
  font-family: var(--font-bn);
  font-size: 0.95rem;
  line-height: 2;
}
.rules-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  padding-left: 24px;
  position: relative;
}
.rules-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 0.8rem;
}

/* --- FAQ Section (with Schema) --- */
.faq-section { padding: 50px 0; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { border-color: rgba(245,124,0,0.3); }
.faq-question {
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
  user-select: none;
  transition: var(--transition);
}
.faq-question:hover { background: rgba(245,124,0,0.05); }
.faq-question .faq-icon {
  width: 20px;
  height: 20px;
  fill: var(--primary);
  transition: var(--transition);
  flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer-inner {
  padding: 0 20px 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
  font-family: var(--font-bn);
}

/* --- Video Section --- */
.video-section {
  background: var(--bg-dark);
  padding: 60px 0;
  border-top: 1px solid rgba(245, 124, 0, 0.15);
  border-bottom: 1px solid rgba(245, 124, 0, 0.15);
}
.video-embed-wrap {
  position: relative;
  max-width: 800px;
  margin: 30px auto 0;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  border: 2px solid rgba(245, 124, 0, 0.3);
}
.video-embed-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

/* --- Footer --- */
.footer {
  background: var(--bg-card);
  border-top: 2px solid var(--primary);
  padding: 40px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 12px;
  line-height: 1.8;
}
.footer h4 {
  font-size: 0.95rem;
  margin-bottom: 15px;
  color: var(--accent);
}
.footer-links a {
  display: block;
  color: var(--text-muted);
  font-size: 0.88rem;
  padding: 4px 0;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--primary); padding-left: 6px; }
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); transform: translateY(-2px); }
.footer-social a svg { width: 16px; height: 16px; fill: var(--text-light); }
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
}
.footer-bottom a { color: var(--primary-light); }

/* --- Inner Pages --- */
.page-header {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-alt) 100%);
  padding: 50px 0;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}
.page-header h1 { font-size: 2rem; margin-bottom: 8px; }
.page-header p { color: var(--text-muted); }

.page-content {
  padding: 50px 0;
  max-width: 850px;
  margin: 0 auto;
}
.page-content h2 {
  font-size: 1.3rem;
  margin: 30px 0 12px;
  color: var(--accent);
}
.page-content p, .page-content li {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 12px;
  line-height: 1.8;
}
.page-content ul { padding-left: 20px; }
.page-content ul li { list-style: disc; margin-bottom: 6px; }

/* --- Contact Form --- */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-light);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(245,124,0,0.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.btn-submit {
  padding: 14px 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}
.btn-submit:hover {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(245,124,0,0.3);
}

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 12px 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--primary-light); }
.breadcrumb span { margin: 0 6px; }

/* --- Scroll to Top --- */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.scroll-top:hover { transform: translateY(-3px); background: var(--accent); }
.scroll-top svg { width: 20px; height: 20px; fill: #fff; }
.scroll-top.show { display: flex; }

/* --- Responsive --- */
@media (max-width: 768px) {
  .header .container { height: 56px; }
  .menu-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 2px solid var(--primary);
    flex-direction: column;
    padding: 10px 20px 16px;
    gap: 2px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 12px; width: 100%; }

  .hero { padding: 35px 0 30px; }
  .hero h1 { font-size: 1.5rem; }
  .hero .subtitle { font-size: 0.92rem; }

  /* Platform logos mobile */
  .platform-logos { padding: 10px 0; }
  .platform-label { margin-bottom: 6px; }
  .logo-strip { gap: 8px; }
  .logo-card {
    width: 95px !important;
    max-width: 95px !important;
    flex: 0 0 95px !important;
    height: 30px !important;
    max-height: 30px !important;
    padding: 4px 10px;
  }
  .logo-card img { height: 18px !important; max-width: 75px !important; }

  .search-box { padding: 20px; }
  .search-form { flex-direction: column; }
  .search-form select, .search-form input, .btn-search { width: 100%; }

  .section-title { font-size: 1.25rem; }

  /* Scale down agent table to fit mobile — no horizontal scroll */
  .agent-table-wrap {
    overflow-x: hidden;
    overflow-y: visible;
  }
  .agent-table {
    font-size: 0.82rem;
    transform: scale(0.82);
    transform-origin: top left;
    width: 122%;
  }
  .agent-table thead th { padding: 10px 12px; font-size: 0.72rem; }
  .agent-table tbody td { padding: 10px 12px; }
  .agent-table tbody td:last-child { font-size: 0.75rem; white-space: normal; }
  .btn-whatsapp { padding: 5px 10px; font-size: 0.72rem; }
  .btn-complain { padding: 5px 10px; font-size: 0.72rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 25px; }
  .rules-card { padding: 20px; }

  .video-section { padding: 40px 0; }
  .video-embed-wrap { margin-top: 20px; }

  .scroll-top { bottom: 20px; right: 20px; width: 40px; height: 40px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.3rem; }
  .container { padding: 0 15px; }
  .agent-group-header h4 { font-size: 0.82rem; }

  /* Platform logos extra-small */
  .logo-strip { gap: 6px; }
  .logo-card { width: 82px !important; max-width: 82px !important; flex: 0 0 82px !important; height: 26px !important; padding: 3px 8px; }
  .logo-card img { height: 16px !important; max-width: 65px !important; }

  /* Scale table more on small phones */
  .agent-table {
    transform: scale(0.75);
    transform-origin: top left;
    width: 133.3%;
  }
  .agent-table thead th { padding: 8px 10px; font-size: 0.65rem; }
  .agent-table tbody td { padding: 8px 10px; }
  .agent-table .agent-id { font-size: 0.9rem; }
  .btn-whatsapp { padding: 4px 8px; font-size: 0.65rem; }
}

/* --- Blog Section --- */
.blog-hero {
  padding: 60px 0;
  text-align: center;
}

.blog-section {
  padding: 60px 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.blog-card {
  padding: 25px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.blog-meta {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.85rem;
}

.blog-category {
  background: var(--primary);
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.blog-date {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.blog-card h2 {
  margin: 15px 0;
  color: var(--text-white);
  font-size: 1.3rem;
}

.blog-card h2 a {
  color: var(--text-white);
}

.blog-card h2 a:hover {
  color: var(--primary);
}

.blog-excerpt {
  color: var(--text-muted);
  margin: 15px 0;
  flex-grow: 1;
  line-height: 1.6;
}

.blog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.read-time {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.btn-read-more {
  color: var(--primary);
  font-weight: 600;
  transition: var(--transition);
}

.btn-read-more:hover {
  color: var(--accent);
}

/* Blog Post Page */
.blog-post-container {
  padding: 40px 0;
  max-width: 900px;
  margin: 0 auto;
}

.blog-post {
  background: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius);
  line-height: 1.8;
}

.blog-post h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--text-white);
}

.article-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.toc {
  background: rgba(245, 124, 0, 0.05);
  padding: 20px;
  border-radius: var(--radius);
  margin: 30px 0;
  border-left: 4px solid var(--primary);
}

.toc h3 {
  margin-bottom: 15px;
  color: var(--primary);
}

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

.toc li {
  margin-bottom: 10px;
}

.toc a {
  color: var(--primary-light);
}

.toc a:hover {
  color: var(--accent);
}

.blog-post section {
  margin: 40px 0;
}

.blog-post h2 {
  font-size: 1.8rem;
  margin: 30px 0 15px 0;
  color: var(--primary);
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(245, 124, 0, 0.3);
}

.blog-post h3 {
  font-size: 1.3rem;
  margin: 20px 0 10px 0;
  color: var(--text-white);
}

.blog-post p {
  margin-bottom: 15px;
  color: var(--text-light);
}

.blog-post ul, .blog-post ol {
  margin: 20px 0 20px 30px;
}

.blog-post li {
  margin-bottom: 10px;
  color: var(--text-light);
}

.blog-post ol li {
  list-style: decimal;
}

.blog-post ul li {
  list-style: disc;
}

.blog-post table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
}

.blog-post table th,
.blog-post table td {
  padding: 12px;
  text-align: left;
  border: 1px solid rgba(255,255,255,0.1);
}

.blog-post table th {
  background: rgba(245, 124, 0, 0.1);
  font-weight: 600;
}

.blog-post a {
  color: var(--primary-light);
  text-decoration: underline;
}

.blog-post a:hover {
  color: var(--accent);
}

.article-footer {
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
}

.cta-box, .contact-box, .warning-box, .safety-checklist {
  background: rgba(245, 124, 0, 0.05);
  padding: 25px;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
  margin: 30px 0;
}

.breadcrumb-container {
  background: rgba(0,0,0,0.2);
  padding: 15px 0;
  margin: 20px 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 0.9rem;
  color: var(--text-muted);
  list-style: none;
}

.breadcrumb li {
  list-style: none;
}

.breadcrumb li::after {
  content: ' / ';
  margin-left: 5px;
}

.breadcrumb li:last-child::after {
  content: '';
}

.breadcrumb a {
  color: var(--primary-light);
}

.breadcrumb a:hover {
  color: var(--accent);
}

/* Related Articles */
.related-articles {
  padding: 60px 0;
  background: rgba(0,0,0,0.2);
}

.related-articles h2 {
  text-align: center;
  margin-bottom: 40px;
}

/* CTA Section */
.cta-section {
  padding: 60px 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(245,124,0,0.1) 0%, rgba(255,193,7,0.05) 100%);
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.cta-section p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.checkbox-item {
  margin: 12px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-item input[type="checkbox"] {
  cursor: pointer;
  width: 18px;
  height: 18px;
}

.checkbox-item label {
  cursor: pointer;
  margin: 0;
}

@media (max-width: 768px) {
  .blog-post {
    padding: 20px;
  }

  .blog-post h1 {
    font-size: 1.6rem;
  }

  .blog-post h2 {
    font-size: 1.3rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .article-meta {
    flex-direction: column;
    gap: 10px;
  }

  .blog-footer {
    flex-direction: column;
    gap: 10px;
  }
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp 0.5s ease forwards; }

/* --- Print --- */
@media print {
  .header, .footer, .search-section, .scroll-top, .btn-whatsapp, .btn-complain { display: none; }
  body { background: #fff; color: #000; }
  .agent-table { border: 1px solid #ccc; }
  .agent-table th, .agent-table td { border: 1px solid #ccc; color: #000; }
}
