/* GyaanPost Theme System */
:root {
  /* Primary Theme Colors */
  --primary: #4a6baf;
  --primary-dark: #304878;
  --primary-light: #6a8bcf;
  --accent: #ff6b6b;
  --accent-dark: #e05050;
  --accent-light: #ff8a8a;
  
  /* Neutral Colors */
  --dark: #333333;
  --medium: #6c757d;
  --light: #f8f9fa;
  --white: #ffffff;
  
  /* UI Elements */
  --border-radius-sm: 6px;
  --border-radius: 12px;
  --border-radius-lg: 18px;
  --box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  --box-shadow-hover: 0 10px 20px rgba(0,0,0,0.1);
  --transition: all 0.3s ease;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2.5rem;
  --spacing-xl: 4rem;
}

/* Base Styles */
body {
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.7;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

/* Components */
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

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

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn {
  border-radius: var(--border-radius-sm);
  padding: 0.5rem 1.25rem;
}

.card {
  border: none;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}

/* Hero Section */
.hero-section {
  background-color: var(--primary);
  background-image: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: var(--spacing-xl) 0;
  margin-bottom: var(--spacing-lg);
  border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.hero-section h1 {
  font-weight: 700;
  font-size: 2.8rem;
  margin-bottom: var(--spacing-sm);
}

.hero-section p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Section Titles */
.section-title {
  position: relative;
  margin-bottom: var(--spacing-lg);
  font-weight: 700;
  display: inline-block;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 4px;
  background-color: var(--accent);
  border-radius: 2px;
}

/* Blog Hero */
.blog-hero {
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: var(--spacing-xl) 0;
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.blog-hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin: var(--spacing-md) 0;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.blog-hero-meta {
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  color: rgba(255,255,255,0.9);
}

.blog-hero-meta i {
  margin-right: 0.3rem;
}

.blog-category-badge {
  display: inline-block;
  background-color: var(--accent);
  color: var(--white);
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: var(--spacing-sm);
}

/* Blog Content */
.blog-content-wrapper {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: var(--spacing-lg);
  margin-top: -60px;
  position: relative;
  box-shadow: var(--box-shadow);
  margin-bottom: var(--spacing-lg);
}

/* Blog Share Buttons */
.blog-share-buttons {
  display: flex;
  align-items: center;
}

.blog-share-buttons .btn {
  width: 36px;
  height: 36px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Blog Tags */
.blog-tags .badge {
  padding: 0.5rem 0.8rem;
  font-weight: 500;
  font-size: 0.8rem;
  border-radius: 2rem;
  background-color: var(--light);
  border: 1px solid rgba(0,0,0,0.1);
  transition: var(--transition);
}

.blog-tags .badge:hover {
  background-color: var(--primary-light);
  color: var(--white);
}

/* Blog Navigation */
.blog-navigation {
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: var(--spacing-md);
}

.blog-nav-link {
  display: block;
  text-decoration: none;
  transition: var(--transition);
}

.blog-nav-subtitle {
  display: block;
  font-size: 0.8rem;
  color: var(--medium);
  margin-bottom: 0.3rem;
}

.blog-nav-title {
  display: block;
  font-weight: 600;
  color: var(--primary);
}

.blog-nav-link:hover .blog-nav-title {
  color: var(--accent);
}



.blog-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.blog-meta {
  font-size: 0.9rem;
  color: var(--medium);
  margin-bottom: var(--spacing-lg);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.blog-meta i {
  margin-right: 0.3rem;
}

.blog-content {
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Author Box */
.author-box {
  background-color: var(--light);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  margin-top: var(--spacing-lg);
  display: flex;
  align-items: center;
  box-shadow: var(--box-shadow);
}

.author-box img {
  width: 60px !important;
  height: 60px !important;
  border-radius: 50%;
  margin-right: var(--spacing-md);
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: var(--box-shadow);
}

.author-name {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.3rem;
}

.author-bio {
  font-size: 0.9rem;
  color: var(--medium);
  margin-bottom: 0;
}

/* Sidebar */
.sidebar-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  box-shadow: var(--box-shadow);
}

.sidebar-card h5 {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.5rem;
  display: inline-block;
}

/* Pagination */
.pagination .page-link {
  color: var(--primary);
  border-radius: var(--border-radius-sm);
  margin: 0 3px;
}

.pagination .page-item.active .page-link {
  background-color: var(--primary);
  border-color: var(--primary);
}

.pagination .page-link:hover {
  background-color: var(--light);
  color: var(--accent);
}

/* Enhanced Hero Section */
.hero-enhanced {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.min-vh-80 {
  min-height: 80vh;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 25px;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.text-gradient {
  background: linear-gradient(45deg, var(--accent), #ffd93d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 1rem;
  opacity: 0.95;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.85;
  line-height: 1.6;
}

/* Hero Search */
.hero-search {
  margin: 2rem 0;
}

.search-form-hero {
  margin-bottom: 1rem;
}

.search-input-group {
  display: flex;
  background: rgba(255,255,255,0.95);
  border-radius: 50px;
  padding: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  backdrop-filter: blur(10px);
}

.search-icon {
  color: #666;
  padding: 12px 16px;
  font-size: 1.1rem;
}

.search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 8px;
  font-size: 1rem;
  outline: none;
}

.search-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.search-suggestions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.suggestion-label {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}

.suggestion-tag {
  background: rgba(255,255,255,0.2);
  color: white;
  padding: 4px 12px;
  border-radius: 15px;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.suggestion-tag:hover {
  background: rgba(255,255,255,0.3);
  color: white;
}

.hero-actions {
  margin-bottom: 2rem;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-card-modern {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card-modern:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.15);
}

.stat-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.85rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Enhanced Categories */
.categories-enhanced {
  background: #f8f9fa;
}

.section-title-modern {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
}

.section-title-modern::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(45deg, var(--primary), var(--accent));
  border-radius: 2px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.category-card-modern {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  border: 2px solid transparent;
}

.category-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  border-color: var(--primary);
}

.category-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.category-icon-modern {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: all 0.3s ease;
}

.category-icon-modern i {
  font-size: 1.8rem;
  color: white;
}

.category-card-modern:hover .category-icon-modern {
  transform: scale(1.1) rotate(5deg);
}

.category-card-modern h5 {
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.category-card-modern p {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* Quick Navigation */
.quick-nav-section {
  background: white;
  padding: 2rem 0;
  border-bottom: 1px solid #eee;
}

.quick-nav-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.quick-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 1.5rem;
  background: #f8f9fa;
  border-radius: 15px;
  text-decoration: none;
  color: #666;
  transition: all 0.3s ease;
  min-width: 100px;
}

.quick-nav-item:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.quick-nav-item i {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.quick-nav-item span {
  font-size: 0.9rem;
  font-weight: 500;
}

.category-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}

.article-count {
  font-size: 0.8rem;
  color: #999;
}

.category-arrow {
  color: var(--primary);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.category-card-modern:hover .category-arrow {
  transform: translateX(5px);
}

/* Enhanced Featured Section */
.featured-enhanced {
  background: white;
}

.section-header-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.view-all-btn {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--primary);
  border-radius: 25px;
  transition: all 0.3s ease;
}

.view-all-btn:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.articles-grid-enhanced {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

/* Enhanced Card Styles */
.card-enhanced {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

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

.card-image-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.card-image-enhanced {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card-enhanced:hover .card-image-enhanced {
  transform: scale(1.05);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.1) 100%);
}

.category-badge-enhanced {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(0,0,0,0.8);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.card-content-enhanced {
  padding: 1.5rem;
}

.card-title-enhanced a {
  color: #333;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.card-title-enhanced a:hover {
  color: var(--primary);
}

.card-description-enhanced {
  color: #666;
  margin: 1rem 0;
  line-height: 1.6;
}

.card-footer-enhanced {
  margin-top: 1.5rem;
}

.read-more-btn {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.read-more-btn:hover {
  color: var(--accent);
  transform: translateX(3px);
}

/* Filter Tabs */
.section-title-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.filter-tabs {
  display: flex;
  gap: 0.5rem;
}

.filter-tab {
  background: transparent;
  border: 2px solid #e9ecef;
  color: #666;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  font-weight: 500;
}

.filter-tab.active,
.filter-tab:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* Social Proof */
.social-proof-section {
  background: #f8f9fa;
}

.social-proof-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.social-proof-text {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.social-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.social-stat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #333;
  font-weight: 500;
}

.social-stat i {
  color: var(--primary);
  font-size: 1.2rem;
}

.testimonial-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  position: relative;
}

.testimonial-quote {
  font-size: 2rem;
  color: var(--primary);
  opacity: 0.3;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

.testimonial-content p {
  font-style: italic;
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.author-info strong {
  display: block;
  color: #333;
}

.author-info span {
  color: #666;
  font-size: 0.9rem;
}

/* Newsletter Benefits */
.newsletter-benefits {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
}

.benefit-item i {
  color: #4ade80;
  font-size: 1rem;
}

.newsletter-privacy {
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

/* Floating Shapes */
.floating-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 60px;
  height: 60px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.shape-3 {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 70%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

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

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes revealText {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.pulse { animation: pulse 2s infinite; }
.bounce { animation: bounce 1s infinite; }
.bounce.delay-1 { animation-delay: 0.2s; }
.bounce.delay-2 { animation-delay: 0.4s; }

.fade-in-up { opacity: 0; animation: fadeInUp 0.8s ease forwards; }
.fade-in-up.delay-1 { animation-delay: 0.2s; }
.fade-in-up.delay-2 { animation-delay: 0.4s; }
.fade-in-up.delay-3 { animation-delay: 0.6s; }

.reveal-text { opacity: 0; }
.reveal-text.animate { animation: revealText 0.8s ease forwards; }

/* Interactive Effects */
.glow-on-focus:focus-within {
  box-shadow: 0 0 20px rgba(102, 126, 234, 0.4);
}

.ripple-effect {
  position: relative;
  overflow: hidden;
}

.ripple-effect::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.ripple-effect:active::after {
  width: 300px;
  height: 300px;
}

.magnetic {
  transition: transform 0.3s ease;
}

.tilt-card {
  transition: transform 0.3s ease;
}

.tilt-card:hover {
  transform: perspective(1000px) rotateX(5deg) rotateY(5deg);
}

/* Live Stats Bar */
.live-stats-bar {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  padding: 1rem 0;
  overflow: hidden;
}

.stats-ticker {
  display: flex;
  justify-content: center;
  gap: 3rem;
  animation: ticker 20s linear infinite;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-weight: 500;
}

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

/* Interactive Features */
.interactive-features {
  background: #f8f9fa;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.hover-lift:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h4 {
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Floating Action Menu */
.floating-menu {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
}

.fab-main {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  font-size: 1.5rem;
}

.fab-main:hover {
  transform: scale(1.1);
}

.fab-options {
  position: absolute;
  bottom: 70px;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.fab-options.open {
  opacity: 1;
  visibility: visible;
}

.fab-option {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: 0 3px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  transform: scale(0);
}

.fab-options.open .fab-option {
  transform: scale(1);
}

.fab-option:hover {
  transform: scale(1.1);
}

/* Reading Progress */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(0,0,0,0.1);
  z-index: 1001;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(45deg, var(--primary), var(--accent));
  width: 0%;
  transition: width 0.3s ease;
}

/* Enhanced Filter Tabs */
.morphing-tab {
  position: relative;
  overflow: hidden;
}

.morphing-tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.morphing-tab:hover::before {
  left: 100%;
}

/* Dark Mode */
body.dark-mode {
  background: #1a1a1a;
  color: #e0e0e0;
}

body.dark-mode .hero-enhanced {
  background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
}

body.dark-mode .category-card-modern,
body.dark-mode .feature-card,
body.dark-mode .testimonial-card {
  background: #2d3748;
  color: #e0e0e0;
}

/* Stagger Animation */
.stagger-animation > * {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.stagger-animation.animate > * {
  opacity: 1;
  transform: translateY(0);
}

.stagger-animation.animate > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-animation.animate > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-animation.animate > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-animation.animate > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-animation.animate > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-animation.animate > *:nth-child(6) { transition-delay: 0.6s; }

/* Modern Navbar */
.navbar-modern {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  transition: all 0.3s ease;
  min-height: 70px;
  z-index: 1030;
  position: relative;
  width: 100%;
}

.navbar-brand-modern {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--dark);
  font-weight: 700;
  font-size: 1.5rem;
}

.brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.brand-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-toggler-modern {
  border: 2px solid var(--primary);
  background: rgba(255,255,255,0.1);
  padding: 0.5rem;
  display: none;
  flex-direction: column;
  gap: 4px;
  border-radius: 8px;
  width: 45px;
  height: 40px;
  justify-content: center;
  align-items: center;
}

@media (max-width: 991.98px) {
  .navbar-toggler-modern {
    display: flex;
  }
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background: var(--primary) !important;
  border-radius: 2px;
  transition: all 0.3s ease;
  display: block;
}

.navbar-nav-modern {
  display: flex;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    display: none;
  }
  
  .navbar-collapse.show {
    display: block;
  }
}

.nav-item-modern {
  position: relative;
}

.nav-link-modern {
  position: relative;
  color: var(--dark);
  text-decoration: none;
  padding: 0.75rem 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.nav-link-modern:hover {
  color: var(--primary);
  background: rgba(102, 126, 234, 0.1);
}

.nav-indicator {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 2px;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link-modern.active .nav-indicator,
.nav-link-modern:hover .nav-indicator {
  width: 80%;
}

.dropdown-modern {
  position: relative;
}

.dropdown-menu-modern {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: none;
  padding: 0.5rem;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.dropdown-modern:hover .dropdown-menu-modern {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item-modern {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--dark);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.dropdown-item-modern:hover {
  background: rgba(102, 126, 234, 0.1);
  color: var(--primary);
}

.search-btn-nav {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.search-btn-nav:hover {
  transform: scale(1.1);
  color: white;
}

/* Modern Footer */
.footer-modern {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.footer-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.footer-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
  fill: #f8f9fa;
}

.footer-content {
  padding: 4rem 0 2rem;
  position: relative;
  z-index: 2;
}

.footer-brand {
  margin-bottom: 2rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.brand-logo i {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent), #ffd93d);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-link:hover {
  background: var(--accent);
  transform: translateY(-3px);
  color: white;
}

.footer-section {
  margin-bottom: 2rem;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 3px;
  background: linear-gradient(135deg, var(--accent), #ffd93d);
  border-radius: 2px;
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 10px;
}

.footer-newsletter-desc {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

.newsletter-input-group {
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 6px;
  backdrop-filter: blur(10px);
  margin-bottom: 1.5rem;
}

.newsletter-input-group input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 16px;
  color: white;
  outline: none;
}

.newsletter-input-group input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-input-group button {
  background: var(--accent);
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-input-group button:hover {
  transform: scale(1.1);
}

.footer-stats {
  display: flex;
  gap: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

/* Dark Mode Adjustments */
body.dark-mode .navbar-modern {
  background: rgba(26, 26, 26, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .navbar-brand-modern,
body.dark-mode .nav-link-modern {
  color: #e0e0e0;
}

body.dark-mode .dropdown-menu-modern {
  background: #2d3748;
}

body.dark-mode .dropdown-item-modern {
  color: #e0e0e0;
}

/* Particle Canvas */
.particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}

/* Cursor Trail */
.cursor-trail {
  position: fixed;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, rgba(102,126,234,0.8) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
}

/* Enhanced Floating Shapes */
.shape-4 {
  width: 120px;
  height: 120px;
  top: 10%;
  right: 20%;
  animation-delay: 1s;
  background: linear-gradient(45deg, rgba(255,107,107,0.1), rgba(255,217,61,0.1));
}

.shape-5 {
  width: 90px;
  height: 90px;
  bottom: 30%;
  left: 15%;
  animation-delay: 3s;
  background: linear-gradient(45deg, rgba(102,126,234,0.1), rgba(255,107,107,0.1));
}

/* Interactive Cards */
.interactive-card {
  transform-style: preserve-3d;
  transition: all 0.3s ease;
  cursor: pointer;
}

.pulse-icon {
  animation: pulse 2s infinite;
}

.feature-progress {
  width: 100%;
  height: 6px;
  background: #e9ecef;
  border-radius: 3px;
  margin-top: 1rem;
  overflow: hidden;
}

.progress-bar-feature {
  height: 100%;
  background: linear-gradient(45deg, var(--primary), var(--accent));
  width: 0%;
  transition: width 2s ease;
  border-radius: 3px;
}

.notification-demo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.5rem;
  background: rgba(102,126,234,0.1);
  border-radius: 20px;
  font-size: 0.9rem;
}

.notification-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.achievement-badges {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  justify-content: center;
}

.badge-demo {
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}

.badge-demo:nth-child(2) { animation-delay: 0.3s; }
.badge-demo:nth-child(3) { animation-delay: 0.6s; }

/* Activity Feed */
.activity-feed {
  background: #f8f9fa;
}

.activity-stream {
  max-height: 300px;
  overflow-y: auto;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: white;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.activity-item:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.new-activity {
  animation: slideInLeft 0.5s ease;
}

@keyframes slideInLeft {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.activity-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.activity-content p {
  margin: 0;
  font-weight: 500;
}

.activity-time {
  font-size: 0.8rem;
  color: #666;
}

/* Trending Widget */
.trending-widget {
  background: white;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.trending-widget h4 {
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.trending-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
}

.trending-item:last-child {
  border-bottom: none;
}

.trending-rank {
  font-weight: 700;
  color: var(--accent);
  min-width: 30px;
}

.trending-topic {
  flex: 1;
  font-weight: 500;
}

.trending-count {
  font-size: 0.8rem;
  color: #666;
}

/* Scroll Indicator */
.scroll-indicator {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: white;
  z-index: 100;
  transition: opacity 0.3s ease;
}

.scroll-text {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.scroll-arrow {
  width: 2px;
  height: 30px;
  background: white;
  position: relative;
  animation: scrollBounce 2s infinite;
}

.scroll-arrow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -3px;
  width: 8px;
  height: 8px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(45deg);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* Theme Switcher */
.theme-switcher {
  position: fixed;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
  z-index: 1000;
}

.theme-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.theme-btn:hover {
  transform: scale(1.1) rotate(180deg);
}

/* Theme Variations */
.blue-theme {
  --primary: #3b82f6;
  --primary-dark: #1d4ed8;
  --accent: #06b6d4;
}

.green-theme {
  --primary: #10b981;
  --primary-dark: #047857;
  --accent: #f59e0b;
}

/* Party Mode Easter Egg */
.party-mode {
  animation: partyColors 0.5s infinite;
}

.party-mode * {
  animation: partyShake 0.1s infinite;
}

@keyframes partyColors {
  0% { filter: hue-rotate(0deg); }
  25% { filter: hue-rotate(90deg); }
  50% { filter: hue-rotate(180deg); }
  75% { filter: hue-rotate(270deg); }
  100% { filter: hue-rotate(360deg); }
}

@keyframes partyShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-2px); }
  75% { transform: translateX(2px); }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .particle-canvas {
    display: none;
  }
  
  .cursor-trail {
    display: none;
  }
  
  .scroll-indicator {
    display: none;
  }
  
  .theme-switcher {
    bottom: 6rem;
    right: 1rem;
    top: auto;
    transform: none;
  }
  
  .activity-stream {
    max-height: 200px;
  }
  
  .trending-widget {
    margin-top: 2rem;
  }
  
  /* Mobile Navbar Fixes */
  .navbar-modern {
    padding: 0.5rem 0;
  }
  
  .navbar-toggler-modern {
    display: block;
    border: none;
    background: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    margin-top: 1rem;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  }
  
  .navbar-nav-modern {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .nav-item-modern {
    width: 100%;
  }
  
  .nav-link-modern {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    width: 100%;
    text-align: left;
  }
  
  .dropdown-menu-modern {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: #f8f9fa;
    margin-top: 0.5rem;
  }
}

/* Matrix Canvas */
.matrix-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  display: none;
}

/* AI Assistant */
.ai-assistant {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 350px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  z-index: 1001;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.ai-assistant.active {
  transform: translateY(0);
}

.ai-avatar {
  position: relative;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -30px auto 0;
  font-size: 1.5rem;
}

.ai-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.3;
  animation: pulse 2s infinite;
}

.ai-chat {
  padding: 2rem 1.5rem 1.5rem;
}

.ai-messages {
  max-height: 200px;
  overflow-y: auto;
  margin-bottom: 1rem;
}

.ai-message, .user-message {
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  border-radius: 12px;
  font-size: 0.9rem;
}

.ai-message {
  background: #f0f0f0;
  color: #333;
}

.user-message {
  background: var(--primary);
  color: white;
  margin-left: 2rem;
}

.ai-input-area {
  display: flex;
  gap: 0.5rem;
}

.ai-input-area input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 20px;
  outline: none;
}

.ai-input-area button {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  cursor: pointer;
  font-size: 1rem;
}

/* Voice Search Button */
.voice-search-btn {
  background: var(--accent);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 8px;
}

.voice-search-btn:hover {
  transform: scale(1.1);
}

/* Gamification Panel */
.game-panel {
  position: fixed;
  top: 2rem;
  right: 2rem;
  width: 300px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.game-panel.active {
  transform: translateX(0);
}

.game-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #eee;
}

.game-header h4 {
  margin: 0;
  color: var(--primary);
}

.game-header button {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #666;
}

.game-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.5rem;
}

.game-stats .stat {
  text-align: center;
}

.stat-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.5rem;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  color: #666;
  text-transform: uppercase;
}

/* Achievement Notification */
.achievement-notification {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: var(--accent);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 1002;
}

.achievement-notification.show {
  transform: translateX(0);
}

/* Dark Mode Adjustments */
body.dark-mode .ai-assistant,
body.dark-mode .game-panel {
  background: #2d3748;
  color: #e0e0e0;
}

body.dark-mode .ai-message {
  background: #4a5568;
  color: #e0e0e0;
}

body.dark-mode .ai-input-area input {
  background: #4a5568;
  border-color: #666;
  color: #e0e0e0;
}

/* Enhanced Newsletter */
.newsletter-enhanced {
  padding: 4rem 0;
  background: #f8f9fa;
}

.newsletter-card-modern {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 25px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.newsletter-card-modern::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.newsletter-content {
  position: relative;
  z-index: 2;
}

.newsletter-title {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.newsletter-text {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  margin: 0;
}

.newsletter-form-enhanced {
  position: relative;
  z-index: 2;
}

.input-group-modern {
  display: flex;
  background: white;
  border-radius: 50px;
  padding: 6px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-control-modern {
  flex: 1;
  border: none;
  padding: 1rem 1.5rem;
  background: transparent;
  outline: none;
  font-size: 1rem;
}

.btn-subscribe {
  background: var(--accent);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-subscribe:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-enhanced {
    padding: 3rem 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .stat-card-modern {
    padding: 1rem;
  }
  
  .categories-grid {
    grid-template-columns: 1fr;
  }
  
  .articles-grid-enhanced {
    grid-template-columns: 1fr;
  }
  
  .section-header-modern {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .newsletter-card-modern {
    padding: 2rem;
  }
  
  .newsletter-title {
    font-size: 1.5rem;
  }
  
  .quick-nav-grid {
    gap: 1rem;
  }
  
  .quick-nav-item {
    min-width: 80px;
    padding: 0.75rem 1rem;
  }
  
  .search-input-group {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
  }
  
  .search-btn {
    width: 100%;
  }
  
  .filter-tabs {
    justify-content: center;
  }
  
  .social-stats {
    margin-bottom: 2rem;
  }
  
  .newsletter-benefits {
    margin-bottom: 1.5rem;
  }
  
  .input-group-modern {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .btn-subscribe {
    width: 100%;
  }
  
  .blog-content-wrapper {
    margin-top: -30px;
    padding: var(--spacing-md);
  }
  
  .blog-title {
    font-size: 1.8rem;
  }
}