/* =============================================
   about-us.css
   Sabhi about-us pages ke liye
   ============================================= */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Hind', sans-serif;
  background: #f4f6fb;
  color: #222;
}

/* ===== NAVBAR ===== */
.news-navbar {
  background: #1a237e;
  padding: 14px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.nav-logo {
  color: white;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

.nav-back-btn {
  background: #ffeb3b;
  color: #1a237e;
  padding: 8px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: 0.3s;
}

.nav-back-btn:hover { background: white; }

/* ===== PAGE LAYOUT ===== */
.page-container {
  max-width: 1200px;
  margin: 36px auto;
  padding: 0 24px 60px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

/* ===== MAIN AREA ===== */
.article-area {
  flex: 3;
  background: white;
  border-radius: 12px;
  padding: 36px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.article-category {
  display: inline-block;
  background: #e8f0fe;
  color: #1a237e;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.article-title {
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #1a237e;
  margin-bottom: 8px;
  line-height: 1.4;
}

.article-date {
  font-size: 13px;
  color: #888;
  margin-bottom: 24px;
}

/* ===== CARDS GRID (JSON cards) ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 10px;
}

.content-card {
  background: #f8faff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e8f0fe;
  transition: 0.3s;
}

.content-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}

.card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 16px;
}

.card-date {
  font-size: 12px;
  color: #888;
  margin-bottom: 6px;
}

.card-category {
  display: inline-block;
  background: #e8f0fe;
  color: #1a237e;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.content-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: #1a237e;
  margin-bottom: 8px;
  line-height: 1.4;
}

.content-card p {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 10px;
}

.read-more {
  display: inline-block;
  color: #1565c0;
  font-weight: 600;
  text-decoration: none;
  font-size: 13px;
  margin-top: 4px;
}

.read-more:hover { color: #f97316; }

.pdf-btn {
  display: inline-block;
  background: #f57c00;
  color: white;
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  margin-right: 8px;
  margin-bottom: 6px;
  transition: 0.3s;
}

.pdf-btn:hover { background: #e65100; }

/* ===== APP INFO PAGE ===== */
.article-image-wrap { margin-bottom: 24px; }

.article-image {
  width: 100%;
  border-radius: 10px;
  display: block;
}

.article-content p {
  font-size: 16px;
  line-height: 1.9;
  color: #333;
  margin-bottom: 16px;
}

.sub-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #1a237e;
  margin-top: 28px;
  margin-bottom: 12px;
  padding-left: 14px;
  border-left: 4px solid #1565c0;
}

.app-features {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}

.app-features li {
  font-size: 15px;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  color: #333;
}

.app-features li:last-child { border-bottom: none; }

.app-screenshots {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0;
}

.app-screenshots img {
  width: 30%;
  min-width: 120px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
}

.download-btn {
  display: inline-block;
  background: #1a237e;
  color: white;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  margin-top: 10px;
  transition: 0.3s;
}

.download-btn:hover {
  background: #1565c0;
  transform: translateY(-2px);
}

.back-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 10px 24px;
  background: #1a237e;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  transition: 0.3s;
}

.back-btn:hover {
  background: #1565c0;
  transform: translateX(-4px);
}

/* ===== SIDEBAR ===== */
.sidebar {
  flex: 1;
  min-width: 220px;
}

.sidebar-box {
  background: white;
  padding: 22px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  margin-bottom: 22px;
}

.sidebar-box h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  color: #1a237e;
  padding-bottom: 8px;
  border-bottom: 2px solid #e8f0fe;
}

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

.sidebar-box li {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
}

.sidebar-box li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.sidebar-box li a {
  color: #333;
  text-decoration: none;
  transition: 0.2s;
  display: block;
}

.sidebar-box li a:hover {
  color: #1565c0;
  padding-left: 4px;
}

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  .page-container {
    flex-direction: column;
    margin: 16px auto;
    padding: 0 14px 40px;
    gap: 20px;
  }
  .sidebar { order: -1; }
  .article-area { padding: 22px; }
  .article-title { font-size: 20px; }
  .app-screenshots img { width: 45%; }
}
