/* Blog Section with Carousel */
.blog-section {
  padding: 100px 0;
background: linear-gradient(135deg, #eef6ee 0%, #ebedf1 100%);
  position: relative;
}

.blog-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none" opacity="0.02"><path d="M0,0 L100,0 L100,100 L0,100 Z" fill="%23354c3e"/></svg>');
  background-size: 150px;
  z-index: 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.section-subtitle {
  display: block;
  color: var(--secondary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-size: 14px;
}

.section-title {
  font-size: 42px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.title-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  max-width: 400px;
  margin: 0 auto 20px;
}

.decorative-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

.decorative-icon {
  width: 36px;
  height: 36px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 16px;
}

.section-description {
  max-width: 700px;
  margin: 0 auto;
  font-size: 18px;
  color: var(--gray-text);
  line-height: 1.6;
}

/* Blog Carousel Container */
.blog-carousel-container {
  position: relative;
  margin-bottom: 50px;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .blog-carousel-container {
    padding: 0 20px;
  }
}

/* Carousel Controls */
.carousel-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  z-index: 10;
  pointer-events: none;
}

.carousel-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  border: none;
  color: var(--primary-color);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  pointer-events: auto;
}

.carousel-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

.carousel-btn:active {
  transform: scale(0.95);
}

@media (max-width: 768px) {
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

/* Blog Carousel */
.blog-carousel {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 20px 0;
  position: relative;
}

.blog-carousel::-webkit-scrollbar {
  display: none;
}

/* Blog Card */
.blog-card {
  flex: 0 0 calc(33.333% - 20px);
  min-width: 350px;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  opacity: 0.9;
  transform: scale(0.95);
}

.blog-card:hover {
  transform: translateY(-10px) scale(1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  opacity: 1;
  z-index: 5;
}

@media (max-width: 1200px) {
  .blog-card {
    flex: 0 0 calc(50% - 15px);
  }
}

@media (max-width: 768px) {
  .blog-card {
    flex: 0 0 100%;
    min-width: 300px;
  }
}

/* Blog Image */
.blog-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-category {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--secondary-color);
  color: var(--primary-color);
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.blog-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.blog-card:hover .blog-overlay {
  opacity: 1;
}

.blog-read-more {
  color: white;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.blog-read-more:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Blog Content */
.blog-content {
  padding: 30px;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 12px;
  color: var(--gray-text);
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-meta i {
  font-size: 10px;
}

.blog-title {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.blog-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-title a:hover {
  color: var(--secondary-color);
}

.blog-excerpt {
  color: var(--gray-text);
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 20px;
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: gap 0.3s ease;
}

.blog-link:hover {
  gap: 12px;
}

/* Carousel Indicators */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.indicator.active {
  background: var(--secondary-color);
  transform: scale(1.3);
}

.indicator:hover {
  background: var(--secondary-color);
}

/* Section CTA */
.section-cta {
  text-align: center;
  margin-top: 50px;
  position: relative;
  z-index: 1;
}

.btn-large {
  padding: 16px 40px;
  font-size: 18px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.cta-note {
  color: var(--gray-text);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0.8;
}

.cta-note i {
  color: var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .blog-section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 32px;
  }
  
  .section-description {
    font-size: 16px;
  }
  
  .blog-image {
    height: 200px;
  }
  
  .blog-content {
    padding: 20px;
  }
  
  .blog-title {
    font-size: 18px;
  }
  
  .blog-excerpt {
    font-size: 13px;
  }
}

/* Animation for blog cards */
@keyframes slideInFromBottom {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 0.9;
    transform: translateY(0) scale(0.95);
  }
}

.blog-card {
  animation: slideInFromBottom 0.6s ease forwards;
  animation-delay: calc(var(--card-index) * 0.1s);
  opacity: 0;
}

/* Auto-scroll animation */
@keyframes subtleGlow {
  0%, 100% {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  }
  50% {
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.15);
  }
}

.blog-card:nth-child(3) {
  animation: subtleGlow 3s ease-in-out infinite;
}

/* Active card styling */
.blog-card.active {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}


/* Carousel Base Styles */
#blogCarousel {
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}


/* Play/Pause Button */
.play-pause-btn {
  transition: transform 0.2s ease;
}

.play-pause-btn:hover {
  transform: scale(1.1);
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .carousel-controls {
    display: none !important;
  }
  
  .blog-card {
    opacity: 0.9 !important;
  }
}

/* Screen Reader Only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}



/* Blog Single Post Styles */
.single-post-header {
    background: linear-gradient(rgba(31, 77, 58, 0.85), rgba(31, 77, 58, 0.7)),
                url('../images/kyobe-safari-bg3.jpg') center/cover;
    padding: 120px 0 60px;
    color: white;
    text-align: center;
}

.breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: var(--light-color);
}

.breadcrumb a {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--accent-color);
}

.breadcrumb span {
    color: var(--accent-color);
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--light-color);
}

