@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&family=Tiro+Bangla:ital@0;1&family=Oswald:wght@400;600;700&display=swap');

:root {
  --green: #1a6b2f;
  --green-light: #2d9e4a;
  --green-dark: #0d4a1f;
  --gold: #c8922a;
  --gold-light: #e8b84b;
  --red: #c0392b;
  --sky: #1a8cba;
  --bg: #f4f1eb;
  --bg2: #ebe6da;
  --white: #ffffff;
  --text: #1a1a1a;
  --text-muted: #5a5a5a;
  --border: #d4c9a8;
  --shadow: 0 4px 24px rgba(26,107,47,0.12);
  --shadow-lg: 0 12px 48px rgba(26,107,47,0.18);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Hind Siliguri', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
}

/* ===== CUSTOM CURSOR ===== */
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed; z-index: 99999;
  pointer-events: none;
  transition: transform 0.1s;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 2px solid var(--green);
  border-radius: 50%;
  position: fixed; z-index: 99998;
  pointer-events: none;
  transition: all 0.15s ease;
  transform: translate(-50%, -50%);
}

/* ===== PRELOADER ===== */
#preloader {
  position: fixed; inset: 0;
  background: var(--green-dark);
  z-index: 99997;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  transition: opacity 0.8s, visibility 0.8s;
}
#preloader.hide { opacity: 0; visibility: hidden; }
.preloader-logo {
  font-family: 'Tiro Bangla', serif;
  font-size: 3rem;
  color: var(--gold-light);
  text-shadow: 0 0 40px rgba(200,146,42,0.6);
  animation: pulse-glow 1.5s ease-in-out infinite;
}
.preloader-bar {
  width: 200px; height: 3px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  margin-top: 24px;
  overflow: hidden;
}
.preloader-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  animation: fill-bar 2.2s ease forwards;
}
@keyframes fill-bar { from { width: 0 } to { width: 100% } }
@keyframes pulse-glow {
  0%, 100% { text-shadow: 0 0 40px rgba(200,146,42,0.6); }
  50% { text-shadow: 0 0 80px rgba(200,146,42,1), 0 0 120px rgba(200,146,42,0.4); }
}

/* ===== BREAKING NEWS BAR ===== */
.breaking-bar {
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  height: 38px;
  overflow: hidden;
  position: relative;
  z-index: 1000;
}
.breaking-label {
  background: #8b0000;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1px;
  white-space: nowrap;
  flex-shrink: 0;
  gap: 6px;
}
.breaking-label .dot {
  width: 8px; height: 8px;
  background: var(--gold-light);
  border-radius: 50%;
  animation: blink 1s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
.breaking-marquee {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}
.breaking-marquee span {
  display: inline-block;
  animation: marquee 28s linear infinite;
  font-size: 0.85rem;
  padding-left: 100%;
}
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-100%)} }

/* ===== TOP BAR ===== */
.topbar {
  background: var(--green-dark);
  color: rgba(255,255,255,0.75);
  font-size: 0.78rem;
  padding: 6px 0;
}
.topbar-inner {
  max-width: 1300px; margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar a { color: rgba(255,255,255,0.75); text-decoration: none; }
.topbar a:hover { color: var(--gold-light); }
.topbar-socials { display: flex; gap: 14px; }
.topbar-socials a {
  width: 26px; height: 26px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  transition: all 0.3s;
}
.topbar-socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-2px);
}

/* ===== HEADER ===== */
header {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 50%, var(--green-dark) 100%);
  position: relative;
  overflow: hidden;
}
header::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.header-inner {
  max-width: 1300px; margin: 0 auto;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}
.logo-area {
  display: flex; align-items: center; gap: 16px;
  text-decoration: none;
}
.logo-icon {
  width: 72px; height: 72px;
  background: var(--gold);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 4px 24px rgba(200,146,42,0.4);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.logo-icon img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 16px;
}
.logo-icon-placeholder {
  font-family: 'Tiro Bangla', serif;
  color: var(--green-dark);
  font-size: 2rem;
  font-weight: 700;
}
.logo-text { color: #fff; }
.logo-text h1 {
  font-family: 'Tiro Bangla', serif;
  font-size: 2rem;
  color: var(--gold-light);
  line-height: 1.1;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.logo-text span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 2px;
}
.header-date-weather {
  text-align: right;
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem;
}
.header-date-weather .date {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gold-light);
}

