/* Blog Page Styles - Advanced CSS by Senior Developer */

/* Blog Hero Section */
.blog-hero {
  position: relative;
  height: 600px;
  background: linear-gradient(135deg, #2c3e50 0%, #3498db 50%, #e67e22 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  display: flex;
  align-items: center;
  overflow: hidden;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.blog-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.blog-hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.blog-hero-content h1 {
  font-size: 4rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: 1.5rem;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.blog-hero-content p {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  line-height: 1.6;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.blog-hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
}

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

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--white);
  margin-bottom: 0.5rem;
}

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

.hero-wave {
  position: absolute;
  bottom:0;
  left: 0;
  width: 100%;
  z-index: 2;
  line-height: 0;
}


.hero-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}
/* Featured Article Section */
.featured-article-section {
  padding: var(--section-padding);
  background-color: var(--bg-color);
}

.featured-article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 3rem;
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
}

.featured-article:hover {
  transform: translateY(-10px);
}

.featured-article-image {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.featured-article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-article:hover .featured-article-image img {
  transform: scale(1.1);
}

.featured-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--primary-gradient);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: var(--font-weight-medium);
  box-shadow: var(--shadow);
}

.reading-time {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.7);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.featured-article-content {
  padding: 2.5rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.category {
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius);
  font-size: 0.8rem;
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.category.fertility {
  background-color: rgba(230, 126, 34, 0.1);
  color: var(--primary-color);
}
.category.pregnancy {
  background-color: rgba(231, 76, 60, 0.1);
  color: #e74c3c;
}
.category.womens-health {
  background-color: rgba(52, 152, 219, 0.1);
  color: var(--secondary-color);
}
.category.nutrition {
  background-color: rgba(46, 204, 113, 0.1);
  color: #2ecc71;
}
.category.mental-health {
  background-color: rgba(155, 89, 182, 0.1);
  color: #9b59b6;
}
.category.fitness {
  background-color: rgba(241, 196, 15, 0.1);
  color: #f1c40f;
}

.date,
.author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.featured-article-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
  line-height: 1.3;
}

.featured-article-content p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.article-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.stat i {
  color: var(--primary-color);
}

/* Blog Content Section */
.blog-content-section {
  padding: var(--section-padding);
  background-color: var(--bg-secondary);
}

.blog-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.blog-main {
  background-color: var(--bg-color);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

/* Filter Bar */
.blog-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray);
}

.filter-left h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.results-count {
  color: var(--text-light);
  font-size: 0.9rem;
}

.filter-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.view-toggle {
  display: flex;
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.view-btn {
  padding: 0.5rem 1rem;
  border: none;
  background: transparent;
  color: var(--text-color);
  cursor: pointer;
  transition: var(--transition);
}

.view-btn.active {
  background-color: var(--primary-color);
  color: var(--white);
}

.sort-select {
  padding: 0.5rem 1rem;
  border: 1px solid var(--gray);
  border-radius: var(--border-radius);
  background-color: var(--bg-color);
  color: var(--text-color);
  font-size: 0.9rem;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.blog-grid.list-view {
  grid-template-columns: 1fr;
}

.blog-grid.list-view .blog-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 1.5rem;
}

.blog-grid.list-view .blog-card-image {
  height: 200px;
}

/* Blog Cards */
.blog-card {
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.blog-card-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.1);
}

.blog-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.blog-card:hover .blog-card-overlay {
  opacity: 1;
}

.read-more-btn {
  width: 50px;
  height: 50px;
  background-color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.25rem;
  transition: all 0.3s ease;
  transform: scale(0.8);
}

.blog-card:hover .read-more-btn {
  transform: scale(1);
}

.blog-card-category {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius);
  font-size: 0.8rem;
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--white);
}

.blog-card-category.fertility {
  background-color: var(--primary-color);
}
.blog-card-category.pregnancy {
  background-color: #e74c3c;
}
.blog-card-category.womens-health {
  background-color: var(--secondary-color);
}
.blog-card-category.nutrition {
  background-color: #2ecc71;
}
.blog-card-category.mental-health {
  background-color: #9b59b6;
}
.blog-card-category.fitness {
  background-color: #f1c40f;
}

.blog-card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--text-light);
  font-size: 0.85rem;
}

.blog-card-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-card-content h3 {
  margin-bottom: 1rem;
  line-height: 1.4;
}

.blog-card-content h3 a {
  color: var(--dark-color);
  transition: color 0.3s ease;
}

.blog-card-content h3 a:hover {
  color: var(--primary-color);
}

.blog-card-content p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-color);
}

.author-name {
  font-size: 0.9rem;
  font-weight: var(--font-weight-medium);
  color: var(--dark-color);
}

.blog-card-stats {
  display: flex;
  gap: 1rem;
  color: var(--text-light);
  font-size: 0.85rem;
}

.blog-card-stats span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Load More Section */
.load-more-section {
  text-align: center;
  margin-bottom: 3rem;
}

.load-more-btn {
  padding: 1rem 2rem;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

/* Pagination */
.pagination-wrapper {
  border-top: 1px solid var(--gray);
  padding-top: 2rem;
}

.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pagination-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--bg-secondary);
  color: var(--text-color);
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  font-weight: var(--font-weight-medium);
}

.pagination-btn:hover:not(.disabled) {
  background-color: var(--primary-color);
  color: var(--white);
}

.pagination-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-numbers {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pagination-number {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius);
  color: var(--text-color);
  transition: all 0.3s ease;
  font-weight: var(--font-weight-medium);
}