.post-meta i {
    margin-right: 8px;
    color: var(--accent-color);
}

.post-featured-image {
    margin: 40px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.post-featured-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-featured-image img:hover {
    transform: scale(1.02);
}

.post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
    font-size: 1.1rem;
    line-height: 1.8;
}

.post-content h2 {
    color: var(--primary-color);
    margin: 40px 0 20px;
    font-size: 1.8rem;
}

.post-content h3 {
    color: var(--primary-color);
    margin: 30px 0 15px;
    font-size: 1.5rem;
}

.post-content p {
    margin-bottom: 20px;
    color: var(--dark-color);
}

.post-content ul, .post-content ol {
    margin: 20px 0;
    padding-left: 20px;
}

.post-content li {
    margin-bottom: 10px;
}

.post-content blockquote {
    border-left: 4px solid var(--accent-color);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #666;
}

.post-footer {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 30px 0;
    margin: 40px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.post-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.post-tags span {
    font-weight: 600;
    color: var(--primary-color);
}

.post-tags a {
    background: var(--light-bg);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.post-tags a:hover {
    background: var(--primary-color);
    color: white;
}

.post-share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.post-share span {
    font-weight: 600;
    color: var(--primary-color);
}

.post-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-bg);
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-share a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.author-bio {
    display: flex;
    gap: 30px;
    align-items: center;
    background: var(--light-bg);
    padding: 40px;
    border-radius: 10px;
    margin: 40px 0;
}

.author-bio img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.author-bio h4 {
    margin: 0 0 10px 0;
    color: var(--primary-color);
}

.author-bio p {
    margin: 0;
    color: var(--dark-color);
    opacity: 0.8;
}

.related-posts {
    margin: 60px 0;
}

.related-posts h3 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.related-post-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.related-post-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-post-content {
    padding: 20px;
}

.related-post-content h4 {
    margin: 0 0 10px 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.related-post-content p {
    margin: 0 0 15px 0;
    color: var(--dark-color);
    font-size: 0.9rem;
    line-height: 1.6;
}

.read-more {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.related-post-card:hover .read-more i {
    transform: translateX(5px);
}

.back-to-blog {
    text-align: center;
    margin: 40px 0;
}

.loading-spinner {
    text-align: center;
    padding: 60px 0;
    color: var(--primary-color);
}

.loading-spinner i {
    font-size: 3rem;
    margin-bottom: 20px;
}

.loading-spinner p {
    font-size: 1.1rem;
}

.error-message {
    text-align: center;
    padding: 60px 0;
    max-width: 500px;
    margin: 0 auto;
}

.error-message i {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 20px;
}

.error-message h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.error-message p {
    color: var(--dark-color);
    margin-bottom: 30px;
}

/* Blog Listing Styles */
.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.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.05);
}

.blog-card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-card-content {
    padding: 25px;
}

.blog-card-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #666;
}

.blog-card-meta i {
    margin-right: 5px;
    color: var(--accent-color);
}

.blog-card-title {
    margin: 0 0 15px 0;
    font-size: 1.3rem;
}

.blog-card-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: var(--accent-color);
}

