/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #e5e5e5;
  background-color: #111;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header and Navigation */
.header {
  background: #111;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  position: relative;
}

.nav-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #6ee7b7;
  text-decoration: none;
}

.nav-logo i {
  font-size: 1.8rem;
  margin-right: 10px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-link {
  text-decoration: none;
  color: #6ee7b7;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #6ee7b7;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #6ee7b7;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 20px;
  z-index: 1100;
  border: 2px solid rgb(0, 255, 221);
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 4px;
  background: #6ee7b7;
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #6ee7b7 0%, #38b2ac 100%);
  color: #111;
  padding: 100px 0;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.highlight {
  color: #6ee7b7;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.btn {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: #6ee7b7;
  color: #111;
}

.btn-primary:hover {
  background: #38b2ac;
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background: #6ee7b7;
  color: #111;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-chart {
  width: 200px;
  height: 200px;
  background: rgba(110, 231, 183, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.hero-chart i {
  font-size: 4rem;
  color: #fbbf24;
}

/* Features Section */
.features {
  padding: 100px 0;
  background: #181818;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 60px;
  color: #6ee7b7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.feature-card {
  background: #222;
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
  width: 80px;
  height: 80px;
  background: #38b2ac;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.feature-icon i {
  font-size: 2rem;
  color: white;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #1f2937;
}

.feature-card p {
  color: #38b2ac;
  margin-bottom: 25px;
  line-height: 1.6;
}

.feature-link {
  color: #6ee7b7;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.feature-link:hover {
  color: #38b2ac;
}

/* Stats Section */
.stats {
  padding: 80px 0;
  background: linear-gradient(135deg, #111 0%, #222 100%);
  color: #e5e5e5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #6ee7b7;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Recent Posts Section */
.recent-posts {
  padding: 100px 0;
  background: linear-gradient(135deg, #6ee7b7 0%, #38b2ac 100%);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.post-card {
  background: #222;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.post-image {
  height: 200px;
  background: #38b2ac;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-image i {
  font-size: 3rem;
  color: white;
}

.post-content {
  padding: 30px;
}

.post-category {
  color: #6ee7b7;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.post-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #6ee7b7;
  line-height: 1.3;
}

.post-excerpt {
  color: #e5e5e5;
  margin-bottom: 20px;
  line-height: 1.6;
}

.post-link {
  color: #6ee7b7;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.post-link:hover {
  color: #1d4ed8;
}

/* Footer */
.footer {
  background: #1f2937;
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 15px;
}

.footer-logo i {
  font-size: 1.8rem;
  margin-right: 10px;
}

.footer-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #fbbf24;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 10px;
}

.footer-section a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #fbbf24;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: #374151;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.social-links a:hover {
  background: #fbbf24;
  color: #1f2937;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #374151;
  color: #9ca3af;
}

/* Page Styles */
.page-header {
  background: linear-gradient(135deg, #6ee7b7 0%, #38b2ac 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.page-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.page-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.page-content {
  padding: 80px 0;
}

.content-section {
  margin-bottom: 60px;
}

.content-section h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 30px;
  color: #1f2937;
}

.content-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #38b2ac;
}

.content-section p {
  color: #38b2ac;
  line-height: 1.8;
  margin-bottom: 20px;
}

.content-section ul {
  color: #38b2ac;
  margin-left: 20px;
  margin-bottom: 20px;
}

.content-section li {
  margin-bottom: 10px;
}

.warning-box {
  background: #b2f5ea;
  border: 1px solid #38b2ac;
  border-radius: 8px;
  padding: 20px;
  margin: 30px 0;
}

.warning-box h4 {
  color: #111;
  font-weight: 600;
  margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 968px) {
  .nav-menu {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    padding: 60px 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .page-title {
    font-size: 2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 200px;
  }
}

/* Articles Section Styles */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.article-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  border: 1px solid #e5e7eb;
}

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

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

.article-image {
  height: 160px;
  background: linear-gradient(135deg, #6ee7b7 0%, #38b2ac 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.article-image i {
  font-size: 3rem;
  color: white;
}

.article-content {
  padding: 25px;
}

.article-category {
  color: #6ee7b7;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.article-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1f2937;
  line-height: 1.4;
}

.article-excerpt {
  color: #38b2ac;
  margin-bottom: 15px;
  line-height: 1.6;
  font-size: 0.95rem;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #9ca3af;
}

.read-time i {
  margin-right: 5px;
}

/* Article Modal Styles */
.article-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  border-radius: 12px;
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  animation: slideDown 0.3s ease;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  border-bottom: 1px solid #e5e7eb;
  background: linear-gradient(135deg, #6ee7b7 0%, #38b2ac 100%);
  color: white;
  border-radius: 12px 12px 0 0;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
}

.close-btn {
  font-size: 2rem;
  cursor: pointer;
  color: white;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.close-btn:hover {
  opacity: 1;
}

.modal-body {
  padding: 30px;
  line-height: 1.8;
}

.modal-body h3 {
  color: #6ee7b7;
  margin: 25px 0 15px;
  font-size: 1.3rem;
}

.modal-body h4 {
  color: #38b2ac;
  margin: 20px 0 10px;
  font-size: 1.1rem;
}

.modal-body p {
  margin-bottom: 15px;
  color: #4b5563;
}

.modal-body ul {
  margin: 15px 0 15px 20px;
}

.modal-body li {
  margin-bottom: 8px;
  color: #4b5563;
}

.modal-body strong {
  color: #1f2937;
}

.article-highlight {
  background: #f0fdf4;
  border-left: 4px solid #6ee7b7;
  padding: 15px 20px;
  margin: 20px 0;
  border-radius: 0 8px 8px 0;
}

.article-highlight h4 {
  color: #6ee7b7;
  margin-bottom: 10px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Articles */
@media (max-width: 768px) {
  .articles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .modal-content {
    width: 95%;
    margin: 10% auto;
    max-height: 85vh;
  }

  .modal-header {
    padding: 20px;
  }

  .modal-body {
    padding: 20px;
  }
}

/* Article Page Styles */
.article-page {
  margin-top: 20px;
  margin-bottom: 40px;
}

.breadcrumb {
  margin-bottom: 30px;
  font-size: 0.9rem;
  color: #666;
}

.breadcrumb a {
  color: #38b2ac;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-separator {
  margin: 0 10px;
  color: #999;
}

.article-header {
  margin-bottom: 40px;
  text-align: center;
  padding-bottom: 30px;
  border-bottom: 2px solid #f3f4f6;
}

.article-category {
  display: inline-block;
  background: #6ee7b7;
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #38b2ac;
  margin-bottom: 20px;
  line-height: 1.2;
}

.article-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.article-meta span {
  color: #38b2ac;
  font-size: 0.9rem;
}

.article-meta i {
  margin-right: 5px;
  color: #38b2ac;
}

.share-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.share-buttons span {
  font-weight: 500;
  margin-right: 10px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

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

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

.share-btn.facebook {
  background: #4267b2;
}

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

.share-btn.copy {
  background: #666;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
}

.article-intro {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 40px;
  padding: 20px;
  background: #f0fdf4;
  border-left: 4px solid #6ee7b7;
  border-radius: 0 8px 8px 0;
}

.article-content h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 40px 0 20px 0;
  color: #1a1a1a;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 10px;
}

.article-content h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 30px 0 15px 0;
  color: #38b2ac;
}

.article-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 25px 0 10px 0;
  color: #38b2ac;
}

.article-content p {
  margin-bottom: 20px;
  color: #38b2ac;
}

.article-content ul {
  margin: 20px 0;
  padding-left: 30px;
}

.article-content li {
  margin-bottom: 10px;
  color: #38b2ac;
}

.article-content strong {
  color: #38b2ac;
  font-weight: 600;
}

.article-navigation {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid #f3f4f6;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.nav-section h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #38b2ac;
}

.nav-section ul {
  list-style: none;
  padding: 0;
}

.nav-section li {
  margin-bottom: 10px;
}

.nav-section a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-section a:hover {
  color: #2563eb;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .article-title {
    font-size: 2rem;
  }

  .article-meta {
    flex-direction: column;
    gap: 15px;
  }

  .share-buttons {
    justify-content: center;
  }

  .article-content {
    font-size: 1rem;
  }

  .article-navigation {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .breadcrumb {
    font-size: 0.8rem;
  }
}

/* --- Place this block at the END of your CSS file --- */

/* Mobile Navigation Styles */
.nav-container {
  position: relative;
  min-height: 70px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 20px;
  z-index: 1100;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 4px;
  background: #6ee7b7;
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}

/* Show hamburger and dropdown on screens <= 768px */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    background: #111;
    flex-direction: column;
    width: 200px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    border-radius: 0 0 12px 12px;
    z-index: 1000;
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-toggle {
    display: flex;
  }
}