body {
  font-family: 'Inter', sans-serif;
}

.heading {
  font-size: 2.25rem;
  font-weight: 700;   
  color: #1f2937;    
  margin-bottom: 1.5rem;
  letter-spacing: -0.01562em;
  line-height: normal!important;
}

@media (min-width: 1024px) {
  .heading {
    font-size: 3.75rem; 
  }
}

.gradient-text {
  display: block;
  background: linear-gradient(to right, #2563eb, #9333ea); /* from-blue-600 to-purple-600 */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.block-text {
  display: block;
}


.gradient-bg {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
}

.card-hover-effect {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover-effect:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(25, 118, 210, 0.25);
}

.icon-glow {
  filter: drop-shadow(0 0 20px rgba(25, 118, 210, 0.3));
}

.text-gradient {
  background: linear-gradient(135deg, #1976d2 0%, #1565c0 50%, #0d47a1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(25, 118, 210, 0.4);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.particle:nth-child(1) { top: 10%; left: 20%; animation-delay: 0s; }
.particle:nth-child(2) { top: 20%; right: 30%; animation-delay: 1s; }
.particle:nth-child(3) { bottom: 30%; left: 40%; animation-delay: 2s; }
.particle:nth-child(4) { bottom: 20%; right: 20%; animation-delay: 3s; }
.particle:nth-child(5) { top: 60%; left: 70%; animation-delay: 4s; }

.custom-header {
  width: 100%;
  background-color: #fff;
  box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px 0 rgba(0,0,0,0.06);
  position: fixed;
  z-index: 50;
}
.custom-header.dark {
  background-color: #111827;
}
.custom-header-inner {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.custom-header-logo-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-width: 120px;
}
.custom-header-nav {
  display: none;
}
@media (min-width: 1024px) {
  .custom-header-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}
.custom-header-btns {
  display: none;
}
@media (min-width: 1024px) {
  .custom-header-btns {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 320px;
    justify-content: flex-end;
  }
}

.custom-footer {
  width: 100%;
  background: #000;
  color: #fff;
  padding-top: 4rem;
  padding-bottom: 2rem;
  padding-left: 1rem;
  padding-right: 1rem;
  margin-top: 5rem;
}
.custom-footer-inner {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .custom-footer-inner {
    grid-template-columns: repeat(5, 1fr);
  }
}
.custom-footer-follow {
  grid-column: span 2;
}
.custom-footer-follow h3 {
  font-size: 1.125rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
}
.custom-footer-follow p {
  margin-bottom: 1.5rem;
}
.custom-footer-follow .custom-footer-social {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}
.custom-footer-social a {
  background: #fff;
  color: #000;
  border-radius: 9999px;
  padding: 0.75rem 2rem;
  min-width: 120px;
  font-weight: 600;
  transition: background 0.2s;
  text-align: center;
  text-decoration: none;
}
.custom-footer-social a:hover {
  background: #e5e7eb;
}
.custom-footer-follow .custom-footer-logo {
  margin-top: 4rem;
  display: none;
}
@media (min-width: 768px) {
  .custom-footer-follow .custom-footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
}
.custom-footer-section h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.custom-footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.custom-footer-section ul li {
  margin-bottom: 1rem;
}
.custom-footer-section ul li a {
  color: #9ca3af;
  transition: color 0.2s;
  text-decoration: none;
}
.custom-footer-section ul li a:hover {
  color: #fff;
}
.custom-footer-contact ul li {
  color: #9ca3af;
}
.custom-footer-bottom {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}
@media (min-width: 768px) {
  .custom-footer-bottom {
    display: none;
  }
}


.blog-card {
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1); 
  animation: slide-up 0.6s ease-out both;
  animation-delay: 0.1s;
  background-color: white;
}

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

.blog-card:hover {
  transform: translateY(-4px);
  transition: transform 0.3s ease;
}

.blog-card img {
  width: 100%;
  height: 12rem; 
  object-fit: cover;
  transition: transform 0.5s ease;
  border-radius: 20px;
}

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

.blog-card h3 {
  font-weight: 600;
  color: #1f2937; 
  cursor: pointer;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
  margin-top: 25px;
}

.blog-card h3:hover {
  color: #4f46e5; 
}

.blog-card p {
  font-size: 0.875rem;
  color: #4b5563; 
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card .footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  border-top: 1px solid #f3f4f6; 
  font-size: 0.75rem;
}

.blog-card .footer .author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b7280;
}

.blog-card .footer .icon {
  width: 1.5rem;
  height: 1.5rem;
  background: linear-gradient(to right, #3b82f6, #06b6d4); /* blue to cyan */
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
}

.blog-card .footer .read-time {
  color: #9ca3af;
}
.image-wrapper{
  border-radius: 20px;
}