.blog-card-excerpt {
    margin: 0 0 20px 0;
    color: var(--dark-color);
    line-height: 1.6;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.no-posts {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.no-posts i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.no-posts h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.no-posts p {
    margin-bottom: 25px;
    color: var(--dark-color);
}




/* Admin Interface Styles */
.admin-section {
    padding: 40px 0;
    min-height: 80vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #ebedf1 100%);
}

.admin-interface {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.admin-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
}

.admin-header h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.admin-header i {
    margin-right: 10px;
    color: var(--accent-color);
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--light-bg);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stat-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-card h3 {
    font-size: 2rem;
    margin: 10px 0;
    color: var(--dark-color);
}

.stat-card p {
    color: #666;
    font-size: 0.9rem;
}

.admin-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.posts-table-container {
    overflow-x: auto;
}

.posts-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.posts-table th {
    background: var(--primary-color);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.posts-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.posts-table tr:hover {
    background: var(--light-bg);
}

.category-badge {
    background: var(--accent-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    display: inline-block;
}

.featured-badge {
    color: #ddd;
    font-size: 1.2rem;
}

.featured-badge.active {
    color: #ffd700;
}

.actions {
    display: flex;
    gap: 10px;
}

.btn-icon {
    background: none;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--dark-color);
}

.btn-icon:hover {
    background: var(--light-bg);
    color: var(--primary-color);
}

.edit-post:hover {
    background: #e3f2fd;
    color: #1976d2;
}

.delete-post:hover {
    background: #ffebee;
    color: #d32f2f;
}

.view-post {
    background: var(--light-bg);
    text-decoration: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-post:hover {
    background: var(--primary-color);
    color: white;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 800px;
    margin: 50px auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid var(--border-color);
    background: var(--primary-color);
    color: white;
    border-radius: 10px 10px 0 0;
}

.modal-header h3 {
    margin: 0;
    color: white;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-body {
    padding: 30px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.image-preview {
    margin-top: 10px;
    padding: 15px;
    border: 1px dashed var(--border-color);
    border-radius: 5px;
    text-align: center;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.image-preview img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.image-preview p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.editor-tools {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.editor-btn {
    padding: 5px 15px;
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.editor-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-label input {
    width: auto;
    margin-right: 10px;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

/* Login Styles */
.admin-login {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.login-box {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-box h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.login-box p {
    color: #666;
    margin-bottom: 30px;
}

.login-box .form-group {
    margin-bottom: 25px;
}

.login-note {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #888;
}

.login-note i {
    margin-right: 5px;
    color: var(--accent-color);
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1001;
    transform: translateX(150%);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    border-left: 4px solid #4caf50;
}

.notification.error {
    border-left: 4px solid #f44336;
}

.notification.info {
    border-left: 4px solid #2196f3;
}

.notification i {
    font-size: 1.2rem;
}

.notification.success i {
    color: #4caf50;
}

.notification.error i {
    color: #f44336;
}

.notification.info i {
    color: #2196f3;
}

.notification span {
    flex: 1;
}

.notification-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-close:hover {
    color: #666;
}

/* Comments Section */
.comments-section {
    padding: 60px 0;
    background: #f9f9f9;
    border-top: 1px solid #eee;
}

.comments-header {
    text-align: center;
    margin-bottom: 40px;
}

.comments-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.like-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.like-btn {
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.like-btn:hover:not(.liked):not(:disabled) {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.like-btn.liked {
    background: #ff4757;
    border-color: #ff4757;
    color: white;
    cursor: default;
}

.like-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.like-text {
    color: #666;
    font-size: 0.9rem;
}

.comments-count {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.comments-count i {
    font-size: 1.5rem;
}

/* Comments Container */
.comments-container {
    max-width: 800px;
    margin: 0 auto 40px;
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.comment {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.comment:last-child {
    border-bottom: none;
}

.comment:hover {
    background: #fafafa;
    padding: 20px;
    margin: 0 -20px;
    border-radius: 5px;
}

.comment-reply {
    border-left: 3px solid #eee;
    padding-left: 20px;
    margin-left: 20px;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.author-info {
    flex: 1;
}

.author-info strong {
    display: block;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.author-info a {
    color: var(--accent-color);
    text-decoration: none;
    margin-right: 10px;
}

.author-info a:hover {
    text-decoration: underline;
}

.comment-date {
    font-size: 0.85rem;
    color: #888;
}

.comment-body {
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
}

.comment-likes {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #ff4757;
    font-size: 0.9rem;
    background: #ffeaea;
    padding: 5px 10px;
    border-radius: 15px;
}

.reply-form {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 5px;
    border: 1px solid #eee;
}

/* Comment Form */
.leave-comment {
    max-width: 800px;
    margin: 40px auto;
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.leave-comment h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.leave-comment > p {
    color: #666;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.comment-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .comment-form .form-row {
        grid-template-columns: 1fr;
    }
}

.comment-form .form-group {
    margin-bottom: 20px;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(31, 77, 58, 0.1);
}

.comment-form textarea {
    resize: vertical;
    min-height: 120px;
}

.comment-form .checkbox {
    display: flex;
    align-items: center;
}

.comment-form .checkbox label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 0.9rem;
    cursor: pointer;
}

.comment-form .checkbox input {
    width: auto;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

/* Comment Guidelines */
.comment-guidelines {
    max-width: 800px;
    margin: 40px auto 0;
    padding: 20px;
    background: #f0f7ff;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.comment-guidelines h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment-guidelines ul {
    margin: 0;
    padding-left: 20px;
    color: #555;
}

.comment-guidelines li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* No Comments */
.no-comments {
    text-align: center;
    padding: 40px 20px;
}

.no-comments i {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 20px;
}

.no-comments h4 {
    color: #666;
    margin-bottom: 10px;
}

.no-comments p {
    color: #888;
}

/* Reply Button */
.reply-btn {
    background: transparent;
    border: 1px solid #ddd;
    color: #666;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.reply-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Loading States */
.loading-spinner {
    text-align: center;
    padding: 40px;
}

.loading-spinner i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.loading-spinner p {
    color: #666;
}

/* Admin Comments Styles */
.comments-moderator {
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.filter-tabs {
    display: flex;
    background: #f8f9fa;
    padding: 20px;
    gap: 10px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 20px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: #f0f0f0;
}

.tab-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.tab-btn span {
    background: #ff4757;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
    margin-left: 5px;
}

.comments-list {
    padding: 20px;
}

.comment-item {
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 15px;
    background: #fafafa;
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}

.comment-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-approve {
    background: #4caf50;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
}

.btn-spam {
    background: #f44336;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
}

.btn-delete {
    background: #666;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
}