/* ===== NAVIGATION ===== */
nav {
  background: var(--green);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
nav::after {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}
.nav-inner {
  max-width: 1300px; margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 0;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  padding: 14px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.3s;
  position: relative;
}
.nav-links > li > a::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold-light);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.nav-links > li > a:hover::before,
.nav-links > li > a.active::before { transform: scaleX(1); }
.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: var(--gold-light);
  background: rgba(0,0,0,0.15);
}
/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: 100%; left: 0;
  background: var(--green-dark);
  min-width: 200px;
  border-top: 3px solid var(--gold);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  opacity: 0; visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s;
  list-style: none;
  z-index: 1000;
}
.dropdown:hover .dropdown-menu {
  opacity: 1; visibility: visible;
  transform: translateY(0);
}
.dropdown-menu li a {
  display: block;
  padding: 10px 18px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: all 0.2s;
}
.dropdown-menu li a:hover {
  background: var(--gold);
  color: #fff;
  padding-left: 26px;
}
.nav-search {
  display: flex; align-items: center; gap: 8px;
}
.nav-search input {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-family: inherit;
  outline: none;
  width: 180px;
  transition: all 0.3s;
}
.nav-search input::placeholder { color: rgba(255,255,255,0.5); }
.nav-search input:focus {
  background: rgba(255,255,255,0.18);
  width: 220px;
  border-color: var(--gold);
}
.nav-search button {
  background: var(--gold);
  border: none;
  color: #fff;
  width: 34px; height: 34px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.85rem;
}
.nav-search button:hover { background: var(--gold-light); transform: scale(1.1); }
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px;
}
.hamburger span {
  width: 25px; height: 2px;
  background: #fff;
  transition: all 0.3s;
}

/* ===== HERO SLIDER ===== */
.hero-section {
  position: relative;
  height: 520px;
  overflow: hidden;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }
.hero-bg {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}
.hero-bg-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
}
.hero-content {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
}
.hero-category {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 4px 12px;
  border-radius: 3px;
  margin-bottom: 12px;
  width: fit-content;
}
.hero-content h2 {
  font-family: 'Tiro Bangla', serif;
  font-size: 2.2rem;
  color: #fff;
  line-height: 1.3;
  max-width: 700px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
  margin-bottom: 12px;
  animation: slideUp 0.8s ease both;
}
.hero-content p {
  color: rgba(255,255,255,0.82);
  font-size: 0.95rem;
  max-width: 560px;
  margin-bottom: 18px;
}
@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.hero-btn {
  display: inline-flex;
  align-items: center; gap: 8px;
  background: var(--gold);
  color: #fff;
  padding: 11px 26px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.3s;
  width: fit-content;
}
.hero-btn:hover { background: var(--gold-light); transform: translateX(4px); }
.hero-controls {
  position: absolute;
  bottom: 20px; right: 24px;
  display: flex; gap: 8px;
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}
.hero-dot.active { background: var(--gold); width: 30px; border-radius: 5px; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
  width: 46px; height: 46px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.hero-arrow:hover { background: var(--gold); border-color: var(--gold); }
.hero-prev { left: 20px; }
.hero-next { right: 20px; }

/* ===== LAST UPDATE BAR ===== */
.update-bar {
  background: var(--green-dark);
  color: rgba(255,255,255,0.85);
  padding: 10px 0;
  border-bottom: 2px solid var(--gold);
}
.update-bar-inner {
  max-width: 1300px; margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
}
.update-label {
  background: var(--gold);
  color: #fff;
  padding: 3px 12px;
  border-radius: 3px;
  font-weight: 700;
  white-space: nowrap;
  font-size: 0.75rem;
}
.update-ticker {
  flex: 1; overflow: hidden;
}
.update-ticker ul {
  list-style: none;
  display: flex;
  animation: ticker-scroll 20s linear infinite;
  gap: 48px;
  white-space: nowrap;
}
.update-ticker ul li a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.2s;
}
.update-ticker ul li a:hover { color: var(--gold-light); }
@keyframes ticker-scroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ===== LAYOUT ===== */
.container { max-width: 1300px; margin: 0 auto; padding: 0 20px; }
.main-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  padding: 40px 20px;
  max-width: 1300px;
  margin: 0 auto;
}