.pagination-number:hover,
.pagination-number.active {
  background-color: var(--primary-color);
  color: var(--white);
}

.pagination-dots {
  color: var(--text-light);
  padding: 0 0.5rem;
}

/* Sidebar Styles */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-widget {
  background-color: var(--bg-color);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.sidebar-widget h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
  position: relative;
  padding-bottom: 0.75rem;
}

.sidebar-widget h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: var(--border-radius-full);
}

/* Search Widget */
.search-input-wrapper {
  position: relative;
}

.search-input {
  width: 100%;
  padding: 0.875rem 3rem 0.875rem 1rem;
  border: 1px solid var(--gray);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: var(--bg-secondary);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}

.search-btn {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.1rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

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

/* Categories Widget */
.categories-list {
  list-style: none;
  padding: 0;
}

.categories-list li {
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--gray);
  padding-bottom: 0.75rem;
}

.categories-list li:last-child {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.categories-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-color);
  transition: all 0.3s ease;
  padding: 0.25rem 0;
}

.categories-list a:hover {
  color: var(--primary-color);
  padding-left: 0.5rem;
}

.count {
  background-color: var(--bg-secondary);
  color: var(--text-light);
  padding: 0.2rem 0.6rem;
  border-radius: var(--border-radius);
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.categories-list a:hover .count {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Recent Posts Widget */
.recent-posts-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.recent-post {
  display: flex;
  gap: 1rem;
}

.recent-post-image {
  width: 80px;
  height: 80px;
  border-radius: var(--border-radius);
  overflow: hidden;
  flex-shrink: 0;
}

.recent-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.recent-post:hover .recent-post-image img {
  transform: scale(1.1);
}

.recent-post-content h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.recent-post-content h4 a {
  color: var(--dark-color);
  transition: color 0.3s ease;
}

.recent-post-content h4 a:hover {
  color: var(--primary-color);
}

.recent-post-meta {
  color: var(--text-light);
  font-size: 0.85rem;
}

.recent-post-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Tags Widget */
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--bg-secondary);
  color: var(--text-color);
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

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

/* Newsletter Widget */
.newsletter-widget p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
  line-height: 1.6;
}

.newsletter-form .form-group {
  margin-bottom: 1rem;
}

.newsletter-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--gray);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: var(--bg-secondary);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}

.newsletter-btn {
  width: 100%;
  padding: 0.875rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.newsletter-privacy {
  margin-top: 1rem;
  text-align: center;
}

.newsletter-privacy small {
  color: var(--text-light);
  font-size: 0.8rem;
  line-height: 1.4;
}

/* CTA Widget */
.cta-widget {
  background: var(--primary-gradient);
  color: var(--white);
  text-align: center;
}

.cta-widget h3 {
  color: var(--white);
}

.cta-widget h3::after {
  background: rgba(255, 255, 255, 0.3);
  left: 50%;
  transform: translateX(-50%);
}

.cta-content i {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.cta-content p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.btn-white {
  background-color: var(--white);
  color: var(--primary-color);
  border: none;
}

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

/* Newsletter Section */
.newsletter-section {
  padding: 5rem 0;
  background: var(--primary-gradient);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.3;
}

.newsletter-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.newsletter-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.newsletter-text p {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.newsletter-signup-form .form-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.newsletter-email {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
  background-color: var(--white);
  color: var(--text-color);
}

.newsletter-email:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-benefits {
  display: flex;
  gap: 2rem;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-size: 0.9rem;
}

.benefit i {
  color: rgba(255, 255, 255, 0.8);
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .blog-hero-content h1 {
    font-size: 3.5rem;
  }

  .blog-layout {
    gap: 2rem;
  }

  .featured-article {
    gap: 2rem;
  }
}

@media (max-width: 992px) {
  .blog-hero {
    height: 500px;
  }

  .blog-hero-content h1 {
    font-size: 3rem;
  }

  .blog-hero-stats {
    gap: 2rem;
  }

  .blog-layout {
    grid-template-columns: 1fr;
  }

  .featured-article {
    grid-template-columns: 1fr;
  }

  .featured-article-image {
    height: 300px;
  }

  .newsletter-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .newsletter-benefits {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .blog-hero {
    height: 400px;
  }

  .blog-hero-content h1 {
    font-size: 2.5rem;
  }

  .blog-hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .blog-filter-bar {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .filter-right {
    width: 100%;
    justify-content: space-between;
  }

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

  .blog-grid.list-view .blog-card {
    grid-template-columns: 1fr;
  }

  .pagination {
    flex-direction: column;
    gap: 1rem;
  }

  .newsletter-signup-form .form-group {
    flex-direction: column;
  }

  .newsletter-benefits {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  .blog-hero-content h1 {
    font-size: 2rem;
  }

  .blog-hero-content p {
    font-size: 1.1rem;
  }

  .featured-article-content {
    padding: 1.5rem;
  }

  .featured-article-content h2 {
    font-size: 1.5rem;
  }

  .blog-main {
    padding: 1.5rem;
  }

  .sidebar-widget {
    padding: 1.5rem;
  }

  .newsletter-text h2 {
    font-size: 2rem;
  }

  .newsletter-text p {
    font-size: 1rem;
  }
}

/* Animation Classes */
.reveal-text {
  opacity: 0;
  transform: translateY(30px);
  animation: revealText 1s ease forwards;
}

.delay-1 {
  animation-delay: 0.3s;
}

.delay-2 {
  animation-delay: 0.6s;
}

@keyframes revealText {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loading Animation */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 3px solid var(--gray);
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
