/* Shared Styles for All Pages */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans Bengali', 'Kalpurush', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f5f5f5;
  line-height: 1.6;
  color: #333;
}

/* Header Styles */
.site-header {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: white;
  padding: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: white;
}

.logo-section img {
  height: 50px;
  width: auto;
}

.logo-text {
  font-size: 1.5em;
  font-weight: bold;
}

/* Navigation Menu */
.main-nav {
  display: flex;
  gap: 5px;
  list-style: none;
  flex-wrap: wrap;
}

.main-nav a {
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 5px;
  transition: all 0.3s;
  font-weight: 500;
  display: block;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

/* Search Container */
.search-container {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  padding: 10px 45px 10px 15px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 25px;
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 1em;
  width: 300px;
  transition: all 0.3s;
  font-family: 'Noto Sans Bengali', Arial, sans-serif;
}

.search-input::placeholder {
  color: rgba(255,255,255,0.7);
}

.search-input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.15);
  width: 350px;
}

.search-button {
  position: absolute;
  right: 5px;
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  padding: 8px 12px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 1.2em;
  transition: all 0.3s;
}

.search-button:hover {
  background: rgba(255,255,255,0.3);
}

.search-results {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  max-height: 500px;
  overflow-y: auto;
  z-index: 1001;
  margin-top: 10px;
  width: 100%;
  min-width: 350px;
}

.search-results-header {
  padding: 15px 20px;
  background: #f0fdf4;
  border-bottom: 2px solid #16a34a;
  font-weight: bold;
  color: #16a34a;
  border-radius: 10px 10px 0 0;
}

.search-suggestions-header {
  padding: 12px 20px;
  background: #f0fdf4;
  border-bottom: 1px solid #dcfce7;
  font-weight: bold;
  color: #16a34a;
  font-size: 0.9em;
  border-radius: 10px 10px 0 0;
}

.search-suggestion-item {
  padding: 12px 20px;
  border-bottom: 1px solid #e0e0e0;
  transition: background 0.2s;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-suggestion-item:last-child {
  border-bottom: none;
  border-radius: 0 0 10px 10px;
}

.search-suggestion-item:hover,
.search-suggestion-item.selected {
  background: #f0fdf4;
}

.search-suggestion-item.no-suggestions {
  cursor: default;
  color: #666;
  text-align: center;
  justify-content: center;
}

.search-suggestion-item.no-suggestions:hover {
  background: transparent;
}

.suggestion-icon {
  color: #16a34a;
  font-size: 1em;
  flex-shrink: 0;
}

.suggestion-text {
  color: #333;
  font-size: 0.95em;
  flex: 1;
}

.suggestion-text mark {
  background: #fef08a;
  color: #333;
  padding: 2px 4px;
  border-radius: 3px;
  font-weight: bold;
}

.search-result-item {
  padding: 15px 20px;
  border-bottom: 1px solid #e0e0e0;
  transition: background 0.3s;
}

.search-result-item:last-child {
  border-bottom: none;
  border-radius: 0 0 10px 10px;
}

.search-result-item:hover {
  background: #f0fdf4;
}

.search-result-item a {
  text-decoration: none;
  color: #333;
  display: block;
}

.search-result-item h3 {
  color: #16a34a;
  margin: 0 0 8px 0;
  font-size: 1.1em;
  line-height: 1.4;
}

.search-result-item p {
  color: #666;
  margin: 0;
  font-size: 0.9em;
  line-height: 1.6;
}

.search-result-item mark {
  background: #fef08a;
  color: #333;
  padding: 2px 4px;
  border-radius: 3px;
  font-weight: bold;
}

.search-result-item.no-results {
  text-align: center;
  padding: 30px 20px;
  color: #666;
}

.search-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.3);
  z-index: 1000;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.5em;
}

/* News Ticker */
.news-ticker-container {
  background: linear-gradient(135deg, #15803d 0%, #16a34a 100%);
  color: white;
  padding: 12px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 999;
}

.ticker-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  white-space: nowrap;
  font-weight: bold;
  background: rgba(0,0,0,0.1);
  border-right: 2px solid rgba(255,255,255,0.2);
  flex-shrink: 0;
}

.ticker-icon {
  font-size: 1.2em;
}

.ticker-text {
  font-size: 0.95em;
}

.ticker-wrapper {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 30px;
}

.ticker-content {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  animation: ticker-scroll 60s linear infinite;
  white-space: nowrap;
}

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

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: white;
  padding: 5px 15px;
  border-radius: 5px;
  transition: all 0.3s;
  white-space: nowrap;
}