/* ===== SECTION TITLES ===== */
.section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.section-header h2 {
  font-family: 'Tiro Bangla', serif;
  font-size: 1.45rem;
  color: var(--green-dark);
  position: relative;
}
.section-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--green), transparent);
}
.section-badge {
  background: var(--green);
  color: #fff;
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 600;
}
.section-icon {
  width: 38px; height: 38px;
  background: var(--green);
  color: #fff;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ===== NEWS GRID ===== */
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.news-grid.three-col { grid-template-columns: 1fr 1fr 1fr; }
.news-grid.featured { grid-template-columns: 1.6fr 1fr; }

.news-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid var(--border);
  position: relative;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-light);
}
.news-card.featured-card { grid-row: span 2; }
.card-img {
  position: relative;
  overflow: hidden;
  height: 180px;
}
.card-img.tall { height: 260px; }
.card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.news-card:hover .card-img img { transform: scale(1.08); }
.card-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.card-cat {
  position: absolute; top: 12px; left: 12px;
  background: var(--green);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
  letter-spacing: 0.5px;
}
.card-cat.red { background: var(--red); }
.card-cat.gold { background: var(--gold); }
.card-cat.sky { background: var(--sky); }
.card-body { padding: 16px; }
.card-body h3 {
  font-family: 'Tiro Bangla', serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 8px;
  transition: color 0.2s;
}
.news-card:hover .card-body h3 { color: var(--green); }
.card-body p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--text-muted);
  border-top: 1px solid var(--bg2);
  padding-top: 10px;
}
.card-meta span { display: flex; align-items: center; gap: 4px; }
.read-more {
  display: inline-flex;
  align-items: center; gap: 5px;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  border-bottom: 1px dashed var(--green);
  padding-bottom: 1px;
}
.read-more:hover { color: var(--gold); border-color: var(--gold); gap: 8px; }

/* ===== FEATURED SECTION ===== */
.featured-strip {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}
.featured-strip::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(255,255,255,0.02) 20px,
    rgba(255,255,255,0.02) 40px
  );
}
.featured-strip .container { position: relative; z-index: 1; }
.featured-strip .section-header h2 { color: #fff; }
.featured-strip .section-line { background: linear-gradient(90deg, var(--gold), transparent); }
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.strip-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.4s;
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.strip-card:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-5px);
  border-color: var(--gold);
}
.strip-card-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
  display: block;
}
.strip-card h3 {
  font-family: 'Tiro Bangla', serif;
  color: var(--gold-light);
  font-size: 1rem;
  margin-bottom: 8px;
}
.strip-card p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

