.heading_class{
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1f2937;
}
.post_description{
    font-family: Arial, sans-serif; /* Normal font */
    font-size: 16px; /* Optional */
    white-space: pre-wrap; /* Preserve line breaks and wrap long lines */
    word-wrap: break-word; /* Ensure words wrap if they're too long */
    overflow-wrap: break-word; /* Fallback for older browsers */
}
.password-wrapper {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}
@media only screen and (max-width:767px) {
    .heading_class{
        font-size: 2rem;
    }
}
@media only screen and (max-width:400px) {
    .heading_class{
        font-size: 1.5rem;
    }
}
.hero-section {
  background-size: cover;
  background-position: center;
  min-height: 80vh;
}

.featured-post {
  position: relative;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.featured-post::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.1), rgba(255, 255, 255, 0));
  opacity: 0;
  transition: opacity 0.5s ease;
}

.featured-post:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 20px 40px -5px rgba(13, 110, 253, 0.2);
}

.featured-post:hover::before {
  opacity: 1;
}

.featured-post .card-img-wrapper {
  position: relative;
  padding-top: 66.67%;
  overflow: hidden;
  border-bottom: 3px solid #0d6efd;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.featured-post .card-img-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(0.95);
}

.featured-post:hover .card-img-top {
  transform: scale(1.15) rotate(-2deg);
  filter: brightness(1.1);
}

.featured-post .category-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.featured-post .card-body {
  padding: 2rem;
  position: relative;
  z-index: 1;
}

.featured-post .card-title {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(45deg, #2d3436 30%, #0d6efd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.featured-post:hover .card-title {
  transform: translateX(5px);
}

.featured-post .card-text {
  color: #636e72;
  line-height: 1.8;
  font-size: 1.05rem;
  transition: all 0.3s ease;
}

.author-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: 3px solid #0d6efd;
  box-shadow: 0 4px 10px rgba(13, 110, 253, 0.2);
  transition: all 0.3s ease;
}

.featured-post:hover .author-avatar {
  transform: scale(1.1) rotate(5deg);
}

.author-info {
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
  padding: 1rem;
  border-radius: 15px;
  border: 1px solid rgba(13, 110, 253, 0.1);
  transition: all 0.3s ease;
}

.featured-post:hover .author-info {
  box-shadow: 0 5px 15px rgba(13, 110, 253, 0.1);
}

.read-more-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid #0d6efd;
  background: transparent;
  color: #0d6efd;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.read-more-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #0d6efd;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.read-more-btn:hover {
  color: white;
  transform: translateX(0);
}

.read-more-btn:hover::before {
  left: 0;
}

.read-more-btn i {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.read-more-btn:hover i {
  transform: translateX(5px);
}

.featured-date {
  font-size: 0.9rem;
  color: #0d6efd;
  font-weight: 500;
}

.featured-stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid rgba(13, 110, 253, 0.1);
}

.stat-item {
  gap: 0.5rem;
  color: #666;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.stat-item i {
  color: #0d6efd;
  transition: transform 0.3s ease;
}

.featured-post:hover .stat-item i {
  transform: scale(1.2);
}

/* Add smooth scrolling for the entire page */
html {
  scroll-behavior: smooth;
}

/* Add loading animation for images */
.card-img-top.loading {
  animation: shimmer 1.5s infinite;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}



.category-badge {
  font-size: 0.8rem;
  padding: 0.3rem 0.6rem;
  letter-spacing: 0.5px;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #f8f9fa;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: #0d6efd;
  color: #fff !important;
}