.ticker-item:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

.ticker-bullet {
  color: #fef08a;
  font-size: 0.8em;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.ticker-title {
  font-size: 0.95em;
  font-weight: 500;
}

.ticker-controls {
  display: flex;
  gap: 5px;
  padding: 0 20px;
  flex-shrink: 0;
  border-left: 2px solid rgba(255,255,255,0.2);
}

.ticker-btn {
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  transition: all 0.3s;
}

.ticker-btn:hover {
  background: rgba(255,255,255,0.25);
  transform: scale(1.1);
}

/* Footer - Professional News Website Style */
.site-footer {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #e2e8f0;
  margin-top: 60px;
  border-top: 3px solid #16a34a;
}

.footer-main {
  padding: 50px 20px 30px;
  background: #1e293b;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-about {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.footer-logo img {
  height: 50px;
  width: auto;
}

.footer-logo h3 {
  color: #16a34a;
  font-size: 1.5em;
  margin: 0;
  font-weight: bold;
}

.footer-description {
  color: #cbd5e1;
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 0.95em;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #334155;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1em;
}

.social-link:hover {
  background: #16a34a;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.4);
}

.footer-title {
  color: #16a34a;
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #334155;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  font-size: 0.95em;
}

.footer-links a i {
  color: #16a34a;
  width: 18px;
  font-size: 0.9em;
}

.footer-links a:hover {
  color: #16a34a;
  padding-left: 5px;
}

.footer-news {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-news li {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #334155;
}

.footer-news li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.footer-news a {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.news-title {
  color: #e2e8f0;
  font-size: 0.95em;
  line-height: 1.5;
  font-weight: 500;
}

.news-date {
  color: #16a34a;
  font-size: 0.8em;
  font-weight: 600;
}

.footer-news a:hover .news-title {
  color: #16a34a;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  color: #cbd5e1;
  font-size: 0.95em;
  line-height: 1.6;
}

.footer-contact li i {
  color: #16a34a;
  margin-top: 3px;
  font-size: 1.1em;
  width: 20px;
  flex-shrink: 0;
}

.footer-contact a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-contact a:hover {
  color: #16a34a;
}

.footer-categories {
  margin-top: 20px;
}

.footer-categories h5 {
  color: #16a34a;
  font-size: 1em;
  margin-bottom: 12px;
  font-weight: 600;
}

.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-tags a {
  display: inline-block;
  padding: 6px 12px;
  background: #334155;
  color: #cbd5e1;
  text-decoration: none;
  border-radius: 20px;
  font-size: 0.85em;
  transition: all 0.3s ease;
}

.category-tags a:hover {
  background: #16a34a;
  color: white;
  transform: translateY(-2px);
}

.footer-bottom {
  background: #0f172a;
  padding: 20px;
  border-top: 1px solid #334155;
}

.footer-bottom-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-copyright {
  color: #94a3b8;
  font-size: 0.9em;
}

.footer-copyright p {
  margin: 0;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-legal a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9em;
  transition: color 0.3s;
}

.footer-legal a:hover {
  color: #16a34a;
}

.footer-legal span {
  color: #475569;
}

/* Container */
.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  min-height: calc(100vh - 200px);
}

/* Responsive */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    margin-top: 15px;
  }
  
  .main-nav.active {
    display: flex;
  }
  
  .header-container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .logo-text {
    font-size: 1.2em;
  }
  
  .header-right {
    width: 100%;
    justify-content: space-between;
  }
  
  .search-container {
    width: 100%;
    max-width: 100%;
  }
  
  .search-input {
    width: 100% !important;
    max-width: 100%;
  }
  
  .search-results {
    min-width: 100%;
    left: 0;
    right: 0;
  }
  
  .news-ticker-container {
    flex-direction: column;
    padding: 10px 0;
    gap: 10px;
  }
  
  .ticker-label {
    border-right: none;
    border-bottom: 2px solid rgba(255,255,255,0.2);
    padding: 5px 15px;
    width: 100%;
    justify-content: center;
  }
  
  .ticker-wrapper {
    width: 100%;
    padding: 0 15px;
  }
  
  .ticker-controls {
    border-left: none;
    border-top: 2px solid rgba(255,255,255,0.2);
    padding: 5px 15px;
    width: 100%;
    justify-content: center;
  }
  
  /* Footer Responsive */
  .footer-main {
    padding: 30px 15px 20px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-about {
    max-width: 100%;
    text-align: center;
  }
  
  .footer-logo {
    justify-content: center;
    flex-direction: column;
    gap: 10px;
  }
  
  .footer-logo img {
    height: 45px;
    margin: 0 auto;
  }
  
  .footer-logo h3 {
    font-size: 1.3em;
    text-align: center;
  }
  
  .footer-description {
    text-align: center;
    font-size: 0.9em;
  }
  
  .footer-social {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .social-link {
    width: 38px;
    height: 38px;
    font-size: 1em;
  }
  
  .footer-title {
    font-size: 1.1em;
    text-align: center;
  }
  
  .footer-links {
    text-align: center;
  }
  
  .footer-links a {
    justify-content: center;
  }
  
  .footer-news {
    text-align: center;
  }
  
  .footer-news a {
    align-items: center;
  }
  
  .news-title {
    font-size: 0.9em;
  }
  
  .footer-contact {
    text-align: center;
  }
  
  .footer-contact li {
    justify-content: center;
    flex-direction: column;
    text-align: center;
  }
  
  .footer-contact li i {
    margin: 0 auto 5px;
  }
  
  .footer-categories {
    text-align: center;
  }
  
  .footer-categories h5 {
    font-size: 0.95em;
  }
  
  .category-tags {
    justify-content: center;
  }
  
  .category-tags a {
    font-size: 0.8em;
    padding: 5px 10px;
  }
  
  .footer-bottom {
    padding: 15px;
  }
  
  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .footer-copyright {
    font-size: 0.85em;
  }
  
  .footer-legal {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .footer-legal a {
    font-size: 0.85em;
  }
}

/* Tablet Responsive */
@media (min-width: 769px) and (max-width: 1024px) {
  .footer-main {
    padding: 40px 20px 25px;
  }
  
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
  }
  
  .footer-about {
    max-width: 100%;
  }
  
  .footer-logo h3 {
    font-size: 1.4em;
  }
  
  .footer-description {
    font-size: 0.92em;
  }
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: #16a34a;
  color: white;
}

.btn-primary:hover {
  background: #15803d;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(22, 163, 74, 0.3);
}

.btn-secondary {
  background: transparent;
  color: #16a34a;
  border: 2px solid #16a34a;
}

.btn-secondary:hover {
  background: #16a34a;
  color: white;
}

/* Card Styles */
.card {
  background: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* News Floating Button */
.news-float-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  padding: 15px 25px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  animation: pulse 2s infinite;
}

.news-float-btn a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@media (max-width: 768px) {
  .news-float-btn {
    bottom: 10px;
    right: 10px;
    padding: 12px 20px;
    font-size: 14px;
  }
}

/* Social Share Buttons - Professional News Style */
.share-buttons-container {
  margin: 20px 0;
  padding: 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  padding: 15px 0;
}

.share-buttons-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.share-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #374151;
  font-size: 0.95em;
  white-space: nowrap;
}

.share-label i {
  color: #16a34a;
  font-size: 1.1em;
}

.share-buttons-horizontal {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.share-btn-icon-only {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-decoration: none;
  color: white;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.share-btn-icon-only i {
  z-index: 1;
  position: relative;
}

.share-btn-icon-only:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.share-btn-icon-only:active {
  transform: translateY(0);
}

.share-facebook {
  background: #1877f2;
}

.share-facebook:hover {
  background: #0d5dbf;
}

.share-twitter {
  background: #1da1f2;
}

.share-twitter:hover {
  background: #0d8bd9;
}

.share-whatsapp {
  background: #25d366;
}

.share-whatsapp:hover {
  background: #128c7e;
}

.share-linkedin {
  background: #0077b5;
}

.share-linkedin:hover {
  background: #005885;
}

.share-telegram {
  background: #0088cc;
}

.share-telegram:hover {
  background: #006699;
}

.share-copy {
  background: #6b7280;
}

.share-copy:hover {
  background: #4b5563;
}

.copy-notification {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #16a34a;
  color: white;
  padding: 15px 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  z-index: 10000;
  font-weight: bold;
  animation: slideIn 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.copy-notification i {
  font-size: 1.2em;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translate(-50%, -60%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 768px) {
  .share-buttons-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .share-buttons-horizontal {
    gap: 6px;
  }
  
  .share-btn-icon-only {
    width: 36px;
    height: 36px;
    font-size: 1em;
  }
  
  .share-label {
    font-size: 0.9em;
  }
}