/* ===== CATEGORY SECTIONS ===== */
.category-section {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.category-section:nth-child(even) { background: var(--bg2); }

/* ===== HORIZONTAL SCROLL ===== */
.h-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.h-scroll::-webkit-scrollbar { height: 4px; }
.h-scroll::-webkit-scrollbar-track { background: var(--bg2); }
.h-scroll::-webkit-scrollbar-thumb { background: var(--green); border-radius: 2px; }
.h-scroll .news-card { min-width: 280px; scroll-snap-align: start; flex-shrink: 0; }

/* ===== SIDEBAR ===== */
.sidebar { display: flex; flex-direction: column; gap: 28px; }

.sidebar-widget {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.widget-header {
  background: var(--green);
  color: #fff;
  padding: 12px 18px;
  font-family: 'Tiro Bangla', serif;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.widget-body { padding: 16px; }

.trending-list { list-style: none; }
.trending-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  transition: all 0.2s;
}
.trending-list li:last-child { border-bottom: none; }
.trending-list li:hover { padding-left: 6px; }
.trend-num {
  width: 28px; height: 28px;
  background: var(--bg2);
  color: var(--green);
  font-weight: 700;
  font-size: 0.78rem;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}
.trending-list li:hover .trend-num {
  background: var(--gold);
  color: #fff;
}
.trend-text {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--text);
}
.trend-text a { color: inherit; text-decoration: none; }
.trend-text a:hover { color: var(--green); }
.trend-date { font-size: 0.72rem; color: var(--text-muted); margin-top: 3px; }

/* ===== WEATHER WIDGET ===== */
.weather-widget {
  background: linear-gradient(135deg, #1a6b2f, #1a8cba);
  border-radius: 12px;
  padding: 20px;
  color: #fff;
}
.weather-main { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.weather-temp { font-size: 3rem; font-weight: 300; }
.weather-info h4 { font-size: 1rem; font-family: 'Tiro Bangla', serif; }
.weather-info p { font-size: 0.82rem; opacity: 0.8; }
.weather-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.weather-detail {
  background: rgba(255,255,255,0.12);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
}
.weather-detail span { display: block; opacity: 0.7; font-size: 0.7rem; }

/* ===== DONATE CARD ===== */
.donate-card {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-radius: 12px;
  padding: 22px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.donate-card::before {
  content: '❤️';
  font-size: 6rem;
  position: absolute;
  right: -10px; top: -10px;
  opacity: 0.15;
}
.donate-card h3 {
  font-family: 'Tiro Bangla', serif;
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.donate-card p { font-size: 0.82rem; opacity: 0.9; margin-bottom: 16px; }
.donate-btn {
  display: inline-flex;
  align-items: center; gap: 6px;
  background: #fff;
  color: var(--gold);
  padding: 10px 22px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.donate-btn:hover { transform: scale(1.05); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }

/* ===== MARKET SECTION ===== */
.market-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
  padding: 56px 0;
}
.market-hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  border-radius: 20px;
  padding: 40px;
  color: #fff;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.market-hero::after {
  content: '🛒';
  font-size: 8rem;
  position: absolute;
  right: 40px; top: 50%;
  transform: translateY(-50%);
  opacity: 0.15;
}
.market-hero h2 {
  font-family: 'Tiro Bangla', serif;
  font-size: 2rem;
  color: var(--gold-light);
  margin-bottom: 8px;
}
.market-hero p { font-size: 0.95rem; opacity: 0.85; max-width: 500px; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.product-img {
  height: 200px;
  position: relative;
  overflow: hidden;
  background: var(--bg2);
}
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.product-card:hover .product-img img { transform: scale(1.1); }
.product-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
}
.product-badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}
.product-badge.new { background: var(--green); }
.product-info { padding: 16px; }
.product-info h3 {
  font-family: 'Tiro Bangla', serif;
  font-size: 1rem;
  margin-bottom: 4px;
}
.product-info p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.5;
}
.product-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.price-main { font-size: 1.2rem; font-weight: 700; color: var(--green); }
.price-unit { font-size: 0.72rem; color: var(--text-muted); }
.product-rating { display: flex; gap: 2px; font-size: 0.75rem; color: var(--gold); margin-bottom: 12px; }
.btn-buy {
  width: 100%;
  background: var(--green);
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.btn-buy:hover { background: var(--green-dark); transform: none; }

/* ===== PAYMENT MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: all 0.3s;
  backdrop-filter: blur(4px);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--white);
  border-radius: 20px;
  width: 94%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9);
  transition: transform 0.3s;
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
}
.modal-overlay.open .modal { transform: scale(1); }
.modal-header {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: #fff;
  padding: 22px 24px;
  border-radius: 20px 20px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-header h3 { font-family: 'Tiro Bangla', serif; font-size: 1.2rem; }
.modal-close {
  background: rgba(255,255,255,0.2);
  border: none; color: #fff;
  width: 34px; height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.2s;
}
.modal-close:hover { background: var(--red); }
.modal-body { padding: 24px; }
.payment-tabs {
  display: flex; gap: 8px;
  margin-bottom: 22px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0;
}
.pay-tab {
  padding: 9px 18px;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
}
.pay-tab.active { color: var(--green); border-bottom-color: var(--green); }
.pay-content { display: none; }
.pay-content.active { display: block; animation: fadeIn 0.3s; }
@keyframes fadeIn { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }
.pay-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 2px solid var(--border);
  border-radius: 10px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.pay-option:hover { border-color: var(--green); background: rgba(26,107,47,0.04); }
.pay-option.selected { border-color: var(--green); background: rgba(26,107,47,0.07); }
.pay-icon { font-size: 1.8rem; }
.pay-name { font-weight: 600; font-size: 0.9rem; }
.pay-num { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s;
  background: var(--bg);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--green);
  background: var(--white);
}
.btn-confirm {
  width: 100%;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: #fff;
  border: none;
  padding: 13px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 8px;
}
.btn-confirm:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,107,47,0.35); }

/* ===== TOURISM SECTION ===== */
.tourism-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tourism-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  height: 280px;
  cursor: pointer;
  transition: transform 0.4s;
}
.tourism-card:hover { transform: scale(1.03); }
.tourism-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.tourism-card:hover img { transform: scale(1.1); }
.tourism-card-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
}
.tourism-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent 50%);
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  transition: all 0.4s;
}
.tourism-card:hover .tourism-overlay { background: linear-gradient(to top, rgba(13,74,31,0.9), rgba(13,74,31,0.4) 70%); }
.tourism-overlay h3 {
  font-family: 'Tiro Bangla', serif;
  color: var(--gold-light);
  font-size: 1.2rem;
  margin-bottom: 5px;
}
.tourism-overlay p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: all 0.7s cubic-bezier(0.165, 0.84, 0.44, 1); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: all 0.7s; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }

