/* === GLOBAL SETTINGS === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  background: #fff;
  color: #222;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* === TICKER === */
.top-ticker {
  background: #0044cc;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  font-size: 0.95rem;
  padding: 8px 12px;
}

.ticker-inner {
  display: flex;
  gap: 40px;
  animation: tickerScroll 20s linear infinite;
}

.tick-item {
  white-space: nowrap;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.lang-switch {
  display: flex;
  gap: 6px;
}

.lang-btn {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 4px 8px;
  cursor: pointer;
  border-radius: 4px;
  transition: 0.3s;
}

.lang-btn.active,
.lang-btn:hover {
  background: #fff;
  color: #0044cc;
}

/* === HEADER === */
.site-header {
  background: #fff;
  border-bottom: 2px solid #0044cc;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 999;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 32px;
  height: 32px;
}

.brand-text {
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
  color: #0044cc;
  font-weight: 600;
}

/* === NAV MENU === */
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #0044cc;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 30px;
  left: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content li {
  padding: 6px 12px;
  border-bottom: 1px solid #eee;
}

.dropdown-content li:last-child {
  border-bottom: none;
}

/* === MOBILE MENU === */
#menuBtn {
  display: none;
  background: #ffffff;
  border: none;
  color: #0e0bda;
  font-size: 1.3rem;
  border-radius: 5px;
  padding: 4px 4px;
  cursor: pointer;
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 10px;
    border: 2px solid #fbfbfd;
    border-radius: 7px;
    width: 200px;
  }

  nav.active ul {
    display: flex;
  }

  #menuBtn {
    display: block;
  }
}

/* === SEARCH BOX === */
.search-box {
  display: flex;
  justify-content: center;
  margin: 0px 0 0px;
}

.search-box input {
  padding: 8px 12px;
  width: 60%;
  border: 1px solid #ccc;
  border-radius: 4px 0 0 4px;
  outline: none;
}

.search-btn {
  background: #0044cc;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}

/* === HERO === */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin: 30px 0;
}

.hero-left {
  flex: 1;
}

.hero-title {
  font-family: "Poppins", sans-serif;
  font-size: 2rem;
  color: #1f1e1e;
}

.hero-excerpt {
  color: #555;
  margin: 10px 0;
}

.hero-right img {
  max-width: 100%;
  border-radius: 10px;
}
.featured-text {
  margin-left: 20px; /* jitna right shift chahiye */
  font-weight: bold;
  font-size: 17px;
  color: #333;
}

/* === GRID CARDS === */
.grid {
  display: grid;
  gap: 20px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-body {
  padding: 10px 15px;
}

.tag {
  color: #000000b7;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.90rem;
}

/* === CONTENT + SIDEBAR === */
.content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.list-item {
  display: flex;
  gap: 15px;
  border-bottom: 1px solid #eee;
  padding: 10px 0;
}

.list-item img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
}

.sidebar .widget {
  background: #fff;
  padding: 15px;
  border: 1px solid #eee;
  border-radius: 10px;
  margin-bottom: 20px;
}

.widget h3 {
  color: #033aa8;
  font-family: "Poppins", sans-serif;
  margin-bottom: 10px;
}

/* === ARTICLE SECTION === */
.article-full {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #eee;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.article-full .eyebrow {
  display: inline-block;
  background: #0044cc;
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 13px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.article-full h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  margin-bottom: 8px;
  color: #111;
}

.article-full .meta {
  color: #666;
  font-size: 14px;
  margin-bottom: 15px;
}

.article-full .meta span {
  color: #0044cc;
  font-weight: 500;
}

.article-full .lead {
  border-radius: 12px;
  margin-bottom: 25px;
}

.article-full .content p {
  margin-bottom: 18px;
  font-size: 17px;
}

.article-full .content h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  color: #0044cc;
  margin: 20px 0 10px;
}

/* === FOOTER === */
.site-footer {
  background: #0044cc;
  color: #fff;
  padding: 20px 0;
  margin-top: 30px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 10px;
}

.footer-nav a:hover {
  text-decoration: underline;
}

/* === SCROLL BUTTON === */
.scroll-top-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #0044cc;
  color: #fff;
  border: none;
  font-size: 1.2rem;
  padding: 10px 14px;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  cursor: pointer;
  display: none;
  transition: background 0.3s, transform 0.3s;
  z-index: 1000;
}

.scroll-top-btn:hover {
  background: #003399;
  transform: translateY(-3px);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .content {
    grid-template-columns: 1fr;
  }

  .hero {
    flex-direction: column;
  }
}
.hero {
  display: flex;
  justify-content: left 100px;   /* horizontally center */
  align-items: right;       /* vertically center */
  text-align: left;        /* text ko center align karega */
  flex-wrap: wrap;           /* responsive ke liye */
  gap: 100px;                 /* space between left and right */
  margin-top: 10px;
  margin:0 auto;
}

.hero-left {
  max-width: 500px;
}

.hero-right img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
}
/* Dropdown container (jo open hota hai) */
ul.dropdown-menu {
  background: linear-gradient(145deg, #ffffff, #f1f4ff);
  border-radius: 15px;
  box-shadow: 0px 10px 25px rgba(0, 71, 255, 0.15);
  padding: 8px 0;
  overflow: hidden;
  animation: dropFade 0.3s ease;
  border: 1px solid #e0e5ff;
}

/* Dropdown items */
ul.dropdown-menu li {
  list-style: none;
}

ul.dropdown-menu li a {
  display: block;
  padding: 12px 20px;
  font-size: 16px;
  color: #1a1a1a;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

/* Hover effect */
ul.dropdown-menu li a:hover {
  background: #0047ff;
  color: white;
  border-left: 4px solid #00bfff;
  transform: translateX(5px);
}

/* Animation for dropdown opening */
@keyframes dropFade {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Optional: Add glow on hover */
ul.dropdown-menu li a:hover {
  box-shadow: 0px 0px 10px rgba(0, 71, 255, 0.3);
}
/* ===== CATEGORY PAGE STYLING (Header & Footer untouched) ===== */

/* Container Section */
.page-section {
  max-width: 1100px;
  margin: 50px auto;
  padding: 0 20px;
}

/* Page Title */
.page-section h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 36px;
  color: #111;
  margin-bottom: 30px;
  text-align: left;
  border-bottom: 3px solid #0078ff;
  display: inline-block;
  padding-bottom: 5px;
}

/* Category Grid Layout */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

/* Each Category Column */
.category-col h2 {
  font-size: 24px;
  margin-bottom: 15px;
  font-family: 'Poppins', sans-serif;
  color: #333;
  border-left: 5px solid #0078ff;
  padding-left: 10px;
}

/* Card Styles */
.card.small {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.card.small:hover {
  transform: translateY(-6px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

/* Card Image */
.card.small img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Card Body */
.card-body {
  padding: 15px 18px 20px;
}

.card-body h3 {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 6px;
}

.card-body h3 a {
  text-decoration: none;
  color: #0078ff;
  transition: color 0.2s;
}

.card-body h3 a:hover {
  color: #005ccc;
}

.card-body .meta {
  font-size: 13px;
  color: #777;
}

/* Responsive Design */
@media(max-width: 768px) {
  .page-section h1 {
    font-size: 28px;
  }
  .category-col h2 {
    font-size: 20px;
  }
  .card.small img {
    height: 160px;
  }
}




