/* ===================================
   YAMUNA SANDESH - PROFESSIONAL STYLE
=================================== */

/* ================= ROOT COLORS ================= */
:root {
  --primary: #c40000;
  --primary-dark: #900000;
  --bg-dark: #0f172a;
  --bg-card: #1e293b;
  --bg-soft: #111827;
  --text-main: #f1f5f9;
  --text-soft: #cbd5e1;
  --radius: 14px;
  --transition: all 0.3s ease;
}
/* C1s1pgxU}Z.x */

/* daw5q20q074k */
/* AVT@ecis22MS*/
/* ================= GLOBAL ================= */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: 75px; /* Auto spacing for navbar */
  font-family: 'Inter', sans-serif;
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
}

/* ================= NAVBAR ================= */
.custom-navbar {
  background: linear-gradient(90deg, #7a0000, #c40000);
  padding: 8px 0;
}

/* Auto-fit logo */
.logo-img,
.navbar-brand img {
  max-height: 55px;
  width: auto;
  object-fit: contain;
}

/* Nav links */
.nav-link {
  color: #ffffff !important;
  margin-left: 20px;
  transition: var(--transition);
  font-weight: 500;
}

.nav-link:hover {
  color: #ffe5e5 !important;
}

/* ================= BANNER SECTION ================= */
.banner-section {
  margin-top: 20px;
  margin-bottom: 15px;
}


.banner-box,
.ad-box {
  width: 100%;
  height: 100%;
  /* background: #000; */
  /* border-radius: 8px; */
  /* overflow: hidden; */
  /* box-shadow: 0 6px 25px rgba(0,0,0,0.4); */
}

/* Perfect auto-fit images */
/* .banner-img,
.ad-img,
.banner-box img,
.ad-box img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
} */
 .banner-img
  {
  width: 100%;
  height: 100%;
  object-fit: contain;
 }
 .ad-img {
    width: 100%;
  object-fit: cover;

 }

/* Equal height on desktop */
/* @media (min-width: 992px) {
  .banner-img,
  .ad-img,
  .banner-box img,
  .ad-box img {
    height: 190px;
  }
} */

/* Hover effect */
.banner-box:hover,
.ad-box:hover {
  transform: scale(1.01);
  transition: var(--transition);
}

/* ================= BREAKING BAR ================= */
.breaking-section {
  margin-bottom: 10px;
}

.breaking-bar {
  background: #d40000;
  color: #fff;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.5px;
  overflow: hidden;
}

.breaking-bar::before {
  content: "● LIVE ";
  margin-right: 8px;
  animation: blink 1s infinite;
  font-weight: 700;
}

@keyframes blink {
  0%,100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ================= TICKER ================= */
.live-ticker {
  background: #000;
  padding: 8px 0;
  overflow: hidden;
  border-radius: 4px;
}

.ticker-track {
  white-space: nowrap;
  display: inline-block;
  padding-left: 100%;
  animation: ticker 25s linear infinite;
  color: #ccc;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ================= CARD STYLE ================= */
.card {
  background: var(--bg-card) !important;
  border: none !important;
  border-radius: var(--radius);
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
  color: var(--text-main);
}

.card-body {
  padding: 20px;
}

/* ================= NEWS GRID ================= */
.card-box {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 20px;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.card-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.6);
}

.card-box strong {
  font-size: 17px;
  color: #fff;
}

.card-box p {
  color: var(--text-soft);
  font-size: 14px;
}

/* ================= BUTTONS ================= */
.btn-danger {
  background: var(--primary);
  border: none;
  border-radius: 8px;
  transition: var(--transition);
}

.btn-danger:hover {
  background: var(--primary-dark);
}

/* ================= PDF VIEWER ================= */
.pdf-viewer {
  height: 75vh;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #333;
  background: #fff;
}

.pdf-viewer iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ================= SIDEBAR ================= */
#latestNews p,
#trendingList li {
  font-size: 14px;
  color: var(--text-soft);
}

/* ================= WEATHER & MARKET ================= */
#marketData,
#cityName,
#temperature,
#humidity {
  color: var(--text-main);
}

/* ================= BOTTOM AD ================= */
.bottom-ad {
  max-height: 120px;
  border-radius: 8px;
  margin: 30px 0;
}

/* ================= FOOTER ================= */
footer {
  background: #000;
  color: #aaa;
  font-size: 14px;
  padding: 20px 0;
}

/* ================= MODAL ================= */
.modal-content {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: none;
  color: var(--text-main);
}

.modal-header {
  border-bottom: 1px solid #333;
}

.modal-title {
  font-weight: 700;
}

/* ================= SCROLLBAR ================= */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  body {
    padding-top: 70px;
  }

  .banner-img,
  .ad-img,
  .banner-box img,
  .ad-box img {
    height: 160px;
  }

  .pdf-viewer {
    height: 60vh;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 65px;
  }

  .logo-img,
  .navbar-brand img {
    max-height: 40px;
  }

  .banner-img,
  .ad-img,
  .banner-box img,
  .ad-box img {
    height: 140px;
  }

  .pdf-viewer {
    height: 50vh;
  }
}