/* ===== FLOATING PARTICLES ===== */
.particles { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.particle {
  position: absolute;
  width: 4px; height: 4px;
  background: var(--green-light);
  border-radius: 50%;
  opacity: 0;
  animation: float-particle 8s infinite;
}
@keyframes float-particle {
  0% { opacity: 0; transform: translateY(100vh) rotate(0deg); }
  10% { opacity: 0.4; }
  90% { opacity: 0.4; }
  100% { opacity: 0; transform: translateY(-100px) rotate(360deg); }
}

/* ===== FOOTER ===== */
footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.8);
  padding: 56px 0 0;
  position: relative;
}
footer::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 0 20px 40px;
  max-width: 1300px;
  margin: 0 auto;
}
.footer-about h3 {
  font-family: 'Tiro Bangla', serif;
  font-size: 1.4rem;
  color: var(--gold-light);
  margin-bottom: 12px;
}
.footer-about p { font-size: 0.84rem; line-height: 1.7; opacity: 0.8; }
.footer-col h4 {
  color: var(--gold-light);
  font-size: 0.95rem;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links li a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.84rem;
  transition: all 0.2s;
  display: flex; align-items: center; gap: 6px;
}
.footer-links li a:hover { color: var(--gold-light); padding-left: 6px; }
.footer-links li a::before { content: '▸'; font-size: 0.6rem; }
.footer-contact-item {
  display: flex; gap: 10px;
  margin-bottom: 12px;
  font-size: 0.84rem;
}
.footer-contact-icon {
  width: 30px; height: 30px;
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}
.footer-bottom {
  background: rgba(0,0,0,0.25);
  padding: 16px 20px;
  text-align: center;
  font-size: 0.78rem;
  opacity: 0.7;
}
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: all 0.3s;
  font-size: 0.85rem;
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: #fff; transform: translateY(-3px); }

/* ===== BACK TO TOP ===== */
#back-to-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 46px; height: 46px;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  box-shadow: 0 4px 20px rgba(26,107,47,0.4);
  opacity: 0; visibility: hidden;
  transition: all 0.3s;
  z-index: 1000;
}
#back-to-top.show { opacity: 1; visibility: visible; }
#back-to-top:hover { background: var(--gold); transform: translateY(-3px); }

/* ===== ARTICLE PAGE ===== */
.article-page { display: none; }
.article-page.active { display: block; }
.article-header {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  padding: 56px 0 40px;
  color: #fff;
}
.article-header .cat-badge {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 3px;
  margin-bottom: 16px;
}
.article-header h1 {
  font-family: 'Tiro Bangla', serif;
  font-size: 2.4rem;
  line-height: 1.3;
  max-width: 800px;
  margin-bottom: 16px;
}
.article-meta { display: flex; gap: 24px; font-size: 0.82rem; opacity: 0.8; }
.article-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 20px;
}
.article-featured-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 32px;
}
.article-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text);
}
.article-content p { margin-bottom: 18px; }
.article-content h2 {
  font-family: 'Tiro Bangla', serif;
  color: var(--green-dark);
  font-size: 1.5rem;
  margin: 32px 0 14px;
  padding-left: 16px;
  border-left: 4px solid var(--gold);
}
.article-content blockquote {
  background: var(--bg2);
  border-left: 4px solid var(--green);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-muted);
}
.back-btn {
  display: inline-flex;
  align-items: center; gap: 8px;
  background: var(--green);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 32px;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all 0.3s;
}
.back-btn:hover { background: var(--green-dark); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .main-layout { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; }
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .tourism-cards { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--green-dark); padding: 12px 0; }
  .nav-links.open { display: flex; }
  .nav-links > li > a { padding: 12px 20px; }
  .hamburger { display: flex; }
  .nav-search { display: none; }
  .hero-content h2 { font-size: 1.5rem; }
  .hero-section { height: 380px; }
  .hero-content { padding: 24px; }
  .news-grid { grid-template-columns: 1fr; }
  .news-grid.three-col { grid-template-columns: 1fr; }
  .news-grid.featured { grid-template-columns: 1fr; }
  .strip-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .tourism-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .sidebar { display: flex; flex-direction: column; }
  .logo-text h1 { font-size: 1.4rem; }
  .main-layout { padding: 20px 16px; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .header-date-weather { display: none; }
}
